bump rocks-db version

Codecov Report
Base: 60.38% // Head: 59.80% // Decreases project coverage by -0.58% :warning:

Coverage data is based on head (deb1add) compared to base (4772829).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #328      +/-   ##
==========================================
- Coverage   60.38%   59.80%   -0.59%
==========================================
  Files         152      152
  Lines        3254     3254
  Branches      105      105
==========================================
- Hits         1965     1946      -19
- Misses       1289     1308      +19

Impacted Files
Coverage Δ

...windows/stream/actor/HealthSignalStreamActor.scala
33.33% <0.00%> (-26.67%)
:arrow_down:

.../surge/kafka/streams/KafkaStreamManagerActor.scala
53.16% <0.00%> (-12.66%)
:arrow_down:

...StreamsUpdatePartitionsOnStateChangeListener.scala
82.85% <0.00%> (-8.58%)
:arrow_down:

...a/surge/kafka/KafkaPartitionShardRouterActor.scala
58.38% <0.00%> (-0.68%)
:arrow_down:

.../surge/internal/kafka/KafkaProducerActorImpl.scala
76.70% <0.00%> (-0.63%)
:arrow_down:

...health/windows/actor/HealthSignalWindowActor.scala
93.98% <0.00%> (+0.75%)
:arrow_up:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Parse extra game attributes before serializing

We should parse various attributes when serializing a GameNode/PlayerNode to xml to allow us to set an initial deck and various extra attributes (rank, legendRank etc)

We do that!


[CHORE] Fix build command

Forget to give it the path to find virtual env when remove the source command. 😞

oof!


Doesn't work with IE 11

The page is blank, instead of displaying a QR code.
Please:

support IE 11 if possible,
if not, display an explicit message recommending Edge, or Chrome, or Firefox, or Safari.

Safari is unlikely to help, as ifaiu IE11 exists only in Windows.

IE 11 is not supported anymore by Microsoft since June 2022.


geojson is not displayed on the map

Describe the bug
geojson from the example below is not displayed on the map. If I for example go to http://geojsonlint.com/ and paste the very same geojson from the sample it gets displayed.
To Reproduce
import 'ol/ol.css';
import {Map, View} from 'ol';
import {Tile as TileLayer, Vector as VectorLayer} from 'ol/layer.js';
import {OSM, Vector as VectorSource} from 'ol/source.js';
import GeoJSON from 'ol/format/GeoJSON.js';
let geoJson = {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[-50.0, 80.0],
[50.0, 80.0],
[50.0, 91.0],
[-50.0, 91.0],
[-50.0, 80.0]
]
]
}
}
]
};
let vectorSource = new VectorSource({
features: (new GeoJSON()).readFeatures(geoJson, {featureProjection: 'EPSG:3857'})
});
let vectorLayer = new VectorLayer({
source: vectorSource
});
const map = new Map({
target: 'map',
layers: [
new TileLayer({
source: new OSM()
}),
vectorLayer
],
view: new View({
center: [0, 0],
zoom: 0
})
});
Expected behavior
geojson is displayed on the map.

Latitude 91 is invalid.  It will work with 90.0

