text:
Add ability to render layout at full page height

Issue Description
For the terra-layout / terra-application-layout to render at full page height as expected, it's parent containers must be set to have height:100%; or its direct parent musth have height: 100vh;
However, I know there have been some concerns about setting those styles by default, as they conflict with the xfc / embedded-content-consumer styling.
Using the following config:
<BrowserRouter>
  <Base locale="en-US">
    <ApplicationLayout
      indexPath={indexPath}
      nameConfig={nameConfig}
      navigationItems={navigationItems}
      routingConfig={routingConfig}
    />
  </Base>
</BrowserRouter>

Results in a layout that is only as tall as the header.

Looking at the generated markup, both the div#root and the direct child div rendered by the <Base /> component need height: 100% set to render at the full page height, or the modal manager needs its height changed from 100% to 100vh

Issue Type

[ ] New Feature
[x] Enhancement
[ ] Bug
[ ] Other

Expected Behavior
Ability to render layout at full page height without custom styles.
Current Behavior
Custom styles are required to render layout at full page height.

One possible option would be to add a fill attribute to the base component similar to the content container that when set, would style the div it renders as well as #root with height: 100%. This would be opt-in behavior as not to conflict with the xfc / embedded-content-consumer styling.

100vh doesn't work across mobile devices, so the fill option would be better.

We're going to immediately run into the same issue with the ThemeProvider, which provides wraps content in yet another div that would need similar fill styles.
If we try and chase down all these wrappers and add fill props to them in order to get appropriate application container sizing, we're just changing one complexity for another.
Its seems like it would make sense to either include the ThemeProvider (and anything introduced in the future) with Base by default so that Base can style it. Or we could make another consolidation component that puts Base and the others together, but it seems like that's what Base is trying to do already.
We really need a one-stop shop if we want it to be easy to consume, and the one-stop shop should be the single component enforcing the fill styles.

Including the theme provider within base makes sense to me.

Talked at scrum, plan is to use terra-theme-provider in the new terra-application component and manage the theme concern at that level instead of terra-base.
In terra-base, we discussed using React.Fragmet instead of divs to get rid of the need for height: 100% to be set on the div rendered in terra-base.

I've hit a snag with replacing the div rendered via terra-i18n's <I18nProvider /> component with <React.Fragment>. We set a data attribute on it in terra-base. This data attribute is used to help solve accessibility issues with some components in terra-core and terra-framework.

https://github.com/cerner/terra-core/search?q=data-terra-base&unscoped_q=data-terra-base
https://github.com/cerner/terra-framework/search?q=data-terra-base&unscoped_q=data-terra-base

The data-terra-base attribute is used to work around an issue on VoiceOver on iOS and focus traps. The focus trap we use, react-focus-trap, does not prevent users using VoiceOver on iOS from moving focus outside of the focus trap when the use the swipe gesture to navigate. This was an issue with modals, popups, and overlays where the user could move their focus outside of the opened component which is not ideal.
To mitigate this, what we've done is allow the user to provide a selector to be used with querySelector that will map to the "rootNode" via a prop. By default, we set this to [data-terra-base]. The idea is that when a modal or popup is opened, they are rendered in a portal. We use the rootNode to add an aria-hidden attribute to the "rootNode" which hides that part of the DOM, leaving the portalled DOM unhidden. This resolves the focus trap issue with VoiceOver on iOS.
Here is what the DOM looks like when the abstract modal is open.

Given this, I still think it makes sense to remove the data-terra-base attribute and switch to using <React.Fragment />.
In the case of the rootNode, there was an assumption that we could default it to [data-terra-base]. I think the rootNode prop idea can still work, we'd just need to change it to what we default it to. I'd recommend we default the prop to #root. If teams need the rootNode prop we use to apply aria-hidden to be a different element, they can change the selector they pass to the rootNode.

That sounds good to me. I think loosing that div in base and the associated styling concerns are worth the tradeoff. We'll just have to find a good place to document those selector expectations.

This has been resolved with https://github.com/cerner/terra-core/pull/2288

authors: bjankord dkasper-was-taken tbiethman

repo: cerner/terra-framework


text:
No-op Solver / Disable challenges

I'm wondering how to use cert-manager with an ACME server that waives validation challenges under certain conditions:
See https://docs.sectigo.com/scm/scm-guides/1/scm-admin-guides/_attachments/Sectigo_Certificate_Manager_Administrators_Guide_V22_1_January_2022.pdf, Section 8.1:

Domains that are pre-validated in SCM are not issued validation challenges through ACME.

Using certbot, it's possible to disable challenges by passing
  --preferred-challenges dns
  --manual-auth-hook '/usr/bin/yes'

Is it possible to do this with cert-manager?

There is no way to 'disable' challenges, however those are only created on basis of the required authorizations for the particular order (see ACME spec) that the ACME server specifies.
I am not very familiar with Sectigo and in what state the created ACME order ends up in those conditions.
Have you already tried using cert-manager with these type of pre-validated domains and seen errors?

I wasn't aware of that, thank you for pointing that out. It works perfectly!

source: gharchive/issue

authors: fuero irbekrm

repo: cert-manager/cert-manager

license_type: permissive

license_source: bigquery


text:
Add Support for Contour HttpProxy (proof of concept included)

Is your feature request related to a problem? Please describe.
While Ingress objects work with Contour, Contour recommends using their httpproxy custom resource instead. This has lead to alot of Tanzu packages (which mostly use contour) to leverage httpproxies instead of the ingress object. This then limits users to either create a wild card certificate for all of contour or to submit a certificate resource for each httpproxy created
Describe the solution you'd like
Cert-manager has a framework in place for Ingress and Gateway objects to auto generate a Certificate object. it would be nice if the same could be done for Contour HttpProxies. I understand that this would not fit into the core Cert-Manger project but would be a nice addition to the satellite projects list. I have put together a working "side-car" controller that uses a similar approach as the ingress-shim, it can be found here: https://github.com/JefeDavis/contour-httpproxy-shim
Describe alternatives you've considered

Additional context
would love to get something like this adopted as a satellite project for other users to be able to leverage
/kind feature

Hi @JefeDavis great to see you're interested in the project, I haven't explored the project yet, but it looks like a valid problem.
I think it would be interesting to hear what the community thinks. Is the project that you wrote meant to be production ready? Perhaps you would like to present it at our dev meeting to get more visibility and traction? https://github.com/cert-manager/cert-manager#community

/reopen

authors: JefeDavis fvlaicu irbekrm


text:
Change name of bin dir to _bin and make it configurable

Pull Request Motivation
As per this doc:

Directory and file names that begin with "." or "_" are ignored by the go tool, as are directories named "testdata".

We never want any go files inside bin to add dependencies for our go.mod - nor do we want them to be scanned by anything. By making the whole dir ignored by go, we avoid a class of issues where the go tooling might consider files under bin to be part of the project.
To achieve this, we change manual uses of bin to $(BINDIR), so it's easy to change permanently or temporarily in the future.
Kind
/kind feature
Release Note
Change default build dir to "_bin" from "bin"

/test pull-cert-manager-e2e-v1-24
/test pull-cert-manager-make-test

/test pull-cert-manager-bazel

/test pull-cert-manager-e2e-v1-24

Should be merged after https://github.com/jetstack/testing/pull/699 so we don't lose cacheing!

/hold for others if wanted

Re-tested:
make controller
make e2e-setup
make e2e
/lgtm

/test pull-cert-manager-make-test

source: gharchive/pull-request

authors: SgtCoDFish jahrlin


text:
Run 'make upgrade-klone', fixing the self-upgrade script

Since the self-upgrade script is broken, I had to manually upgrade the Makefile modules.
This PR should fix the self-upgrade script.
Kind
/kind bug
Release Note
NONE

/approve

/retest


text:
Fix gosec errors and enable gosec linter

Checked all found issues and applied fixes/ #nosec statements.
Now that all issues are fixed, I removed the gosec linter from the ignored section so future issues will be detected.
NOTE FOR REVIEWER:
Use make verify-golangci-lint to quickly run golangci-lint.
I had to mix the comments with the code to make sure the nosec comments were picked up by gosec (see https://github.com/securego/gosec/issues/278#issuecomment-745209803).

/approve
/lgtm

authors: inteon maelvls

repo: cert-manager/cmctl

license_source: github-api


text:
Add doc for http solver ingressTemplate

jetstack/cert-manager/pull/2023
I've added some common examples. Anywhere else to update?

/ok-to-test

@munnerz I changed the branch to merge this into to next, however it seems it already got very out of date. We should set something up to fix this.

@zeeZ you'll need to update your PR so it is made against the release-next branch, as this change will only become available in the next release, hence we have a separate branch to track these changes :)
Can you git rebase -i release-next to fix up these extra commits, and then git push -f origin add-ingress-template-doc to force push the changes to this PR?
Thanks!

@munnerz Done!

/lgtm
/approve

authors: meyskens munnerz zeeZ

repo: cert-manager/website


text:
docker_auth/github: store tokens in google cloud storage

Added a new implementation of TokenDB that uses Google Cloud Storage as backend for storing of the tokens.
This makes container independent from the file system of the container or from the target system and is good alternative to mounted clustered file systems to container.
Docs examples are updated regarding this change as specifying token_db configuration now becomes alternate between local file and gcs.

This change is

this looks good, but can you please put GCS token DB impl into its own file? otherwise LG

np, later today I'll move it in separate file.

also, since it's a sizeable contribution, please sign Cesanta CLA: https://docs.cesanta.com/contributors_la.shtml

almost there. please rename to tokendb_gcs.go

done.

thank you!

authors: mgenov rojer


text:
Linux does not have O_EXLOCK

This change is

TBR

LGTM

authors: cpq dimonomid

repo: cesanta/go-serial


text:
Fixed at the bottom of the View

Hello again,
I'm having all the trouble in the world trying to fix this element to the bottom of my view. What I aim to do is something like this:

with the markup something along the lines of:
<View>
  <ScrollView>
  // My list
  </ScrollView>
  <BottomSheet>
</View>

With the BottomSheet element always at the bottom of the screen and toggling it brings it in front of my scrollView, however I scroll the scrollView.
However I try to it though, either my BottomSheet element is at the bottom of the scrollView, not of the screen, or it is indeed at the bottom of the screen, but then the CoordinatorLayout takes most of the space in the scrollView, pushing everything on top of it, or finally, the BottomSheet element appears correctly, but when toggled it goes up just a few pixels up, not showing what it has inside.
I'm practically at my wit's end, I have no trouble with positioning in pure CSS, or Flex for that matter, but RN  is testing my patience.
I hope you'll excuse this not-quite-an-issue, for I feel that the issue may stem from the CoordinatorLayout component.
Thank you.

Hi, thank you for the feedback.
i am not sure if i understood your problem properly, but i completely understand your frustration, let me tell your some considerations.

Everything should must be inside the CoordinatorLayout.
Define a backgroundColor on the top containers, there's some weird behavior on the views that they don't render properly, i already spent hours debugging trying to figure out what's going on when i was developing this component.
I recommend you define a height from Dimensions.get('window') on the content View instead of use flex: 1, it might solve your problem, that's why your ScrollView doesn't fill the hole View.
Be careful with flex: 1, it can easily become a mess, after react-native 0.36.0 they changed the flexbox behavior, and you should be careful when and where to use flex: 1

I prepared this gist for you, https://gist.github.com/cesardeazevedo/b10f28c0b9e5ee9b76fa05c0eb73bb4a
i hope i have understood correctly your situation, let me know if you got it.

Thank you again @cesardeazevedo You are a lifesaver.
Good day :)

authors: Unforgiven-wanda cesardeazevedo

license: mit


text:
🛑 echo-server.madacluster.tech is down

