text:
Updater for Windows 4.1

Just very minor changes, mostly adding some missing information. including the changes suggested in https://github.com/ghacksuserjs/ghacks-user.js/issues/283#issuecomment-353766065.
@Thorin-Oakenpants I reply to you here, since I can't post comments on #283 because it says the conversation "has been locked and limited to collaborators" (strange, I know). Your work on the wiki looks good to me. I especially like what you said about hidden prefs in section 3.2, good call!

conversation is unlocked now, forgot about that. I'll let earthlng handle the PR commit

Comments and _user.js.parrot lines are appended normally
One-line comments and ...

re: merge - why did you change this? multi-line comments are appended normally, too.
I also don't really like the parrot change. Users can add them themselves if + where they want them, IMO.

re: merge - why did you change this? multi-line comments are appended normally, too.

It's not technically accurate, because of the way it handles user_pref lines within multi-line comments. With this change it neither affirms nor denies that multi-line comments are appended. A full explanation would take many lines more. It would be redundant, too.

I also don't really like the parrot change. Users can add them themselves if + where they want them, IMO.

For me, either way is OK. It's up to you folks.

We can drop the parrot, I kinda like it though, because the last line in the user.js is a SUCCESS

And if we kept it (parroting the last section), it should be a diff name because it's not ghacks user.js cannon
Side question: I hope the parrot code (if we keep it) does not keep appending more parrots every update until you end up with dozens of parrots lines at the start and end (I assume you have this covered)

Lets say we drop the parrot thing - If users add their own parrots, I thought the code did not append parrots (well at least not OUR parrot pref name) - right?