Thanks. Can you please explain why i can draw outside (See official draw example: https://openlayers.org/en/latest/examples/draw-features.html) of the bounds but not add features (in this case as geojson) having coordinates outside of the bounds. This is not very convenient.
Is there an easy way to prevent drawing outside? Thanks!

In OpenLayers 6 that will be easy as by default the view will be constrained to the defined extent of the view projection if it is a global projection.
There is however nothing wrong with being able to draw outside the defined extent since that ends at an arbitrary line just above 85 degrees north used by tile grids such as Google and OSM and the real world ends at the pole at 90 degrees.  Since version 3.19.0 OpenLayers transforms from LonLat to EPSG:3857 have reduced the latitude of points outside that extent, but transforms using proj4 work as expected (although proj4 won't transform 90 degrees as that is infinite in web mercator).  Here is an example of your geojson (using 89.9999 instead of 90 degrees) using proj4 https://codesandbox.io/s/draw-features-yh2qe


[c#] Fix cs.sln inheritance project

When the schema_view example was merged into cs.sln in commit
1406febda4, a syntax error was introduced. This commit fixes that and
ensures that inheritance and schema_view have the correct
project-to-project dependencies as well.

Rebased atop commit e3abbe48 which has a similar syntax error in cs.sln.


enable back at contributors

Issue

there is no Issue about this PR. I just found the difference.

Overview (Required)

made enable to back with navigation icon at contributors view

took the same solution as StaffScreen
https://github.com/DroidKaigi/conference-app-2023/blob/main/feature/staff/src/main/kotlin/io/github/droidkaigi/confsched2023/staff/StaffScreen.kt#L88

Links

design: https://www.figma.com/file/MbElhCEnjqnuodmvwabh9K/DroidKaigi-2023-App-UI?type=design&node-id=55032-59308&mode=design&t=BaA1ZwkaNk0QwP3n-4

Screenshot (Optional if screenshot test is present or unrelated to UI)

Before
After

Movie (Optional)

Before
After

Looks great! Thanks

@takahirom
Thank you for your check! Please merge whenever you can.


support official docker image

First of all, thanks for the great toolkit!
I'll be happy to contribute code, if this is something you consider doing.
Is your feature request related to a problem? Please describe.
Currently, there is no officially supported docker image, and I don't particularly like to install npm only to use this amazing cli tool.
Describe the solution you'd like
I would prefer if the openapi-cli tool would additionally be distributed as a docker image.
Describe alternatives you've considered
Alternatively, openapi-cli could be packaged as standalone executable for each target platform.
But that means more maintenance overhead for releasing.

What do you think about this image?
https://github.com/nodejs/docker-node/blob/master/README.md
Also, I did see this: https://github.com/vercel/pkg (which may be useful for packaging standalone executables)

What do you think about this image?
https://github.com/nodejs/docker-node/blob/master/README.md
Also, I did see this: https://github.com/vercel/pkg (which may be useful for packaging standalone executables)

So, I have a working Dockerfile that you can just put in the project root:
FROM node:alpine

WORKDIR /build

COPY webpack.config.ts tsconfig.json tsconfig.build.json /build/
COPY package.json package-lock.json /build/
COPY packages /build/packages

RUN npm ci --no-optional --ignore-scripts
RUN npm run webpack-bundle

FROM node:alpine

WORKDIR /bin
COPY --from=0 /build/dist/bundle.js /bin/openapi-cli

ENTRYPOINT [ "node", "openapi-cli"]

I guess the question is more whether you would be willing to support and maintain this.
In particular, host this at https://hub.docker.com/u/redocly

So, I have a working Dockerfile that you can just put in the project root:
FROM node:alpine

WORKDIR /build

COPY webpack.config.ts tsconfig.json tsconfig.build.json /build/
COPY package.json package-lock.json /build/
COPY packages /build/packages

RUN npm ci --no-optional --ignore-scripts
RUN npm run webpack-bundle

FROM node:alpine

WORKDIR /bin
COPY --from=0 /build/dist/bundle.js /bin/openapi-cli

ENTRYPOINT [ "node", "openapi-cli"]

I guess the question is more whether you would be willing to support and maintain this.
In particular, host this at https://hub.docker.com/u/redocly

Opened PR for this #247
Any feedback is welcome.

We'll take action on the PR next week.


codes to clean data and do EDA

Readability and code quality
• EDA code was well documented with serialized comments, and easy to read.
• This sprint was focused mainly on exploring the data so web app design is not applicable. With new tutorials, future sprints likely to include web app commits.
Overall design
• Don’t see any significant issues so far.
• Would recommend using relative paths, and folder/file names without spaces.
Testing
• The code is easily testable. Only needed to change path due to an absolute local path in the code.
Documentation
• Can add more description to the README.md file as the web application progresses
• Commit statements are intuitive


Prune the Attack Graphs Used

The attack graphs used by the simulator should be prune of nodes that are not viable since the attacker will never be able to take them and they just clog up the observation space.

A side issue that can be grouped under the same umbrella for the time being is compressing multiple attack steps into one when appropriate.


Move Edit Profile button to same side of the site as Profile button

Less movement with mouse going back and forth across the site

The Profile button in the main menu is now replaced by "Edit Profile" when you are viewing your own profile.

The old Edit Profile button is replaced by "Edit Collections"
Done in https://github.com/macterra/artx-market/commit/917e0a9ac3ea76484976be1b48409d959cd3869e

tested


Version reported by -v different from gem version

The version reported by juwelier is different from the gems version (see bash extract below).
It is simply the version which is hardcoded in version.rb.
Is this intended?
MM ~/git$ gem install juwelier
Fetching: juwelier-2.2.3.gem (100%)
Successfully installed juwelier-2.2.3
Parsing documentation for juwelier-2.2.3
Installing ri documentation for juwelier-2.2.3
Done installing documentation for juwelier after 1 seconds
1 gem installed
MM ~/git$ juwelier -v
Version: 2.1.0

This should've been reported in the Juwelier project, not Jeweler. However, I will take a look at this. I switched versioning systems, and missed that bit of code.


Updated Travis script.

r? @dirvine
(maidsafe_highfive has picked a reviewer for you, use r? to override)


[Bug][Config-ui] Manual blueprint still has some info that should be in daily mode

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened

This is a manual blueprint, but it showed daily run
What do you expect to happen
none
How to reproduce
none
Anything else
No response
Version
main
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Is it related to #3546?

Is it related to #3546?

No, this issue mainly talked about display errors. #3546 mainly talked about default selection

#4047 fixed the issue.


Remove get_focus_owner() from Control, replaced by get_viewport()->gui_get_focus_owner()

Following https://github.com/godotengine/godot/pull/57517.
As get_focus_owner() is now simply a helper to do get_viewport().gui_get_focus_owner(), the consensus seemed to be to remove it to clean up the Control API.
I added a null check in some place of codebase, where I was not sure the could would run 100% of the time within the scene tree.

Thanks!


Make it green (11-18-2021)

This series should make all of CI green again. It sucks to continue to take on patches but these are all in flight so we should be able to drop them sooner rather than later (except maybe the android12-5.10 patches since it seems LTS merges do not happen as consistently as android13-5.10, presumably because it is a released branch).

Thanks for the review!


Support specifying the exact type path

As for now, prost supports adding attributes to types and fields by matching the prefix of the proto path. This works fine in most cases but this breaks when we have nested types that should not have the same attributes as their parent messages.
E.g.:
syntax = "proto2";
package issue;

message Foo {
    // Suppose it is required for this enum be nested under Foo message
    // and Foo message itself has to derive `Copy` or some other custom trait
    // At the time of this writing we cannot achieve this via `type_attribute`
    // because `NestedEnum` "inherits" all of the type attributes applied to the
    // parent message
    enum NestedEnum {
        A = 0;
        B = 1;
    }
}

fn main() {
    let mut cfg = prost_build::Config::new();
    cfg.type_attribute(".issue.Foo", "#[derive(Copy)]");
    cfg.compile_protos(&["issue.proto"], &[env!("CARGO_MANIFEST_DIR")]).unwrap();
}

To reproduce the problem clone and cargo build this repo here:
https://github.com/Veetaha/prost-prefix-proto-path-match-problem

Hi @Veetaha, I think this may be a dupe of #150, could you try the suggestion I made there?

Hi @danburkert, I work with @Veetaha and am having this same problem.  I tried your proposed solution in the example project which @Veetaha posted.  Something like this:
fn main() {
    let mut cfg = prost_build::Config::new();
    cfg.type_attribute(".issue.Foo", "#[derive(Copy)]");

    // Don't apply the `derive(Copy)` attribute to the enum `NestedEnum`
    cfg.type_attribute(".issue.Foo.NestedEnum", "");

    cfg.compile_protos(&["issue.proto"], &[env!("CARGO_MANIFEST_DIR")]).unwrap();
}

This doesn't work.  I looked at the prost-build code and it seems like it's specifically designed to apply every type_attribute entry to every type which matches, be it a global, full path, prefix, or suffix match.  So the proposed solution won't work with the current implementation.
This is a really difficult limitation to overcome.  We have some tooling which lets us annotate messages in our (pretty complex) Protobuf files with tags, and then for everything with that tag set a custom derive attribute.  This completely breaks when a message contains an enum or oneof which is not compatible with that attribute.
We'd be happy to try to fix this in prost and submit a PR, but I'm not sure what kind of solution you'd be willing to accept.  Any ideas?

+1 this also came up when I was trying to add unique derives to a nested enum:
message Key {
  // Enum is only used here so it doesn't make sense to extract
  enum Namespace {
    DEFAULT = 0;
    NAMESPACE_1 = 1;
  }
  Namespace namespace = 1;

Where my build.rs is:
let mut prost_config = prost_build::Config::default();
prost_config.type_attribute(
    "issue.key.Namespace",
    "#[derive(strum::IntoStaticStr)]",
);

This works if I extract Namespace from Key but the preference would be keep them nested.


Combo boxes on edit view do not work on Safari

Description

Expected result
Combo boxes should open
Actual result
Combo boxes are closed automatically
Steps to reproduce
Use latest Safari on Mac. And try to create or edit a resource
Troubleshooting
https://github.com/kyma-project/busola/assets/478866/b4033429-d80e-4ecf-b2fb-c07454c314c5

Potentially it will be fixed with https://github.com/kyma-project/busola/issues/2661

Can't reproduce.


Training recipe and checkpoints for AV-VOS

When will the code and checkpoints on AV-VOS with audio reference be released?

Thank you for your attention! We will release our code as soon as possible.


Unable to import ursa library

I am trying to execute Hyperledger Ursa(https://github.com/hyperledger/ursa) as described in  https://crates.io/crates/ursa. That is , I have added the ursa as dependency in Cargo.toml. Then i just imported it as below
extern crate ferris_says;
extern crate ursa;
use ferris_says::say;
use std::io::{ stdout, BufWriter };
use ursa::bls::*;
fn main() {
let out = b"Hello fellow Rustaceans!";
let width = 24;
let mut writer = BufWriter::new(stdout());
say(out, width, &mut writer).unwrap();
}
But the system is throwing err as , the ursa cannot be compiled.  If ferris_says can work properly, why not ursa ?

What version of Rust are you using? Make sure you are on the latest version.

I am using Rust 1.43.0

What version of Rust are you using? Make sure you are on the latest version.

I am using Rust 1.43.0

Try running rustup update to 1.47.0

Try running rustup update to 1.47.0

Thanks @mikelodder7 ! Perfect !


[Feature] qwen2 vl support the turbomind engine

Motivation
1、The qwen2vl effect is the sota level in the open source model
2、lmdeploy is an excellent inference framework
3、So it's important to support turbomind
Related resources
No response
Additional context
No response

#2720 is working on it.

@lvhan028 Hello, I noticed that this PR has been merged. Is it confirmed that versions after https://github.com/InternLM/lmdeploy/pull/2810 already support the use of the tm engine for Qwen2-VL inference?

Is there any plan to merge this feature?


[dcc64 Fatal Error] UnitMain.pas(21): F2063 Could not compile used unit 'Alcinoe.FMX.Layouts.pas'

[dcc64 Error] Alcinoe.FMX.Layouts.pas(144): E2137 Method 'ChildrenMouseDown' not found in base class
[dcc64 Error] Alcinoe.FMX.Layouts.pas(145): E2137 Method 'ChildrenMouseMove' not found in base class
[dcc64 Error] Alcinoe.FMX.Layouts.pas(146): E2137 Method 'ChildrenMouseUp' not found in base class
[dcc64 Error] Alcinoe.FMX.Layouts.pas(147): E2137 Method 'ChildrenMouseLeave' not found in base class
[dcc64 Fatal Error] UnitMain.pas(21): F2063 Could not compile used unit 'Alcinoe.FMX.Layouts.pas'
use 11.3

The patch completed, but did not notice the change in FMX.Controls.pas
Maybe someone knows what the problem is?

Okay, the answer from filiptoskovic in the  https://github.com/MagicFoundation/Alcinoe/issues/173  changed things a bit:
C:\Windows\System32>cd C:\Users\Admin\Desktop\compnts\Alcinoe-master
C:\Users\Admin\Desktop\compnts\Alcinoe-master>git apply Embarcadero\Alexandria\11_3\Alexandria_11_3.patch -v
Checking patch Embarcadero/Alexandria/11_3/fmx/FMX.Canvas.D2D.pas...
Hunk #1 succeeded at 2898 (offset 1 line).
Checking patch Embarcadero/Alexandria/11_3/fmx/FMX.Canvas.GPU.Helpers.pas...
Hunk #1 succeeded at 16 (offset 1 line).
Hunk #2 succeeded at 314 (offset 1 line).
Hunk #3 succeeded at 427 (offset 1 line).
Hunk #4 succeeded at 437 (offset 1 line).
Checking patch Embarcadero/Alexandria/11_3/fmx/FMX.Canvas.GPU.pas...
Hunk #1 succeeded at 73 (offset 1 line).
Hunk #2 succeeded at 1215 (offset 1 line).
Checking patch Embarcadero/Alexandria/11_3/fmx/FMX.Context.GLES.pas...
Hunk #1 succeeded at 189 (offset 1 line).
Hunk #2 succeeded at 1313 (offset 1 line).
Checking patch Embarcadero/Alexandria/11_3/fmx/FMX.Controls.pas...
Hunk #1 succeeded at 116 (offset 1 line).
Hunk #2 succeeded at 516 (offset 1 line).
Hunk #3 succeeded at 2226 (offset 1 line).
Hunk #4 succeeded at 2233 (offset 1 line).
Hunk #5 succeeded at 2276 (offset 1 line).
Hunk #6 succeeded at 2307 (offset 1 line).
Hunk #7 succeeded at 3699 (offset 1 line).
Hunk #8 succeeded at 4145 (offset 1 line).
Hunk #9 succeeded at 4155 (offset 1 line).
Hunk #10 succeeded at 4447 (offset 1 line).
Hunk #11 succeeded at 4572 (offset 1 line).
Hunk #12 succeeded at 4595 (offset 1 line).
Hunk #13 succeeded at 4604 (offset 1 line).
Hunk #14 succeeded at 4619 (offset 1 line).
Hunk #15 succeeded at 6076 (offset 1 line).
Hunk #16 succeeded at 7234 (offset 1 line).
Checking patch Embarcadero/Alexandria/11_3/fmx/FMX.Filter.pas...
Hunk #1 succeeded at 608 (offset 1 line).
Hunk #2 succeeded at 839 (offset 1 line).
Checking patch Embarcadero/Alexandria/11_3/fmx/FMX.Forms.pas...
Hunk #1 succeeded at 4375 (offset 1 line).
Hunk #2 succeeded at 4855 (offset 1 line).
Hunk #3 succeeded at 5635 (offset 1 line).
Hunk #4 succeeded at 5932 (offset 1 line).
Checking patch Embarcadero/Alexandria/11_3/fmx/FMX.Platform.iOS.pas...
error: Embarcadero/Alexandria/11_3/fmx/FMX.Platform.iOS.pas: No such file or directory
Checking patch Embarcadero/Alexandria/11_3/fmx/FMX.Platform.UI.Android.pas...
Hunk #1 succeeded at 27 (offset 1 line).
Hunk #2 succeeded at 42 (offset 1 line).
Hunk #3 succeeded at 2777 (offset 1 line).
Hunk #4 succeeded at 2787 (offset 1 line).
Hunk #5 succeeded at 2795 (offset 1 line).
Checking patch Embarcadero/Alexandria/11_3/fmx/FMX.Presentation.Android.Style.pas...
Hunk #1 succeeded at 72 (offset 1 line).
Checking patch Embarcadero/Alexandria/11_3/fmx/FMX.VirtualKeyboard.Android.pas...
Hunk #1 succeeded at 219 (offset 1 line).
Checking patch Embarcadero/Alexandria/11_3/rtl/android/Androidapi.JNI.App.pas...
Hunk #1 succeeded at 17 (offset 1 line).
Hunk #2 succeeded at 78 (offset 1 line).
Hunk #3 succeeded at 1485 (offset 1 line).
Hunk #4 succeeded at 1569 (offset 1 line).
Hunk #5 succeeded at 1829 (offset 1 line).
Hunk #6 succeeded at 2292 (offset 1 line).
Checking patch Embarcadero/Alexandria/11_3/rtl/ios/iOSapi.AVFoundation.pas...
error: Embarcadero/Alexandria/11_3/rtl/ios/iOSapi.AVFoundation.pas: No such file or directory
Checking patch Embarcadero/Alexandria/11_3/rtl/ios/iOSapi.CoreImage.pas...
error: Embarcadero/Alexandria/11_3/rtl/ios/iOSapi.CoreImage.pas: No such file or directory
Checking patch Embarcadero/Alexandria/11_3/rtl/ios/iOSapi.CoreLocation.pas...
error: Embarcadero/Alexandria/11_3/rtl/ios/iOSapi.CoreLocation.pas: No such file or directory
Checking patch Embarcadero/Alexandria/11_3/rtl/ios/iOSapi.Foundation.pas...
error: Embarcadero/Alexandria/11_3/rtl/ios/iOSapi.Foundation.pas: No such file or directory
Checking patch Embarcadero/Alexandria/11_3/rtl/ios/iOSapi.Security.pas...
error: Embarcadero/Alexandria/11_3/rtl/ios/iOSapi.Security.pas: No such file or directory
Checking patch Embarcadero/Alexandria/11_3/rtl/win/Winapi.Isapi2.pas...
Hunk #1 succeeded at 398 (offset 1 line).
but did not notice the change in FMX.Controls.pas!!!!!
WHAT AM I DOING WRONG? HELP
DROP THIS FMX.Controls.pas PLEASE

I had to fix everything manually
now the scrollbox works correctly

фак ит

Hi I not understand, you mean the FMX.Controls.pas was not updated ?

Привет, я не понимаю, вы имеете в виду, что FMX.Controls.pas не был обновлен?
Yes, the FMX.Controls.pas file along the path \Alcinoe-master\Embarcadero\Alexandria\11_3\fmx was not patched, there were no changes in it, incl. new procedures ChildrenMouseDown, ChildrenMouseMove, ChildrenMouseUp, ChildrenMouseLeave, although the patch log said otherwise

strange, with version of delphi do you have? the 11.3 or 11.2?

11.3

strange, with version of delphi do you have? the 11.3 or 11.2?

Yes, latest install version for Windows from official website. All files not patched. But the log in cmd says that there were changes.
I use Windows 10 Pro 22H2 ( VMWare virtual machine )
Sorry, I may have mistranslated your question, I use google translate

My actions:

Launched the file Update.bat from the folder Alcinoe-master\Embarcadero\Alexandria\11_3 . All files were successfully copied to folders "fmx" and "rtl". Then log write in post https://github.com/MagicFoundation/Alcinoe/issues/282#issuecomment-1497763032:

But did not notice the change in ALL files .pas. They remain original.

Launched separate window cmd and wrote
cd C:\Users\Admin\Desktop\compnts\Alcinoe-master
git apply Embarcadero\Alexandria\11_3\Alexandria_11_3.patch -v
Then log write in post https://github.com/MagicFoundation/Alcinoe/issues/282#issuecomment-1497763032
But did not notice the change in ALL files .pas. They remain original.

Manually made changes to the file FMX.Controls.pas. And everything worked, but only for the scrollbox. I haven't touched the rest of the files... for now

Sorry, I may have mistranslated your question, I use google translate

You need to try chatGPT instead to translate, it's astonishing :)
Regarding why no files was changed I have no idea where the probleme could be it's very strange. Could you try inside a fresh new VM to install GIT for windows, copy the folder c:\Program Files (x86)\Embarcadero\Studio\22.0\source\ from your alexandria 11.3 and then try again to launch Alcinoe\Embarcadero\Alexandria\11_3\Update.bat ?

[dcc64 Error] Alcinoe.FMX.Layouts.pas(144): E2137 Method 'ChildrenMouseDown' not found in base class [dcc64 Error] Alcinoe.FMX.Layouts.pas(145): E2137 Method 'ChildrenMouseMove' not found in base class [dcc64 Error] Alcinoe.FMX.Layouts.pas(146): E2137 Method 'ChildrenMouseUp' not found in base class [dcc64 Error] Alcinoe.FMX.Layouts.pas(147): E2137 Method 'ChildrenMouseLeave' not found in base class [dcc64 Fatal Error] UnitMain.pas(21): F2063 Could not compile used unit 'Alcinoe.FMX.Layouts.pas'
use 11.3

This is standart behavior, when you forget to add Search Path in project options. You can see, how to use it in demo project AlFmxControls

Estou com o mesmo problema!
Alguma solução, ou somente alterando manualmente?

Hello, everything has been fixed in the latest committed version.


Error from git diff --name-only --no-renames --relative

Starting getting the below error on any versions 3.1.0+, works fine on 3.0.2
We force push to our deploy branches frequently - is this the cause?
 Error: Command failed: git diff --name-only --no-renames --relative "sha1" "sha2"
fatal: bad object sha1

    at checkExecSyncError (node:child_process:890:11)
    at execSync (node:child_process:962:15)
    at parseGitOutput (/home/runner/work/node_modules/nx/src/utils/command-line-utils.js:234:41)
    at getFilesUsingBaseAndHead (/home/runner/work/node_modules/nx/src/utils/command-line-utils.js:231:12)
    at parseFiles (/home/runner/work/node_modules/nx/src/utils/command-line-utils.js:185:20)
    at getAffectedGraphNodes (/home/runner/work/node_modules/nx/src/command-line/affected/affected.js:85:151)
    at Object.affected (/home/runner/work/node_modules/nx/src/command-line/affected/affected.js:34:28) {
  status: 128,
  signal: null,
  output: [
    null,
    <Buffer >,
    <Buffer 66 61 74 61 6c 3a 20 62 61 64 20 6f 62 6a 65 63 74 20 65 35 62 31 34 30 64 38 64 33 34 61 37 63 64 37 61 65 32 36 32 34 31 35 38 62 39 61 63 61 66 35 ... 9 more bytes>
  ],
  pid: 2319,
  stdout: <Buffer >,
  stderr: <Buffer 66 61 74 61 6c 3a 20 62 61 64 20 6f 62 6a 65 63 74 20 65 35 62 31 34 30 64 38 64 33 34 61 37 63 64 37 61 65 32 36 32 34 31 35 38 62 39 61 63 61 66 35 ... 9 more bytes>

Hi there, I observed the same behavior. To my understanding it is working as intended, since it stored the sha of the last succesful commit, which does not exist anymore, since you force pushed and erased the history. We have to tell this action to reset itself or point the base to the desired commit.

We also force push on our PRs often, so this should be fine.
There's likely something else off in your workflow. Can you provide the workflow here?
The action finds the last successful run whose commit exists (https://github.com/nrwl/nx-set-shas/blob/main/find-successful-workflow.ts#L191)

@enchorb are the deploy branches you mention set to be your "main" branch for the purposes of the workflow? Please can you share your config?
@nirga also cited force pushing as being an issue on #79
I am wondering if force pushing works fine on PRs @meeroslav but causes issues when it is the branch being identified as the main branch which is being force pushed to?

They are not the main branch. For deploying to our development environment the branch is dev and for production it is prod. The setup for the actions step looks like:
      - name: Get SHAs (BASE & HEAD) For `nx affected`
        id: sha
        uses<EMAIL_ADDRESS>        with:
          main-branch-name: ${{ needs.initialize.outputs.env }}

Thanks @enchorb so the answer is actually, yes, in this case. What I said was:

"main" branch for the purposes of the workflow

Not literally the branch called main.
As you can see here you are setting the main-branch-name input, so for the purpose of this workflow it is the "main" branch being used to compare against

I had the same problem: After force-pushing to main (yeah, we shouldn't be doing this 😏 ) the nx-cloud workflow failed since the sha referenced in NX_BASE didn't exist anymore.
I found this hacky workaround:

Remove the workspace from Nx cloud.
Connect the workspace again. This creates a new access token.
Restart the last successful workflow run in GitHub Actions. It will fail because the access token changed.
Since it failed, it is no longer the last successful run! 🥳 The workflow will take the previous run as the new base.

It just took me 1,5 hours to get there, so I hope it's helpful to anyone.
Biggest lesson to me is: never force-push to main (even though it was a personal project and nobody cares).

We will now fallback to the previous commit (in the same way we do when a commit is missing entirely) when the BASE_SHA commit exists but is no longer associated with the main branch (meaning whatever you have set main-branch-name to be)


password.json based authentication

password.json is not generated automatically
password.json usage should be better documented with examples.

The usage of ~/.codechecker.passwords.json is documented here:
https://github.com/Ericsson/codechecker/blob/master/docs/authentication.md#preconfigured-credentials. Do we need further description?
According to the documentation this file is not created automatically but has to be created manually based on a given template.

Thanks! I've did not check the documentation, my bad.


[4/4] Orchestrator API Client methods

What does this PR do
Adds client methods to integrate with the Orchestrator API.

closing in favor of https://github.com/metal-toolbox/conditionorc/pull/247


Bengali translation of data-import cheat sheet

Submitting my translation for data-import with tidyverse cheatsheet in Bengali - the 6th most popular language in the world.

Translated Cheat Sheet Information
Cheat Sheet Name:  data-import_bn
Language:  Bengali
Saif Kabir Asif (as you want to be credited on the website):
Date created/updated (Month YYYY format): September 2021

Check that you have done the following:

[x] Added the language abbreviation to the file name (ex. data-transformation_es.pdf).
[x] Included a PDF file of your translated cheat sheet to the translation folders.
[x] Included a Keynote or PowerPoint file for your translated cheat sheet to the translation folder.
[x] Not duplicated an existing translation. If an existing translation exists, I have edited it.

Thank you!


Allow TcpAppender to block until dropping events

Hi.
When investigating some issue, we noticed that events were missing in our data set. We were using the default queueSize of 0 which we were aware is using a SynchronousQueue between the logging and the socket thread.
We learned (the hard way) that queue.offer(event) will just drop the event if there is no thread at the other end currently waiting in queue.take().
In logback-classic itself, this sort of problem has been mitigated in PR 170 where the queue.offer(event, duration, timeUnit) method is used instead.
Also one might sooner notice when events are dropped for any reason since the return value is now checked and a status message is sent.

Hey @avdv - thanks for the PR! We'll work on merging and getting a release out.

Hi @tdhellmann, any news on this one!?


Running containers as root user should be avoided [Security]

Containers shouldn't run as root users in your Kubernetes cluster. Running a process as the root user inside a container runs it as root on the host. If there's a compromise, an attacker has root in the container, and any misconfigurations become easier to exploit.

[ ] Fix the security context for Tekton init container
[x] Fix or make exception for Velero

Manual remediation:

From the Unhealthy resources tab, select the cluster. Defender for Cloud lists the relevant pods.
For these pods, ensure the runAsUser property is set to a non-zero value or set property runAsNonRoot=true.
After making your changes, redeploy the pod with the updated rule.

is this done when Tekton Init Containers are fixed, or is this done when installing seccomp profiles + Buildah runs rootless?


SQLite missing PK detection case

Q
A

Is bugfix?
yes

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues
#16897

Merged. Thank you!


Code Optimization

The CSS classes declaration can be mapped to independent css file .
The would make code readable and reduce lines of code and complexity.

hello! working on gssoc, it's my first issue. may i work on this?

By the way I have fixed the problem

oh sorry, i did not see that, thank you


top-git: 0.19.12 -> 0.19.13

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/topgit/versions.
meta.description for top-git is: "TopGit manages large amount of interdependent topic branches"
meta.homepage for top-git is: "https://github.com/mackyle/topgit"
meta.changelog for top-git is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/5h4kaqbmkgbnzbq0s8bd3qhmh809cgix-topgit-0.19.13/bin/tg passed the binary check.

1 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 0.19.13 with grep in /nix/store/5h4kaqbmkgbnzbq0s8bd3qhmh809cgix-topgit-0.19.13

found 0.19.13 in filename of file in /nix/store/5h4kaqbmkgbnzbq0s8bd3qhmh809cgix-topgit-0.19.13

directory tree listing: https://gist.github.com/f559255ff85ef6a4d8b7b157106a028c

du listing: https://gist.github.com/8c48cd34e2e1deb2c8079ed31d68341b

Rebuild report (if merged into master) (click to expand)

7 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
hydra-unstable
top-git

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5h4kaqbmkgbnzbq0s8bd3qhmh809cgix-topgit-0.19.13 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A top-git https://github.com/r-ryantm/nixpkgs/archive/053eff5a4670022b048eae0308d3632b5cf3ed27.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/5h4kaqbmkgbnzbq0s8bd3qhmh809cgix-topgit-0.19.13
ls -la /nix/store/5h4kaqbmkgbnzbq0s8bd3qhmh809cgix-topgit-0.19.13/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

hydra-unstable
top-git

Maintainer pings
cc @marcweber for testing.

@ofborg eval

Result of nixpkgs-review pr 137726 at 053eff5a run on aarch64-linux 1

2 packages built successfully:

hydra-unstable
top-git

1 suggestion:

warning: unclear-gpl
gpl2 is a deprecated license, please check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/applications/version-management/git-and-tools/topgit/default.nix:26:5:
   |
26 |     license = licenses.gpl2;
   |     ^


cljs support

work done (commit in 'cljs' branch):

test suite rewritten to use core.test
feature expressions used to support cljs
lein replaced with boot setup to do clj and cljs testing
tests pass now. fixed some bugs our midje test suite didn't catch

work to do:
-isa? and instance? could use a rethink. they do not support cljs as-is. what is their utility in clojure space vs clojurescript space

Closed with release 0.2.0


Implementing Denoising algorithm

Aim
In this script, I would like to implement the Denoising Algorithm which is used to removing the noise from the image. This technique is better than Gaussian blurring and Median blurring which is also used for the same purpose.
@geekquad, Under the GSSOC'21 I want to work on this so please assign this issue to me.

Hey @ShubhamGupta577, assigning you with the same.


Front end updates to variables used by definition M

Description
When implementing Definition M, I (Lucas) took a few shortcuts.
In order to quickly finish Definition M, I continued to use fields like the following:
UNEMPLOYMENT_LOW_HS_EDUCATION_FIELD = (
    f"Greater than or equal to the {PERCENTILE}th percentile for unemployment"
    " and has low HS education"
)

However, this is inaccurate now, because it should now be something like:
UNEMPLOYMENT_LOW_HS_LOW_HIGHER_ED_FIELD = (
    f"Greater than or equal to the {PERCENTILE}th percentile for unemployment"
    " and has low HS education and low higher ed attendance"
)

Note the change in both the variable name AND the field string value.
We need to keep the "old" field names/values so they can continue to be used for Score L, but then update these for score M.
I believe this involves touching all of the following parts of the code on the front end:

[ ] Update text descriptions of data on methodology page
[ ] Update the reverse dictionary translating short names on tiles back to full names (maybe not necessary if we keep the abbreviations in TILES_SCORE_COLUMNS the same)
[ ] Update full names of variables in side bar
[ ] Update text descriptions of variables in side bar

Need design input from @KameronKerger @glennettec on what these changes should look like.

@lucasmbrown-usds , @BethMattern , @glennettec and @KameronKerger
Here are some of the UI changes Emma and I came up with to incorporate Def M. This has also been captured in the living document. All feedback welcome!
Low income box:
From this

To this

Categories
All categories
FROM

TO

Workforce category
FROM

TO

new Dataset

The above UI changes are no longer applicable. @KameronKerger will update this ticket with mocks and point to the various places in the Living Copy doc along with the Indicators doc.
The tiles (on S3) should now have certain fields required to implement this ticket. Once the mocks are available. Will work with @emma-nechamkin on identifying the proper fields to use.

Methodology_scoreM.pdf
Updated_side_panel_text_Score_M.pdf

sorry cut&paste error on top of methodology
Methodology_scoreM.pdf


⚠ SceneTime has degraded performance

In 29ff7c2, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 2115 ms

Resolved: SceneTime performance has improved in 6502d18 after 4 minutes.


Add comments & simplify conditions join

While reading through join code, I annotated the code with a few extra comments and did minor simplifications around conditions.
Putting them up to see if they might be useful to future readers.

cc: @dmajda

+1

Yeah, the redundancy stems from the logic being complicated in certain places. A refactoring would certainly help :)


[Test Harness] Add isScreenRound override

Primarily for Wear OS, this would help testing a layout as if it is running on a round screen, or a square/rectangular screen.

Fixed by #1429


disabledWeekends doesn't work

https://cl.ly/0N3W2p1S313J
Just installed this, even tried with no other options on it.
{{pikaday-input
	useUTC=true
	format="MM/DD/YYYY"
	value=readyDate
	disableWeekends=true
	onSelection=(action (mut readyDate))
	minDate=minDate
	defaultDate=defaultDate
}}

I take that back. I see that options that are not in the readme need to go inside of the hash component.
I would like to recommend a docs update. Either make all properties in that hash, or specify at the top that this addon ONLY implements partial feature support. For full features please use the hash options component.

Welcoming a PR for README.md


support fsdp_optim_state

What this pr do:

suport flatten(including padding before shard) and unflatten full_optim_state_dic save and load and test with ut.
support save and load of shard_optim_state_dict.

TODO:

test the memory usage of checkpointing 70b model.

Overall looks good to me. Pass off to @anw90 for final review.


Ledger transfer eth failure

ledger seems to have changed the tx encoding part

mainnet failed as well:

Our v value is completely wrong, see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-155.md


Heroku version should allow parsing of direct input HTML

:+1: What do you think about auto-deploying to heroku on a github postcommit hook? (Heroku has a setting for this)

I am closing this issue since it was created in 2015 with no further action. If this issue is still relevant, please feel free to re-open it.


trigger reupload of globally pinned content [incomplete]

User story

Story

As a user, when downloading globally pinned content, I want to limit the number of recovery requests  sent to targets. After a number of missing chunks, I expect the recovery target nodes (global pinners) to reupload the entire content. see also #852
As a global pinner, I want to detect if a number of chunks are requested as missing that are part of the same pinned content so that i can reupload the entire file/collection assuming more chunks are lost.
Acceptance criteria

Background
Basically global pinners need to get information about the context of the missing chunk, ie, the pinned root hash as part of the recovery request. All this without leaking information about which chunk belong to which root.
This is easy to do based on this architecture proposal https://hackmd.io/9LhG0OpGSgyzC3QBZN_EwA?view

Tasks

Task
Assignee
Done (1), or 0

Thanks for making this issue @zelig !


Components use case with WARN msg

Please consider next use case. Everything renders good but in console i'm getting next warn message:

WARN:yew::virtual_dom::vtag -- Node not found to remove VTag

Why?
impl Renderable<Self> for Scene {
    fn view(&self) -> Html<Self> {
        let component = match self.scene_type {
            SceneType::Exchanges => html!{<FirstScene/>},
            SceneType::Instances => html!{<SecondScene/>},
        };
        html!{
            <>{component}</>
        }
    }
}

Thanks for the report! Not exactly sure why this is happening, but we'll get to the bottom of it!

I haven't look deep into code, but something happening on detach() event.
If i put both Components in html!{} at once without conditions there is no more Warn.

I've encountered this behavior before, and I believe that it constitutes a resource leak. Components that sit below the node where items should be removed don't get cleaned up and still can receive messages from agents that they are subscribed to.
This bug still affects the router I'm working on (which receives messages from an agent when the route changes). On previous iterations of the router, implementations that used a router that routed to a component that contained another router, had a bug where the inner router would create its child component for every detached node associated with it when the outer router switched from another component to the one with the inner router. The innermost child sent off a fetch request when it was created, causing 20+ requests to be made when this happened after running the app for a while, causing the application to grind to a halt before all these requests could be serviced.

I think this bug is to blame for what this person is suffering from as detailed in this gitter exchange: https://gitter.im/yewframework/Lobby?at=5d7d273ab84cb24c7ecb7611

I'm facing this issue as well, using yew_router to change between components. I'm also getting the following error message when I switch routes, along with the above error message.
WARN:yew::agent -- The Id of the handler: 0, while present in the slab, is not associated with a callback.

That warning is because of some mechanism shared by both the dispatcher and bridge that expects a callback to exist. The dispatcher does not have such a callback, causing this message to be triggered. That problem might deserve its own issue though.

Ahh, ok. Is that impacting performance in any way or can those messages be ignored?

@tarkah could you please create a new issue for handler id warning? It's unrelated to this issue. Thanks!

I recently started using yew and after playing around a bit I got the following warning: "Node not found to remove VTag" at yew-0.17.4\src\virtual_dom\vtag.rs:453. The following code seems to cause one of those:
html! {
  // other stuff

{
    match data {
      None => html!{
 },
      Some(slider) => html!{ <Slider data=slider phase_link=self.link.clone() />},
    }
  }

}

with the following warning in the console:
WARN C:\---\.cargo\registry\src\github.com-1ecc6299db9ec823\yew-0.17.4\src\virtual_dom\vtag.rs:453
Node not found to remove VTag

  | imports.wbg.__wbg_warn_a53fd622a8636f05 | @ | yew_app.js:412
-- | -- | -- | --
  | (anonymous) | @ | yew_app_bg.wasm:0x29f7c
  | (anonymous) | @ | yew_app_bg.wasm:0x484e5
  | (anonymous) | @ | yew_app_bg.wasm:0x360cb
  | (anonymous) | @ | yew_app_bg.wasm:0x33964
  | (anonymous) | @ | yew_app_bg.wasm:0x3602d
  | (anonymous) | @ | yew_app_bg.wasm:0x33964
  | (anonymous) | @ | yew_app_bg.wasm:0x3602d
  | (anonymous) | @ | yew_app_bg.wasm:0x33964
  | (anonymous) | @ | yew_app_bg.wasm:0x3602d
  | (anonymous) | @ | yew_app_bg.wasm:0x33964
  | (anonymous) | @ | yew_app_bg.wasm:0x34d0a
  | (anonymous) | @ | yew_app_bg.wasm:0x2f64f
  | (anonymous) | @ | yew_app_bg.wasm:0x2f2e2
  | (anonymous) | @ | yew_app_bg.wasm:0x4912a
  | (anonymous) | @ | yew_app_bg.wasm:0x48259
  | _dyn_core__ops__function__FnMut___A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8e9284153913a133 | @ | yew_app_bg.wasm:0x4bf93
  | __wbg_adapter_16 | @ | yew_app.js:211
  | real


Fix login with Facebook and Google

Fixes #323

Current coverage is 47.9%

Merging #324 into master will increase coverage by +0.04% as of 965fe79

@@            master   #324   diff @@
=====================================
  Files          115    115
  Stmts         3381   3376     -5
  Branches       327    328     +1
  Methods          0      0
=====================================
- Hit           1618   1617     -1
  Partial         27     27
+ Missed        1736   1732     -4

Review entire Coverage Diff

Powered by Codecov


"Connecting to SAS Session" hang when attempting to connect to an expired deployment

Describe the bug
The "Connecting to SAS Session" toast hangs when attempting to run code on an expired deployment
Steps to reproduce
1.) Create a connection profile for viya 4 to a known expired deployment.
2.) Run some SAS code.
3.) Observe that the toast spins without resolving.
Expected behavior
When obtaining a session from the compute server, if the license is expired, the job will be in failed state. We need to make sure to react properly to this scenario so that the correct error can be bubbled up in an error message.

"Connecting to SAS Session" will not hang when attempting to connect to an expired deployment. And now it will show error 'Request failed with status code 400'.


ix-tree-item properties and events not accessable

What happened?
If you use the ix-tree item like described in the documentation the properties and events of the ix-tree-item are not accessable.

The ix-tree-item elements are generated out of the model during the runtime.
So there is no easy way to bind the properties or events. In my case I want to bind the itemClick event to one of my angular methods
The only solution I found was going over the native elements every time I change the tree
What type of frontend frameware are you seeing the problem on?
Angular
Which version of iX do you use?
v1.3.0
Code to produce this issue.
No response

If you want to define a custom tree item you need to define a renderItem template (https://ix.siemens.io/docs/controls/tree#custom-tree-node).

I have but also with the renderItem  I cannot bind any action to the ix-tree-item events itemClick and toogle
So also with the renderItem I have no idea how to register to these events

Ah now i know what you talking about! Unfortunately this are more internal events which will be used in parent component ix-tree, but dont worry we will not remove them.
I will discuess this in the Team.


apply lint/prettier

Hello!
This is a cool project and I would like to get involved. After setting up the project locally, the linter was yelling at me so I figured it would be a good first step to get that set up and apply the linting/prettier rules that are in the eslintrc.js file.
Cheers,
Jacob

@jacobworrel Thanks for the contribution!  I look forward to having you involved!
Jacob


Script cannot pass integer argument to plugin

From a script, when calling a Nile plugin that takes an address parameter, users may want to to directly pass in the address as an integer (for convenience) instead of having to convert it to a string.
However, passing in an integer directly to a Nile plugin causes the following error:
Traceback (most recent call last):
  File "/Users/eric/git/nile-plugin-int/env/bin/nile", line 8, in <module>
    sys.exit(cli())
  File "/Users/eric/git/nile-plugin-int/env/lib/python3.9/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/Users/eric/git/nile-plugin-int/env/lib/python3.9/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/Users/eric/git/nile-plugin-int/env/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/eric/git/nile-plugin-int/env/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/eric/git/nile-plugin-int/env/lib/python3.9/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/Users/eric/git/nile-plugin-int/env/lib/python3.9/site-packages/nile/cli.py", line 77, in run
    run_command(path, network)
  File "/Users/eric/git/nile-plugin-int/env/lib/python3.9/site-packages/nile/core/run.py", line 14, in run
    script.run(nre)
  File "tests/resources/scripts/script.py", line 3, in run
    nre.deploy_proxy([1234])
  File "/Users/eric/git/nile-plugin-int/env/lib/python3.9/site-packages/nile/core/plugins.py", line 23, in wrapper
    return func(*args, standalone_mode=False, **kwargs)
  File "/Users/eric/git/nile-plugin-int/env/lib/python3.9/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/Users/eric/git/nile-plugin-int/env/lib/python3.9/site-packages/click/core.py", line 1054, in main
    with self.make_context(prog_name, args, **extra) as ctx:
  File "/Users/eric/git/nile-plugin-int/env/lib/python3.9/site-packages/click/core.py", line 920, in make_context
    self.parse_args(ctx, args)
  File "/Users/eric/git/nile-plugin-int/env/lib/python3.9/site-packages/click/core.py", line 1375, in parse_args
    opts, args, param_order = parser.parse_args(args=args)
  File "/Users/eric/git/nile-plugin-int/env/lib/python3.9/site-packages/click/parser.py", line 337, in parse_args
    self._process_args_for_options(state)
  File "/Users/eric/git/nile-plugin-int/env/lib/python3.9/site-packages/click/parser.py", line 358, in _process_args_for_options
    arglen = len(arg)
TypeError: object of type 'int' has no len()

For a minimum reproducible example, see https://github.com/ericglau/nile-plugin-int where the plugin takes an int argument and the script passes in an integer directly.
The workaround is for the user to wrap the integer as a string before calling the plugin, (and since Click is a command line utility this is not necessarily wrong), but the ability to pass in an integer directly would provide for a better user experience.

This was fixed by https://github.com/OpenZeppelin/nile/pull/273 - the plugin needs to use the nre scope separate from a cli Click command.


Is there a way to automatically edit in local?

I want to edit in local but I hate right clicking and selecting the option every time. Is there a way to edit in local on click as opposed to it opening in read-only mode?

Had same issue. This fixed it: https://github.com/liximomo/vscode-sftp/issues/270#issuecomment-501946457

Thank you @robocrax


Edit Cart

Story: As a visitor, I want to change the quantity or remove a product from my cart and no one else should be able to do it but me.
Implementation:

May be a PUT route.
Could be a POST route.
Could be updating state.

I discovered after we left our zoom that we were getting the same error for all of our buttons! after much scanning and looking at the previous commit I discovered that the issue was stemming from how we changed "newInfo" to "id" I changed those back and the other buttons are now working again. delete is still erroring.


[Garden] AV component dependencies not found in Windows CI

Environment

OS Version: Windows 10 (CI machines)
Source or binary build? source build of main branch (garden)

Description

Expected behavior: the dependencies should be found by cmake when configuring gz-common5 in CI

these machines have ffmpeg installed (search for install external dependency ffmpeg and Package ffmpeg:x64-windows is already installed in console output)
ign-common4 still finds these dependencies and runs the av tests on these same machines  https://build.osrfoundation.org/view/ign-fortress/job/ign_common-ign-4-win/28/testReport/(root)/VideoEncoderTest/
gz-common5 was last able to find these dependencies on May 14th https://build.osrfoundation.org/view/ign-garden/job/ign_common-ci-win/42/testReport/(root)/VideoEncoderTest/

-- Found SWSCALE: TRUE
-- Looking for libswscale - found

-- Found AVDEVICE: TRUE (Required is at least version "56.4.100")
-- Looking for libavdevice - found

-- Found AVFORMAT: TRUE
-- Looking for libavformat - found

-- Found AVCODEC: TRUE
-- Looking for libavcodec - found

-- Found AVUTIL: TRUE
-- Looking for libavutil - found

Actual behavior:

the next build after May 14th was on May 18th and it couldn't find the dependencies, though this is not reflected in the build status, since cmake warnings are not reported on windows  https://build.osrfoundation.org/view/ign-garden/job/ign_common-ci-win/43/

[17.704s] -- Could NOT find SWSCALE (missing: SWSCALE_FOUND)
[17.704s] -- Looking for libswscale - not found
[17.704s]
[17.813s] -- Could NOT find AVDEVICE (missing: AVDEVICE_FOUND) (Required is at least version "56.4.100")
[17.813s] -- Looking for libavdevice - not found
[17.813s]
[17.922s] -- Could NOT find AVFORMAT (missing: AVFORMAT_FOUND)
[17.922s] -- Looking for libavformat - not found
[17.922s]
[18.032s] -- Could NOT find AVCODEC (missing: AVCODEC_FOUND)
[18.032s] -- Looking for libavcodec - not found
[18.032s]
[18.141s] -- Could NOT find AVUTIL (missing: AVUTIL_FOUND)
[18.141s] -- Looking for libavutil - not found
[18.141s]
[18.141s] -- -------------------------------------------
[18.141s]
[18.157s] CMake Warning at C:/Jenkins/workspace/ign_common-ci-win/ws/install/ignition-cmake3/share/cmake/ignition-cmake3/cmake3/IgnConfigureBuild.cmake:69 (message):
[18.157s]    CONFIGURATION WARNINGS:
[18.157s]    -- Skipping component [av]: Missing dependency [libswscale].
[18.157s]       ^~~~~ Set SKIP_av=true in cmake to suppress this warning.
[18.157s]
[18.157s]    -- Skipping component [av]: Missing dependency [libavdevice].
[18.157s]       ^~~~~ Set SKIP_av=true in cmake to suppress this warning.
[18.157s]
[18.157s]    -- Skipping component [av]: Missing dependency [libavformat].
[18.157s]       ^~~~~ Set SKIP_av=true in cmake to suppress this warning.
[18.157s]
[18.157s]    -- Skipping component [av]: Missing dependency [libavcodec].
[18.157s]       ^~~~~ Set SKIP_av=true in cmake to suppress this warning.
[18.157s]
[18.157s]    -- Skipping component [av]: Missing dependency [libavutil].
[18.157s]       ^~~~~ Set SKIP_av=true in cmake to suppress this warning.

The ign-gazebo7 (aka gz-sim7) builds also started failing on May 18th since the av component is required by gz-sim  https://build.osrfoundation.org/view/ign-garden/job/ign_gazebo-ci-win/185/

[16.656s] CMake Warning at C:/vcpkg/scripts/buildsystems/vcpkg.cmake:782 (_find_package):
[16.672s]   By not providing "Findignition-common5-av.cmake" in CMAKE_MODULE_PATH this
[16.672s]   project has asked CMake to find a package configuration file provided by
[16.672s]   "ignition-common5-av", but CMake did not find one.
[16.672s]
[16.672s]   Could not find a package configuration file provided by
[16.672s]   "ignition-common5-av" (requested version 5.0.0) with any of the following
[16.672s]   names:
[16.672s]
[16.672s]     ignition-common5-avConfig.cmake
[16.672s]     ignition-common5-av-config.cmake
[16.672s]
[16.672s]   Add the installation prefix of "ignition-common5-av" to CMAKE_PREFIX_PATH
[16.672s]   or set "ignition-common5-av_DIR" to a directory containing one of the above
[16.672s]   files.  If "ignition-common5-av" provides a separate development package or
[16.672s]   SDK, be sure it has been installed.
...
  -- BUILD ERRORS: These must be resolved before compiling.

CMake Error at C:/Jenkins/workspace/ign_gazebo-ci-win/ws/install/ignition-cmake3/share/cmake/ignition-cmake3/cmake3/IgnConfigureBuild.cmake:75 (message):
  -- 	Missing dependency [ignition-common5] (Components: profiler, events,
  av)
Call Stack (most recent call first):
  C:/Jenkins/workspace/ign_gazebo-ci-win/ws/install/ignition-cmake3/share/cmake/ignition-cmake3/cmake3/IgnConfigureBuild.cmake:39 (gz_configure_build)
  CMakeLists.txt:214 (ign_configure_build)

Steps to reproduce

Run gz-common5 or gz-sim7 CI builds on Windows
check if av component is built by gz-common5

Output

my best guess is that this is caused by changes in gz-cmake's main branch between May 14-18th. The most likely culprit is https://github.com/gazebosim/gz-cmake/pull/255, which was merged on May 17th, but I haven't been able to identify any issues from looking at those changes again.

it is interesting to compare the console output from the first problematic build on May 18th to a more recent build:

https://build.osrfoundation.org/view/ign-garden/job/ign_common-ci-win/43/

[17.579s] -- Looking for GDAL - found
[17.579s]
[17.704s] -- Could NOT find SWSCALE (missing: SWSCALE_FOUND)
[17.704s] -- Looking for libswscale - not found
[17.704s]
[17.813s] -- Could NOT find AVDEVICE (missing: AVDEVICE_FOUND) (Required is at least version "56.4.100")
[17.813s] -- Looking for libavdevice - not found
[17.813s]
[17.922s] -- Could NOT find AVFORMAT (missing: AVFORMAT_FOUND)
[17.922s] -- Looking for libavformat - not found
[17.922s]
[18.032s] -- Could NOT find AVCODEC (missing: AVCODEC_FOUND)
[18.032s] -- Looking for libavcodec - not found
[18.032s]
[18.141s] -- Could NOT find AVUTIL (missing: AVUTIL_FOUND)
[18.141s] -- Looking for libavutil - not found
[18.141s]
[18.141s] -- -------------------------------------------

https://build.osrfoundation.org/view/ign-garden/job/ign_common-ci-win/52/

-- Looking for GDAL - found

CMake Warning (dev) at C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnUtils.cmake:1932 (message):

  The build script has specified some unrecognized arguments for
  gz_import_target(~):

  SWSCALE::SWSCALE

  Either the script has a typo, or it is using an unexpected version of
  gz-cmake.  The version of gz-cmake currently being used is 3.0.0

Call Stack (most recent call first):
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnImportTarget.cmake:69 (_gz_cmake_parse_arguments)
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnManualSearch.cmake:111 (gz_import_target)
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/FindSWSCALE.cmake:23 (gz_manual_search)
  C:/vcpkg/scripts/buildsystems/vcpkg.cmake:782 (_find_package)
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnUtils.cmake:212 (find_package)
  CMakeLists.txt:109 (gz_find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find SWSCALE (missing: SWSCALE_FOUND)
-- Looking for libswscale - not found

CMake Warning (dev) at C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnUtils.cmake:1932 (message):

  The build script has specified some unrecognized arguments for
  gz_import_target(~):

  AVDEVICE::AVDEVICE

  Either the script has a typo, or it is using an unexpected version of
  gz-cmake.  The version of gz-cmake currently being used is 3.0.0

Call Stack (most recent call first):
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnImportTarget.cmake:69 (_gz_cmake_parse_arguments)
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnManualSearch.cmake:111 (gz_import_target)
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/FindAVDEVICE.cmake:27 (gz_manual_search)
  C:/vcpkg/scripts/buildsystems/vcpkg.cmake:782 (_find_package)
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnUtils.cmake:212 (find_package)
  CMakeLists.txt:113 (gz_find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find AVDEVICE (missing: AVDEVICE_FOUND) (Required is at least version "56.4.100")
-- Looking for libavdevice - not found

CMake Warning (dev) at C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnUtils.cmake:1932 (message):

  The build script has specified some unrecognized arguments for
  gz_import_target(~):

  AVFORMAT::AVFORMAT

  Either the script has a typo, or it is using an unexpected version of
  gz-cmake.  The version of gz-cmake currently being used is 3.0.0

Call Stack (most recent call first):
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnImportTarget.cmake:69 (_gz_cmake_parse_arguments)
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnManualSearch.cmake:111 (gz_import_target)
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/FindAVFORMAT.cmake:23 (gz_manual_search)
  C:/vcpkg/scripts/buildsystems/vcpkg.cmake:782 (_find_package)
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnUtils.cmake:212 (find_package)
  CMakeLists.txt:117 (gz_find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find AVFORMAT (missing: AVFORMAT_FOUND)
-- Looking for libavformat - not found

CMake Warning (dev) at C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnUtils.cmake:1932 (message):

  The build script has specified some unrecognized arguments for
  gz_import_target(~):

  AVCODEC::AVCODEC

  Either the script has a typo, or it is using an unexpected version of
  gz-cmake.  The version of gz-cmake currently being used is 3.0.0

Call Stack (most recent call first):
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnImportTarget.cmake:69 (_gz_cmake_parse_arguments)
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnManualSearch.cmake:111 (gz_import_target)
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/FindAVCODEC.cmake:23 (gz_manual_search)
  C:/vcpkg/scripts/buildsystems/vcpkg.cmake:782 (_find_package)
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnUtils.cmake:212 (find_package)
  CMakeLists.txt:121 (gz_find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find AVCODEC (missing: AVCODEC_FOUND)
-- Looking for libavcodec - not found

CMake Warning (dev) at C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnUtils.cmake:1932 (message):

  The build script has specified some unrecognized arguments for
  gz_import_target(~):

  AVUTIL::AVUTIL

  Either the script has a typo, or it is using an unexpected version of
  gz-cmake.  The version of gz-cmake currently being used is 3.0.0

Call Stack (most recent call first):
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnImportTarget.cmake:69 (_gz_cmake_parse_arguments)
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnManualSearch.cmake:111 (gz_import_target)
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/FindAVUTIL.cmake:23 (gz_manual_search)
  C:/vcpkg/scripts/buildsystems/vcpkg.cmake:782 (_find_package)
  C:/Jenkins/workspace/ign_common-ci-win/ws/install/gz-cmake3/share/cmake/gz-cmake3/cmake3/IgnUtils.cmake:212 (find_package)
  CMakeLists.txt:125 (gz_find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find AVUTIL (missing: AVUTIL_FOUND)
-- Looking for libavutil - not found

-- -------------------------------------------

Potential fix in https://github.com/gazebosim/gz-cmake/commit/7b3cd52dbea18bfaae4f9d709adc75092b2ec8de, testing in https://github.com/gazebosim/gz-common/pull/387 using ci_matching_branch with https://github.com/gazebo-tooling/gazebodistro/commit/3d2068306c89bfb9144f7689a4119ddcc124df42

Closed by https://github.com/gazebosim/gz-cmake/pull/271


⚠ Bofrost.fr has degraded performance

In a5c32ea, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1659 ms

Resolved: Bofrost.fr performance has improved in 7a07533 after 6 minutes.


not support chinese

How should I add Chinese support?

You mean for the application itself?  I think the FileBot UI is only available in English.

@jlesage Not application, file name garbled.

Can you try to set the ENABLE_CJK_FONT environment variable to 1?

@jlesage It works.Thanks!


IOS 9

Most of the used API is deprecated now.

Thanks for the info. To be honest, I'd like to deprecate FTPManager too. Thing is, I can't find a good replacement (the ones I found did also rely on CFFTPStream).
I'll try to come up with a good solution for this, just give me a little time.

Ok, thanks!

I literally came back to this page because Xcode was yelling at me there are a ton of depreciated items in this git.  Nico, I couldnt agree more.  FTPManager has been a staple for me for the past 4 years and Ive built other managers on top of it.
Looking over at NSURLSession, it seems it might handle some FTP stuff but I dont think it is as simple as your stuff. Ill also look into upgrading the latest version to get rid of those depreciations.

I have the same issue; a fix or replacement would be greatly appreciated!


ORM Adapter: node-orm2

Work has been started on this here: https://github.com/denali-js/denali-node-orm2

Closing in favor of the org-wide project tracking the 0.1.0-beta.1 release


os-agent_1.4.1_linux_arm64.tar.gz doesn't work

Hello,
Please !!! can someone help me ??
Trying to install HA i have an issue i cannot solve since many weeks…(I am new on debian and home assistant)
I have downloaded the file “os-agent_1.4.1_linux_arm64.tar.gz” on my home folder. My Debian in installed on VM with CPU ARM64 (Freebox delta)
I tried this sentence below (being Super User) :
dpkg -i os-agent_1.4.1_linux_arm64.tar.gz
The result is :
error : ‘os-agent_1.4.1_linux_arm64.tar.gz’ is not a Debian format archive. dpkg-deb --control subprocess returned error exit status 2
So I have unzipped the .tar.gz file to ectract 3 files : "Readme.md" / "LICENC"E and "os-agent"...So I tried "dpkg -i os-agent" without success
What shall I do with these files ????
Thanks in advance to help me
Best regards
Patrick

For Debian, just use os-agent_1.4.1_linux_aarch64.deb.

Hi Agners,
I tried this command to install HA :  "dpkg -i os-agent_1.4.1_linux_aarch64.deb"
But it still NOT OK

Best regards
Patrick

This is an issue with your system setup, for example, start-stop-daemon is part of the dpkg in Debian (which you have, since you are invoking the command in the above example).
It looks like your PATH isn't correct (as per warning/note dpkg is issuing).
Closing the issue on this end, since it is an environment issue and not an issue with the package provided.
../Frenck


Add functionality to generate TypeScript definitions

This replaces #151

Based upon local testing (npm install file:../..), these changes appear to add proper TypeScript definitions to the library.
This change consists of the following:

Add TypeScript as a devDependency.
Add a new script to leverage TypeScript's built-in functionality to generate .d.ts files.

Note that I did try to have it generate one file, but couldn't get it to work, and looking at other projects they either are built with TypeScript, or are simpler. My hope is that adding some TS support will lead to someone with more knowledge than I improving the generation process. Or the library being rewritten in TypeScript. ;)
Git is marked to ignore the generated files in the types directory, which are built as part of the prepublishOnly script.

Based upon local testing, this then allows you to add the rpg-dice-roller package and import functionality (import { DiceRoll } from 'rpg-dice-roller';).
This relates to, and would close, #92 .

This is looking really good, but I'm getting errors running the tsc -p declaration.tsconfig.json script. Running it throws:

src/parser/grammars/grammar.js:1:1 - error TS9005: Declaration emit for this file requires using private name 'peg$SyntaxError'. An explicit type annotation may unblock declaration emit.
1 import * as Dice from '../../Dice';
~~~~~~
Found 1 error.

I can't really find much on that error, except this: https://stackoverflow.com/questions/60009092/declaration-will-not-emit-due-to-private-name-usage
Which, in that instance, seems to be a problem with using CommonJS exports, rather than ES module exports.
It could be due to how the grammar.js file is being generated; it's a bit hacky as PegJS (The Grammar parser) doesn't natively support exporting to ES modules. We're basically generating a file output to string, then wrapping it in an ES Module export - you can see the code in https://github.com/GreenImp/rpg-dice-roller/blob/develop/src/parser/grammars/generate.js
It's a bit convoluted.
I've just spent a while looking into options with PegJS, and the latest dev version does support exporting as ES modules: https://github.com/pegjs/pegjs/pull/481/files?file-filters[]=.js#diff-cd2c6b13fdcedf68a390c8bb6ea65cafR1293
But that's a dev version and I'm not sure how stable it is.
I also found a Typescript plugin for PegJS, which may or may not help: https://www.npmjs.com/package/ts-pegjs

Okay, was able to reproduce it. I've got three different local copies of the project, and never ran build on this fresh copy.
I was hoping I could exclude the generated file, but ran into https://github.com/microsoft/TypeScript/issues/33526#issuecomment-573330299 and switching the module type in tsconfig (since all we care about is the d.ts, not a final JS file) resulted in a variety of errors.
If src/parser/grammars/grammar.js doesn't exist then it builds without issue. Interestingly though, in VS Code I also get an "Unable to resolve path to module './grammars/grammar'." eslint error on the import parser from './grammars/grammar'; line in src/parser/Parser.js, but TypeScript is fine ignoring it.
ts-pegjs appears to be a library to help use PegJS in TypeScript code.
The hacky way is to remove/rename that grammar.js file while the TS declarations are being created, and then put it back, or let the grammar process run after it ...

I think the generated grammar.js file should probably be included in the typescript definitions, to have full typescript coverage.
I've had a quick play around and I've got it working by manually modifying the generated grammar.js file to be a proper ES module (removing the IIFE). So at least we know that there's a fix. The problem is trying to get the grammar file generated in that format.
I might have to try and pull in that change to PegJS somehow. Maybe my own fork of it or something as it doesn't look like they're going to be released any time soon.

I've just raised #153 which should hopefully fix these issues by changing how the grammar.js file is rendered.
If you rebase your stuff off develop and give it another try.
I'm thinking that it might actually be better to have the build:declaration script included at the end of the prebuild script, rather than prepublishOnly:
"prebuild": "npm run build:grammars && npm run build:declaration",

prebuild is run when publishing, but also as part of the integration tests, so any issues would be caught there.

Nice. I haven't been able to find a way to get to the code that grammar.js defines in a test TypeScript project, but having that updated makes things easier. :)
Per your comment above, new script moved to prebuild. Generating the library locally and adding it as a local package gives TypeScript definitions as expected. 🎊

Looking good! I've just tested the build process and it seems to work nicely.
What's the issue you're having getting the grammar.js working in a Typescript project?
I've had a thought; the typescript definitions are being generated from the src files, which contain the original ES modules, and not the lib/esm/bundle.js file, which contains the actual files that will be brought in when using import.
Just wanted to check that this is correct?

Just reread your comment re grammar.js in Typescript and realised that you're probably meaning that you can't access the code from within your project.
That's probably correct actually, as the grammar file is only used internally (In the parser) and doesn't get exported anywhere publicly accessible.

Sorry, yup, that's what I was referring to. :)
The functionality that would be accessed is working as expected.

Awesome! So you're happy that this is all working okay? If so, I'll get it merged in :smile:

Yup, I think it's working great. :)


Onlink link down

https://crypto.epimetheus.tk/ isn't resolving for me, is there an alternative link??
I've figured out how to get a plain text capture and I'm VERY interested in reverse engineering Pandor's playlists but I know nothing about Dart, I'm C programmer.
Are you still interested in Pandora?

Sorry for the delay - I've modernised this program and moved to a regular GitHub Pages URL.

Thanks the new link works.  I'll probably just use your https://github.com/EpimetheusMusicPlayer/pandora_mitm project. I hadn't discovered it yet when I opened this issue.


Element ... is not clickable at point (608, 527)

I'm getting an error after about 70 posts, as part of process_ad_divs(). Seems like there's an issue with that element should be clicked? I'm not sure if there's a specific ad that's causing the problem, because for this search, it happens at a slightly different post count each time. any help would be greatly appreciated. Thanks!
Traceback (most recent call last):
File "scraper_original.py", line 326, in
headless=not args.headed, wait=args.wait)
File "scraper_original.py", line 197, in main
process_ad_divs(new_ad_divs, len(processed_ad_divs), driver, dirname, ad_limit, wait=wait))
File "scraper_original.py", line 76, in process_ad_divs
ad_div.find_element_by_partial_link_text('See Ad Performance').click()
File "C:\Users\jw\AppData\Local\conda\conda\envs\py36fbads\lib\site-packages\selenium\webdriver\remote\webelement.py", line 80, in click
self._execute(Command.CLICK_ELEMENT)
File "C:\Users\jw\AppData\Local\conda\conda\envs\py36fbads\lib\site-packages\selenium\webdriver\remote\webelement.py", line 628, in _execute
return self._parent.execute(command, params)
File "C:\Users\jw\AppData\Local\conda\conda\envs\py36fbads\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 314, in execute
self.error_handler.check_response(response)
File "C:\Users\jw\AppData\Local\conda\conda\envs\py36fbads\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Element ... is not clickable at point (608, 527). Other element would receive the click:
(Session info: headless chrome=69.0.3497.92)
(Driver info: chromedriver=2.41.578737 (49da6702b16031c40d63e5618de03a32ff6c197e),platform=Windows NT 10.0.17134 x86_64)

Hmmm ... I've never run under Windows, so that may be part of the issue. What is the query that you're  using?

I'm actually getting a different error now, much earlier in the process:
Traceback (most recent call last):
File "scraper.py", line 343, in
headless=not args.headed, wait=args.wait)
File "scraper.py", line 199, in main
assert ad_clazz
AssertionError
Getting this with lots of queries. Most recent was " trump --status active --country US"

If you run it with -headed, I suspect you'll find you're being blocked by Facebook (which is what is encountered while working on your ticket.)

Ah okay thanks. And that's just a rate limit thing? I've gotten it to work
since.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/justinlittman/fb-ad-archive-scraper/issues/7#issuecomment-423940627,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APkgdBExZeVJzFmdCIAO11WE3bjL3mO0ks5ueL2ggaJpZM4WvcQA
.


auth_headers data not persisted

I'm using basic configuration:
$authProvider.configure({
  apiUrl:  'http://localhost:4000',
  storage: 'sessionStorage', //tried also cookie, localStorage with the same result
});

login form is submitted using following code:
$scope.handleLoginBtnClick = function() {
  $auth.submitLogin($scope.loginForm)
    .then(function(resp) {
      console.log(resp);
      $location.url('/dashboard');
      $auth.validateToken();
    }).catch(function(resp) {
      console.log('error: ' + resp);
    });
};

on backend I'm using Rails 5, sign_in response seems to be fine:
Access-Control-Allow-Credentials:true
Access-Control-Allow-Methods:GET, POST, DELETE, PUT, OPTIONS
Access-Control-Allow-Origin:http://localhost:3000
Access-Control-Max-Age:1728000
access-token:_g9X9uEtRhGObGlCXRlJ9A
Cache-Control:max-age=0, private, must-revalidate
client:TlXs6N5c6Ph_ZrJ88AsP7w
Content-Type:application/json; charset=utf-8
ETag:W/"7c14671d787f367a22f853e7d3cbaea9"
expiry:1480164412
token-type:Bearer
Transfer-Encoding:chunked
uid:user1

submit return correct user identification. However the consequent $auth.validateToken() fails with 401:
Request URL:http://localhost:4000/api/auth/validate_token
Request Method:GET
Status Code:401 Unauthorized
Remote Address:<IP_ADDRESS>:4000
Access-Control-Allow-Credentials:true
Access-Control-Allow-Methods:GET, POST, DELETE, PUT, OPTIONS
Access-Control-Allow-Origin:http://localhost:3000
Access-Control-Max-Age:1728000
Cache-Control:no-cache
Content-Type:application/json; charset=utf-8
Set-Cookie:XSRF-TOKEN=i4UbUWMxxTleqQjf%2BfRXfFGB6Y26cnp7WzHC2i2mnMCQuUrunhZbBRNWCfMD8t8n4UbPDsf0gV%2FME1wxkDudZA%3D%3D; path=/
Set-Cookie:_app_session=dld0bWdUQXFYSFpzanhUbVRPSHArMDRXVnF4T3lOL0NUS3FTay9vVEFwcUZPVk55SkUrWk81aUtZSjlCbDNUQzJ1czExaWlCZlBrV3RZNERxdUVpOTFKQm83YlZnSTFIdTlTNlBzckZ3bHdEWXEzc000WVNKWU14Slh6Yjk2czBJNCtkZDRkM0s5QXRkSVJsZnVrU09nPT0tLUFOM0ZvQTBlTUU5MmNaWTlwT0NCY3c9PQ%3D%3D--7ba211f78e38fbb5a46b135a52c57fe10c5dcc07; path=/; HttpOnly
Transfer-Encoding:chunked
Vary:Origin
X-Content-Type-Options:nosniff
X-Frame-Options:SAMEORIGIN
X-Request-Id:65c4e74f-0a10-45cd-83f7-fcda868c44c4
X-Runtime:0.007985
X-XSS-Protection:1; mode=block

when I look into browser store auth_headers are empty. Should I store the data manually?
Obviously from the same reason sign_out doesn't work, the backend call seems to be work when access-token and client parameters are set. Which does not happen.
curl -i -X DELETE http://localhost:4000/api/auth/sign_out -F access-token="lJUJxFjspb7_Lxic0rHCpQ" -F client="p8eEXSHPzv5hI0EdMaETcQ" -F uid="user1"

I'm using:
"angular": "1.5.8",
"ng-token-auth": "^0.0.29",
"angular-cookie": "^4.1.0"

Turned out to be a rails-cors configuration issue, I was missing this line for development env:
:expose  => ['access-token', 'expiry', 'token-type', 'uid', 'client'],

For reference here's the whole rails-cors config.


Add iNook

Issue #34 "Add iNook App to Website"

Since version 1.2.0 it is available in French (fr) and German (de) as well, and from 1.3.0, it will be available in Italian (it) and Portuguese/Brazilian (pt) as well


Praser shows error after upgrading to 1.1.0

Langium version: 1.1.0
Package name: langium
Steps To Reproduce

git clone https://github.com/jiashengguo/my-blog-app.git
npm install
npm exec zenstack generate

The current behavior
An unexpected error occurred:
Error: Could not find name assignment for type: TypeDeclaration
at buildCrossReference (/Users/jiasheng/branch/bug/node_modules/langium/lib/parser/parser-builder-base.js:236:19)
at buildElement (/Users/jiasheng/branch/bug/node_modules/langium/lib/parser/parser-builder-base.js:47:18)
at buildElement (/Users/jiasheng/branch/bug/node_modules/langium/lib/parser/parser-builder-base.js:44:18)
at buildAlternatives (/Users/jiasheng/branch/bug/node_modules/langium/lib/parser/parser-builder-base.js:136:22)
at buildElement (/Users/jiasheng/branch/bug/node_modules/langium/lib/parser/parser-builder-base.js:53:18)
at /Users/jiasheng/branch/bug/node_modules/langium/lib/parser/parser-builder-base.js:219:45
at Array.map ()
at buildGroup (/Users/jiasheng/branch/bug/node_modules/langium/lib/parser/parser-builder-base.js:219:36)
at buildElement (/Users/jiasheng/branch/bug/node_modules/langium/lib/parser/parser-builder-base.js:59:18)
The expected behavior:
No error
Description
The command is to parse the schema.zmodel file in the project using the below grammar file https://github.com/zenstackhq/zenstack/blob/main/packages/language/src/zmodel.langium
if you downgrade the Langium to 1.0.1, then it works.   Is there any grammar-breaking change for 1.1.0?

Oh, that's not good. The issue is very likely due to https://github.com/langium/langium/pull/845 and an unintended breakage in the grammar. In theory the breakage is only internal (i.e. no externally facing API has changed), but in practice it will require users to regenerate their grammar to fit with the new grammar structure. That's my bad, sorry. I've just created https://github.com/langium/langium/pull/939 to make users aware of this issue.
We actually changed our generated package.json for a similar reason. We recommend users of Langium to use the ~ package resolution to prevent breakages accidentally sneaking into their package. The issue is that Langium's large API surface makes it impossible to change anything without breaking some code.


#<NoMethodError: undefined method `closed?' for nil:NilClass>

Hi.
I got the following error while spidering a site. I suspect it was because the remote site dropped the connection, however I am unsure.
<NoMethodError: undefined method `closed?' for nil:NilClass>
/usr/lib/ruby/1.8/net/http.rb:1060:in request' /usr/lib/ruby/1.8/net/http.rb:772:inget'
/usr/lib/ruby/gems/1.8/gems/spidr-0.3.1/lib/spidr/agent.rb:521:in get_page' /usr/lib/ruby/gems/1.8/gems/spidr-0.3.1/lib/spidr/agent.rb:693:inprepare_request'
/usr/lib/ruby/gems/1.8/gems/spidr-0.3.1/lib/spidr/agent.rb:520:in get_page' /usr/lib/ruby/gems/1.8/gems/spidr-0.3.1/lib/spidr/agent.rb:586:invisit_page'
/usr/lib/ruby/gems/1.8/gems/spidr-0.3.1/lib/spidr/agent.rb:256:in run' /usr/lib/ruby/gems/1.8/gems/spidr-0.3.1/lib/spidr/agent.rb:238:instart_at'
/usr/lib/ruby/gems/1.8/gems/spidr-0.3.1/lib/spidr/agent.rb:209:in site' /usr/lib/ruby/gems/1.8/gems/spidr-0.3.1/lib/spidr/agent.rb:136:ininitialize'
/usr/lib/ruby/gems/1.8/gems/spidr-0.3.1/lib/spidr/agent.rb:206:in new' /usr/lib/ruby/gems/1.8/gems/spidr-0.3.1/lib/spidr/agent.rb:206:insite'
/usr/lib/ruby/gems/1.8/gems/spidr-0.3.1/lib/spidr/spidr.rb:96:in `site'
I was thinking that a possible solution would be to wrap the agent.rb get_page method contents in a begin/rescue block, report the error, but carry on, or maybe try again?
def get_page(url)
url = URI(url.to_s)
  begin
  prepare_request(url) do |session,path,headers|
    new_page = Page.new(url,session.get(path,headers))

    # save any new cookies
    @cookies.from_page(new_page)

    yield new_page if block_given?
    return new_page
  end
 rescue => e
      puts '+++++ ERROR IN SPIDR GEM ' + e.inspect
      return ''
 end
end

Closing out older issues. Looks like the bug was coming from Ruby's own net/http. Also I dropped support for 1.8 long ago.


EQ-431 Conditional Display

What is the context of this PR?
Complete rework of the template preprocessing and the implementation of conditional display.
To achieve this we've implemented a new skip_condition in the schema. If this condition is met then the question is not display. The condition can be either equals or not equals.
How to review

Check out this branch
Run the star wars survey
If you answer "Bothans" to "Who stole the plans to the 2nd death star" then an additional question appears on the next page. This is a "not equals" check and a non-mandatory question.
If you answer "I love them all" to "What do you think of the prequel series" then an additional question appears on the last page. This is a "equals" check and a mandatory question.

[ ] Do all commits have sensible commit messages?
[ ] Is all new code unit tested?
[ ] Are there integration tests if needed?
[ ] Is there sufficient logging?
[ ] Is there documentation or is the code self-describing?

Who worked on the PR
@warrenbailey

Ready for review

LGTM :+1: Good work!


usage in nodejs limited to some models

Currently only body pose detection works while face and hand models are not supported.
See tfjs-node issue https://github.com/tensorflow/tfjs/issues/4066 for details.

Are demos working , Can I use it on browser in my javascript project .
What will be the steps use built in demos in browser .

I don't understand - is there an issue? Yes, demos are working.
Your screenshot shows model loading on startup and since by default everything is enabled, that is about 26MB.
If on your system loading does not complete, check browser inspector window for any error messages in console.
And if there is a problem, please open a new issue and not post in this one which is about server-side model support.


🏳🌈 added colour ⭐✡🎊

Youre welcome !!!!!!!!!!!!!

Please like and subscribe if you enjoyed the video, and thanks to debrand for sponsoring todays video. the links to their products are in the description below the like button. thanks again for watching. see you in the next episode

Sick development, this has the potential to be the next chat gpt

guys we need another update


Problems With Solhint Plugins

I'm trying to use the rules on a custom solhint plugin by changing the .solhint.json configuration file.
The rules themselves work as I can lint the file manually using the terminal and I get the expected errors, but I cannot manage to make the Solidity plugin itself detect these custom rules.
I have changed the settings to explicitly use solhint as per the documentation i.e
"solidity.linter": "solhint",
"solidity.solhintRules": {
  "avoid-sha3": "warn"
}

And I have changed the .solhint.json as per the Solhint docs too.
Any idea of what I am doing wrong?

@Jaime-Iglesias is the .solhint.json file at root?

@juanfranblanco yep

@Jaime-Iglesias  First test without .solhint.json:

@juanfranblanco without the .solhint.json and with it, the rules in the settings work just fine

Ok I have tested it again with a file:

And to make sure it just works with the file:

What it may have happened is that you may need to restart vscode due to a problem before. Try again by adding the file.

hmmm, the problem does not seem to be with the file but with the extension not being able to detech the solhint plugin since it's clear that the rules in the .solhint.json that do not belong to the custom plugin are being enforced

Ahh I got you, yes the extension does not recognize plugins, where do you host your plugins?

Ahh I got you, yes the extension does not recognize plugins, where do you host your plugins?

What do you mean where I host ? I install them locally after publishing them (as per the solhint docs), hope that answers the question haha

Yes if you install them locally the extension might not be able to find them. I do need to do some research on this, or raise it with the solium guys.

Yes if you install them locally the extension might not be able to find them. I do need to do some research on this, or raise it with the solium guys.

So if they are globally installed they do work ? (haven't tried that option yet) also thank you

At the moment the extension does not load the plugins section, i can add that and check it globally.

At the moment the extension does not load the plugins section, i can add that and check it globally.

That would be great!
Ofc, ideally, loading them locally would be huge but progress is progress, thx again.

@Jaime-Iglesias quick test, it does not work i have added the no-foos rules install your package globally and nothing, it will have to be find and loaded dynamically by the extension into solhint, similar to prettier.

@Jaime-Iglesias quick test, it does not work i have added the no-foos rules install your package globally and nothing, it will have to be find and loaded dynamically by the extension into solhint, similar to prettier.

@juanfranblanco I just tried it myself too but no luck either, it's weird since solhint supports plugins out of the box, I guess it's cause by how the Extension itself manages all these packages

@Jaime-Iglesias looking at the source would have been faster https://github.com/protofire/solhint/blob/32ec781509c9b76db325d0c2db91c8c478441d6a/lib/rules/index.js#L53
there is a require there, which won't be triggered as the extensions cannot access those.

@Jaime-Iglesias looking at the source would have been faster https://github.com/protofire/solhint/blob/32ec781509c9b76db325d0c2db91c8c478441d6a/lib/rules/index.js#L53
there is a require there, which won't be triggered as the extensions cannot access those. Prettier provides a path setting that allows for the discovery of plugins, something they could implement.

I see, so it's a solhint problem after all - I wonder if they will manage to fix it, I don't know active the project is.

@Jaime-Iglesias  I have added an issue for this https://github.com/protofire/solhint/issues/206

@Jaime-Iglesias I have added an issue for this protofire/solhint#206

@juanfranblanco much appreciated, hopefully they will be able to support this, as I think it defenitely can bring a lot of value for both projects.

Hey @juanfranblanco I hope you are doing well,
Is there any update regarding this issue and https://github.com/juanfranblanco/vscode-solidity/issues/170 ?
stay safe !

friendly ping @juanfranblanco

@Jaime-Iglesias thanks for the ping!! I do need these sometimes as notifications get lost (you can find me in the Nethereum gitter). The issue is still open with the solhint guys / gals, the best way is to chase that issue there, once is fixed on their side it could be integrated here.

@Jaime-Iglesias thanks for the ping!! I do need this as sometimes notifications get lost (you can find me in the Nethereum gitter if you need anything). The issue is still open with the solhint guys / gals, the best way is to chase that issue there, once is fixed on their side it could be integrated here.

Ah I see, I thought it was depending on you - sorry about that hahaha! Thanks and stay safe !


implicit_plot! overrides plot setup

I've tried this in Pluto to interactively plot Cassinian ovals
begin
using ImplicitPlots
using Plots
end

let
a = 1
plt = plot(; xlims=(-2.5, 2.5), ylims=(-2.5, 2.5))
for b in (0.1, 0.5, 1, √2, 2, 3)
    f(x, y) = ((x-a)^2 + y^2)*((x+a)^2 + y^2) - b^2
    implicit_plot!(f)
end
plt
end

It seems like implicit_plot overrides lims defined by first plt = plot(; ...) call, so I have to setup the limits after the cycle. A bit annoying behavior. Should implicit_plot work with plot-related arguments as plot does, e.g. no implicit override?

Agree that the limits should not be overwritten.
We define the limits here:
https://github.com/saschatimme/ImplicitPlots.jl/blob/d6473bbb6e048b7ca7b41290449bbc68ca479fba/src/ImplicitPlots.jl#L51-L52
The plots recipes state (https://docs.juliaplots.org/latest/recipes/)

The special operator --> turns linecolor --> :blue into get!(plotattributes, :linecolor, :blue), setting the attribute only when it doesn't already exist. (Tip: Wrap the right hand side in parentheses for complex expressions.)

So I don't know what I am doing wrong here...


tests bsim/net: Add two simple echo tests over 802.15.4 and OpenThread

Add two simple selfchecking tests for the 15.4 stack and OpenThread,
based on the echo client / server sample apps.
It relies on the bs_tests hooks to register a test timer
callback, which after a deadline will check how many
packets the echo client has got back as expected, and if
over a threshold considers the test passed.

CC @jciupis @canisLupus1313 @edmont @jukkar @hubertmis @tbursztyka : Your review will be appreciated :)


some grammar was incorrect

looks good! could you also run npm i && npx mix --production so it gets bundled? hopefully we can take this step out soon

Sorry I keep forgetting that, thanks!


FIX #34: NullPresenter handles X11 color name

NullPresenter should have handled X11 color name.
But, previous implementation lacked this.
I implemented NullPresenter X11 color name methods.
Also added a X11 color name to shortcut name shared example.

Coverage decreased (-0.1%) to 98.988% when pulling 73d010137846b1e9778485c87e3e672073e9362e on sato-s:x11_colorname_nullpresenter into 45e2359438bf08d7163e54fb34c9939a543f3d44 on sickill:master.

Coverage decreased (-0.1%) to 98.988% when pulling 73d010137846b1e9778485c87e3e672073e9362e on sato-s:x11_colorname_nullpresenter into 45e2359438bf08d7163e54fb34c9939a543f3d44 on sickill:master.

Coverage decreased (-0.1%) to 98.988% when pulling 73d010137846b1e9778485c87e3e672073e9362e on sato-s:x11_colorname_nullpresenter into 45e2359438bf08d7163e54fb34c9939a543f3d44 on sickill:master.

Thanks! Looks, like Travis build failed though.

Coverage decreased (-0.1%) to 98.999% when pulling dbd36e4485be438468bdf0c26ef1be6739d52068 on sato-s:x11_colorname_nullpresenter into 45e2359438bf08d7163e54fb34c9939a543f3d44 on sickill:master.

Thanks!

Thanks for merging this.
I'll take care of coverage rate next time.


llama.cpp integration with DLL

Describe the feature
LLM for Unity uses the llamafile server for the LLM functionality.
This approach can't be used for mobile integrations due to security limitations.
Purpose of this feature is to instead integrate llama.cpp directly as DLL.
This feature doesn't necessarily mean to replace llamafile for PCs as this will need quite some testing and optimisation on different OS+CPUs

How is this task going?

It's progressing well, it should be done in the next 1-2 weeks

is there something blocking you at the moment?

I was just curious and prefer integrated solutions when it comes to Unity. The current solution is impressive as is, I tested it with llama 3 this evening. I will keep an eye out. Let me know if you need any assistance testing etc.

I would love some testing, thank you!
I'll send you when I'm at that stage.

Is there any other difference this will make except adding Android support? What about performance and file size?

sorry for the delayed reply, the main advantages of the DLL-based implementation are:

it will allow to develop Android and iOS deployment.
On mobile platforms it's not possible to create a server-client infrastructure as used with llamafile

it will prevent issues with llamafile and some antivirus systems
Some antivirus complain with llamafile, most probably because when llamafile runs for the first time it builds llama.cpp

it will be easier to add the latest developments of llama.cpp down the line e.g. supporting latest models.
Right now I have to wait for llamafile to pull the upstream llama.cpp

I think in terms of speed they should be similar, but still needs testing.
The filesize for PC deployments will increase if CUDA is wanted which boosts the performance hugely, I'll provide this as an option though in case someone needs to only use CPU.

After almost 2 months of development the DLL functionality finally entered the beta phase 🚀 !!
The feature is implemented in the release/v2.0.0 branch.
Since the backend is entirely rewritten, I would love some testing before merging.
You could do the following 🤗:

checkout the release/v2.0.0 branch or download & unzip it directly from here:
https://github.com/undreamai/LLMUnity/archive/refs/heads/release/v2.0.0.zip
create a new Unity project
Import the package from disk:
[Window > Package Manager > Add package from disk]
Select the package.json inside the checked out/downloaded LLMUnity folder
Run one or more of the samples
Report any issues or feature requests here or on the #dll channel on Discord 🐛.

Fantastic work!! Very exciting, I'll carve out sometime to play with this in the coming days.
My use case would likely include Cuda, and then choose on the fly between GPU and CPU. So some level automatic detection would probably be a good idea in the long run.
Exciting!!

Is AMD GPU still supported for the DLL switch? It works with llamafile.

@tempstudio which GPU do you have?
Does llamafile use HIP for you? You can find it in the debug messages
I'm trying to make it work but I don't have access to an AMD GPU and can't test it :disappointed: .
llama.cpp provides 3 options for AMD:

HIP: this is supposed to be the best option but only supports a few high-end GPUs that not many people will have. Also needs a AMD GPU to build, so I can't do that.
OpenCL: not an option anymore, support is removed as of 2 weeks ago
Vulkan: I can build and deploy with it. For my Nvidia GPUs performance is same or lower to CPU

Unless I find someone to test the Vulkan option I'm not sure if I can include support.

I had to go back to llamafile 0.8.4 to use the "precompiled Windows DLL" that worked with AMD. I think this is using HIP.
ROCM on Windows supports most of AMD's graphics card in the current and prior generation: https://rocm.docs.amd.com/projects/install-on-windows/en/docs-6.0.2/reference/system-requirements.html

I managed to build and add HIP support for AMD, as well as Vulkan :tada: !
It is incorporated at the new release (v2.0.1).
I can't test either on AMD GPU since I don't have one, but because the build is based on a llama.cpp workflow I expect it to work.
@tempstudio please let me know if it works!