In fd3d4c5, echo-server.madacluster.tech (https://echo-server.madacluster.tech) was down:

HTTP code: 0
Response time: 0 ms

Resolved: echo-server.madacluster.tech is back up in 513ec23 after 3 minutes.

repo: cesarempathy/upptime

license: MIT


text:
🛑 echo-server.madacluster.tech is down

In 31bf906, echo-server.madacluster.tech (https://echo-server.madacluster.tech) was down:

HTTP code: 0
Response time: 0 ms

Resolved: echo-server.madacluster.tech is back up in 30cd4db after 5 minutes.


text:
Is it possible to get rooms list?

How can I get all rooms list from my app?

Directly from the database. Like  any other collection
El jue., 31 de may. de 2018 12:24 AM, Vlad Polupan notifications@github.com
escribió:

How can I get all rooms list from my app?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cesarve77/simple-chat/issues/25, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADyXp1dY8SdhYcVG74EAMbOx3iMx1enZks5t3quYgaJpZM4UTYmE
.


text:
Release 3.4.1

Due date - see Milestone.
IMPORTANT - check endpoint configurations and re-set/remove any test settings (DANS, So.Da.Net, others?) so that they do not get propagated to production (Matthew)
Any changes needed to User Guide? (Kristina)
Any changes needed to About text? (Kristina)

if not, keep version number and release date same in both?

Update CHANGELOG (Matthew)

We would need to update the About text to reflect that the latest version of CDC will be 3.4.1. There should be no need to change the User Guide.

Except that the User Guide says "This is the user guide for version 3.4.0 of the CESSDA Data Catalogue."
We have had discussions on and off about updating/not updating the version number in the UG/About pages for bug fix releases, as there is no difference to the user experience.

That's true! We could just keep both as they are for now.

Will avoid doing work which adds no value. The CHANGELOG will record the bug fixes.

All tickets closed

@KristinaS4 Please approve the release (the release checklist and report are ongoing and do not constitute blockers).

CDC 3.4.1 has been released


text:
abbreviated 'else if' condition in 'switch'

I think it would be useful to be able to write the following:
switch (thing)
case (is SomeThing) {
}
else if (is OtherThing) {
}
else {
}

To be able to handle the case that SomeThing and OtherThing aren't disjoint.
Currently the only way to write this is:
switch (thing)
case (is SomeThing) {
}
else if (is OtherThing thing) {
}
else {
}

WDYT?

An alternative, and probably better, syntax would be:
switch (thing)
case (is SomeThing) {
}
else case (is OtherThing) {
}
else {
}

Here, the else keyword simply serves to suppress the disjointness check.
Hrm. I like that.

I prefer the first, with the idea that we aren't changing the rules, but at least the target of the condition may be inferred when possible, rather than the second which muddies the rules for case. I like the simplicity of "cases must always be disjoint."
OTOH, are there pattern matching implications?

I don’t really like the first suggestion. It only saves a single token, and doesn’t seem obvious to me: is SomeThing is not a condition (it’s a TypeCase), so why would you now be allowed to use it in an if context? I also suspect they won’t compose very well:
switch (thing)
else if (is OtherThing, thing.condition) {
    // if condition is a member of OtherThing, is this readable?
}
else if (is Unrelated unrelated, is OtherThing) {
    // is this allowed?
}

@lucaswerkmeister Agreed: I now significantly prefer the second syntax.

This is interesting.
What would mean something like:
switch(thing)
case(is ThingOne)  {}
else case (is ThingTwo) {}
case is(ThingThree) {}
else {}

I assume it would be a syntax error: after the first else, only other elses are allowed, just like in an if (if you add another if that’s not an else if, that’s a separate control structure).

I really dislike this idea. Features generally come to solve problems, and this doesn’t just look weird, but it feels very counter‐intuitive and isn’t really solving anything. It’s not like it’s particularly hard to write it currently, we even have nice syntactic sugar for naming switched expressions:
switch(value foo = longExpression())
case(is Bar)
{
    ...
}
case(is Baz)
{
    ...
}
else if(is Foo foo)
{
    ...
}
else
{
    ...
}

@Zambonifofex The problem is the following:
If I want to introduce a branch into my nice switch that is not disjoint from the other branches, then I have to use a whole completely different syntax.
else case is a rather economical way to mark a branch as non-disjoint, without breaking the flow of the switch statement.

switch(thing of ListOfDisjoint)
case(is Bar) {}
case(is Baz) {}
else if(is nonDisjoint) {}
else {}

@gavinking

If I want to introduce a branch into my nice switch that is not disjoint from the other branches, then I have to use a whole completely different syntax.

Well, of course you do. You are doing something completely different than you were. Those are not the semantics of switch/case. Different semantics, different syntax.

Must say that my first reaction is to agree with @Zambonifofex here. Not sure if it's worth adding a strange new syntax just for this.

Note that this discussion has now continues on #6972.

I have implemented this, since practical experience developing against Java APIs (in the IntelliJ plugin, and on Android) caused discomfort.

authors: LisiLisenok Zambonifofex gavinking jeancharles-roger jvasileff lucaswerkmeister quintesse

repo: ceylon/ceylon


text:
start-api fails - Exit status 1

Happens when running "npm start" for the first time. I know there's a closed issue similar to this one, but upgrading node is not solution for me, because I'm working with 9.8.0 version.
This is the content of debug.log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using npm@5.6.0
3 info using node@v9.8.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle cezerin@0.33.0prestart: cezerin@0.33.0
6 info lifecycle cezerin@0.33.0start: cezerin@0.33.0
7 verbose lifecycle cezerin@0.33.0start: unsafe-perm in lifecycle true
8 verbose lifecycle cezerin@0.33.0start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/var/www/vhosts/ees.es/httpdocs/cezerin/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
9 verbose lifecycle cezerin@0.33.0start: CWD: /var/www/vhosts/ees.es/httpdocs/cezerin
10 silly lifecycle cezerin@0.33.0start: Args: [ '-c',
10 silly lifecycle 'NODE_ENV=production npm run start-api & npm run start-store' ]
11 silly lifecycle cezerin@0.33.0start: Returned: code: 1 signal: null
12 info lifecycle cezerin@0.33.0start: Failed to exec start script
13 verbose stack Error: cezerin@0.33.0 start: NODE_ENV=production npm run start-api & npm run start-store
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16)
13 verbose stack at EventEmitter.emit (events.js:180:13)
13 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:180:13)
13 verbose stack at maybeClose (internal/child_process.js:936:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
14 verbose pkgid cezerin@0.33.0
15 verbose cwd /var/www/vhosts/ees.es/httpdocs/cezerin
16 verbose Linux 3.10.0-693.17.1.el7.x86_64
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
18 verbose node v9.8.0
19 verbose npm v5.6.0
20 error code ELIFECYCLE
21 error errno 1
22 error cezerin@0.33.0 start: NODE_ENV=production npm run start-api & npm run start-store
22 error Exit status 1
23 error Failed at the cezerin@0.33.0 start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

@kerven66
Try to use Node.js v 8.10 LTS.

Ok, I'll have to try tomorrow. I'm going to work now. Thankyou

I've downgraded to v.8.10 LTS and restarted server, but when I try to start with pm2 I get this error:
Error: listen EADDRINUSE :::3001
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at Server.setupListenHandle [as _listen2] (net.js:1367:14)
at listenInCluster (net.js:1408:12)
at Server.listen (net.js:1492:7)
at Function.listen (/var/www/vhosts/elespejitoroto.es/httpdocs/cezerin/node_modules/express/lib/application.js:618:24)
at Object. (/var/www/vhosts/elespejitoroto.es/httpdocs/cezerin/src/api/server/index.js:35:20)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)

listen EADDRINUSE :::3001
Port 3001 in use. Try to find and kill this Node process.

There was nothing using port 3001. I've restarted server again and now, when I start process, it doesn't throw any error, but I can't change or add nothing in dashboard. The app read the default data of the db, but if you change or add something and clic "save button", nothing at all is saved.

@kerven66
please, show your browser console with errors.

Sorry, I should have sent before. This error is constantly repeated when you start process, even without doing anything:
app-3033d1434f0cf662daa1.js:1 WebSocket connection to 'ws://localhost:3001/ws/dashboard?token=null' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
u @ app-3033d1434f0cf662daa1.js:1
app-3033d1434f0cf662daa1.js:1 WebSocket connection closed with code: 1006.
localhost:3001/api/v1/settings? Failed to load resource: net::ERR_CONNECTION_REFUSED
localhost:3001/api/v1/orders?cancelled=false&date_placed_min=2018-02-21T23%3A00%3A00.188Z&draft=false Failed to load resource: net::ERR_CONNECTION_REFUSED
app-3033d1434f0cf662daa1.js:1 TypeError: Failed to fetch
app-3033d1434f0cf662daa1.js:1 WebSocket connection to 'ws://localhost:3001/ws/dashboard?token=null' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
u @ app-3033d1434f0cf662daa1.js:1
app-3033d1434f0cf662daa1.js:1 WebSocket connection closed with code: 1006.
app-3033d1434f0cf662daa1.js:1 WebSocket connection to 'ws://localhost:3001/ws/dashboard?token=null' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
u @ app-3033d1434f0cf662daa1.js:1
app-3033d1434f0cf662daa1.js:1 WebSocket connection closed with code: 1006.
app-3033d1434f0cf662daa1.js:1 WebSocket connection to 'ws://localhost:3001/ws/dashboard?token=null' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
u @ app-3033d1434f0cf662daa1.js:1
app-3033d1434f0cf662daa1.js:1 WebSocket connection closed with code: 1006.
app-3033d1434f0cf662daa1.js:1 WebSocket connection to 'ws://localhost:3001/ws/dashboard?token=null' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
u @ app-3033d1434f0cf662daa1.js:1
app-3033d1434f0cf662daa1.js:1 WebSocket connection closed with code: 1006.
app-3033d1434f0cf662daa1.js:1 WebSocket connection to 'ws://localhost:3001/ws/dashboard?token=null' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
u @ app-3033d1434f0cf662daa1.js:1

@sonufrienko
Please, check this error message.
WebSocket connection to 'ws://localhost:3001/ws/dashboard?token=null' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

You're right. I am new to this and I had not correctly interpreted the error.
Thankyou so much

hello all how do you debugging this app

authors: dewelloper kerven66 restmount sonufrienko

repo: cezerin/cezerin


text:
v11.0.0

Updated license to GPLv3, with a commercial option
Added before and after callbacks
Added the ability to add custom easing patterns

Doh, yes, sorry! Just pushed 11.0.1, which removes it.

repo: cferdinandi/smooth-scroll


text:
JSHint 2.6.0

Update JSHint 2.6.0. Not sure if I am doing the right thing here but I have tried to update to JSHint 2.6.0 as they have es6 fat arrow support amongst other improvements.

Looks good - thank you. Next time feel free to add credit for your PR in the readme :)

authors: cfjedimaster iamkevla

repo: cfjedimaster/brackets-jshint


text:
[cf-forms] Complete usage.md

Fill it out with usage guidance akin to what was found in the older Topdoc docs.

this one is looking great.

authors: Scotchester cfarm

repo: cfpb/capital-framework


text:
Wagtail: Arabic formatting

We have Arabic content on two pages: /sending-money/ar (browse page) and /cfpb-your-language (sublanding page). It needs to be not just right-justified, but also reading right-to-left (for example, bullet points align on the right margin). Example page from current site is here: http://www.consumerfinance.gov/sending-money/ar/

This is a larger accessibility issue. We need to have the language set correctly either in the top or a block of content that has the language
<html dir="rtl" lang="ar"> or at least <div dir="rtl" lang="ar"> should be set on this page. I looked into the HTML5 element dir="auto" to have the browser know what needs to be set in what direction, but the IE support looks terrible.

We'll also need to set a language for our Spanish content and content in other languages.

Keep in mind also the use case in the /cfpb-your-language/ sublanding page that contains all 7 languages (not counting English & Spanish).

That one might need to be hard coded to be implemented correctly. The whole page reads in English right now.

Actually, are all the foreign language things in "full-width text" molecules?