My reasoning (and I didn't actually test shit, this is just the way I understand things): Firefox will only read prefs.js and then user.js, and the updater just appends the overrides to user.js. Using the same parrot for that purpose should be ok, because when Firefox correctly reads the last parrot line, you know everything above that line was also read correctly. If something fails in the middle it will not get to the part with the overrides anyway. Isn't that how the parrot thingy is meant to work?

Side question...

The script DLs user.js, appends overrides, and then sticks the parrot line at the end of the new modified user.js. The parrots can't multiply that way.

Lets say we drop the parrot thing - If users add their own parrots, I thought the code did not append parrots (well at least not OUR parrot pref name) - right?

The script appends parrot lines regardless of the mode (append or merge), which means that parrots are never merged, otherwise the merge algorithm would render them completely useless. I've been adding parrots to the overrides before I even wrote the first version of this script, so I think it is a good practice, I just don't mind if the script takes care of that part for me or not because it won't really save me much time by doing so anyway. I mean, my override files are only touched by me, so the parrots I add there won't go anywhere if I don't do anything.

Maybe it would be a good idea to just suggest that practice of adding manual parrots to the overrides in the wiki instead (if it's not there already). It is good advice and it can help people that don't want or can't use this script, too.

I'll let you and earthlng work it all out :)
The parrot works exactly as you said, but you would still need to add them at BOTH the start and end of the overrides appendage
/ /ghacks user.js
/* END: internal custom pref to test for syntax errors ***/
user_pref("_user.js.parrot", "SUCCESS: No no he's not dead, he's, he's restin'!");

// overrides appended by code
user_pref("_user.js.parrot", "you need something in here so the above SUCCESS is cleared");
   // ^^ I would use "overrides: syntax error"
...
...
user_pref("_user.js.parrot", "SUCCESS: No no he's not dead, he's, he's restin'!");

But I think we should just forget about the whole parrot thing - it was a silly idea, completely SILLY ... Monty Python SILLY

I thought the code did not append parrots

@Thorin-Oakenpants to help you understand how the script works, you should really give it a try. You don't have to run it in your real profile, you can just create a new empty folder somewhere, place the updater, a user.js and an override file in there and run the script with or without some of the cmd-line parameters.

^^ true, but I have the utmost confidence in you two :) That and time factors .. or maybe I'm just making excuses
PS: closing wiki issue, will rejig numbers/order in section 2700 (persistent storage) and close that issue, and move to 58beta - if you're ok with that

added a PRO TIP to 3.2 Applying Your Changes re re-using our parrot, and included the lines in the example - so we can drop the parrot thing in the updater.bat

got rid of the parrot stuff and merged it. Thanks


text:
Config ignores multiple font variation rules

It seems that if I include multiple font-variation rules, the terminal only applies the last one.
In the screenshot, the width is set to 112.5% and the weight to 200. However, the result shows the default font width (75% instead of the expected 112.5%) while the weight is correctly applied.

Macos.

I confirm on MacOS variation wght did not work for me too.
I was able to set weight variation using  font-style = SemiBold for SauceCodePro Nerd Font Mono (installed on my OS)

source: gharchive/issue

authors: den-is romashamin

repo: ghostty-org/ghostty

license: MIT

license_type: permissive

license_source: github-api


text:
Extract metaDataTool parameters from cmr.cfg properties

Right now there are GHRC DAAC-specific properties being fed into the metaDataTool, we should convert these into configparser entries which are extracted from cmr.cfg properties.

Closed with commit 1aa96560e32578a2e2e9c022458d98d007e5312a

repo: ghrcdaac/cmr

license_source: bigquery


text:
Automatically trigger e2e test on PRs.

This PR:
Automatically triggers E2e tests on new PRs.
Issue: https://github.com/giantswarm/giantswarm/issues/29379

Yeah, lets wait until after we've got some more resources to merge this in.
But thinking about it, this might actually end up helping as it would run the tests as soon as the PR is created and not when someone in the team gets around to looking at it (which I suspect they will do at the same time as other PRs) 🤔

i'm going to go ahead and merge this in as i'm working my way through clearing up the outstanding PRs here - we've had a storage bump so that shouldn't block us now.

source: gharchive/pull-request

authors: AverageMarcus ericgraf glitchcrab

repo: giantswarm/default-apps-cloud-director


text:
Truncate name size when the name is too long

Description
This PR addresses an issue where if the name of a Deployment was too long, Kubernetes would truncate it in order to be able to add Pod identifiers to it.

I created a PolicyException with a super long name:
spec:
  policies:
  - disallow-capabilities-strict
  - disallow-privilege-escalation
  - require-run-as-nonroot
  - restrict-seccomp-strict
  targets:
  - kind: Deployment
    names:
    - this-is-a-really-long-deployment-name-that-i-hope-is-longer-than-63-chars
    namespaces:
    - test

The output of the Kyverno PolicyException is as expected:
    match:
      any:
      - resources:
          kinds:
          - Deployment
          - ReplicaSet
          - Pod
          names:
          - this-is-a-really-long-deployment-name-that-i-hope-is-longe*
          namespaces:
          - test

Incredibly enough, Kubernetes let me create the deployment as is:
Warning: metadata.name: this is used in Pod names and hostnames, which can result in surprising behavior; a DNS label is recommended: [must be no more than 63 characters]
deployment.apps/this-is-a-really-long-deployment-name-that-i-hope-is-longer-than-63-chars created

And the Pods followed the 59 char limit:
NAME                                                              READY   STATUS    RESTARTS   AGE
this-is-a-really-long-deployment-name-that-i-hope-is-longexw8j6   1/1     Running   0          3m57s
                                                         ^
                                                         | - 59 chars

Will merge this one for now. It works as expected, probably could be improved in the future and split Deployment and Pods, but this at least will fix the issues we are seeing now.

repo: giantswarm/kyverno-policy-operator


text:
Talk to SIG Releng/Tinkerers about CI for go binaries

Adding the CI for helm-values-gen and schemalint is overly complicated.
We should investigate how it could be done more simple.

@mogottsch is this still relevant ?

No, I'll close it.

authors: mogottsch weatherhog

repo: giantswarm/roadmap


text:
PSS app upgrades

Epic
Upgrade all applications running on all AWS clusters to a version which supports PSS before the cluster is upgraded to AWS v19.3.x.
Why?
All apps running on a cluster need to be upgraded to a version which supports PSS before upgrading to cluster to AWS v19.3.x (see the release notes).
- [ ] https://github.com/giantswarm/roadmap/issues/3273
- [ ] https://github.com/giantswarm/roadmap/issues/3274
- [ ] https://github.com/giantswarm/roadmap/issues/3275
- [ ] https://github.com/giantswarm/roadmap/issues/3276
- [ ] https://github.com/giantswarm/roadmap/issues/3277
- [ ] https://github.com/giantswarm/roadmap/issues/3278
- [ ] https://github.com/giantswarm/roadmap/issues/3279
- [ ] https://github.com/giantswarm/roadmap/issues/3280
- [ ] https://github.com/giantswarm/roadmap/issues/3281
- [ ] https://github.com/giantswarm/roadmap/issues/3282
- [ ] https://github.com/giantswarm/giantswarm/issues/31160

Links

App version overview per team;
AWS v19.3.0 release notes;
Scheduled cluster upgrades;
App status;
Managed apps upgrades;
Long-term process app upgrades issue;

https://github.com/giantswarm/giantswarm/issues/30482

ping @alex-dabija

@T-Kukawka @weatherhog do you know what is left to do for your teams here?

we can close this from Phoenix perspective @teemow

authors: T-Kukawka alex-dabija teemow


text:
ghc-parser-0.1.6.0 does not compile

Citing from http://hydra.cryp.to/build/882729/nixlog/3/raw:
Configuring ghc-parser-0.1.6.0...
Warning: 'hs-source-dirs: src-7.10' directory does not exist.
[...]
Building ghc-parser-0.1.6.0...
Preprocessing library ghc-parser-0.1.6.0...
Setup: can't find source for Language/Haskell/GHC/HappyParser in generic-src,
src-7.10, dist/build/autogen

Fixed in master, I believe. Just uploaded new version 0.1.7 to Hackage, please re-open issue if it also has the same bug. (Also uploaded ihaskell-0.6.3 which requires newest ghc-parser)
@sumitsahrawat Note that for Docker images you should now use ihaskell-0.6.3 (it doesn't really matter, but since it exists I figured I'd ping you)

Hi there,
I think this may still be an issue in 0.1.7 (I'm trying to build ihaskell, FYI). If it makes any difference, I'm on OpenBSD 5.8-Snapshot, using the packaged version of the haskell-platform and installing in a new sandbox:
maui% mkdir ghc-parser
maui% cd ghc-parser
maui% cabal sandbox init
Writing a default package environment file to
/home/peter/ghc-parser/cabal.sandbox.config
Creating a new sandbox at /home/peter/ghc-parser/.cabal-sandbox
maui% cabal update
Downloading the latest package list from hackage.haskell.org
Note: there is a new version of cabal-install available.
To upgrade, run: cabal install cabal-install
maui% cabal install cabal-install
Resolving dependencies...
Notice: installing into a sandbox located at
/home/peter/ghc-parser/.cabal-sandbox
Configuring Cabal-1.22.4.0...
Building Cabal-1.22.4.0...
Installed Cabal-1.22.4.0
Configuring cabal-install-1.22.6.0...
Building cabal-install-1.22.6.0...
Installed cabal-install-1.22.6.0
maui% cabal install ghc-parser
Resolving dependencies...
Notice: installing into a sandbox located at
/home/peter/ghc-parser/.cabal-sandbox
Configuring ghc-parser-0.1.7.0...
Failed to install ghc-parser-0.1.7.0
Last 10 lines of the build log ( /home/peter/ghc-parser/.cabal-sandbox/logs/ghc-parser-0.1.7.0.log ):
[1 of 1] Compiling Main             ( /tmp/ghc-parser-0.1.7.0-13346/ghc-parser-0.1.7.0/Setup.hs, /tmp/ghc-parser-0.1.7.0-13346/ghc-parser-0.1.7.0/dist/dist-sandbox-9e86e78a/setup/Main.o )
Linking /tmp/ghc-parser-0.1.7.0-13346/ghc-parser-0.1.7.0/dist/dist-sandbox-9e86e78a/setup/setup ...
/bin/sh: ./build-parser.sh: No such file or directory
Configuring ghc-parser-0.1.7.0...
Warning: 'hs-source-dirs: src-7.8.3' directory does not exist.
setup: user error (The program cpphs is required but it could not be found.)
cabal: user error (Error: some packages failed to install:
ghc-parser-0.1.7.0 failed during the configure step. The exception was:
ExitFailure 1
)
maui%

Oops, my failure to read carefully. I see that I should be installing happy and cpphs first. There may be a build error, but I'm going to try again--this time with reading comprehension.

Fairly certain now that I'm building things as per instructions, but am still encountering barfage when building ghc-parser.
maui% mkdir ihaskell
maui% cd ihaskell
maui% cabal sandbox init
Writing a default package environment file to
/home/peter/ihaskell/cabal.sandbox.config
Creating a new sandbox at /home/peter/ihaskell/.cabal-sandbox
maui% cabal update
Downloading the latest package list from hackage.haskell.org
Skipping download: Local and remote files match.
Note: there is a new version of cabal-install available.
To upgrade, run: cabal install cabal-install
maui% cabal install cabal-install
Resolving dependencies...
Notice: installing into a sandbox located at
/home/peter/ihaskell/.cabal-sandbox
Configuring Cabal-1.22.4.0...
Building Cabal-1.22.4.0...
Installed Cabal-1.22.4.0
Configuring cabal-install-1.22.6.0...
Building cabal-install-1.22.6.0...
Installed cabal-install-1.22.6.0
maui% cabal install happy cpphs
Resolving dependencies...
Notice: installing into a sandbox located at
/home/peter/ihaskell/.cabal-sandbox
Configuring happy-1.19.5...
Configuring polyparse-1.11...
Building polyparse-1.11...
Building happy-1.19.5...
Installed polyparse-1.11
Configuring cpphs-1.19.2...
Building cpphs-1.19.2...
Installed cpphs-1.19.2
Installed happy-1.19.5
maui% cabal install ihaskell --reorder-goals
Resolving dependencies...
Notice: installing into a sandbox located at
/home/peter/ihaskell/.cabal-sandbox
Configuring ansi-terminal-0.6.2.2...
Configuring base64-bytestring-1.0.0.1...
Configuring SHA-1.6.4.2...
Configuring byteable-0.1.1...
Downloading transformers-compat-0.4.0.4...
Building ansi-terminal-0.6.2.2...
Building base64-bytestring-1.0.0.1...
Building SHA-1.6.4.2...
Building byteable-0.1.1...
Installed byteable-0.1.1
Installed base64-bytestring-1.0.0.1
Configuring blaze-builder-0.4.0.1...
Configuring cereal-0.4.1.1...
Configuring cmdargs-0.10.13...
Installed ansi-terminal-0.6.2.2
Building blaze-builder-0.4.0.1...
Building cereal-0.4.1.1...
Building cmdargs-0.10.13...
Configuring data-default-class-0.0.1...
Installed blaze-builder-0.4.0.1
Building data-default-class-0.0.1...
Configuring dlist-0.7.1.1...
Installed data-default-class-0.0.1
Building dlist-0.7.1.1...
Configuring extra-1.4.1...
Installed cereal-0.4.1.1
Configuring ghc-parser-0.1.7.0...
Installed dlist-0.7.1.1
Building extra-1.4.1...
Configuring haskell-src-exts-1.16.0.1...
Installed cmdargs-0.10.13
Building haskell-src-exts-1.16.0.1...
Configuring hourglass-0.2.9...
Installed extra-1.4.1
Building hourglass-0.2.9...
Building ghc-parser-0.1.7.0...
Configuring hscolour-1.23...
Failed to install ghc-parser-0.1.7.0
Last 10 lines of the build log ( /home/peter/ihaskell/.cabal-sandbox/logs/ghc-parser-0.1.7.0.log ):
Building ghc-parser-0.1.7.0...
Preprocessing library ghc-parser-0.1.7.0...
setup: user error (can't find source for Language/Haskell/GHC/HappyParser in
generic-src, src-7.8.3, dist/dist-sandbox-2fb860e3/build/autogen)
Building hscolour-1.23...
Configuring mime-types-0.1.0.6...
Installed hourglass-0.2.9
Building mime-types-0.1.0.6...
Configuring memory-0.8...
Installed mime-types-0.1.0.6
Building memory-0.8...
Configuring nats-1...
Installed hscolour-1.23
Configuring network-info-0.2.0.7...
Installed memory-0.8
Building nats-1...
Building network-info-0.2.0.7...
Configuring safe-0.3.9...
Installed nats-1
Configuring newtype-0.2...
Installed network-info-0.2.0.7
Building safe-0.3.9...
Building newtype-0.2...
Configuring strict-0.3.2...
Installed safe-0.3.9
Configuring system-filepath-0.4.13.4...
Installed newtype-0.2
Building strict-0.3.2...
Configuring th-expand-syns-0.3.0.6...
Installed strict-0.3.2
Building th-expand-syns-0.3.0.6...
Configuring tar-0.4.2.1...
Installed th-expand-syns-0.3.0.6
Configuring th-lift-0.7.2...
Installed SHA-1.6.4.2
Building tar-0.4.2.1...
Building th-lift-0.7.2...
Configuring uniplate-1.6.12...
Installed th-lift-0.7.2
Configuring utf8-string-1...
Installed tar-0.4.2.1
Building uniplate-1.6.12...
Building system-filepath-0.4.13.4...
Building utf8-string-1...
Configuring unix-compat-0.4.1.4...
Installed utf8-string-1
Building unix-compat-0.4.1.4...
Configuring uuid-types-1.0.2...
Installed unix-compat-0.4.1.4
Configuring transformers-compat-0.4.0.4...
Installed uniplate-1.6.12
Building uuid-types-1.0.2...
Building transformers-compat-0.4.0.4...
Configuring cryptohash-0.11.6...
Installed uuid-types-1.0.2
Building cryptohash-0.11.6...
Installed transformers-compat-0.4.0.4
Configuring pem-0.2.2...
Building pem-0.2.2...
Installed pem-0.2.2
Configuring http-types-0.8.6...
Building http-types-0.8.6...
Configuring streaming-commons-0.1.12.1...
Installed system-filepath-0.4.13.4
Configuring cookie-0.4.1.6...
Installed cryptohash-0.11.6
Building streaming-commons-0.1.12.1...
Configuring socks-0.5.4...
Installed http-types-0.8.6
Building cookie-0.4.1.6...
Building socks-0.5.4...
Installed cookie-0.4.1.6
Configuring aeson-0.7.0.6...
Building aeson-0.7.0.6...
Configuring asn1-types-0.3.0...
Installed socks-0.5.4
Configuring cryptonite-0.6...
Installed streaming-commons-0.1.12.1
Building asn1-types-0.3.0...
Building cryptonite-0.6...
Configuring semigroups-0.16.2.2...
Installed asn1-types-0.3.0
Building semigroups-0.16.2.2...
Configuring constraints-0.4.1.3...
Installed semigroups-0.16.2.2
Building constraints-0.4.1.3...
Configuring th-reify-many-0.1.3...
Installed constraints-0.4.1.3
Building th-reify-many-0.1.3...
Installed th-reify-many-0.1.3
Configuring exceptions-0.8.0.2...
Building exceptions-0.8.0.2...
Configuring transformers-base-0.4.4...
Installed aeson-0.7.0.6
Configuring system-argv0-0.1.1...
Installed exceptions-0.8.0.2
Building transformers-base-0.4.4...
Configuring system-fileio-0.3.16.3...
Installed transformers-base-0.4.4
Building system-argv0-0.1.1...
Configuring uuid-1.3.11...
Installed system-argv0-0.1.1
Building system-fileio-0.3.16.3...
Building uuid-1.3.11...
Configuring asn1-encoding-0.9.0...
Installed system-fileio-0.3.16.3
Installed uuid-1.3.11
Configuring th-orphans-0.12.2...
Configuring http-client-0.4.20...
Installed cryptonite-0.6
Building asn1-encoding-0.9.0...
Building th-orphans-0.12.2...
Building http-client-0.4.20...
Configuring zeromq4-haskell-0.6.3...
Installed asn1-encoding-0.9.0
Building zeromq4-haskell-0.6.3...
Configuring monad-control-1.0.0.4...
Installed zeromq4-haskell-0.6.3
Installed th-orphans-0.12.2
Configuring asn1-parse-0.9.1...
Configuring ipython-kernel-0.6.1.2...
Installed http-client-0.4.20
Building monad-control-1.0.0.4...
Building asn1-parse-0.9.1...
Building ipython-kernel-0.6.1.2...
Installed monad-control-1.0.0.4
Configuring lifted-base-0.2.3.6...
Installed asn1-parse-0.9.1
Configuring x509-1.6.0...
Building lifted-base-0.2.3.6...
Building x509-1.6.0...
Installed lifted-base-0.2.3.6
Configuring enclosed-exceptions-1.0.1.1...
Building enclosed-exceptions-1.0.1.1...
Configuring lifted-async-0.7.0.1...
Installed enclosed-exceptions-1.0.1.1
Installed ipython-kernel-0.6.1.2
Building lifted-async-0.7.0.1...
Installed x509-1.6.0
Configuring x509-store-1.6.0...
Building x509-store-1.6.0...
Installed lifted-async-0.7.0.1
Configuring shelly-1.6.3.3...
Installed x509-store-1.6.0
Configuring x509-system-1.6.0...
Configuring x509-validation-1.6.0...
Building shelly-1.6.3.3...
Building x509-system-1.6.0...
Building x509-validation-1.6.0...
Installed x509-system-1.6.0
Installed x509-validation-1.6.0
Configuring tls-1.3.1...
Building tls-1.3.1...
Installed shelly-1.6.3.3
Installed haskell-src-exts-1.16.0.1
Configuring haskell-src-meta-0.6.0.10...
Configuring hlint-1.9.21...
Installed tls-1.3.1
Configuring connection-0.2.5...
Building haskell-src-meta-0.6.0.10...
Building hlint-1.9.21...
Building connection-0.2.5...
Installed connection-0.2.5
Configuring http-client-tls-0.2.2...
Installed haskell-src-meta-0.6.0.10
Configuring here-1.2.7...
Building http-client-tls-0.2.2...
Building here-1.2.7...
Installed http-client-tls-0.2.2
Installed here-1.2.7
Installed hlint-1.9.21
cabal: user error (Error: some packages failed to install:
ghc-parser-0.1.7.0 failed during the building phase. The exception was:
ExitFailure 1
ihaskell-0.6.4.1 depends on ghc-parser-0.1.7.0 which failed to install.
)

I think this may indeed be a real issue. Install from Github for the time being, I will try to get this fixed soon.

Try newly uploaded ghc-parser if you'd like.

authors: gibiansky peti pschmied

repo: gibiansky/IHaskell


text:
transform the body without interceptors

I want to transform the body before creating a resource.
I know we can use interceptors or overriding the crud methods, but creating an interceptor class for each route is overkill and harder than implementing the crud from scratch.
there is a lighter solution, a transform function that takes the body (or maybe the request) and returns the new body (or request)
@Crud({
  model: { ... },
  routes: {
   createOneBase: {
    // or transform(req) => newReq
     transform(body: MyEntity ) => ({ ...body, status:"ok" })
   }
}
})

Is this a feature request?
Also, this is already as you said by overriding the respective method and calling your transform and the super method with the result of the transform.
Overriding also gives you the control of how to handle errors, while with the transform example you give this is not clear at all.
Can you elaborate what exactly is your pain point with overriding crud method, because to me the transform you propose doesn't seems like improvement?

Yes, I get that writing interceptors is too much or such a simple functionality.
But what about overriding ?  Something like that:
@Crud({
  model: { ... }
})
@Controller('example')
export class ExampleController {
  constructor( public service: ExampleService,) {
  }

  @Override('createOneBase')
  _createOneBase(
    @ParsedRequest() req: CrudRequest,
    @ParsedBody() dto: any,
  ): Promise<any> {
  const newBody = transform(dto);

  super.createOneBase(req, newBody)
  }

@its-dibo Is the provided answer working for you?
I am closing the issue, please reopen it in case it is not.

authors: its-dibo zaro

repo: gid-oss/dataui-nestjs-crud


text:
Correct argument type in typescript signature

Changes the typescript signature of the default function to take a string | Buffer | URL rather than a File. The argument gets passed to fs.readFile and fs.createReadStream which take a path represented as a string | Buffer | URL rather than a File.

Hey @griidbugs, thanks for pointing this out! What you're saying is totally true when it comes to Node.js. But in the browser, File/Blob should be the correct type since we're using the FileReader API. I'm currently looking into how to export different types based on which environment people are using. If you have any idea how to properly do this, let me know!

Does the file "index-node.d.ts" get used to declare types for the code used in the browser? I would have thought you'd need to add a file "index-browser.d.ts" to correspond to "index-browser.js" to declare types for the browser code, and that file would contain the signature where the argument is a File.

I admit, how I named it was very confusing. The truth is, the name doesn't matter at all. What matters is what you put in package.json under types. So if I say "types": "index-node.d.ts", then that's where the whole project will get its types from, no matter the environment. I should've actually named it index-browser.d.ts cause the File type applies in the browser, not in Node.js. For Node.js I completely forgot to add the correct types, to be honest.

I couldn't really find an easy way to properly export different types based on the environment. So for now, I've changed the types to function DetectFileEncodingAndLanguage(clientSideFileOrServerSidePath: File | Blob | string | Buffer | URL): Promise<FileInfo>; and published the changes to NPM.

authors: gignupg gridbugs


text:
connect异常处理代码BUG触发UnboundLocalError

https://github.com/gikoluo/aliyun-mns/blob/b375d765e1128571d8023a303ef941ed3e65ce6c/mns/mns_http.py#L33-L53
示例如下
def f():
    msg = 'abc'
    for i in range(10):
        try:
            raise Exception('hi')
        except Exception as msg:
            pass
    print(msg)

f()

相关python issue：https://bugs.python.org/issue40728

repo: gikoluo/aliyun-mns


text:
added shipit (https://github.com/shipitjs/shipit)

Added Shipit logo (selfmade using trace function in Adobe Illustrator)

Thanks!

authors: gilbarbara manuelbieh

repo: gilbarbara/logos


text:
Drop dependency on glob

A minor refactor to the build script eliminates the dependency on glob,
which is nice for folks downstream who are trying to keep their
dependency load light.

Sorry for the delay, thanks for the PR!

authors: benesch khuey


text:
Create read module

This is preparation for adding a write module using https://github.com/philipc/object-write.
The commits are moving code around with minimal changes.

Coverage remained the same at 0.0% when pulling 7abec0ebade2c11d6a31938829ce01e03f31adb2 on philipc:read into 6a731002548d6bdeb335807e4b3a921ea565d864 on gimli-rs:master.

authors: coveralls philipc

repo: gimli-rs/object


text:
Overlaping labels

Hi Gion
In some cases the labels are overlapping each other - f.e. big density of line chart points or small slice values in pie chart.
Examples:
http://codepen.io/martinsznapka/pen/ZYaVgN
http://codepen.io/martinsznapka/pen/wBppZP
I guess Chartist can do some recalculations of label positions/sizes/etc. and hide/move labels to "better" place.
But personally I do not think this is the right way because it requires lot of calculations and this can be performance problem - f.e. when you have many charts on one page and resize browser or change orientation on iPad.
We have bad experience with this when we used http://morrisjs.github.io/morris.js/ - browser freezing / https://www.google.com/search?q=firefox+unresponsive+script&tbm=isch / etc.
Lets share here some simple workarounds.

For line chart issue with high density of labels could be simple workaround that we can filter out some labels:
Instead of:
labels: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']

we set empty value to every 2nd label:
labels: ['Monday', '', 'Wednesday', '', 'Friday', '', 'Sunday']

We can add configurable option to Chartist which defines "displayEveryNthLabel" which default to 1.
My example would have value 2.

Have you tried to use the labelOffset and  labelDirection options? I know they won't solve this problem but if you know you will have slices where it's impossible to put the labels inside the slices, maybe you put them better outside?
There was a discussion about this in a very early ticket #21 maybe we can continue this discussion there? I'll close your ticket in favor of the original one.

Actually thats the labelOverflow option below the poor painting I did in #21 :-)

Hello,
I was wondering if an option like displayEveryNthLabel was ever created? I'd like to have a higher series density than label density and this seems to be the main option.
Thanks!

Hey there
You have the option to put the labels outside by using labelOffset and make them align away from the center by using labelDirection: 'explode' like so: http://jsbin.com/hofimu/1/edit?js,output
This still isn't perfect, I know.
Skipping each 2nd label you can achieve using the labelInterpolationFnc like so: http://jsbin.com/hofimu/2/edit
Or you could also say that you'd only want to display labels if the segment is "important" enought like so: http://jsbin.com/hofimu/3/edit?js,output
We're still working on a better solution which can be tracked here: #224

Hi there.
I do have the same issue here (overlapping labels). As in #21 discussed a solution might be to use some kind of legend next to the chart. Is there any official guide or working best practice example available? I'm quite new to the topic (charting and all the web stuff) and I would appreciate some kind of walkthrough or working example....
Thanks...

authors: JoelDapello gionkunz martinsznapka maxt128

repo: gionkunz/chartist-js


text:
onChange callback not triggered

Verify latest release

[X] I verified that the issue exists in the latest release

I know how to solve the bug
I don't know how to solve the bug and I will provide an example.
Link to the code that reproduces this issue
/
To Reproduce
Update to 2.0.5
Describe the Bug
Callback is not fired when the map changes (center, zoom, bounds).
Expected Behavior
No error in version 2.0.2
Which browser are you using? (if relevant)
No response

Fixed on 2.0.6. Thank you! Missed that.

authors: giorgiabosello marcinincreo


text:
Update it to Bootstrap 4.1

I thinks its too old now, please update it to latest stable release of bootstrap 4.1

Closing as this is not really a pull request (no commits added). Bootstrap v4 support will be added in the upcoming v1.3.5

@mohammadayoub96 all versions 4 and above are supported by the fix

repo: giotiskl/Filterizr

license: mit


text:
feat: ajout de la situation personnelle

:wrench: Problème
En tant que chargé d'orientation / professionnel, j'ai besoin de consulter et mettre à jour le diagnostic socioprofessionnel afin d'appréhender la réalité de la situation du bénéficiaire et d'adapter mon accompagnement.
Concerne l'issue #1461
:cake: Solution
Ajouter dans "Diagnostic socioprofessionnel" un bloc "Situation personnelle" qui permettra d'afficher « à plat » les informations de la situation personnelle.

:rotating_light:  Points d'attention / Remarques
RAS
:desert_island: Comment tester

Se rendre sur la review app.

Se connecter en tant que pierre.chevalier, aller sur le carnet de Sophie Tifour, constater l'affichage de ses informations personnelles.

fix #1461

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

authors: service-dev-gip-inclusion vjousse

repo: gip-inclusion/carnet-de-bord


text:
#4529

Description 📜
This is a video contribution to Stack in C++ STL.
Fixes #4529

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[x] Video (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[ ] Doc#umentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[x] C/CPP

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@apeksha235 i think changes done
please review it once more.

@Op-panda  Nice 👍🏻  LGTM 🚀

authors: Op-panda Suvraneel

repo: girlscript/winter-of-contributing


text:
Add in the API and implementation: notpwithin, notgwithin and notgintersect

In gitlab by @sylvaingaudan on Apr 14, 2017, 14:04
Add in the API and implementation: notpwithin, notgwithin and notgintersect.
They can be multiple.

In gitlab by @MohamedHamouGisaia on Apr 18, 2017, 11:04
closed

repo: gisaia/ARLAS-server


text:
Added Sanskrit recitation of verses chapter wise

I heave added all verses chapterwise in seperate folders.

Hey @Adityagupta1625  thanks for this wonderful contribution, but there is some inconsistency rn, that has to be manually removed, some verses were clubbed originally (in audio) and hence no of recitations are less than verses in text.
I'll look into this then approve for a final merge

Sure, I can help you in this  if you want

it's quite hard work to cut merge and make each verse apt to our version manually
It took me around 30 mins for a single chapter, hope It'll be done soon.
if you are willing, you can cross check and adjust the audio ,
Many thanks

Yeah! for sure

I'm on chapter 11 rn, It'll take another hour or so, but it's done now :eyeglasses:

Phew Phew
It's done

this

repo: gita/gita

license: Unlicense


text:
Change Jenkins script so it works when pushing/pulling over SSH

The Jenkins post-receive hook doesn't work if you push changesets over SSH (url variable is only populated for HTTP/HTTPS pushes) and it also doesn't work if Jenkins is configured to pull changesets over SSH (the Jenkins Git plugin matches by host + path and the SSH URL has a different path compared to the HTTP/HTTPS URL).
This change resolves both issues.

I'm going to solve this from within Gitblit.  Gitblit should be exporting the appropriate URL and it is not.

Exporting the appropriate URL will fix the problem when a user pushes over SSH, but not the problem when Jenkins is configured to pull over SSH. Either the SSH URL would have to be changed to match the HTTP/HTTPS URL (by adding the "/r" part) or the Jenkins script would have to be changed as I have done so that it calls both variants.

I should have been more clear.  Gitblit should be exporting the complete repository url, not just a base url.

That would also work, but GitBlit would need to export the complete URL for every enabled transport, and the script would need to call all of those URLs. Otherwise the hook won't work if the push occurs with a different transport than than Jenkins is configured with (e.g. developer pushes over HTTP, Jenkins pulls over SSH).

Hmm.  Perhaps Jenkins should trigger on a repo name and not a url.  Are the alternatives?

We should maybe discuss with the author of the Jenkins Git plugin. From looking at the code, it actually doesn't match the entire URL, just the host and the path. That's enough to cause a problem with GitBlit because the SSH path is different from the HTTP/HTTPS path.
Jenkins is capable of triggering builds using tokens (this can be done with any source control, it's not part of the Git plugin) but then the user has to explicitly configure a project-specific token on both Jenkins and GitBlit. Not a huge problem I suppose, but it is an extra step and the user has to make sure the token is unique for every project.

The recently merged #986 may offer an alternative solution for this issue.  Closing for now.

authors: gitblit rdicroce

repo: gitblit/gitblit


text:
How to break html table rows when it gets overflow to new slides?

We have html table with large size columns and it need to break the table rows when it gets overflow to new slide . If some rows getting overflow, then entire row should get append in new slide instead of breaking the content into next slide.

This has been mentioned in prior issues and would be an enhancement, e.g.: an option like repeatRowContent

repo: gitbrent/PptxGenJS


text:
Support child component

Depends of #6
This is a minimal solution to my use case and still doesn't support other button sizes or the possibility of the child component being larger than the toggle.
I hope to have time to implement this to finalize this PR soon.

Hi @GustavoDinizMonteiro
Can you provide some sample code showing the implementation?

authors: GustavoDinizMonteiro gitbrent

repo: gitbrent/bootstrap-switch-button-react


text:
🛑 invidious.kavin.rocks is down

In 58f6ee7, invidious.kavin.rocks (https://invidious.kavin.rocks/) was down:

HTTP code: 502
Response time: 1037 ms

Resolved: invidious.kavin.rocks is back up in 7fe4e92 after 12 minutes.

repo: gitetsu/invidious-instances-upptime


text:
🛑 watch.thekitty.zone is down

In bdfb0e8, watch.thekitty.zone (https://watch.thekitty.zone/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: watch.thekitty.zone is back up in 9da912f.


text:
🛑 whoogle.lunar.icu is down

In 390b9ea, whoogle.lunar.icu (https://whoogle.lunar.icu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: whoogle.lunar.icu is back up in 4fdf2de after 5 minutes.

repo: gitetsu/whoogle-instances-upptime


text:
🛑 whoogle.dcs0.hu is down

In 4f5ab0d, whoogle.dcs0.hu (https://whoogle.dcs0.hu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: whoogle.dcs0.hu is back up in edd5a4a.


text:
🛑 whoogle.lunar.icu is down

In 36e50e6, whoogle.lunar.icu (https://whoogle.lunar.icu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: whoogle.lunar.icu is back up in 8e8c4fc after 5 minutes.


text:
🛑 whoogle.lunar.icu is down

In 8a36783, whoogle.lunar.icu (https://whoogle.lunar.icu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: whoogle.lunar.icu is back up in 9cbf8de after 5 minutes.


text:
[GHSA-gx6w-fqg7-mc3p] An issue was discovered jackson-databind thru 2.15.2...

Updates

Affected products
References
Severity
Summary

Comments
Fix is in jackson-core 2.16.0 release out today. Stack overflow is protected against. We still contend that this issue is not CVE worthy. You can only get it by writing your own bad code.

👋 Hi @pjfanning, we haven't reviewed and issued alerts for this advisory because the CVE is disputed. We can't add the fixed version without reviewing the advisory and generating Dependabot alerts. Are you (and the other maintainers?) of jackson-databind OK with users receiving Dependabot alerts about CVE-2023-35116?

Ideally, this should be closed - better still deleted. If you don't delete it then it is useful to at least have the 2.16.0 version number highlighted so that people at least know that even the non-issue is no longer a non-issue after 2.16.0.

The thing is if you type CVE-2023-35116 into a GitHub comment or description is that GitHub turns that into a link for this page. So not including info that the stackoverflow is fixed in jackson-core 2.16.0 is a problem. Is there any way that the GHSA-gx6w-fqg7-mc3p links could be removed?

authors: pjfanning shelbyc

repo: github/advisory-database


text:
Codeql create golang database error on macos

codeql-cli v2.7.3
golang v1.17.5
M1 macOS Monterey v12.0.1
I have installed go and added it to the environment variable. I tried adding go environment variables to .zshrc and /etc/paths, but none of them worked.
% go version
go version go1.17.5 darwin/arm64
% codeql database create --language=go test --source-root=../codeql-study --overwrite
Initializing database at /codeql-study/test.
Running build command: [/codeql/cli/codeql/go/tools/autobuild.sh]
[2022-01-02 19:00:46] [build-stderr] 2022/01/02 19:00:46 Unable to run the go command, is it installed?
[2022-01-02 19:00:46] [build-stderr] Error: signal: abort trap
[2022-01-02 19:00:46] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/codeql/cli/codeql/tools/osx64/preload_tracer, /codeql/cli/codeql/go/tools/autobuild.sh])
A fatal error occurred: Exit status 1 from command: [/codeql/cli/codeql/go/tools/autobuild.sh]

Thanks for raising your issue. Mac M1 support is still in beta. Please make sure to read about all of the requirements for running on an M1.
If you have fulfilled all of these requirements and are still seeing the error, please run the command with maximum verbosity and attach the logs created to this issue.

I have met the requirements mentioned in the document. Codeql can create databases in python and javascript, but errors will occur in go and Java. This is the log of my go database creation.
build-tracer.log
[T 15:28:48 1445] Reading configuration file /Desktop/codeql-study/test/working/tracing/compiler-tracing5901691412012282673.spec...
[T 15:28:48 1445] Compilers file as of 2022-01-03 15:28:48
[T 15:28:48 1445] Compiler pattern: **/go-autobuilder
[T 15:28:48 1445] Replace intercepted call: 0
[T 15:28:48 1445] Extractor:
[T 15:28:48 1445] Compilers file as of 2022-01-03 15:28:48
[T 15:28:48 1445] Compiler pattern: **/go
[T 15:28:48 1445] Replace intercepted call: 0
[T 15:28:48 1445] Extractor: /codeql/cli/codeql/go/tools/osx64/go-extractor
[T 15:28:48 1445] Prepend[0] "--mimic"
[T 15:28:48 1445] Prepend[1] ""${compiler}""
[T 15:28:48 1445] Initialising tags...
[T 15:28:48 1445] ID set to 00000000000005A5_0000000000000001 (parent root)
[T 15:28:48 1445] Reading configuration file /Desktop/codeql-study/test/working/tracing/compiler-tracing5901691412012282673.spec...
[T 15:28:48 1445] Initialising tags...
[T 15:28:48 1445] ID set to 00000000000005A5_0000000000000002 (parent root)
[T 15:28:48 1445] Warning: SEMMLE_EXEC and SEMMLE_EXECP not set. Falling back to path lookup on argv[0].
[T 15:28:48 1445] ==== Candidate to intercept: /codeql/cli/codeql/tools/osx64/runner-osx (canonical: /codeql/cli/codeql/tools/osx64/runner-osx) ====
[T 15:28:48 1446] Attempting to switch stdout/stderr to 3...
/Desktop/codeql-study/test/working/copy-root/000001F5/bin/sh.semmle.000005A5.slice.x86_64: replacing existing signature
[T 15:28:49 1445] Reading configuration file /Desktop/codeql-study/test/working/tracing/compiler-tracing5901691412012282673.spec...
[T 15:28:49 1445] Initialising tags...
[T 15:28:49 1445] ID set to 00000000000005A5_0000000000000003 (parent 00000000000005A5_0000000000000002)
[T 15:28:49 1445] ==== Candidate to intercept: /codeql/cli/codeql/go/tools/autobuild.sh (canonical: /codeql/cli/codeql/go/tools/autobuild.sh) ====
[T 15:28:49 1455] Attempting to switch stdout/stderr to 3...
/Desktop/codeql-study/test/working/copy-root/000001F5/bin/bash.semmle.000005A5.slice.x86_64: replacing existing signature
[T 15:28:49 1445] Reading configuration file /Desktop/codeql-study/test/working/tracing/compiler-tracing5901691412012282673.spec...
[T 15:28:49 1445] Initialising tags...
[T 15:28:49 1445] ID set to 00000000000005A5_0000000000000004 (parent 00000000000005A5_0000000000000003)
[T 15:28:49 1445] ==== Candidate to intercept: /bin/bash (canonical: /bin/bash) ====
[T 15:28:49 1461] Attempting to switch stdout/stderr to 3...
[T 15:28:50 1460] Reading configuration file /Desktop/codeql-study/test/working/tracing/compiler-tracing5901691412012282673.spec...
[T 15:28:50 1460] Initialising tags...
[T 15:28:50 1460] ID set to 00000000000005B4_0000000000000001 (parent 00000000000005A5_0000000000000004)
[T 15:28:50 1460] ==== Candidate to intercept: /codeql/cli/codeql/go/tools/osx64/go-autobuilder (canonical: /codeql/cli/codeql/go/tools/osx64/go-autobuilder) ====
[T 15:28:50 1460] === Intercepted call to /codeql/cli/codeql/go/tools/osx64/go-autobuilder ===
[T 15:28:50 1460] Disabling tracing for this command.
[T 15:28:50 1465] Error: Environment variable SEMMLE_PRELOAD_libtrace is not set (or empty), but it should be set.
[T 15:28:50 1465] Error: Environment variable SEMMLE_PRELOAD_libtrace is not set (or empty), but it should be set.
database-create-20220103.152847.727.log
[2022-01-03 15:28:47] This is codeql database create test --language=go --source-root=./go --overwrite
[2022-01-03 15:28:47] Log file was started late.
[2022-01-03 15:28:47] [PROGRESS] database create> Initializing database at /Desktop/codeql-study/test.
[2022-01-03 15:28:47] Running plumbing command: codeql database init --overwrite --language=go --source-root=/Desktop/codeql-study/go --allow-missing-source-root=false --allow-already-existing -- /Desktop/codeql-study/test
[2022-01-03 15:28:47] [PROGRESS] database init> Counting lines of code in /Desktop/codeql-study/go
[2022-01-03 15:28:47] [PROGRESS] database init> Resolving extractor go.
[2022-01-03 15:28:47] Calling plumbing command: codeql resolve languages --format=json
[2022-01-03 15:28:47] [DETAILS] resolve languages> Scanning for [codeql-extractor.yml] from /codeql/cli/codeql/.codeqlmanifest.json
[2022-01-03 15:28:47] [DETAILS] resolve languages> Parsing /codeql/cli/codeql/go/codeql-extractor.yml.
[2022-01-03 15:28:47] [DETAILS] resolve languages> Parsing /codeql/cli/codeql/python/codeql-extractor.yml.
[2022-01-03 15:28:47] [DETAILS] resolve languages> Parsing /codeql/cli/codeql/java/codeql-extractor.yml.
[2022-01-03 15:28:47] [DETAILS] resolve languages> Parsing /codeql/cli/codeql/html/codeql-extractor.yml.
[2022-01-03 15:28:47] [DETAILS] resolve languages> Parsing /codeql/cli/codeql/xml/codeql-extractor.yml.
[2022-01-03 15:28:47] [DETAILS] resolve languages> Parsing /codeql/cli/codeql/properties/codeql-extractor.yml.
[2022-01-03 15:28:47] [DETAILS] resolve languages> Parsing /codeql/cli/codeql/cpp/codeql-extractor.yml.
[2022-01-03 15:28:47] [DETAILS] resolve languages> Parsing /codeql/cli/codeql/csv/codeql-extractor.yml.
[2022-01-03 15:28:47] [DETAILS] resolve languages> Parsing /codeql/cli/codeql/csharp/codeql-extractor.yml.
[2022-01-03 15:28:47] [DETAILS] resolve languages> Parsing /codeql/cli/codeql/javascript/codeql-extractor.yml.
[2022-01-03 15:28:47] [DETAILS] resolve languages> Parsing /codeql/cli/codeql/ruby/codeql-extractor.yml.
[2022-01-03 15:28:48] Plumbing command codeql resolve languages completed:
{
"extractors" : {
"go" : [
{
"extractor_root" : "/codeql/cli/codeql/go"
}
],
"python" : [
{
"extractor_root" : "/codeql/cli/codeql/python"
}
],
"java" : [
{
"extractor_root" : "/codeql/cli/codeql/java"
}
],
"html" : [
{
"extractor_root" : "/codeql/cli/codeql/html"
}
],
"xml" : [
{
"extractor_root" : "/codeql/cli/codeql/xml"
}
],
"properties" : [
{
"extractor_root" : "/codeql/cli/codeql/properties"
}
],
"cpp" : [
{
"extractor_root" : "/codeql/cli/codeql/cpp"
}
],
"csv" : [
{
"extractor_root" : "/codeql/cli/codeql/csv"
}
],
"csharp" : [
{
"extractor_root" : "/codeql/cli/codeql/csharp"
}
],
"javascript" : [
{
"extractor_root" : "/codeql/cli/codeql/javascript"
}
],
"ruby" : [
{
"extractor_root" : "/codeql/cli/codeql/ruby"
}
]
}
}
[2022-01-03 15:28:48] [DETAILS] database init> Found candidate extractor root for go: /codeql/cli/codeql/go.
[2022-01-03 15:28:48] [PROGRESS] database init> Successfully loaded extractor Go (go) from /codeql/cli/codeql/go.
[2022-01-03 15:28:48] [PROGRESS] database init> Created skeleton CodeQL database at /Desktop/codeql-study/test. This in-progress database is ready to be populated by an extractor.
[2022-01-03 15:28:48] Plumbing command codeql database init completed.
[2022-01-03 15:28:48] Using autobuild script /codeql/cli/codeql/go/tools/autobuild.sh.
[2022-01-03 15:28:48] [DETAILS] database create> Detected autobuild command for Go: /codeql/cli/codeql/go/tools/autobuild.sh.
[2022-01-03 15:28:48] [PROGRESS] database create> Running build command: [/codeql/cli/codeql/go/tools/autobuild.sh]
[2022-01-03 15:28:48] Running plumbing command: codeql database trace-command --working-dir=/Desktop/codeql-study/go --index-traceless-dbs --no-db-cluster -- /Desktop/codeql-study/test /codeql/cli/codeql/go/tools/autobuild.sh
[2022-01-03 15:28:48] Setting up tracing from specification at /codeql/cli/codeql/go/tools/osx64/compiler-tracing.spec.
[2022-01-03 15:28:48] [PROGRESS] database trace-command> Running command in /Desktop/codeql-study/go: [/codeql/cli/codeql/go/tools/autobuild.sh]
[2022-01-03 15:28:50] [build-stderr] 2022/01/03 15:28:50 Unable to run the go command, is it installed?
[2022-01-03 15:28:50] [build-stderr] Error: signal: abort trap
[2022-01-03 15:28:50] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/codeql/cli/codeql/tools/osx64/preload_tracer, /codeql/cli/codeql/go/tools/autobuild.sh])
[2022-01-03 15:28:50] Exception caught at top level: Exit status 1 from command: [/codeql/cli/codeql/go/tools/autobuild.sh]
com.semmle.cli2.database.DatabaseProcessCommandCommon.executeSubcommand(DatabaseProcessCommandCommon.java:188)
com.semmle.cli2.database.TraceCommandCommand.executeSubcommand(TraceCommandCommand.java:86)
com.semmle.cli2.picocli.PlumbingRunner.run(PlumbingRunner.java:110)
com.semmle.cli2.picocli.SubcommandCommon.runPlumbingInProcess(SubcommandCommon.java:162)
com.semmle.cli2.database.CreateCommand.executeSubcommand(CreateCommand.java:151)
com.semmle.cli2.picocli.SubcommandCommon.call(SubcommandCommon.java:500)
com.semmle.cli2.picocli.SubcommandMaker.runMain(SubcommandMaker.java:205)
com.semmle.cli2.picocli.SubcommandMaker.runMain(SubcommandMaker.java:214)
com.semmle.cli2.CodeQL.main(CodeQL.java:98)

Hmm, there is a known issue with tracing Java builds on M1 that will be fixed in the next release: https://github.com/github/codeql-cli-binaries/issues/101
Looking at that log, this appears to be a separate issue however.

@edoardopirovano it manifests in a different way, but the root cause is the same.
@p1keman at this point I can recommend either using CodeQL 2.7.1, or waiting for the next release (which is around the corner, but no exact ETA yet).

@edoardopirovano it manifests in a different way, but the root cause is the same.
@p1keman at this point I can recommend either using CodeQL 2.7.1, or waiting for the next release (which is around the corner, but no exact ETA yet).

Very good, I switched to codeql v2.7.1, can create a go database, thank you

authors: AlexDenisov aeisenberg edoardopirovano p1keman

repo: github/codeql-action


text:
The documentation suggests an invalid value for the name of a secret

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
What part(s) of the article would you like to see updated?
The article contains the following example configuration:
steps:
  - name: My first action
    env:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      FIRST_NAME: Mona
      LAST_NAME: Octocat

However, when attempting to follow this example, I was presented with an error in the UI as follows:
"Failed to add secret. Secret names must not start with GITHUB_."
If this is not a valid naming convention for secrets, then it shouldn't be used in the documentation.
Additional information

@lpmi-13 I apologize for the delay in triaging this issue. Once in a while my notifications act wonky 😭
I removed the stale label and triaged this issue for a writer's review 👀 . I truly appreciate your patience 💖.
Thanks so much taking time to make contributions to GitHub docs 💖

Hi @ramyaparimi! That's no problem at all. I actually think the corresponding PR was correctly closed earlier, since it seemed to be my error in misunderstanding the docs, so we can go ahead and close this issue.

@lpmi-13 Thanks so much 💖
Closing as PR  linked to this issue  was closed.

This is an issue here: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages#example-workflow cc @ramyaparimi

authors: badasukerubin lpmi-13 ramyaparimi

repo: github/docs


text:
Document id-token permission

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/actions/security-guides/automatic-token-authentication
What part(s) of the article would you like to see updated?
I'm looking into setting up OIDC authentication with GitHub Actions and am wanting to understand how the id-token permission works. I couldn't find much documentation about it, other than documentation saying to set it to write, e.g. https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services#adding-permissions-settings.
The automatic token authentication article talks about id-token and that the "Maximum access by forked repos" is read. What does it mean to have read access to the id-token? What is the minimum permissions needed to use OIDC?
Specifically, can a PR opened by Dependabot obtain OIDC credentials?
Additional information
No response

@danielcompton
Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:

To generate an OIDC id-token from a GitHub workflow it requires write permissions on id-token bit. When we add this permission to workflow it will set the following two env variables (url and token) in runner machine, which will be used by Actions/scripts to generate id token:
ACTIONS_ID_TOKEN_REQUEST_URL,  ACTIONS_ID_TOKEN_REQUEST_TOKEN
Thanks @danielcompton for reporting this. We will add the above context to our docs to make this more clear.

Thanks @N-Usha! What does it mean to have id-token: read then?

It just means that OIDC tokens cant be generated in that workflow. And we made that as the default as we wanted to make OIDC an opt-in feature where workflows needs to explicitly set the bit to write to use the feature.

Thanks for the clarification. Sorry to belabour the point, but what is the difference then between id-token: read and id-token: none?

Thanks @lucascosti, it's still not clear to me what the difference is between id-token: read and id-token: none? Are you able to help clarify that?

Thanks @lucascosti, it's still not clear to me what the difference is between id-token: read and id-token: none? Are you able to help clarify that?

Sorry, @danielcompton; I have a guess, but rather than potentially give out the wrong info, I'll let @N-Usha clarify 🙂

@N-Usha would you be able to help clarify what the difference is between id-token: read and id-token: none?

@N-Usha are you able to help with this? I'm still not sure what the security differences are between a workflow having id-token: read and id-token: none.

Apologies for delayed response on this.
@danielcompton - There is no difference between a workflow having id-token: read and id-token: none.
We have clarified this in docs recently:

The job or workflow run requires a permissions setting with id-token: write. You won't be able to request the OIDC JWT ID token if the permissions setting for id-token is set to read or none.

Please confirm if that clarifies your query. Thanks

Thanks @N-Usha that's exactly what I was after!

Hello
Chandrama mahato

This is a closed issue, but I'm struggling to understand what the word "write" means here. Why is the permission called "write"? Is something being written? If so, what and by whom? Or is the permission called "write" for some other reason (e.g., something historical, referential, or arcane)? It'd be great to explain this just a tiny bit more.

I am quire curious how it comes that this is closed when this tag has zero documentation.

https://github.com/github/docs/issues/25952

Fwiw I couldn't even figure out that this permission scope had something to do with OIDC. Had to google it and find this issue.

authors: CHANDRAMA2 N-Usha danielcompton jmandel lucascosti ramyaparimi ssbarnea vincerubinetti


text:
FAITH

[]() <!--
Thank you for contributing to this project! You must fill out the information below before we can review this pull request. By explaining why you're making a change (or linking to a pull request) and what changes you've made, we can triage your pull request to the best possible team for review.
See our CONTRIBUTING.md for information how to contribute.
For changes to content in site policy, see the CONTRIBUTING guide in the site-policy repo.
We cannot accept changes to our translated content right now. See the types-of-contributions.md for more information.
Thanks again!
-->
Why:
Closes [issue link]

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[ ] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[x] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

Vào 10:47, T.4, 13 Th4, 2022 mistaken-pull-closer[bot] <
@.***> đã viết:

Closed #17048 https://github.com/github/docs/pull/17048.
—
Reply to this email directly, view it on GitHub
https://github.com/github/docs/pull/17048#event-6424009973, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AXTWXQMCC22JGD3KWI3BS4DVEY7TNANCNFSM5TJKFQEQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

[]() <!-- Thank you for contributing to this project! You must fill out the information below before we can review this pull request. By explaining why you're making a change (or linking to a pull request) and what changes you've made, we can triage your pull request to the best possible team for review.
See our CONTRIBUTING.md for information how to contribute.
For changes to content in site policy, see the CONTRIBUTING guide in the site-policy repo.
We cannot accept changes to our translated content right now. See the types-of-contributions.md for more information.
Thanks again! -->
Why:
Closes [issue link]
What's being changed:
Check off the following:

[x]  I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[ ]  For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[x]  This pull request impacts the contribution experience

[ ]  I have added the 'writer impact' label
[ ]  I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

What this


text:
Update writing-mathematical-expressions.md: Unsupported Math Blocks in  Blocks

This issue is about displaying math blocks inside of the details blocks (and potentially other HTML blocks) regardless of the type of math block. This can include blocks such as
$$
\begin{pmatrix}
  0 & 1 \\
  2 & 3
\end{pmatrix}
$$

or blocks written like this:
```math
\begin{pmatrix}
  0 & 1 \\
  2 & 3
\end{pmatrix}
```

This issue is currently blocking the use of math blocks inside of details blocks, as well as other HTML blocks. This limitation prevents users from taking full advantage of these blocks, and should be noted in documentation. To ensure users are not held back, we must actively search for a potential solution to this issue so that math blocks can be displayed in these blocks.

Why:
Closes ISSUE

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[x] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

This issue is about displaying math blocks inside of the details blocks (and potentially other HTML blocks) regardless of the type of math block. This can include blocks such as
$$
\begin{pmatrix}
  0 & 1 \\
  2 & 3
\end{pmatrix}
$$

or blocks written like this:
```math
\begin{pmatrix}
  0 & 1 \\
  2 & 3
\end{pmatrix}
```

This issue is currently blocking the use of math blocks inside of details blocks, as well as other HTML blocks. This limitation prevents users from taking full advantage of these blocks, and should be noted in documentation. To ensure users are not held back, we must actively search for a potential solution to this issue so that math blocks can be displayed in these blocks.

Why:
Closes ISSUE

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[x] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[ ] For content changes, I have completed the self-review checklist.

@ALernety Thanks so much for opening a PR! I'll get this triaged for review :zap:

Hi @ALernety, thanks for the PR! It appears to me that matrices render correctly IF you include a line of whitespace after the HTML tag.
For example,
<details>
<summary>Matrix</summary>

```math
\begin{pmatrix}
  0 & 1 \\
  2 & 3
\end{pmatrix}
```

</details>

Appears to render correctly:

Matrix
\begin{pmatrix}
  0 & 1 \\
  2 & 3
\end{pmatrix}

I wonder if you could check whether this works for your use case too, and update your PR to reflect this if so? ✨

It doesn't look like any updates have been on this for a while, so I'm going to go ahead and close it out 💛
Feel free to ping me here to reopen if it continues to be an issue.

Ty for your help I'm just a little busy have 😳been on GitHub today
On Tue, Sep 5, 2023, 2:14 PM Courtney Wilson @.***>
wrote:

Closed #23234 https://github.com/github/docs/pull/23234.
—
Reply to this email directly, view it on GitHub
https://github.com/github/docs/pull/23234#event-10286669470, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BCJXHM65L3DV6E2JXX22B5DXY5TY5ANCNFSM6AAAAAAT4RR4A4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


text:
Fix confusing/contradictory note about environment availability

Why:
Closes #23784

What's being changed (if available, include any code snippets, screenshots, or gifs):
https://docs-26717-bab530.preview.ghdocs.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#about-environments

Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[ ] For content changes, I have completed the self-review checklist.

👋 Hey @jsoref - Thanks for the PR! I'll get it triaged for review ⚡


text:
https://www.example.com

Yes

Why:

What's being changed:

Check off the following:

[ ] I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[ ] For content changes, I have reviewed the localization checklist
[ ] For content changes, I have reviewed the Content style guide for GitHub Docs.

Yes

Yes

4987686908302347)<*call//154704070010726 ngân hàng HDBank

4987686908302347)<*call//154704070010726 ngân hàng HDBank

Uploading odr_webscraping_executive_summary_en.pdf…

Uploading odr_webscraping_executive_summary_en.pdf…


text:
Add new collection, 'ctf-cybersec-resources'

Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[ ] Suggesting edits to an existing topic or collection
[x] Curating a new topic or collection
[ ] Something that does not neatly fit into the binary options above

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288)
[ ] Content (and my changes are in index.md)

Please replace this line with an explanation of why you think these changes should be made.

Curating a new topic or collection

[x] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME] or https://github.com/collections/[NAME])
[x] My folder contains a *.png image (if applicable) and index.md
[x] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

There are no collections on GitHub (as of now) that benefit cybersecurity enthusiasts or CTF contest participants who utilize the resources available here.

Something that does not neatly fit into the binary options above

[ ] My suggested edits are not about an existing topic or collection, or at least not a single one
[ ] My suggested edits are not about curating a new topic or collection, or at least not a single one
[ ] My suggested edits conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please replace this line with an explanation of your proposed changes.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Could anyone help me figure out why the build fails?

Hey @Mr-Skully , thanks for this contribution! It looks like CI is failing on a \r character in the first line, let me see if I can fix it here...

authors: Mr-Skully gallexi

repo: github/explore


text:
Add Tkinter Designer to the list

Thank you for contributing! Please confirm this pull request meets the following requirements:

[X] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[X] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[X] Suggesting edits to an existing topic or collection
[ ] Curating a new topic or collection
[ ] Something that does not neatly fit into the binary options above

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288)
[X] Content (and my changes are in index.md)

Tkinter Designer is an impressive tool that makes the creation of Python (Tkinter) GUI very easy and beautiful.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.
Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[x] Suggesting edits to an existing topic or collection
[ ] Curating a new topic or collection
[ ] Something that does not neatly fit into the binary options above

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288)
[x] Content (and my changes are in index.md)

Please replace this line with an explanation of why you think these changes should be made.

Curating a new topic or collection

[ ] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME] or https://github.com/collections/[NAME])
[ ] My folder contains a *.png image (if applicable) and index.md
[ ] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please replace this line with an explanation of why you think this topic or collection should be curated.

Something that does not neatly fit into the binary options above

[ ] My suggested edits are not about an existing topic or collection, or at least not a single one
[ ] My suggested edits are not about curating a new topic or collection, or at least not a single one
[ ] My suggested edits conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please replace this line with an explanation of your proposed changes.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Made the changes ! Now it can be merged automatically.


text:
сollections: add country flags and fix emoji

Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[x] Suggesting edits to an existing topic or collection

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[x] Image (and my file is *.png, square, dimensions 288x288, size <= 75 kB)
[x] Content (and my changes are in index.md)

Added country flags and added emoji.

I decided to add a few changes, because these changes are of the same type, so I decided to add them together.


text:
Add assemblyscript language (collection & topic)

Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[ ] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[ ] Suggesting edits to an existing topic or collection
[x] Curating a new topic or collection

I think this specially designed for WebAssembly language will be of interest to most web-developers who would like become works with WebAssembly without resorting to learning new complex system languages.

[x] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/assemblyscript or https://github.com/collections/programming-languages)
[x] My folder contains a *.png image (if applicable) and index.md
[x] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

I'm not sure about point "I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).". Should I check it or not? I'm not creator of this project but I contributor. How strict is this requirement?

Hi @MaxGraey,
In order to maintain a high level of independence we require that topic and collection addition be submitted my the community and not members of the organization. Perhaps an independent member of the community would like to submit these edits/additions?

Got it

authors: MaxGraey kenyonj


text:
One-word change to link to Windows instructions correctly in README template

Fixes #46. Just that simple.

Thanks!

authors: michaelansel thomasrussellmurphy

repo: github/generator-hubot


text:
JavaScript is broken

Hi. JavaScript the syntax highlighting is broken and this is affecting me in both Atom and GitHub code viewer. Please see the attached images.

The problem goes away if I change the constructor signature:
constructor ({ host, root = "", plugins = [] }) {

@bucaran Linguist only selects the appropriate grammar for highlighting. In the case of JavaScript, it uses this Atom grammar. You should open an issue there ;)

@pchaigno Thanks!

@pchaigno this should now be fixed.  Linguist just needs to update to atom/language-javascript@2766ff3052615016e53298ee715e221cd740b5a3 (v0.87.1).  Upgrading should also fix a regression with consts introduced in the last grammar update.

@50Wliu Nice! Grammars are updated with each new release of Linguist ;)

