text:
Standard compliant ES Modules format

Feature Request
RxJS should come in a standard compliant (browser-friendly) ES Modules format.
Describe the solution you'd like
The _esm5 and _esm2015 are close to what we need, but still far from standards. First of all, ES Modules means the browser definitely supports ES6, so no need for esm5 output to be honest.
Next, the _esm2015 format still misses .js file extensions and without them it is impossible for the browser to know what are we trying to load (it works literally as with script src or css link, it needs to point to the exact file, browser will not check for multiple locations as each check has a network latency cost). Furthermore, the _esm2015/internal/Rx.js file has bunch of imports (rxjs-compat) based on Bare Module Specifier (which is strictly a node.js resolution system, not existing in the browser).
In order for the format to be standard compliant, it needs to point to exact file on the server.
Describe alternatives you've considered
So far the only 2 ways of dealing with the issue is to have the server that rewrites the path or bundle the output. As bundling is often a must on production anyway, it is not needed on many development workflows, as it would only slow down the browser reactivity to changes. Path rewrites on-the-fly however work only for custom servers. Some projects use existing tools and writing custom logic just makes more code to maintain, not to mention possible bugs slowing down the development. It would be great to just fetch the file from cdn and not care about further post processing.
This issue has been raised already in #2858 and #3858 but so far both issues are closed and locked as resolved (which is not how it is). Back then browser support for ES Modules could have been lower, but at this moment we have all of the major browsers having a stable implementation enabled by default which gives over 80% of the browsers supporting the feature (node.js also supports it now behind the flag). I really think supporting this format should be a high priority for rxjs.
P.S. Adding module field to package.json would also be a nice addition to the above.

Yes, one of issue closed unexpectedly and new issue would be ok to track down further.
It is no doubt we will support native es module, but there are some things need to be resolved including issues you described already. In major, we probably will visit this with upstream support arrives https://github.com/Microsoft/TypeScript/issues/16577 , rather than trying to having custom postbuild processing.

The provided issue on TypeScript GH doesn't really bring any hope, quite opposite actually. Is there any chance to push it forward with rxjs itself? If not with this repo, maybe with a separate one (like it used to be with rxjs-es)?
Side note: just thought of how nice (in my personal opinion) would it be to have separate format packages like @reactivex/esm, @reactivex/umd etc :).

Well, the reasoning is dev environment without tools.
With the current state of ES features implemented across modern browsers, projects could be built without any sort of build process which simplifies maintenance by a lot, also reducing number of possible bug sources. Obviously production will heavily benefit from building (due to tree shaking and other code optimizations), but development could be simplified by a lot (even allowing to edit source files directly via chrome dev tools).
Moreover having native modules would allow the use of custom cdn (unpkg sometimes has performance issues).
Current module system aren't native and require 3rd party libraries to make it work. For a project using es modules, the only way for development is to use custom servers (or write additional custom logic for own server if project has one) or use bundlers like webpack, which requires additional configuration and thus consumes project time + makes it more complex/error prone.
I understand many (if not most) projects currently is based on bundlers, but it is because we didn't have native modules before. Now we have them and development cycle will start to change. Having more big libraries (like RxJS) be compatible with it would make the transition faster.

but it is because we didn't have native modules before. Now we have them and development cycle will start to change

100% agreed. It's just matter of when. Still, I feel it's bit rough & edgey to make changes right away. All details you mentioned are good, but I doubt you can immediately changes your dev pipeline even if rx ships with es module right away - there are other dependencies doesn't have es module right now that you can't use, isn't it? I agree having some big player will give an acceleration of those trends though.
In short, clarifying, I am not opposed to this implementation itself but I would like to have proper support from upstream & release proper module build doesn't potentially breaking / regresses by having internal tooling to workaround.

As to me, I am currently working on an RxJS based Web Components base class where I am trying to limit the npm dependencies to absolute minimum and try to utilize the browser native api as much as possible (currently got literally 4 folders in node_modules aside of dev dependencies like karma etc). Things will probably grow, but so far everything all I needed was RxJS (1 dep), lit-html (0 deps) and immutable (0 deps) to build a full app. Aside of RxJS, everything works natively in the browser, my custom server fixes paths just for RxJS and I would prefer to not maintain its code :).
I fully understand you prefer to wait a bit, was just hoping anything can be done as a temporary solution. If not, well I guess all we can do is wait.

Hi there, a little update on the TS side of this: https://github.com/Microsoft/TypeScript/issues/16577#issuecomment-448747209
According to a Program Manager of TypeScript they will most likely not implement this, so it's all up for rxjs (and others) to handle this.
If you need more hands on this (either to plan/discuss the functionality or with pure coding), I am here to help, just no rush, I understand this is not a highest priority.

Hi @kwonoj did anything change on your side about the above? I've hit this again as a partial blocker and am wondering how far from resolving it is.

Ah, just ran into this trying to use the ESM version of the build.

This should really be fixed on rxjs level, typescript will not implement it on their side, and it would be good to have rxjs browser friendly.

@frehner minor nit but we never provided native esm, our pkg clarifies it's es-import syntax module only. those 2 are different.

I'm keeping an eye on this issue and with node.js's native esm supports without .mjs extension give a few attempts. Unfortunately, until several upstream issues resolved it is not possible to publish our package correctly can be consumed in browser / node.js side.
When issue first created I assume tsc extension issue is only problem but it wasn't - node.js side module property to allow module resolutions, and properly importing esm across our references, make testing work (node.js won't allow native esm module import via require cjs), etcs
Once all these blockers are good to go, we'll make attempt to create major breaking semver with alpha to try out. Sadly, it won't happen soon in current state in my opinion.

That's understandable. Well, fingers crossed to have it fixed as soon as possible, even though it's not going to be soon.

@frehner minor nit but we never provided native esm, our pkg clarifies it's es-import syntax module only. those 2 are different.

Hm, I'm probably reading this wrong then:

Published along with rxjs 5.5 is builds of rxjs in ECMAScript Module format (imports and exports) with both ES5 and ES2015 language level.

But in any case, I understand it may require some work. Thank you for your response.

FYI for anyone looking for a version of rxjs that works in browsers with a standard import, check out https://github.com/esm-bundle/rxjs. It autopublishes new versions as rxjs is published. It provides only three bundles, instead of individual javascript files. But for those that find that interesting, I've used it for a while now and it works 😄.
Example usage (try it in the browser console!):
(async () => {
  const rxjs = await import('https://unpkg.com/@esm-bundle/rxjs/esm/es2015/rxjs.min.js')
  const operators = await import('https://unpkg.com/@esm-bundle/rxjs/esm/es2015/rxjs-operators.min.js')

  console.log(rxjs, operators)
})()

Code Sandbox demonstration
There's even both es2015 and es5 versions for all you Angular differential loading people :)

This is really unfortunate. They should switch to ESM modules.
Also because their README doesn't work as described. Right now it says npm install rxjs and a few lines later import { range } from "rxjs"; which as of now doesn't work, because RxJS still uses the old exports object

This issue is not only for browsers. Node v14 has unflagged native ESM modules, and v14 is nearing LTS release. It would be cool if RxJS was to work with both browsers and node out of the box with ESM syntax, with the additions of file extensions on files and imports. It's probably possible to do as a build step.

We have internal goals to make this happen indeed, but we can't guarantee to align with node 14's LTS or provide specific timeframe. There were couple of attempt to make pkg isomorphic to provide cjs / esm compliant both but it was way tricker with how rxjs is currently packaged.

Alright, thanks for your response! RxJS is indeed a large project with many different build targets. It's nice to hear that it's under consideration ✌

Another work around is using a service like https://www.skypack.dev/view/rxjs
It's basically the hack from @Grunet but the service resolves the paths and caches the result for you on a CDN.
You might need some additional manual type stitching to get intellisense working.
@Draccoz , I came across this thread as I was trying to pull-off a build-less project with web components and lit-html. I feel the web community is near a turning point to embrace native esm imports. I agree with @kwonoj that other libraries probably don't have native esm support either. But that's a chicken and egg problem for bootstrapping any new standard. Pika CDN (now Skypack) seems to be doing meaningful work to convert as many modules as possible. Given that rxjs (at least v5) had the spirit of pushing Observable into JavaScript Standards with TC39, it would make total sense to also embrace other standards such as native esm modules. Fingers crossed we can get rxjs running as native modules in the near future. And thank you for the amazing work rxjs community!

Meh, closed by accident.
Yea, had the identical project idea (web components + lit + RxJS), native modules would be fantastic. For now I'll stick to my simple dev server with path rewriting. Will see which direction to head towards later.

Ugh... accidentally refiled here: https://github.com/ReactiveX/rxjs/issues/6030

With import-maps being landet in Chrome 89, there is higher interest for ESM.
TBH, rxjs is the only package in the angular toolchain that doesn't work out of the box with import-maps.
The workaround is to rollup rxjs and rxjs/operatos and provide that bundle (like FESM2015).
I'm not getting what the real challenge here is.
Adding a .js file extension to the imports shouldn't be that hard, or am I missing sth?
cheers
flash ⚡

This issue seems to hold most of the discussion around adding js file extensions. It still seems to be ongoing but this maybe relevant comment was the last one before it was closed.

Also FYI for anyone else in the "browser dev environment" + "doesn't want to bundle" (and not using an ES module CDN tool like Skypack) camp, but the "use a web server to rewrite the paths to include the file extensions" trick doesn't seem to work as of recent versions (at least 6.5.5 according to this issue) because of a new dependency on tslib.
I went ahead and updated my express middleware workaround mentioned above to also rewrite all the from "tslib" statements into from <relative path to the tslib ESM bundle>, and it seems to be working okay now
const path = require("path");
const fs = require("fs");
const slash = require("slash");
const trimEnd = require("lodash.trimEnd");

app.use("/node_modules/rxjs/", (req, res, next) => {
  if (!req.url.includes(".js")) {
    req.url = trimEnd(req.url, "/") + ".js";
  }

  const absPathToRxJsFile = path.resolve(
    path.join(staticAssetsRootDir, "node_modules/rxjs", req.url)
  );

  fs.readFile(absPathToRxJsFile, (err, data) => {
    if (err) {
      next(err);
      return;
    }

    const absPathToTsLibFile = slash(
      path.join(
        path.relative(absPathToRxJsFile, staticAssetsRootDir),
        "node_modules/tslib/tslib.es6.js"
      )
    );

    const modifiedRxJsFileText = data
      .toString()
      .replace(/from "tslib"/g, `from "${absPathToTsLibFile}"`);

    res.setHeader("content-type", "text/javascript");
    res.send(Buffer.from(modifiedRxJsFileText));
  });
});

("staticAssetsRootDir" is the absolute path for the folder containing the "node_modules" folder)
Also related FYI but the folder containing ES module versions of rxjs moved in v7 (it seems to be under dist/esm/ for ES6 or dist/esm5/ for ES5 now) so all the import paths I mentioned in my previous workaround comment would also need to be updated

Core Team: We've decided to wait to see how the ecosystem evolved around this for now. That's not to say it's not going to happen. Just we're not ready to deal with this just yet.