Going to write this down here before I lose it over the weekend. If all the foreign language blocks are full-width text or even a limited number of molecules, we could add a dropdown to each one to choose the language and set the language for the block. Pros: Multiple languages could be handled on one page. Cons: We're creeping in options madness and we'd have to do this for every molecule we want to use in alternate languages.
Alternatively, people can set the language on page settings which would toggle the language and set it on the main div that holds everything. Pros: One dropdown vs. multiple per pages. Cons: If there's a mix of English generated content and non-English content, the English stuff will be read incorrectly.

Most of the foreign-language content does appear in full-width content molecules...BUT foreign languages currently also used in:
Heading, intro, body (Text Introduction)
Well
Heading, image text, body (25/75)
Slug (sidefoot)
Hyperlink text
Currently ALL foreign language pages (on the English site, at least) have multiple languages, because along with each language we offer links over to the other languages, using those languages (for example, on the Russian page we offer links to Korean, Chinese, Vietnamese, Tagalog, Arabic, and the rest).

Currently ALL foreign language pages (on the English site, at least) have multiple languages, because along with each language we offer links over to the other languages, using those languages (for example, on the Russian page we offer links to Korean, Chinese, Vietnamese, Tagalog, Arabic, and the rest).

I can fix this and we'll hard code that bit, so no worries there. ;)
Other than the  /cfpb-your-language/ language page, are there any other pages with a mix of languages?

Take a look at the /sending-money/vi page or another one...they all follow the same format. In the sidefoot you'll see the hyperlinks -- some are to the languages pages and some are to publications. But if you can hard-code that somehow, that's the only other place where we currently need additional languages within a foreign-language page.

Hopped on the phone with @Schlachtmeyer clarified a few things and came up with an initial proposal to share at team working session.
It looks like all the content in the main content section is mostly always the same language with the exception of  /cfpb-your-language/. So the whole page (which contains the header/footer/sidebar/etc) will be in English, with the main content section being selected by content users in a page settings option.
If the page is Arabic, we'll include logic to also make it right-to-left reading.
There is a sidefoot section which has the pages in other languages. We'll need to visit how to programmatically make sure that reads correctly with proper href and hreflang tags in the future, but users should still be able to access content by selecting their language in the global eyebrow and navigating.

/cfpb-your-language/ should be broken up into individual pages for each language or alternatively hardcoded.

I think this sounds like a great proposal @KimberlyMunoz but I'm not sure I understand it fully -- tell me more about this "page settings option" -- is this basically a drop-down select near the main content on /cfpb-your-language/? And then for the individual /sending-money-abroad/ pages, we would still have a page per language? or do you see a way to use a page setting options there as well?
Looking forward to discussing at team working session!

On the configuration tab of each page, we ~should~ be able to add an option to select the language for the page.

Hey @KimberlyMunoz - All the languages pages are now broken out into their own Browse pages, so if you want to try out your language selection, you've got some examples to work with. Let me know if & when you want me to do anything!

Working with BEWDs to get the option turned on in the new config menu. Moved to JIRA issue DFJR-738.

Related PRs: #1361 and #1372.

This should be ready for content to use! Check for language options in the configuration page.

Cool!!
Question about Arabic. It looks good but I think it's treating the phone number strangely. On our current site the phone number reads left to right, just as it does in English: http://www.consumerfinance.gov/lang/#ar
On the new page once I click the "Arabic" drop-down, the alignment looks great. But somehow the phone number might not be working: الحماية المالية للمستهلكين (855) 411-2372 واضغط 8
Each bit of the phone number reads left to right but the overall number is right to left? Seems odd and not what we have today. Should I do something in the content to keep those phone number elements together?

We have something hardcoded to make the phone number go the right direction there on our current page. I added some non-breaking spaces to fix the numbers for now.

Cool. What happens if something is not tagged in its language - especially something that doesn't have a different character set, like Spanish or Tagalog?

It just reads in the language that it's being tagged with.

I think this is done, but flag this issue if I'm wrong and there's more work to be done.

authors: KimberlyMunoz Schlachtmeyer schaferjh

repo: cfpb/cfgov-refresh


text:
Improve ask admin

This implements ask_cfpb admin changes suggested by content editors.

Hide answer_base in the Page admin; this shouldn't be editable.
Make the redirect field a Foreign Key to help editors choose the right redirect page.
Removes the 'Inicio' Spanish parent page from the migration, leaving 'Obtener respuestas.' You won't see this unless you run the full migration again by deleting all AnswerPages and Answers and running python cfgov/manage.py runscript migrate_knowledgebase
Initial setup of search indexes

Testing

There's a model change, so you'll need to run migrate.

python cfgov/manage.py migrate

When editing an AnswerPage, you should no longer see the "answer_base" field, and the "redirect_to" field should let you search by ask_id for a page to redirect to.
If you run the knowledgebase migration again, the pages will no longer be under "Inicio" page.

Checklist

[x] Passes all existing automated tests
[x] New functions include new tests

👍 The changes in the admin look good to me!


text:
Add period to code comment.

Very minor code comment update in eslint file.
Additions

Adds missing period in code comment.

Review

@anselmbradford

Gonna save you guys the time on this one...

I don't know, we specifically said at least one sign-off ;)

And see, I listed one reviewer for sign-off! ;)

lol

But you never gave yourself the :+1:

lol :hear_no_evil:

authors: anselmbradford jimmynotjim sebworks


text:
Journey + Form Explainer pages ready for deployment

Added

the journey template files have been added to the deploy task, which copies new / changed files to the compiled folder on content and production when this is ready for release
smoke tests were run to make sure no 404s or errors were introduced to the environment by this release

Test
This can be tested locally by running the grunt deploy task instead of the default grunt or grunt watch tasks.

Run smoke tests:
cd test/browser_testing
workon oah-tests
behave -k -t=~prod_only -t=smoke_testing

The following URLs should work:

http://localhost:7000/  -- old landing page
http://localhost:7000/loan-options/ -- existing page
http://localhost:7000/check-rates --  existing page
http://localhost:7000/process -- Journey, new!
http://localhost:7000/process/prepare -- Journey, new!
http://localhost:7000/process/explore -- Journey, new!
http://localhost:7000/process/compare -- Journey, new!
http://localhost:7000/process/close -- Journey, new!
http://localhost:7000/form-explainer -- Form Explainer, new!

The following URLs should give a 404:

http://localhost:7000/prepare-worksheets
http://localhost:7000/loan-comparison

Review

@virginiacc
@stephanieosan

P.S. We don't want to merge this until we're ready for release to production.

getting an error when I run grunt deploy, @virginiacc need your help during pairing to figure this out.

Running "uglify:pages" (uglify) task
File "dist/static/js/rates.js" created.
File "dist/static/js/loan-options.js" created.
File "dist/static/js/check-rates.js" created.
{ message: 'Unexpected token eof «undefined», expected punc «,»',
line: 5040,
col: 499,
pos: 171940,
stack: 'Error\n    at new JS_Parse_Error (/Users/farmanc/Sites/owning-a-home/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:189:18)\n    at js_error (/Users/farmanc/Sites/owning-a-home/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:197:11)\n    at croak (/Users/farmanc/Sites/owning-a-home/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:661:41)\n    at token_error (/Users/farmanc/Sites/owning-a-home/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:665:9)\n    at expect_token (/Users/farmanc/Sites/owning-a-home/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:678:9)\n    at expect (/Users/farmanc/Sites/owning-a-home/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:681:36)\n    at /Users/farmanc/Sites/owning-a-home/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:1196:44\n    at /Users/farmanc/Sites/owning-a-home/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:704:24\n    at expr_atom (/Users/farmanc/Sites/owning-a-home/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:1153:35)\n    at maybe_unary (/Users/farmanc/Sites/owning-a-home/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:1328:19)' }

Uglifying source "dist/static/js/loan-comparison.js" failed.
Warning: Uglification failed.
Unexpected token eof «undefined», expected punc «,».
Line 5040 in dist/static/js/loan-comparison.js
Use --force to continue.

repo: cfpb/owning-a-home


text:
in flutter web I get 'XMLHttpRequest'

I wrote this:
Dio dio = Dio();

dio.options.baseUrl = 'http://localhost:6060';
dio.options.method = 'POST';
dio.options.responseType = ResponseType.plain;

var res = await dio.request('/login');

but got 'XMLHttpRequest' error in web.   on Device is ok.
I add headers in server but not solved.
res.headers.add('Access-Control-Allow-Origin', '*');
res.headers.add('Access-Control-Allow-Methods', 'POST, GET, OPTIONS, PUT, DELETE, HEAD');
by 'Http package' is ok but, by Dio I have error.
I also send the request by post method, but it is received on the server as a options method! Why?

I have met this error sevel times
1.This error is caused by CORS, add server support will solve this error.
2."I also send the request by post method, but it is received on the server as a options method! Why?"  The OPTIONS request is send by browser,not app client.
3.This hack solution will only work locally.

I see the same problem in which Dio sends an OPTIONS request as well as a the intended POST request.
This problem only occurs on Web not on MacOS. Any idea on how to work around this (except the proposed local solution?)

You need to modify the server to allow CORS requests. Please read up on how CORS works.

please follow these step it's works for me on mac m2
1- Go to flutter\bin\cache and remove a file named: flutter_tools.stamp
2- Go to flutter\packages\flutter_tools\lib\src\web and open the file chrome.dart.
3- Find '--disable-extensions'
4- Add '--disable-web-security'

Must set CORS for Options method request in server.
sample:
server.options('/*', (req, res) async {
        res.headers.add('Access-Control-Allow-Origin', '*');
        res.headers.add('Access-Control-Allow-Headers', '*');
        res.headers.add('Access-Control-Allow-Methods', 'POST, GET, PUT, DELETE, OPTIONS, HEAD');

        res.statusCode = 204;
      }
    );

repo: cfug/dio


text:
Dio Throws Exception on DELETE Request with 204 Response

Package
dio
Version
5.5.0
Operating-System
Web
Adapter
Default Dio
Output of flutter doctor -v
[√] Flutter (Channel stable, 3.19.6, on Microsoft Windows [Version 10.0.22631.3880], locale en-US)
    • Flutter version 3.19.6 on channel stable at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (4 months ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at C:\Users\andrew\AppData\Local\Android\sdk
    • Platform android-34, build-tools 32.1.0-rc1
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop Windows apps
    X Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 2022.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)

[√] VS Code (version 1.92.0)
    • VS Code at C:\Users\andrew\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.94.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.3880]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 126.0.6478.127
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 127.0.2651.86

[√] Network resources
    • All expected network resources are available.

Dart Version
3.3.4
Steps to Reproduce
Create a flutter application with dio as a dependency.
Send a DELETE request to an endpoint which returns a 204 "No Content" http status code.
Expected Result
The request goes through without throwing an exception.
Actual Result
The request throws a DioException with the message "SyntaxError: Unexpected end of JSON input".

Please let me know if there's any more info I can add. Judging by the error message it seems that Dio is attempting to parse the body of the response, but since the response body is null, it throws this error.
The issue does not occur in 5.4.3, so I have downgraded the version for now.
Only tested with DELETE requests, I am not sure if other HTTP requests are affected.
Tested only in flutter web, I am not sure if other platforms are affected.

Please add sample code that shows how you call the delete endpoint. Make sure to use the correct generic response type .

Here's the basic implementation of my HttpProvider class. For brevity, some methods like sendGet and sendPost are removed. I also cut out irrelevant details (such as a try-catch around the _dio.delete() method to throw my own error), but I checked and the "FormatException: SyntaxError: Unexpected end of JSON input" error still occurs with the code below.
class HttpProvider {
  HttpProvider({this.token}) {
    _dio = Dio(BaseOptions(connectTimeout: const Duration(seconds: 6000)));
    _dio.options.baseUrl = 'https://redacted'
  }
  String? token;

  Future<Options> _getOptions() async {
    Map<String, dynamic> headers = {
      'Strict-Transport-Security': 'max-age=63072000; includeSubDomains; preload',
    };
    if (token != null) {
      headers['Authorization'] = "TOKEN ${token!}";
    }
    return Options(headers: headers);
  }

