getHtml returns html code with forward slashes around attribute values

output:
"
hi there.... This is article upload test 1.
"
issue:
having trouble running this html code in browser. after removing the forward slashes the code runs properly in a browser. please help.

Hi,
sorry, I cannot reproduce this issue.
How did you get this html string?
For me neither getCurrentHtmlAsync() (preferred) nor getCachedHtml() (will be removed soon) did return the double quotes escaped, that means with a forward slash.
Did you just copy that string from debugger view in Android Studio (IntelliJ) or Eclipse? Older versions of IntelliJ escaped double quotes in debugger view, but that's not the string's real value.
Could you please tell me which RichTextEditor version and which platform (Android or Java) you used?
Also it would be great if you could provide the steps to reproduce so I can figure out what the issue is.

hi,
I am using RichTextEditor version 2.0.1
method used getCurrentHtmlAsync().
passed the html string value to a string variable and then stored it in fierbase db.
please take a look at the code below
`private void save() {
editor.getCurrentHtmlAsync(new GetCurrentHtmlCallback() {
        @Override
        public void htmlRetrieved(@NotNull String html) {
            saveHtml(html);
        }
    });
}

private void saveHtml(String html) {
    // ...
    htmlText=html;
}

private void savePostToDatabase() {
    userRef.child(currentUserId).addValueEventListener(new ValueEventListener() {
        @Override
        public void onDataChange(@NonNull DataSnapshot dataSnapshot) {
            if (dataSnapshot.exists())
            {
                String userfullname = dataSnapshot.child("fullname").getValue().toString();
                HashMap postMap = new HashMap();
                postMap.put("uid", currentUserId);
                postMap.put("date", currentDate);
                postMap.put("time", currentTime);
                postMap.put("peronalityname", "TonyStark");
                postMap.put("articlehtml", htmlText);
                postMap.put("authorname", userfullname);

                postsRef.child(currentUserId + randPostName).updateChildren(postMap)
                        .addOnCompleteListener(new OnCompleteListener() {
                            @Override
                            public void onComplete(@NonNull Task task)
                            {

                                if(task.isSuccessful())
                                {
                                    sendUserToMainActivity();
                                    //editor.setHtml("
hi Jarvis setup my day

Here  is my program

Get me all i need hey

");
                                    Toast.makeText(PostActivity.this, "Article posted successfully.", Toast.LENGTH_LONG).show();
                                    loadingBar.dismiss();
                                }
                                else
                                {
                                    Toast.makeText(PostActivity.this, "Error occurred while posting your article.", Toast.LENGTH_LONG).show();
                                    loadingBar.dismiss();
                                }
                            }
                        });
            }
        }

        @Override
        public void onCancelled(@NonNull DatabaseError databaseError) {

        }
    });
}`

hi, thanks for your time. the getCurrentHtmlAsync() method works correctly.
the only problem was that the way it was stored in the firebase db


Android should match iOS callback

Ideally, the api should be the same for iOS and android.
Currently, the iOS module returns:
  NSDictionary *res=[[NSDictionary alloc] initWithObjectsAndKeys:[NSNumber numberWithInteger:statusCode],@"status",returnString,@"data",nil];

This pull request is to match that implementation.  While you could change the iOS module, I think the iOS implementation is more composable.

Thanks @venepe !


[Feature] NavBar component

Describe your changes
These commits add the navigation bar to the website.
Other changes included:

Add react-icons, and chakra-icons to dependencies.
Add subcomponents searchBar, navItem, and NavItemList.
Add theme.ts to modify the default theme.
Other tweaks and fixes.

Issue ticket number and link

Fixes #6

Topic

[x] Enhancement / New Feature
[ ] Bug Fix
[ ] Documentation
[ ] Test
[ ] Breaking Change

Supporting Docs

Screenshots:

Smaller additions from latest commits:

ProfileMenu:

SectionMenu:

Addition from latest commit:

FriendMenu:

Additions from the latest commit:

FriendMenu:

NotificationsMenu:

Latest changes:

I think this is ready to review. If anyone has the time to test this and tell me how it looks I would greatly appreciate it @ColleagueApp/development.
In order for the NavBar to be displayed you will need to add it to the App.tsx file, right under the header:
function App() {
  return (
    <ChakraProvider theme={theme}>
      <div className="App">
        <header className="App-header">
          {/* Insert NavBar Here */}
          <Text>

There's more residue code that I need to remove, but I will leave it there until the reviews are completed. I appreciate any contributions <3.


Patch default namespace with label

Traffic incoming on the HostNetwork is marked as netid:0, which causes Networkpolicies
to reject traffic. The Red Hat way is to patch default namespace with a label
Internal reference: OCP-31
Checklist

[x] Keep pull requests small so they can be easily reviewed.
[ ] Update the documentation.
[ ] Update the ./CHANGELOG.md.
[ ] Link this PR to related issues.

I tried to compile locally, but for some reason the resource locker lib cannot be imported:
$ make compile
docker run --rm --user "$(id -u)" -v "${PWD}:/openshift4-ingress" --workdir /openshift4-ingress --entrypoint /usr/local/bin/jb projectsyn/commodore:latest install
CLEAN /openshift4-ingress/vendor/lib
docker run --rm --user "$(id -u)" -v "${PWD}:/openshift4-ingress" --workdir /openshift4-ingress projectsyn/commodore:latest component compile .
Agent pid 10
grep: /app/.ssh: No such file or directory
No SSH keys were added
Compile component openshift4-ingress...
GET https://github.com/bitnami-labs/kube-libsonnet/archive/28743043c44c1f5cd69688c202e72d5f677ad02f.tar.gz 200
Compiling catalog...

Jsonnet error: failed to compile /tmp/component-uyt2hcep/dependencies/openshift4-ingress/component/main.jsonnet:
 RUNTIME ERROR: couldn't open import "lib/resource-locker.libjsonnet": [Errno 2] No such file or directory: '/tmp/component-uyt2hcep/dependencies/openshift4-ingress/component/lib/resource-locker.libjsonnet'
	/tmp/component-uyt2hcep/dependencies/openshift4-ingress/component/main.jsonnet:4:24-63	thunk <resourcelocker>
	/tmp/component-uyt2hcep/dependencies/openshift4-ingress/component/main.jsonnet:20:31-45	thunk <defaultNamespacePatch>
	/tmp/component-uyt2hcep/dependencies/openshift4-ingress/component/main.jsonnet:49:68-89	object <anonymous>
	During manifestation

Compile error: failed to compile target: openshift4-ingress
make: *** [Makefile:61: compile] Error 1


manager: Implement clean up data source tmp file

ref: longhorn/longhorn#3682
Implementation

Add remove data source tmp file in Delete api in backing-image-manager
Introduce a new state for BackingImageDataSource: FailedAndCleanUp

For Case: data source Pod is deleted in the progress

invoke Delete when BackingImageManager finds that

BackingImageDataSource CurrentState is failed and Transferred is false (ref)
then change the BackingImageDataSource state to FailedAndCleanUp

For Case: BackingImage is deleted in the progress
In BackingImageController

before removing the finalizer

if BackingImageDataSource is in In-Progress, update BackingImageDataSource status to Failed, this will trigger the above behavior to clean up the tmp files

can remove the finalizer when BackingImageDataSource is FailedAndCleanUp

That looks good. We can avoid an separate API then.

@Mergifyio backport v1.3.x v1.4.x


Datadog support

Add datadog under exporters
type DataDogConfig struct {
	Namespace              string                 `json:"namespace"`
	Service                string                 `json:"service"`
	TraceAddr              string                 `json:"trace_address"`
	StatsAddr              string                 `json:"stats_address"`
	Tags                   []string               `json:"tags"`
	GlobalTags             map[string]interface{} `json:"global_tags"`
	DisableCountPerBuckets bool                   `json:"disable_count_per_buckets"`
}

Keep sample rate: 100 (agent does the samping)

related to https://github.com/devopsfaith/krakend-opencensus/pull/37

Any ETA on Designer support for the Datadog config? It'd be super useful, since there's no examples or documentation for it yet. (Looking at the DataDogConfig struct and guessing what the config should look like is an option, but it's not clear if there are any gotchas to be aware of.)

Hi @garry-jeromson , KrakenD 1.2 with Datadog support was released yesterday, and also the docs that you can find here:
https://www.krakend.io/docs/logging-metrics-tracing/datadog/
The designer will add it VERY soon

Published

That was indeed very soon. Thanks!


Turn off certain cel's

Add the ability to not include certain cel's at all for a song. Probably can be done simply by breaking the link in the AssetRoot, although re-finding it a little more tricky.

For the files in the base game that are missing parts, they have the missing part replaced with a "null" object in the .uasset file, still ordered in beat/bass/loop/lead order. I'm thinking that will be all that's needed, since the game needs to start with that file to associate any individual tracks with a song.


Investigate current state of Debug Symbols in Noir

@kobyhallx is this still relevant? Any action items from the investigation?


aioquic.asyncio.connect does not respond to interrupts

I'm using aioquic.asyncio.connect() in the following way:
do_run = True
while do_run:
    try:
        async with connect(self._settings.address,
                           int(self._settings.port),
                           configuration=self._quic_config,
                           create_protocol=self.generate_handler) as client:

            <use client here>

    except ConnectionError:
        await asyncio.sleep(self._settings.retry)

    except asyncio.CancelledError:
        do_run = False
    except KeyboardInterrupt:
        do_run = False

While sitting in aioquic.asyncio.connect() waiting for the connect, pressing ctrl-c (KeyboardInterrupt) from the command line does not break out as expected.  Even an abort (ctrl-) does nothing.
I need aioquic.asyncio.connect() to interrupt when I need it to. What am I doing wrong here?

Do you know if the connection is actually established?

No, actually it isn't.  The server side is deliberately not running (for testing this very thing) so connect() is sitting there attempting.

I can't replicate what you're seeing so far.  I took the code sketch you provided and expanded it into something that could run with QUIC logging on, and ran it.   The connect() call is configured to wait until connected, and I see QUIC following the expected "loss detection triggered" path since there is nothing on the other end answering.  If I hit ^C, the asyncio wait is canceled and the program exits.
I'm running aioquic 1.0.0 with python 3.12.3 on macOS.  What are your versions of aioquic, python, and what OS?
Sample run:
% python connect-issue.py
2024-05-10 06:18:06,692 DEBUG: Using selector: KqueueSelector
TOP
2024-05-10 06:18:06,698 DEBUG: [9b7c51fef967e7fe] TLS State.CLIENT_HANDSHAKE_START -> State.CLIENT_EXPECT_SERVER_HELLO
2024-05-10 06:18:06,899 DEBUG: [9b7c51fef967e7fe] Loss detection triggered
2024-05-10 06:18:06,899 DEBUG: [9b7c51fef967e7fe] Scheduled CRYPTO data for retransmission
2024-05-10 06:18:07,301 DEBUG: [9b7c51fef967e7fe] Loss detection triggered
2024-05-10 06:18:07,301 DEBUG: [9b7c51fef967e7fe] Scheduled CRYPTO data for retransmission
^C
2024-05-10 06:18:07,537 INFO: [9b7c51fef967e7fe] Connection close sent (code 0x0, reason )
2024-05-10 06:18:07,537 DEBUG: [9b7c51fef967e7fe] QuicConnectionState.FIRSTFLIGHT -> QuicConnectionState.CLOSING
2024-05-10 06:18:08,138 DEBUG: [9b7c51fef967e7fe] Discarding epoch Epoch.INITIAL
2024-05-10 06:18:08,139 DEBUG: [9b7c51fef967e7fe] Discarding epoch Epoch.HANDSHAKE
2024-05-10 06:18:08,139 DEBUG: [9b7c51fef967e7fe] Discarding epoch Epoch.ONE_RTT
2024-05-10 06:18:08,139 DEBUG: [9b7c51fef967e7fe] QuicConnectionState.CLOSING -> QuicConnectionState.TERMINATED
2024-05-10 06:18:08,139 ERROR: Future exception was never retrieved
future: <Future finished exception=ConnectionError()>
ConnectionError
CANCEL

and the updated source I tested with:
import asyncio
import logging

import aioquic.quic
import aioquic.quic.configuration
from aioquic.asyncio import connect

config = aioquic.quic.configuration.QuicConfiguration()

address = "<IP_ADDRESS>"
port = 5354

logging.basicConfig(
    format="%(asctime)s %(levelname)s: %(message)s", level=logging.DEBUG
)

async def try_connect():
    do_run = True
    while do_run:
        print("TOP")
        try:
            async with connect(
                address,
                port,
                configuration=config,
            ) as client:
                print("connected")
        except ConnectionError:
            print("RETRY")
            await asyncio.sleep(10)
        except asyncio.CancelledError:
            print("CANCEL")
            do_run = False
        except KeyboardInterrupt:
            print("KEYBOARD")
            do_run = False
        except Exception as e:
            print("EXCEPTION", type(e), e)

asyncio.run(try_connect())

This turns out to be pilot error.  The code fragment I provided in the original post is in a class that inherits from another, and when I went down that rabbit hole, I found that the superclass is trapping Linux signals, and the signal handler is setting a class variable that subclasses are expected to regard.  This prevents the try/except wrapper around aioquic.asyncio.connect() from responding to KeyboardInterrupt, and the loop does not terminate.
Effectively, this was a hidden catch-and-kill.  My apologies, and my gratitude for the extra pair of eyes on this.


fix to allow UDFs to work

I think this will decrease coverage by a single line. I guess I should add a unit test to avoid an accidental reversion...

Changes Unknown when pulling 6449cc80d3358a65c9a59c95922ea88698db035a on udf_fix into ** on master**.


bitwiseIterator not working for some numbers

The bitwise iterator is producing strange results in some cases, for example
            const items = [];
            for( let i = 0; i < 50; i++){
                items.push('aaa-'+i);
            }
            let c = new Combinatorics.Combination(items, 35);
            console.log(c);
            console.log(c.nth(0));
            const it = c.bitwiseIterator();
            console.log(it.next());

the .nth function produces a correct output of length 35,
but the iterator produces only an array of length 3
{
    "value": [
        "aaa-0",
        "aaa-1",
        "aaa-2"
    ],
    "done": false
}

Apparently it works as expected up to 30, the for 31 and 32 it produces only empty arrays, and for larger numbers it truncates the length of the resulting combinations.
Tested on chrome 91 and firefox 91

maybe it is related to integers being 32 bits long, can we use bigintegers for n > 30 ?

It is because c.length =<PHONE_NUMBER>120, which is larger than 0xFFFFFFFF or maximum Number that can safely apply bitwise operation.  Now that all browsers support BigInt, I have made .bitwiseIterator() use BigInt so it works beyond  0xFFFFFFFF.
https://github.com/dankogai/js-combinatorics/commit/65cff7cc270e71ac18d9def280c0d8cd18078406


XML - Component - Navigation Bar

@paulinea  should the xml code be visible in the xml code panel, as I do not see it?

@paulinea should the xml code be visible in the xml code panel, as I do not see it?

@B3nz01d The XML code implementation of the bottom navigation has been added in the #671 which has not been merged for the moment.


Single VM: Fix Single VM

Single VM was broken by #850 as it was not updated to reflect the new
controller paths introduced by that PR.  This patch modifies Single VM
to use these paths.  The BAT tests pass in Single VM with this patch applied.
Signed-off-by: Mark Ryan<EMAIL_ADDRESS>

Coverage decreased (-0.02%) to 65.119% when pulling 4922280d91f44ed7d75d6bed91ef774d1d9afbbb on markdryan:fix-single-vm into 98936c532341670b6fab030747024b52515518f1 on 01org:master.

Coverage decreased (-0.06%) to 65.08% when pulling 4922280d91f44ed7d75d6bed91ef774d1d9afbbb on markdryan:fix-single-vm into 98936c532341670b6fab030747024b52515518f1 on 01org:master.

@mcastelino I'm just going to merge this as I can't really do any work while Single VM is broken.  Maybe you could take a look later just to make sure I didn't mess up.

@markdryan this seems to be still broken. The ssh keys are not being setup correctly...


Free Report Viewer that works in on-premises environments

https://ax.docentric.com/report-viewer-dynamics-365-finance-operations-on-premises/

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

ID: 31fc1b36-2034-9321-6502-c84f04981c0c
Version Independent ID: 7f85a2c1-e9e2-9983-74db-bb8607054c8d
Content: Features not implemented in on-premises deployments - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/fin-and-ops/get-started/features-not-implemented-on-prem.md
Service: dynamics-ax-applications
GitHub Login: @sericks007
Microsoft Alias: sericks

Hi Margo,
I understand. But let me me explain! We at Docentric created a really useful improvement of the built-in print management that we are not selling but proudly giving away as a community edition - namely, it's completely free!
Report Viewer is a very important feature which also ships with our community edition, and since it's missing in on-premises deployments, I believe that publishing this could be really helpful for many people which found disappointing that they cannot preview reports in D365FO on-premises environments.
Thank you,
Ana


Update SQLite3_ The columntypescantype method of type

Update SQLite3_ The columntypescantype method of type,
The original method always returns nil

Codecov Report

Merging #909 (cadffb5) into master (3cbdae7) will decrease coverage by 0.83%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #909      +/-   ##
==========================================
- Coverage   46.80%   45.97%   -0.84%
==========================================
  Files          11       11
  Lines        1457     1479      +22
==========================================
- Hits          682      680       -2
- Misses        640      663      +23
- Partials      135      136       +1

Impacted Files
Coverage Δ

sqlite3_type.go
0.00% <0.00%> (ø)

sqlite3.go
52.84% <0.00%> (-0.23%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3cbdae7...cadffb5. Read the comment docs.

Codecov Report

Merging #909 (cadffb5) into master (3cbdae7) will decrease coverage by 0.83%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #909      +/-   ##
==========================================
- Coverage   46.80%   45.97%   -0.84%
==========================================
  Files          11       11
  Lines        1457     1479      +22
==========================================
- Hits          682      680       -2
- Misses        640      663      +23
- Partials      135      136       +1

Impacted Files
Coverage Δ

sqlite3_type.go
0.00% <0.00%> (ø)

sqlite3.go
52.84% <0.00%> (-0.23%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3cbdae7...cadffb5. Read the comment docs.

Restore the mistakenly deleted copyright

Restore the mistakenly deleted copyright


TensorFlowLiteSwift does not specify a Swift version

Hi! When I try to run this on my podspec I get the following error:
  [!] Unable to determine Swift version for the following pods:

  `TensorFlowLiteSwift` does not specify a Swift version and none of the targets (`EdgeStoreEngine-ios`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.

I am getting the same error for cocoapods package manager. Any help would be much appreciated!

已经收到你的邮件，我会尽快回复的

可以在podspec里面去指定swiftversion


Problem connecting to docker

Hi,
I'm following the docker installation guide, but I cannot connect to my docker instance.
docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS                    NAMES
4a8c3e7ee9d2        cantino/huginn      "/scripts/init"     40 minutes ago      Up 40 minutes       <IP_ADDRESS>:3000->3000/tcp   adoring_kalam
While
docker ps -q | xargs docker inspect --format '{{ .Id }} - {{ .Name }} - {{ .NetworkSettings.IPAddress }}'
4a8c3e7ee9d2ac303edf83fbd2ebe9317bf365927749dd27bc7d7b9ee9c87e0f - /adoring_kalam - <IP_ADDRESS>
I cannot connect to neither IP addresses (<IP_ADDRESS> is my eth0 interface I suppose).
If I tcpdump the connection of the docker interface a see a RST packet from <IP_ADDRESS> :(
Any hints? I cannot login to the web screen.
tnx
P.s.
It might be helpful to know that I saw plenty of mysql errors in the docker's console, but these seems potentially innoquous..
mysqld stderr | 160330 00:00:57 mysqld_safe Can't log to error log and syslog at the same time.  Remove all --log-error configuration options for --syslog to take effect.
mysqld stdout | 160330 00:00:57 mysqld_safe Logging to '/var/log/mysql/error.log'.
mysqld stdout | 160330 00:00:57 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2016-03-30 00:00:57,611 INFO exited: mysqld (exit status 0; expected)
mysqld stdout | 160330 00:00:57 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
2016-03-30 00:00:57,613 INFO spawned: 'mysqld' with pid 2622
2016-03-30 00:00:58,615 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

Hi @Scinawa,
the output of docker ps looks good to me. When you are using Linux you should be able to access Huginn via http://localhost:3000, on OSX you would probably be using docker-machine, docker-machine ls should give you the IP of the docker host.

nope :|
docker-machine ls gave me an empty list..
Any Idea? I'm on a debian 8 and with not much docker experience

If you installed docker in debian Huginn should be reachable via localhost, did you try http://localhost:3000?

plenty of times :)

Sorry to hear that, i think it has to be an issue with your docker installation, did you follow the installation guide and does the "run a simple application" guide work for you?

I'm going to close this.  Please reopen if you have more questions!


Install fails with Request Timed Out Error.

Possible install-time or require-time problem

[x] I have read the documentation relating to installation.
[x] I have ensured that the architecture and platform of Node.js used for npm install is the same as the architecture and platform of Node.js used at runtime.

Are you using the latest version of sharp?

[x] I am using the latest version of sharp as reported by npm view sharp dist-tags.latest.

If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of sharp that is not the latest, please open an issue against that package instead.
Is this a problem with filesystem permissions?
If you are using npm v6 or earlier and installing as a root or sudo user, have you tried with the npm install --unsafe-perm flag?
If you are using npm v7 or later, does the user running npm install own the directory it is run in?
If you are using the ignore-scripts feature of npm, have you tried with the npm install --ignore-scripts=false flag?
 A complete log of this run can be found in: /home/krishna/.npm/_logs/2023-09-11T12_22_19_124Z-debug-0.log

What is the output of running npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp?

System:
OS: Linux 6.5 Arch Linux
CPU: (4) x64 Intel(R) Core(TM) i3-4005U CPU @ 1.70GHz
Memory: 1.14 GB / 3.73 GB
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 20.6.1 - /usr/bin/node
npm: 10.1.0 - /usr/bin/npm
pnpm: 8.7.4 - /usr/bin/pnpm

sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.4/libvips-8.14.4-linux-x64.tar.br
sharp: Installation error: Request timed out

It looks like there was a (temporary?) networking problem between the machine this was run on and GitHub.

@lovell  I also tried using the Chinese Mirror as mentioned in the installation docs
npm ERR! command failed
npm ERR! command sh -c (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
npm ERR! sharp: Downloading https://npmmirror.com/mirrors/sharp-libvips/v8.14.4/libvips-8.14.4-linux-x64.tar.br
npm ERR! sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies
npm ERR! sharp: Installation error: Request timed out

@estebancastro You have an unrelated issue - you are using v0.28.x that predates ARM64 on macOS - please upgrade. If you are still having problems please open a new installation issue.

Prebuilt sharp and libvips binaries have been provided for macOS on ARM64 since sharp v0.29.0.

https://sharp.pixelplumbing.com/install#apple-m1

@estebancastro You have an unrelated issue - you are using v0.28.x that predates ARM64 on macOS - please upgrade. If you are still having problems please open a new installation issue.

Prebuilt sharp and libvips binaries have been provided for macOS on ARM64 since sharp v0.29.0.

https://sharp.pixelplumbing.com/install#apple-m1

Upgrade MacOs? I'm on the latest Ventura 13.5.2 (22G91)
or I need install sharp globoally? or?
to be honest, I'm confused.

@estebancastro If you are still having problems please open a new installation issue. https://github.com/lovell/sharp/issues/new?labels=installation&template=installation.md

The custom logic to download prebuilt binaries will be removed as part of #3750 and with it will disappear these kind of networking-related errors (or at least responsibility for them will shift to the package manager).

I've solved the issue by turning off VPN
13.07 npm ERR! code 1
13.07 npm ERR! path /app/node_modules/sharp
13.07 npm ERR! command failed
13.07 npm ERR! command sh -c (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
13.07 npm ERR! sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.4/libvips-8.14.4-linux-x64.tar.br
13.07 npm ERR! sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies
13.07 npm ERR! sharp: Installation error: Request timed out

Please upgrade to v0.33.0 and this entire class of problem will go away.

I solve this issue by installing windows-build-tools packages turn out sharp require windows-build-tools

@Mahmud-Aminu sharp does not require windows-build-tools - please ensure you're using the latest version and if you still require help, please open a new installation issue.


Hydrator is not generating Enum randomly

It seems that Hydrator is always using first Enum value instead of selecting the values randomly.

I have fixed this issue under https://github.com/PrintsCharming/ObjectHydrator/pull/20


What if we have 2 .nsln files?

https://github.com/New-Creta/Rex/pull/167

fixed in latest rexpy 1.1.39


Failed to load the jibo-atom package

I added a 'native!' binding to one of my keymaps/*.cson to get native key input for an <input> element as described here
[Enter steps to reproduce below:]
Added
'.my-native-key-bindings':
  'enter': 'native!'

to keymaps/main.cson
Atom Version: 0.192.0
System: Mac OS X 10.10.1
Thrown From: Atom Core
Stack Trace
Failed to load the test-atom-package package
At reserved word "native"

[stdin]:7:13: error: reserved word "native"
  'enter': 'native!'
            ^

Commands

Config
{
  "core": {
    "showOnStartup": false,
    "themes": [
      "atom-dark-ui",
      "one-dark-syntax"
    ]
  },
  "editor": {
    "invisibles": {}
  }
}

Installed Packages
# User
test-atom-package, v1.0.1

# Dev
test-atom-package, v1.0.1

Thanks for the report, @jonathanjibo. I'm having trouble reproducing this, though -- I just added the same snippet to one of my packages and it didn't throw an error. Can you reliably reproduce this? If so, can you post your full package (in a state in which it throws the exception) into a GitHub repository and send us a link to that repository?

That's the strangest thing! I cannot reproduce this anymore. If it happens
again I'll post the package to github.
On Fri, Apr 17, 2015 at 8:19 AM, Ivan Žužak<EMAIL_ADDRESS>wrote:

Thanks for the report, @jonathanjibo https://github.com/jonathanjibo.
I'm having trouble reproducing this, though -- I just added the same
snippet to one of my packages and it didn't throw an error. Can you
reliably reproduce this? If so, can you post your full package (in a state
in which it throws the exception) into a GitHub repository and send us a
link to that repository?
—
Reply to this email directly or view it on GitHub
https://github.com/atom/atom/issues/6411#issuecomment-93974919.


add prefix if no domain defined for locale.

allows locale code prefix to be added if differentLocales is true but locale does not have domain defined.

What would be the use case for this change?
There are two other places that handle locale and do an "early return" of sort when differentDomains is enabled. I would expect those places to be sort of broken with this change.
We would need to add at least one test for this. That would also help in understanding the use case.

Apologies, this PR was sent to your main repo instead of our fork. Full documentation and tests will be provided in due course

@rchl I believe I am at a stage where I'm ready to submit a proper PR for this feature now. Could you help me with how to configure the tests?


What is the syntax for adding rules?

Type: Bug
I am unable to determine the syntax to add rules to settings.json in the extension. Copilot said to add the following but there is an issue with the outer curly braces. The formatter won't run with curly braces but will run with square brackets. However, the rules aren't obeyed by the formatter; its as if there are no rules.
"sqlfluff.rules": {
    "L010": {"capitalisation_policy": "upper"},
    "L014": {"capitalisation_policy": "lower"}
}

Or is there somewhere else I should be setting rules other than settings.json?
Extension version: 3.0.2
VS Code version: Code 1.90.0 (89de5a8d4d6205e5b11647eb6a74844ca23d2573, 2024-06-04T19:33:54.889Z)
OS version: Windows_NT x64 10.0.19045
Modes:

I am using this for Snowflake SQL. I have it as a language.
 "sqlfluff.linter.languages": [
        "snowflake-sql",
        "sql",
        "sql-bigquery",
        "jinja-sql",
        "postgres"
    ],

If I use square brackets I am able to format the document, unlike with the curly braces, but the rules aren't obeyed. It uses the case of the first keyword for the whole document and doesn't always set it to upper regardless of the case of the first keyword in the file.
"sqlfluff.rules": [
    "L010": {"capitalisation_policy": "upper"},
    "L014": {"capitalisation_policy": "lower"}
]

@nvoq-kimmiesse The sqlfluff.rules is not for configuring rules, just determining which rules will be run. You will need a separate sqlfluff config file to configure rules. The usage of sqlfluff.rules is an array of rules, only these rules will be executed and all other rules will be excluded.
"sqlfluff.rules": ["L009"]

Thank you, @RobertOstermann! I have it working now.


[SUTD Bands] Introduction to Digital Music

SUTD Bands | Introduction to Digital Music
Explore the ideas behind transforming human input to sound, the completeness of MIDI as a language of music, and learn the basics of designing and manipulating sounds using software synthesizers. Understand that there are new, innovative ways to make music.

Old slides, will be updated with new content | link
Pre-requisites
We will try to make it as beginner-friendly as possible, but it's recommended attendees should have some prior musical experience to understand certain concepts.
What's covered?

Understand how protocols like MIDI help to capture (fully or not) musician expressiveness.
Understand how computers synthesize sounds.
Learn how to analyze common sounds.
Hands-on session: Learn how to synthesize the sounds you want.
Understand that music innovation is at a standstill, and what we can do about it.

Session details

Date: 4th June (Week 3, Tuesday)
Preferred location: TT16/17
Timing: 6-8pm
Capacity: 20

Speakers/Workshop facilitators
Joel and friends from SUTD Bands
Logistical details
SUTD Bands will provide all equipment. Attendees are free to bring their own music making objects, but no mayonnaise please.

how many people do you expect for this event?

Updated capacity to 20 under session details @Fishbiscuit

https://discover.sutd.dev/events.html#intro-digital-music


Getting rpn_loss_box of NaN when using custom dataset

Hi,
I am using a custom dataset and get about 120 iterations in before the rpn_loss_box reports as NaN.
iter: 80 / 10000, total loss: 0.941651
 >>> rpn_loss_cls: 0.063259
 >>> rpn_loss_box: 0.815982
 >>> loss_cls: 0.047017
 >>> loss_box: 0.015394
 >>> lr: 0.001000
speed: 0.271s / iter
iter: 100 / 10000, total loss: 1.232251
 >>> rpn_loss_cls: 0.071523
 >>> rpn_loss_box: 1.027229
 >>> loss_cls: 0.096656
 >>> loss_box: 0.036843
 >>> lr: 0.001000
speed: 0.270s / iter
Wrote snapshot to: /home/hd006351/Documents/pytorch-faster-rcnn/output/vgg16/2018_train/default/vgg16_faster_rcnn_iter_101.pth
iter: 120 / 10000, total loss: 2.593077
 >>> rpn_loss_cls: 1.008498
 >>> rpn_loss_box: 1.346431
 >>> loss_cls: 0.186908
 >>> loss_box: 0.051240
 >>> lr: 0.000100
speed: 0.270s / iter
iter: 140 / 10000, total loss: nan
 >>> rpn_loss_cls: 0.682706
 >>> rpn_loss_box: nan
 >>> loss_cls: 0.000110
 >>> loss_box: 0.000000
 >>> lr: 0.000100
speed: 0.270s / iter

I have read about exploding gradients and thought it might have something to do with that, but am not really sure where to start fixing it. Do you have any advice on what I might be able to do to fix it?
Thanks

I'll test it with ResNet and see if that helps. If I were to add the gradient clipping where would I do that?

Say clip the gradient to norm 10. I haven't tried personally but I've known other people doing this.

I had no luck with using ResNet, it yielded the same result.
I noticed in another thread about checking bounding box values, and noticed that mine were already index 0-based. This meant that the -1 from:
x1 = float(bbox.find('xmin').text) - 1
y1 = float(bbox.find('ymin').text) - 1
x2 = float(bbox.find('xmax').text) - 1
y2 = float(bbox.find('ymax').text) - 1

was making the bounding box values negative. I have removed the '-1' from those lines. I am now encountering a new error:
wrote gt roidb to /home/me/Documents/pytorch-faster-rcnn/data/cache/2018_train_gt_roidb.pkl
Traceback (most recent call last):
  File "./tools/trainval_net.py", line 104, in <module>
    imdb, roidb = combined_roidb(args.imdb_name)
  File "./tools/trainval_net.py", line 75, in combined_roidb
    roidbs = [get_roidb(s) for s in imdb_names.split('+')]
  File "./tools/trainval_net.py", line 75, in <listcomp>
    roidbs = [get_roidb(s) for s in imdb_names.split('+')]
  File "./tools/trainval_net.py", line 72, in get_roidb
    roidb = get_training_roidb(imdb)
  File "/home/me/Documents/pytorch-faster-rcnn/tools/../lib/model/train_val.py", line 303, in get_training_roidb
    imdb.append_flipped_images()
  File "/home/me/Documents/pytorch-faster-rcnn/tools/../lib/datasets/imdb.py", line 118, in append_flipped_images
    assert (boxes[:, 2] >= boxes[:, 0]).all()
AssertionError
Command exited with non-zero status 1

I haven't had a chance to look into it yet, I'll continue trying to fix it tomorrow. Is this like anything you've seen before?

This means your xmax is less than xmin I guess.

To anyone who is also having the same problem and who wants to know how I solved it. This was an issue in that the code is written for annotations that are index 1-based (the first row/column of pixels is index 1, not 0), but I had written my annotations as 0-based.
I wrote a small bit of code to check my annotations for any errors, this will help you find out if yours is 0-based.
def validate_boxes():
    folder = "/home/you/path/to/data/Annotations/"

    for file in os.listdir(folder):
        tree = et.parse(folder+file)
        root = tree.getroot()

        for box in root.findall('object/bndbox'):
            xmin = int(box.find('xmin').text)
            xmax = int(box.find('xmax').text)
            ymin = int(box.find('ymin').text)
            ymax = int(box.find('ymax').text)

            if xmin < 0:
                print("Error in "+ file +": xmin less than 0")
            elif xmax < 0:
                print("Error in "+ file +": xmax less than 0")
            elif ymin < 0:
                print("Error in "+ file +": ymin less than 0")
            elif ymax < 0:
                print("Error in "+ file +": ymax less than 0")
            elif xmin > 500:
                print("Error in "+ file +": xmin greater than 500")
            elif xmax > 500:
                print("Error in "+ file +": xmax greater than 500")
            elif ymin > 375:
                print("Error in "+ file +": ymin greater than 375")
            elif ymax > 375:
                print("Error in "+ file +": ymax greater than 375")
            elif xmin > xmax:
                print("Error in "+ file +": xmin greater than xmax")
            elif ymin > ymax:
                print("Error in "+ file +": ymin greater than ymax")
            elif xmin == 0:
                print("Warning in "+ file +": xmin equals zero")
            elif ymin == 0:
                print("Warning in "+ file +": ymin equals zero")
            elif xmax == 0:
                print("Warning in "+ file +": xmax equals zero")
            elif ymax == 0:
                print("Warning in "+ file +": ymax equals zero")

If you find that your annotations being 0-based is the problem, you can either go through and add one to each of the values or modify the code in the following places:
In your datasets imdb file, assuming you based it on the pascal_voc file, remove the -1 from where the values are read. It should look like this:
       ```

x1 = float(bbox.find('xmin').text)
y1 = float(bbox.find('ymin').text)
x2 = float(bbox.find('xmax').text)
y2 = float(bbox.find('ymax').text)

Next you need to go to imdb.py lines 116 and 117 and change them to this:

boxes[:, 0] = widths[i] - oldx2# - 1
boxes[:, 2] = widths[i] - oldx1# - 1

I always see people coming into threads a year later asking how the issue was finally solved, so hopefully this helps someone :)


AYR-844/ fixed mobile view for browse-consignment

Changes in this PR

fixed mobile view for browse-consignment.html,
added an identified in search-transferring-body.html to identify the top row,
updated test e2e test cases
fix a test in test_search.py

JIRA ticket
AYR - 844
Screenshots of UI changes
Before

After

[ ] Requires env variable(s) to be updated

all e2e tests have been executed successfully (except visual regression tests)


README autoupdater?

Some sections of the README (help, examples...) require update everytime we do map new functionality to the cmd flags... maybe we can create a test that, given a README.src skeleton appends the output of running the latest version of tcpgoon automatically in the right sections (markers may be needed) to generate the final README.md

Extra idea: incorporate in this README autoupdater somethink like:
godepgraph -s github.com/dachad/tcpgoon | dot -Tpng -o godepgraph.png

Referenced PR now covers also the previous idea, so everything should be covered now!


Update scalatest to 3.2.6

Updates org.scalatest:scalatest from 3.1.4 to 3.2.6.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalatest", artifactId = "scalatest" } ]

labels: test-library-update, semver-minor

Superseded by #113.


Issue sending large att payloads

See https://github.com/embassy-rs/trouble/issues/115#issuecomment-2363759094 . Controller implementations may require att pdus to be fragmented.

Fixed


[Infra] Slack channel setup with synchronization

Like Wuhan2020 project, I think we can also use Slack as the IM tool for collaberation, and an independent workspace is mroe suitable.
Any suggestions ?

Maybe, although the collaborate process may not be too fast, GitHub asynchronous communication is enough, but we also need a place to share our past research and works to help developers to catch up. Slack is a good choice.

Yes, we don't need handl this in a rush way, and the allspark-chaoss workspace may also be a choice to support.
Creat a new one or use allspark-chaoss workspace, any suggestion ? @tianyi

All of our discussions in this workspace are not in  English. So developers can not understand Chinese will  not able to join the discussion. Maybe we need create a new workspace and  put all resources of our researches and works in English version.  "allspark-chaoss" workspace is just used for share ideas and documents in our lab.

I have created new workspace named X-GitHub-Analysis. Everyone can join in it using this link.(expires in 30 days)

I have created new workspace named X-GitHub-Analysis. Everyone can join in it using this link.(expires in 30 days)

Can you make a permanent link and add it into README?

The invite link settings have three choices, I don't find Never Expired option.

OK, so slack just remove the feature, because I made a permanent link for Wuhan2020 earlier, something like that

Which shows the link will expire in 1000years, but now it only has three options too, so we need to update the link every month.

OK, I will add the invite link into README and update it monthly.

Closed by #29


Feature request : Multiverse support on Bukkit servers

Is your feature request related to a problem? Please describe.
I'm an administrator of a server for builders. We often have multiple worlds to work with at a time.
Describe the solution you'd like
Let the plugin backup all the loaded worlds by default, providing blacklist/whitelist mode for filtering worlds needed to backup.
Describe alternatives you've considered
None yet
Additional context
None yet

Will be supported via #82

That is great! Looking forward to updates.


[T6A1][T09-B3]Ivan Koh

@ivankws
Some comments added. Please ack & close the PR after reading comments.


Use conf instead of ssl context for mbedtls_ssl_conf_client_ticket_en…

…able[disable]
Summary:
Since the resumption_mode is set on the configure level, use it as
input directly instead of passing mbedtls_ssl_context.
Test Plan:
Build and make test
Reviewers:
hanno.becker@arm.com,hannes.tschofenig@arm.com,junqi.wang<EMAIL_ADDRESS>Subscribers:
Tasks:
Tags:

Looks that the issue is also being addressed in [pull 68] (https://github.com/hannestschofenig/mbedtls/pull/68). I could hold on this one.

@hannestschofenig Could you take a look at this and comment on how it relates to your work in #68?

@hannestschofenig Could you take a look at this and comment on how it relates to your work in #68?

I think we should close this PR because it has been replaced by all the work on the ticket handling


Wish:  check on key present

To avoid runtime errors with output like
thread 'main' panicked at 'IndexMap: key not found', src/main.rs:25:23

is some check on key present needed.
In case such functionality already exists, please where at https://docs.rs/gura/0.3.4/gura/ I should find it.

Ah, nice.
I shall check what https://github.com/gura-conf/gura-rs-parser/commit/1e62e660d28ba6e0107f6eed7d6ccb805853cec4 did bring.

Hi! Sounds fair!
I've published the 0.4.0 version that includes:

A new method called contains_key to check if a specific key exists in an object.
Now if you index a Gura Object with an invalid key it'll panic with a more informative error saying that's not an object and that you should check with contains_key before indexing.

You can check an example of how to use that method in the basic example.
Sorry for the delay, I was waiting for docs.rs to finish building the documentation. Feel free to reopen the issue if you consider that it's not fixed with the new version :)


Possible incompatibility with HIGHS and OSQP?

Problem description
Hello,
I have installed the latest version of MICOM (through pip) and have been unsuccessful in importing it. Interestingly, after installing MICOM, importing Cobra by itself also yields the same error. Any help with this?
Code Sample

import micom

OSQP and HIGHS are available but could not load the hybrid interface.
Traceback (most recent call last):
  File "/Users/shahad/PycharmProjects/pythonProject/.venv/lib/python3.12/site-packages/optlang/__init__.py", line 61, in <module>
    from optlang import hybrid_interface
  File "/Users/shahad/PycharmProjects/pythonProject/.venv/lib/python3.12/site-packages/optlang/hybrid_interface.py", line 26, in <module>
    import optlang.matrix_interface as mi
  File "/Users/shahad/PycharmProjects/pythonProject/.venv/lib/python3.12/site-packages/optlang/matrix_interface.py", line 40, in <module>
    from numpy import Infinity, array, concatenate, zeros
ImportError: cannot import name 'Infinity' from 'numpy' (/Users/shahad/PycharmProjects/pythonProject/.venv/lib/python3.12/site-packages/numpy/__init__.py). Did you mean: 'isfinite'?
..

Process finished with exit code 0

Context

Python 3.12.3
micom 0.35.0
cobra 0.29

It's an incompatibility with numpy 2.0. It's already fixed in https://github.com/opencobra/optlang/pull/266 and there should be a new optlang release soon. For now, downgrading numpy to <2.0 should work.

Fixed in 0.36.3.


update to TFLite 2.5.0

Works for me, please test using the following and confirm or report issues here:
$ git checkout main
$ git fetch origin pull/88/head:tflite-2-5-0
$ git checkout tflite-2-5-0
$ make clean all && ./deepseg -d -d -c <your camera> -v <your loopback>

Causes a FTBFS for me:
$ LC_ALL=C make
g++ tensorflow//tensorflow/lite/tools/make//gen/linux_x86_64/lib//libtensorflow-lite.a deepseg.cc loopback.cc transpose_conv_bias.cc -Ofast -march=native -fno-trapping-math -fassociative-math -funsafe-math-optimizations -Wall -pthread -I tensorflow/ -I tensorflow//tensorflow/lite/tools/make//downloads/absl -I tensorflow//tensorflow/lite/tools/make//downloads/flatbuffers/include -ggdb -I/usr/include/opencv4/opencv -I/usr/include/opencv4 -lrt -ldl -L tensorflow//tensorflow/lite/tools/make//gen/linux_x86_64/lib/ -ltensorflow-lite -ldl -lopencv_stitching -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_dnn_objdetect -lopencv_dnn_superres -lopencv_dpm -lopencv_highgui -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_hfs -lopencv_img_hash -lopencv_line_descriptor -lopencv_quality -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_shape -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_superres -lopencv_optflow -lopencv_surface_matching -lopencv_tracking -lopencv_datasets -lopencv_text -lopencv_dnn -lopencv_plot -lopencv_ml -lopencv_videostab -lopencv_videoio -lopencv_viz -lopencv_ximgproc -lopencv_video -lopencv_xobjdetect -lopencv_objdetect -lopencv_calib3d -lopencv_imgcodecs -lopencv_features2d -lopencv_flann -lopencv_xphoto -lopencv_photo -lopencv_imgproc -lopencv_core -o deepseg
/usr/bin/ld: tensorflow//tensorflow/lite/tools/make//gen/linux_x86_64/lib//libtensorflow-lite.a(tensor_utils.o): in function `tflite::tensor_utils::VectorBatchVectorAdd(float const*, int, int, float*)':
tensor_utils.cc:(.text+0x3e5): undefined reference to `tflite::tensor_utils::PortableVectorBatchVectorAdd(float const*, int, int, float*)'
/usr/bin/ld: tensorflow//tensorflow/lite/tools/make//gen/linux_x86_64/lib//libtensorflow-lite.a(tensor_utils.o): in function `tflite::tensor_utils::ReductionSumVector(float const*, float*, int, int)':
tensor_utils.cc:(.text+0x425): undefined reference to `tflite::tensor_utils::PortableReductionSumVector(float const*, float*, int, int)'
/usr/bin/ld: tensorflow//tensorflow/lite/tools/make//gen/linux_x86_64/lib//libtensorflow-lite.a(tensor_utils.o): in function `tflite::tensor_utils::ReductionSumVector(int const*, int*, int, int)':
tensor_utils.cc:(.text+0x435): undefined reference to `tflite::tensor_utils::PortableReductionSumVector(int const*, int*, int, int)'
/usr/bin/ld: tensorflow//tensorflow/lite/tools/make//gen/linux_x86_64/lib//libtensorflow-lite.a(tensor_utils.o): in function `tflite::tensor_utils::ReductionSumVector(signed char const*, int*, int, int)':
tensor_utils.cc:(.text+0x445): undefined reference to `tflite::tensor_utils::PortableReductionSumVector(signed char const*, int*, int, int)'
collect2: error: ld returned 1 exit status
make: *** [Makefile:23: deepseg] Error 1

Will have to retry with a clean working copy avoiding any old source artifacts …

Thanks @BenBE, I too had to nuke all the previous tensorflow lite downloads/built objects. CMake seems to be nicer in this regard, as it correctly manages dependent source versions.

@floe, can you confirm this works for you - then I'll merge to main and experimental, closing both associated tickets.

Just noticed a regression on the part of Google, with v.2.5.0 tensorflow, and a CMake build, we see one of the dependencies (psimd) appear in our source folder under deps/psimd. I have eventually found a work-around, and need to report back to Google...

What's the effect of this aside from downloading files to the wrong folder?

What's the effect of this aside from downloading files to the wrong folder?

Nothing adverse to the build, but it pollutes our source tree and must be removed along with the build folder to clean up.

I went to report the regression, and discovered that the XNNPACK and FP16 teams have previously put in a fix, unfortunately the v2.5.0 tagged version of TFLite was created during the month this bug was present, so I'll stick with my workaround until a later version of TFLite where it should be fixed.

Looks like we won't see any more test reports coming back, so merging this now


Upgrade project config

Gravitee.io Automatic Deployment
🚀 A prerelease version of this package has been published on Gravitee's private artifactory, you can:

use it directly by updating your project with version: 1.2.0
download it from Artifactory here

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

2.0.0
GitHub release

Your semantic-release bot :package::rocket:


Make rebase-migration handle chains of migrations

From @tolomea again: If a feature branch has 2+ migrations in the same app, rebase-migration can't help with rebasing the migration. It should be possible to rebase an arbitrary linear chain of migrations by converting the existing code into higher-level abstractions.

Additionally, currently when it encounters this situation it makes incorrect modifications, it would be preferable if it at least errored

PR's welcome


Codespell report for "cwa-verification-server" (on fossies.org)

Similar to the description in the issue cwa-app-ios#149 there exists on fossies.org also a regularly updated codespell report for "cwa-verification-server":
  https://fossies.org/linux/test/cwa-verification-server-master.tar.gz/codespell.html

This is a good first issue. No programming experience is required, this issue is only about fixing typos as listed here: https://fossies.org/linux/test/cwa-verification-portal-master.tar.gz/codespell.html
Despite the simplicity, we appreciate any contributions!

Fossies just found 3 new spelling errors in docs/architecture-overview.md, see
https://fossies.org/linux/test/cwa-verification-server-master.tar.gz/codespell.html
By the way, although in the meantime nearly superfluous there exists now on the Fossies server a regularly updated small page showing a summary of the (very few) still found codespell errors in the diverse CWA projects: https://fossies.org/linux/test/cwa_codespell_status.html

Thank you for the update! The latest spelling errors will be fixed by #182.


Detection not working properly on iOS 15.1, iOS 15.2

Expected behaviour
Tried the example on your webpage (https://picovoice.ai/platform/porcupine/) with iOS 15.1 on my iPhone 7 and iPad.
Actual behaviour
Detection doesn't work properly. The status bar shows that the microphone records audio.

On the iPhone "English" and the appropriate colors worked. The other three wake words ("Deutsch", "Español"...) did not.
On the iPad I needed to reload the page twice. After that I got the same behaviour as with the iPhone. After reloading again suddenly "Español" worked but none of the others.
Behaviour with iOS 15.2 is the same. I tested again after updating the phone.

Steps to reproduce the behaviour

Open https://picovoice.ai/platform/porcupine in Safari on iOS 15.1, iPhone 7.
Start the demo.
Try the different wake words.

I also built an Angular App but cannot test it because of "Error: 'pv_porcupine_init' failed with status ACTIVATION_LIMIT_REACHED".

Thank you for the issue report.
With regards to the ACTIVATION_LIMIT_REACHED error: Currently the free tier allows 3 active "devices" per month. You need to wait 30 days and not use a device and it will be decommissioned automatically.

The issue with the lamp demo on iOS Safari has been resolved. Feel free to open another issue if you run into any more problems.


Implement bootstrap.

This has a weird behavior if you do not specify --userRunAs for bootstrapping Ambari 2 or greater, but it's not really our fault. Ambari shows success but hangs...

LGTM. We should document that in the wiki. Can you add this subcommand to the wiki?

I repurposed the wiki, but I do intend to update the README.

The correct thing to do here is for me to strip hrefs. Follow the convention unless you're changing it.


[5.9] Revert #64269

Cherry pick of https://github.com/apple/swift/pull/65568
Older compilers that we aim to support with textual interfaces don't understand @expression but do understand $Macros so falling back to @expression when $FreestandingExpressionMacros is not available causes a condfail. Revert https://github.com/apple/swift/pull/64269 and just require users to have a relatively recent compiler if they want to work with the expression macros in the standard library.
Resolves rdar://108591384

@swift-ci please test

@swift-ci please test


Apply backpressure to downloader on slow updates

It's possible for the firmware download to be faster than fwup can write
to eMMC or MicroSD. This causes the message queue to the update manager
to balloon as data starts queuing up in route to fwup. On a device
without much extra memory, this can be a cause of the following error:
04:14:26.957 [warn] __vm_enough_memory: pid: 87, comm: erts_sched_1, not enough memory for the allocation

This commit makes the asynchronous downloader updates synchronous so
fwup can push back when the writes are time consuming. The backpressure
results in the TCP receive buffers filling and eventually the download
slowing.

@ringlej reports that this fixes the issue. 🎉


Update the e2e test to the org.opensearch package name

Description
Updates the end-to-tests to use the org.opensearch.dataprepper package name.
Issues Resolved
Partially resolves #344
Check List

[ ] New functionality includes testing.
[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1703 (6399cb4) into main (caebb19) will increase coverage by 0.13%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #1703      +/-   ##
============================================
+ Coverage     93.18%   93.32%   +0.13%
- Complexity     1332     1351      +19
============================================
  Files           176      178       +2
  Lines          3917     3969      +52
  Branches        312      317       +5
============================================
+ Hits           3650     3704      +54
+ Misses          193      189       -4
- Partials         74       76       +2

Impacted Files
Coverage Δ

...pper/peerforwarder/PeerForwarderConfiguration.java
78.61% <0.00%> (-1.52%)
:arrow_down:

...aprepper/pipeline/server/ListPipelinesHandler.java
100.00% <0.00%> (ø)

...pper/pipeline/server/PrometheusMetricsHandler.java
100.00% <0.00%> (ø)

...eerforwarder/PeerForwardingProcessorDecorator.java
100.00% <0.00%> (ø)

...ch/dataprepper/peerforwarder/client/WireEvent.java

...h/dataprepper/peerforwarder/client/WireEvents.java

...ch/dataprepper/peerforwarder/model/WireEvents.java
75.00% <0.00%> (ø)

...rch/dataprepper/peerforwarder/model/WireEvent.java
83.33% <0.00%> (ø)

...ption/UnsupportedPeerForwarderPluginException.java
100.00% <0.00%> (ø)

...eerForwarderPluginIdentificationKeysException.java
100.00% <0.00%> (ø)

... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Fix supported platform of pilot, and testflight action

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context

The pilot action doesn't support android platform. I think it would be misleading.

Description

This change alos affects the testflight action.
https://github.com/fastlane/fastlane/blob/master/fastlane/lib/fastlane/actions/testflight.rb#L39

Right, fixed, thanks :)

Awesome, thanks 👍


query search with whitespace gives different results than website search

Dear salvoventura,
I found that a video search query contains a white space, such as 'dancing couple', cause issue.
The api search result is different than manually search from pexels website.
I've tried 'dancing+couple' and 'dancing%20couple', but still can not align the search results.
Maybe I miss something, so hope to hear your expertise on the issue.
Thanks.

Hi,
thanks for reporting this.
I can't be sure, but from all I see, you are doing the right thing, and so is the library.
The way I checked for that is the following:

when you do a search on the pexels website, for example "dancing couple" you are redirected to this URL: https://www.pexels.com/search/videos/dancing couple/
It doesn't matter whether your search "dancing couple" or "dancing+couple" you are redirected to the same URL.

with the API, the same happens: if you look at the JSON response from the API, you see something like this:

{     "page": 1,     "per_page": 15,     "total_results": 1003,     "url": "https://www.pexels.com/search/videos/dancing couple/",     "videos": [
Notice the url, which matches the one from the website search.
So, my guess is that it's more of a sorting issue than different results, especially given that the pexels page has infinite scrolling.
Sorry if this doesn't help you solve your issue, and I hope it gives you a bit more context. If this is all, please close the issue with your next comment.
Cheers!


feat: Export print from graphql.web

Summary

Re-export the minimal print function from graphql.web for smaller bundle size.
Set of changes
The graphql function exposed by gql.tada uses graphql.web#parse under-the-hood, which is a lightweight version of graphql#parse. I'm building a minimal graphql client, and to send a proper graphql query, the document needs (does it?) to be stringified. I'm using graphql#print, but using graphql.web#print produces a bundle 4kB smaller.
# With import { print } from "graphql";
❯ du -sh /home/gautier/escape/dropping-zeus/.svelte-kit/output/client/_app/immutable
120K    /home/gautier/escape/dropping-zeus/.svelte-kit/output/client/_app/immutable

# With import { print } from<EMAIL_ADDRESS>❯ du -sh /home/gautier/escape/dropping-zeus/.svelte-kit/output/client/_app/immutable
116K    /home/gautier/escape/dropping-zeus/.svelte-kit/output/client/_app/immutable

The goal of this PR is to make this print function available with import { print } from "gql.tada"; like parse.

Just a question, why aren't you depending on @0no-co/graphql.web's print directly? I'm not entirely convinced that re-exporting it here is the right thing to do per se

If I install @0no-co/graphql.web directly, gql.tada#parse might be of a different version than @0no-co/graphql.web#print, because @0no-co/graphql.web is not declared as a peer dependency but as a direct dependency

To address this issue, many libraries in the graphql ecosystem require installing and managing graphql directly: https://github.com/dotansimha/graphql-yoga/blob/7eddf1ced3cc89646109f6d05cbcc6438eee9044/packages/graphql-yoga/package.json#L48-L50

gql.tada#parse might be of a different version than @0no-co/graphql.web#print,

That's fine though. Assuming both dependents keep the version relatively up-to-date in terms of major versions (of which we won't have any in the foreseeable future), any package manager should deduplicate this dependency. The exception here are just some edge cases, for which deduping scripts exists. But I'm only really aware of this causing issues in legacy Yarn v1 versions, which is a common problem resolved with yarn-deduplicate.
This also isn't really an issue per se, because gql.tada doesn't rely on print, so even if duplicates are installed, there's no consequences for that in a properly tree-shaken output bundle.
I'm not saying that that's perfect, but I'm not 100% sure passing through an unrelated function makes sense 🤔

I think we should not export print from this project, if you need print (not in scope of this project) you can always import it from the same location as we are or import it from graphql-js if you prefer using that (and aliasing)

because we don't alter the AST in a way that can't be printed by a different library nor do we enhance print.

If compatibility is guaranteed, then this PR is not necessary! Thanks for your time and answers, closing this


Greatly improved script, now allows non-destructive stop/restart

Requires docker 1.9+, docker-compose 1.5+, because of use of the new networking feature
Also greatly expanded number of available commands, to cover more deployment and testing scenarios.

Great!


Datakit should provide a way to fetch GitHub PRs

Currently you can get notified of new PRs and see the current head ID, but you can't easily fetch them. Datakit should probably download the commit before returning the ID to the user.

Possibly the bridge should mirror the actual repositories it monitors into DataKit too, but this is no longer high priority because the CI can download them directly.


error using tensorflow_data_extractor.py

I use ./tensorflow_data_extractor.py to extract tf mobilenet-ssd pretrained model and got the following error.
Traceback (most recent call last):
  File "./scripts/tensorflow_data_extractor.py", line 38, in <module>
    saver = tf.train.import_meta_graph(args.netFile)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1683, in import_meta_graph
    **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/meta_graph.py", line 499, in import_scoped_meta_graph
    producer_op_list=producer_op_list)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/importer.py", line 280, in import_graph_def
    raise ValueError('No op named %s in defined operations.' % node.op)
ValueError: No op named DecodeBmp in defined operations.

Looks like a tensor flow issue rather than a problem with our script: from the backtrace it seems to fail to load your model.
How do you usually load your model in TensorFlow ?

The solution is to update TensorFlow to 1.3 or later. I've been hit by this (in an unrelated project) and the following command line fixed it for me:
sudo pip3 install --upgrade tensorflow-gpu


Resolve compiler warnings

resolve Wparentheses

resolving Wreorder

resolved Wparentheses, Wreorder

resolving Wsign-compare

resolved Wsign-compare


Add support for .yaml file extension

First of all, thank you so much for developing this action! Very very useful.
I noticed that GitHub officially supports both .yml and .yaml file extensions for workflows (source: link), so this simple PR just adds support for the .yaml case to the schema validation 🙂
Let me know what you think! Thanks

Thanks for this PR and sharing the link to official document :pray:
Released the version in https://github.com/kachick/wait-other-jobs/releases/tag/v3.4.1 :tada:

Following comments are note for me
I have merged this PR with some adding tests
8e8f087a5d1d76cb708b00a34ec316875df4a081
3d1453ab34d95a7808d261363ebebdf15cd1bf20
Using regex sounds reasonable to me, zod officially recommends the pattern in https://github.com/colinhacks/zod/issues/2551#issuecomment-1657274345
And started to validate our regex with https://github.com/makenowjust-labs/recheck for this timing
2b90573f7760b7f5a69a0c9f5a7544e6bb93e0a3
8e8f087a5d1d76cb708b00a34ec316875df4a081
CI was failed with no dist/*.js updating, that is simply fixed in 7a73cbdc079141eb2445c55053bd56cc44159bc8


Add native profile and document the it profile

Here are the few things I missed when creating the freemarker extension:

Specify -Pnative in build.yml:

run: mvn -B -Pnative formatter:validate verify --file pom.xml

Or at least document it in the readme if there are native tests.

Specify that there should be the following profile

    <profiles>
        <profile>
            <id>it</id>
            <activation>
                <property>
                    <name>performRelease</name>
                    <value>!true</value>
                </property>
            </activation>
            <modules>
                <module>integration-test</module>
            </modules>
        </profile>
    </profiles>

Unless it is included by the create-extension plugin.

And document that the integration-test module should not be listed in the module list.

Include the minimal test dependencies

        <!-- Minimal test dependencies to *-deployment artifacts for consistent build order -->
        <dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-XXX-deployment</artifactId>
            <version>${quarkus.version}</version>
            <type>pom</type>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <groupId>*</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

I have added the profile trick here: https://github.com/quarkiverse/quarkiverse/wiki/Release#release-fails-while-deploying-the-integration-tests.
Ideally the create-extension should be able to generate the missing parts automatically (including the mninimal test dependencies), if not, we should open a ticket in Quarkus to get that fixed

Native are not mandatory on Quarkiverse extensions right ?
But yes, we need to be able to easily integrate a native build if needed.
I wondering if we also need to test on multiple Java version? At least Java 8 as Quarkus is still compatible with it

@vsevel for native build, you may need to use the install goal inside of the verify one else the build will not be able to find your extension's dependencies.

Native are not mandatory on Quarkiverse extensions right ?

That's correct. We don't want to force our contributors to deal with that right away

I wondering if we also need to test on multiple Java version? At least Java 8 as Quarkus is still compatible with it

Yes, that would be the right thing to do. At least Java 8 and 11

That's correct. We don't want to force our contributors to deal with that right away

it would be nice to have that formalized somehow. for instance with a "native ready" label or logo.
supporting native by default is a huge differentiator for quarkus vs other frameworks. if native is not mandatory, we should highlight in the catalog extensions that do provide native support.

@vsevel yes, we have that in our roadmap: https://github.com/orgs/quarkusio/projects/9


DDPG agent with normalized returns and normalized obs

Describe the bug
Loading a DDPG agent when trained using normalized observation or normalized returns does not work. The trained agent does not have the correct critic and the correct policy. This is because the non trainable params used for normalization are not saved and loaded (the scopes are "obs_rms" and "ret_rms")
Code example
import gym
import numpy as np

from stable_baselines.ddpg.policies import MlpPolicy
from stable_baselines.common.vec_env import DummyVecEnv
from stable_baselines.ddpg.noise import NormalActionNoise, OrnsteinUhlenbeckActionNoise, AdaptiveParamNoiseSpec
from stable_baselines import DDPG

SAVED_MODEL = "Pendulum-v0-normalized"

def evaluate(model, num_steps=1000):
    """
    Evaluate a RL agent
    :param model: (BaseRLModel object) the RL Agent
    :param num_steps: (int) number of timesteps to evaluate it
    :return: (float) Mean reward for the last 100 episodes
    """
    episode_rewards = [0.0]
    obs = env.reset()
    for i in range(num_steps):
        # _states are only useful when using LSTM policies
        action, _states = model.predict(obs)
        # here, action, rewards and dones are arrays
        # because we are using vectorized env
        obs, rewards, dones, info = env.step(action)

        # Stats
        episode_rewards[-1] += rewards[0]
        if dones[0]:
            obs = env.reset()
            episode_rewards.append(0.0)
    # Compute mean reward for the last 100 episodes
    mean_100ep_reward = round(np.mean(episode_rewards[-100:]), 1)
    print("Mean reward:", mean_100ep_reward,
          "Num episodes:", len(episode_rewards))

    return mean_100ep_reward

def callback(_locals, _globals):
    """
    Callback called at each step (for DQN an others) or after n steps (see ACER or PPO2)
    :param _locals: (dict)
    :param _globals: (dict)
    """
    if _locals["done"]:
        print(_locals["step"], np.mean(
            _locals["epoch_episode_rewards"]), _locals["episode_reward"])
    return True

if __name__ == '__main__':

    # Environment
    env = gym.make('Pendulum-v0')
    env = DummyVecEnv([lambda: env])

    # the noise objects for DDPG
    n_actions = env.action_space.shape[-1]
    param_noise = None
    action_noise = OrnsteinUhlenbeckActionNoise(
        mean=np.zeros(n_actions), sigma=float(0.5) * np.ones(n_actions))

    # Create model
    model = DDPG(MlpPolicy, env, verbose=1,
                 param_noise=param_noise,
                 action_noise=action_noise,
                 normalize_observations=True,
                 normalize_returns=True)

    # Evaluation before training
    print("Before training")
    mean_reward_before_train = evaluate(model, num_steps=10000)

    # Train and save
    model.learn(total_timesteps=500000, callback=callback)
    model.save(SAVED_MODEL)
    del model

    # Evaluation after training
    print("After training")
    model = DDPG.load(SAVED_MODEL)
    evaluate(model, num_steps=10000)

This outputs:
Before training
Mean reward: -1160.2 Num episodes: 51
After training
Mean reward: -1413.1 Num episodes: 51

while the mean reward is -200 if I use normalize_observations=False and normalize_returns=False.
I fixed it by inserting
self.obs_rms_params = [var for var in tf.global_variables() if "obs_rms" in var.name]
self.ret_rms_params = [var for var in tf.global_variables() if "ret_rms" in var.name]

in the setup_model method.
Then i changed the saving method to have this:
norm_obs_params = self.sess.run(self.obs_rms_params)
norm_ret_params = self.sess.run(self.ret_rms_params)
self._save_to_file(save_path, data=data, params=params +
                   target_params + norm_obs_params + norm_ret_params)

and the loading method to have this:
params_to_load = model.params + model.target_params \
    + model.obs_rms_params \
    + model.ret_rms_params
for param, loaded_p in zip(params_to_load, params):
    restores.append(param.assign(loaded_p))

Hello,
looks like a bug, thanks for finding it.
Feel free to submit a PR then ;) (and don't forget to look at the CONTRIBUTING.md guide before)

There might be similar bug with loading trained model with TD3 when using observation normalization with VecNormalize. And I did not forget to save and load the VecNormalize statistics when saving the agent as it was mentioned here.


MSV - host-debug built with /MD - why not /MDd?

Hi
I built mruby 1.1.0 using Visual Studio 2013.
Then I created a Visual Studio Console Application and set up include to mruby/include and Debug to point to the libs in host-debug and Release to point to host.
Compiling in Release yields no warnings.
But compiling in Debug yields this warning:
1>------ Build started: Project: SLAC, Configuration: Debug Win32 ------
1>  stdafx.cpp
1>  SLAC.cpp
1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>  SLAC.vcxproj -> C:\Users\Thomas\Code\mruby-test\slac\SLAC\Debug\SLAC.exe
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Looking into it the warning appear due to usages of different CRTs.
By default VS sets up a console app using /MDd for Debug and /MD for Release.
Grepping through the mruby build folder I find that libmruby.flags.mak  sets MRUBY_CFLAGS to /MD for both host and host-debug.
When I configure my VS project to also use /MD in Debug the warning disappear. But for better debugging I want that flag set to /MDd.
So now I'm trying to figure out how to avoid this - I think I want to make the host-debug also build with /MDd. Is this possible to configure?
(Can I make mruby build with /MT if I want to go that route?)

Any idea @mattn?

host-debug isn't comparable to the Debug configuration. It just builds mrdb (the debugger).
You could add your own build (or simply modify the default/host one):
MRuby::Build.new('host-vs-debug') do |conf|
  toolchain :visualcpp
  conf.cc.flags = %w(/nologo /c /MDd  /Zi /W3 /we4013 /D_CRT_SECURE_NO_WARNINGS)
  conf.linker.flags = %w(/nologo /DEBUG)
  # other stuff
end

See https://github.com/mruby/mruby/blob/master/doc/compile/README.md.

I see - I'm not familiar with rake and how to set up configs. This example looks promising.
I'll try tomorrow. (Waaaay to late today - but mruby is looking nice :) )

Thanks for that example @cremno. That seemed to solve it for me.
I added various build configs to test:
MRuby::Build.new('host-vs-debug') do |conf|
  toolchain :visualcpp
  conf.cc.flags = %w(/c /nologo /W3 /we4013 /Zi /MD /D_CRT_SECURE_NO_WARNINGS)
  conf.linker.flags = %w(/nologo /DEBUG)

  enable_debug

  conf.gembox 'default'
end

MRuby::Build.new('host-vs-static') do |conf|
  toolchain :visualcpp
  conf.cc.flags = %w(/c /nologo /W3 /we4013 /Zi /MT /O2 /D_CRT_SECURE_NO_WARNINGS)
  conf.linker.flags = %w(/nologo /DEBUG)

  enable_debug

  conf.gembox 'default'
end

MRuby::Build.new('host-vs-static-debug') do |conf|
  toolchain :visualcpp
  conf.cc.flags = %w(/c /nologo /W3 /we4013 /Zi /MTd /D_CRT_SECURE_NO_WARNINGS)
  conf.linker.flags = %w(/nologo /DEBUG)

  enable_debug

  conf.gembox 'default'
end

I tested both the /MDd, /MT and /MTd options and all build fine without error. :)
All though host-debug suddenly got linking errors:
LD    build/host-debug/bin/mrdb.exe
libmruby.lib(gem_init.obj) : error LNK2019: unresolved external symbol _GENERATED_TMP_mrb_mruby_eval_gem_init referenced in function _mrb_init_mrbgems
libmruby.lib(gem_init.obj) : error LNK2019: unresolved external symbol _GENERATED_TMP_mrb_mruby_eval_gem_final referenced in function _mrb_final_mrbgems
C:\Users\tthomas2\mruby\mruby-1.1.0\mruby-1.1.0\build\host-debug\bin\mrdb.exe : fatal error LNK1120: 2 unresolved externals
libmruby.lib(gem_init.obj) : error LNK2019: unresolved external symbol _GENERATED_TMP_mrb_mruby_eval_gem_init referenced in function _mrb_init_mrbgems
libmruby.lib(gem_init.obj) : error LNK2019: unresolved external symbol _GENERATED_TMP_mrb_mruby_eval_gem_final referenced in function _mrb_final_mrbgems
C:\Users\tthomas2\mruby\mruby-1.1.0\mruby-1.1.0\build\host-debug\bin\mrdb.exe : fatal error LNK1120: 2 unresolved externals
rake aborted!
Command Failed: [link.exe /NOLOGO /DEBUG /INCREMENTAL:NO /OPT:ICF /OPT:REF /OUT:"C:\Users\tthomas2\mruby\mruby-1.1.0\mruby-1.1.0\build\host-debug\bin\mrdb.exe" "C:\Users\tthomas2\mruby\mruby-1.1.0\mruby-1.1.0\build\host-debug\mrbgems\mruby-bin-debugger\tools\mrdb\apibreak.obj" "C:\Users\tthomas2\mruby\mruby-1.1.0\mruby-1.1.0\build\host-debug\mrbgems\mruby-bin-debugger\tools\mrdb\apilist.obj" "C:\Users\tthomas2\mruby\mruby-1.1.0\mruby-1.1.0\build\host-debug\mrbgems\mruby-bin-debugger\tools\mrdb\apiprint.obj" "C:\Users\tthomas2\mruby\mruby-1.1.0\mruby-1.1.0\build\host-debug\mrbgems\mruby-bin-debugger\tools\mrdb\cmdbreak.obj" "C:\Users\tthomas2\mruby\mruby-1.1.0\mruby-1.1.0\build\host-debug\mrbgems\mruby-bin-debugger\tools\mrdb\cmdmisc.obj" "C:\Users\tthomas2\mruby\mruby-1.1.0\mruby-1.1.0\build\host-debug\mrbgems\mruby-bin-debugger\tools\mrdb\cmdprint.obj" "C:\Users\tthomas2\mruby\mruby-1.1.0\mruby-1.1.0\build\host-debug\mrbgems\mruby-bin-debugger\tools\mrdb\cmdrun.obj" "C:\Users\tthomas2\mruby\mruby-1.1.0\mruby-1.1.0\build\host-debug\mrbgems\mruby-bin-debugger\tools\mrdb\mrdb.obj" "C:\Users\tthomas2\mruby\mruby-1.1.0\mruby-1.1.0\build\host-debug\lib\libmruby.lib"                            ]
rakefile:67:in `block (4 levels) in <top (required)>'

Not sure why - I'm not using it right now so I can just remove that config. But its strange as I didn't touch that config at all.
In any case - thank you very much for your help.


Main File Fix

Set the main file to "src/index" instead of "lib/index", considering the "lib" folder doesn't exist

see: https://github.com/bitinn/node-fetch/blob/master/rollup.config.js


Fix typo in README.rst

No description provided.

can you pls check this out, Thank you!!
https://vuuzletvph.com/heads-up-vuco-bounty-programs-are-coming-your-way/


[FacebookBridge] Support of private groups

Error message: Failed finding posts!
Query string: action=display&bridge=Facebook&context=Group&g=https%3A%2F%2Fwww.facebook.com%2Fgroups%2FProgramistaNaSwoim%2F&limit=-1&format=Atom
Version: dev.2020-02-26
Are we able to fix that somehow? This is a private facebook group. Are these supported by RSS Bridge?

I confirm
I have the same error

I confirm
I have the same error

Pretty sure private profiles or groups are not supported, given those require to login into facebook (and as you can see, rss-bridge asks for no login information).

Pretty sure private profiles or groups are not supported, given those require to login into facebook (and as you can see, rss-bridge asks for no login information).

This is a private facebook group. Are these supported by RSS Bridge?

As for now - no.
I will edit issue topic to be more relevant.

This is a private facebook group. Are these supported by RSS Bridge?

As for now - no.
I will edit issue topic to be more relevant.

In general since https://github.com/RSS-Bridge/rss-bridge/pull/1343 is merged, it possible to implement reading of private groups via RSS-Bridge.

In general since https://github.com/RSS-Bridge/rss-bridge/pull/1343 is merged, it possible to implement reading of private groups via RSS-Bridge.

@em92 I appreciate a few words to point to me right direction.
How I can do this myself?

@pniewiadowski , hard to tell exact steps. First of all, find out, what is used in cookies to let Facebook know, that you are logged in. Then make construct request using "curl", where you can get the posts data, that can be used in FacebookBridge.php

This is something I'm wondering about as well, but for private FB groups, as well as other private API calls to sites like Patreon. I've tried to figure out the instructions in PR https://github.com/RSS-Bridge/rss-bridge/pull/1343 but haven't been able to successfully implement access to any private site or group. Is there any chance of getting clearer information about how to implement the changes put in place by PR https://github.com/RSS-Bridge/rss-bridge/pull/1343 ?

@em92 would you be able to write a documentation about the private option in the new docu structure?

There is an option we could allow to put these kinds of bridges in contrib folder. This means they are not official bridges but community provided.


Is there an API for batch read from specific volume?

Let's say I want to upload a lot of files and I know that they will be processed together in most cases.
Is there a way to read them all in one request?

There are API to copy the .dat and .idx files to local, used by erasure encoding.

@chrislusf I don't think that it's what I'm talking about. I want to stream files (as tar for example) to be able to start processsing right away. Downloading .dat and .idx will probably wouldn't allow streaming.
Still, what's the API? Can you point to the documentation on it? And suppose I download .idx first. Can I then stream .dat and transform it into list of files on the fly?

Still, what's the API? Can you point to the documentation on it? And suppose I download .idx first. Can I then stream .dat and transform it into list of files on the fly?

See https://github.com/chrislusf/seaweedfs/blob/e5fc35ed0c970fea060a5b3b7a3f5efb5af425d6/weed/server/volume_grpc_copy.go#L145

Added API to read all needles in a volume https://github.com/chrislusf/seaweedfs/blob/master/weed/pb/volume_server.proto#L61


Add support for writing multiple xml items in xml template expression

Purpose

This pr enables writing multiple xml items of the same type or different types in an xml template expression.

Fixes #26340
Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

We need to increment the BIR version https://github.com/ballerina-platform/ballerina-lang/blob/1c72b30aa0f6d873cb59b77bd7f6161b3a51927c/compiler/ballerina-lang/src/main/java/org/wso2/ballerinalang/programfile/ProgramFileConstants.java#L30
And bir.ksy model (and add few tests cases) (I think this can be done in a separate PR too, if we are going to do this with a separate PR please create an issue)


[DNM]: stm32 device only usb driver support

Hi:
first times i did not see the code in function usb_dc_ep_configure which config pma address. so i and this commit and try pull request.
But you should try this pull request, now stm32f1's usb can work. I think we need config pma address before HAL_PCD_Start, like cubemx did.
By the way, zephyr doesn't create new hex file if that file already exist. that make me using the lastest source code, but always downloading previous version.

sorry, the origin source code is configured pma address, not this reason

Hi,
I think I have tried this and didn't work. Maybe something else was broken at that moment. I will try it again.

I have test this code on stm32f103 and linux, every thing is ok.
 usb 2-2: new full-speed USB device number 86 using at91_ohci
[19127.640625] usb 2-2: New USB device found, idVendor=dead, idProduct=beef
[19127.648437] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[19127.656250] usb 2-2: Product: USB-DEV
[19127.656250] usb 2-2: Manufacturer: ZEPHYR
[19127.664062] usb 2-2: SerialNumber: 0.01
[19127.671875] cdc_acm 2-2:1.0: ttyACM0: USB ACM device

# microcom -s 115200 /dev/ttyACM0
Send characters to the UART device
Characters read:
AT

It is great that it is working, but I need to test it also on my f1 board and boards from other families and prepare a PR for zephyr.
I will need also a "Signed-off-by:" line in your commits because this PR will be squashed in mine and I will add you there.
Moreover, the usb support for all stm32 families is based on dts support for stm32 usb and will be postponed until my PR (under review by zephyr community) which enables dts support for stm32 usb is merged.

I will do more test on my stm32f1 board and make sure there isn't has other problems.

I just test this patch on my board and it didn't work.

which board are you using？ have you capture some usb packets, bus hound is a good tools. wireshark aldo can do that.

I am using olimexino_stm32 board. I am using wireshark to capture the packets, I don't have a hardware usb analyzer.
I added  HAL_PCDEx_SetConnectionState function to handle the usb disconnect pin in "HAL way". Now HAL_PCD_Start calls HAL_PCDEx_SetConnectionState to enable the pull-up resistor on USB-DP.
You don't need 2a8f363de5687e427274ab520b7c30e12609c491,  HAL_PCDEx_SetConnectionState should enable pull-up resistor.

The stm32-usb-v2 branch partially works with my board if I set SYS_LOGs to zero. If I don't it throws timeout errors. The board is recognized as an ACM device but it fails sometimes when I try to connect to it.

I know that's why sometimes usb host doesn't recognized because i found that by usb monitor. I will email you the log when Monday, and fix this bug.
My board doesn't have a gpio pin to enable usb pull up resistor, may be that's why my board work fine but yours not.

I created a WIP PR for zephyr here #5163.

If commit 94dd362 fixes a stm32 usb bug for stm32f4 family, you should create a PR in Zephyr for it.

I think the branch is stable at least on my stm32f1 board. please review my code

Which board do you use? Which SoC does you board have?
I don't think commit cb6cd04 is needed. PMA could be configured after HAL_PCD_Start.
I will test if commit e70e7ab makes any difference on my boards.
Please rebase your PR against the latest stm32-usb-v2 branch.

my board is custom STM32F103RC board. it doesn't has pull-up resistor enable pin. USB DP was pull-up by 1k5 resistor in hardware.
are you sure PMA can be configured after HAL_PCD_Start?  i don't think so, i will read the code generated by cubemx to find more details.
please make sure e70e7ab can work fine on your board.

are you sure PMA can be configured after HAL_PCD_Start? i don't think so, i will read the code generated by cubemx to find more details.

I have checked the memory area using openocd debugger and it is configured fine.

I have checked the memory area using openocd debugger and it is configured fine.

are you test this based on e452f37 ?

I have checked the memory area using openocd debugger and it is configured fine.

are you test this based on e452f37 ?

No, I have tested it using my latest stm32-usb-v2 branch. We need to dynamically configure PMA. If we configure PMA in init function we restrict the driver.

I reread the code generated by cubemx：

Yes, we can dynamically config PMA after HAL_PCD_Start.
HAL_PCDEx_PMAConfig save address to a variable 'pmaadress', when HAL_PCD_EP_Open write this variable to hardware register.
so i will remove e452f376a and cb6cd040ef

we should remove usb_dc_ep_clear_stall in usb_dc_ep_enable
please see the hal lib for stm32f1, usb device only series
usb_dc_ep_enable first call HAL_PCD_EP_Open, that will set endpoint's status to USB_EP_TX_NAK

if (ep->doublebuffer == 0)
  {
    if (ep->is_in)
    {
      /*Set the endpoint Transmit buffer address */
      PCD_SET_EP_TX_ADDRESS(USBx, ep->num, ep->pmaadress);
      PCD_CLEAR_TX_DTOG(USBx, ep->num);
      /* Configure NAK status for the Endpoint*/
      PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_NAK);
    }

But  usb_dc_ep_clear_stall do this:
HAL_StatusTypeDef USB_EPClearStall(USB_TypeDef *USBx, USB_EPTypeDef *ep)
{
  if (ep->is_in)
  {
    PCD_CLEAR_TX_DTOG(USBx, ep->num);
    PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_VALID);
  }
  else
  {
    PCD_CLEAR_RX_DTOG(USBx, ep->num);
    PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_VALID);
  }
  return HAL_OK;
}

SO if the endpoint is an IN-endpoint, clear stall will change it's status from USB_EP_TX_NAK to USB_EP_TX_VALID.  I had test cdc-acm example if not remove clear stall after enable endpoint, next is the usb packet captured by usb hardware monitor:

I will close this pr, create new only container e70e7abd00, do you agree?

we should remove usb_dc_ep_clear_stall in usb_dc_ep_enable
I didn't have time to check it but I will do it in the next days.

I will close this pr, create new only container e70e7ab, do you agree?
Please close this PR. Don't create a new one, if everything works fine with this change, I will take care of it in my PR and add you there.
Is this "Signed-off-by: Qianfan Zhao<EMAIL_ADDRESS>correct? Why do you use different github accounts? It is better to stick with one and fix your "Signed-off-by:" signature (you are using different here and different to Zephyr)?

gmail is not avaliable in my country, so i using 163 email, not gmail.

I was talking about different github accounts.


Adding 2 new columns for SegmentStatistics table

Add 2 new columns for SegmentStatistics table.
They will be used to calculate correct space usage by available databases

i'm wondering, if we will remove some columns from the queries, no tests will fail.
Why we do not use * in the queries in such case?


Better error handling if startRepositoryMigration fails

Recently startRepositoryMigration endpoint implemented some pre-migration validation. If the validation fails (e.g. workflow scope missing), the API call to startRepositoryMigration will not return a migration ID and will instead return an error message (but still an HTTP 200).
Right now this will cause the CLI to crash, because when it gets a 200 response it expects to find a migration ID.
It would be better to look for the error message in the response, and raise an OctoshiftCliException.
You can see an example of this failure here: https://github.com/github/gh-gei/runs/6995914753?check_suite_focus=true#step:17:168

How can we get a migration ID?


Add Strapi v4 support

Add Strapi v4 support for the Strapi Docker image.

If anyone is looking for an updated project I've created one here:
https://github.com/bluecollardev/strapi-launcher

Supports Strapi v4 as well as older versions of Strapi (3x, 2x).
Specify Strapi versions and Node.js versions when building images.
Updated to use ES modules. As such this library requires Node.js >= 12.
Uses commander instead of argv for CLI.


MosesTokenizer is skipping the final fullstop.

MosesTokenizer is skipping the final fullstop.
>>> from nltk.tokenize.moses import MosesTokenizer
>>> m = MosesTokenizer()
>>> m.tokenize('abc def.')
[u'abc', u'def.']
>>> m.penn_tokenize('abc def.')
[u'abc', u'def', u'.']

But MosesTokenizer's penn_tokenize works because of https://github.com/nltk/nltk/blob/develop/nltk/tokenize/moses.py#L103
While the default tokenizer relies on the handles_nonbreaking_prefixes() to handle the final fullstop: https://github.com/nltk/nltk/blob/develop/nltk/tokenize/moses.py#L284
The conditions at https://github.com/nltk/nltk/blob/develop/nltk/tokenize/moses.py#L274 is wrong since it's not checking what Moses is actually doing on https://github.com/alvations/mosesdecoder/blob/master/scripts/tokenizer/tokenizer.perl#L333
The correct implementation should be:
    def handles_nonbreaking_prefixes(self, text):
        # Splits the text into tokens to check for nonbreaking prefixes.
        tokens = text.split()
        num_tokens = len(tokens)
        for i, token in enumerate(tokens):
            # Checks if token ends with a fullstop.
            token_ends_with_period = re.findall(r'^(\S+)\.$', token)
            if token_ends_with_period:
                prefix = token_ends_with_period.group(1)
                # Checks for 3 conditions if
                # i.   the prefix contains a fullstop and
                #      any char in the prefix is within the IsAlpha charset
                # ii.  the prefix is in the list of nonbreaking prefixes and
                #      does not contain #NUMERIC_ONLY#
                # iii. the token is not the last token and that the
                #      next token contains all lowercase.
                if ( ('.' in prefix and self.isalpha(prefix)) or
                     (prefix in self.NONBREAKING_PREFIXES and
                      prefix not in self.NUMERIC_ONLY_PREFIXES) or
                     (i != num_tokens-1 and self.islower(tokens[i+1])) ):
                    pass # No change to the token.
                # Checks if the prefix is in NUMERIC_ONLY_PREFIXES
                # and ensures that the next word is a digit.
                elif (prefix in self.NUMERIC_ONLY_PREFIXES and
                      re.search(r'^[0-9]+', tokens[i+1])):
                    pass # No change to the token.
                else: # Otherwise, adds a space after the tokens before a dot.
                    tokens[i] = prefix + ' .'
        return " ".join(tokens) # Stitch the tokens back.

After the patch:
$ python -c "from nltk.tokenize.moses import MosesTokenizer; m = MosesTokenizer(); print(m.tokenize('abc def.'))"
[u'abc', u'def', u'.']

Patched on #1702

@alvations This breaks when the last token in the list has a full stop.
File "/home/henrye/anaconda3/envs/pytorch36/lib/python3.6/sitepackages/nltk/tokenize/moses.py",
line 289, in handles_nonbreaking_prefixes
    re.search(r'^[0-9]+', tokens[i+1])):
IndexError: list index out of range```

Hmmm, it must be the version of NLTK that I have but this appears to be fixed in the current repo
https://github.com/nltk/nltk/commit/22cbc3b9c1ca0bbe41afaf80bcfaa5e178476df4

@Henry-E Thank you for reporting the issue. Yes, this has been fixed in 22cbc3b. The patch should be available in the next minor version release of NLTK.
Meanwhile, feel free to install from the master branch if you would like the fix urgently but do note that it might be subjected errors/breakage, e.g.
pip install -U https://github.com/nltk/nltk/archive/develop.zip

Thanks for letting me know. For a small bug like this I just manually added the line to the module and now it's working again properly.


suggested changes to dbt_format_utils.py

@jitoquinto just a couple more suggestions after taking your latest code for a drive, I think once these are changed we should be good to go!!

look for base tables ending in SQL - in my case I was hitting errors creating matviews because the script was trying to do it for .DS_Store 🫠
I do think we want to keep hashids in the final matviews so that they're present as a default unique row identifier!

thanks! :catjam:


[BUG] Users should not be allowed to delete the admin user

Describe the bug
Users should not be allowed to delete the admin user
To Reproduce
Steps to reproduce the behavior:

Go to the Users page
Choose admin user and delete it

Result
Admin user can be deleted, harvester is not accessible without any existing user.

Environment:

Harvester ISO version: master-head
Installation Mode: ISO

since we are going to remove the harvester users and using the Rancher users only, so it should be fine to allow admin users to delete the users as ensure default admin is supported by Rancher https://rancher.com/docs/rancher/v2.x/en/faq/technical/#i-deleted-deactivated-the-last-admin-how-can-i-fix-it


Accessing Azure Data Lake Gen 2 Storage

Hi. This may be more of a feature request than it is an issue.
I would like to find out how best to access data within ADLS Gen 2 storage. I know there are some Azure jar files necessary but where exactly would I need to place these?In the base Presto Dockerfile or within both the Coordinator and Worker images?
I believe I'd also require a Hive metastore, is there a configuration pattern I can follow to add this to the current stack?
Any help would be greatly appreciated.
Eddie

Hi again,
What I've tried to configure is a hive connector within a hive.properties file under the example/etc/catalog path with a file based metastore for test purposes as well as the Azure configs for ADLS gen 2 storage:
connector.name=hive-hadoop2 hive.metastore=file hive.metastore.catalog.dir=file:///tmp/hive_catalog hive.azure.abfs-storage-account=<name of storage account> hive.azure.abfs-access-key=<access key>
I am able to create a hive based schema from the presto-cli tool within the coordinator container but when I try to create a table based on an external location as follows:
CREATE TABLE OrderStats ( ID int, orderdate date, quantity bigint .... ) WITH ( external_location =<EMAIL_ADDRESS>format = 'PARQUET' );
It gives out an error: Query failed: Failed checking path<EMAIL_ADDRESS>I tried using the 341-snapshot release as well as the 340 release both without success.
Could it have to do with Docker itself?
Eddie

Hi,
I managed to get it to work by adding a parallel Hive Docker setup.
The version of Hadoop should be >= 3.2.0 for Azure Gen2 storage. I used Hive version 3.1.2 and one would need a bunch of jar files such as azure-storage and azure-datalake.
This could be added to the docker-compose.yml setup to make it one config setup.
Hope this helps.
Eddie