pngcheck: build on darwin and take ownership

Motivation for this change
It was only building on linux
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Next time please wait for ofborg because meta.platforms is wrong and should be flattened. Fixing right now.


Feature/dockstore 221-240 default descriptor display

This pull request is only for workflow. Tools/container will be on a different branch and pull request because apparently the code for tool is quite different compare to workflow.


Create installation script to make initial setup faster

Could you create an installation script to automate all the steps under "Configuring the Raspberry Pi from First Install" in the README?

I'm not sure how difficult that would be, but I'll look into it. Unfortunately I think the manual install steps need some updating too. Have you tried going through the steps manually? PRs are welcome too!

I have a little bit of time to work through the steps manually today. I'll see what I come up with and report back when I have time!


assertj-guava dependence to assertj-core

Latest assertj-guava (1.3.1) depends on assertj-core [1.7.1, 1.8.0), so it seems it is not supposed to be used with more recent version of assertj-core (2.0.0 or 3.0.0).
There should be a assertj-guava version available with assertj-core 2 and 3

agreed

adding an exclude section in assertj-guava dependency solves the problem:
<dependency>
  <groupId>org.assertj</groupId>
  <artifactId>assertj-core</artifactId>
  <version>2.0.0</version>
  <scope>test</scope>
</dependency>
<dependency>
  <groupId>org.assertj</groupId>
  <artifactId>assertj-guava</artifactId>
  <version>1.3.1</version>
  <scope>test</scope>
  <exclusions>
    <exclusion>
      <groupId>org.assertj</groupId>
      <artifactId>assertj-core</artifactId>
    </exclusion>
  </exclusions>
</dependency>

In that case assertj-core will be resolved to 2.0.0.
Anyway, I should probably release assertj-guava 2.0 that will rely on assertj-core 2.x and  assertj-guava 3.0 that will rely on assertj-core 3.x.


Speeddial icon size idependent from column width / favicon scaling

I have noticed many favicons do not scale well in Yuzu and end up being super blurry compared to other browsers.
This issue is made worse by the fact that increasing the Maximum column width also increases the icon size.
For example, most of my icons are readable on 50, but then the speed dial takes up a small fraction of the screen.  Increasing the width to 200 so it fills the width fully and the icons scale to the size where they are just giant fuzzy blurs.
I think having each as an option would help this problem.
Secondary, adding the ability to have an X or close button on each tab would be helpful versus having to waste the long press action in order to close.  I may be missing it, but don't recall this option.

Also, it might just be me, but I can't even seem to actually set custom images for a website.  I select an image, it has me crop it, says it is saving and no change.
After that, I can also no longer use the favicon option as it is blank.

u can use user-script beautifiing the icons, that's my codes
// ==UserScript==
// @name    Round Favicons
// @description    重定义首页样式，圆形图标
// @version    1.0
// @include    yuzu:speeddial
// @namespace    none
// @author    Anonymous
// ==/UserScript==
var styleEl = document.createElement('style');
styleEl.type = 'text/css';
styleEl.innerHTML = .browserName{color:orange;} #searchBox, .search{width:76%; margin:10px auto;} .search{padding-left:15px; border:0; box-shadow:0 0 18px rgba(70,70,40,0.2); background-color:rgba(255,255,255,0.1); border-radius:40px;} img{padding-bottom:2px; border:none; border-radius:80px;} .box{padding-bottom:3px; background:none !important; border:none !important; box-shadow:none !important; opacity:0.9;};
document.documentElement.appendChild(styleEl);

another homepage beautifiing codes
// ==UserScript==
// @name    首页样式(图文旋转)
// @description    重定义首页样式
// @version    1.0
// @include    yuzu:speeddial
// @namespace    none
// @author    Anonymous
// ==/UserScript==
var styleEl = document.createElement('style');
styleEl.type = 'text/css';
styleEl.innerHTML = .browserName{color:orange;} #searchBox, .search{width:76%; margin:10px auto;} .search{padding-left:15px; border:0; box-shadow:0 0 18px rgba(70,70,40,0.2); background-color:rgba(255,255,255,0.1); border-radius:20px;} .box{background:none !important; border:none !important; box-shadow:none !important; opacity:0.9;} .name{padding-bottom:10px;} img{border:0.1px; border-radius:15px;} .box{transform: rotate(-25deg); transform-origin:100%;};
document.documentElement.appendChild(styleEl);

@medevil Thanks - I entered the scripts and tried each one, but saw no change.  Is there anything more than just adding and enabling that needs to be done?

Some special characters were filtered by github editor，now fixed, try again.

Works now, but still doesn't actually change the icon image size, only makes them circles.
Here is an example of how Yuzu treats the favicon image versus how my normal browser does it (both are close to the same size).
https://imgur.com/a/ZHEi1qE
It seems all about the scaling of each icon - some work great, but others are very small and get enlarged to the point of distortion.

In case anyone wants to do it, you can get everything set the way you like it and have things actually look good.
Either on a computer or the device you can edit the speeddial1.db in the database folder.  In the main_table table there is a field for icon.
I went through and made icons for all of my sites and imported them in.  Be sure to go through and uncheck the use favicon option for each speeddial or else the custom icons will be erased.
Since the custom icon is broken, don't bother trying in Yuzu itself as you will just end up with a blank icon.


overscroll-behaviour:contain workaround

Is there a way to achieve the purpose of the css "overscroll-behavior: contain" when using Perfect Scrollbar? I don't want the scroll to propagate beyond the container using Perfect Scrollbar.

The 'overscroll-behavior: contain' css trick did not work for me. Initialising the perfect-scrollbar with wheelPropagation: false as an option did the job. It is set to true by default. Check documentaion

Works like a champ!


test pipeline branch-2.0-var

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall


Do not remove containers from stats list on err

Before this patch, containers are silently removed from the stats list
on error. This patch instead will display err for all fields for the
container that had the error, allowing it to recover from errors.
When containers have an error, they will see:

Note: only the container with the error will have the err message, for the case of the screenshot I forced the error.

@cpuguy83 what defines an "error" ?  non-zero exit code doesn't seem to do it for me.

@duglin it's an error while collecting stats for a container... So a decode error or an error from the call to the stats endpoint for a container.

Ah, gotcha.  Makes me wonder if we should treat the inability to connect to the daemon as one of these errors too.

And if so, it might be better to just replace all lines in the table with something like:
CONTAINER           CPU %               MEM USAGE / LIMIT   MEM %               NET I/O             BLOCK I/O
Error retrieving data, will keep trying...

And if so, it might be better to just replace all lines in the table with something like:

I think I like the original output as it's easier on the eye. Perhaps --/-- instead of err/err? (Can we use colors?)

I think I like --/-- better too, specially if it's something the command can recover of.

this needs a rebase; also can you change this to the --/-- format?

Works for me, here's what it looks like:

updated

@cpuguy83 I'm just curious, how did you first come across this issue?  Seems like it would be really hard to see in normal usage.

@duglin Agreed, not likely to find this. I've not experienced it, but saw it while trying to figure out why the test for docker stats (no args) fails on win2lin (which we're just skipping right now).

Also no, I don't think this fixes the win2lin issue.

@cpuguy83 interesting - thanks for the info

+1 on design; @duglin are you ok with it like this? If you are, can you move it to "code review"?

SGTM

@cpuguy83 what's the best way for me to test this?  I guess to add some kind of failure logic, but where's the best spot to add it?

@cpuguy83 I might be doing something wrong but as I was testing this I decided to force an error at https://github.com/docker/docker/pull/20835/files#diff-234033fe3b8730c35e53ce0d8dbda485R95 1/3 of the time. And I noticed that once there was an error decoding the stats for a container, while it did show "--/--" for the output, it never went back to showing the real stats. I think the code is assuming that once a container is either dead or has an error getting the stats it should stop checking it - but for the cases you're concerned about I think it should keep trying.  Any thoughts on this?

I added it at line 95 of stats_helper.go, on the dec.Decode(&v) call.

@duglin You're right, there were 2 places this was an issue. Fixed.

@cpuguy83 I do now see the --s come and go randomly so that's cool.  However, the first time I ran it it didn't show new containers as they were added. But then suddenly it started to work the next time I ran "docker stats".  Still investigating....  but thought I'd share the info in case you have a guess as to what it might be.

@cpuguy83 looks like CI failed;
14:33:19 # github.com/docker/docker/api/client
14:33:19 api/client/stats_unit_test.go:23: cannot use sync.RWMutex literal (type sync.RWMutex) as type sync.Mutex in field value

I've been able to reproduce the issue (container list always being empty) but but not reliably, it appears random. On the positive side it happens even w/o this PR so its not related to this code change.
On to code review...

ping @cpuguy83 were you still working on this?

Yep, just low priority for me at the moment.

Ok, this is updated, and green.

LGTM

ping @duglin PTAL

ping @duglin Do this LGTY?

Sorry - got distracted - will do a final test/review tomorrow am.

please test this

please test this, pretty please  :-)

assuming the doc issue isn't real
LGTM

"retest this please" is the magic word, but it sometimes doesn't work

Oh,and there's no doc changes here, so it's just Jenkins wrongly starting the docs CI


Hostname resolving

Hi, it seems that hostname is always resolved to ip address, which cause me problems that server delivers different certificate. Can I force  the lib to not resolve the hostname ?

hello @rashaverak,
Let me try to understand your problem:

You are using one websocket server (wss)
You wanna listen to example.org and example2.org (and not a different sub domain)
You have one certificate for each domain
You have the same business logic for both domains

Your problem is now that you get a certificate error when you try to access the wss with example.org while you used the certificate for example2.org
Is that correct?
Greetings
marci4

I have 2 different servers. I connect to them using host names. They use different certificates for different host names. In case of my connection the servers use default certificates and not these that I want, like if the host names I set were ignored and they were just resolved to ip address and that was used for the connection. On one it works by accident because the default certificate is the one that I want. It has something to do with the SNI I believe.

Ahhh ok, I quess I now understand your problem.
Well I can't really help you with this problem because we use a native Java Socket which just allows us to bind to a specific IP-address.
Without any managing software above the connection something like SNI is not possible.
I would recommend to you that you use just a different port for your second server (You should have had a bind exception that the address is already in use anyway!)
Hope I was able to help you!
Greetings
marci4