As of v4.5.11 today this should be fixed.

Good job folks. You make my job easier.

authors: 50Wliu arfon bucaran pchaigno

repo: github/linguist


text:
Add Loli programming language

Add Loli programming language https://github.com/loli-foundation/loli
Checklist:

[x] I am adding a new language.

[ ] The extension of the new language is used in hundreds of repositories on GitHub.com.

Search results for each extension:

li: https://github.com/search?q=extension%3Ali+sayln&type=Code

[x] I have included a real-world usage sample for all extensions added in this PR:

Sample source:

https://github.com/loli-foundation/loli-json-parser

Sample license:

MIT

https://github.com/loli-foundation/loli/issues/10

Looks like original language is by other author:
https://github.com/FascinatedBox/lily
https://gitlab.com/FascinatedBox/lily
loli has very similar set of files and very close internal file content. Also it has very similar syntax. Very strange syntax decision if condition : { then_statement ; else: else_statement } could not be same by accident.

authors: AlekSi MWGuy funny-falcon


text:
Grammatic correction in the spanish translation

In the section "Opening a pull request" one of the steps to open a pull request says "¡Has pruebas de tus cambios!". The word "Has" should be "Haz" (correct form of the imperative of the verb "hacer").

[x] Have you followed the contributing guidelines?
[x] Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Thank you 😌