On over 2 years ticket :D but yea, I get it, it's better to wait than to get into unnecessary maintenance and/or standard compatibility issues.

Luckily I'm stuck with Angular now, so don't need to wait for it, but would be good to at least know some estimates. 3 years is quite some time for that to implement, especially that all it needed (back then, didn't have time to check now), was remove the tslib and add file extensions, which could be done with a prepublish npm script. If help is needed, I'll be happy to contribute.

There is one installation guide^1 on mentioning how to fit with bundle tooling regards to es2015 (and ESM) been added in PR #6637, at least it works as a workaround for now.

Do you consider using esbuild to create ESM bundle? It support TS, it's fast, it's a single command so easy to implement. If that's an option, I can try to make a PR.

I was wondering why rxjs is blowing up my project with exports is not defined.

@muratcorlu ECMAScript Modules don't need to be bundled, the browsers have native support now for importing modules without all these unnecessary bundling steps and libraries.  I feel like that point is largely lost on the rxjs team, who seems to be sticking with a 2010's based idea of web development, but marketing it as real ES Modules.  But.... they're not, because you can't just import the module in a browser, because it's still relying on bundlers/packagers/Node, whatever.  It's not a native ESM yet.

authors: Buslowicz Draccoz FractalHQ Grunet benlesh chuanqisun csvn flash-me frehner imcotton joeldenning kwonoj muratcorlu oldmansutton zjopy

repo: ReactiveX/rxjs


text:
feat: google oauth option

Issue Description

Build an UI to provide users option to login with Google along with current GitHub auth.
Refer this PRD for more details.
Expected Behavior

User should have an option to login with Google..
Current Behavior

All users can only login with GitHub auth whether they are dev or not.
Screenshots

N/A
Severity/Priority

[ ] Critical
[ ] High
[x] Medium
[ ] Low

Checklist

[x] I have read and followed the project's code of conduct.
[x] I have searched for similar issues before creating this one.
[x] I have provided all the necessary information to understand and reproduce the issue.
[x] I am willing to contribute to the resolution of this issue.

Hi @Mir-SA, Can I have this one assigned to me If the required UI still has not been done?

hi @jusPankaj, i'm actually working on it at present.

source: gharchive/issue

authors: Mir-SA jusPankaj

repo: Real-Dev-Squad/website-www

license: MIT

license_type: permissive

license_source: github-api


text:
raylib data types not properly freed

The destructors should also re-init the data after calling the unload function. For example:
~this()
{
    image.UnloadImage;
    image = image.init;
}

It seems I actually don't need to do it, so closing the issue...


text:
Setup basic image for RPi Zero.

Create base image for Pi Zero, Ubuntu 22.04LTS, ROS2, kernel 6.2.
Save image in RPi images directory.
Things that need to be added are:

[x] Base image with whatever I have now.
[ ] Flow sensor.  On image but not tested.
[ ] Launch files.
[ ] Documentation.

Base image saved. Things that need to be added are:

[ ] Flow sensor.  On image but not tested.
[ ] Launch files.
[ ] Documentation.

Tested base image but sd card would not boot. Starting again using card P3.
0h30

Installed 6.2 kernel and libcamera tools. Back up taken.
2h20 2h50

Setup workspace.  Not 100% working but scripts all work.
1h00 4h30

repo: RealRobotics/pi-rugby-ball


text:
[Question] How to use custom font familly?

Is it possible to change the default font familly ?
How Can I do that?

Is it possible to change the default font familly ?
How Can I do that?

Yes.
You can use custom fonts as many as you want.
here is link from the official flutter website showing how to do the same.

authors: Gausoft aadarsh-patel


text:
Added json results

I propose the addition of a json formatted file to represent the Receipt data, which is generated if the corresponding option is enabled in the config file. This would allow an easier processing of the data produced by the parser.
I am not sure it is implemented in the best way possible, so I am fully open to recommendations and improvements.

Hey @Lyro1,
thanks for your contribution. I really like this idea. I will rename the txt folder to out shortly and fix the extension (see comment) since the global file naming is inconsistent but other than that, great pull :)
Regards,
William

source: gharchive/pull-request

repo: ReceiptManager/receipt-parser-legacy


text:
Update invitation.yml

removed some unwanted details

@sanjay-kv please merge this PR

Thanks you did amazing job

repo: Recode-Hive/Stackoverflow-Analysis


text:
Multi arch build support

This patch adds multi arch build support for arm64 as well as amd64. A single manifest is created on quay. The correct image will be pulled for the platform doing the pulling.

/retest

repo: RedHatInsights/clowder


text:
Ensure that cloud.redhat.com address is not wired in the code

Ensure that cloud.redhat.com address is not wired in the code

cloud.redhat.com address is not used anywhere in the code


text:
issue found on: server/auth.go:84:28: commentFormatting

an issue has been detected in source code: ./server/auth.go:84:28: commentFormatting: put a space between // and comment text

This issue has been fixed already.


text:
Use fedora 33,  set large --max-http-header-size

Closes #38.

[x] raised limit so unlikely to happen.
[x] if happens, returns clearer "431 Request Header Fields Too Large" instead of "400 Bad Request".
[ ] if happens, log still doesn't show anything.  I think that's OK given the clear http code.

New image size is 403MB, down from 616MB.
Pushed image to quay.io/redhat-sd-devel/insights-proxy:pull-39.

Nice! LGTM

Tested locally, I'm getting
[INSIGHTS] An error occurred while resolving an ESI tag for the prod.foo.redhat.com host
[INSIGHTS] [While requesting GET|https://prod.foo.redhat.com:1337/apps/chrome/snippets/head.html|Accept:text/html, application/xhtml+xml, application/xml]: Error: [While requesting GET|https://prod.foo.redhat.com:1337/apps/chrome/snippets/head.html|Accept:text/html, application/xhtml+xml, application/xml]: Parse Error: Content-Length can't be present with Transfer-Encoding
[INSIGHTS]     at TLSSocket.socketOnData (_http_client.js:509:22)
[INSIGHTS]     at TLSSocket.emit (events.js:315:20)
[INSIGHTS]     at addChunk (internal/streams/readable.js:309:12)
[INSIGHTS]     at readableAddChunk (internal/streams/readable.js:284:9)
[INSIGHTS]     at TLSSocket.Readable.push (internal/streams/readable.js:223:10)
[INSIGHTS]     at TLSWrap.onStreamRead (internal/stream_base_commons.js:188:23) {
[INSIGHTS]   bytesParsed: 571,
[INSIGHTS]   code: 'HPE_UNEXPECTED_CONTENT_LENGTH',
[INSIGHTS]   reason: "Content-Length can't be present with Transfer-Encoding",
[INSIGHTS]   rawPacket: <Buffer 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 41 63 63 65 73 73 2d 43 6f 6e 74 72 6f 6c 2d 41 6c 6c 6f 77 2d 4f 72 69 67 69 6e 3a 20 2a 0d 0a 41 ... 1156 more bytes>,
[INSIGHTS]   request: {
[INSIGHTS]     url: 'https://prod.foo.redhat.com:1337/apps/chrome/snippets/head.html',
[INSIGHTS]     headers: { accept: 'text/html, application/xhtml+xml, application/xml' },
[INSIGHTS]     gzip: true,
[INSIGHTS]     method: 'GET'
[INSIGHTS]   }
[INSIGHTS] }

Parse Error: Content-Length can't be present with Transfer-Encoding

Looks like this is a problem in the Akamai configuration. The response for the ESI snippets contains both transfer-encoding: chunked and content-length: 967.
Newer NodeJS refuses to parse this response as having both these headers together could allow for an HTTP request smuggling attack.
@karelhala is there any way this can be fixed in the Akamai side? otherwise we'll have to keep insights-proxy using an old version of NodeJS forever

curl output (click to expand)
curl -vk -H "accept: 'text/html'" https://prod.foo.redhat.com:1337/apps/chrome/snippets/body.html
*   Trying 127.0.0.1:1337...
* Connected to prod.foo.redhat.com (127.0.0.1) port 1337 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /etc/pki/tls/certs/ca-bundle.crt
*  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: C=US; ST=North Carolina; L=Raleigh; O=Red Hat Inc.; CN=qa.cloud.redhat.com
*  start date: Aug 30 19:28:40 2019 GMT
*  expire date: Aug 29 19:28:40 2021 GMT
*  issuer: O=Red Hat; OU=prod; CN=Certificate Authority
*  SSL certificate verify ok.
> GET /apps/chrome/snippets/body.html HTTP/1.1
> Host: prod.foo.redhat.com:1337
> User-Agent: curl/7.76.1
> accept: 'text/html'
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, PATCH, DELETE
< Access-Control-Allow-Headers: X-Requested-With,content-type
< Access-Control-Allow-Credentials: true
< server: AkamaiNetStorage
< content-type: text/html
< etag: "73bfd4948b393352ac0e95611e6d03a5:1619630947.460165"
< x-frame-options: SAMEORIGIN
< x-content-type-options: nosniff
< x-fms-debug-esi: 1
< vary: Accept-Encoding
< cache-control: max-age=147
< date: Thu, 20 May 2021 08:37:45 GMT
< connection: close
< transfer-encoding: chunked
< content-length: 967
<
* Closing connection 0
* TLSv1.3 (OUT), TLS alert, close notify (256):

Loading...

Q: why is it fetching the snippet back from the proxy — https://prod.foo.redhat.com:1337/apps/chrome/snippets/head.html ?
I'd expect it to fetch it directly from Akamai at https://cloud.redhat.com/apps/chrome/snippets/head.html — which has content-length: 623 but no transfer-encoding.

$ curl -v --insecure --header 'Accept:text/html, application/xhtml+xml, application/xml' https://cloud.redhat.com/apps/chrome/snippets/head.html
*   Trying 2a02:14a:102:38a::d7c:443...
* Connected to cloud.redhat.com (2a02:14a:102:38a::d7c) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=North Carolina; L=Raleigh; O=Red Hat, Inc.; CN=openshift.redhat.com
*  start date: Oct  5 00:00:00 2020 GMT
*  expire date: Jun 16 12:00:00 2021 GMT
*  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=GeoTrust RSA CA 2018
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x55e136ce2370)
> GET /apps/chrome/snippets/head.html HTTP/2
> Host: cloud.redhat.com
> user-agent: curl/7.71.1
> accept:text/html, application/xhtml+xml, application/xml
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
< HTTP/2 200
< server: AkamaiNetStorage
< content-length: 623
< content-type: text/html
< x-frame-options: SAMEORIGIN
< x-content-type-options: nosniff
< x-fms-debug-esi: 1
< etag: "5b5d59be2fed6ae1f1d2621238595da5:1619540476.787924"
< cache-control: max-age=579
< date: Sun, 23 May 2021 15:16:18 GMT
<
* Connection #0 to host cloud.redhat.com left intact
<meta http-equiv="x-ua-compatible" content="ie=edge"/><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/><base href="/"/><link rel="icon" type="image/png" href="https://access.redhat.com/webassets/avalon/g/favicon.ico"/><link rel="stylesheet" href="./apps/chrome/chrome.0d00ed5011a5960e863520db902007c3.css"/>