Found solution, maybe useful for someone
SSLSocket sslSocket = (SSLSocket) sslContext.getSocketFactory().createSocket();
SNIHostName serverName = new SNIHostName("example.com");
List serverNames = new ArrayList<>(1);
serverNames.add(serverName);
            SSLParameters params = sslSocket.getSSLParameters();
            params.setServerNames(serverNames);
            sslSocket.setSSLParameters(params);
            setSocket(sslSocket);

Thank you anyway for you time.

Thx for your answer, sorry that I did not get your question!
Closing the issue!
Greetings
marci4

@rashaverak where/how did you use that code?  Can you give a bit more context?


Simulate a iot device as a nodejs process

It can be implemented as a nodejs that is resolving its own did and simulate sensors data.

it will not be implemented


TypeScript types mismatch

First, I want to say that your work on libpg-query-wasm is awe-inspiring! I maintain an open source plugin called SafeQL  which heavily relies on pg-parser. Currently, it uses libpg-query but due to incompatibility with Windows, I was looking at your implementation.
While trying to migrate the code, I've stumbled across some issues that are related to TypeScript types:
1. Node's properties should be T | undefined instead of T | null | undefined
While I assume it's auto-generated from protobuf, All of the properties of pg_query.INode are both nullable and undefined-able, which is incorrect in runtime. They are never nullable, but only undefined-able:

2. Node properties are typed as their interfaces rather than their classes
For instance, when trying to access node.aConst, it will be typed as (property) pg_query.INode.aConst?: pg_query.IA_Const while it should be typed as pg_query.A_Const. Due to this incorrect type, TypeScript will throw an error:

while in runtime it should be fine:

Thanks for the feedback! I agree the current types need improvement and it's a priority for this library.
I've tested several protobuf TypeScript libraries including protobufjs (the current library), protoc-gen-ts (has an issue) and ts-proto (spike here). None are really ideal. I'm open to suggestions or contributions for better alternatives.


JSON reporter doesn't work (no output)

The issue occur to me on mocha v3.0.2 and node v5.8.0 on Mac OS X. Here's my test file
'use strict';
var app = require('./app');

describe('Converting strings.', function() {

  it('Can convert a string with one space', function() {
    var result = app.convertString('hello world');
    result.should.eql('hello-world');
  });

  it('Replaces two spaces with one dash', function() {
    app.convertString('hello  world').should.eql('hello-world');
  });
});

and the code I'm testing
function convertString(str) {
  return str.split(' ').join('-');
}

module.exports = {
  convertString: convertString
};

With json-stream reporter everything works fine:
$ mocha --require should --reporter json-stream test.js
["start",{"total":2}]
["pass",{"title":"Can convert a string with one space","fullTitle":"Converting strings. Can convert a string with one space","duration":2,"currentRetry":0}]
["fail",{"title":"Replaces two spaces with one dash","fullTitle":"Converting strings. Replaces two spaces with one dash","duration":0,"currentRetry":0,"err":"expected 'hello--world' to equal 'hello-world'","stack":"AssertionError: expected 'hello--world' to equal 'hello-world'\n    at Assertion.fail (node_modules/should/cjs/should.js:205:17)\n    at Assertion.Object.defineProperty.value (node_modules/should/cjs/should.js:277:19)\n    at Context.<anonymous> (test.js:12:46)"}]
["end",{"suites":1,"tests":2,"passes":1,"pending":0,"failures":1,"start":"2016-08-12T15:34:45.144Z","end":"2016-08-12T15:34:45.155Z","duration":11}]

but with the json reporter nothing comes out:
$ mocha --require should --reporter json test.js  # No output!

Am I doing something wrong?

It looks like should.js has a circular reference in its assertion object, and this gets Mocha’s json reporter in trouble when it tries to serialize it. 😶
Mocha (by default) catches and collects the uncaught exceptions, but at the time when this one is thrown, the reporter’s output is already prepared, and so this particular error is lost. 😑
One way to fix this is I guess to watch and cut the circular references in the json reporter. Maybe there are better ways, I’m open to advice. 🤓

Good catch! Thank you for your work @gurdiga.  I don't see a reason not to merge you fix :smile:
That's exactly what I was noticing on my Linux distro (with slightly older mocha and node) where JSON reporter was blowing up on circular references. With newer mocha and node on Mac OS, the reporter was just going silent.
As a workaround on old Mocha folks can use json-stream reporter. It doesn't have this issue for some reason.

The ./lib/utils module has a method jsonStringify() which is circular-reference safe.  Would accept PR to JSON reporter to use it.

as noted in #2559, I was wrong about the function (my bad)


How can I handle with a separated cell barcode sequence?

Thanks for providing a useful stuffs.
I have a TotalSeq tag reads and WTA reads, which are sequenced by BD Rhapsody.
As you check the sequence structure here, the cell barcode sequence of BD Rhapsody is separated to three parts.
Then, how can I set -cbf and -cbl option?

Hello @TaskeHAMANO
there is no direct way of handling this kind of data today through CSC.
There is a way though. You can trim out any sequence that is not a barcode and regenerate R1 without those.
Then you can run CSC as usual.
Hope this helps

@Hoohm
Thank you for providing your idea. It seems not so difficult. I will try!


Citation

This pull request provides a brief suggested citation.bib file in response to #477. It may make it easier for users to cite this software.
If this is unwanted, then please feel free to close this request! Otherwise, I would be happy to update the file as preferred.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the PR. I don't know that I should be credited to the exclusion of the rest of the team. Is there a way of crediting it to something like "Shiny Team"?

Of course, I can update the file with any wording you prefer. It is fairly common to use something like "The Shiny development team" (see pandas).

That would be great, thanks.

Hi all,
This was my first pull request suggesting a citation file. I have since been looking around a bit more and working with other projects, and it seems that a "cff" (citation file format) file is recommended by GitHub and is probably the better way to go. With that file type, GitHub can automatically generate a BibTeX citation and provide better integration.
I will push a commit converting this file to that format.
As @nealrichardson mentioned, pandas includes the license since that's a field in cff files, so I can include that in the updated file. Any further thoughts about the year as mentioned by @wch?
Thanks for your feedback and patience!


100% CPU usage with 1.6.0 and 1.7.0

terrascan version: 1.6.0 and 1.7.0
Operating System: MacOS Big Sur, 11.3.1

Description
I upgraded to v1.7.0 from 1.6.0. When I run terrasca, CPU usage hits 100% (or more) with either version.

What I Did
terrascan scan -l error -x json -o yaml -c terrascan_config.toml

Hey @haidangwa ,
Thank you for reporting this issue.
Can you please measure CPU utilization using terrascan with -i and -t options?
For example:
if you are using terraform IaC for creating aws resources, then terrascan command should be:
$ terrascan scan -i terraform -t aws

Or if you are using kubernetes YAMLs, then terrascan command should be:
$ terrascan scan -i k8s -t k8s

You can also refer to terrascan scan -h for more details of the above flags.
This may give us a better idea of what may be happening?


In both ODDs we need to be able to use @hand on add element

@hand should be optionally available for add -> should be shown on web app through font change

https://github.com/Auden-Musulin-Papers/amp-app/issues/227


Fix opc pac command to show the help message

This patch will fix opc pac command to show the help message
previously it was failing with an error

we need a e2e for that, @pratap0007 would you like to contribute it ? just having it to start the help and check if the output is kinda right, over a shell script is fine..
(pr look good, thanks for the fix)


Vscode drains up to 30% battery while sleeping MacBook Pro 16 ( 2020 )

VSCode Version:
Version: 1.51.1
Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f
Date: 2020-11-11T01:11:34.018Z (3 wks ago)
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 20.1.0

OS Version:
macOS Big Sur 11.0.1 (20B29)

Steps to Reproduce:

Open any project ( in my case Flutter project ) ( fairly small project )
Leave 3-4 tabs open and minimise the window and leave it like this overnight.

Does this issue occur when all extensions are disabled?
Did not check for it.
I left my MacBook Pro 16 at 100% battery overnight ( logged in back after about 10 - 12 hours ) with vscode window open but minimised and found that the battery had dropped to 55% - 60% ( almost everyday for 3 days continue ). I followed all the macOS steps to resolve this issue but did not help.
I checked the activity monitor's energy consumption and found that vscode has used 19.6 - 28.8 units in the last 12 hours on battery.
I experimented and closed vscode one night before sleeping at 70% battery power and found it to be only 67% the next day after about 10 hours.

Here is my configuration -
Model Name:	MacBook Pro
Model Identifier:	MacBookPro17,1
Chip:	Apple M1
Total Number of Cores:	8 (4 performance and 4 efficiency)
Memory:	16 GB
System Firmware Version:	6723.61.3
System Version:	macOS 11.1 (20C69)
I too am seeing battery drain. In my situation VS Code is not even in background. 12 Hour Power  in Energy tab of Activity Monitor is showing me 203.15, the highest usage on my system on the top the process is not even running.

Here is my configuration -
Model Name:	MacBook Pro
Model Identifier:	MacBookPro17,1
Chip:	Apple M1
Total Number of Cores:	8 (4 performance and 4 efficiency)
Memory:	16 GB
System Firmware Version:	6723.61.3
System Version:	macOS 11.1 (20C69)
I too am seeing battery drain. In my situation VS Code is not even in background. 12 Hour Power  in Energy tab of Activity Monitor is showing me 203.15, the highest usage on my system on the top the process is not even running.

Same issue here

Same issue here

Same issue, but with MacBook Pro (15-inch, 2018)

I figured that the issue was not specifically from vscode. The culprit was icloud contacts syncing from a process "AddressBookSourceSync".
Please check if your mac is not able to go to sleep mode.
From the terminal app run pmset -g. You will be able to see something like "ProgramX prevent from sleeping". Then that programX is the one you should troubleshoot.
I tried every thing to stop AddressBookSourceSync but nothing worked until I removed all the internet accounts from the settings and added then after some days. Specifically I removed all the google accounts without any success. But I was able to solve the issue by removing icloud account and adding it back after a few days.