authors: dragoneid mdiazfreire


text:
Update maintaining-balance-for-open-source-maintainers.md

[ ] Have you followed the contributing guidelines?
[ ] Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

the tinyiest of typos

[ ]  Have you followed the contributing guidelines?
[ ]  Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

authors: abbycabs tntyordan


text:
Create codeql.yml

This repo used to run LGTM, which was deprecated.

Thanks for jumping in with fixes here @stoe !

Thanks for jumping in with fixes here @stoe !

No problem. Thanks for opening this in the first place, @djdefi
I just have no clue how to get that last one fixed, which drives me nuts... 😢

@stoe I wonder if we should even include this example app at all: https://github.com/github/platform-samples/tree/master/api/javascript/search

This project employs several authentication strategies to avoid rate limiting while using the GitHub Search API

This seems like a violation of our site policy, and not something we should be encouraging here in any case.

@djdefi, agreed.
Seems reasonable to remove this entirely.

#494

Anas

authors: 3nassale7 Jhonatanbb djdefi stoe

repo: github/platform-samples


text:
sadmglw

Hello

Hello

This is a Tom comment on Issue #2

repo: githubschool/congenial-spoon


text:
Unexpected reload the app

Using an application on Android, I encountered one unpleasant thing: with active use, the application suddenly restarts, without displaying any error.
I tried to shoot a video, what actions lead to this, it turned out not a complete video because when the GitPoint reloads (crashed), application for record video cease to work, but the video was saved when it was crashed (which is good, not many applications are so able). This is probably an error, due to which the application reloads, I think.
Look, please, the video (video suddenly breaks due to a crash app). I just look at the user profiles and look at the issues on the event screen, just like that, in a random order, to show that the application is rebooting due to the fact that too much I'm browsing through users and issues.
Why is this happening? Lack of memory? As I assume, there is not enough memory, because the storage is full of information (user's browsing history and issues? Can not the store contain data about all users viewed and issues?) And the system does not have enough memory and the application crashes and restarts. What other options are there?
Try also, just open the problems and user profiles that you within 3-4 minutes, will you have to restart (crash) the application? In the simulator, there is no such problem.

The application reloaded again, but this time I looked through only one user profile and 2 issues. It's unclear why this happens, only I have this one problem?

@housseindjirdeh @andrewda @alejandronanez what do you think about that? Do you have a similar problem?

@lex111 I notice that you visited issue#8054 of some repository at the last part of the video, which has no issue description. Maybe #320 helps.

repo: gitpoint/git-point


text:
Do not work on IOS 11.1.2

Hi @wangzongxu, could you please provide some more information.
Correct me if im wrong but iOS 11.1.2 isn't even out yet.
Are you using beta software?

I'm so sorry, my iphone system version is 11.1(15b5086a),
but git-point does't work when I open it.

I guess you are a Chinese like me, please check #436. The bug has fixed, but have not released yet.

thank you at first, but I had a flashback problem,I can't open it.

@chinesedfan same error.

version: 11.1.3, iPhone: 6s, lang: zh-CN

@wangzongxu I know. Can you try the workaround described in #436?

@chinesedfan that's great! thank you very much , I tried this method and It opened successful!

@chinesedfan was this addressed by @lex111 recent work on locales?

@machour Yes, already fixed by #479.

authors: WittBulter chinesedfan machour tautf wangzongxu


text:
Get rid of react-native-i18n

Once #777 is merged, react-native-i18n will become almost unused.
The only two things it's used for will be:

Retrieve the current locale (functionality provided by react-native-device-info)
Lookup translations strings (easily doable in t()

Getting rid of it would mean having 100% control about how our translations are handled in our code.
Opinions?

I'm also migrating from react-native-i18n to js-lingui. So far so good, albeit I use the i18n.t more than <Trans> components and it took me a while to set everything up (https://github.com/lingui/js-lingui/issues/176). Good luck.

@vonovak Good choice, it's an awesome lib! Actually there was a first PR to migrate to js-lingui as well (#747), but since it was too much to handle, we went for an intermediary home-made version to ease up the final migration :)

authors: machour vonovak


text:
🛑 MSP-002 is down

In 0047df1, MSP-002 (https://msp-portal.gw002.oneitfarm.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MSP-002 is back up in f098011.

repo: gitsrc/upptime


text:
Post ID and text readonly

Hi i was wondering if there was already a way to make a text field read only and if there was a way to pass the current post id into the metabox field. I am trying to create a read only field where i want to provide a shortcode for people to copy and paste on posts or pages.

Maybe you can try to create a hidden field and pass a default_value...

yes thats my intention to pass a default value but trying to pass $post->ID; into the default value of a text field i figured i could try and figure out how to make it readonly later but passing that variable wouldn't work. it doesn't come up on the admin meatbox. It has to be the idea of the current post being edited.

You can try type="hidden" instead of type="text"

hey so i figured out a way to add to the code ignored to create readonly inputs pretty easily how would be the best way to show you the edit. I am still wondering how to post the current post ID being edit into the field.

I think $post isn't set in the backend, maybe $_GET['id'] or something like that.

authors: gizburdt thesquaremedia

repo: gizburdt/wp-cuztom


text:
Documentation contents replaced with ""

After not generating our GraphQL docs for a few months we tried it again and found that much of the contents of our object pages have been replaced with multiple lines of
<!-- raw HTML omitted -->
... instead of the previous contents. Grepping around it looks like this text comes from the CommonMarker gem. That gem generates these notices when given a string that includes HTML, and when called with the :DEAFULT option, rather than the :UNSAFE option.
Changing that option on this line is not enough to fix the problem. It seems that the markdown is mostly parsed via the ExtendedMarkdownFilter object, and I haven't yet figured out how to fix the output of that. That gem doesn't call CommonMarker.render_html the way that this gem does. It does add the commonmarker dependency, but I'm not seeing how it's used there.
Perhaps this bug is a result of a recent change to the CommonMarker gem? That gem reached version 0.18.x on October 17th. The fix may be pinning to an older version of CommonMarker, or maybe changing the options to :UNSAFE from :DEFAULT in this gem and in extended-markdown-filter.

Fixed by pinning commonmarker to an version .17 my app's Gemfile:
    gem 'commonmarker', '~> 0.17.0

repo: gjtorikian/graphql-docs


text:
compilation error on Android

I tryed to compile the projects Sample and Src but there is compilation error on Android. I use VisualStudio 2022 with .NET 7.0 and 8.0. Any help?
Error	JAVA0000	Error in obj\Debug\net7.0-android\lp\161\jl\bin\classes.jar:android/support/v4/app/INotificationSideChannel$Stub$Proxy.class:
Type android.support.v4.app.INotificationSideChannel$Stub$Proxy is defined multiple times: obj\Debug\net7.0-android\lp\161\jl\bin\classes.jar:android/support/v4/app/INotificationSideChannel$Stub$Proxy.class, obj\Debug\net7.0-android\lp\92\jl\classes.jar:android/support/v4/app/INotificationSideChannel$Stub$Proxy.class
Compilation failed
java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: obj\Debug\net7.0-android\lp\161\jl\bin\classes.jar
android/support/v4/app/INotificationSideChannel$Stub$Proxy.class
at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:98)
at com.android.tools.r8.D8.main(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:4)
Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: obj\Debug\net7.0-android\lp\161\jl\bin\classes.jar:android/support/v4/app/INotificationSideChannel$Stub$Proxy.class
at Version.fakeStackEntry(Version_3.3.75.java:0)
at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:75)
at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:28)
at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:27)
at com.android.tools.r8.internal.Fj.b(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:2)
at com.android.tools.r8.D8.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:22)
at com.android.tools.r8.D8.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:17)
at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:85)
... 1 more
Caused by: com.android.tools.r8.internal.f: Type android.support.v4.app.INotificationSideChannel$Stub$Proxy is defined multiple times: obj\Debug\net7.0-android\lp\161\jl\bin\classes.jar:android/support/v4/app/INotificationSideChannel$Stub$Proxy.class, obj\Debug\net7.0-android\lp\92\jl\classes.jar:android/support/v4/app/INotificationSideChannel$Stub$Proxy.class
at com.android.tools.r8.internal.JT.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:14)
at com.android.tools.r8.internal.JT.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:22)
at com.android.tools.r8.internal.HN.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:33)
at com.android.tools.r8.internal.HN.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:10)
at java.base/java.util.concurrent.ConcurrentHashMap.merge(ConcurrentHashMap.java:2056)
at com.android.tools.r8.internal.HN.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:6)
at com.android.tools.r8.graph.B2$a.e(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:4)
at com.android.tools.r8.dex.b.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:110)
at com.android.tools.r8.dex.b.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:28)
at com.android.tools.r8.D8.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:25)
at com.android.tools.r8.D8.d(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:606)
at com.android.tools.r8.D8.c(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:1)
at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:24)
... 5 more
Directory 'obj\Debug\net7.0-android\lp\161' is from 'Xamarin.Android.Support.Compat.dll'.	Sample		1