  Future<Response<dynamic>> sendDelete(String url, [data, String? token]) {
    return _dio.delete(
      url,
      data: data,
      options: await _getOptions(token),
    );
  }

Request body:
{"ids":[1536]}

Response headers:
HTTP/1.1 204 No Content
Server: nginx
Date: Mon, 12 Aug 2024 12:31:47 GMT
Content-Type: application/json
Content-Length: 352
Connection: keep-alive
Vary: Accept, Authorization, Cookie, Origin
Allow: PATCH, DELETE, OPTIONS
Cache-Control: no-cache, no-store, must-revalidate
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Referrer-Policy: same-origin
Cross-Origin-Opener-Policy: same-origin
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: DELETE
Access-Control-Allow-Headers: X-Device-UID,Strict-Transport-Security,Authorization,Content-Type
Access-Control-Max-Age: 1728000

It seems that this might be an issue with the latest transformer from #2239
You set ResponseType.json, and
The server sets
Content-Type: application/json
Content-Length: 352

so the transformer expects JSON content.

authors: HHLiftBridge knaeckeKami kuhnroyal


text:
⚡ Improve multiple timeout tests

Further try #2140, using drip to control the overall response duration.
Make cancellation calls only after the response stream has been obtained to keep the call sequence.
Using the non-routable URL (10.0.0.0) to mock connection timeouts.

New Pull Request Checklist

[x] I have read the Documentation
[x] I have searched for a similar pull request in the project and found none
[x] I have updated this branch with the latest main branch to avoid conflicts (via merge from master or rebase)
[x] I have added the required tests to prove the fix/feature I'm adding
[ ] I have updated the documentation (if necessary)
[x] I have run the tests without failures
[ ] I have updated the CHANGELOG.md in the corresponding package

Using drip is actually a great idea, didn't think of that!

I've updated the description, this might significantly help with random test failures.

Wonder if we should test the connection timeouts with mocks?

Okay so it's not a mock, it happens because the IP is non-reachable in a regular LAN network. We should use the same URL (or something like 192.168.0.0) if we want to make sure that the connection timeouts statically happened.
Regarding the name of tests, they might also changed to non-response-related.


text:
Implements thumbnails generation for Esri REST services

@jmwenda can you help with me with this?
Basically you should test what can be done with the arcrest library, and figure out a way to get a thumbnail for a layer.
After figuring it out, we can discuss how to integrate your work in code base.

Sample image servers to test with.
http://services.kgs.ku.edu/arcgis/rest/services/IMAGERY_LOCAL/Atchison_County_2012/ImageServer
http://sampleserver6.arcgisonline.com/arcgis/rest/services/Toronto/ImageServer
http://services.kgs.ku.edu/arcgis/rest/services/ - has a wealth of imageservers

authors: capooti jmwenda

repo: cga-harvard/hypermap


text:
Newline on Template Sensors

If you have a template sensor which has a newline in it {{- '\n' -}}  the icon is still displaying everything in one line.
This actually is very useful if you want to display multiple sensor values in one button.

Hi,
the texts that are rendered to the button image are created as an SVG graphics. Allowing new-line characters to be parsed and converted into new text lines sounds easy but is a real pain. So unfortunatelly i will not support this in the near future :(

wouldnt something like that work? @cgiesche
// svgUtils.js
const text = (text, lineNr) => {
    if (text.indexOf("\n") > -1) {
        let lines = text.split("\n");
        for (let i = lineNr; i < (lines.length + lineNr); i++) {
            drawText(text, i);
        }
        return;
    }
    drawText(text, lineNr);
}

const drawText = (text, lineNr) => {
    this.snap.text(0, 26 + lineNr * 36, text)
        .attr(this.lineAttr)
        .transform(`translateX(${this.halfRes})`);
}

@cgiesche i can confirm that this works.
it was a mess to edit the compiled js but in the end it works. it would be great if you can do something like that. i can also do a pull request if you like.

it was a mess to edit the compiled js
lul

wouldnt something like that work?
Ok, you are right. This seems to be easier than i expected. The painful experience of programming SVG in JavaScript has discouraged me :D

If you open a PR, i will accept it and build a prerelease. The official release to the store will take some time as it is a manual process including hand written mails to elgato. I always wait until enough changes have accumulated before asking Elgato to publish the plugin.

authors: cgiesche riyuk

repo: cgiesche/streamdeck-homeassistant


text:
Curso Machine Learning: classificação com SKLearn

Links

https://cursos.alura.com.br/course/machine-learning-introducao-a-classificacao-com-sklearn

Descrição
Aplique machine learning na sua empresa
Pratique com diversos exemplos
Veja como algoritmos de classificação estão por todos os lados no nosso dia a dia
Analise resultados com a mente de um cientista de dados
Compare o resultado de algoritmos lineares e não lineares
Entenda por trás dos panos o que é o tal do aprendizado de máquina para classificação
Faça estudos replicáveis, com estratégias de testes
Veja Support Vector Machines, Árvores de Decisão e Dummy Classifiers
Repositório

https://github.com/cglima/alura-machine-learning-classificacao-com-sklearn

Aula 01 - Introdução à classificação
Nesta aula, eu aprendi:

Treinar algoritmos;
Definir características (features) do que desejamos classificar;
Classificar em categorias;
Utilizar o módulo **linearSVC** e accuracy_score;
Utilizar o método fit;
Prever dados com a função predict;
Calcular a taxa de acerto do modelo;
Comparar testes e previsões;
Utilizar a função soma;
Padronizar variáveis;

Aula 02 - Testes replicáveis, estratificação e lendo dados da internet
Nesta aula, eu aprendi:

Abrir arquivo CSV;
Imprimir as primeiras linhas com a função head;
Renomear as colunas;
Utilizar a função shape para ver a quantidade de elementos;
Separar dados para treino e teste;
Definir a ordem para os números aleatórios;
Utilizar a função value_counts.

Aula 03 - Um projeto de baixa dimensionalidade e o baseline
Nesta aula, eu aprendi:

Trocar valores;
Usar a biblioteca seaborn;
Gerar um gráfico com dados do CSV;
Definir cores no gráfico;
Gerar gráficos distintos;
Criação de um algoritmo base;
Capturar os valores mínimos e máximos.
Utilizar a função arange do numpy

Aula 04 - Support Vector Machine e a não linearidade
Nesta aula, eu aprendi:

Utilizar o módulo Support Vector Machine;
Gerar valores randômicos com o módulo SVC;
Utilizar o módulo Standard Scale.

Aula 05 - Dummy classifier e árvore de decisão
Nesta aula, eu aprendi:

Alterar dados em colunas;
Utilizar o módulo datetime;
Criar colunas;
Remover colunas e linhas;
Utilizar o módulo dummie para gerar colunas;
Utilizar o módulo graphviz para gerar gráficos;
Definir propriedades gráficas na árvore de decisão.

repo: cglima/caderno-ciencia-dados


text:
Data is not persistent.

Hi, I can't seem to find a way to save the data from my instance.
Every time I restart the container all the data is reset. Is this intended as this is not recommended for production, or am I doing something wrong

Found myself a fix for this !!!
This repo didn't provide docker compose setup, but did put a link to another repo which gives does.
Since I am a beginner in docker and other things, I find it very confusing and difficult. So with help of Chat GPT I made a docker compose yml. Hope this helps someone else.

In a folder, create a file named docker-compose.yml
Paste this in the file

services:
  cgwire:
    image: cgwire/cgwire
    container_name: kitsu
    init: true
    tty: true
    stdin_open: true
    ports:
      - 8012:80
    volumes:
      - zou-storage:/var/lib/postgresql
      - zou-storage:/opt/zou/previews

volumes:
  zou-storage:
    driver: local
    driver_opts:
      type: 'none'
      o: 'bind'
      device: './zou-storage'

Save the file.
Make sure you have the folder already created. (zou-storage in my case) Otherwise it will give an error.
open terminal in the same location as this compose file.
Run docker compose up-d.
Done.
All I did is, took the docker run cmd from this repo and turned it into a docker compose format using Composerize
Then I asked chat-gpt to add the necessary lines that will store the data in a desired place, in this case the relative path of this docker-compose.yml file.

Hope this helps someone else. 😊😊

repo: cgwire/kitsu-docker


text:
🛑 Enchanted Vacations is down

In 8d839b7, Enchanted Vacations (https://yourenchantingvacation.com) was down:

HTTP code: 521
Response time: 152 ms

Resolved: Enchanted Vacations is back up in 8b404dc after 11 minutes.

repo: chadburrus/upptime


text:
Is this project still maintained?

The last accepted commit is now 6 years old.
Chai-as-promised doesn't yet support chai 5 (current version) and there isn't a single contributor answering #281

@domenic would you please deprecate if an affirmative answer?

Actually, this repo was moved to the chai organisation earlier this week. With their help there should be a reboot in maintenance for this package, including chai v5 support. You can already see some of the PRs they have opened that will be merged soon

Indeed it did! I'll be merging a bunch of prs and doing some releases this week 👍
I'm also investigating adding async support to chai core one day

authors: 43081j GustavoOS WikiRik

repo: chaijs/chai-as-promised


text:
Fix bugs and Improve Finance Reports - 2nd Edition

[x] Process the index synchronization of transactions by month. Process the display of treasury (and legacy) transactions, jump to the page with the corresponding start date
[x] Adjust the CSV Button (address page)
[x] Adjust the chart on the legacy page (And check on other address pages)
[x] Store the state of List/Month when switching between report types
[x] Adjust the display of Decentralized/admin percentage
[x] Remove the chart type selector on the chart of the domain report. Because there is only one option Domain
[x] Change the position of the Authors button to before the Domains button. Let 2 reports with matrix view support be next to each other
[x] Fix the position of the colon next to selector
[x] Fix Unaccounted data. For month and year view
[x] Set Month View as default for proposal report
[x] Fix Yearly view of domain report
[x] Remove Chart type selector in Domains report
[x] Adjust other components like colon, spacing of components...
[x] Fix Type:colon is still missing proper spacing.
[x] Fix Hove over color is the same as the select color
[x] Unify report description ("*The data is the daily cost estimate based on the total budget divided by the total number of proposals days.
Valid payment month (Estimate)")
[ ] Consolidate all reports into a single page
[x] Future months should be better distinguished from the other rows as being in the future. Maybe show all months since the most recent payment in a different color scheme
[x] Change Combined option label
[x] Change Balance text on summary data. Put it all on one line (Combined Treasury Balance: 888,160.92 DCR (Decentralized: 847,688.78 DCR (95.44% / Admin: 40,472.13 DCR (4.56% )
[x]  Showing the values in USD as well
[x] Balance could probably be the first column in the Treasury Spending chart
[x] Add * asterik explaining how Dev Spent (Est)(DCR) is calculated

[ ] Domains chart error not appearing when changing from balance chart (of treasury)
https://github.com/user-attachments/assets/d69ab793-0d0d-43cc-bbe5-a88985c873ac

[ ] Month/List toggle failed
bug video: https://github.com/user-attachments/assets/fe019a8d-04a4-4c14-b781-d655496681c9

repo: chaineco/blockcare

license: ISC


text:
document arithmetic special functions

This fixes #3821.
Related to #4480.

jenkins, test this please.

jenkins, test this please.

LGTM!

authors: hvy kmaehashi

repo: chainer/chainer


text:
Implement communicator_test for ChainerX+ChainerMN

This is a partial work of #8031.
This PR modifies several tests in tests/chainermn_tests/communicator_tests/test_communicator.py to test ChainerX in addition to current numpy and CuPy.(https://docs.chainer.org/en/stable/compatibility.html).
This PR inherits from #8280.

Jenkins & flexCI, test this please.

Jenkins CI test (for commit 63f59e97ab499ae51bc3e2fed455a9e8879961b3, target branch master) succeeded!

Jenkins & flexCI, test this please.

Jenkins CI test (for commit c21f4a0d38f66502f252b9072fbb302aabc07db2, target branch master) succeeded!

authors: belldandyxtq chainer-ci shu65


text:
Warn users when producing an image with an unknown distro

Problem: Today, when apko builds an image, if none of the packages it adds to the image include an /etc/os-release file, the image will end up with an /etc/os-release file that gets created on-the-fly, which looks like this:
ID=unknown
NAME="apko-generated image"
PRETTY_NAME="apko-generated image"
VERSION_ID=unknown
HOME_URL="https://github.com/chainguard-dev/apko"

This can be problematic. In particular, if someone runs a vulnerability scanner on the image, the scanner will not be able to correctly identify the distro, and thus the scanner won't be able to locate the appropriate advisory/fix data source to use during the scan — which means the scan results will be invalid.
In most cases, apko users probably don't intend to have an unidentified distro like this. It's more likely that they just didn't realize how to add a proper distro /etc/os-release file, which today is done by including a package in the config file that contains an /etc/os-release file.
Therefore, apko should check to see if any package has added an /etc/os-release file and ensure the user sees a warning about the fact that the distro won't be identifiable and how that can lead to problems.

i'm curious to why would a package want to do that?

Hi @luhring, seems to be a good issue to begin with contribution to apko, can I pick this? I

Thanks for the PR @mritunjaysharma394! Hopefully we can get that merged soon 🤞

authors: luhring mritunjaysharma394 tuananh

repo: chainguard-dev/apko


text:
add annotations to indexes, separate repo and revision annotations, document

Fixes https://github.com/chainguard-dev/apko/issues/352

It looks fine to me, but the splitting the VCS URL seems wrong.  Going to wait to see what @puerco says.

ping @puerco

Sorry, I missed this while I was out.
I'm a bit unsure here as we're in OCI territory but I too would prefer to have the VCS URLs be full SPDX download locator-compatible URLs as it is one piece of data with everything you need in there:
<vcs_tool>+<transport>://<host_name>[/<path_to_repository>][@<revision_tag_or_branch>][#<sub_path>]
But perhaps it is not a valid entry in the OCI annotation? I guess it depends on the intended use. Without knowing more context, it seems to me it could work as the spec lists the field as:

URL to get source code for building the image (string)

(I would add the hash to .revision regardless of what we put in .source)

The OCI annotations are specified as:

org.opencontainers.image.source URL to get source code for building the image (string)
org.opencontainers.image.revision Source control revision identifier for the packaged software.

This says to me it should be a separate URL and revision.
The vcsurl passed through to the SBOM is still the single SPDX locator, it's only when setting the annotations that they get strings.Cut apart.

authors: imjasonh kaniini puerco


text:
/usr/local/bin no longer in path

Which image/versions are related to this issue/feature request?
I only checked static and busybox.
Issue/Feature description
Binaries that I used to run from /usr/local/bin could no longer be found in the path after I rebuilt with base images that included the changes in https://github.com/chainguard-images/images/pull/511
I can manually add it back to the path, but I thought I'd raise this here in case it was an unintended side-effect.

Marking this as fixed. We'll have a postmortem to share, probably next week.

authors: ecordell imjasonh

repo: chainguard-images/images


text:
409 error

Starting a new node on fresh vm.
Tailing the logs returns 409
chainpoint-node_1  | 2017-09-19T20:17:06.788122497Z Retrieving Node calendar most recent block info
chainpoint-node_1  | 2017-09-19T20:17:06.794014349Z Node calendar height = 27999
chainpoint-node_1  | 2017-09-19T20:17:06.841532421Z An error has occurred on startup: Error: Invalid response : 409 : 409 - {"code":"InvalidArgument","message":"invalid request, toHeight must be a positive integer"}
chainpoint-node_1  | 2017-09-19T20:17:06.851913240Z error Command failed with exit code 1.
chainpointnode_chainpoint-node_1 exited with code 1

An error has occurred on startup: Error: Invalid response : 409

same here. looks like something went wrong on the last commit of code at the core (?)

Same here, only affecting new nodes installed per instructions.

Having the same problem on all my nodes, if you do a make down and a make up; This will start to happen.

Same me.
to Height must be a positive integer"}

This issue should be resolved. Please upgrade to the latest version of the Node sofware as described in the FAQ page of the Wiki on this repo.

authors: SpiryMedia accrubit deathtech69 grempe rjlynch sgarciafer shinji2000

repo: chainpoint/chainpoint-node


text:
Improve OSRM mode/ports management (code, configs, etc)

@tahini have highlighted a few inconsistencies and improvement around the OSRM modes configurations and management.
We probably want to revisit those that we not addressed since they add a  too big scope for that PR.
Eventually, we might want to move out the process management of OSRM outside of the Transition code base

@greenscientist Do you think your addition of the OSRMMode fixed this issue?

Yeah, I think we can consider this is covered

authors: greenscientist tahini

repo: chairemobilite/transition


text:
Hooks tokens:created dont work when extending a preset

I was playing with a config that uses hooks tokens:created, and not sure why, by when using this config as preset the hooks dont work 🤔
I created a repo and committed the styled-system folder to make it easier to see it
using the config as it is
https://github.com/ivanbanov/pandacss-codegen-bug/blob/main/styled-system/tokens/tokens.d.ts#L2
using as preset
https://github.com/ivanbanov/pandacss-codegen-bug/blob/main/app/styled-system/tokens/tokens.d.ts#L2

answering here in addition to discord so that it can be indexed in the future:
this is the issue
-> hooks are shared in plugins not presets

my alternative (multiple exports)
// (root) panda.config.ts
export const plugin = {
  name: "my-plugin",
  hooks: {
    // ...
  }
}

export default defineConfig({
  plugins: [plugin],

// (root) panda.config.ts
export const plugin = {
  name: "my-plugin",
  hooks: {
    // ...
  }
}

export default defineConfig({
  plugins: [plugin],

yours (factory function)
// panda.config.ts
import { defineConfig } from '@pandacss/dev'
import type { Config } from '@pandacss/dev'

export const config = (options: Config = {}) =>  defineConfig({
 plugins: [],
 ...options,
})

// app/panda.config.ts
import { config } from '../panda.config'

export default config({
 include: ['./src/**/*.{ts,tsx}'],
 outdir: 'styled-system',
})

authors: astahmer ivanbanov

repo: chakra-ui/panda


text:
850 move newsletter bundle resources into classical folder

Q
A

Branch
7.1.x

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
no

Tests pass?
yes + no

Fixed issues
https://github.com/chameleon-system/chameleon-system/issues/850

License
MIT

This solution should have to be tested if you really want to use it, because it is really hard to compile the less resource in the bundle especially if there are errors outside this bundle.
A simple test can be performed by placing a NewsletterSignup module instance on a page and select a template. Then a form for a newsletter subscription with an email should displayed, which you can submit et cetera.

Summary by CodeRabbit

New Features

Introduced a new property to prevent reference copying in CMS fields.
Added functionality to update icons to a new CSS Icon field in CMS.
Implemented a database schema update for backend sorting field configuration.
Added a feature to show an info message for moving folders in specific directories.
Introduced field extensions during container building.
Added a new event for handling the completion of tree ID mapping processes.
Enhanced icon font selection with a new class and dynamic CSS loading.
Documentation for extending fields with additional HTML and assets.

Bug Fixes

Adjusted query filtering in getTableOrderByData to exclude specific fields.
Fixed breadcrumb handling logic for valid requests and deletion events.
Corrected margin styling for .button-element class.
Updated translations and fixed redundant lines in language files.

Refactor

Major updates to event classes, replacing properties and updating method signatures.
Implemented a Symfony compiler pass to add field extensions conditionally.
Enhanced breadcrumb and URL history management with new caching mechanisms and callbacks.
Refactored field classes to utilize field extension services.
Deprecated certain classes and methods in line with version updates.

Style

Deprecated icon selector field module styling starting from version 7.1.6.

Documentation

Added a new guide for creating services to customize field output in CMS.

Chores

Updated type declarations and method signatures across various classes for clarity and efficiency.

Deprecations

Noted deprecations of specific classes and methods in alignment with new CMS version updates.

Closing for further review on gitlab

authors: bestform michaelcmichaelis

repo: chameleon-system/chameleon-base


text:
Add options to configure snapshot preid format

I took the liberty to implement feature that was requested in some opened issues (can't remember which): to allow . to separate timestamp part of the snapshot preid, and to allow timestamp part to come first.

Could you refresh my memory on the motivation behind this being configurable? I know some~ relevant context but would love to hear out your arguments first.

Could you refresh my memory on the motivation behind this being configurable? I know some~ relevant context but would love to hear out your arguments first.

AFAIK the reason for having the timestamp first in the preid is to be able to predictably sort prereleases, and using . is also related to sorting, because according to semver:

Precedence for two pre-release versions [...] determined by comparing each dot separated identifier [...].

A competing PR has been created, you might find it interesting: https://github.com/changesets/changesets/pull/858

The mentioned completing PR has been merged in and thus we can close this PR. Nevertheless, thank you for your contribution! It's very much appreciated.

authors: Andarist jakubmazanec

repo: changesets/changesets


text:
请问频道的令牌是有有效期的吗？

在频道信息的右上角，看到盾牌的小图标，点进去有个到期时间，而且是只读的，不能修改。
请问这个是令牌的到期时间吗？那到期之后所有部署出去的令牌都得更新，才能正常发送消息？

你好，

令牌是有有效期的，默认是90天
盾牌的小图标，点进去那个到期时间是可以修改的，修改后会刷新令牌
令牌的到期后所有部署出去的令牌都得更新才能发送消息

如果你不能修改时间请告知下 iOS 版本和 Chanify 版本，我这边最新版本是可以修改的。
谢谢。

@wizjin
版本：iOS 14.6，Chanify 1.1.6
描述：进入盾牌小图标页面，选择新的时间，页面上没有保存之类的按钮，只有左上角的返回，返回之后再进入盾牌页面，时间依然是修改前的时间。
说回有效期的问题：
无论是在创建频道时，还是在复制令牌时，都没提示令牌有有效期一说，包括官网和 GitHub 都没提到。
如果今天我没注意到小盾牌，已经将令牌部署到服务器上（当服务器发生错误时可以通知我），90 天之后我就收不到消息了，这，不太合理吧？
建议增加长期有效令牌（但也可以手动更新），如果不行，至少也得增加续期/换新令牌的 api 吧。如果创建了几十个频道、部署到几十个不同业务中，每 90 天就要手动换新一次，那真是折腾…

@yb 你好，
首先，你选择时间之后下面的令牌就已经重新生成了，在这个页面点击相应频道后面的复制，复制出来的令牌就是你选择的过期时间的令牌了。
其次，感谢你的建议，之后我会增加相关的提示信息。
最后，出于安全的考虑，整个令牌的生成过程完全在客户端完成，服务器只是验证这个令牌。所以就目前的设计并没有办法提供自动续期的 API。如果需要长期有效目前最多可自定义5年有效期的令牌。
谢谢

@wizjin
话说盾牌页面里的令牌，和频道信息页面的令牌，是不一样的吗？是可以同时存在的？
因为在盾牌页面生成的新令牌，回到频道信息页面，也依旧是旧的令牌，即便整个 APP 退出重新打开，频道信息页面也是旧的。

@yb
令牌是由客户端生成的，在服务器并不会保存令牌，所以可以生成多个令牌。
每个生成出来的令牌在有效期内都会一直有效，并不会因为生成新的令牌导致旧的令牌失效。
基于上面的原因，为了防止令牌泄漏后导致的安全问题，所以默认有效期只设置了90天。

@yb 没错，在有效期内令牌就可用，因为令牌是绑定频道的，可见的解决方案是禁用频道，另外的方案是重新生成用户账号才可以避免。
很高心你能提出建议，但是十分抱歉，因为 Chanify 是去中心化设计的，按照目前的账号体系，长效令牌+手动换新 的话是没办法实现的。因为没有一个中心服务器作为令牌凭证的最终裁决者，这也是为什么 Chanify 能够比较方便自建服务器和 serverless 的原因。
因为 长效令牌+手动换新，是需要服务器保存短期令牌的，这样就需要服务器有自己的存储，而目前 Chanify 是可以无存储运行的，强制令牌要有存储才能工作违背了这个原则。
谢谢！

@wizjin 目前没有禁用频道的功能吧，只有删除，删除之后历史记录还在吗？这点我不确定，如果历史记录里有重要信息，那就很蛋疼了，一边检查备份，一边被刷消息… 直到删除

因为 长效令牌+手动换新，是需要服务器保存短期令牌的，这样就需要服务器有自己的存储，而目前 Chanify 是可以无存储运行的，强制令牌要有存储才能工作违背了这个原则。

我大概明白你的意思了，只要令牌符合校验，服务器就进行推送，而只要推送了，就会有信息提醒，来不及在客户端再做校验，客户端的校验 顶多是让消息不进入对应频道，但 iOS 的消息提示是苹果那边控制的，对吗？

@yb 目前没有增加禁用频道的功能，后面会考虑添加。iOS 的消息提示那边是可以控制不提示的。目前就是如果令牌失效，服务器即使强制推送，在手机端也不会收到提示。
所以，目前如果是用户自己不小心泄漏了令牌还没有比较好的方案处理。
但是如果是服务器有安全隐患，只需要在 iOS 上删除服务器就可以了。之前的消息都会在，然后新消息就不会收到，也不会有提示。
所以如果是自建的服务器，令牌泄漏了有简单的解决方案：就是 iOS 删除服务器，然后重置服务器的 secret，iOS 添加新的服务器就可以了。但是问题是之前授权给这台服务相关的令牌就会全部失效，需要使用新生成的令牌才能工作。
后续我会考虑如何改善令牌泄漏的问题。

@wizjin 好的，谢谢，期待后续更新。

谢谢，还有意见欢迎随时提。
ref: https://github.com/chanify/chanify/issues/70

@yb v1.1.9 支持在 iOS 添加令牌黑名单，在黑名单内的令牌发送的消息会被客户端屏蔽。

authors: wizjin yb

repo: chanify/chanify


text:
Adding APL font license to data folder

This PR adds the APL license folder from https://github.com/skishore/makemeahanzi/tree/master/APL to the data folder in hanzi-writer, where all the makemeahanzi font data resides
fixes #15

That looks great to me! Anything that includes those pieces of information (project name, copyright, copy of or link to license) should suffice. Thanks!

authors: chanind skishore

repo: chanind/hanzi-writer


text:
Styling of the Switch component is broken when using with ModalTrigger component

Summary
Switch 컴포넌트를 ModalTrigger 컴포넌트로 감싸서 사용했을 경우 스타일링이 깨지는 문제(background-color 적용되지 않음)가 있습니다.
Reproduction process
asChild prop이 true인 컴포넌트를 중첩해서 사용할 경우, 하위 엘리먼트에 속성이 제대로 전달되지 않음.
Version of bezier-react
1.0.0-next-v1.180
Browser
Chrome v108.0.5359.124
Operating system

[X] macOS
[ ] Windows
[ ] Linux

Additonal Information

Radix UI를 사용할 경우, 최대한 Root Component는 asChild 속성을 사용하지 않아야 asChild 를 사용한 다른 컴포넌트와 조합 시 문제 없이 사용할 수 있겠습니다.

이외에도 radix의 Slot 을 사용하고 있는 부분들 전반적으로 체크가 필요함.

radix-ui에서도 본 이슈와 비슷한 주제로 논의가 오가고 있는 것이 확인됩니다(https://github.com/radix-ui/primitives/issues/602). radix-ui에서는 primitive 간 data-state의 conflict를 어떻게 해결할지 확정하지 못한 것으로 확인됩니다 (https://github.com/radix-ui/primitives/issues/602#issuecomment-1560133746).
언급하신 경우에는 asChild의 data-state props를 최하위 component의 것으로 적용하는 것이 맞아보입니다. 하지만 radix-ui는 최상위 component의 것으로 적용하는 것으로 확인됩니다. 최하위 component의 것으로 적용하는 방식을 적용하려 한다면 radix-ui component level에서 수정이 필요해보입니다. 하지만 해당 내용으로 radix-ui에 PR을 올렸을 때 적용될 가능성은 낮아보입니다.
또 다른 방법은 background-color를 aria-checked 값 기반 선택자로 적용하는 것입니다. data-state가 아닌 다른 aria-[attribute]로 style을 적용하게 되면 이제 맞추어 확인 및 수정해야할 내용이 많아질 것 같아서 올바른 방식일지 의문이 들기는 합니다.
여러 해결 방법에 대해 각각의 장단이 있어 혹시 어떤 방법이 좋을지 의견을 여쭤보고 싶습니다!

asChild가 정의된 컴포넌트 바로 아래에 display: inline 속성을 가진 태그(<a>) 또는 React.Fragment를 추가하면 어느 정도 문제가 해결되는 것 같습니다.

display: inline 속성을 가진 태그를 사용하게 되면 원래 의도와 다른 태그가 사용되어 접근성이 떨어지는 단점이 존재합니다. 하지만 functionality는 의도한 대로 작동합니다.
React.Fragment를 사용하게 되면 최하위 컴포넌트(<Switch />)의 기능이 제대로 동작하지만 그 위의 컴포넌트의 기능은 사라지는 것을 확인 했습니다.

https://github.com/radix-ui/primitives/discussions/560#discussioncomment-3477536

radix-ui에서도 본 이슈와 비슷한 주제로 논의가 오가고 있는 것이 확인됩니다(radix-ui/primitives#602). radix-ui에서는 primitive 간 data-state의 conflict를 어떻게 해결할지 확정하지 못한 것으로 확인됩니다 (radix-ui/primitives#602 (comment)).
언급하신 경우에는 asChild의 data-state props를 최하위 component의 것으로 적용하는 것이 맞아보입니다. 하지만 radix-ui는 최상위 component의 것으로 적용하는 것으로 확인됩니다. 최하위 component의 것으로 적용하는 방식을 적용하려 한다면 radix-ui component level에서 수정이 필요해보입니다. 하지만 해당 내용으로 radix-ui에 PR을 올렸을 때 적용될 가능성은 낮아보입니다.
또 다른 방법은 background-color를 aria-checked 값 기반 선택자로 적용하는 것입니다. data-state가 아닌 다른 aria-[attribute]로 style을 적용하게 되면 이제 맞추어 확인 및 수정해야할 내용이 많아질 것 같아서 올바른 방식일지 의문이 들기는 합니다.
여러 해결 방법에 대해 각각의 장단이 있어 혹시 어떤 방법이 좋을지 의견을 여쭤보고 싶습니다!

@chaejunlee 자세한 리서치 감사드립니다! asChild(Slot)를 통해 병합된 상태를 data-state 라는 하나의 키를 통해 외부에 노출하게 되면 필연적으로 발생할 수 밖에 없는 문제인 거 같습니다. aria-checked 값 기반 선택자로 적용한다면 ModalTrigger 와의 충돌은 피할 수 있겠으나, data-state 와 같은 문제는 여전히 남아있습니다. aria-checked 속성을 사용하는 요소를 두 번 이상 중첩하는 경우가 있을 것 같진 않지만요.
Slot에서 prop을 merge할 때, 이벤트 핸들러 혹은 style, className과 같은 방식으로 data-state 속성을 특별 취급하여 data-state="checked closed" 처럼 resolve 해줄 수도 있겠으나 이 부분도 마찬가지로 radix-ui 라이브러리 내부 수정이 필요해보이며, 적용될 가능성이 낮아보입니다. 적어도 많은 시간이 필요할 거 같아요. data-switch-state="checked" 와 같이 data attribute에 컴포넌트별 namespace를 붙이는 방식도 마찬가지입니다.

asChild가 정의된 컴포넌트 바로 아래에 display: inline 속성을 가진 태그() 또는 React.Fragment를 추가하면 어느 정도 문제가 해결되는 것 같습니다.

이 부분은 말씀주신대로 접근성, 키보드 네비게이션 관련한 문제가 있을 수 있어 디자인 시스템의 컴포넌트 레벨에서 지원하기에는 어려워 보입니다. React.Fragment 에 대한 케이스는 정확히 어떤 케이스인지 이해를 잘 못했는데, 자세히 설명해주실 수 있을까요? Switch 를 React.Fragment 로 Wrapping한 케이스일까요? 아마 이 케이스일 것으로 생각되는데, React.Fragment 는 DOM Element를 반환하지 않기 때문에 Slot의 children에 둘 경우 제대로 동작하지 않게 됩니다. (그래서 왜 radix-ui에서 Slot의 children타입을 ReactElement가 아닌 ReactNode로 해두었는지 잘 모르겠어요)

https://github.com/radix-ui/primitives/issues/602 이 이슈가 해결되기 전에는 디자인 시스템 라이브러리 차원에서는 해결되기 어려운 문제로 보입니다. 이슈가 해결되기 전까지 사용처에서 문제가 발생한다면, 중첩된 asChild(Slot) 사이에 HTML element를 하나 끼워넣는 방식으로 대응해야할 거 같아요.

authors: chaejunlee sungik-choi

repo: channel-io/bezier-react


text:
Please update sanitize-html

The Snyk report below outlines a risk of ReDoS that can be exploited with the 2.6.1 version of sanitize-html. Upgrading to 2.7.1 or higher is meant to fix this.
https://security.snyk.io/vuln/SNYK-JS-SANITIZEHTML-2957526

@sam-grade can you create a PR?

Fixed with new release.

authors: chantouchsek sam-grade

repo: chantouchsek/v-sanitize


text:
Crossref must be queried for updates and corrections to author metadata

Context
See single-cell-discover-ux.
Crossref corrected primary author metadata for a DOI that was previously retrieved when the Collection DOI was first submitted, so the CELLxGENE short citation was incorrect. @jahilton was forced to remove and re-add the DOI to retrieve the correct metadata and re-create the short citation.
There's already related work planned in Increase the velocity of dataset schema evolution and dataset migration
scoped to Automate preprint DOI to published DOI updates.
This scope should be extended in the future to check for updates and corrections.
It appears that CELLxGENE could cache deposited to compare against subsequent response queries:
"deposited":{"date-parts":[[2023,1,4]],"date-time":"2023-01-04T01:16:31Z","timestamp":1672794991000}
From Crossref Metadata API JSON Format:

Field
Type
Required
Description

deposited
Date
Yes
Date on which the work metadata was most recently updated

indexed
Date
Yes
Date on which the work metadata was most recently indexed. Re-indexing does not imply a metadata change,see deposited for the most recent metadata change date

Back link to #6322 for future reference

authors: brianraymor metakuni

repo: chanzuckerberg/single-cell-data-portal


text:
feat: added explain new tab toast. (#135)

Reviewers
Functional:
@tihuan

Changes

Added hook to check for explainNewTab query string param and pop work-in-progress toast if present.

Hurray! Thanks so much for the PR, @MillenniumFalconMechanic 🎉 !
Can you help check with @brianraymor to see if this needs to go into the hotfix branch please?
if so, we probably just need to update this branch to be based on the hotfix branch and merge against hotfix, in case it pulls in commits from main we don't want 🙏
Thank you!!

authors: MillenniumFalconMechanic tihuan


text:
feat(cellGuide): 5208 SEO synonyms cell type page

Reason for Change

#5208
If the reason for this PR's code changes are not clear in the issue, state value/impact

Changes

Update tests to test synonyms both in UI and SEO meta tags
Add SDS design token utility functions to improve code quality and DX (will have a follow up PR today to refactor the whole app with the utility functions)
Extract <GeneSynonyms /> component to be a generic <Synonyms /> component, so it can be used for both genes and cell types
Ignore html-reports for stylelint

Testing steps

Go to https://localhost:3000/cellguide/CL_0000185 (Myoepithelial Cell)
You should see:

Notes for Reviewer

Hurray! Thanks so much, Harley!


text:
Stage import fails when several stages with the same name exist in different schemas of a database

Provider Version
0.17.1
Terraform Version
0.13.5
Describe the bug
If several stages with the same name exist in the same database under different schemas, the import of such schemas will fail.
The reason behind it is that the following statement is used to show the stages based on their ID:
return fmt.Sprintf(`SHOW STAGES LIKE '%v' IN DATABASE "%v"`, sb.name, sb.db)

Note that the terraform import itself won't fail, but it will import the stage from the first schema in alphabetical order.
Expected behavior
Stages with the same name in different schemas of a database can be imported successfully.
If the following statement was used to show the stages the issue would be solved:
return fmt.Sprintf(`SHOW STAGES LIKE '%v' IN SCHEMA "%v"."%v"`, sb.name, sb.db, sb.schema)

Code samples and commands

Importing stages with different resources:

resource "snowflake_stage" "my_stage_dev" {
  database            = "MY_DB"
  schema              = "MY_SCHEMA_DEV"
  name                = "MY_STAGE"
  url                 = "s3://my-bucket"
  storage_integration = "MY_INTEGRATION"
  file_format         = "FORMAT_NAME = MY_FILE_FORMAT"
}

resource "snowflake_stage" "my_stage_prd" {
  database            = "MY_DB"
  schema              = "MY_SCHEMA_PRD"
  name                = "MY_STAGE"
  url                 = "s3://my-bucket"
  storage_integration = "MY_INTEGRATION"
  file_format         = "FORMAT_NAME = MY_FILE_FORMAT"
}

terraform import snowflake_stage.my_stage_dev "MY_DB|MY_SCHEMA_DEV|MY_STAGE"
terraform import snowflake_stage.my_stage_prd "MY_DB|MY_SCHEMA_PRD|MY_STAGE"

Importing stages with same resource in different workspaces:

locals {
  env = {
    "default" : "dev",
    "production" : "prd"
  }[terraform.workspace]
}

resource "snowflake_stage" "my_stage" {
  database            = "MY_DB"
  schema              = "MY_SCHEMA_${upper(local.env)}"
  name                = "MY_STAGE"
  url                 = "s3://my-bucket"
  storage_integration = "MY_INTEGRATION"
  file_format         = "FORMAT_NAME = MY_FILE_FORMAT"
}

terraform workspace select dev
terraform import snowflake_stage.my_stage "MY_DB|MY_SCHEMA_DEV|MY_STAGE"
terraform workspace select prd
terraform import snowflake_stage.my_stage "MY_DB|MY_SCHEMA_PRD|MY_STAGE"

Looks like this was fixed in #291.

Thanks @elliottohara for fixing this and @ryanking for pointing it out!

authors: inigofh ryanking


text:
fix: Update go dependencies

ran: go get -u ./... at the root to update go dependencies.

This should fix failing tests here: https://github.com/chanzuckerberg/terraform-provider-snowflake/pull/1007


text:
Redefined css width property for service URI input element

Firefox 53+ does not support -moz-calc function anymore which results in too small width for html input element. Added calc function with same arguments and left -moz-calc for backwards compatibility with older Firefox versions.

This is a duplicate of #256

seems so, haven't seen it at the time of making this pull-request. The projects seems dead though :(

You can add a workaround using Stylish. See #254.
It made RESTClient usable for me again.

hey thx, just used Stylish and its usable again :)

Hey
Please merge that PR

authors: enriquezrene sabi0 tezvi

repo: chao/RESTClient


text:
🛑 br-2 (Alisson) is down

In 81895c2, br-2 (Alisson) (https://br-2-mirror.chaotic.cx/no-failover/chaotic-aur/lastupdate) was down:

HTTP code: 503
Response time: 151 ms

Resolved: br-2 (Alisson) is back up in 90a3bcb.

repo: chaotic-aur/chaotic-uptimes


text:
🛑 Silky.Network - it is down

In ce295d6, Silky.Network - it (https://it-mirror.chaotic.cx/no-failover/chaotic-aur/lastupdate) was down:

HTTP code: 503
Response time: 121 ms

Resolved: Silky.Network - it is back up in fb47dd8.


text:
🛑 Silky.Network - us-ca is down

In dd6d6a6, Silky.Network - us-ca (https://us-ca-mirror.chaotic.cx/no-failover/chaotic-aur/lastupdate) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Silky.Network - us-ca is back up in d0d1bb7 after 148 days, 23 hours, 12 minutes.


text:
🛑 in-2 (Albony) is down

In 1575d21, in-2 (Albony) (https://mirror.albony.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: in-2 (Albony) is back up in 73466a4 after 1 hour, 48 minutes.


text:
Add syntactic sugar do define services with @service, @endpoint

Hello Guillome, thank you for our great work here!!!
I have, as a kind of of POC add some syntactic sugar on top of your excellent library, especial for fast prototyping.
See here:
https://github.com/petrarca/hazelnats
Would great if you can incorporate something like this (feel free to use code here) or provide such kind of a solution in the future.
Regards
Wolfgang Miller

Fully agree on your feedback. Should not have to much magic behind the scenes. Especial for prototyping etc. would be great to have this kind of "FastAPI" like approach (declarative and payload/response conversion). Waiting for your ping.
...
@service(name = "patients")
class PatientService:
	@endpoint
	async def get_patient(self, id: str) -> dict:
		return { 'id' : id}

NatsMicroService
	.client()
	.register(PatientService())
	.run()

I stopped pushing changes to this repo and moved here.
I added tests, and fixed some bugs by the way 😅
You can check this example: https://github.com/charbonats/nats-micro/blob/main/examples/with_decorators.py
Services are created using the @micro.sdk.service decorator, which is a wrapper around dataclasses.dataclass so you don't have to write init methods.
All methods decorated with @micro.sdk.endpoint on a service class are used to define an endpoint unless the argument disabled is True (so you don't have to comment a whole block of code to test your app with or without an endpoint)
Services are started using the micro.sdk.run function which can be used directly under if __name__ == "__main__":. The function accepts a list of services with the services argument
If you need more control to create your service (for example you need to be within an async scope to initialize your service), you can use a custom setup function using the setup argument. The setup function is executed after NATS client is connected.
If you need even more control and want to change how connection is done, you can use a custom connect function using the connect argument. The connect function is executed right after signals are trapped (if configured to, signals are not trapped by default).
There is no serialization/deserialization as you showed in your example, I want to think more about this.
I'm closing this issue, but I would be glad to here your thoughts about those changes in new issue

authors: charbonnierg petrarca

repo: charbonnierg/nats-micro


text:
avoid_public_members_in_states lint should respect @visibleForTesting

Is there an existing issue for this bug?

[X] I have searched the existing issues.

Bug Description
The should respect the @visibleForTesting annotation from package:meta
Steps to Reproduce
Any State class with a public property exposed only for the test environment with the annotation
Additional Information
No response

Thanks for the suggestion!
I will update the lint to ignore public fields & methods with visibleForTesting annotation.

Amazing work @charlescyt

authors: charlescyt jogboms


text:
New install error

Ran the  "jspm install github:charlespockert/aurelia-bs-grid"
jspm install github:charlespockert/aurelia-bs-grid
     Looking up github:charlespockert/aurelia-bs-grid
     Updating registry cache...
     Looking up github:aurelia/bootstrapper
     Looking up github:aurelia/binding
     Looking up github:aurelia/metadata
     Looking up github:aurelia/dependency-injection
     Looking up github:CharlesPockert/aurelia-compiler
     Looking up github:aurelia/logging
     Looking up github:aurelia/templating
     Looking up npm:core-js
     Looking up github:aurelia/templating-router
     Looking up github:aurelia/loader-default
     Looking up github:aurelia/event-aggregator
     Looking up github:aurelia/framework
     Looking up github:aurelia/templating-resources
     Looking up github:aurelia/history
     Looking up github:aurelia/history-browser
     Looking up github:aurelia/templating-binding
     Looking up github:aurelia/router
     Looking up github:aurelia/logging-console
     Looking up github:aurelia/task-queue
     Looking up github:aurelia/html-template-element
     Looking up github:systemjs/plugin-json
     Looking up github:jspm/nodelibs-process
     Looking up github:aurelia/loader
     Looking up github:jspm/nodelibs-fs
     Looking up github:aurelia/path
     Looking up npm:process
     Looking up github:zloirock/core-js
     Looking up github:aurelia/route-recognizer
ok   Installed github:CharlesPockert/aurelia-compiler@^0.0.7 (0.0.7)
ok   Installed charlespockert/aurelia-bs-grid as github:charlespockert/aurelia-bs-grid@^0.0.3 (0.0.3)
     Removing package files for github:charlespockert/aurelia-compiler@0.0.7
     Installed Forks

                  github:aurelia/fetch-client 0.1.1 0.2.0

     To inspect individual package constraints, use jspm inspect registry:name.

warn core-js@0.9.18 is out of date. Use jspm dl-loader to update.

ok   Install complete.

And then I add the plugin:
.plugin('charlespockert/aurelia-bs-grid')

When I load up my page chrome console log:
DEBUG [aurelia] Configured plugin aurelia-auth.
system.src.js:3987 GET http://localhost:9000/jspm_packages/github/CharlesPockert/aurelia-compiler@0.0.7.js 404 (Not Found)M @ system.src.js:3987o.fetch @ system.src.js:3987Promise @ es6.promise.js:193o.fetch @ system.src.js:3987g @ system.src.js:3987(anonymous function) @ system.src.js:3987a @ system.src.js:3987a @ system.src.js:3987n @ system.src.js:3987(anonymous function) @ system.src.js:3987(anonymous function) @ system.src.js:3987(anonymous function) @ system.src.js:3987run @ es6.promise.js:91(anonymous function) @ es6.promise.js:105module.exports @ $.invoke.js:6queue.(anonymous function) @ $.task.js:40run @ $.task.js:27listner @ $.task.js:31
system.src.js:3987 GET http://localhost:9000/dist/css.js 404 (Not Found)M @ system.src.js:3987o.fetch @ system.src.js:3987Promise @ es6.promise.js:193o.fetch @ system.src.js:3987g @ system.src.js:3987(anonymous function) @ system.src.js:3987a @ system.src.js:3987a @ system.src.js:3987n @ system.src.js:3987(anonymous function) @ system.src.js:3987(anonymous function) @ system.src.js:3987(anonymous function) @ system.src.js:3987run @ es6.promise.js:91(anonymous function) @ es6.promise.js:105module.exports @ $.invoke.js:6queue.(anonymous function) @ $.task.js:40run @ $.task.js:27listner @ $.task.js:31
es6.promise.js:139 Unhandled promise rejection Error: XHR error (404 Not Found) loading http://localhost:9000/jspm_packages/github/CharlesPockert/aurelia-compiler@0.0.7.js
	Error loading http://localhost:9000/jspm_packages/github/CharlesPockert/aurelia-compiler@0.0.7.js as "CharlesPockert/aurelia-compiler" from http://localhost:9000/jspm_packages/github/charlespockert/aurelia-bs-grid@0.0.3/grid/grid.js
    at r (http://localhost:9000/jspm_packages/system.js:4:10674)
    at XMLHttpRequest.o.onreadystatechange (http://localhost:9000/jspm_packages/system.js:4:11199)(anonymous function) @ es6.promise.js:139module.exports @ $.invoke.js:6queue.(anonymous function) @ $.task.js:40run @ $.task.js:27listner @ $.task.js:31
es6.promise.js:139 Unhandled promise rejection Error: XHR error (404 Not Found) loading http://localhost:9000/jspm_packages/github/CharlesPockert/aurelia-compiler@0.0.7.js
	Error loading http://localhost:9000/jspm_packages/github/CharlesPockert/aurelia-compiler@0.0.7.js as "CharlesPockert/aurelia-compiler" from http://localhost:9000/jspm_packages/github/charlespockert/aurelia-bs-grid@0.0.3/grid/grid.js
    at r (http://localhost:9000/jspm_packages/system.js:4:10674)
    at XMLHttpRequest.o.onreadystatechange (http://localhost:9000/jspm_packages/system.js:4:11199)(anonymous function) @ es6.promise.js:139module.exports @ $.invoke.js:6queue.(anonymous function) @ $.task.js:40run @ $.task.js:27listner @ $.task.js:31
es6.promise.js:139 Unhandled promise rejection Error: XHR error (404 Not Found) loading http://localhost:9000/jspm_packages/github/CharlesPockert/aurelia-compiler@0.0.7.js
	Error loading http://localhost:9000/jspm_packages/github/CharlesPockert/aurelia-compiler@0.0.7.js as "CharlesPockert/aurelia-compiler" from http://localhost:9000/jspm_packages/github/charlespockert/aurelia-bs-grid@0.0.3/grid/grid.js
    at r (http://localhost:9000/jspm_packages/system.js:4:10674)
    at XMLHttpRequest.o.onreadystatechange (http://localhost:9000/jspm_packages/system.js:4:11199

Why is it looking for the compiler when it says in the install that it has been removed?
Removing package files for github:charlespockert/aurelia-compiler@0.0.7
config.js:
"charlespockert/aurelia-bs-grid": "github:charlespockert/aurelia-bs-grid@0.0.3",
    "github:CharlesPockert/aurelia-compiler@0.0.7": {
      "aurelia-loader": "github:aurelia/loader@0.9.0",
      "aurelia-loader-default": "github:aurelia/loader-default@0.10.0",
      "aurelia-templating": "github:aurelia/templating@0.15.3"
    },
    "github:charlespockert/aurelia-bs-grid@0.0.3": {
      "CharlesPockert/aurelia-compiler": "github:CharlesPockert/aurelia-compiler@0.0.7",
      "aurelia-binding": "github:aurelia/binding@0.9.1",
      "aurelia-bootstrapper": "github:aurelia/bootstrapper@0.17.0",
      "aurelia-dependency-injection": "github:aurelia/dependency-injection@0.10.1",
      "aurelia-logging": "github:aurelia/logging@0.7.0",
      "aurelia-metadata": "github:aurelia/metadata@0.8.0",
      "aurelia-templating": "github:aurelia/templating@0.15.3"
    },

package.json:
"charlespockert/aurelia-bs-grid": "github:charlespockert/aurelia-bs-grid@^0.0.3",

Go someone else with this issue - not really sure what's going on but I suspect it's something to do with my upper/lower case user name on github - can you please try installing with case sensitivity in mind:
jspm install github:CharlesPockert\aurelia-bs-grid and see if you get any difference...
I bet that because it's installed the grid in the lower case directory, that it can't find the compiler plugin in the proper cased directory...
I really need to find out how to change my github username to lower case

I'm changing my username to lowercase, bear with me!

Thanks! Just let me/us know when It's ready :+1:

@eaidland ok, I think that should do it - hopefully it's not broken, I really don't have time to test at the moment sorry :(
Any chance you have a go for me?

Sure! Installed it again. Got this message. Something I've missed mayby?

Looks like it's still looking for the uppercase variant - can you uninstall it and the compiler repo and try installing using lowercase jspm install github:charlespockert/aurelia-bs-grid

I uninstalled everything:
jspm uninstall github:charlespockert/aurelia-bs-grid

warn Dependency github:charlespockert/aurelia-bs-grid is not an existing primary install.

ok   Uninstall complete.

Saw the refs in config and package wasn't removed. So I did it manually. That also goes for the folder.
Ran the  jspm install github:charlespockert/aurelia-bs-grid
New folder with content.

config:
"charlespockert/aurelia-bs-grid": "github:charlespockert/aurelia-bs-grid@0.0.3",
 "github:charlespockert/aurelia-bs-grid@0.0.3": {
      "aurelia-binding": "github:aurelia/binding@0.9.1",
      "aurelia-bootstrapper": "github:aurelia/bootstrapper@0.17.0",
      "aurelia-dependency-injection": "github:aurelia/dependency-injection@0.10.1",
      "aurelia-logging": "github:aurelia/logging@0.7.0",
      "aurelia-metadata": "github:aurelia/metadata@0.8.0",
      "aurelia-templating": "github:aurelia/templating@0.15.3",
      "charlespockert/aurelia-compiler": "github:charlespockert/aurelia-compiler@0.0.7"
    },
    "github:charlespockert/aurelia-compiler@0.0.7": {
      "aurelia-loader": "github:aurelia/loader@0.9.0",
      "aurelia-loader-default": "github:aurelia/loader-default@0.10.0",
      "aurelia-templating": "github:aurelia/templating@0.15.3"
    },

and package
"charlespockert/aurelia-bs-grid": "github:charlespockert/aurelia-bs-grid@^0.0.3",

gulp build then watch.

So where the uppercase comes from I've got no idea

Ah....

aha! nice spot! Fixing...

@eaidland Right, sorry for all the messing about, lowercase usernames from now on and forever!! I've re-released as v0.0.3

Uninstalled, reinstalled... Saw there were still old refs in the dist folder

Damn, didn't build it just edited the files!

@eaidland Ok, this time... re-released again. Absolute nghtmare, thanks for your patience - I'm not sure why github even allows you to install a mixed case repo using the wrong case....!

Hehe no worries. Will reinstall and test :+1:

Strange.... Don't see any refs with uppercase...

Head explodes, ok going to sync with my local and do a search in the src....

Hehe. I'll have a look and see if there are any refs in code. At the moment I've only found functions, which shouldn't matter...

There's one in the compiler repo: that might be it:
Sytem.register(["github:CharlesPockert/aurelia-compiler@0.0.7/index"], function($__export) {
    2    return {  setters: [function(m) { for (var p in m) $__export(p, m[p]); }],  execute: function() {}  };
    3  });

Lets have another go :+1:

Going to do a fresh install on skeleton and see how I get on - this worked on my machine though, what OS are you running?

Win 10

8.1 here, maybe worked because I installed with the right case - checking now

@eaidland ok - sorted, try deleting the whole jspm_packages/github/charlespockert folder and make sure you clean your config.js of all traces of my name and then try the reinstall
It's weird, jspm lets you install with the wrong case but won't let you uninstall with the wrong case and the config.js gets into a mess..

Now I wondering if there's some cache thing going on. Can't understand why the old refs are there..

Maybe I missed a build folder - are you using AMD format or something else?

?
System.config({
defaultJSExtensions: true,
transpiler: "babel",
babelOptions: {
"optional": [
"es7.decorators",
"es7.classProperties",
"runtime"
]
},

@eaidland Ah yeah, it looks like it might be that JSPM caches your files for a version (to save having to download them again)
I've released v0.0.4 - hopefully because it's a new release it won't be in your cache, give it a try

You can kill the cache here on windows: C:\Users<username>\AppData\Local.jspm\packages\github\

jspm  cache-clear
removed folder, config refs and package refs
jspm install github:charlespockert/aurelia-bs-grid
Saw the new 0.4 was added
gulp build then watch.

Maybe I need to add the css ref?

Ah this one I know the answer to, install system js CSS plugin as so
jspm install css=github:system js/plugin-css

Ah this one I know the answer to, install system js CSS plugin as so
jspm install css=github:systemjs/plugin-css

But it's already there from earlier...
"css": "github:systemjs/plugin-css@0.1.17",
And now
"systemjs/plugin-css": "github:systemjs/plugin-css@0.1.17",
Well it worked... but what's the standard?

It should be installed as css - when you import stuff it uses the file extension as the name of the plugin - I'm not sure what it's supposed to be as standard...
I assume css as otherwise I can't see how systemJS is going to know what to load unless you write import 'some-css-file.css!systemjs/plugin-css?

@eaidland so I take it it's actually working now?!

Ok... so do you need to update something so that we could use the standard "css": "github:systemjs/plugin-css@0.1.17" instead of "systemjs/plugin-css": "github:systemjs/plugin-css@0.1.17".... I don't know what's the standard.
It's working :+1:  Woohoo :boom:

Nice, thanks for all the help resolving it :)
Hopefully deploys will go a bit smoother from now on!

If possible could @eaidland email me zip (or 7zip) copy of working directory so I can do a compare and see why my win10 version  doesn't work. jrt@gtz.com.
thanks,
John

Hi Charlespockert
This solution worked for me. Thank you so much
I want to implement sorting colums along with filtering. do we need to install any other plugin for this

how to bind sorting to the columns?

Can any one help to add sorting to the columns in Charlespockert grid

authors: CharlesPockert anuradhabathina charlespockert eaidland johntom

repo: charlespockert/aurelia-bs-grid


text:
Fix small typo

MobelBase  ->  ModelBase

Thank you!!!


text:
Zero spacing option for pie chart

Feature Proposal
Currently 0 spacing is a default which results in non-zero spacing. It is not possible to specify 0 spacing, i.e. 0 pixel space between arcs on a pie chart. In our scenario having too many sections makes the last few sections appear entirely in white because of the non-zero spacing. Some sections before that appear partially in white, as if some fog effect was applied.
The effect looks like this:

Possible Implementation
No response

This is because of the borderWidth property that defaults to 2, if you set this to 1 this behaviour won't happen

@LeeLenaleee Thank you, I had to use borderWidth: 0, since there is still some fog with 1. Here is a code snippet to help future visitors of this ticket. It is based on your answer from Stack Overflow:

https://stackoverflow.com/a/66466033/897326

options: {
  elements: {
    arc: {
      borderWidth: 0,
    }
  },
}

Would it make sense to expand the docs and explain how each config element affects chart render? With some research, I found that offset and spacing are doing something similar, but they are in a different place under config. I also tried specifying negative values for them, and it caused some weird effects, but didn't help with chart fog. There could be a see also: borderWidth link in there, for example.

authors: LeeLenaleee vzakharov-rxnt


text:
Radar Chart Outline when Points are Skipped

The outlines on radar charts when points are skipped do not look particularly good. When there is a skipped segment, lines are not drawn across the edges that lead to the skipped section, which makes the chart area appear to be open. However, filling these sides could give the illusion that there is data for that section when there really is not. Here are some examples of the issue:

Closing since I don't think this is a bug

authors: etimberg panzarino


text:
retinaDisplay is overwriting my explicit styling

https://github.com/chartjs/Chart.js/blob/b64fd5db2526b33b5da6b8182f50bba8042b82af/src/core/core.helpers.js#L547
The comment attached to line says "if they are not set" lets use the render size as the display size but theres no conditional here, its just setting them every time over my existing style options

Done in #4874

authors: andersponders etimberg


text:
HTTP403: FORBIDDEN - The server understood the request, but is refusing to fulfill it. (in MS EDGE)

Expected Behavior
We load our application in a iframe and we have a Content security policy in place, with the latest update we expect the same good behavior as before with no error showing in the console during the loading of our system.
Current Behavior
We are experiencing several console errors as follows:
HTTP403: FORBIDDEN - The server understood the request, but is refusing to fulfill it.
(XHR)GET - (the url)
if we rollback to the previous version we had (2.6.0) these errors doesn't occur.
Steps to Reproduce (for bugs)
have a Content security police (CSP) as follows:
"default-src 'self'; script-src 'self'; style-src 'self'" unsafe-inline;
then embed in an iframe a html page with a chart, the error occurs on loading, just referencing the library in the header of the page is enough to trigger those errors
Context
The issue doesn't have impact on the functionality, just annoys the user with these error showing in the console.
Environment

Chart.js version: 2.7.1
Browser name and version: Microsoft Edge 40.15063.674.0 ,  Microsoft EdgeHTML 15.15063 and also tested with the latest version and the problem is also reproducible

Duplicate of #5208

authors: etimberg jrberlin