I figured that the issue was not specifically from vscode. The culprit was icloud contacts syncing from a process "AddressBookSourceSync".
Please check if your mac is not able to go to sleep mode.
From the terminal app run pmset -g. You will be able to see something like "ProgramX prevent from sleeping". Then that programX is the one you should troubleshoot.
I tried every thing to stop AddressBookSourceSync but nothing worked until I removed all the internet accounts from the settings and added then after some days. Specifically I removed all the google accounts without any success. But I was able to solve the issue by removing icloud account and adding it back after a few days.
Hence closing this issue.

Thank you for help. But i don`t have any "ProgramX prevent from sleeping". I got this problem after upgrading to Big Sur.
I left my mbp for two hours and got this(pic).
Maybe this problem is not related to vscode.
I will do more detailed tests with different apps.

p.s. My hibernate mode is 3.

@DmitryNevmerzhitsky I changed my hibernate mode to 25 as well to counter this issue but unless I removed the icloud account the problem didn't leave me.
MacOS version Big sur 11.2.1


Create devcontainer.json

Adds a devcontainer to the repository for easy set up of a Rust environment in VSCode.

I really appreciate the PR, but having thought about it, I don't think it's something we should add directly to the repo. The main reason for this is that text editors/environments are highly specific to individual preferences, and I generally think IDE config doesn't belong in source control, with some exceptions here and there.
I think it's fine if you want to post the config as an issue or discussion, although I think people should be able to find this PR if they search for it.


Track 3 testing: Request sending regular transactions using specified Secret key(s)

Does this mean: there's a GraphQL query that accept a public key, and the server matches that to a private key, and generates payments at intervals with that private key?


Add option for putting > on the last line in jsx

Feel free to suggest a better name for the option. Otherwise it works great :)
Fixes #654

What about jsxBracketSameLine? Or jsxBracketLastLine. Or jsxBracketNewline and it would default to true (not preferred).
I think I like jsxBracket* because it's emphasizes that it's about the bracket. I'm not sure "last line" is very descriptive when reading the options. Although none of these are great, "same line" I think connects better with what people are thinking probably, i.e. "I wish it would put it on the same line as my attributes"
Anyone else have other ideas?

I like jsxBracketSameLine

@vjeux This option feels very specific, when compared to the others. What was the reasoning behind it?

@joecritch This is the way we write JSX at Facebook and an existing big source of drama internally. I didn't want people discussing this particular point when I'm pushing for prettier.


Update previous comment

Rather than creating a new comment for every failing commit, it should update the original comment to show the new message.
Or, at the very least, update previous comments to hide the error log in a <details> element.

Closed by #19


Tag - Not here page shows up when opening Tag from split details RHP

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

Version Number: 1.4.48-0
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal Team
Action Performed:
Precondition:

User is an employee of Collect workspace.
The Collect workspace has tags.

Go to FAB > Split bill > Scan.
Create a split scan request.
Click on the split preview to open split details RHP.
Click Tag.

Expected Result:
Tag list opens without issue.
Actual Result:
Not here page shows up when opening Tag from split details RHP.
Workaround:
Unknown
Platforms:

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

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/115492554/93afc90c-0c48-4739-ab5c-d9dc7102ba69

View all open jobs on GitHub

We have already figured out this before it was created and working on it. PR fixing the regression on review stage
@puneetlath

@puneetlath I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.
We think that this bug might be related to #wave6-collect-submitters
CC @greg-schroeder

https://github.com/Expensify/App/pull/37879 👍

again I suspect this is NAB because tags are a collect feature and thus need to be enabled with a JS snippet in OldDot, no?

anyways, looks like we may have a WIP fix?

again I suspect this is NAB because tags are a collect feature and thus need to be enabled with a JS snippet in OldDot, no?

I agree with this. Removing it as a deploy blocker.

PR was merged. It's a regression from another PR so no payment is needed here. Closing.


Fix fragments lookup order

What this PR does / why we need it:
The lookup strategy was top to bottom, making the fragments in higher levels more important than fragments closer to the page. So fragment override didn't work as expected. Also directory name was not checked in cases of fragments located in directories. This patch fixes that as well.
Special notes for your reviewer:
@stp-ip This patch most likely will break some pages. If there are any pages that have a fragment that has the same name or dir_name as one in a parent section's global, the fragment closer to page is rendered and will override the other fragment which is further away from the page. I broke the lookup when I was trying to add global fragments in every section. Sorry.
Release note:
- Breaking: Fragment lookup order was broken in the last version. The lookup was done from root to page where it should have been page to root (page > parent > ... > root). This patch will fix the order but may break the pages where a fragment was meant to override another fragment with the same name or directory name.

Let's add a test section for this using the copyright once on a section page and another time on a normal page.
Does that make sense?

Will do.

Should we also add a test for section level overwrites?


Issue with

Hi,
Is there a known issue with this log checker URL?
http://downloads.arduino.cc/libraries/logs///
All the ones I have tried, simply show:

with no data logs at all, have tried many.
Any trick to using this URL?
Thanks

bah - needed a / on the end.
Closed.


feat(build): add support for CommonJS

@carhartl hey, how about this feature~?

@BuptStEve I‘m refraining from adding this, besides meaning more maintenance for me, there‘s a reason why I didn’t support cjs from the beginning; I think the way forward is ESM.


Make component that switches between a and Link elements automatically

Add option to disable link clicking using pointer-events-none.
Replace all a and Link elements in the project with this element instead

LinkWrapper component created in a385f00a5bddcf6fe4cfad4a0b058fa965860ea9

All links replaced with LinkWrapper components as of 19afd8eb0dc4653b364d01d2b456898b5a32a438


PGVector Support for Custom Connection Object

Why are these changes needed?
This PR contains adding support for custom psycopg connections.
A user can define the connection object.
This is important because a connection object may have to be very custom for certain environments. We should allow the end user to specify the connection object for their environment.
Fix included for .gitattributes to commit certain files with lf line endings instead of crlf. (This was breaking bash scripts in the repo)
Fix included for psycopg[binary] dependency being installed for Windows and Mac, Linux can use the pure python implementation psycopg.
conn = psycopg.connect(conninfo=connection_string_encoded, autocommit=True)

ragproxyagent = RetrieveUserProxyAgent(
    name="ragproxyagent",
    human_input_mode="NEVER",
    max_consecutive_auto_reply=1,
    retrieve_config={
        "task": "code",
        "docs_path": [
            "https://raw.githubusercontent.com/microsoft/FLAML/main/website/docs/Examples/Integrate%20-%20Spark.md",
            "https://raw.githubusercontent.com/microsoft/FLAML/main/website/docs/Research.md",
            os.path.join(os.path.abspath(""), "..", "website", "docs"),
        ],
        "custom_text_types": ["non-existent-type"],
        "chunk_token_size": 2000,
        "model": config_list[0]["model"],
        "vector_db": "pgvector",  # PGVector database
        "db_config": {
            "conn": conn
        },
        "get_or_create": True,  # set to False if you don't want to reuse an existing collection
        "overwrite": False,  # set to True if you want to overwrite an existing collection
    },
    code_execution_config=False,  # set to False if you don't want to execute the code
)

And pass that into the db_config for the retrieve agent.
This also contains a fix for the psycopg.connect() using the username field directly.
Related issue number
NA
Checks

[x] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[x] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[x] I've made sure all auto checks have passed.
[X] I have tested all 3 forms of authentication using a new PGVector docker image

Codecov Report
Attention: Patch coverage is 0% with 10 lines in your changes are missing coverage. Please review.

Project coverage is 13.61%. Comparing base (ded2d61) to head (b0f30d4).
Report is 34 commits behind head on main.

Files
Patch %
Lines

autogen/agentchat/contrib/vectordb/pgvectordb.py
0.00%
10 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2566       +/-   ##
===========================================
- Coverage   33.33%   13.61%   -19.73%
===========================================
  Files          83       85        +2
  Lines        8636     9019      +383
  Branches     1835     2070      +235
===========================================
- Hits         2879     1228     -1651
- Misses       5516     7782     +2266
+ Partials      241        9      -232

Flag
Coverage Δ

unittest
12.37% <0.00%> (?)

unittests
13.19% <0.00%> (-20.15%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

I just made 2 additional changes. I added a few file types in the .gitattributes. Many files were being committed with crlf line endings, which was breaking bash scripts within the repo. I added specific attributes to those file types to ensure they are committed with lf line endings. (This was breaking mypy).
Additionally, the setup.py was updated to include psycopg[binary] for windows and mac, and ubuntu uses the regular psycopg requirement. This is because Windows does not have the libpq5 dependency added. Within Ubuntu, this can be added by running: sudo apt install libpq5 -y, which will allow for a pure python implementation of psycopg.

@Knucklessg1 some tests failed. RetrieveChat tests may be related to your code change.
Message: 'Error connecting to the database: '
Arguments: (OperationalError('connection is bad: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory\n\tIs the server running locally and accepting connections on that socket?'),)

@Knucklessg1 some tests failed. RetrieveChat tests may be related to your code change.
Message: 'Error connecting to the database: ' Arguments: (OperationalError('connection is bad: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory\n\tIs the server running locally and accepting connections on that socket?'),)

I just pushed the latest commit. I was able to validate authentication in the notebook for all three authentication methods. I was unable to push the notebook because I do not have an LLM environment at the moment. The notebook was tested up to the collections being created for authentication.

Hi @Knucklessg1  thanks for this awesome added feature! I have a quick question: is chunk token size being used to split docs while using pgvector as a vectordatabase. I don't quite see the code where it queries based on chunk token size from each documents, which means that the full loca docs/files will be added to the vectordb and be input into the context directy.

@chenyanbiao did you take a look at the retrieve_utils.py?
This is where the logic for the split is happening. It's split the same way regardless of vectordb backend.

@Knucklessg1 Thanks for the response. Yes, it is what I am looking at. I understand that both ways use the same logic of splitting. My confusion is that the non-vectordb solution parse the parameter of chunk_token_size (link) while the vectordb solution parse the parameter of max_token for the split function (link), which is not consistent.

@thinkall do you have any thoughts around this?


Make options non case sensitive for Bash edition

Make options non case sensitive for Bash edition.
As per https://wiki.bash-hackers.org/syntax/pe#case_modification

I dont have an Arch linux installation but tested it using pacapt on TwisterOS.
Works fine.

You should try Arch or on a Pi, Manjaro.
You'll find to love it over Debian based or Ubuntu

You should try Arch or on a Pi, Manjaro.
You'll find to love it over Debian based or Ubuntu

sure i will try it when i have spare sd card or a usb stick lying around me


Change Module's endpoint from propery to function

This allows us to set external=True or False, in case we want a locally-callable
endpoint. Previously if the endpoint was only locally callable, we would only return
None. This is now also consistent with Cluster's endpoint().

Current dependencies on/for this PR:

main

PR #367   👈

This stack of pull requests is managed by Graphite.


Fixes to json schemas, and correct node validation

This was all tested using the ansible jsonschema in our kraken.config ansible role.

@davidewatson Requested changes made, thanks!


Rotation yaw and pitch are in the wrong order when using vectors

Yaw is the rotation around the y axis, it should be the y coordinate, not x.
Same problem with the pitch, which is around the x axis, but given in y.
Minecraft also uses this definition. The only thing it does differently is that it uses an inverted yaw (at least compared to what flow-math uses).
You can see an example of the issue here: https://github.com/SpongePowered/SpongeAPI/blob/master/src/main/java/org/spongepowered/api/util/blockray/BlockRay.java#L500

Fixed in https://github.com/SpongePowered/SpongeAPI/commit/05596bdabad133fe4977198c1d3236d51c621c0e


core: only use http redirects

This is an attempt to prevent cURL from being redirected from http to https since we ship without SSL in MAVSDK v2.

Fascinating :(, thanks for testing @rayw-dronesense.


Using Content-Security-Policy instead of X-Frame-Options

In "enhanceHttpSecurity" X-Frame-Options is used do prevent clickjacking. Would it be possible to use Content-Security-Policy instead?
This would allow to add exceptions without having to change PHP-AUTH or removing the X-Frame-Options and readding it with changed parameters.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors
Thank you for this amazing piece of work, I really enjoyed integrating the authentication system in some of my projects :)

Thanks a lot for your appreciation, and for making this good point about X-Frame-Options!
As per Content Security Policy Level 2 § 7.7.1, the CSP can indeed replace X-Frame-Options with similar effects. But that same section also says:

The frame-ancestors directive obsoletes the X-Frame-Options header. If a resource has both policies, the frame-ancestors policy SHOULD be enforced and the X-Frame-Options policy SHOULD be ignored.

So why don't we keep the old header? If popular browsers (e.g. Chrome and Firefox) follow that specification correctly in their latest versions, let's keep the old header and just add the new header in addition to that.
Apart from that, I have only ever seen multiple CSP directives in one header, separated with ; between them. Looking at the specification again, Content Security Policy Level 2 § 3.4 says that multiple CSP headers are in fact possible. But it says that requests must pass all CSP headers. So if we added
Content-Security-Policy: frame-ancestors 'self'

to this library and you tried to add
Content-Security-Policy: frame-ancestors example.com

in your application, additionally, would that really work? Did you try that? In both Firefox and Chrome, for example? Reading the specification, my guess would be no.
That, however, is the requirement for your change to have any advantage, right?

Chrome does ignore X-Frame-Options when the CSP frame-ancestors are defined, Firefox doesn't.
I tried placing the CSP headers at different places, this worked for both browsers.
Inline scripts and styles did also work for both browsers, I didn't have the time to check for eval, I can do that later.
I'm currently using a workaround for this, removing the X-Frame-Options header before adding my CSP header, so if you prefer to keep X-Frame-Options I'm ok with that.
header_remove('X-Frame-Options');  header("Content-Security-Policy: frame-ancestors 'self' example.org");

Thanks!
Since that last code snippet you posted is so short and effective, we should also consider just leaving everything as it is, avoiding the risk of introducing any breaking changes, inconsistencies, or problems with (older) browsers.
Yet another possibility would be to add an option on the instance where you can enable or disable those headers, e.g. setEmbeddingAllowed. If enabled (default), it sends the two headers
\header('X-Frame-Options');
\header("Content-Security-Policy: frame-ancestors 'self'");

and otherwise does nothing.

I think if you keep it as it is, the workaround should be documented in someway.
I'm not sure it's worth the added complexity to add another option. In this case I would prefer to only switch from X-Frame-Options to CSP

Confirming my earlier doubts, it turns out that the proposed semantics are not actually valid, as per CSP Level 2 § 3.1:

A server MUST NOT send more than one HTTP header field named Content-Security-Policy with a given resource representation.

The section that was mentioned earlier, CSP Level 2 § 3.4, just describes what happens when multiple policies are found, which may (and should) be in a single header field. The examples apparently just show what a client may encounter in the wild. Apart from that, the section is "not normative".
Further, as per HTTP/1.1 § 3.2.2:

A sender MUST NOT generate multiple header fields with the same field name in a message unless either the entire field value for that header field is defined as a comma-separated list [i.e., #(values)] or the header field is a well-known exception (as noted below).
A recipient MAY combine multiple header fields with the same field name into one "field-name: field-value" pair, without changing the semantics of the message, by appending each subsequent field value to the combined field value in order, separated by a comma.

This does not match what we need here, which is why Firefox 54 (What version did you try?) correctly merges the two fields
Content-Security-Policy: frame-ancestors 'self'
Content-Security-Policy: frame-ancestors sub.example.org

to
Content-Security-Policy: frame-ancestors 'self', frame-ancestors sub.example.org

which is obviously invalid syntax and in practice has the effect of 'none'.
Thus, the correct solution remains, as you suggested:
\header_remove('X-Frame-Options');

This is now documented: https://github.com/delight-im/PHP-Auth/commit/829d5614edcdfe26edfc8fc925841b22cf35e9a9
Thanks for bringing this up!

I used Firefox 54, and according to developer tools, the header was merged to
Content-Security-Policy: frame-ancestors 'self' example.org
The documentation looks good, it was great working with you :)


Add "Command" ExecutableNode

This would have a string plug containing a command, and in execute() would simply call system( command ). This would be very useful for incorporating little pipeline utilities into networks of ExecutableNodes, and would also be very useful for testing purposes.
We should ensure that any variable references in the command are correctly substituted using the Context.
Would it also be useful to have a PythonCommand executable which runs arbitrary python code?

Closing this, since we now have both a SystemCommand and a PythonCommand.


FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

Bug Report
Description
Bug Summary:
Latest git repository as of July, 2024, running docker compose up --pull always --build in PowerShell of Windows 10, running Docker Desktop, results in the following traceback:
115.4 ✓ 2861 modules transformed.
121.5 rendering chunks...
143.4
143.4 <--- Last few GCs --->
143.4
143.4 [16:0x7fe77847d030]   104087 ms: Mark-Compact (reduce) 1948.6 (1994.4) -> 1948.6 (1994.9) MB, 1332.58 / 0.00 ms  (+ 45.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 1404 ms) (average mu = 0.249, current mu = [16:0x7fe77847d030]   106348 ms: Mark-Compact (reduce) 1948.9 (1994.9) -> 1948.8 (1995.1) MB, 2017.23 / 0.00 ms  (average mu = 0.167, current mu = 0.108) allocation failure; GC in old space requested
143.4
143.4
143.4 <--- JS stacktrace --->
143.4
143.4 FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
143.4 ----- Native stack trace -----
143.4
144.4 npm ERR! path /app
144.4 npm ERR! command failed
144.4 npm ERR! signal SIGABRT
144.4 npm ERR! command sh -c npm run pyodide:fetch && vite build
144.4
144.4 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-07-25T17_53_55_234Z-debug-0.log
------
failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1

Steps to Reproduce:
git clone https://github.com/open-webui/open-webui.git
cd into the directory
docker compose up --pull always --build with Docker Desktop running
Expected Behavior:
Container should build and run without error.
Actual Behavior:
[Describe what actually happened.]
Environment

Open WebUI Version: 0.3.10

Ollama (if applicable): 0.3.0 Windows Preview

Operating System: Windows 10

Browser (if applicable): Chrome

I tried increasing the VMEMM limit from 2Gb to 4Gb in the .yaml file, however same issue.

Unless there's a specific reason, do you need to be building it? You could comment out the build: section of the compose file and drop the --build argument and it'll simply pull the images from GHCR.


Type converters don't generate _$PreferencesFromJson and _$PreferencesToJson

Follow the Type Converters docs to add preferences column to Users table with moor 3.3.1.
database.dart
import 'package:moor/moor.dart';
import 'package:json_annotation/json_annotation.dart' as j;
import 'dart:convert';

part 'database.g.dart';

class Users extends Table {
  IntColumn get id => integer().autoIncrement()();
  TextColumn get name => text()();

  TextColumn get preferences =>
      text().map(const PreferenceConverter()).nullable()();
}

@j.JsonSerializable()
class Preferences {
  bool receiveEmails;
  String selectedTheme;

  Preferences(this.receiveEmails, this.selectedTheme);

  factory Preferences.fromJson(Map<String, dynamic> json) =>
      _$PreferencesFromJson(json);

  Map<String, dynamic> toJson() => _$PreferencesToJson(this);
}

// stores preferences as strings
class PreferenceConverter extends TypeConverter<Preferences, String> {
  const PreferenceConverter();
  @override
  Preferences mapToDart(String fromDb) {
    if (fromDb == null) {
      return null;
    }
    return Preferences.fromJson(json.decode(fromDb) as Map<String, dynamic>);
  }

  @override
  String mapToSql(Preferences value) {
    if (value == null) {
      return null;
    }

    return json.encode(value.toJson());
  }
}

@UseMoor(tables: [Users])
class Database extends _$Database {
  Database(QueryExecutor e) : super(e);

  @override
  int get schemaVersion => 1;

  /// Creates a user and returns their id
  Future<int> createUser(String name) {
    return into(users).insert(UsersCompanion.insert(name: name));
  }

  /// Changes the name of a user with the [id] to the [newName].
  Future<void> updateName(int id, String newName) {
    return update(users).replace(User(id: id, name: newName));
  }

  Stream<User> watchUserWithId(int id) {
    return (select(users)..where((u) => u.id.equals(id))).watchSingle();
  }
}

run flutter packages pub run build_runner build to generate database.g.dart:
flutter packages pub run build_runner build
[INFO] Generating build script...
[INFO] Generating build script completed, took 311ms

[INFO] Initializing inputs
[INFO] Reading cached asset graph...
[INFO] Reading cached asset graph completed, took 181ms

[INFO] Checking for updates since last build...
[INFO] Checking for updates since last build completed, took 857ms

[INFO] Running build...
[INFO] 1.2s elapsed, 0/10 actions completed.
[INFO] 2.2s elapsed, 0/10 actions completed.
[INFO] 3.2s elapsed, 0/10 actions completed.
[INFO] 4.9s elapsed, 0/10 actions completed.
[INFO] 6.1s elapsed, 0/10 actions completed.
[INFO] 9.1s elapsed, 0/10 actions completed.
[INFO] Running build completed, took 10.0s

[INFO] Caching finalized dependency graph...
[INFO] Caching finalized dependency graph completed, took 137ms

[INFO] Succeeded after 10.2s with 4 outputs (13 actions)

but _$PreferencesFromJson and _$PreferencesToJson method not found in database.g.dart.

This sounds like an issue with json_serializable, which should write those methods to database.g.dart as well.
Did you add a dev_dependency on json_serializable? If so, can you try to run flutter pub run build_runner clean once and re-run the build afterwards?

This sounds like an issue with json_serializable, which should write those methods to database.g.dart as well.
Did you add a dev_dependency on json_serializable? If so, can you try to run flutter pub run build_runner clean once and re-run the build afterwards?

It works well after add json_serializable and re-run the build command.
Thanks @simolus3 .


Responsiveness

Added responsive css as in:
https://www.figma.com/file/DChfqSLXxd77jJnG2xoM6d/Prisma-Docs-v2?node-id=0%3A1
TODO:

Sticky search container in mobiles
Search input expansion on focus

Resizing your browser window is already fun 🚀


Split out Papertrail hook to its own repo

References #262 . Moves the Papertrail hook to its own hosted repo.

Thank you so much @polds!

\cc @al3x @txgo

@al3x @txgo Shoot me a message if you both would like Collaborator access to the new repo.


Compatibility issue with FX master in Foundry V9

Uncertain if this is on your end or theirs so I'll be opening a similar ticket on their github, but when both of these modules are enabled, new scenes will fail to load.
https://github.com/ghost-fvtt/fxmaster

Duplicate of #167. Fixed in 3.2.3.


Accordion issue with Flowbite 2.2

Describe the bug
Flowbite 2.2 is unable to work flexibly with accordions in the same way that 1.8.1 (and possibly other versions) could. In my custom blocks for Gutenberg, each accordion (H2 + content div) is wrapped in a div due to the nature of repeatable InnerBlocks in the WordPress post editor. The accordions are used for an FAQ.
The data attributes are still sequentially numbered, but FAQ items can be interspersed on a page across multiple block instances (for example, when multiple FAQ sections are used, each with its own heading). That's not to say data attributes reset the count each time - they are sequential down a given page no matter how many separate blocks are present. This was not a problem with 1.8.1 - which I've reverted to for the time being - and is a problem with 2.2. When using 2.2 (the latest as of writing this), only the FAQ items in the last block containing accordion code are functional. The other accordion items on any given page are unresponsive.
To Reproduce
Steps to reproduce the behaviour:

Copy any of the accordion blocks from the Flowbite block library
Place several on a test page
Add some JS to ensure that they are sequentially numbered despite being broken into different sections.
(Optional, may be necessary) Wrap the H2 + content div pairs in a div. No idea if this is relevant.
Interact with accordion items on the frontend.

Expected behaviour
All accordion items expand on click. If only one should be expanded at one time, they should collapse appropriately even when an item in another section/block is selected. This is how it works for me with 1.8.1.
Devices:
Behaviour is consistent for me across different browsers and devices.
Additional context
I am not using Flowbite in a React or Vue project. This is a WordPress plugin with PHP, JS, HTML & CSS. I haven't experienced other issues with Flowbite's JS features, and 1.8.1 works flawlessly for me.

I made a minimal demo in CodePen here:
https://codepen.io/brynb/pen/abMbrzY/a9d8a848219023a5484c156818cb3ba3
Frontend-only view:
https://codepen.io/brynb/live/abMbrzY/a9d8a848219023a5484c156818cb3ba3
As expected, despite the sequential numbering throughout the page, only the last FAQ section is working with Flowbite 2.2.

Hey @BrynCB,
Thanks for opening up the issue. I'll have a look at this after the holidays for the v2.2.2 release.
Cheers,
Zoltan

@zoltanszogyenyi Is there any update on this bug?

I'm experiencing the same issue here.

same issue

version: "flowbite": "^2.3.0"
I tried to loop using Laravel for but only the last item is working
@for ($i = 0; $i < 3; $i++)

            <button type="button"
                class="flex items-center justify-between w-full py-5 font-medium text-left text-gray-500 border-b border-gray-200 dark:border-gray-700 dark:text-gray-400 gap-3"
                data-accordion-target="#accordion-flush-body-{{ $i }}" aria-expanded="false"
                aria-controls="accordion-flush-body-{{ $i }}">
                What are the differences between Flowbite and Tailwind UI?
                <x-tabler-circle-chevron-down />
            </button>

body

@endfor

https://github.com/user-attachments/assets/38957547-509d-4f23-abb7-0e6e24fce179


Online version taken down???!

Hi, The online version got taken down and I would really love to see it back up again Ty:)

I know, I can't find anything to run the code on it's own, nor do I have the time, so I have to use the online version. I had mastered Equinox and Animals.

So is there still a version that works thats up and running that people can
access?
On Sun, Jan 22, 2023 at 9:55 PM oofalladeez117 @.***>
wrote:

I know, I can't find anything to run the code on it's own, nor do I have
the time, so I have to use the online version. I had mastered Equinox and
Animals.
—
Reply to this email directly, view it on GitHub
https://github.com/Dan12/Launchpad/issues/31#issuecomment-1399605070,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKYH3LASKIXDUZWZOWXASA3WTWND3ANCNFSM6AAAAAASYLEIAA
.
You are receiving this because you authored the thread.Message ID:
@.***>

There doesn't seem to be an online version currently. If you know a bit about ruby, you can get it to run on your own.
Personally I made myself a small dockerfile to easily spin it up for private use.
Although I would rather not share knockoff clones without the creator's permission.

There doesn't seem to be an online version currently. If you know a bit about ruby, you can get it to run on your own. Personally I made myself a small dockerfile to easily spin it up for private use. Although I would rather not share knockoff clones without the creator's permission.

Would you possibly be able to teach me how to do this? I really enjoyed using this website and would love to have an offline version

@kingepic84
Sorry for the long delay, I lost the dockerfile between server migrations.
I finally got around to recreating a new version.
You can check the installation instruction on the pull request I have submitted or my fork of the repo:
https://github.com/digitalravenstudio/Launchpad/tree/docker
Note, that if you use my fork, you obviously need to use the appropriate URL for cloning the repository.

@digitalravenstudio yo thanks for the reply man, no worries about taking so long to reply, I completely forgot about this comment about a week after I posted it

i dont know anything about code i just want to use the lauchpad again

There doesn't seem to be an online version currently. If you know a bit about ruby, you can get it to run on your own. Personally I made myself a small dockerfile to easily spin it up for private use. Although I would rather not share knockoff clones without the creator's permission.

i think you should just make a knockoff site and give credit

i dont know anything about code i just want to use the lauchpad again

Ok so all you need to do is install docker desktop on your machine, and I can send you the docker image via discord so you can use the launchpad again, just send your discord as a reply to this comment

blast kerbal official#8533
On Fri, Jun 2, 2023, 3:07 a.m. kingepic84 @.***> wrote:

i dont know anything about code i just want to use the lauchpad again
Ok so all you need to do is install docker desktop on your machine, and I
can send you the docker image via discord so you can use the launchpad
again, just send your discord as a reply to this comment
—
Reply to this email directly, view it on GitHub
https://github.com/Dan12/Launchpad/issues/31#issuecomment-1573257977,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAH2EBCTCI4GI6YZJV5NK2TXJGGJ5ANCNFSM6AAAAAASYLEIAA
.
You are receiving this because you commented.Message ID:
@.***>

For the sake of people that aren't versed in docker, I decided to host a clone of the program on my own spare resources.
You can access it here.
Please note:

While open source software is free, hosting it is not.
I will not be providing this site forever.
I will also not be doing active maintenance or bug fixes.
Don't be surprised if the site suddenly shuts down.

In the meantime, I might try to write a better tutorial that's easier to follow for people without the right know-how.

Thank you so much would be lovely if you could send the docker image via
discord
Discord: rejoicejuice
On Mon, Jun 19, 2023 at 4:21 PM Digital Raven Studio <
@.***> wrote:

For the sake of people that aren't versed in docker, I decided to host a
clone of the program on my own spare resources.
You can access it here https://launchpad.digitalraven.studio/.
Please note:

While open source software is free, hosting it is not.
I will not be providing this site forever.
I will also not be doing active maintenance or bug fixes.
Don't be surprised if the site suddenly shuts down.

In the meantime, I might try to write a better tutorial that's easier to
follow for people without the right know-how.
—
Reply to this email directly, view it on GitHub
https://github.com/Dan12/Launchpad/issues/31#issuecomment-1597281044,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKYH3LBEY2EEFBSUJTJYEFDXMBN55ANCNFSM6AAAAAASYLEIAA
.
You are receiving this because you authored the thread.Message ID:
@.***>

thank you so much
what software do you use to host website i might learn how to do it
On Mon, Jun 19, 2023 at 10:21 AM Digital Raven Studio <
@.***> wrote:

For the sake of people that aren't versed in docker, I decided to host a
clone of the program on my own spare resources.
You can access it here https://launchpad.digitalraven.studio/.
Please note:

While open source software is free, hosting it is not.
I will not be providing this site forever.
I will also not be doing active maintenance or bug fixes.
Don't be surprised if the site suddenly shuts down.

In the meantime, I might try to write a better tutorial that's easier to
follow for people without the right know-how.
—
Reply to this email directly, view it on GitHub
https://github.com/Dan12/Launchpad/issues/31#issuecomment-1597281044,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAH2EBAXBCMM7ITDLV4N7DTXMBN55ANCNFSM6AAAAAASYLEIAA
.
You are receiving this because you commented.Message ID:
@.***>

and also can you make the launchpad be able to run offline so i can save
the website as a file on my pc
On Mon, Jun 19, 2023 at 10:21 AM Digital Raven Studio <
@.***> wrote:

For the sake of people that aren't versed in docker, I decided to host a
clone of the program on my own spare resources.
You can access it here https://launchpad.digitalraven.studio/.
Please note:

While open source software is free, hosting it is not.
I will not be providing this site forever.
I will also not be doing active maintenance or bug fixes.
Don't be surprised if the site suddenly shuts down.

In the meantime, I might try to write a better tutorial that's easier to
follow for people without the right know-how.
—
Reply to this email directly, view it on GitHub
https://github.com/Dan12/Launchpad/issues/31#issuecomment-1597281044,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAH2EBAXBCMM7ITDLV4N7DTXMBN55ANCNFSM6AAAAAASYLEIAA
.
You are receiving this because you commented.Message ID:
@.***>

@mazowo Since the project is running locally, I was wondering if it is possible to modify the sound and add my own?


Creating NIC in the VNET from different subscription

This doc says: "If you want to use an existing subnet in other resource group or subscription, please provide the ID instead of the name of the subnet." That assumes that I can create NIC using VNET from different subscription.
However, https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface#create-a-network-interface says: "Before creating a network interface, you must have an existing virtual network in the same location and subscription you create a network interface in."
Which one is true? Is it supported scenario? So far I'm getting following error:
"Resource /subscriptions/<subscription id for vnet>/resourceGroups/<rg>>/providers/Microsoft.Network/virtualNetworks/Test1/subnets/default referenced by resource /subscriptions/<subscription id for NIC>/resourceGroups/VNet-Demo/providers/Microsoft.Network/networkInterfaces/Nic1 was not found. Please make sure that the referenced resource exists, and that both resources are in the same region." that just says about region.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 29b6bb22-cb91-c7f8-995e-134d0fe5627f
Version Independent ID: a92f24e8-36a0-808b-a9e7-598f85560b0f
Content: az network nic
Content Source: src/azure-cli/azure/cli/command_modules/network/_help.py
Service: virtual-network
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

hi @MyronFanQiu could you pls have a look

add to S170

@kosinsky official doc is correct. https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface#create-a-network-interface. subnet is a general resource used in all network commands. Some commands support the cross-subs scenario and some don't.

To summarize it's possible to assign cross-subs vnet via az command, but not possible via the portal. Am I correct?
If yes, from error above looks like az command still doesn't work even docs say it should.

@kosinsky No. We cannot assign cross-subs vnet for az network nic create. But we can assign cross-subs vnet for part of az commands. It depends on the server side. Since --subnet is a common resource across many Azure resources, it share same help message. That's why in az network nic create we have a misleading help message. The doc in azure cli is not accurate for az network nic create.


jq and R scripts

This PR adds two scripts

A shell script that uses jq to break out (mostly) normalized relational tables from the items and collections JSON.
A very quick R script that reads in these tables for easy processing in the R environment.

Thanks for the contribution! I've tested the jq script and the R script and it generates the files on my system.


perf: high per key cache hit rate does not mean high per chunk cache hit rate

dev=> create source s1 (v1 bigint)  with (
  connector = 'datagen',
  fields.v1.kind = 'random',
  fields.v1.min = '0',
  fields.v1.max = '250000',
  datagen.rows.per.second = '100000'
) row format json;
CREATE_SOURCE
dev=> create sink s1_sink as select v1, count(*) from s1 group by v1 with ( connector = 'blackhole' );                                                                                CREATE_SINK

We see that even though the row cache hit rate is about 70-80%(1-1.21/5.43 = 0.78),
we still need to fetch from S3 for each chunk. Of course, the lookup may also hit the block cache, but the fundamentals do not change, i.e. one key cache miss blocks the whole chunk.
Will add more metrics to see how much time it wastes exactly.
Originally posted by @lmatz in https://github.com/risingwavelabs/risingwave/issues/7268#issuecomment-1375395100

How to improve this


Issue with PDF page boundaries

Context
Hi, I'm parsing a PDF using version 0.4.4 of llama-parse and using gpt-4o:
max_timeout = 6000
num_workers = 4
check_interval = 10

parser = LlamaParse(
    result_type="markdown",
    verbose=True,
    language="pt",
    num_workers=num_workers,
    gpt4o_mode=gpt4o_mode,
    gpt4o_api_key=os.getenv('OPENAI_API_KEY'),
    max_timeout=max_timeout,
    check_interval=check_interval
)

I cannot share the PDF as it contains confidential information. It is a financial contract of 45 pages in Portuguese.
I implemented a utility function to consider the default delimiter "\n---\n" to separate the llama-parse parsed resulting document in pages.
Issue
The resulting splits doesn't match the right pages.
I don't know how you delimit the pdf pages in llamaparse functions,  but it seems like a block of text in a smaller square (a stamp at the end of each page of the contract in my case) is identified as a single page.
So for example, a pdf page with this stamp at the end will be split in 2 pages instead of one.

Hi!

It may be a bug on our part :(
It may be that the stamp are in actual separate page in the PDF.
It may be that the delimiter \n---\n is actually return by the parser (therefor accidentally creating an new page). For this one you may want to set the page_separator attribute to an new value, unlikely to appear in the PDF.

Hi @hexapode, thanks for your answer!

It may be that the stamp are in actual separate page in the PDF.

So the stamp is on the same page.

It may be that the delimiter \n---\n is actually return by the parser (therefor accidentally creating an new page). For this one you may want to set the page_separator attribute to an new value, unlikely to appear in the PDF

After installing the main branch version of llamaparse, I tried with another delimiter and split_by_page True (and with gpt4-o), but parsed result pages still doesn't match the right pdf pages. For example, this time, the 2nd, 3rd, 4th pdf pages all are in the 2nd parsed page result (documents[1])...

It may be a bug on our part

And do you need me to do some tests, troubleshooting on my side and send you the results?

When using llama-index PDFReader, for example, the pages match correctly, but the quality is lower obviously.

Hi!
Ideally could you share a similar document creating the same issue?
Alternatively, I will have a look at how the logic of split_by_page is implemented

Ideally could you share a similar document creating the same issue?

All these documents are confidential unfortunately...

Alternatively, I will have a look at how the logic of split_by_page is implemented

Thanks!

Hi @hexapode, this contract example if public:
https://www.bndes.gov.br/arquivos/contratos-exportacao/2013.0237.pdf
and it seems it also parsed into more pages than the actual document, when using gpt-4o.
It parsed into 48 pages when the document is actually 41 pages.
But when using llamaparse without gpt-4o (in text or markdown mode), it parses into the 41 pages correctly. So it might be an issue related to a gpt-4o post-processing step of the llama parser.

Hi! By using the API, both in GPT4o and normal mode, I always found 41 pages with the given document. Could you try with result_type="json" and repport the number of page returned?


always return false in release mode

Hello,
The method internetConnectionChecker.hasConnection works correctly in debug mode but always returns false in release mode or when I build apk release although my mobile is connected to the wifi

Did you add internet permission to Android manifest?

Adding the following in the Android manifest solved the issue for me:
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

    <application
        ...

Try the latest version of the package it will resolve your issue.

Closing this since updating the manifest file with the correct permissions resolves this particular issue.

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

<application
    ...


Upcoming core rework

The next release will include several breaking changes to the core. It aims to make the initial learning curve smaller and to simplify and speed up the core. Apart from the features mentioned here, I plan to add the following changes.
The component.useOnContent method will be removed
Instead only component.use will remain and middlewares behavior will be configurable with the middleware.$process array. It may contain code for COMPONENT, ELEMENT, TEXT and COMMENT nodes.
Take a look at the following snippet.
nx.component({root: true})
  .useOnContent(interpolate)
  .use(setup)
  .register('interpolate-comp')

function interpolate (node, state) {
  if (node instanceof Text) {
    node.nodeValue = node.nodeValue.replace(/\${(.+?)}/g, (match, prop) => state[prop])
  }
}

function setup (comp, state) {
  state.message = 'Hello World!'
}

It will turn into the following after the change.
nx.component({root: true})
  .use(interpolate)
  .use(setup)
  .register('interpolate-comp')

function interpolate (text, state) {
  text.nodeValue = text.nodeValue.replace(/\${(.+?)}/g, (match, prop) => state[prop])
}
interpolate.$process = [nx.types.TEXT]

function setup (comp, state) {
  state.message = 'Hello World!'
}

By default a middleware will only process the component node and non of its content. It moves complexity from the user to the contributors and middleware developers.
Middleware inheritance and the isolate config will be removed
Middlewares will no longer be inherited from ancestor components. Instead every component will have full control over what middleware it uses.
Take a look at the following snippet.
nx.components.app()
  .use((comp, state) => state.name = 'Bob')
  .register('app-comp')

nx.component().register('my-comp')

<app-comp>
  <my-comp>${name}</my-comp>
</app-comp>

In the current version this displays ‘Bob’, but in the next version it would display ‘${name}’. The reason is that my-comp wouldn’t inherit the interpolate middleware from app-comp.
Instead of relying on middleware inheritance the next release will introduce the base component which includes all of the important middlewares. It will serve as a base for most of the current components too. The above example could be rewritten as below with the next version.
nx.components.app()
  .use((comp, state) => state.name = 'Bob')
  .register('app-comp')

nx.components.base()
  .register('my-comp')

<app-comp>
  <my-comp>${name}</my-comp>
</app-comp>

This makes components more modular an easier to maintain as they take full responsibility of their behavior.
The this context in middlewares will be changed
Previously the this context inside middlewares was the currently processed node instance - which was also the first argument. This will change. The this context will always be the parent component instance (a web component). This means that for normal component middleares nothing will change. Content middlewares will get a reference to the parent component through the this context though.
To stay consistent, the this context will be set to the current component in every callback (attributes, observed functions, etc) too.
State boundaries will be reworked
State boundaries doesn’t always match with component boundaries in NX. For example the repeat attribute may add inheriting states to non component elements.
Handling state boundaries was a big hack, which was hidden by the attributes and props middleware. The next release will change this. The middleware.$boundary boolean prop will indicate that the middleware is a boundary middleware. NX injects the context/parent state into boundary middlewares on state boundaries instead of the new state. You probably won’t have to use this, but it makes developing complex middlewares easier for maintainers.
Many middlewares will be reworked
Most middlewares will be reworked form content to component middlewares (meaning that they will have middleware.$process=[nx.types.COMPONENT]). If all goes well, after the change only the attribute and interpolate middlewares will process content. Everything else will run only once on the component instance.
This removes a lot of unnecessary work and speeds up NX.

In the long term I hope to make a simple spec for the NX core, which could be implemented by anyone. If a framework or library implements the spec it becomes interoperable with any of the NX middlewares. This is the long term plan and this will be a step forward to achieve this.

This all sounds awesome. Simpler and more efficient is always better.

I think it would be best to implement this changes before the features in interest of stability, since the framework is expandable and you can expect other people to implement other features as needed.


add interface cmd to hardhat

the interface cmd (used via yarn hardhat interface) allows getting the ERC165 interface id for a contract. just a small quality of life bump.
example:
$ yarn hardhat interface IVersionableResolver
0xd700ff33

Any ideas why the tests are failing?


Revert "Todo components"

Reverts eapenzacharias/tasks-list#2

Hello @eapenzacharias ,
You did extremely great on this project! 👏 👏
Good Points 👍

Descriptive Pull Request
Good ReadMe
No linter errors

Cheers and Happy coding!👏 💻 🍷


Add more sources

Please add some new sources !
Sad Panda 🐼 good days are gone man
...
Add new sites !
I can't check the original Japanese language anymore and it's full of trash now man ( you can feel it ) .. the old good English manga is Dead...  Now it's all Japanese man .. They most get it together !
Add more sources bro !
It's like the app has lost his meaning

Amazing looks promising ، I thought the same thing that the old sources are obsolete but the application is still wonderful as it is .. You should add a lot of sources in your new project to ensure that the app is perfect
..
Good luck !
Thx for everything !


Add use model coords option to extraction

Set an extraction configuration item extracted dataset: use model coords: True to cause the extracted dataset to use model coordinate names instead of the defaults (time, depth, gridY, gridX). This is primarily intended for use by the SalishSeaNowcast make_averaged_dataset worker which needs to be able to produce day-averaged datasets that have the same coordinate names as the hour-averaged ones that they are down-sampled from.

Successfully created day-avg 202111 physics, chemisty & biology files for Jul-2017 using use model coords option and SalishSeaNowcast make_averaged_dataset day worker, then ran
reshapr extract config/reshapr/month-average_202111_physics.yaml --start-date 2017-07-01 --end-date 2017-07-31

to create month-avg file from day-avg files.


Wrong print screen under Payment methods set up

The print screen shown under the section on adding Payment methods to the call center actually shows Payment methods assigned to Retail stores.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e482c177-8def-6c1f-2276-933b0772a4e1
Version Independent ID: 07d08dab-6028-34bb-6016-86602a3cc51f
Content: Set up a call center channel - Commerce | Dynamics 365
Content Source: articles/commerce/channel-setup-callcenter.md
Service: dynamics-365-commerce
Product: ****
Technology: ****
GitHub Login: @samjarawan
Microsoft Alias: samjar

Thanks for the comment.  @samjarawan can you please take a look?

Thanks for the catch Mariya, I've uploaded a new image, should be live soon...
Sam


229 - ESTOP

This node will check if the ENTER key was pressed in the script that is running in another terminal. If the enter key is pressed the node will         start publishing a velocity of 0 to the stop_vel_interceptor topic, this is the new topic that the drivetrain will subscribe to. If there was no stop
requested the node will just keep publishing the values from /differential_drivetrain_controller/cmd_vel to the estop_vel_interceptor topic.

Description is in the readme of the branch.

post the description directly here in the future, and mention which issue this closes (closes #235 )

@NafisMolla you'll need to run the following on your repository (and implement the changes it asks you to) before the checks pass. It seems like you're good for ament-flake8, and ament-clang-format, and ament-xmllint, and ament-cppcheck, but you'll need to run clang-tidy (might be called ament-clang-tidy on the command line), and ament-flake8 on the root of your repository from the command line.

This node will check if the ENTER key was pressed in the script that is running in another terminal. If the enter key is pressed the node will start publishing a velocity of 0 to the stop_vel_interceptor topic, this is the new topic that the drivetrain will subscribe to. If there was no stop requested the node will just keep publishing the values from /differential_drivetrain_controller/cmd_vel to the estop_vel_interceptor topic.

How are we telling the drivtrain to stop listening to /differential_drivetrain_controller/cmd_vel if stop_vel_interceptor is published??


Issue with /thru

I think these explain themselves:

You only have EssentialCmds and Sponge installed correct?

Correct.


Accept or Content-Type in header to select json or xml

Hi,
I have an API that can take either JSON or XML. Swagger uses a pulldown to control the response or request schema type.  It seems that RapiDoc combines them. But I only want one.
Swagger curl:
-H  "accept: application/xml"
OR
-H  "accept: application/json
RapiDoc:
-H "Accept: application/json, application/xml"
Thanks for any suggestions.

is it creating an issue on your end ?
the curl syntax is only for viewing/copying, it is not the actual call RapiDoc is making to the server when you click TRY

My API throws a
"Response Status: Bad Request. Invalid content type specified in request:400"
I guess for GET, for example, it doesn't know which type to return.

So as I understand it is not the problem with curl syntax that is shown in RapiDoc.
instead it is the Actual call that RapiDoc is making to your API Server when you click TRY button
can you confirm if thats the correct understanding ?

I applied the content-type fix already. You're correct, problem is not with curl. I was just comparing curl with curl from Swagger to see any differences. Swagger doesn't use curl either, but it's the best debugging info for me.  But same .yaml file works in Swagger. I can play with some more tests in Postman on Wednesday. They all have Content-type in them but not Accept. Our docs say Accept is required but it's not in my test library and it works fine.

I created a test case where I removed the XML response for a GET. This worked.
  /departments:
    get:
      summary: Retrieve a list of departments
      description: Retrieve a list of departments.
      operationId: getDepartments
      tags:
        - Department
      parameters:
        - $ref: '#/components/parameters/maxPage'
        - $ref: '#/components/parameters/pageNumber'
      responses:
        '200':
          description: A list of departments
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DepartmentListResponse'

vs

  /departments:
    get:
      summary: Retrieve a list of departments
      description: Retrieve a list of departments.
      operationId: getDepartments
      tags:
        - Department
      parameters:
        - $ref: '#/components/parameters/maxPage'
        - $ref: '#/components/parameters/pageNumber'
      responses:
        '200':
          description: A list of departments
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DepartmentListResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/DepartmentListResponse' `