The Xam.Plugin.Geolocator is only for Xamarin projects. They will not work with Maui. This project is only for Maui.

Sure! I was confused by the link to documentation in Read.me ...
Now it's running great! THX

authors: HaimoHeymann gktval

repo: gktval/Maui-GeolocatorPlugin


text:
Image Caching

Set cache-control: max-age=31536000, immutable for all assets on /images
This requires make images to include a hash in the filename and should generate a map which make it possible to access those hashes in code for functions like getCharacterImage

closed with #62

repo: glaciyan/gscale


text:
Measurement stopped working

Describe the bug
When I am doing initAuth() in pages / _app. Google analytics stopped working. Without initAuth() measurement works normally.
I don't know if it is necessary to add measurmentId to init ({}), but generally I don't know exactly where. Especially since I randomly added measurmentId to the object in many pleaces, but it didn't change anything.
Versions
next-firebase-auth version: ^1.0.0-canary.8
Firebase JS SDK: ^9.6.9
Next.js: latest
Update:
I just movedinit()to useEffect  without dependencies in _app.js and it started working normally.

Thanks! I spent so long trying to debug this

That fix worked!
However, I now am running into an issue on pages using withAuthUserTokenSSR({

Thanks for the issue.
This library just passes the firebaseClientInitConfig to firebase.initializeApp (see here), so the config structure should be the same.
Are you spelling measurementId correctly? Your issue description is missing an "e".
@davidwitten It's totally fine to initialize Firebase yourself like you're doing. If an app is already initialized, the library will just use that app. Just curious, does this approach work for you? I'm wondering if the analytics have to be initialized before next-firebase-auth or if it doesn't matter.
initAuth()
const firebaseApp = getApp()
const analytics = getAnalytics(firebaseApp)

function MyApp({ Component, pageProps }) {
    return <Component {...pageProps} />;
  }

We could initialize analytics automatically if measurementId is set in firebaseClientInitConfig. This would be a small change to in initFirebaseClientSDK.js. My only concern if is it would increase bundle size to import firebase/analytics.

@kmjennison I checked to spell, probably seven times, I was not this reason.

Maybe adding enable-analytics: true inside init can be solution? @kmjennison

It's possible. As I mention above, we would just need to ensure that doesn't increase the bundle size for people who don't use the analytics functionality.

Makes sense, is there any hack that we can do for now?
initAuth()
const firebaseApp = getApp()
const analytics = getAnalytics(firebaseApp)

did not work for me.

@davut You can initialize Firebase yourself. Here is some example code:
https://github.com/gladly-team/next-firebase-auth/discussions/61#discussioncomment-323977
That isn't a "hack". This library initializes Firebase as a convenience, but it's totally fine to do it yourself to customize things.

What if it firebase js version 9?
is import firebase from 'firebase/app' same as import firebase from 'firebase/compat/app' ? I am still getting the some errors with the version 9 :/.

Closing this: apps should initialize Firebase themselves when additional Firebase init customization is required.

authors: davidwitten davut kmjennison rilmasaker

repo: gladly-team/next-firebase-auth


text:
glasskube ls should not show latest available version if installed version is newer than latest

Is your feature request related to a problem? Please describe.
Output of glasskube ls when having installed keptn in a later version than latest:
 go run cmd/glasskube/main.go ls
NAME                  STATUS         VERSION                              AUTO-UPDATE
argo-cd               Not installed
cert-manager          Ready          v1.14.2+1
cyclops               Not installed
ingress-nginx         Not installed
keptn                 Ready          v2.0.0-rc.1+1 (v0.10.0+1 available)
kubernetes-dashboard  Not installed

Describe the solution you'd like
In the above scenario, "(v0.10.0+1 available)" should not be shown because the version marked as latest is older than the version installed.
Describe alternatives you've considered
Additional context

Hey @christophenne can I take this issue?

Hey there @hanshal101 as recently mentioned in the updated contributor guidelines, we would really appreciate issues being done one at a time. I see you are assigned on at least one other issue, how is that one coming along?

Well this looks good for me:
PS H:\glasskube> .\main.exe ls
NAME                  STATUS         VERSION                                  AUTO-UPDATE
argo-cd               Ready          v2.10.5+1 (v2.10.4+1 available)
cert-manager          Ready          v1.14.2+1                                Enabled
cyclops               Not installed
ingress-nginx         Not installed
keptn                 Ready          v2.0.0-rc.1+1 (v2.0.0-rc.2+1 available)
kubernetes-dashboard  Not installed

Please have a look at our discussion yesterday, where I tried to explain this: https://github.com/glasskube/glasskube/pull/461#discussion_r1551978737
If the version marked as latest, is older than the version installed, we do not want to show the text "(v2.10.4+1 available)".

@hanshal101 do you want to work on it?

Yup

repo: glasskube/glasskube


text:
🛑 Schoelcher is down

In d5d22c0, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 4d11c1c.

repo: glefait/martinique-public-websites


text:
🛑 Schoelcher is down

In 34ba046, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 002c65b.


text:
🛑 Schoelcher is down

In 9354cd6, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in ed40ad8 after 5 minutes.


text:
🛑 Schoelcher is down

In 3986169, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 3a2740a.


text:
🛑 Schoelcher is down

In dfd764d, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 6aa7057 after 7 minutes.


text:
🛑 Saint-Pierre is down

In 45e4faf, Saint-Pierre (https://saintpierre-mq.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Saint-Pierre is back up in 01f824f after 5 minutes.


text:
🛑 Schoelcher is down

In 50a236a, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in b76f68b.


text:
🛑 Technopole Martinique is down

In 3cd5d16, Technopole Martinique (https://www.technopolemartinique.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Technopole Martinique is back up in 8fc42dd.


text:
🛑 Schoelcher is down

In b308aeb, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 32231db.


text:
🛑 Schoelcher is down

In 2546134, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in f531872.


text:
🛑 Schoelcher is down

In 968e27d, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 1e6cde0.


text:
🛑 Schoelcher is down

In 4c0d49e, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in b2ea90d.


text:
feat: Expose hover handler to be used as a handler

Hey @glepnir , I'd like to be able to do this:
vim.lsp.handlers["textDocument/hover"] = require('lspsaga.hover').handler

to be able to to make lspsaga just integrate into the rest of my builtin LSP stuff.
In general, I think it'd be cool to expose the handlers to be consumed a bit more independently if you don't mind.
Anyway, thanks, just checking out the plugin today :)

Love you

<3

authors: glepnir tjdevries


text:
Cmake Warnings : CMAKE_INTERPROCEDURAL_OPTIMIZATION

I'm getting this warning when using glfw currently.
CMake Warning (dev) at build/_deps/glfw-src/src/CMakeLists.txt:82 (add_library):
  Policy CMP0069 is not set: INTERPROCEDURAL_OPTIMIZATION is enforced when
  enabled.  Run "cmake --help-policy CMP0069" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  INTERPROCEDURAL_OPTIMIZATION property will be ignored for target 'glfw'.
This warning is for project developers.  Use -Wno-dev to suppress it.

This is because I set these variables:
    # Turn off IPO for every config except release
    set(CMAKE_INTERPROCEDURAL_OPTIMIZATION OFF)
    set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE ON)

I believe the easiest way to solve this problem is like this:
cmake_minimum_required(VERSION 3.1...3.12)

To be clear I realize you could just set the policy explicitly, however I believe accepting a range like as shown above would be beneficial for newer projects that use newer versions of cmake.

Accidentally closed the issue.

cmake_minimum_required(VERSION 3.1...3.12)

Neat, TIL. Enabling the specific policy will still be necessary in order to cover CMake 3.9 to 3.11, but it may be a good idea to specify a maximum version too.

repo: glfw/glfw

license: Zlib


text:
Inconsistent window crashing bug

I've found an inconsistent bug, that results in an instant crash. The crash happens when I press any media buttons on my keyboard.
I have a Corsair K70 RGB keyboard. It's the media keys in the top right corner, that causes the crashing.
It should be mentioned that I'm not trying to detect whether any of the media keys are pressed, I was just casually pausing my background music, while having my application running and it crashed.
I wanted to figure out what caused it, so I naturally tried getting it to crash again.
I would launch my application press the Play/Pause media key and it would crash. The weird and inconsistent part is that sometimes it happened 5 times in a row, of launching, press and crash. But sometimes it didn't crash.
If it didn't crash by the first press, I tried moving the window and pressing the button, which also caused it to crash a few times. All in all, after continuously pressing the Play/Pause key it would eventually crash the application (something like 9/10 times).
I don't consider this a crucial bug, but it is a rather peculiar one.
I do have a GLFW error callback, but it didn't print anything before crashing.
static void errorCallback(int error, const char *description)
{
	printf("GLFW Error: [%d]: %s\n", error, description);
}

I'm using Visual Studio Express 2013, and at the time of the crash the debugger would either show/go here mostly:

and a few times:

I'm using GLFW 3.2.0.

This issue can be closed, as I figured out the problem and it's actually entirely my fault.
For some reason I never checked whether the key returned by the key callback was GLFW_KEY_UNKNOWN.
Further I have a wrapper, to simplify GLFW, which looks like this:
class GLWindow
{
    GLFWwindow *window;

    bool keyDownBegin[GLFW_KEY_LAST + 1];

    ...

Which is (obviously) why the debugger would trigger, as modifying keyDownBegin[-1] would modify parts of window (considering no padding was added).

Thank you for the follow-up!

authors: MrVallentin elmindreda


text:
In-ellipsoids

Feature description
I would like to be able to get the in-ellipsoid of 2 and 3 dimensional shapes. The in-ellipsoid is analogous to the insphere in that its the ellipsoid with the largest volume that can fit inside the center of a shape, with the in-ellipsoid's center being shared with the actual shape.
Proposed solution
the inellipsoid could just be a property accessible from different shape objects. As far as implementation goes, there is an open source matlab version here (https://www.mathworks.com/matlabcentral/fileexchange/24693-ellipsoid-fit), but a faster implementation would obviously be welcome.
Additional context
To fix some issues I'm having with theory predicting especially elongated effective shapes, the insphere can be replaced with the inellipsoid to alter the shape kernel so the effective shapes predicted by theory can be correct. Having it available in coxeter would create a simple python API for my theory calculations.

The concept seems fine, but please use a more descriptive name to clearly indicate the properties of the ellipse/ellipsoid. Recall that in coxeter the insphere is very specifically used for the case of a sphere tangent to all faces of a polyhedron, with minimal_centered_bounded_sphere probably being the sphere analog of what you really want. So probably minimal_centered_bounded_ellips[e|oid] is what you're going for.

Do you mean maximal_centered_bounded_sphere, not minimal_centered_bounded_sphere? Either way, I think the proper name for this property should be maximal_centered_bounded_ellipse.

Yup, that's what I mean, and your name sounds right to me.

I've looked further into what would be needed to implement this feature. The implementation I referenced in the previous post is an implementation for fitting an ellipsoid, not finding the maximal inscribed ellipse, so that can't be used to implement this feature.
I've looked further into what would be needed, and the solution to this problem involves solving a minimization problem of one variable subject to a few constraints. We would likely need another package (like https://www.cvxpy.org/) to solve the minimization problem.
For my own use case, I can get by without the true maximal inscribed ellipse, and I'm not very motivated to learn another package to implement a feature that isn't a must-have.
I'm going to close this issue for now. It's possible I'll need the true maximal ellipse at some point, at which point I may re-open this.

authors: tommy-waltmann vyasr

repo: glotzerlab/coxeter


text:
控制器比较少的时候，怎样修改从左边开始排列

如果只有一两个子控制器的时候如何巨左排列

@IOSBrickhouse 可使用自定义PageView，具体可参考Demo

authors: IOSBrickhouse gltwy

repo: gltwy/LTScrollView


text:
修改config后无法创建管理员

提示：PHP Parse error:  syntax error, unexpected '$value' (T_VARIABLE) in /home/wwwroot/www.axed.ml/vendor/aws/aws-sdk-php/src/functions.php on line 36

安装composer

感谢～～

问题解决了吗？

问题已解决，安装composer