All the requests are going trough the proxy even though they are then fetched from cloud.redhat.com. I'll take a look what could be done with it.

authors: cben elad661 karelhala

repo: RedHatInsights/insights-proxy


text:
Bump-up Go version to 1.16 on CI

Bump-up Go version to 1.16 on CI

Updated in https://github.com/RedHatInsights/insights-results-aggregator-data/pull/151


text:
BUG: cve show -r --raw output is not formatted accooring to the schema

Command:
cve show -r --raw
Expected:
{
    "cveMetadata" : {
        "cve_id": "CVE-2022-36249",
        "cve_year": "2022",
        "owning_cna": "DIVD",
        "requested_by": {
            "cna": "DIVD",
            "user": "f.breedijk@divd.nl"
        },
        "reserved": "2022-11-07T11:55:12.047Z",
        "state": "PUBLISHED",
        "time": {
            "created": "2022-11-07T11:55:12.049Z",
            "modified": "2022-11-07T16:03:20.456Z"
        }
    },
    "containers": {
        "cna": {
            "affected": [
                {
<snip>

Got:
[
    {
        "cve_id": "CVE-2022-36249",
        "cve_year": "2022",
        "owning_cna": "DIVD",
        "requested_by": {
            "cna": "DIVD",
            "user": "f.breedijk@divd.nl"
        },
        "reserved": "2022-11-07T11:55:12.047Z",
        "state": "PUBLISHED",
        "time": {
            "created": "2022-11-07T11:55:12.049Z",
            "modified": "2022-11-07T16:03:20.456Z"
        }
    },
    {
        "containers": {
            "cna": {
                "affected": [
                    {
<snip>

@MrSeccubus That's because it's the output of two different API calls, one to get the object representing the CVE ID reservation, and the other is the CVE record object. We chose to put them in as two items of an array to still have a valid JSON object as a result.
The CVE record object (the second item in the array) is a full record that is valid against the 5.0 schema; you'll notice it has the cveMetadata object within itself. The CVE ID reservation object is not the part of the schema under cveMetadata. In the actual schema, that object looks like this:
"cveMetadata": {
            "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
            "assignerShortName": "redhat",
            "cveId": "CVE-2021-20311",
            "datePublished": "2021-05-11T22:30:47",
            "dateReserved": "2020-12-17T00:00:00",
            "dateUpdated": "2021-05-11T22:30:47",
            "state": "PUBLISHED"
        },

which is different from what the API returns:
{
        "cve_id": "CVE-2022-36249",
        "cve_year": "2022",
        "owning_cna": "TEST",
        "requested_by": {
            "cna": "TEST",
            "user": "TEST_USER"
        },
        "reserved": "2022-11-07T11:55:12.047Z",
        "state": "PUBLISHED",
        "time": {
            "created": "2022-11-07T11:55:12.049Z",
            "modified": "2022-11-07T16:03:20.456Z"
        }
    }

If you're parsing the JSON output, and want the record only, you could simply use the second item in the array. If you have any ideas on how to improve this, do let us know :wink:.

Damn! I see what you mean and my PR #45  then doesn't fix this either :-(
I think the help test of cve show -h is misleading.
Options:
  -r, --show-record  Show full CVE record in JSON v5 format.
  --raw              Print response JSON.
  -h, --help         Show this message and exit.

It says that with -r it should return a full cve record.
But, if I take the output of cve show -r --raw CVE-2022-36249 and validate it against the schema, it simply doesn't validate because you are not showing the full record, you are showing an array with the full record and the data of the reservation.
In my opnion -r should show the full record and the full record only.
I have updated PR #45 to change this.

What I was looking for is a cve command to run that would return the full record to me so I could send it to a json file.
cve show -r --raw CVE-2022-36249 >CVE-2022-36249.json doesn't produce a json file with a cve record in it
cve show -r CVE-2022-36249 >CVE-2022-36249.json doesn't produce a valid json file with a cve record in it because it has this header
cve show -r CVE-2022-36249 |jq .[1]>CVE-2022-36249.json might do the trick, but it is not obvious from the docs that this is what you need to do.

Agreed, I guess showing the full record only when the option is specified is the less surprising and would make your first command work as you'd expect.

authors: MrSeccubus mprpic

repo: RedHatProductSecurity/cvelib


text:
ZXing is not scanning on Android (Xamarin app)

Hi,
I am using below code to scan a QR code. I am able to view the camera streaming but it is not scanning any QR code.
How can I fix this please?
public void Scan()
{
try
{
scanner.Options = new MobileBarcodeScanningOptions()
{
UseFrontCameraIfAvailable = false, //update later to come from settings
PossibleFormats = new List(),
TryHarder = true,
AutoRotate = false,
TryInverted = true,
DelayBetweenContinuousScans = 2000,
};
    scanner.VerticalOptions = LayoutOptions.FillAndExpand;
    scanner.HorizontalOptions = LayoutOptions.FillAndExpand;

    // scanner.IsVisible = false;

    scanner.Options.PossibleFormats.Add(BarcodeFormat.QR_CODE);
    // scanner.Options.PossibleFormats.Add(BarcodeFormat.DATA_MATRIX);
    // scanner.Options.PossibleFormats.Add(BarcodeFormat.EAN_13);

    scanner.OnScanResult += (result) => {
        // Stop scanning
        scanner.IsAnalyzing = false;
        scanner.IsScanning = false;

        if (scanner.IsScanning)
        {
            scanner.AutoFocus();
        }

        // Pop the page and show the result
        Device.BeginInvokeOnMainThread(async () => {
            if (result != null)
            {
                await DisplayAlert("Scan Value", result.Text, "OK");
            }
        });
    };

    mainGrid.Children.Add(scanner, 0, 1);
}
catch (Exception ex)
{
    DisplayAlert("Scan Value", ex.ToString(), "Error");
}

}

Seems like I have pretty much the same issue:
I did try out the FormsSample, but on my android-device there is no continuous update of the camera (no video) - there is just ONE picture (like a photo) and no scanning.

In my app QR scanning works fine with 2.2.9 version, but not works at all with update to 2.3.2.

It wasn't working for me, until I only selected CODE-128 as the only format. Android is way slower as you already know

In my app QR scanning works fine with 2.2.9 version, but not works at all with update to 2.3.2.

Just encountered the same problem in 2.4.1 when trying to use ZXing with Xamarin on Android for the first time and rolling back to 2.2.9 seems to have fixed it

authors: Charly01 jrahma lbushby skir victorarce

license_source: bigquery


text:
Xamarin forms binding

For the default overlay:
Created bindable properties that proxy to the underlying controls. Currently attempting to bind properties on the default overlay does not work because the BindableProperty associated with it is missing.
Added an additional property to handle the toggle flash button click via bindable command instead of event so the overlay behaves better with MVVM patterns and avoids code behind the XAML.
For the Scanner view:
Added bindable command to handle scan result, for the same rationale as above.
Changed RaiseScanResult to call the command In addition to the event.
Also changed RaiseScanCommand to use the null conditional operator (?.) instead of the old event invocation pattern.

I really like this.
Can you clean up some of the noise in the commits though?  There's quite a few changes to spacing and such that aren't really related to this code.

You'll have to forgive me, I'm quite the git noob, can you give me somewhere to start on how to fix that? I realized that after the commit was done, but was unsure how to fix it.
I was the one that gave you that BigNumber change for upstream a while ago, changed my username in the meantime.
Also, never did say thank you so much for developing this, it's been so helpful.

AppVeyor is having trouble building for some reason. I merged master to see if that was the issue and it wasn't. I ran cake locally and build was fine.
Here's my powershell output for my local build via ./bootstrapper.ps1
========================================
nuget
Executing task: nuget
Creating directory C:/Users/JasonC/Source/Repos/ZXing.Net.Mobile/Build/nuget
Attempting to build package from 'ZXing.Net.Mobile.temp.nuspec'.
Successfully created package 'C:/Users/JasonC/Source/Repos/ZXing.Net.Mobile/Build/nuget\ZXing.Net.Mobile.2.0.0-beta9999.nupkg'.
Attempting to build package from 'ZXing.Net.Mobile.Forms.temp.nuspec'.
Successfully created package 'C:/Users/JasonC/Source/Repos/ZXing.Net.Mobile/Build/nuget\ZXing.Net.Mobile.Forms.2.0.0-beta9999.nupkg'.
Finished executing task: nuget
And from AppVeyor:
[00:04:15] ========================================
[00:04:15] nuget
[00:04:15] ========================================
[00:04:15] Executing task: nuget
[00:04:15] Creating directory
[00:04:15] C:/projects/zxing-net-mobile/Build/nuget
[00:04:15] An error occured when executing task '
[00:04:15] nuget'.
[00:04:15] Error: Input string was not in a correct format.
[00:04:16] Command exited with code 1
[00:04:16] Unregistering Xamarin license...
[00:04:17] OK

authors: Redth jasoncouture


text:
wtrSurf key not read from GRASP V1.12

The rslt key wtrSurf is not appearing in Python when reading output from GRASP V1.12. The format of the headers in the text output likely has changed.

It seems that this is just a results of us commenting out retrieval.products.surface: True in the most recent version of GRASP, since that particular YAML setting throws an error. The setting we actually know want is the following:
retrieval:
    products:
        surface:
            main_characteristics: true

This is actually not an issue with this repo (since it has no YAML files) but I did update the one GRASP V1.12 YAML in the simulation repository. (That's commit #1a80bed)


text:
%server:online% off by 1 on player join / leave

When embedded in the player join or leave message the %server:online% is off by 1 because it sends the message before the player has fully joined, or just before they have fully left.
This likely is difficult to fix. I personally would like it if I could do a maths on the variable. by doing +1 or -1. that way it is accurate.
Or... if it is easy to fix, I'd obviously prefer that.

Intended behavior, but I'll fix it by adding a post_online placeholder

Fixed in this commit

gimme your PayPal or something. this was really fast and deserves rewarding.

Thanks for the compliment. Unfortunately I feel it's unethical to receive money for an MIT licensed project.

authors: Reimnop SulpherStaer


text:
fix(core): do not collect component twice, closes #177

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Docs
[ ] New Binding issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes, and the changes were approved in issue #___
[x] No

Checklist

[x] When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
[x] I have added a convincing reason for adding this feature, if necessary

Other information

Could you first report a bug and provide a minimal reproduction?

If PR is a bugfix, it's better to associate it with an issue, or create it if there is no existing issue, thanks a lot!

This solution is not good enough, for this case, a tuple can be used as a stack item to avoid the need to find each time.

I've opened a draft PR #178 and you can either update the changes to this PR to that, or just let me merge that in.

Close this, you can just merge #178


text:
Support for SMARTS environment

Hello,
Are there any plans for supporting the SMARTS platform in the foreseeable future?
Thanks.

Will support in the future but not too soon.

authors: OscarBastardo Theohhhu

repo: Replicable-MARL/MARLlib


text:
哪里注册软件账号？软件界面只有登入

系统版本：[WIN8.1 X64]
软件版本：V0.1.0.63
重现步骤：

打开设置，没有显示注册账号页面，使得无法使用软件。求指点

https://zhuhua-my.sharepoint.com/personal/mrs4s_myonedrive_pw/_layouts/15/onedrive.aspx#id=%2Fpersonal%2Fmrs4s_myonedrive_pw%2FDocuments%2F工具%2FBaiduPanDownloadWpf&FolderCTID=0x012000ACE1D43796E0ED4AB390825984DFF01F

建议将注册.exe放入源码中~。~

@langren1353 release里本来就带 注册机.exe啊

@DingpingZhang Release中有，但是Source中没有P_P

@DingpingZhang 跪求QQ群二群

@langren1353 因为那个本来就临时加的，因为我界面没搞好。。。以后肯定不是这么注册的

@DingpingZhang 一群已经满了。。。。加不进去了，吹牛都找不到地方，要不你也建一个吧

@langren1353 不建。。。╮（﹀＿﹀）╭
我觉得QQ群挺水的，不好玩。。。2333

@langren1353 QQ群经常清潜水人员的，申请下就行，基本上一两天就清理一次。

repo: ResourceHunter/BaiduPanDownloadWpf

license: mit


text:
Why this plugin is not mentioned on official doc?

Hi,
Can you tell me why this plugin has not been mentioned on Revenuecat's official doc here: https://www.revenuecat.com/docs/ionic

Hey @Sampath-Lokuge The plugin has been made by me not RC that why it's still not in they doc.
Good news is they saw people started to use this package and they like it.
They will to take the lead on it and integrate it in they ORG and Doc.
We don't have timeline for this it look a bit busy on they side, but still mark on TODO.
You can safely use this plugin :)

Hi! Yes! as @riderx said, RevenueCat has taken over this plugin and we have just released the first beta of the plugin with version 6.0.0-beta.1. We are working in adding documentation to the official docs, and should be ready soon.
Going to close this for now.

authors: Sampath-Lokuge riderx tonidero

repo: RevenueCat/purchases-capacitor


text:
Python解释器的源码绑定

插个眼

using Pybind11 to bind Python.

repo: Reverier-Xu/ISAE


text:
WD Task: Re-implement in a more robust way

The task now lives for the entire application duration, even if the
application missed checking-in in time.
Also the WD code is greatly simplified
Signed-off-by: Avi Shukron avraham.shukron@gmail.com

@Reznic ?

@Reznic ?

Hi,
We tried this before.
the sleeps for large amounts of times greatly reduce our fps, and sampling rate.
That was solved by using async sleep.
There is another way, by comparing timestamps in each interation,
but it's ugly, maybe heavy to add many comparisons each interval,
and also we'll have to do it twice - for the sleep in the wd driver, and the sleep in the wd task.
So unless we choose the ugly timestamp comparisons,
we have no choice but use threads for the WD - the previous threads.Timer solution

That doesn't make any sense now since the WD is in its own task.
I ran the app with my changes. No lag and no FPS degredation

That doesn't make any sense now since the WD is in its own task.
I ran the app with my changes. No lag and no FPS degredation

Ok
but we need to check on raspi.
And I recommend profiling the app with cProfile. (can be done on laptop as well)
It shows you exactly how much time each method takes.
We did it in the past, so call me if you'l have questions

authors: Reznic avrahamshukron

repo: Reznic/Inhalator


text:
Add --force-update to update when metadata changed but photo did not

Describe the bug
I have a use case of continual export using --update. I noticed recently that this behavior changed where it no longer re-exports photos that have their photo metadata updated. I tried adding the --ignore-signature flag to handle this, but it looks like that does not trigger as well.
To Reproduce
Steps to reproduce the behavior:

What' the full command line you used with osxphotos?
osxphotos export --download-missing --album fits\ 🧢 --use-photokit --skip-live --skip-original-if-edited --filename "{created.date}:{original_name}" --update --ignore-signature --convert-to-jpeg --post-function ./scripts/transform_exported_fits_into_db.py::post_function --preview ./fits-export

Expected behavior
Not sure if this is a bug or if I need to do something else to get this working, but my essential flow that I would like is for the post_function to be run for any photo that has changed since my last run (if the photo itself hasn't changed it doesn't need to re-export, but it's fine if it does).
Desktop (please complete the following information):
OS Big Sur
osxphotos, version 0.45.3

Version 0.45 was a major rewrite of the export code so it could be a bug. However, the photo should only be updated if the actual image changed or if the metadata changed and you're also using --exiftool or --sidecar.  Does your post processing function rely on the metadata?
If osxphotos was previously exporting photos when only metadata was updated and you weren't using --exiftool or --sidecar then that was actually a bug (which it sounds like your workflow depended on)
I'll investigate--in the meantime you could roll back to 0.44.x
If 0.45 is working "correctly" as designed then I could add a flag to force --update to export if metadata changed even if the image itself didn't

ah yeah my post-processing does rely on the metadata (specifically I peek at description and whether it is favorited to save in a JSON). adding --update to export if metadata changed even if image didn't would be perfect!

A --force-update option would force a photo to be updated (re-exported) if any of the metadata changed.  This can be implemented be using the exifdata table already in the export database to compare metadata.  exifdata is currently not set if --exiftool wasn't used though so that will require a code change in PhotoExporter()

Possibly related, but also I guess more trickier to address, I've noticed the following behaviour:

Run export with update and exiftool and keyword_template = [ "{keyword}", ]
Run export again with update and exiftool and keyword_template = [ "{keyword}", "{label}", ]
The pics are not exported with the new
As it is not an actual change of the pic, nor a change of metadata but a change of config/data to export is not detected and processed.

I have a workaround which is to delete the exported files (in batches to run this over several cycles) and run export/update

BTW, I noticed that keyword_template defines the values to be set by exiftool on the keywords and subject fields. I imagine this to be intentional.

Possibly related, but also I guess more trickier to address, I've noticed the following behavior:

This is a bug.  When --exiftool is used with --update, osxphotos should consult the export database which stores a copy of the last computed metadata (with all templates like "{label}") expanded and should re-export the photos.  I thought I had a test case for this but apparently I don't or it's not catching this.  I'll take a look.

BTW, I noticed that keyword_template defines the values to be set by exiftool on the keywords and subject fields

Yes, this was by design because different apps treat these differently. I believe I modeled this on what Photos did when exporting with "export keywords as IPTC" but would have to go back and check Photos behavior.  I've tried to hit every EXIF, XMP, ITPC field that could be related so that metadata would be preserved regardless of which app was reaading the data.  But of course, with no metadata standard that's widely agreed on, this is very much a guessing game.

@spencerc99 I've added a --force-update in v0.45.9  This will force a re-export if any of the photo metadata changes (e.g. title, keywords, albums, etc.)  I had to update the export database schema to make this work so the first time you run it, it may re-export everything but once the database is upgraded, it should work as described in this issue.

I spoke too soon...hold off on updating for now.  After pushing the update I noticed some edge cases where this doesn't behave as expected.

OK, I think this is fixed in v0.45.10.  The way --force-update works means you should always use --force-update or --update but not switch between them. When run with --force-update, osxphotos saves a hash of the photo's metadata to compare to the next time it's run.  The first time you run --force-update on an existing export, it will need to re-export all the photos because the metadata hash won't be computed yet.

It wouldn't hurt to use a fresh export folder.  If you don't osxphotos should delete the files that need to be re-exported.
If you can wait a few days I'd do so as I'm in the middle of a refactor of all the "should a photo be updated" code (see #630 ) because there are some combinations of options that aren't handled 100% correctly in the current code. I have a design for a much better implementation but won't get to it until the weekend.

That sounds amazing. No rush from my end — will happily await the refactor + update :) appreciate your dilligence on this front

@spencerc99 I've updated osxphotos to v0.46.0 which is a major rewrite of the export / update logic.  I think you'll find --update/--force-update are working much better in this version but let me know if you run into any issues!

upgraded and did a quick test and it works like a charm :) thanks so much!

sorry to keep banging this one but I'm noticing some behavior that makes sense given the functionality you added but not exactly ideal.
Basically, it seems like apple's tagging system may not be stable (labels, peopleCount)? and so I'm observing all of my photos getting re-exported without any intentional action from me. Wondering if there's any way to have another property to narrow down the set of metadata (really I only care about the ones that I change (i.e. description, favorite status). Wondering if you've encountered this apple issue before

sorry to keep banging this one but I'm noticing some behavior that makes sense given the functionality you added but not exactly ideal.
Basically, it seems like apple's tagging system may not be stable (labels, peopleCount)? and so I'm observing all of my photos getting re-exported without any intentional action from me. Wondering if there's any way to have another property to narrow down the set of metadata (really I only care about the ones that I change (i.e. description, favorite status). Wondering if you've encountered this apple issue before

Actually this just happened and I wonder if it's because I uploaded to the new Mac OSx yesterday.. On a repeated run immediately after it does not seem to change. Will keep an eye out for the next week to see if I run into this issue again!

Basically, it seems like apple's tagging system may not be stable (labels, peopleCount)? a

That's correct. In particular, labels can be recomputed when there are changes to the photo library.  It's a process that runs in the background and if you updated MacOS, added a bunch of photos to the library, etc. they may get recomputed.

Wondering if there's any way to have another property to narrow down the set of metadata (really I only care about the ones that I change (i.e. description, favorite status). Wondering if you've encountered this apple issue before

@spencerc99 in v0.48.4 I've added a new ExportResults.metadata_changed property to ExportResults which gets passed to your --post-function.  This should allow you to get notification of any metadata changes, even for files that are not exported, when using --update.  For example:
""" Example function for use with osxphotos export --post-function option """

from typing import Callable

from osxphotos import ExportResults, PhotoInfo

def post_function(
    photo: PhotoInfo, results: ExportResults, verbose: Callable, **kwargs
):
    for filename in results.metadata_changed:
        verbose(f"post_function: {filename} metadata changed (uuid={photo.uuid})")

authors: RhetTbull oPromessa spencerc99

repo: RhetTbull/osxphotos


text:
有个课程不能下载

http://www.icourse163.org/learn/BIT-1001870002
试试这个地址，会有error

Tell my which error you meet?
Only "error" cann't help me to find out the reason.

好吧，my fault
【第二周】数据分析之展示 单元6：实例2：引力波的绘制
视频: "0 “引力波的绘制”实例介绍.mp4" "http://v.stu.126.net/mooc-video/nos/mp4/2017/04/17/1006127188_9af594feff0a4e59bf377973d2fae914_shd.mp4"
视频: "1 “引力波的绘制”实例绘制（助教）.mp4" "http://v.stu.126.net/mooc-video/nos/mp4/2017/04/20/1006131155_c44d6d75242e4546bc32845fc3cb1092_shd.mp4"
文档: "DV06单元学习资料.pdf" "http://nos.netease.com/edu-lesson-pdfsrc/4F3CE9D77C244A4ED279D3EFF7AE2ED8-1492649801047?NOSAccessKeyId=7ba71f968e4340f1ab476ecb300190fa&Expires=1497321470&Signature=gnGaIZUBdzkuXjW5kVSvm6vKm3dx4oDOYeA95cDUNYA%3D&download=DV06-实例2-引力波的绘制.pdf"
Traceback (most recent call last):
File "C:\Users\fff99\Desktop\python\cn-mooc-dl-master\icourse163-dl.py", line 215, in
main(course_url)
File "C:\Users\fff99\Desktop\python\cn-mooc-dl-master\icourse163-dl.py", line 133, in main
lesson_name = model.clean_filename(model.raw_unicode_escape(lesson_re.group("lesson_name")))
File "C:\Users\fff99\Desktop\python\cn-mooc-dl-master\model\download.py", line 59, in raw_unicode_escape
return string.encode('utf-8').decode('unicode_escape').encode('gbk', 'ignore').decode('gbk', 'ignore')
UnicodeDecodeError: 'unicodeescape' codec can't decode byte 0x5c in position 0: \ at end of string
[Finished in 4.9s]

This is reason,when script try to get "富文本："引力波的绘制"实例代码" with the wrong lesson name "\" return.
s85.anchorQuestions=null;s85.attachments=null;s85.chapterId=1002308118;s85.contentId=1002471050;s85.contentType=4;s85.gmtCreate=1492651930132;s85.gmtModified=1496133730245;s85.id=1003189888;s85.jsonContent="{\"nosKey\":\"1C6BB42E53E59653F0FBB0DCA6C20824-1492650051135\",\"fileName\":\"grawave.zip\"}";s85.lessonId=1002796569;s85.live=null;s85.liveInfoDto=null;s85.name="\"\u5F15\u529B\u6CE2\u7684\u7ED8\u5236\"\u5B9E\u4F8B\u4EE3\u7801";s85.position=19;s85.resourceInfo=null;s85.termId=1001963001;s85.unitId=null;s85.viewStatus=5;
As this script needn't rich text.
You can fix it temporarily by change model.download.raw_unicode_escape.
def raw_unicode_escape(string: str) -> str:
    try:
        st = string.encode('utf-8').decode('unicode_escape').encode('gbk', 'ignore').decode('gbk', 'ignore')
    except UnicodeDecodeError:
        st = string
    return st

Thanks!

authors: Rhilip sirius-fan

repo: Rhilip/cn-mooc-dl


text:
Connection failed code: 1000, text:

anyone see this error?
I have this error happening frequently
"Connection failed, underlying error: server closed connection,code: 1000,text:"

yes same issue any solution?

looks like whatsapp stopping this client. Even other clients like https://github.com/sigalor/whatsapp-web-reveng are also not working.

I have problem to reconnect, reading a new QR code works..

Even QR code also not getting generated. @gvn182 can you tell us how you are generating QR code?

I use Whatsapp reveng python and there qr is working..

Hai, I have some problem Connection failed code: 1000, text:. I try see web.whatsapp and I get message ws
1587435287.--0,["admin","init",[2,2013,7],["Mac OS","Chrome","10.15.4"],"v2zYRN9qQ+OHWxegMgNsPA==",true]
I try change client version to 2,2013,7 but connection timeout. And I try add client version "10.15.4" for client name and login succesfully.
So, I add variable clientVersion   string in conn.go file.
In session.go file I change SetClientName function to
func (wac *Conn) SetClientName(long, short, version string) error { 	if wac.session != nil && (wac.session.EncKey != nil || wac.session.MacKey != nil) { 		return fmt.Errorf("cannot change client name after logging in") 	} 	wac.longClientName, wac.shortClientName, wac.clientVersion = long, short, version 	return nil }
I change in Login function and other function with code
login := []interface{}{"admin", "init", waVersion, []string{wac.longClientName, wac.shortClientName}, session.ClientId, true}
to
login := []interface{}{"admin", "init", waVersion, []string{wac.longClientName, wac.shortClientName, wac.clientVersion}, session.ClientId, true}
Sorry my bad language.

@ramacatur this worked however when you logout whatsapp and reopen, you need to re generate QR Code,other way it gives code 1000 text: etc.
:((((((

Yes, session restoration is not working.

in file session.go line 372
replace
login := []interface{}{"admin", "init", waVersion, []string{wac.longClientName, wac.shortClientName}, b64ClientId, true}
login := []interface{}{"admin", "init", waVersion, []string{wac.longClientName, wac.shortClientName, "10.15.4"}, b64ClientId, true}

@ramacatur this worked however when you close whatsapp and reopen, you need to re generate QR Code,other way it gives code 1000 text: etc.
:((((((

In file session.go, Restore function, change this code 👍
init := []interface{}{"admin", "init", waVersion, []string{wac.longClientName, wac.shortClientName}, wac.session.ClientId, true}
to
init := []interface{}{"admin", "init", waVersion, []string{wac.longClientName, wac.shortClientName, wac.clientVersion}, wac.session.ClientId, true}

Any patch to make things back to normal?

Yes, a pull request was opened and things are working.

repo: Rhymen/go-whatsapp


text:
Come up with an OpenMetrics logo

Here's a poll: https://99designs.com/contests/poll/82b674ddd0
@RichiH would be great if you can share with everyone so we can vote and make a decision.
Let me know if you have thoughts on any creative directions.

https://99designs.com/contests/poll/818aae0710 and https://99designs.de/social-media-pack/contests/create-logo-open-source-project-openmetrics-793724/poll/82b674ddd0/vote have different logos. Are there even more in some place? If yes, how can I access those?
I currently have four logos shortlisted, but would like to sleep on it and not influence anyone by sharing my thoughts just now.

I added my votes.

@SuperQ I updated the poll link: https://99designs.com/contests/poll/82b674ddd0 sorry about that

In our call, the consensus leaned towards 132, maybe with a slight sprinkling of 273's more explicit nod towards an actual graph.
A nice extra would be if the other logos would integrate nicely with this, e.g. a Kubernetes or Prometheus  logo within the OM logo. I am not sure if that will work, though.

Thanks Richie, I'll see if 132 can do a variation as requested and get this
locked down :)
On Tue, Feb 13, 2018 at 3:07 PM, Richard Hartmann notifications@github.com
wrote:

In our call, the consensus leaned towards 132, maybe with a slight
sprinkling of 273's more explicit nod towards an actual graph.
A nice extra would be if the other logos would integrate nicely with this,
e.g. a Kubernetes or Prometheus logo within the OM logo. I am not sure if
that will work, though.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/RichiH/OpenMetrics/issues/74#issuecomment-365404502,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD5IXh0XiYEd1uKcMk349B2krSeUaP_ks5tUfmggaJpZM4R7yfw
.

--
Cheers,
Chris Aniszczyk
http://aniszczyk.org
+1 512 961 6719

logo files here: openmetrics.zip

I'll add those to the repo.

Between those two, I hugely prefer 132.

I've cc'd you on an email to Alex who can make some tweaks to the logo. You
requested a tweak to 132 that was applied but maybe it wasn't to your
liking.
On Sun, Feb 18, 2018 at 2:54 PM, Richard Hartmann notifications@github.com
wrote:

Between those two, I hugely prefer 132.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/RichiH/OpenMetrics/issues/74#issuecomment-366517811,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD5IS7h7ZsFkcHtXmRNAf7ksG1YHhM2ks5tWCuwgaJpZM4R7yfw
.

--
Cheers,
Chris Aniszczyk
http://aniszczyk.org
+1 512 961 6719

Another suggestion by Alex Contini

https://github.com/RichiH/OpenMetrics/pull/86

authors: RichiH SuperQ caniszczyk

repo: RichiH/OpenMetrics


text:
is_pointer_over_area() doesn't work for the console

    egui_context.ctx_mut().is_pointer_over_area()

Appears to not recognize the console. This was also recently not working for bevy_inspector_egui but works now, so I suspect this is a console bug.

I believe fixed in #29

repo: RichoDemus/bevy-console


text:
Clear scrollback on Ctrl+L

bash, powershell, fish etc. clears on ctrl+l
It's pretty ingrained in my muscle memory, so thought I'd add it.

Neat addition, thanks!

authors: johanhelsing makspll


text:
Error on Generic name with TypeScript Generate code

Today I try to refresh my TS proxy and NSwag generate a broken file.
this is the generate code
   getAuditLogs(input: GetAuditLogsInput): ng.IPromise<PagedResultDto`1OfOfAuditLogListDtoAndApplicationAnd_0AndCulture=neutralAndPublicKeyToken=null> {

Can you provide some sample code (controllers etc) to repro this?

Hi @RicoSuter
thanks for your quick response.
I investigate on our API Server and I found a change that broken the NSwag.
So I look in  our solution and we have a 2 methods that return same object name with different implementation.  To solve this issue we put
Configuration.Modules.AbpWebApi().HttpConfiguration
                .EnableSwagger(c =>
                {
                    c.SingleApiVersion("v1", "web.Api");
                    c.ResolveConflictingActions(apiDescriptions => apiDescriptions.First());
                    c.UseFullTypeNameInSchemaIds();
                    //c.SchemaId(x => x.FullName);
                    c.DescribeAllEnumsAsStrings();
                })

We are in a .NET solution 4.6.x and we are moving to .NETCore so we try to use
     c.SchemaId(x => x.FullName);

In this way the Swagger UI works fine but NSwag doesn't work, so we rollback with
     c.UseFullTypeNameInSchemaIds();

with this configuration swagger and also NSwag works.

authors: RicoSuter andmattia

repo: RicoSuter/NSwag


text:
Move structs and serialization to protobuf standard.

Currently packets are serialized and deserialized using .NET's binary formatter (Marshal.StructureToPtr) that reads/writes fields in order of declaration in given struct. It also keeps fields aligned to number of bytes specified by Pack variable.
This is not the best way to handle this since it's not easy to find out how fields are aligned, what is the byte order, how fields are stored, etc. Generally this is confusing - see this discussion for example.
We want to move to Protocol Buffers to use widely available serialization and data structure library that should be able to pack and unpack packets properly in all environments.

Seems sensible, perhaps you can confirm a few details..
1). You mentions on #4 that the old protocol will remain available (I guess at least for a while). Does this mean that the REQ packet requesting Headset or Controller will 'just' increase 'ProtocolVersion' and receive a different IP:Port to talk ProtoBuf at?

{
"RequestedEndpointName":"HeadTracking",
"ProtocolVersion":1, <---- ie, this changes.
"Code":1
}

2). Protobuf does not (natively) support total message lengths, at least not for the Python implementation. Will the communications remain as one protobuf packet in each REQ/REP transaction?
3). Will you provide '.proto' files (rather than the C++ outputs) to enable easy porting to other languages?

Something like this, yes. ProtocolVersion field will be used to decide which endpoint to create on the server side. Probably it will be the same ip:port because endpoints are client-exclusive now. If you request an endpoint while some other app is using it, it will response with InUse code.
Not decided yet but probably yes. Most likely one ZMQ frame will equal to one protobuf byte[] blob.
Yes. We plan to include .proto files in this repo. This way we can make sure that data layout is exactly the same on both client and server side.

It's currently being tested in 1.5.0 beta but docs were not updated yet.

Finally updated public code to protobuf + v3
https://github.com/RiftCat/vridge-api/commit/68f0d71cb174a6286631d86610f31649428e8f97
.proto available here;
https://github.com/RiftCat/vridge-api/blob/master/src/vridge-api.proto

authors: balukin mungewell

repo: RiftCat/vridge-api


text:
Translated README.md to English

I have translated the README.md file to english language using google translate

Duplicate #9

repo: RioChndr/pray-time-website


text:
Enable fstrim in the config

services.fstrim.enable = true;

Completed commit:49261d2


text:
🛑 Catbox is down

In 17e5d77, Catbox (https://catbox.moe/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Catbox is back up in 03ca923.

repo: RitsuProject/ritsu-status


text:
does post-processing was implemented by using tokenflow+tune a video?

could you please provide more detail about how to implement this mechanism?

Sorry for the delayed response. Our core editing model utilizes Tokenflow for video editing. We’ve designed a pipeline that automatically converts colored meshes into a texture UV map and optimizes this texture map based on the results from Tokenflow.

authors: River-Zhang blacksino

repo: River-Zhang/SIFU


text:
resolved issue with images not showing in deployment

Naming Rules
Name your PR like this: ISSUENUMBER-TITLE-YOURNAME
Description
Images weren't reflecting when saved in the public/images folder, i have since moved the images to the back-end and create a route for it to be accessed via the "api/images" path.
Related to
Make sure you include the issue number with a hash sign # so Github can link this PR to the right issue, like this:
Fixes #1
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have carefully reviewed my own code
[ ] I have commented my code
[ ] I have updated any documentation

Trust the changes are merged well

authors: Riyaazct chandredewet

repo: Riyaazct/no-bugs-edufocus-za

license: ISC


text:
Add isConnected() function

to see if sensor is available

fixed in 0.3.0 release

fixed in 0.3.0 release


text:
read temperature using sensor address

Is it possible?
For eg.  sensor.getTempC(SENSOR_ADDRESS);
I can't find in documentation.

Thanks for the question.
Will check for an answer later (almost diner time here)

First this library does not support the call as you propose.
This library uses the paradigm of one sensor per IO pin so you don't need to use any address.
You always know e.g. that inside is pin4 and outside is pin5, even after replacing sensors your sketch will just work.
That said, under the hood it uses an address, the first address it finds with
bool isConnected(uint8_t retries);

The question is:  what do you expect the function call you propose should do?
possible scenario's
So one could pretty easy implement an
float getTempC(SENSOR_ADDRESS)
{
  if (SENSOR_ADDRESS != internal address) return -127;  //  typical error code for the DS18B20
  return getTempC();
}

or
float getTempC(SENSOR_ADDRESS)
{
  internal address = SENSOR_ADDRESS;
  return getTempC();
}

Two straightforward implementationd that differ a lot in behavior.

@rozrabiak
Q: The question is: what do you expect the function call you propose should do?

As there is no answer on my question, I close this issue.

authors: RobTillaart rozrabiak


text:
Refactor code

Is your feature request related to a problem? Please describe.
Some parts of the code are ugly and should be refactored for readability.

This can also include a global variable list. Now, we have some numbers which are kind of vague and can be replaced by global constants

This should also include a more logical directory structure (especially on the backend side of things).

repo: RobbinBaauw/CSHub


text:
Add patch to resolve kernel panic when using CAN devices

This affects the 3.8-13-boneX releases.  There is an issue with the c_can.ko kernel object, which was corrected in version 3.11 of the Linux kernel.  The link below includes a sample of the crash, along with how to resolve it.
http://socket-can.996257.n3.nabble.com/Beaglebone-Black-System-Crash-using-SocketCAN-td7702.html
I have a patch file created and tested.  I can verify that this resolves the issue.
https://github.com/psyklopz/bb-kernel/blob/3.8.13-bone72/patches/net/0010-backport-patch-to-fix-kernel-panic-caused-by-c_can-driver.patch
I would like to submit a pull request to you, but want to work with you so that it can be done in the format that you desire.  Below are additional links of users experiencing the same problem.  I know this affects commercially-available CAN capes as well.  Please let me know how I can be of assistance.
http://comments.gmane.org/gmane.linux.can/5151
https://groups.google.com/forum/#!topic/beagleboard/JL6aSRc0b7E

Nice find! If you want, i can just take the patch as is:
https://github.com/psyklopz/bb-kernel/blob/3.8.13-bone72/patches/net/0010-backport-patch-to-fix-kernel-panic-caused-by-c_can-driver.patch
and integrate it into the patch script. (i'll also push it out as bone72 shortly)
Regards,

oh. very interested in getting this sorted.
I think this will likely affect the rt-can RTDM driver in the Xenomai variant as well which is based on the same code.

I have it in the patch script as well, on a branch on my github.  Also did the favor of bumping the version number.
https://github.com/psyklopz/bb-kernel/tree/3.8.13-bone72

I'll just cherry pick that.. ( i have a few things queued after bone71. ;) )

and pushed out:
https://github.com/RobertCNelson/bb-kernel/commits/am33x-v3.8
and queued up on the builder...
https://github.com/beagleboard/linux/tree/3.8 (well shortly, just waiting for 1000 git am's)
Regards,

I've notified Steve for the RT-CAN side
eventually we'll have to patch both the socketCAN and RT-CAN drivers in the Xenomai tree

I'll build bone72 just as you have released it, and verify that everything works (as it should!).  Expect me to close this issue sometime tomorrow.

Looks like the relevant change is that the check for "EoB" (End of Block) was previously happening before checking for "Message Lost" on each message object, and if EoB was encountered you'd return from the do_rx_poll routine rather than moving on to the next message object. It wouldn't have been an issue for my application because all incoming message objects would have had EoB set anyway, so I don't think I would have caught this!
I'm also not 100% sure if this really affects the RT version because of possible differences between RT Socket CAN and regular Socket CAN.

Yes, the merged in code does switch the order of the EoB check and the Message Lost check, which was another change made for the 3.11 kernel.  However, it also fixes an issue where pm_runtime_get_sync() was called from an interrupt.  Apparently, this is not allowed and triggers the kernel panic.
10/31/13 Commit, fixes RX handling
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/net/can/c_can/c_can.c?id=5d0f801a2ccec3b1fdabc3392c8d99ed0413d216
11/25/13 Commit, fixes kernel panic
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/net/can/c_can/c_can.c?id=e35d46adc49b469fd92bdb64fea8af93640e6651

Thanks. In my RTDM port, that call to pm runtime get sync that got removed
is no longer there because of differences from socket can to rt socket can,
so I hadn't mentioned that part in my comment.
Steve
On Jun 15, 2015 5:29 PM, "Eric Wright" notifications@github.com wrote:

Yes, the merged in code does switch the order of the EoB check and the
Message Lost check, which was another change made for the 3.11 kernel.
However, it also fixes an issue where pm_runtime_get_sync() was called from
an interrupt. Apparently, this is not allowed and triggers the kernel panic.
10/31/13 Commit, fixes RX handling
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/net/can/c_can/c_can.c?id=5d0f801a2ccec3b1fdabc3392c8d99ed0413d216
11/25/13 Commit, fixes kernel panic
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/net/can/c_can/c_can.c?id=e35d46adc49b469fd92bdb64fea8af93640e6651
—
Reply to this email directly or view it on GitHub
https://github.com/RobertCNelson/bb-kernel/issues/13#issuecomment-112243992
.

authors: RobertCNelson mhaberler psyklopz sbattazzo

repo: RobertCNelson/bb-kernel


text:
Wrong type definition for jsonb&json type in postgres

https://github.com/RobinBlomberg/kysely-codegen/blob/474295a01003f0cc5f2b5f2fb9259e2f6c5f5686/src/dialects/postgres/postgres-adapter.ts#L75
This should be string or object, not number.

True! That is decidedly a typo. As soon as I have time (probably later today), I'll add something like this:
export type Json = JsonArray | JsonObject | JsonPrimitive;

export type JsonArray = Json[];

export type JsonObject = { [K in string]?: Json };

export type JsonPrimitive = boolean | null | number | string;

...

{
  json: new IdentifierNode('Json'),
  jsonb: new IdentifierNode('Json'),
},

Fixed!

repo: RobinBlomberg/kysely-codegen


text:
Email alias @._

Hey, how do we achieve this ?
http://prntscr.com/apng7t
I tried using placeholder, but with no luck :(

@BenasPaulikas ,
For this you need to alter the email alias.  Remove the optionality of one of the last parts
Maybe I could make this the default.  @._ looks more clear as placeholder

I think more people are putting x@domain.com rather than x@localhost or something :D ?

authors: BenasPaulikas RobinHerbots


text:
Problems with eigenvector

array([[ 8.30060239e+01,
[ 3.62382715e+01,
[-2.02953062e+00,
[ 3.65334519e-03,
[ 2.69058151e+01,
[-2.37457767e+01,
[-2.67653494e+01,
[-2.86296451e+00,
[-1.84055308e+00,
This is the dot product between the first several eigenvectors and an all-ones function.
This appears to be off. Since the first eigenvectors is supposed to constant function and eigenvectors are orthogonal, aren't the numbers starting from the second one all supposed to be zero?
For reference, this is both the case for both robust and non-robust laplacian, regardless of the use for intrinsic representation.

Computing eigenvectors directly from np.inv(A)@W seems to give the correct eigenvalues, but I used the resulting eigenvectors to reconstruct shapes, the results is horrible(turns an apple into a spiky ball)
Using lobpcg seems to produce the correct eigenvalues AND the correct reconstruction.

Hi,
The code is fine, this is just a small mistake on your side.
The eigenvectors are not orthonormal with respect to the standard inner product, but rather with respect to the $L^2$ inner product on the surface. You can also check that they are not normalized with respect to the standard inner product.
The $L^2$ inner product is defined as $\langle f, g \rangle = f^\top A g = \sum_i A_{ii} f_i g_i$, where $A$ is the area matrix. There is a l2_inner method in the TriMesh class in the package.
In the code, this comes from the fact the Laplacian is defined as $\Delta = A^{-1} W$, with $A$ the area matrix and $W$ the stiffness matrix, and that we obtain the eigenvectors solving the generalized eigenproblem $W\Phi_j = \lambda_j A \Phi_j$. In that case, the $\Phi_j$ are orthonormal with respect the the inner product induced by matrix $A$.

authors: JunzheJosephZhu RobinMagnet

repo: RobinMagnet/pyFM


text:
@push to parent extends inside @embed

Hi,
would be great to be able to @push something from the @embed directive to the parent.
Example:
component.blade.php
@yield('content')
@push('js')
  <script>alert('pushed 1!');</script>
  @stack('js')
@endpush

layout.blade.php
@yield('content')
@stack('js')

page.blade.php
@extends('layout')
@section('content')
  @embed('component')
    Should push two scripts!
    @push('js')
      <script>alert('pushed 2!');</script>
    @endpush
  @endembed
@endsection

this will never be possible.
the embed directive has been created in such a way that it does not share the environment. This is done on purpose. This way its possible to create sections with the same name and provides other functionality that i dont know out of the top of my head.

You actually don't share anything with the environment. @push if used inside the component itself, actually push the content to the parent, while using it inside @embed push to the component. I don't see a break on the concept, or am I wrong?

it would break:
component
@yield('content')
@stack('js')

view
@embed('component')
   @section('content')
   @show
   @push('js')
   @endpush
@endembed

<!-- somehwere else --->
@stack('js')

@RobinRadic
It's different from what I mean; the way you used the @push would actually break the directive, but if you look at https://github.com/RobinRadic/blade-extensions/issues/57#issue-165743835 you could see that it won't break.
This way would be useful to develop a modular component which could have scripts included to the parent stack, for example to the bottom of the page (as recommended in yahoo dev).

if id implemented that, everyone using the way i mentioned will be forced to change their code. so it breaks backward compatibility.
use
view()->getFactory()->startPush('js')

alternatively, make a custom directive @parentpush or something.

I've created the @parentpush and @endparentpush directives this way:
AppServiceProvider.php
Blade::directive('parentpush', function($expression) {
  return '<?php view()->startPush(' . $expression . '); ?>';
});

Blade::directive('endparentpush', function() {
  return '<?php view()->stopPush(); ?>';
});

And used this way:
component.blade.php
@yield('content')
@parentpush('js')
  <script>alert('pushed 1!');</script>
  @stack('js')
@endparentpush

layout.blade.php
@yield('content')
@stack('js')

page.blade.php
@extends('layout')
@section('content')
  @embed('component')
    Should push two scripts!
    @push('js')
      <script>alert('pushed 2!');</script>
    @endpush
  @endembed
@endsection

Got perfectly working!

authors: RobinRadic vabatta

repo: RobinRadic/blade-extensions


text:
[cleanup] Move mapping into urc_perception and remove unused code in urc_perception

Description
TODO
Expectation: The thing which does the thing does the thing
Self Checklist

[ ] I have formatted my code using ament_uncrustify --reformat
[ ] I have tested that the new behavior works

This PR is getting too large, so decided to break it up into multiple smaller PRs to make validation easier. Closing.

Has the current A* implementation been tested with these changes? We can move forward with this PR as it is, and subsequent PRs can clean up other parts of the codebase.

Also tested on the rover and everything still works. LGTM.

repo: RoboJackets/urc-software


text:
Avoid accessing the enemyRobots vector out of bounds

[x] The tests are passing

Summary
Added a check for the length of the enemyRobots vector before indexing it to set the enemyRobots of defenders. Without this check, the vector could be accessed outside of bounds if there are less than two enemy robots visible, leading to issues.
Checklist for the reviewer
This acts as a guide to help you and/or the reviewer to analyze the code.
functionality

Is the code is properly tested?
Is the code working as expected
Is the code is understandable and easy to read
Are proper abstractions made? (no duplicate code, nice use of functions/objects)

style

Variables/objects/classes have proper names
Proper use of variables: nu unused vars, no magic numbers
No possible memory leaks. Mutexes properly used when multithreading? possible pointer issues?
Are smart pointers used?
unused variables?
magic numbers?
well documented?
No unused imports?
No leftover code / unused comments
Proper indentation
Proper use of namespaces

Can you add to the commit message how did you found about the issues? It's not clear to me, why the null point was a problem.

authors: alexander-de-ranitz mamiksik


text:
Unable to install Xcode

Describe the bug
When I click the blue button to install Xcode 13.3.1 I get an "Unable to install Xcode", just like the screenshot bellow.
To Reproduce
Click on the button to install Xcode 13.3.1
Expected behavior
Start the Xcode 13.3.1 installation.
Screenshots
If applicable, add screenshots to help explain your problem.

Version

OS: 12.6.3 (21G419) Macbook Pro 16" Apple M1 Pro
Xcodes: 1.9.0 (17)

I just tried this in the last two comments and it worked: https://github.com/RobotsAndPencils/XcodesApp/issues/256

repo: RobotsAndPencils/XcodesApp


text:
Diagnostics Aren't Correct

{
    "filename" : "",
    "line" : 32,
    "character" : 8,
    "lineText" : "        return 'sdf';",
    "message" : "Error AsciiArtCommandsApp.ts (33,9): Type 'string' is not assignable to type 'boolean'.",
    "originalMessage" : ""
}

File name is missing and the original message is empty

File name indeed wasn't being collected, but original message seems to be working properly. Can you provide the app code for testing?
    {
      originalDiagnostic: [Object],
      originalMessage: 'Expression expected.',
      message: 'Error AloApp.ts (19,1): Expression expected.',
      filename: 'AloApp.ts',
      line: 18,
      character: 0,
      lineText: '}'
    }


text:
Slack Channel forcing browser use

My Setup

Operating System: OSX 10.14.4
App Version: 2.15.3
Installation type: app store

[x] I have tested with the latest version
[x] I can simulate the issue easily

Description
I have multiple servers configured with my Rocketchat app. Most are Rocketchat servers which have no problems but one is a Slack server. Ever since the newest update (May 2, 2019) when I click on a channel in the Slack server, the Rocketchat app switches to that channel (as expected) but also OPENS UP A NEW BROWSER TAB and navigates to my slack channel.
Current Behavior
When I click on a channel in the Slack server, the Rocketchat app switches to that channel (as expected) but also OPENS UP A NEW BROWSER TAB and navigates to my slack channel.
Expected Behavior
Rocketchap app should only switch to the appropriate Slack channel. Not open up in browser.

Same problem on RocketChat app (version 2.15.1)

Same

Issue still present in version 2.15.3

Still present in 2.15.5
OS: Windows 10

Still present in 2.15.5
OS: MacOS

Still present in 2.16.2
OS: Windows 10

2.17.2
Ubuntu 18.04
same issue

Still present in 2.17.2
OS: macOS 10.14

Still present in 2.17.7
OS: Windows 10

Please test if the latest release did solve this. If not please reopen the issue or create a new one and tell us. I will be closing this one for now.
Thank you!

authors: Floflobel Jafaral aaronreimann da9l ianmclinden jeanfbrito leszek-bumbul millerf wonkaba


text:
Auto update download notification not working

My Setup

Operating System: Windows 10 1803

App Version: 2.15.3

Installation type: exe

[ ] I have tested with the latest version
Issue is related to 2.15.3 and it is the version rolled out to the users as of today

[x ] I can simulate the issue easily

Description
After selecting to update to the latest version, we are informed that "you will be notified when the update is ready to install" but nothing happens after waiting for several hours

Current Behavior
nothing happens
Expected Behavior
a notification appears and the installer starts

Same here on your windows 10 systems. Exactly the same as in the description

I"m not sure how to properly mark this but I think this is the same bug I reported as #1301, looks like you beat me by 10 minutes. I"m still having this issue.

Hi
We also still have the issue. Really frustrating, since now our users are starting to complain how the updating process is being handled. I hope someone takes a look at any of our two tickets soon.

The same behavior already exists in earlier version #1205

Meanwhile I have a new behaviour, in which if I select the "help" menu and then "about rocket.chat" -> "check for updates" -> "install update" I receive a pop-up according to which "You will be notified when the update is ready to be installed" - clicking OK here randomly crashes the client.
Is there any way I can display rocket.chat logs on a Windows client? sorry for the noob question but I really can't find this documented anywhere.

Same.

I can confirm tested with 2.15.5 and 2.16.0

Multi-user install.
Still not working with 2.16.2. The installer is downloaded correctly at the location
C:\Users\username\AppData\Local\rocketchat-updater\pending but then it disappears without a trace.
A new
.updaterid
file is created in the rocketchat appdata/roaming folder but then nothing happens.
I will try a "clean" reinstall of 2.15.5 to figure out what might be the difference

Same issue occuring between 2.17.0 and 2.17.1. The issue has now become an insider joke inside the company.

I raised a support ticket ( ID 6067) pointing to this bug

+1

+1

2.17.9-11 the same thing.

Is there any update on this issue?

Same issue here. Very frustrating for our windows users.

Please test if the latest release did solve this. If not please reopen the issue or create a new one and tell us. I will be closing this one for now.
Thank you!

For me the problem has been solved with the latest release.
Thank you!

authors: dennismeissel franckadil g2flyer icerootsvw jeanfbrito mmgoilf nyetwurk pavananand sandreddu stonewoodman torrycrass


text:
is it possible to have the downloading progress status on Windows/Mac Electron

Hi guys, we are using RocketChat a lot everyday, and it is amazing. But we will always encounter an issue when we try to download the file from RocketChat with the Mac Election version, that we do not know if the file has finished downloading or not. It will be failed to open if the downloading has not completed. If we open the RocketChat through a Chrome tab page, we can see the downloading progress.
So is it possible for Electron to have that? Thanks a lot!

Good point, we will investigate.

We have developed the download page, I you can see the progress there

authors: edisonchen1985 engelgabriel ggazzo


text:
Bugs

Found new bugs . Bug number 1 - it is possible to go through the stone texture . Bug # 2 - You can go through the foundation. Of textures can shoot and do damage to players. Russian language is still not displayed in the console.

One Issue per bug please, and the language thing is already a open issue

repo: RocketFoundation/Rocket


text:
Memory leak causes server crash

I reported this here once and you guys said it was the game but when i reported it to the Unturned github they told me this, please look, they said it was a memory leak.
https://github.com/SmartlyDressedGames/Unturned/issues/9#issuecomment-118538732

I was able to look at it on his machine & couldn't right away replicate. It is possible to replicate this with vanilla tho. Let somebody connect & then close your firewall

I fixed it, I reinstalled everything fresh start but just copied some of the text from the plugin config files, works fine

nevermind just took longer

and what about replicating, what do i do?

any solutions yet?

Read, plspls

what do you mean by let someone connect and close my firewall? to my sonic wall or my pc?

So this is  what happens in my eyes, from fresh install and update, to crash report.
https://www.youtube.com/watch?v=96DFdJuLrck

Figures they didn't give you an actual answer lol. Seems to be their thing on this big tracker. Present them with a bug and they just say it can't be replicated then give you some bs on how not to fix it.

This bug is not fixed, kaegann shut the bullshit and cry somewhere else.
Mash could reproduce on his windows server, but i could not reproduce it on my servers or my own machine.
On Mashes machine tho was it also possible to reproduce it with vanilla Unturned by joining the machine once and then leaving, triggering the same memory leak - which lead me thinking it is a unturned bug. Since i was not able to replicate there is no progress, unless you want to send me your machine or figure a way to replicate on other machines then there is nothing we can do without nelson profiling the game.

pardis, if you looked at the original topic on Unturned, I said it was an Unturned bug.
Don't hound the shit out of rocket without reading yo.

Memory leak caused by rocket. Not unturned. I can host a vanilla server for hours with not one single issue. Install rocket and 10 minutes later it crashes. Stop acting all high and mighty and bashing your users when they tell you your wrong. Biggest disgrace for a coding team I have ever seen.

@kaegann To you "it's not vanilla", but I've replicated the bug in unturned itself (though it doesn't LOOK like it) If you join a vanilla server, it claims ~400kb of memory, when that user leaves the server, it only releases ~200kb of memory.  Rocket may exacerbate the bug, making it more noticable, but it IS in fact an Unturned bug.
Further proof of this: ZERO CODE CHANGED in Rocket for 3.11.1.0 when there was no leak, to 3.11.2.0 when the leak began.
So before you rant at people that've been in the IT and programming industries for well over a decade, research your shit, otherwise you just make yourself look like an imbecile.
Also, Sven banned you from the repo for being a stupid dick. :dancers:

Lol real mature. Throwing around swear words and telling me to cry somewhere else, then edit your message to act like a 5 year old and say I'm blocked. You're a disgrace to the IT community freak. Get over yourselves lol

Seems to be fixed in latest version of Unturned,.. was indeed a Unturned issue..

authors: Mashrien fr34kyn01535 kaegann pardisproud


text:
boot: init the boot steps

The following functions should be included in the user booting steps:

Change user password
Set the visible name: hostname, it would be used by bonjour, airplay, bluetooth and etc.
Set the language and zone
Interfacing options like:

SSH
HTTP
Remote GPIO

This should be exposed for HTTP gateway initially :)

This could be closed now :)

repo: Rokid/YodaRT


text:
Trap3.5.1

Bug fixes.

I noticed that you've deprecated several of the scripts, would you like for me to remove them from the list? This won't remove them from the games that already have them, but it will make sure new games aren't able to select the old scripts.
I notice you are adding a new version of the Pathfinder It's a Trap, but have not update the json to reflect it. Is that intentional? The changes won't go out till Wednesday, so if you just missed this in the update, and can add it before then I'll try and remember to grab it before making the update.

Yes, you can go ahead and remove the D&D 5 trap themes except for the 5E Generic one from the One-Click installer. This one is intended to replace all the deprecated ones.
As for the new version of the Pathfinder trap theme, I've been working on converting that into a generic trap theme similar to the D&D 5E Generic trap theme, but it's still a work in progress for now. Since it wasn't done yet, but I'm never sure about when merges happen, I intentionally haven't changed the version. Once it is actually ready, I will change the version number on that script.


text:
AD&D1e Revised

small adjustment to autoexpand to help the layout between browsers

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[x] I have followed the Character Sheets Standards when building this sheet.

[ ] I have authorization from the game's publisher to make this an official sheet on Roll20 with their name attached.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Character Sheet Info Roll20 Internal Use only.


text:
GitHub - Updating Pull Template per User Feedback

Changes / Comments

Updating this templated based on user feedback.

Roll20 Requests
Include the name of the sheet you made changes to in the title.

If changes fix a bug or resolves a feature request, be sure to link to that issue.
For pull request that change multiple sheets please confirm these changes are intentional for all sheets. This will help us catch unintended submissions.
When updating existing sheets if you are changing attribute names please note what steps you have taken, if any, to assist players in keeping their data.

I doubt more people are going to read it by making it longer, even if it says this even more clearly :D

That may be true. It will be easier to distinguish who are top performers.

authors: Anduh clevett


text:
Free Spacer Sheets—Bug Fix: SlavoMode otherTool Advantage Box not displaying the Advantage text correctly

Bug fix for SlavoMode otherTool Advantage Box not displaying the Advantage text correctly

When otherTool was selected in Crewmember Salvo mode, the Advantage box was set to display: block rather then grid. Fixed CSS to set it to display: grid properly

Character Sheet Info Roll20 Internal Use only.


text:
Creating a button on mouseclick under the cursor clicks the button

If you create and add a new button to the UI on mousedown (e.g. clicking the game world and opening a popup info window there), and the button is positioned where the mouse cursor currently is, the button is immediately clicked (i.e. on the same frame as the initial mouseclick).
This seems like it could be unintended, so maybe instead entities could wait a frame before registering any interaction?
It could just be checking for and unsetting an isFirstFrame flag and then short-circuiting the update method.

Are you using 'Click' or 'MouseDown' event?
Thanks!

No problem. I'm using Entity.OnClick.

That's strange.. I couldn't reproduce it.
I do think its a smart idea in general to hold off one frame after "spawn" (already did it on Dev branch) but I want to make sure it solves it.
Do you have any code to reproduce it I can test?
Thanks!

Sure, here's a minimal example that seems to do it (in a typical MonoGame Game class):
private MouseState _prevMouseState = new MouseState();

protected override void Update(GameTime gameTime) {
    UIManager.Update(gameTime);
    MouseState mouseState = Mouse.GetState();
    if (mouseState.LeftButton == ButtonState.Pressed && _prevMouseState.LeftButton != ButtonState.Pressed) {
        Panel panel = new Panel(new Vector2(300, 150));
        Button button = new Button("Test", ButtonSkin.Default, Anchor.Center);
        button.OnClick += entity => { Debug.WriteLine($"Button pressed: {button.ButtonParagraph.Text}"); };
        panel.AddChild(button);
        UIManager.AddEntity(panel);
        // make sure the button is under the mouse cursor
        panel.SetPosition(Anchor.TopLeft, mouseState.Position.ToVector2() - new Vector2(panel.Size.X/2, panel.Size.Y/2));
    }
    _prevMouseState = mouseState;
}

// Initialize(), Draw() etc. ...

OK now I understand why I couldn't reproduce it. I though you had an entity with click event that spawned another entity with click event. In this case its OK.
Waiting one frame won't work in your case anyway because of the way I calculate click events. Consider the following: if you hold down mouse button outside an entity, move the cursor over the entity and release the mouse, should it produce a click event or not? In my case, it is, so when your button spawn and you mouse is still down, when you release it it will click.
I decided to check how windows do it because I think its a good guideline to follow (they don't necessarily have the best UI, but they do have the behavior everyone are used to..) and in windows it behaves differently, eg to produce click event you must push the button down while on the entity and release it from the entity as well.
I'll check if there's a good fix for it. Its a better UI behavior and as a side effect it will solve your problem.
PS, I noticed you do stuff like _prevMouseState and implement your own mouse click detection. You should know that GeonBit.UI got an internal helper class you can use, InputHelper.  You can create it when you initialize your game class (lets call it input), and then call input.Update() inside your Update() function and you can do stuff like input.MouseButtonClick(MouseButton.Left) instead of comparing prev and current mouse states yourself. You should check its API its quite useful.

Ah, I see. I had the impression that the click event was fired after a mouse down -> mouse up on the entity; I should have read the docs for the OnClick event, looking now I see they say "(eg release mouse over it)".
Thanks for the tip about the input helper! I actually had my own input class which was a holdover from before I started using GeonBit, I'll have to look into InputHelper, it looks handy.

Done, its in the Dev branch and will be merged into master shortly.
Finding a name for this property was harder than making it, ended up calling it "PromiscuousClicksMode" inspired by the famous "Promiscuous mode" in wireshark..
Leaving this ticket opened until the merge.
As always, thank you for the bug report! 👍

Hah nice 👌
The documentation on everything is really handy, thanks for making it so in depth it's saved me a ton of time.

authors: RonenNess craigmjohnston


text:
How do I interact with web pages? Where is main.dart.js in the web file under the example file?

1、The wallet is the dart version. The dapp is a web page. How do you interact in this case?
2、

You can interact the same way like any other dapp. The walletconnect_dart sdk can both function as a wallet and dapp.
In the dapp, you have to generate a QR code that can be scanned by your mobile wallet. once scanned, set up the connection using the sdk.

authors: Colisy RootSoft

repo: RootSoft/walletconnect-dart-sdk


text:
Add Galleria to Contributors list

Add Galleria to Contributors list

@Galleria, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added Facebook share and tweet feature to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

authors: Galleria Roshanjossey

repo: Roshanjossey/first-contributions


text:
private key printing: TypeError: str returned non-string (type NoneType)

`RsaCtfTool$ ./RsaCtfTool.py --private --publickey public.pem
[] Testing key public.pem.
attack initialized...
attack initialized...
[] Performing fibonacci_gcd attack on public.pem.
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 9999/9999 [00:00<00:00, 84380.26it/s]
[+] Time elapsed: 0.1214 sec.
[] Performing nonRSA attack on public.pem.
[] Attack success with nonRSA method !
[+] Total time elapsed min,max,avg: 0.1214/0.1214/0.1214 sec.
Results for public.pem:
Private key :
Traceback (most recent call last):
File "/home/max/trash/public/RSA/RsaCtfTool/./RsaCtfTool.py", line 524, in
main()
File "/home/max/trash/public/RSA/RsaCtfTool/./RsaCtfTool.py", line 517, in main
args = run_attacks(args, logger)
File "/home/max/trash/public/RSA/RsaCtfTool/./RsaCtfTool.py", line 246, in run_attacks
attackobj.attack_single_key(publickey, selected_attacks)
File "/home/max/trash/public/RSA/RsaCtfTool/lib/rsa_attack.py", line 368, in attack_single_key
self.print_results_details(publickey)
File "/home/max/trash/public/RSA/RsaCtfTool/lib/rsa_attack.py", line 100, in print_results_details
print_results(self.args, publickeyname, self.priv_key, self.unciphered)
File "/home/max/trash/public/RSA/RsaCtfTool/lib/utils.py", line 104, in print_results
if str(priv_key) != "":
TypeError: str returned non-string (type NoneType)
`

Please share your publickey for reproducibility

Hello, this is my public key. This key generated for CTF event, can be interesting.
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEBITsFfW/evEUntbdCGsHp
PM/+p2xPCHSZHPP6zw6rnvZGohg5ggtNZTqRa2jyWOnT98K6BU5K8F8+TWGz3nct
KtIziw6ubqCPIHbk5LCKsgkg+miF5sRN7BvuKKh2U8dLy56fEpTeiki9YUZSo9ZZ
3857iURhDyW/r5NumlQWfE0ifRbTLmXqRYtp1g3s1/oDTBs72GJxcWTneF6wbcxb
iLqiYuQxIOVGZcDLyz6tUbCgCBm06R1IctP753JOA6txvK+LuEx03slqrfyxhlOo
8FOT1mYGmSO8e5sxNj1tbZtFn0bbW6+W+EBKrxqDHw24qtfZOkJW6BVrK3B1egEg
kwIDAQAB
-----END PUBLIC KEY-----

It looks like it's due to PrivateKey.__str__ returning None as  self.key is still None (only n, e and d are known, not p and q i'll say)
    def __str__(self):
        # print(type(self.key))
        """Print armored private key"""
        if self.key is not None:
            return self.key.exportKey().decode("utf-8")

Hi, I was looking at your provided modulus and it's prime...

Solved

authors: agent-0007 daedalus romulusFR

repo: RsaCtfTool/RsaCtfTool