I think this isnt any issue anymore on your end. There is no change needed on RapiDoc's end

If you specify in the spec that it accept multiple content-type responses then rapidoc will form the Accept header accordingly
content-type header will be formed based upon what data are you sending json, xml, txt

Thanks for looking at this issue.
I pulled the latest changes from master, include #213. But it still fails if there are multiple response types. I'm not sure what I can change on my end to fix the problem - it needs both types of responses.

I have a related/more specific issue: if I select a content type for the Accept header of a GET request, everything works as expected: only the selected content type will be sent to the server.
BUT: if I want to set the header for a POST, all available content types are concatenated, as described by the author of this issue.

I have a related/more specific issue: if I select a content type for the Accept header of a GET request, everything works as expected: only the selected content type will be sent to the server.
BUT: if I want to set the header for a POST, all available content types are concatenated, as described by the author of this issue.


App is crashing continously in IOS device

I am running my project on an ios device, App is crashing every two minutes and it is showing a memory issue.

thread #16, name = 'io.worker.4', stop reason = EXC_RESOURCE RESOURCE_TYPE_MEMORY (limit=2098 MB, unused=0x0)
frame #0: 0x000000022d7f5aa8 libsystem_platform.dylib_platform_memmove + 88 libsystem_platform.dylib_platform_memmove:
->  0x22d7f5aa8 <+88>:  stnp   q0, q1, [x3]
0x22d7f5aac <+92>:  add    x3, x3, #0x20
0x22d7f5ab0 <+96>:  ldnp   q0, q1, [x1]
0x22d7f5ab4 <+100>: add    x1, x1, #0x20
Target 0: (Runner) stopped.

Flutter doctor
[✓] Flutter (Channel stable, 3.3.0, on macOS 12.2 21D49 darwin-x64, locale en-IN)
• Flutter version 3.3.0 on channel stable at /Users/Documents/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ffccd96b62 (8 weeks ago), 2022-08-29 17:28:57 -0700
• Engine revision 5e9e0e0aa8
• Dart version 2.18.0
• DevTools version 2.15.0
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc1)
• Android SDK at /Users/Library/Android/sdk
• Platform android-33, build-tools 31.0.0-rc1
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 13F100
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
[✓] VS Code (version 1.72.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.50.0
[✓] Connected device (3 available)
• Iphone 11  (mobile) • 00008030-00114920349B402E • ios            • iOS 15.4.1 19E258
• macOS (desktop)     • macos                     • darwin-x64     • macOS 12.2 21D49 darwin-x64
• Chrome (web)        • chrome                    • web-javascript • Google Chrome 106.0.5249.119
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!

Hello @Venkateshazibtek. I have found some similar issues. Could this be a duplicate of one of them:

https://github.com/flutter/flutter/issues/96370
https://github.com/flutter/flutter/issues/110331

Yes @exaby73, For high-resolution images app is crashing in ios.

Since you issue is the same as https://github.com/flutter/flutter/issues/110331, I am closing this one as a duplicate. Please follow up on that issue instead. Thank you.


Bug Fix - metrics.py

Turning on evaluation mode with model.eval() in get_model_size may cause a lot of errors if the user does not switch it back to the original training state in the calling function.
I've integrated restoring the previous state here.

Indeed, you're right.
Thanks for the bug fix!


Update mutagen requirement

They have added file-like object support which may or may not be useful at some point. EasyID3 now maps TPE2 to albumartist rather than performer. Among many general changes/updates like dropping Python 2.6 support.

Thanks!


Cesium rendering stopped when using tileMapService imagery provider with small bounding box

Hello,
When I use tile map service imagery provider and set small bounding box and zoom my view to level 10 or higher, cesium throws an error "Rendering stopped,  D is undefined"
currently my bounding box rectangle is:
Cesium.Rectangle.fromDegrees(23.73046875, 57.0849609375, 24.3896484375, 57.48046875)

added fix in my fork


METRON-1553 Validate JIRA Script Error

The dev-utilities/release-utils/validate-jira-for-release script has a minor error when run.
$ ./validate-jira-for-release --version="0.4.3" --start=tags/apache-metron-0.4.2-release
Cloning into 'metron-0.4.3'...
remote: Counting objects: 39871, done.
remote: Compressing objects: 100% (13140/13140), done.
remote: Total 39871 (delta 18078), reused 37550 (delta 17019)
Receiving objects: 100% (39871/39871), 54.34 MiB | 6.23 MiB/s, done.
Resolving deltas: 100% (18078/18078), done.
fatal: Not a git repository (or any of the parent directories): .git
Fetching origin
JIRA STATUS FIX VERSION ASSIGNEE FIX
METRON-1549 Done Michael Miklavcic https://issues.apache.org/jira/browse/METRON-1549
METRON-1541 To Do Unassigned https://issues.apache.org/jira/browse/METRON-1541
...

To test this, just run the same command as shown above and ensure no error messages are shown.
Pull Request Checklist

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?
[x] Have you included steps to reproduce the behavior or problem that is being changed or addressed?
[x] Have you included steps or a guide to how the change may be verified and tested manually?
[x] Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:
[ ] Have you written or updated unit tests and or integration tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

The only thing I'd add is maybe porting over the "directory already exists" from one of the other scripts (e.g. either delete and repull, or go into the directory and pull).
Right now clone gives an error that the dir already exists, which I believe means it won't pull or update, so I'm not sure if things get handled appropriately lining up source to jira.
Having said that, this is really helpful to have fixed, thanks!

@justinleet: The only thing I'd add is maybe porting over the "directory already exists" from one of the other scripts...

Yes, that would be nice.   Did you previous PR already have that?  If it did, let's just go with your PR.
Otherwise, would it make to do that as a follow-on or do you see that necessarily fitting in here?

I didn't handle it particularly cleanly (I just nuked the dir if the user was okay with it), and the way you're doing the other stuff is cleaner anyway, so I'm fine with using this.
If we wanted to be more clean about it, we could have the directory just pull if it already exists.
What I did was
# warn the user if the working directory exists
if [ -d "$WORK" ]; then
  read -p "  directory exists [$WORK].  overwrite existing repo? [yN] " -n 1 -r
  echo
  if [[ ! $REPLY =~ ^[Yy]$ ]]; then
    exit 1
  fi
fi

rm -rf "$WORK/metron-$VERSION"
git clone $REPO "$WORK/metron-$VERSION"

I'm pretty neutral on if we want to take care of that here, or we want to leave it as follow on.  I'll leave that up to you.
+1

@justinleet I added a check as you suggested.  There are some whitespace changes (tabs to spaces) that my editor slipped in there.  I can clean those out if it is a distraction.

Thanks @nickwallen, this is a good fix. +1


Added broadcastMessage methods to PlayerExecutor

In my opinion you can remove it out of the CorePlayerExecutor because there will never come an implementation.

The CorePlayerExecutor and the PlayerExecutor are unused classes.
It's not needed to add some more methods, some are empty, when all other methods don't work.
It's a null instance

The CorePlayerExecutor ist used, of course. And I think I will implement those methods that are not implemented in it yet.

Yes it is used, but all other methods are not in use.  It don't make any sence to impent only 4 methos.

But I've already said that I will implement those unimplemented methods soon.

Closed, please file proper PRs and don't add unrelated code.


How to remove server headers from the response of application insights request.

How to remove server headers from the response of application insights request
my client app is angular 5
i want to remove following headers from the response.
X-Powered-By :ASP.NET
Server: Microsoft-IIS/10.0

@swodeshm  you can open the issue in ASP.NET ApplicationInsights repo to get more accurate responses
https://github.com/Microsoft/ApplicationInsights-aspnetcore


Cache std::ostringstream between assertions.

This is not thread safe, but I think that was already true of Catch.
The construction/destruction of the std::ostringstream is where the
vast majority of time is spent per assertion.  A simple test of
100000000 CHECK()s is reduced from around 60s to 7.4s

Description

GitHub Issues

Yeah, Catch Classic (1.x) is thread unsafe, because C++98 does not provide cross-platform facilities for dealing with threads...
Anyway, thanks I'll take a look later


use short hostname for registry

@openshift/sig-developer-experience fyi.  apparently we're supposed to use shortnames, not FQDN


Request: make new release on addons.mozilla.org

It seems that the exclude host feature was added, but is not in any released version. Can you make a new release on addons.mozilla.org ?
Thank you.

Submitted a new version for review.


Allow both CPU and GPU training

Sample output when training on the CPU..
yeats:lstm hsheil$ th main.lua
Could not find cunn or fbcunn. Falling back to CPU
Loading ./data/ptb.train.txt, size of data = 929589
Loading ./data/ptb.valid.txt, size of data = 73760
Loading ./data/ptb.test.txt, size of data = 82430
Network parameters:
{
max_grad_norm : 5
seq_length : 20
batch_size : 20
lr : 1
max_max_epoch : 13
rnn_size : 200
init_weight : 0.1
decay : 2
dropout : 0
layers : 2
vocab_size : 10000
max_epoch : 4
}
Creating a RNN LSTM network.
Starting training.
epoch = 0.004, train perp. = 9951.720, wps = 951, dw:norm() = 4.807, lr = 1.000, since beginning = 0 mins.
epoch = 0.104, train perp. = 7745.948, wps = 961, dw:norm() = 2.678, lr = 1.000, since beginning = 2 mins.
epoch = 0.204, train perp. = 5717.303, wps = 975, dw:norm() = 3.366, lr = 1.000, since beginning = 3 mins.
epoch = 0.304, train perp. = 4085.200, wps = 980, dw:norm() = 4.418, lr = 1.000, since beginning = 5 mins.
epoch = 0.404, train perp. = 2866.210, wps = 983, dw:norm() = 4.500, lr = 1.000, since beginning = 6 mins.
epoch = 0.504, train perp. = 1990.892, wps = 985, dw:norm() = 4.819, lr = 1.000, since beginning = 8 mins.
epoch = 0.604, train perp. = 1356.728, wps = 985, dw:norm() = 4.618, lr = 1.000, since beginning = 9 mins.
epoch = 0.703, train perp. = 921.981, wps = 980, dw:norm() = 4.133, lr = 1.000, since beginning = 11 mins.
epoch = 0.803, train perp. = 622.625, wps = 981, dw:norm() = 4.612, lr = 1.000, since beginning = 13 mins.
epoch = 0.903, train perp. = 415.353, wps = 982, dw:norm() = 4.678, lr = 1.000, since beginning = 14 mins.
Validation set perplexity : 182.621

there is a branch called "cpu" https://github.com/wojzaremba/lstm/tree/cpu
It achieves this.
Since CPU is a use-case that is not really an option for us (because of speed), we'd rather not have the code have additional clutter for this case.

Hi @soumith - ok understood. My motivation was to provide CPU compatibility for when the user doesn't have access to GPUs / quick, local prototyping and especially if this code became the basis for LSTM / RNN in Torch - but it looks like the rnn library from Nicholas Leonard will become that..


[CT-1542] [Feature] Combine MetricReference and ResolvedMetricReference?

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

Describe the feature
Right now, we have two classes in metrics.py called MetricReference and ResolvedMetricReference. The latter is a proxy over the former and contains helper functions  for working with metrics.
The issue with this is that we need the information from these helper functions at parse time, not runtime. They are required to construct the SQL for the metric queries. As such, this functionality can't be used because it is called at the same time and any attempt to use them in dbt_metrics causes errors.
Some might ask if this is a bug - it could be but we don't use these helper functions to date so I figured feature made more sense!
Describe alternatives you've considered
Adding the same logic to MetricReference but that seems tricky given that it appears that the class doesn't contain an input of the metric node.
Who will this benefit?
Anyone using metrics - this will speed up performance!
Are you interested in contributing this feature?
Yes!
Anything else?
I would love to contribute this feature but might need some advice on how dbt is using inheritance with regards to Parse classes and Runtime classes. To my novice eyes it looks like Parse exists before the node information is written to the manifest while the Runtime exists after. Obviously this isn't entirely true because we are able to parse some node level information at runtime.

My guess is that the two classes might have been copied from the implementation of ecposures. I can take a look tomorrow.

@gshank  I feel like we could just use one ResolvedMetricReference? Although it looks like in ResolvedMetricReference there are functions that tries to access parent_metrics_id which seems not accessible during parsing time?

@gshank I agree, it closely mimics exposures so it would make sense if it was copied using that format. @ChenyuLInx the helper functions would need to know the parent_metric_ids , which to your point might not be available at parse time. Is there way we can trigger some form of additional parse on metrics after the first completion in order to have all the information we need after running dbt parse?

https://github.com/dbt-labs/dbt-core/blob/cfece2cf51036b69d74f9212cfeb58958d193121/core/dbt/contracts/graph/metrics.py#L32-L93

The issue with this is that we need the information from these helper functions at parse time, not runtime. They are required to construct the SQL for the metric queries. As such, this functionality can't be used because it is called at the same time and any attempt to use them in dbt_metrics causes errors.

@callum-mcdata I'm a bit surprised to hear this. My understanding is that the entire {{ metrics.calculate() }} function should be happening at compile/runtime! Any chance you could share some sample code / errors where you've tried swapping out the Jinja-based approach for the ResolvedMetricReference helper methods?
There should be parity in terms of the information available between the Jinja context and Python objects like ResolvedMetricReference (exposed to the RuntimeProvider). The graph variable is not yet populated at parse time, though it is available/empty, and I'm wondering if that's what makes the difference.