Unable to locate package ros-melodic-mqtt-client

Hi All,
Thank you for your work on MQTT_Client! I do appreciate it.
I want to know if you guys have a suitable version for ubuntu18 or ubuntu20.
I tried it on ROS2, it works smoothly. But my code is runing in ROS-melodic.
Thank you in advanced.

Please note that we do not officially support ROS Melodic, which has also gone into its end-of-life state in June 2023.
Theoretically it should be possible to build the mqtt_client under ROS Melodic yourself, but you will also have install dependencies such as paho.mqtt.cpp manually.
Consider upgrading to ROS Noetic or ROS 2.


Fixed RNASeq Express

This version fixes the docs to indicate that it calls StringTie only once.
Wrote testcase to confirm that it creates the same outputs as running HISAT and StringTie
individually.
Generates simple Report (limited by the fact that neither HISAT nor StringTie create reports)

This repo is basically being retired.  We should redo this as a stand alone module that does local method calls.


[ELE-51] Microsoft SQL Server (mssql, dbt-sqlserver) integration

Like the above: Are you planning to extend elementary for dbt-sqlserver adapter?
ELE-51

Hi @agn-sta,
Thanks for opening the issue!
We currently don't officially support dbt-sqlserver, but Elementary dbt package is built on top of dbt so it shouldn't be crazy hard to integrate with it.
That said, we prioritize integrations based on demand from the community, so we will track this issue and see if there is more demand.
You are of course welcome to try and implement it yourself, I'll be happy to provide guidance!

@Maayan-s what would be involved in this? Is there another port I can look at to see the scale of what would be required to pick this up?

Hi @rtooker,
First of all, thank you for wanting to contribute to the project!
I would be happy to provide guidance.
To be honest it's hard for me to asses, as dbt-sqlserver is not an official adapter.
Some of the community adapters have all of the functionality the official ones have, but some don't.
If we depend on a functionality that is missing from this adapter, it means an integration would require to add it (to elementary or to the adapter).
Generally speaking, we implemented every platform-specific functionality using adapter.dispatch, as dbt recommends. You can see an example in this macro.
Anywhere there was an adapter native function or dbt_utils macro that we could use, we did.
This might cause a problem with SQL Server as dbt_utils does not support it. Since dbt 1.2.0 many of the macros were migrated from dbt_utils to the adapter code, but I'm not sure if these are all implemented in the dbt-sqlserver adapter.
According to the latest release notes some of these were added, so I'm optimistic.
Anyway, You can see here a workaround we did for such a gap with Databricks.
We recently decided (due to demand from the community) to add a Databricks integration, and approached it gradually -
Step 1 - Add support for uploading dbt artifacts and run results (in the dbt package).
Step 2 - Add support in the CLI for Slack alerts and UI generation.
Step 3 - Add support for data anomaly detection test (the most complex and platform-specific part of the code right now).
You can check out this PR where I implemented step 1 for Databricks. As you can see it actually required pretty minor changes.
If you want to give a shot with SQL Server, I would be happy to support you!

Thanks @Maayan-s . I'll have a look at step 1 on Friday. I'm hoping it's straightforward. tsql-utils shims some of the functionality of dbt_utils and as you say the latest versions of dbt-sqlserver seem to have accounted for the 1.2.0 changes 🤞

At first glance there are a lot of errors when running the e2e tests against sql server but many of them are similar.
One of the most common errors seems to be related to sql server not having a boolean data type.
A couple of questions:

I can add a macro here for sql server to use bit (the closest thing to boolean), but is it ok to add code to your repo for a target that's not officially supported?
Adding bit only gets me so far - I still need to translate True to 1 and False to 0 in the generated sql (e.g. generated from here) if the target is sqlserver. Any hints on where to start on that?

Hi @rtooker.
Thanks a lot for working on this.
Regarding your questions -

Yes, it's okay! For starters, we'll add the MSSQL adapter as community-based support, so you're right in saying that it will not yet be officially supported.
We can change queries that use true and false to use 1=1 or 1=0.

What do you think?

@rtooker @G14rb
We can also introduce a more gradual support by not including all of Elementary's features on the initial implementation. For instance, we can exclude the anomaly detection tests and only support the dbt artifacts which should be much easier. Of course this depends on which features of Elementary you're interested in.
Here's an example of how we can exclude parts of the E2E tests and potentially address them later if we'd like.

Nice, are you going to add the adapter for both packages (elementary and dbt-data-reliability), right?

Yes :)

Hi @rtooker ,
Hope you are well!
Just checking in if you are still working on this and if we can help in any way.
Thanks!

Hi @haritamar ,
I had to leave it for a few weeks but I got back to it today and have fixed maybe 10 compatibility issues - https://github.com/elementary-data/dbt-data-reliability/compare/master...rtooker:dbt-data-reliability:sql-server-initial-support?expand=1
Still quite a few issues though, just a painful process of unpicking them one by one. Hopefully I'll get a few more hours on it on Friday.
Robert

There's probably a decision to be made on which repo some of these fixes should end up in, but I want to get a clean run of the integration tests first.

Has there been an update on this? Thanks!

Hi @tford06 ,
I see that this fork is still in progress:
https://github.com/marvinfromblueforte/dbt-data-reliability
@marvinfromblueforte isn't on the thread but maybe @rtooker can share if they are working on it together?

A couple days ago I had a look at @tford06 's fork to see if I can help too. If I remember correctly, the biggest remaining issue is MSSQL's lack of support for nested CTEs and GROUP BY numbers. I think the former could be a showstopper because according to this open issue it requires reworking the SQL compiler in the dbt-sqlserver package.
However, I still think that limited functionality (excluding anomaly testing) should be possible. I'd like to give this another try after the holidays.
@tford06 Do you currently have any plans to keep working on this issue?

Anyone still working on this? I would love to use Elementary for just test result collection but we are currently using SQL Server.


Expand the Client Version Management Documentation

This PR expands the client version management documentation with further details on dependency;current version management and how the version incrementation works.

/check-enforcer override


Add failing test for #71

Hope these tests will do the trick @alxndrsn!
I was a little too eager to publish a new version before, so I've added the original unchanged expression as well this time.

replaced by #73

replaced by #73


Error on Step 4

The parameter -CreationDataCreateOption is Incorrect must be -CreateOption

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

ID: 3c8cc5d3-e2da-6130-7ef3-4ae4b7fe9010
Version Independent ID: c9a84f45-023f-51a2-bcf9-eaa30c637c46
Content: Migrate a Classic VM to an ARM Managed Disk VM
Content Source: articles/virtual-machines/windows/migrate-single-classic-to-resource-manager.md
Service: virtual-machines-windows
GitHub Login: @cynthn
Microsoft Alias: cynthn

Thanks for the feedback! We are currently investigating and will update you shortly.

@imartinez2 thank you for your feedback! I've filed a PR to get the code block corrected. Thanks again :)
#please-close


Dependency Guava 18.0 vulnerability CVE-2018-10237

Upgrading to rdf4j 3.4.0 made my project am's build fail due to a vulnerability in dependency Guava 18.0:
 >./gradlew check
Dependency verification is an incubating feature.

> Task :dependencyCheckAnalyze
Verifying dependencies for project am
Checking for updates and analyzing dependencies for vulnerabilities
Generating report for project am
Found 1 vulnerabilities in project am

One or more dependencies were identified with known vulnerabilities in am:

guava-18.0.jar<EMAIL_ADDRESS>cpe:2.3:a:google:guava:18.0:*:*:*:*:*:*:*) : CVE-2018-10237

...

BUILD FAILED in 5m 23s
10 actionable tasks: 8 executed, 2 up-to-date

https://travis-ci.org/github/marco-schmidt/am/jobs/720889106#L1436
And apparently I'm getting this as a transitive dependency from rdf4j:
./gradlew dependencies
+--- org.eclipse.rdf4j:rdf4j-repository-sparql:3.4.0
|    +--- org.eclipse.rdf4j:rdf4j-repository-api:3.4.0
|    |    +--- org.eclipse.rdf4j:rdf4j-query:3.4.0
|    |    |    +--- org.eclipse.rdf4j:rdf4j-model:3.4.0
|    |    |    |    +--- org.eclipse.rdf4j:rdf4j-util:3.4.0
|    |    |    |    |    \--- org.slf4j:slf4j-api:1.7.30
|    |    |    |    \--- com.google.guava:guava:18.0

Since vulnerability CVE-2018-10237 is relatively old and Guava version 18 seems to have been in rdf4j for at least seven months: https://github.com/eclipse/rdf4j/blame/2619b87a50dd21f16a80343a125164dd5684f3c3/pom.xml#L309 I don't quite know why the alert was raised only now. I've fixed this by enforcing an upgrade to guava 29.0-jre in my own build: https://github.com/marco-schmidt/am/blob/488a126464003bd2a83b785d94ace0aadb39fb1c/build.gradle#L50
Maybe you want to upgrade that dependency as well? And maybe someone can help me understand why this wasn't an issue before.
Greetings,
Marco

Hi Marco,
thanks for the heads-up, it is related to (or a duplicate of ) #1097.
Last time I've checked, upgrading to a newer guava version did break some other parts of the tree (e.g. solr), but I haven't checked v29.0... so I'll have check again if everything compiles (and all compliance checks pass) with the version you mentioned.

The reason this didn't flag up in your project before is probably that we've only started adding guava as a dependency in the rdf4j-model module since release 3.4 (as part of performance improvents related to #2442). Before, it was included in other modules (like for example the queryalgebra), but if  your project does not use those modules, it will not have been an issue for you in earlier releases.

We'll fix as part of #1097

@barthanssens @jeenbroekstra Thanks for the explanations! I didn't find the old ticket searching for guava 18 for some reason. Thanks for maintaining rdf4j.
Greetings,
Marco


Sign in page UI created fixes #10

Sign in page done, and did some modification to Landing page(image container size set to 66%)

@sarasikarunanayaka fetch this and run on android. see whether everything is okey or not.


Crash with minecraft:air unless riskyblocks=true

There's a crash if you use minecraft:air unless riskyblocks=true.

Crash Report:
https://paste.ubuntu.com/p/N5yCXXggHD/
Config:
https://paste.ubuntu.com/p/XckfH9TZhS/
Relevant Discord Conversation:
https://paste.ubuntu.com/p/DDZ342VxjX/


[Documentation] Cannot scroll some pages / Chrome

Bit of a weird one in Chrome 98 on Windows 10 (tested in Normal and Incognito modes).
On certain pages (this is not all, just a sampling)

https://vestjs.dev/docs/understanding_state
https://vestjs.dev/docs/writing_your_suite/including_and_excluding/skip_and_only
https://vestjs.dev/docs/concepts
https://vestjs.dev/docs/writing_your_suite/including_and_excluding/omitWhen
https://vestjs.dev/docs/writing_tests/using_the_test_function
I cannot scroll down the page using mouse or keyboard.

https://user-images.githubusercontent.com/89852/154028269-a905e44a-82f5-41b2-9c22-11d736a32176.mp4
This page though scrolls fine

https://vestjs.dev/docs/writing_your_suite/including_and_excluding/include

And they scroll in Firefox.

Ooh. That's a weird one. I am using docosaurus with a pretty minimal setup, so I am not sure what it could be. I do not experience it myself, which makes me wonder:

Does it happen consistently every time you reload these pages?
Are there any js errors displayed in the console?
Could it be some chrome extension interfering with scroll position?

Thanks for reporting that!


[BUG]: Mouse losing control of theme color slider

Describe the bug
The slider to select theme color is often dropped when trying to drag it around. It will occasionally jump to a different location and then jump back. It seems most likely to occur when switching direction. It happens both when the slider is near the edges and near the middle.
Possibly related: If I click and drag from a part of the bar that doesn't have the slider, the slider jumps to that location but then isn't dragged.
Steps to Reproduce

Go to Settings
Locate the Theme Color setting
Click and drag from the slider to the left (or right)
While still holding down the mouse button, start dragging to the right (or left)
After the slider has stopped following the mouse, click and drag from the slider again
Watch for the position of the slider to jump

It will be obvious because the accent color for the entire UI will flicker once

Expected Behavior

Slider should be smooth and remain grabbed until the mouse is released.
If an unoccupied location on the slider bar is clicked and dragged, the slider should follow the mouse.

Screenshots and Recordings
Both times the slider stops moving in this video, it happens while my mouse is still held down. This recording was done with a track pad.
https://github.com/user-attachments/assets/3db33f6a-a39c-4c80-8d3e-3fab2a84ff6b
Desktop OS
Linux Mint 21.2 with Cinnamon 5.8.4
Browser
Appimage
Version
0.26.4
Additional Context
I've gotten this to happen on both my mouse and track pad.

Thanks so much for flagging @crystalsolenoid, I can reproduce this.
For anyone on the team or myself: the issue is that we fire off an XState event to change the setting value—and therefore persist it to disk—on every onChange event in the case of this component (and most others). That's fine usually, but the range type input really spams the onChange event in an irregular polling pattern, so we'd really only like to persist the value when we're "done" editing, which we can infer from a combination of other events (Thanks Tom!). It's a little tricky though because the component is a "controlled" one so it locks up if I only make that change. We need to make it uncontrolled I think and only change the setting on release.


Support for User JWTs

This adds support for a user JWT. This adds to bare nkey support.
We support this as a callback to support JWT upgrades while an application is running.
We support decorated formats as provided by nsc, and we support chained files that have the user JWT and the user seed in the same file.
Signed-off-by: Derek Collison<EMAIL_ADDRESS>

Coverage decreased (-0.3%) to 93.794% when pulling be3edabaa508ff7a1404e513a88d0500de293683 on userjwt into 9089d12926fc085ed5fe007fb760769da12a16a1 on master.


[Bug] Expand failed using Neptune Analytics using EPL sample data

Description
When expanding a node using the sample data within Neptune Analytics I received an error and the node did not expand.
{"message":"Operation terminated (internal error)"}

Here is the query that failed
MATCH (v)-[e]-(tgt:Stadium)
WHERE ID(v) = "30dd8482-1987-4b04-89ae-d9c756c6ca9f"
    AND ID(e) IN ["neptune_reserved_1_1152921513197240328"]
WITH
    collect(DISTINCT tgt)[..1] AS vObjects,
    collect({edge: e, sourceType: labels(v), targetType: labels(tgt)})[..1] AS eObjects
RETURN vObjects, eObjects

Executing a similar expand in NeptuneDB works fine
MATCH (v)-[e]-(tgt:Country2)
WHERE ID(v) = "Airport2_0ms5"
    AND ID(e) IN ["52058d52-88c2-4549-ac4e-36cde4df49264294967344"]
WITH
    collect(DISTINCT tgt)[..2] AS vObjects,
    collect({edge: e, sourceType: labels(v), targetType: labels(tgt)})[..2] AS eObjects
RETURN vObjects, eObjects

Environment

OS: macOS
Browser: Arc
Graph Explorer Version: 1.7.0
Graph Database & Version: Amazon Neptune Analytics

Steps to Reproduce

Used %seed from Graph Notebook to load epl openCypher data set
Added City node "30dd8482-1987-4b04-89ae-d9c756c6ca9f"
Tried to expand
Received error in browser console network tab

Expected Behavior

Expand works

[!IMPORTANT]
If you are interested in working on this issue or have submitted
a pull request, please leave a comment.

[!TIP]
Please use a 👍 reaction to provide a +1/vote.
This helps the community and maintainers prioritize this request.

I've tested this in a few ways:
❌  Locally with latest code using original data set (epl seed data)
❌  Locally with v1.6 code using original data set (epl seed data)
✔ New Neptune Analytics instance, new notebook, using airport seed data
❌ New Neptune Analytics instance, new notebook, using epl seed data
This seems to indicate that the issue is not with Graph Explorer. It seems likely that the epl data set is somehow invalid or corrupt.
Therefore, I'm going to close this issue since Graph Explorer seems to be doing the right thing.


replace ceylon.numeric with code from xmath

This replaces the code in ceylon.numeric with the following improvements:

Tests, including some that did not exist in ceylon.math
Bug fixes (so the tests pass)
Compatibility with various web browsers (per MDN JS docs)
A new function remainder(Float, Float)

This was discussed here.

Can one of the admins verify this patch? (respond with "ok to test", "test this please" and/or "add to whitelist")

Will ceylon.numeric be included as part of the 1.2.1 release? If so, I think this patch should be considered for 1.2.1.

ceylon.numeric is in apparently, so I'll merge this.

Merged.


Could you make your dwmblocks work on top barmodules patch?

Here the link for Barmodules patch

It shouldn't be too hard to write a patch, but the barmodules patch is too intrusive and I don't use it so I don't have enough motivation to do that. If you want to do it, you can copy most of the stuff from the provided patches (with and without systray ones) except for the drawbar and buttonpress function. You will just need to modify those parts.

or Maybe you can request the writer of Barmodules patch to write one for this.

Wait, I'm confused. Isn't barmodules included by default?


Add take for ListArray

I would guess that the result from take should point to the data in the original ListArray, right? or should it be a new array?


draft.allTodos.push is not a function

When I push the new item why immer throws an error
I am using React Hooks and Switch Statements
code:
  const todosState = {
   currentTodos: [],
   allTodos: [],
   activeTodos: [],
   completedTodos: [],
 };

  const todosAction = (draft, action) => {
   switch (action.type) {
     case 'add-new-todo': {
      draft.allTodos = draft.allTodos.push({ id: 3, task: 'test' });
       return;
     }

    default: {
      return draft;
    }
 }
};

Closing for the lack of a reproduction. Please follow issue template next time.

I just solve it
Great Library Thanks Immer


somacore 1.0.9

For https://github.com/single-cell-data/TileDB-SOMA/issues/1791
In parallel, @ryan-williams will be putting up a PR for TileDB-SOMA's in-package dependency

Failed CI is the same as #103

Is this a pre-check PR?

@jdblischak I should have bumped build number to 1.
That said, given https://github.com/TileDB-Inc/tiledbsoma-feedstock/pull/105#issuecomment-2007258035, I'll abandon this PR and move its contents into #105.


'DoubleArray' object does not support indexing

I just want to convert ibis table into pandas dataframe. I don't know how to do this basic step. I've tried creating lists from columns with no success. Then I tried to get a single value from a cell:
table['col_name'][0]
And I get this error:

'DoubleArray' object does not support indexing

How can I do these basic steps in ibis: indexing, converting?
Thank you!

Run .execute() on the expression to get the in-memory pandas result

Thank you! It works perfectly!
Actually I started using impyla when I was blocked by this issue. But now I had some time to turn back to ibis. And as I see both has the same runtime performance (at least in my project).


encoding/gocode/gocodec: embedded structs are not honoured

What version of CUE are you using (cue version)?

$ cue version
cue version +12927e8 linux/amd64

Does this issue reproduce with the latest release?
Yes
What did you do?
-- go.mod --
module mod.com

go 1.12

require cuelang.org/go v0.1.3-0.20200424192631-12927e83d318
-- main.go --
package main

import (
        "encoding/json"
        "fmt"

        "cuelang.org/go/cue"
        "cuelang.org/go/encoding/gocode/gocodec"
)

type S struct {
        Name string
        T
}

type T struct {
        Age int
}

func main() {
        var s S
        byts, _ := json.Marshal(s)
        fmt.Printf("%s\n", byts)
        var r cue.Runtime
        c := gocodec.New(&r, nil)
        v, _ := c.Decode(s)
        fmt.Printf("%v\n", v)
}

What did you expect to see?
{"Name":"","Age":0}
{Age: 0, Name: ""}

What did you see instead?
{"Name":"","Age":0}
{T: {Age: 0}, Name: ""}

Is anyone working on this? I would like to give it a try if not :)

I started investigating this issue. I have two questions:

Is it expected that fmt.Printf("%v\n", v) should print without line breaks? I am not able to reproduce {T: {Age: 0}, Name: ""} as a one-liner. If that is expected I think that might be a separate issue.
Is it expected that fields are sorted, or should the expected in this case rather be {Name: "", Age: 0}? If sorting is expected, how should fields be sorted?

I have a what I think is a fix for this issue, but I am not able to fulfill the expected. Hence, my questions above :)

@stromsvag

I'm not sure if it should, but don't have a strong opinion. The code for this is in cue/types.cue (Format).
Comma is only needed to separate two declaration on a single line. Otherwise it is elided.
Sorting is currently handled in the export package, but only works if the original structs are included in the result. The result I get now looks correct (Name, then Age, which is the topological sort of the input types). But sorting is not fully implemented yet for embedding, so that could be luck.

This issue has been migrated to https://github.com/cue-lang/cue/issues/376.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


Update Emacs to version 24.5

What's this PR do?
This updates Emacs to version 24.5.  brew cask audit passed and install worked without issue.
How should this be manually tested?
brew cask install emacs

Thanks.


Rotty3000/cdi spi

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Aries-cdi-pr/6/

Is it a rebase (due to the number of commits) ?

@jbonofre hmm, is it a rebase? I can't see that it is.

@rotty3000 it was a question (due to the number of commits) ;) If it's a refactoring, it's fine.


fade effect, previous slide not fading out.

I'm trying to use use the fade effect with transparent slides. it appears the slides are stacking and the previous slide does not fade out.
Is there anyway to fix this?

ah ha, crossfade is what I am looking for. please disregard this item. Set it to true and it works as intended.


chore: update GitHub Actions for workflow improvement

Upgrade actions/checkout and actions/setup-python to latest versions
Remove pip caching from setup-python for simpler configuration
Update Python version to 3.12 in Lint workflows
Rename CI workflow job from "lint_and_deploy" to "deploy_test"
Resolve annotation warnings related to action versions

Fixes : #64

Hey @rex9840! 👋 Could you please take a look at this PR when you have a chance?


Iterating through larger data use too much memory and performance is low

Expected behavior
With the large data, it should still iterate through the small memory size with high performance
Actual behavior
Looping through the v3 blocks for testnet data takes 30s with 5GB memory usage
Steps to reproduce
(async () => {
	const db = new Database(dbPath)
	const DB_KEY_BLOCKS_ID = 'blocks:id';
	console.time('performance');

	const blocksStream = db.createReadStream({
		gte: Buffer.from(`${DB_KEY_BLOCKS_ID}:${Buffer.alloc(32, 0).toString('binary')}`),
		lte: Buffer.from(`${DB_KEY_BLOCKS_ID}:${Buffer.alloc(32, 255).toString('binary')}`),
	});

	await new Promise((resolve, reject) => {
		blocksStream
			.on('data', ({ value }) => {
			})
			.on('error', error => {
				reject(error);
			})
			.on('end', () => {
				resolve();
			});
	});
	console.timeEnd('performance');
	db.close()
})()

Which version(s) does this affect? (Environment, OS, etc...)
0.3.8

After consideration of different options/optimizations regarding pub fn js_iterate(mut ctx: FunctionContext) -> JsResult<JsUndefined> function to make it less memory intensive, we decide to leave it as it is.
Current Neon implementation has some limitations on how you can pass borrowed objects back to JS and this was one of the main issues, why memory optimization was not done.
We also investigated how napi-rs library works with lisk-db and measurements showed that a peak of a memory consumption was decreased by about 50%.
We decided to not proceed and use this library instead of neon because an effort in comparison to what we will be gaining would be too big.
High memory consumption only concerns lisk-migrator because it iterates over a large number of database elements. Lisk nodes are not affected by this because iterations are much smaller in comparison with lisk-migrator.


Can't Export or save a scene on Android

Godot version
3.5 beta 3 (Android Version)
System information
Android 8.1.0
Issue description
I am using the android version of Godot Engine and I can't save my 3D scene, Every time I try to save it crashes and my work wiped, I have tried to make a simple 2d game instead and yet again my work wiped and the application crashes.
Steps to reproduce
Simple 3d scene, adding staticbody as the ground, and a simple cube with it's animation
Minimal reproduction project
No response

@MohamedHelmy03 What Android device model are you using?
While saving a scene shouldn't crash, I don't think exporting a project is currently supported in the Android editor (especially as you can't run any of the exported files directly from the device).

Thank you for your fast response
My Device model is "Samsung Galaxy Tab A6 (2016)"
The App is working good on this device, in 3D Scene it have some lag but this isn't a problem for me.

Could you test the Android editor from 3.5 RC 5? https://downloads.tuxfamily.org/godotengine/3.5/rc5/Godot_v3.5-rc5_android_editor.apk
Also, are you able to retrieve adb logcat logs from the device to get details on the crash?

Could you test the Android editor from 3.5 RC 5? https://downloads.tuxfamily.org/godotengine/3.5/rc5/Godot_v3.5-rc5_android_editor.apk
Also, are you able to retrieve adb logcat logs from the device to get details on the crash?
CC @m4gr3d

It Actually Work, But After I Changed My Device Language To English (USA)

@MohamedHelmy03 what language was it crashing with. We'll try to repro to see if we can isolate the issue.

@MohamedHelmy03 what language was it crashing with. We'll try to repro to see if we can isolate the issue.

Arabic

I seem to reproduce crashes on my Xiaomi Poco F1 in English with 3.5 RC 5. I'll try to get logs later today.

Fixed by #62729.


How to call a contract function , from another contract function

Hi，I have a question about , how to call a contract function , from another contract function，should i use SEND_INLINE_ACTION, or it have another way to call other contract function with out SEND_INLINE_ACTION?
I will very appreciate that you have simple example or tutorial!

you can use inline action or deferred action. Please refer to the system contract codes.


XLinearModel (trained) when saving it generates an error OSError: [Errno 95] Operation not supported

Description
We are trying to leverage PECOS for XMR problem in ranking autocomplete suggestions given query say ("clinical"), a prefix ("ac"), so suggestion could be "acupuncture", this seems to be implemented for a similar use case of Amazon in pecosq2q.py under examples/qp2q/models/
I am able to get to point of running and training XLinear model, i am following examples in pecosq2q.py but not really using that class, i have picked up snippets and built my label embeddings and cluster matrix chain and then finally built Xlinear model.
How to Reproduce?
from pecos.xmc.xlinear.model import XLinearModel
xlinear_model = XLinearModel.train(
input_feature_matrix,
labels_y_ohe_matrix,
cluster_matrix,
threads=16,
Cp=1.0,
Cn=1.0,
threshold=0.1
)
xlinear_model.save("/dbfs/FileStore/pzn_ai/contextualized_autocomplete/model/")
Steps to reproduce
(Please provide minimal example of code snippet that reproduces the error. For existing examples, please provide link.)
this last line above generates the error
xlinear_model.save("/dbfs/FileStore/pzn_ai/contextualized_autocomplete/model/")
I noticed that XLinearModel attribute self.model is of type HierarchicalMLModel
and its able to successfully execute following lines as part of save method in Xlinear class
param = self.append_meta({})
with open(f"{model_folder}/param.json", "w", encoding="utf-8") as fout:
fout.write(json.dumps(param, indent=True))
as i do see "param.json" under base path i am leveraging.
the problem arises when it does this (line 103) of pecos/xmc/xlinear/model.py
self.model.save(path.join(model_folder, "ranker"))
i do see ranker folder as well and i see another param.json there too which seems to isolate to this part which is choking
for d in range(self.depth):
local_folder = f"{folder}/{d}.model"
self.model_chain[d].save(local_folder)
Error message or code output
OSError                                   Traceback (most recent call last)
OSError: [Errno 95] Operation not supported
During handling of the above exception, another exception occurred:
OSError                                   Traceback (most recent call last)
 in <cell line: 15>()
13 )
14
---> 15 xlinear_model.save("/dbfs/FileStore/pzn_ai/contextualized_autocomplete/model/")
/local_disk0/.ephemeral_nfs/cluster_libraries/python/lib/python3.9/site-packages/pecos/xmc/xlinear/model.py in save(self, model_folder)
101         with open(f"{model_folder}/param.json", "w", encoding="utf-8") as fout:
102             fout.write(json.dumps(param, indent=True))
--> 103         self.model.save(path.join(model_folder, "ranker"))
104
105     @classmethod
/local_disk0/.ephemeral_nfs/cluster_libraries/python/lib/python3.9/site-packages/pecos/xmc/base.py in save(self, folder)
1317         for d in range(self.depth):
1318             local_folder = f"{folder}/{d}.model"
-> 1319             self.model_chain[d].save(local_folder)
1320
1321     @classmethod
/local_disk0/.ephemeral_nfs/cluster_libraries/python/lib/python3.9/site-packages/pecos/xmc/base.py in save(self, folder)
789         with open("{}/param.json".format(folder), "w") as f:
790             f.write(json.dumps(param, indent=True))
--> 791         smat_util.save_matrix("{}/W.npz".format(folder), self.W)
792         smat_util.save_matrix("{}/C.npz".format(folder), self.C)
793
/local_disk0/.ephemeral_nfs/cluster_libraries/python/lib/python3.9/site-packages/pecos/utils/smat_util.py in save_matrix(tgt, mat)
96             smat.save_npz(tgt_file, mat, compressed=False)
97         else:
---> 98             raise NotImplementedError("Save not implemented for matrix type {}".format(type(mat)))
Environment

Operating system: Databricks Runtime 11.2 LTS ML
Python version:  3.9
PECOS version:  latest mainline

(Add as much information about your environment as possible, e.g. dependencies versions.)

i would appreciate if anyone of core authors of Pecos can revert back, as we can't render this model via api unless we save to disk and then load it from there nto our application.

@rofuyu @Patrick-H-Chen guys any ideas?

i noticed comparison here in the smat_util.py save_matrix method is like this:
with open(tgt, "wb") as tgt_file:
if isinstance(mat, np.ndarray):
np.save(tgt_file, mat, allow_pickle=False)
elif isinstance(mat, smat.spmatrix):
smat.save_npz(tgt_file, mat, compressed=False)
i think our cluster chain matrices are of type csr_matrix and spmatrix is base class - so not sure what's happening here, isinstance method should return the base type, i can try cloning github pecos repo on my databricks cluster, and doing local pip install with changes of printing matrix type -
@jiong-zhang  any ideas , help would be appreciated.

i realize that its not cluster matrix that's issue ,its weight matrix that is not been saved.
thread is
/local_disk0/.ephemeral_nfs/cluster_libraries/python/lib/python3.9/site-packages/pecos/xmc/base.py in save(self, folder)
789         with open("{}/param.json".format(folder), "w") as f:
790             f.write(json.dumps(param, indent=True))
--> 791         smat_util.save_matrix("{}/W.npz".format(folder), self.W)
/local_disk0/.ephemeral_nfs/cluster_libraries/python/lib/python3.9/site-packages/pecos/xmc/base.py in save(self, folder)
789         with open("{}/param.json".format(folder), "w") as f:
790             f.write(json.dumps(param, indent=True))
--> 791         smat_util.save_matrix("{}/W.npz".format(folder), self.W)
xlinear_model_1 is trained using this XLinearModel.train
so to debug a bit more i did following:
for d in range(xlinear_model_1.model.depth):
print(type(xlinear_model_1.model.model_chain[d].W))
model depth is 5 :
with 121 k unique labels nows using HybridIndexer as cluster chain.
class 'scipy.sparse.csc.csc_matrix'>
<class 'scipy.sparse.csc.csc_matrix'>
<class 'scipy.sparse.csc.csc_matrix'>
<class 'scipy.sparse.csc.csc_matrix'>
<class 'scipy.sparse.csc.csc_matrix'>

@nishant4995  man can you help here as no one else is responding. I will also try to save explicility each model weight directly to see maybe shed some light there.

so i tried saving model chain weight matrix directly and i see the error from numpy
<array_function internals> in savez(*args, **kwargs)
/databricks/python/lib/python3.9/site-packages/numpy/lib/npyio.py in savez(file, *args, **kwds)
615     array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
616     """
--> 617     _savez(file, args, kwds, False)
618
619
/databricks/python/lib/python3.9/site-packages/numpy/lib/npyio.py in _savez(file, args, kwds, compress, allow_pickle, pickle_kwargs)
718         # always force zip64, gh-10776
719         with zipf.open(fname, 'w', force_zip64=True) as fid:
--> 720             format.write_array(fid, val,
721                                allow_pickle=allow_pickle,
722                                pickle_kwargs=pickle_kwargs)
/usr/lib/python3.9/zipfile.py in close(self)
1168                 self._fileobj.seek(self._zinfo.header_offset)
1169                 self._fileobj.write(self._zinfo.FileHeader(self._zip64))
-> 1170                 self._fileobj.seek(self._zipfile.start_dir)
this looks an issue with numpy version compatibility issue ?
i found this in setup.py - its possible databricks ml cluster i am using causing this issue with numpy version, let me look into it.
numpy_requires = [
'numpy<1.20.0; python_version<"3.7"', # setup_requires needs correct version for <3.7
'numpy>=1.19.5; python_version>="3.7"'
]

so turns out this is bizarre, if you use dbfs path even though using /dbfs/ in databricks, there is issue where zipping file to databricks path doesn't work, but when i tried using /tmp/ path it worked !!!
so issue is somehow related to storing weight matrices as zipped numpy npz file , its issue with seek when trying to store weight matrix as zipped file using dbfs path, when using local databricks path like /tmp/ it works.

something to be aware, if folks are training this model in databricks, its internal zip issue with saving matrices to dbfs path - use local path like /tmp and then move matrices later to different path if needed


Adding Lisk Service documentation

Description
Move Lisk Service docs into this repo
Motivation
For restructuring purposes

@chris529 is this duplicate of https://github.com/LiskHQ/lisk-service/issues/948
if yes, can you close this issue?


[faDBl2ua] composer update

Trello
https://trello.com/c/faDBl2ua/13-bookvolume-fork-johns-tools

 [BookVolume] Fork John's Tools

@luiztiago Looks good to me! 👍


Social Media Input Keeps Appending

Social Media Input continuously appends instead of replaces text.

I got the fix for that ill jumo on it soon

Fixed, along with slack user as well


forget previous generation

fix #94
I figured what was preventing gc.

Node1 and Node2 communicate.
Node2 dies.
Node3 appears.
Node1 isn't aware yet that Node2 is dead; it gives info about Node2 to Node3
Node3 receives info of Node2, it record a heartbeat, but Node2 isn't in the state, so the failure detector actually doesn't record anything. Then the state is updated.
Node1 and Node3 don't communicate about Node2 as nothing changed
Node1 discovers Node2 is dead
after some time, Node1 finally forget Node2
Node3 notice Node1 haven't heard of Node2, and sends it the info
Node1 receives info of Node2, it record a heartbeat, but Node2 isn't in the state, so the failure detector actually doesn't record anything. Then the state is updated.

Both Node1 and Node3 knows about Node2, but none track its state in their failure detector
what I implemented to fix that is that on first learning about a node, it's recorded in the failure detector as dead. if we get a 2nd heartbeat (with higher sequence number), we update to alive. That way a node in state should always be in the failure detector. We add it as dead because otherwise each time Node1 forget, the message from Node3 makes it believe that Node2 is alive, then Node3 forget, Node1 makes it believe Node2 is alive, then Node1 forget.... (this is only an issue if dead_node_grace_period can be smaller than the time it takes to detect a node is dead)

currently tests don't pass, and I have not been successful at fixing them. I left a comment with what I've figured so far at the place where it fails. Any help welcome!

while trying to fix the tests, I found 2 issues in a test which worked before, as far as I can tell because of favorable timing.

after a partition, when recovery start, if a node used to have a key, but has deleted it and has none left, other nodes may not learn about its max_version, and accept stall writes from nodes that aren't yet reset. It itself won't reset further, as it now has up to date heartbeat => send a sentinel value (tombstone for "") if we reset a node, and gives it no key at all.
if a node A thinks an other node B is dead, it no longer includes it in its digest, which means other nodes will tell it about a new version of B, but won't tell it to reset its state. If B created a key before disconnection, deleted it during that phase, and its tombstone expired during that phase too, when A and B starts to communicate again, A will get an up to date heartbeat, but will keep the old key for A as neither tombstone nor state reset told it to drop the key => always include dead nodes in digest so we get resets when we should

what I implemented to fix that is that on first learning about a node, it's recorded in the failure detector as dead. if we get a 2nd heartbeat (with higher sequence number), we update to alive.

I think it is possible for a Node 4 to send Node 3 info about Node 2 with a higher sequence number. Node 3 would then update it as alive for a little bit. Can you confirm that this scenario will just result in Node 3 thinking for a few seconds that Node 2 is alive.

Can we merge this? If you have identified more faulty corner case, please open an issue to document them.


Add GraphQL support

I don't see it anywhere - is this an adaptor in another repo? GraphQL is definitely one piece of the project I am excited to use.

We have some early experiments with integrating data streams into Apollo Client, so if anyone wants to have an in-depth conversation I'm always available!

@coffeemug, regarding subscriptions via GraphQL, you mentioned, "once GraphQL facebook/relay#541 we can add watch semantics pretty easily."
But according to https://github.com/facebook/relay/issues/541#issuecomment-213093469, it doesn't look like Relay is planning to support subscriptions in open source at all. Assuming this is the case, will Horizon still aim to support subscriptions via its GraphQL layer?

Might be worth chatting with the strapi team or having a look, the did some work on a waterline adapter for graphQL that works well.  https://github.com/wistityhq/waterline-graphql Not sure if it helps though.

If GraphGL isn't adding the support for real-time subscriptions. It looks like Falcor is looking at doing so. https://github.com/Netflix/falcor/issues/425

@coffeemug  It's mid June. any updates :) ?

@dortzur We are working on a plugin system that will allow us to do this cleanly, check out #588

Awesome! looking forward to it
On Wed, Jun 15, 2016, 18:58 Josh Kuhn<EMAIL_ADDRESS>wrote:

@dortzur https://github.com/dortzur We are working on a plugin system
that will allow us to do this cleanly, check out #588
https://github.com/rethinkdb/horizon/pull/588
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rethinkdb/horizon/issues/125#issuecomment-226233631,
or mute the thread
https://github.com/notifications/unsubscribe/AAZoI1Um5hzbQHKLtSvfasORk0W0loRbks5qMCE5gaJpZM4HeCEo
.

What's the expected timeframe for GraphQL support or is it to early to say?

@NathHorrigan I don't know a timeline, but the dependency tree goes:

Implement plugin system
Implement GraphQL plugin (making GraphQL possible)
Implement tooling to make it easy create and modify GraphQL mappings

The graphQL plugin is probably not going to be a huge deal, mostly serialization and defining a configuration language to map graphQL queries to reql queries.
Point 3 above requires some explanation. We'd toyed with the idea of mapping queries directly to horizon collections, but this is probably not flexible enough for most people. In addition, there are questions around what indexes to build, and how to do more advanced queries. So the result will likely be heavy on config. Because of that we want to see what patterns emerge and where we can make configuring it less painful. It'll probably end up being part of the webui

Note, Facebook is now experimenting with real-time update support in GraphQL via the @live keyword: https://youtu.be/ViXL0YQnioU?t=15m32s

The Falcor model ( https://netflix.github.io/falcor/ ), the main competitor to GraphQL, is very nice also.  The your data is your API model is appealing on a number of levels.  In several ways, it is easier and cleaner.

Has anyone looked at Apollo from the Meteor guys?  That's fairly compelling too (at least it looks like it will be!) :) Apollo Stack

I think Apollo Client will be a great way to get GraphQL data into your UI when the Horizon server/RethinkDB start supporting it! It will be great if all of these client/server implementations can work together, so you don't have to be bound to just one full-stack solution, but can pick from several compatible options.

One big idea in GraphQL is presenting a single, unified API to the client even though under the hood it might be drawing data from many different sources. Will horizon support that? It almost seems that as application scale you'd want to write your own graphQL server that resolves some queries against RethinkDB and other queries against other data sources (SQL, external API, etc.)

@chrisabrams what's the best way for someone to get started using GraphQL with rethinkdb who needs real time support? Any workarounds until an official solution is available?

@tonyxiao if you want realtime support wouldn't you want websockets?

Possibly yea. Question is how to work with rethink db in this case.

Any information on how a GraphQL server is supposed to broadcast its changes to the client ? AFAIK currently FB has kept this feature private. However, if there is several GraphQL servers / clients which should be cross compatible, there must be a community-driven solution for those push notifications. What is the current status ?

@Xample That is indeed one of the open questions. We haven't settled on anything there yet.

We just shipped an initial version of GraphQL subscriptions, it works with any JavaScript backend for frontend: https://medium.com/apollo-stack/graphql-subscriptions-in-apollo-client-9a2457f015fb#.t92z7dsb3
Here's a work in progress package to wire up to Redis: https://github.com/davidyaha/graphql-redis-subscriptions
It would be cool to have something like that for RethinkDB as well!

@stubailo I just saw it this morning, excellent! Yes definitely a RethinkDB based example supporting subscriptions would be awesome.

you mind want to have a look at https://github.com/mattkrick/cashay  , similar like Apollo but with more features. Yes, it has subscriptions as well.

Hey folks, i thought RethinkDB team mentioned that GraphQL was meant to go into 2.0 version which shipped.
Is there anything in 2.0 that can do graphql?
thanks

No graphql yet, though it is not forgotten. We need to get some
foundational work in first (plugins)
On Tue, Sep 13, 2016, 07:36 Serge Bornow<EMAIL_ADDRESS>wrote:

Hey folks, i thought RethinkDB team mentioned that GraphQL was meant to go
into 2.0 version which shipped.
Is there anything in 2.0 that can do graphql?
thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rethinkdb/horizon/issues/125#issuecomment-246702112,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAFVpvyyJ7Jkz6gHdlmXfPogu_Jm36aks5qprTNgaJpZM4HeCEo
.

What's the status of RethinkDB + Horizon now that the company side sank?
If this isn't going to be added anytime soon, can a contrib remove this:

@corysimmons the former RethinkDB engineers are still settling in at Stripe. @Tryneus just got back from vacation and is still working on the new plugin system for the 3.0 release. It involves a lot of cross-cutting changes, so it's kind of a blocker on most other things. Once we get that release pushed through you can expect more active development and it will be much easier for contributors to get involved and/or develop third-party plugins.

Awesome. I have some cool/secret ideas for this db. :O

Thanks @marshall007  !

👍

Any news?!

@marshall007 @Tryneus what is the status on all of this - seems like its dead which i personally thinks is sad :(

Rethink lives on, but this project seems dead guys...

I personally think horizon can die as long as rethinkdb lives on. What would benefit the whole realtime community was if someone could write an awesome plugin for apollo graphql server that would make graphql subscriptions easy peasy thanks to rethinkdb changefeeds.

@DxCx

What do you guys think of this?
https://github.com/apollographql/graphql-subscriptions/issues/93

Any update?

Isn’t Horizon rather a dead project ??

On Jul 28, 2017, at 12:45 PM, winuxue<EMAIL_ADDRESS>wrote:
Any update?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/rethinkdb/horizon/issues/125#issuecomment-318704182, or mute the thread https://github.com/notifications/unsubscribe-auth/AB8M7c1ovTzHWMIq300ek2jlbqivV1G5ks5sShBBgaJpZM4HeCEo.


feat: added support for ext changelogs (WIP)

WIP: waiting for the transfer of release repository to @equinusocio for changing the url.

Done

Url changed. Ready to merge.


BUG: Extra space at the bottom of AgroBlogs page

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
When I scroll all the way down in the AgroBlogs page there is an unwanted extra space. We need to remove it because it doesn't look good at all.
https://github.com/Suchitra-Sahoo/AgriLearnNetwork/assets/88281761/95e968d9-12d3-44ad-9cf7-92281d3fb3e8
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Hi @Suchitra-Sahoo , - Please add labels and assign this issue to me under GSSOC, Thanks.

But i just checked and everything seems to be fine on my side.


how to integrate this into a more general cv tasks like detection and instance segmentation?

how to integrate this into a more general cv tasks like detection and instance segmentation?

Could you please clarify the question? Now, that I have release the code, maybe your question is resolved?


Fix iD.detect when navigator.languages is empty.

Fix iD.detect when navigator.languages is empty.

Thank you!


Update z version of ruby 2.2 in travis.

rvm 2.1 uses newest version of ruby 2.1 (now 2.1.5),
but rvm 2.2 uses ruby 2.2.0.
So bind to rvm 2.2.3.

It seems Travis's issue or RVM's issue. I won't be bothered by updating teeny versions.

OK, thanks for your review :yellow_heart:


sharing bangs

Currently you can (only) add custom bangs in XDG_CONFIG_HOME/bbang/bangs.edn. But sharing these is a bit cumbersome as the only way is to copy-paste definitions. Downsides are that you need to edit bangs.edn, possibly introducing/solving duplicate keys, unclear where they came from (someone might publish a list with all Ruby related bangs) and the bangs all take priority.
directions
config-folder
Having the option to add XDG_CONFIG_HOME/bbang/ruby.bangs.edn which are loaded before bangs.edn.
This makes it easier to share, it's clearer what they are about and bangs.edn always takes precedence.
Inheritance chain becomes: CONFIG/bangs.edn > CONFIG/*.edn > built-in
folders
bangs.edn in CWD&parent-folders are taking into account when executing bbang.
This allows for having bangs in git that are project specific (think API-docs pointing to specific version).
Inheritance chaing becomes: CWD > parent-folders > CONFIG-folder > CONFIG/*.edn > built-in

Both supported since v0.7.0.


custom keys not fully supported

The key customization from parsing prop is not fully supported
Using custom keys my charts were not loading correctly and tooltip was just showing undefined -> undefined: undefined

not a fix but a temporary solution for the undefined -> undefined: undefined for me was to include
options: {
  plugins: {
    tooltip: {
      callbacks: {
        title(context) {
          context = context[0];
          const labels = context.dataset.labels;
          const item = context.dataset.data[context.dataIndex];
          return labels[item.source] + ' -> ' + labels[item.target];
        },
        label(context) {
          const item = context.dataset.data[context.dataIndex];
          return item.value + ' connections';
        }
      },
    },
  },
}

where I used the following
parsing: {
  from: 'source',
  to: 'target',
  flow: 'value'
},


Flutterbum Roles: No way to save changes

In Role Management (http://www.flutterbum.com/roles), you can make changes to the roles' checkboxes, but there is no "Save Changes" button or other obvious way to save any edits. When refreshing or going to another screen and coming back, you can see that any changes you made do not save.

Fixed.


Add tests for preseed

Fix schema validation in preseed_put to match the behavior of
image_put
Add an all() method to Preseed(), to match Image() behavior

Signed-off-by: Dan Rue<EMAIL_ADDRESS>

LGTM.

Looks good to me too. Merged.


C158220: Removing  tag to avoid issues in localized pages

Localization team has reported source content issue that causes localized version to have broken/different format compared to en-us version.
Description: Extra break lines (<br>) are preventing link rendering on live pages. Kindly consider removing them

Docs Build status updates of commit 7ce55ec:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/install-the-tools.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Hi @thetuvix, can you please approve and merge this PR?
Thanks in advance.

Thanks @jessemcculloch


Warning - local regulation restrictions

Hello,
I am currently having this issue:
When spawning on my Unc0ver jailbroken iPhone 6 the app 抖音 (douyin, the Chinese TikTok), here's what happens:

Is it coming from the app, which is known for its crazy security measures, or from igf ? Thanks

https://github.com/ChiChou/grapefruit/blob/f4e9fd3e4411a04d8a8e90453acb8e9ea270c19a/gui/src/regulation.ts#L3
This is by design, as some Chinese vendors sued people for reverse engineering or dynamic patching on their apps.

Thanks !


Add rule for non-explicit end statements

Closes https://github.com/PlasmaFAIR/fortitude/issues/10. I think I've caught every type of end statement here -- let me know if I've missed one.

There are other block constructs that also can end with just end: if, do, where, associate, block, select case/rank/type
Not sure if they should be covered by this rule or not, as some of them can have block labels (label: do), and some can't have any name at all, so they would certainly need different logic.

Managed to mess up the commit history a little by forgetting to pull the merge conflict before doing a bit more work.
I've made it trigger on the end statement itself instead of the declaration, which results in somewhat cleaner code and it means the errors in the test are generated in a more sensible order. I've renamed it to UnnamedEndStatement to differentiate it from the use of plain end compared to end <something> for unlabelled constructs.
At least with gfortran, using end instead of end if or end do results in an error. We probably should still catch the ones that can be labelled though, as mydo: do i=1,10...end do mydo does work. For now I've left that as a TODO.


DNM, future: use tagged pointer for tracking future_state

Testing doesn't show much difference while the code got much, much uglier. I sent these changes just for the record.

A lot of C++ machinery to get a marked pointer--maybe a lighter approach would lessen the impedence;  wouldn't change the perf result


BZIP2_INCLUDE_DIR variable not used

can we change python-cmake-buildsystem\cmake\extensions\CMakeLists.txt line 332 from
add_python_extension(bz2
    REQUIRES BZIP2_LIBRARIES
    SOURCES bz2module.c
    LIBRARIES ${BZIP2_LIBRARIES}
)

to
add_python_extension(bz2
    REQUIRES BZIP2_LIBRARIES BZIP2_INCLUDE_DIR
    SOURCES bz2module.c
    LIBRARIES ${BZIP2_LIBRARIES}
    INCLUDEDIRS ${BZIP2_INCLUDE_DIR}
)

so that we can specify bzip2 library installation directory?
I've also attached the CMakeLists.txt file
The reason is, I will need to turn on bz2 module in python to use the python in my qt5 compilation.
thanks
-s

Thanks for the patch :+1:
I created PR #104
As soon as the continuous integration report back, I will integrate.
Jc

I added you as author using Simon Su<EMAIL_ADDRESS>Let me know if you would like your real email.

Thanks JC, please use my<EMAIL_ADDRESS>email address.
Thanks
-simon
On Saturday, November 21, 2015, Jean-Christophe Fillion-Robin <
<EMAIL_ADDRESS>wrote:

I added you as author using Simon Su<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','simonmssu@users.noreply.github.com');>>.
Let me know if you would like your real email.
—
Reply to this email directly or view it on GitHub
https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues/103#issuecomment-158594128
.

--
-simon

Great. Patch integrated in 4197e6977

thank you much JC and thank you for making cmake for python.
-simon
On Tue, Nov 24, 2015 at 1:17 PM, Jean-Christophe Fillion-Robin <
<EMAIL_ADDRESS>wrote:

Closed #103
https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues/103
.
—
Reply to this email directly or view it on GitHub
https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues/103#event-473618712
.

--
-simon


Tiny addition: .pubsub() now works for Sentinels

Sentinels publish plenty of status messages, and there was no way to see them using redis-py. Here is a list of those message: http://redis.io/topics/sentinel/#pubsub-messages

:+1:

For my current project I want to subscribe to the sentinel status messages as well. I'm using a workaround currently, but having this would cleanup the code. Thanks!

Really need it!


Optional config parameter for user-agent header, alias for OSMGeocoder

Made the following changes regarding issue #194 :

new optional parameter Geokit::Geocoders::useragent
send user agent header for both net adapters
some small readme changes

Sorry for not providing any tests, but I was having some issues with
rake test

and as I am not familiar with vcr and simplecov, I was not very keen to debug the issue :-)
Additionally I created a new alias OsmGeocoder because of the following error in Multigeocoding with OSM:
E, [2016-10-27T17:37:51.610364 #9174] ERROR -- : Caught an error during Multi geocoding call: uninitialized constant Geokit::Geocoders::OsmGeocoder
E, [2016-10-27T17:37:51.610421 #9174] ERROR -- : /Users/co/projects/geokit/lib/geokit/multi_geocoder.rb:65:in `const_get'
/Users/co/projects/geokit/lib/geokit/multi_geocoder.rb:65:in `geocoder'
/Users/co/projects/geokit/lib/geokit/multi_geocoder.rb:32:in `block in do_geocode'
/Users/co/projects/geokit/lib/geokit/multi_geocoder.rb:31:in `each'
/Users/co/projects/geokit/lib/geokit/multi_geocoder.rb:31:in `do_geocode'
/Users/co/projects/geokit/lib/geokit/geocoders.rb:90:in `geocode'

Coverage decreased (-0.07%) to 95.96% when pulling beb538a20bb75157e775a0b72301b22b126258a0 on chriso0710:master into ddd4130b6cb79faeb504a00a88735936ecda3876 on geokit:master.

I mostly like the Pull Request, I think it just needs a test that verifies if Net::HTTP receives the user agent.
e.g. mock 'Net::HTTP::Get' class
and see if that mock recevies 'new' with the URI and headers containing the agent. And of course a test that if user agent isn't set that it receives empty headers.

Thanks, I will give it a try with webmock next week...

Coverage increased (+0.02%) to 96.04% when pulling 3bd27f3b5a6919b27f9452c933b70d60c27c17b5 on chriso0710:master into ddd4130b6cb79faeb504a00a88735936ecda3876 on geokit:master.

Coverage increased (+0.02%) to 96.04% when pulling 3bd27f3b5a6919b27f9452c933b70d60c27c17b5 on chriso0710:master into ddd4130b6cb79faeb504a00a88735936ecda3876 on geokit:master.

Now here is my shot at webmock for testing the netadapters useragent. Hope it's ok this way. Please feel free to modify it.
I also fixed a bug with missing options param in bing geocoder, when using MultiGeocoder.
Added the :provider_order param in reverse_geocode. Same as in geocode.

Coverage increased (+0.02%) to 96.04% when pulling d34386b214e2d79cf0b498cf113ee5e55ecc9f44 on chriso0710:master into ddd4130b6cb79faeb504a00a88735936ecda3876 on geokit:master.

Coverage increased (+0.02%) to 96.04% when pulling d34386b214e2d79cf0b498cf113ee5e55ecc9f44 on chriso0710:master into ddd4130b6cb79faeb504a00a88735936ecda3876 on geokit:master.

Coverage increased (+0.02%) to 96.04% when pulling d34386b214e2d79cf0b498cf113ee5e55ecc9f44 on chriso0710:master into ddd4130b6cb79faeb504a00a88735936ecda3876 on geokit:master.

@chriso0710 I've fixed tests in https://github.com/geokit/geokit/pull/202 so am closing this. Thanks very much for contributing to the fix.

My pleasure, thanks for merging :-)


Add shuffle for SortPreservingMergeExec physical operator

Which issue does this PR close?

Closes #451.
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

Hi @Dandandan and @andygrove, could you help review this PR?

@yahoNanJing
Do we still need the logic in Ballista ?


Don't send read-only properties over the wire

Upcoming changes to some services will reject API calls that send values
for read-only properties.  Set all read-only properties to nil in the
preparer and omit them from custom marshalling.  Emit a comment
indicating that a field is read-only.

Fixes https://github.com/Azure/autorest/issues/2545

🤖 AutoRest automatic publish job 🤖
success (version: 2.1.129)


Find Replacement for Caldera

Operating System Version: Mac Mojave (10.14.4)
Provider (VirtualBox/VMWare): VMWare
Vagrant Version: 2.2.4
Packer Version: 1.2.5
Are you using stock boxes (downloaded) or were they built from scratch using Packer? Stock
Is the issue reproducible or intermittent? Reproducible

Please verify that you are building from an updated Master branch before filing an issue.
Using master :)
Description of the issue:
Hey @clong! Thanks so much for your hard work into this project. Huge fan of Detection Lab!! I'm running into an issue with Caldera.  Using a fresh clone from "master" and the latest stock boxes, the Logger is failing to come "up" due to Caldera.  I have also tried removing Caldera prior to build by altering the Vagrantfile, but I am still having no luck in bringing the logger "up."  This may be due to MITRE releasing Caldera 2.0 this morning at BSidesCharm?
Thank you so much again!!
Link to Gist Containing Build Logs:
For some reason vagrant is not making logs for me.  Here is the output from terminal:
logger: [+] applied 1 packs
logger: [+] applied 32 queries
logger: [+] applied 1 packs
logger: Added monitor of '/home/vagrant/kolide-quickstart/osquery_result'.
logger: Added monitor of '/home/vagrant/kolide-quickstart/osquery_status'.
logger: Installing Caldera...
logger: Cloning into 'caldera'...
logger: /tmp/vagrant-shell: line 223: cd: /home/vagrant/caldera/caldera: No such file or directory
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

Oh, interesting - that may have done it! I'm going to try rebuilding now and we'll see how it goes.

Yep, I'm able to repro this. Looking into it.

Thanks; and thanks again for your work/time on this! Really appreciate this contribution to the community, especially given you put a lot of your own time into making this project a success. :)

I’ll have a fix/update for this out by EOD

I'm pretty disappointed with Caldera 2.0. Although installation is easier and has less dependencies the interface is pretty awful and unintuitive. The provided "agent" is literally just a powershell script that pipes output to stdout and from my limited experimentation, has pretty limited capabilities and may be more focused for Mac/Linux systems. I think this is actually a pretty significant regression from the old version and I'm thinking it might be better to just remove it from the project entirely and look for a suitable replacement.
Many of the old capabilities (enumerating hosts on the network, running mimikatz, etc) are all missing from the new version and it's way less manageable to install from a scripting standpoint.

I'm going to remove support for Caldera as they don't have releases I can pin to and I don't think version 2.0 is even worth including in the lab. I'll look for alternatives and am definitely open to suggestions (e.g. Atomic Red Team, etc).

+1 ART

@clong Thanks for troubleshooting and remediating this issue so quickly. Especially on a Saturday night!! I just did an update to my master branch and had no problems bringing the logger "up." Sorry you had to remove Caldera. The only other open source project as an alternative to ART that I am aware of is Endgame's RTA (https://www.endgame.com/blog/technical-blog/introducing-endgame-red-team-automation).  However, I have not used it yet. Cheers!

ART has been added in https://github.com/clong/DetectionLab/pull/266
RTA appears to not have been updated in at least 9 months - I don't think it's worth adding.
I'm going to leave this with ART for now, but feel free to add suggestions to this thread.

@clong Thoughts on https://github.com/praetorian-code/purple-team-attack-automation (disclaimer: I'm one of the primary devs)? We're working independently to build our own fork of DetectionLab that integrates that project. And I'd be happy to chat about seeing if it can work for you as a fully integrated part of DetectionLab.

@clong I'm one of the leads for CALDERA -- sorry to hear that the 2.0 release didn't match your expectations and that you'll be removing it. This thread is helpful for us, but we'd definitely appreciate any other feedback you might have; feel free to shoot us an email at<EMAIL_ADDRESS>One thing I'd note is that the v1.0 capabilities are still in 2.0; they're now just part of the "adversary mode" plugin (https://github.com/mitre/adversary). By default CALDERA does not start with adversary mode enabled due to its dependence on Mongo, but so long as Mongo is running you can enable the adversary/classic mode plugin. There's more details on plugin/architecture on the main CALDERA README.

Hey @aapplebaum - thanks for the info!
I hope I didn't come off too harsh, I was just dismayed by the experience of configuring operations in Caldera 2.0 and it's good to know that functionality still exists! Although I understand the extensibility benefits are huge, the tool feels less approachable now. Is the Crater RAT still functional in 2.0? The Powershell agent (although neat that it's only memory resident) isn't really suitable to "install" in an environment and keep active and persistent.
I'm definitely open to feedback if I've overlooked things here!

@clong -- I totally understand, and definitely not too harsh! We pushed this update without a ton of documentation behind it (I have a to-do to write a blog post, though we have a talk here that goes through some of the changes) and I can appreciate the amount of work you'd put into getting CALDERA into your pipeline in the past.
CALDERA now has two disjoint modes, implemented as plugins. Chain mode is the new 2.0 capability -- this is designed to run/orchestrate atomic unit tests, where the operator more explicitly configures CALDERA on what it should do and when, stringing together unit tests stored in YML files. Adversary mode is the classic CALDERA capability, albeit in a new GUI (but with a lot of back-end enhancements).
Regarding agents -- the PowerShell agent is only used by Chain mode; Adversary mode still uses Crater and CAgent. The adversary mode agents are now stored with the adversary mode plugin here so you no longer need to pull them from the crater repo. Adversary mode also streamlines the installation somewhat; it ships by default with a PowerShell script to install CAgent now.
(I'd note you could save Chain mode's PowerShell agent as a script and make it persistent; you'd still have to make explicit adversary profiles for Chain mode for this to be useful for your use case, so adversary mode might be the better fit)
Hope this helps, and happy to answer any additional questions -- we also have a slack I can add you to if you shoot us an email.

Closing this out as Atomic Red Team was added and I don't have plans to add any other automation/testing frameworks at the moment


New Json benchmark

This is a benchmark for an assertion failure in json, with seeds
It seems like the new instrumentation produces stacktraces with hex identifiers rather than names of functions and files, so I'm not sure if its still very useful to have in the readme. I should add that the hex identifiers are always the same for code in the binary, but not for code in /lib/x86_64-linux-gnu/...
On a similar note, it isn't as clear anymore where the stacktrace stops identifying JSON code and starts reporting the libFuzzer overhead of LLVMTestOneInput and etc.

LGTM!


Feature/large file support

Should be complete featuring the latest changes from the B2 documentation. I just open this for review but you are welcome to wait merging this until this can be verified with the B2 API (which currently throws 500 server error failures for part uploads).

Wow - this is quite a merge - I want to wait until the calls can be fully tested though

@synapticloop I fully agree. There is also missing test coverage for the bulk part uploads itself.

I have added some more tests which are now all green against the B2 production API.


Clickaway does not work on iOS

Somehow the clickaway demo works, but the popups won't dismiss on iOS.

Actually, it works on "content zones", but not on the empty bottom margin. It does however work everywhere in the demo fiddle, so maybe something related to CSS?


iOS - scanning magic code fix

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/20675
PROPOSAL: https://github.com/Expensify/App/issues/20675#issuecomment-1594081411
Tests

Run Native IOS App
Logout if already logged in
Continue login with your phone or email
Long press the magic code section, then tap Scan Code
Scan any wrong code
All input fields should be red

[x] Verify that no errors appear in the JS console

Offline tests

N/A
QA Steps

Same as Tests Steps.
Test scan correct code correct.

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

https://github.com/Expensify/App/assets/70934016/3fdf2338-6275-40c0-b76c-ec27bbd7fda0

Mobile Web - Chrome

https://github.com/Expensify/App/assets/70934016/543cbc93-ddc9-4cab-b97f-37b15958e3ba

Mobile Web - Safari

https://github.com/Expensify/App/assets/70934016/5a0a1c21-0970-4c94-b73c-a8ddaee49081

Desktop

https://github.com/Expensify/App/assets/70934016/b18e1c2a-2935-4361-985a-97f569a09dbc

iOS

https://github.com/Expensify/App/assets/70934016/5dac587b-5f77-4deb-87f2-6c59ea416ddc

Android

https://github.com/Expensify/App/assets/70934016/e0faf5de-7baf-4082-82f1-7edd7bc79dac

I have read the CLA Document and I hereby sign the CLA

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/Gonals in version: 1.3.31-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.31-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
cancelled 🔪

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.31-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Fix missing window border when use "win+arrow down" in fullscreen mode in Conhost

Window exits out of fullscreen if it receives SC_RESTORE
Closes #10607

@msftbot make sure @miniksa signs off

Ah, I see. To trigger this, you need to Maximize, then full-screen, then use Win+Down. Clever...

@serd2011, I pushed the merge to main to your branch so that we could get the CI working again :smile:
Thanks for fixing this


Add post order traversal macro

I trialed handwriting a custom traversal algorithm for scalagen.
However we need to handle Term.Block which means we need to handle all Terms.
There's too many cases to handle via pattern matching.
In order to implement full transformations we need to have a post-order transform method in scalameta.

Actually, I have not actually looked. But is transform post-order already?

Is this fixed with leafFirstTranform in https://github.com/scalameta/scalagen/pull/14/files#diff-430d2cf7cf04c40062d98b67c80416eeR8 ?

Yes


Move when the metastore gets initialized, to ensure its initialized before it's needed.

PR Checklist

[ ] A description of the changes is added to the description of this PR.
[ ] If there is a related issue, make sure it is linked to this PR.
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added or modified a feature, documentation in docs is updated

Description of changes
Fixes an initialization ordering problem between creating the metastore id, and the first time it is accessed/needed, described in Issue #694

can we add a test that checks that the server can start with auth enabled? I think our tests like test_tutorial.py etc all run without auth, perhaps something that checks that the server with auth isn't broken would help?

@creechy could you fix the DCO failure. you just need to sign your commit. so just rebase / amend the commits

@tdas could you approve this PR so I can merge it?

@tdas can you approve this PR so I can merge it. Seems like folks on slack might be running into the issue.


rename Globalset to GlobalSet

When installing via composer, I am seeing a deprecation notice:
Deprecation Notice: Class Edalzell\Blade\Directives\Globalset located in ./vendor/edalzell/blade-directives/src/Directives/GlobalSet.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201

This should remove the notice by having the classname and filename cases match.

thanks!


Temporarily disable external plugins

This is being done to limit the amount of external influencers during
the renaming of ibeis to wbia. The plan will be to bring these back
one at a time after the major rename.

Based on our previous discussion, it should be fine to disable these in the short term. Feel free to close if I've misunderstood or you feel this would cause additional issues.

@karenc has most of these covered in various PRs as part of #26. I'll optimistically close this in favor of getting all the rename work in.


Close the Original Mouth Video Feature?

I'm trying to reuse a video of someone talking to make them say something else but when I process the video using Wav2Lip I can still see the original mouth talking between silence / gaps in the new audio
Is it possible to close the original mouth on a video before adding the new lip movements?
Or is there something we could add to the text prompt to close the mouth as a 1st pass?
Thanks and keep up the good work! 👍

Hi,
Yes you can try add increase "Mouth Mask Dilate" and " mask blur" for example "30/60"
let me know

Thanks, i've tried again with 30/60 settings but the mouth can still be seen open and moving when it should be closed between words... i'll keep trying different settings

I'll update slider to 128px in futur update


Handle PR-195 feedbacks

Changes codes based on comments from this PR: https://github.com/GeoscienceAustralia/eo-datasets/pull/195/files. Misunderstand the Github setting, and thought that code can auto change with comment.

Codecov Report

Merging #201 (2000d4f) into eodatasets3 (8363b1e) will not change coverage.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##           eodatasets3     #201   +/-   ##
============================================
  Coverage        88.00%   88.00%
============================================
  Files               26       26
  Lines             3743     3743
============================================
  Hits              3294     3294
  Misses             449      449

Impacted Files
Coverage Δ

eodatasets3/images.py
89.59% <100.00%> (ø)

Continue to review full report at Codecov.

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


[Feature]: As a user, I would like the ability to run a predefined list of tasks using a simple command

Describe the feature you would like
In previous discussions we were calling these workflows, but as that term can be used in many contexts, I'm suggesting that we called them pipelines.
The idea is that a developer can run taq run [pipeline] or taq watch [pipeline] and a list of tasks is executed. The list of tasks can be defined can be nested, and each list can be specified to run in sequence or parallel.
E.g.:
pipelines: {
  "workflow": series([
  'test unit',
  parallel(['compile-ligo', 'compile-smartpy']),
 'test integration',
 'start sandbox local',
 'originate',
 'stop sandbox local'
])
}

To the pipeline defined above, the developer would execute: taq run workflow

NOTE, the syntax above is just a conceptual example and not intended to be the suggested syntax or type definition.

Is this feature solving a problem?
Adding this capability facilities the ability for developers to easily apply their desired workflow when using Taqueria.
Please share any additional details you have?
Here is a list of implementation details:

(NEEDED): End-developers should be able to easily create and modify pipelines
(NEEDED): End-developers should be able to run and list pipelines using the CLI or VS Code extension
(WANTED): The list of tasks can be specified to run in series or parallel.
(WANTED): The list of tasks can contain nested lists. See example in description.
(WANTED): A taq watch command which triggers a pipeline execution when a contract or app changes. Note, to faciliate this, the develoepr shoudl be able to specify watch patterns in their .taq/config.json file.

Here are a list of questions about the implementation details:

Should this be implemented as a state machine? Perhaps we could allow pipelines to be defined declaratively much like an AWS Step Function: https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-state-machine-structure.html
Should the developer be able to define try/catch/finally routines? Note, AWS Step Functions have this ability in their schema
Should the SDK provide an abstractions for plugin authors to expose and provide plugin-defined pipelines?
If a developer wants to create and define a pipeline, should that be in .taq/config.json, _.taq/pipelines.json|js|ts`, or should each pipeline have its own file in the .taq directory?
Should taq init create a default pipeline?
What should the task name be running a pipeline? For suggestions: taq run [pipeline], taq pipe [pipeline], taq exec [pipeline]

Code of Conduct

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

@jevonearth pinging for awareness and input/feedback.


Harness API caller update

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: rohanmaharjan100:x: rohanmrzan100You have signed the CLA already but the status is still pending? Let us recheck it.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66cdf903401f1c384bb7aac0--harness-developer.netlify.app


Complete "Algorithms and Indicies" Chapter

Specifically:

Sorting algorithm implementations
Database normalisation
Partitioning
B* Trees

Removed normalisation, added sorting, added partitioning, B* trees incomplete, see #9


chore: update trivy and otel

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #
Special notes for your reviewer:

Closing this due to #656, we can update otel as a separate pr


Add a Web test agent for flutter/engine with devicePixelRatio > 1

All our Web engine tests currently run with devicePixelRatio == 1.0. However, we have code that uses window.devicePixelRatio. We should have a test agent that runs all engine tests with devicePixelRatio > 1.0 (3.5. is typical for modern phones).

Triage: could you elaborate on this? Is it about adding a newer phone?

No, it could simply be a desktop Chrome configured to test with a higher DPR. Could be a LUCI shard. I just don't know how to use LUCI.


Running uv in an interactive docker container

Thanks for this great crate! I've been working with a recent version and trying to capture my best practices here: https://www.rhosignal.com/posts/uv-in-docker/
I want to highlight some issues with the more recent versions of uv when working in interactive mode in docker. The issues arise because of the way a virtual env is now required. I want to use the following dockerfile approach (as opposed to a curl installation) as it has better caching:
FROM ghcr.io/astral-sh/uv:0.2.12 as uv
# Choose python version here
FROM python:3.10.1-slim-buster
# Create a virtual environment with uv inside the container
RUN --mount=from=uv,source=/uv,target=./uv \
    ./uv venv /opt/venv
# We need to set this environment variable so that uv knows where
# the virtual environment is to install packages
ENV VIRTUAL_ENV=/opt/venv
# Copy the requirements file into the container
COPY requirements.txt .
# Install the packages with uv using --mount=type=cache to cache the downloaded packages
RUN --mount=type=cache,target=/root/.cache/uv \
    --mount=from=uv,source=/uv,target=./uv \
    ./uv pip install  -r requirements.txt

This works fine for building the image. The problem is when I want to develop in interactive mode in the container (which is my whole day basically).

The first issue is that when you run the container you need to activate the virtual env every time (which is manageable but less convenient than before)
The second is that if I want to try out additional package installs while running in interactive mode I have neither uv nor pip available! uv isn't available because it's just a docker build layer and pip is not in the virtual env. The options here are to install pip into the virtual env or to manually install uv from curl when runnng interactively.

Have I missed any other possible solutions for dealing with these issues?
Thanks again

Thanks for sharing!

The first issue is that when you run the container you need to activate the virtual env every time

You could add the virtual environment's bin to the PATH then you shouldn't need to do any activation.
You can also use --system and just skip the virtual environment entirely.

The second is that if I want to try out additional package installs while running in interactive mode I have neither uv nor pip available! uv isn't available because it's just a docker build layer and pip is not in the virtual env. The options here are to install pip into the virtual env or to manually install uv from curl when runnng interactively.

Sounds about right. I'd opt to just keep uv around, but the alternative is to run uv venv with --seed to install pip or install pip manually.

You can also use --system and just skip the virtual environment entirely.

FWIW this is what I'm doing and it works flawlessly.

@zanieb  @hoechenberger
I've done the add-venv-to-path approach: https://www.rhosignal.com/posts/uv-in-docker/
Any feeling for whether there is a preference for this over the --system approach?

@braaannigan In my dev containers I try to keep complexity low, and I feel like setting up a venv adds another layer of complexity. I therefore set the UV_SYSTEM_PYTHON env var and install things globally. No need for a venv in an isolated environment like a dev container. I can share a sample dev container config with you if you're interested!

I think both approaches are totally reasonable. We see a "add venv to path" approach more often when you don't have write access to the system.

I'm adding some documentation based on this discussion #4433

@braaannigan I can share a sample dev container config with you if you're interested!

Could you please share the container configuration? That would be really helpful. Thanks!

@braaannigan In my dev containers I try to keep complexity low, and I feel like setting up a venv adds another layer of complexity. I therefore set the UV_SYSTEM_PYTHON env var and install things globally. No need for a venv in an isolated environment like a dev container. I can share a sample dev container config with you if you're interested!

I'd like to see this as well

Hello, sorry for not getting back to you, this entirely slipped my mind. Can you please ping me again if you don't hear back from me by the end of this week? Best wishes


Bloc define

Hello,
I am teacher in technologie, in France, for pupil from 12 to 15 year's old.
In Semptember, I begin programmation with them because they will have Scratch to the exam.
What I need to begin.
Could you add a block  to define variable as : #define BP (digitalRead(2)).
Of course, if there is digitalRead(2), pin 2 must be an input, and BP become as an integer variable.
So I will need to have 4 blocks
For numeric input.
For analogique input.
For numeric output.
For analogique ouput.
Best regard.

Hmm, I have been discussing ways to have pins as variables. This is not yet in ardublockly.
My version has it but not as define. You put an UNO component to it, add a pin, and assign to the pin 'Digital Input BP'
Then BP can be used to read values. See http://ingegno.be/Manuals/Blockly4Arduino/blockly4Arduino/index_en.html
As you suggest, a preprocessor block for the code digitalRead(2) is bad practice, so not something you should learn children :-)

2020 and I still can not assign names to input/output pins?
A pretty basic request I would have thought?
Is there any movement on this?

@mgreenhough
I have a fork which has blocks for this. Not changed in the default GUI though, but I rolled out another GUI that has those blocks expressed: https://blokkencode.ingegno.be/index_en.html

my fork can do this, see Example--> blink on https://blokkencode.ingegno.be/index_en.html
Actually doing a define would be too advanced in my opinion, there comes a moment one should shift from GUI block tools to actual IDE.
Note that avoiding delay is possible with the effect block, which works a bit like simpletimer library.

Many forks of BlocklyDuino (like Ardublockly is) have this kind of enhancements, mine: https://github.com/technologiescollege/Blockly-at-rduino
Test which one you prefer on Internet.


Swift imports regression

Hi,
I noticed that in version 0.4.0 there was a regression in the swift import fix.
The fix that was added in commit 'a97f7a06b033673c1df1ec7bb0804db91acabf1c'

In react-native 0.30 the <React/*.h> style of importing no longer works.
Can you explain why swift requires that style of import? If you have a chance can you play around with the project and see if you can get it to build? I will happily accept a PR that fixes the issue and maintains 0.30 compatibility.

We'll upgrade our project to RN 0.30 soon and I'll check it

However if this is related to RN 0.30 I think you need to change the dependency version in packages.json

Ok after digging a little deeper:

rn 0.30 no longer supports the #import <React/*.h> import syntax
it may (?) be possible to change the build settings of react-native-branch to bring back support, PR's welcome
in the mean time I released v0.5.0-swift using the swift compatible import npm i --save react-native-branch@swift
unrelated, I rolled back the event emitter update as this was causing issues for people on rn < 0.28

Hope that helps. Let me know if anything else is needed for swift compatibility. I will keep an eye on restoring support to the main release.

@guysegal if you have a chance can you give this a go using the latest react-native-branch on RN 0.30+.

I'll check it soon and post the result. Thanks!

Closing issue until further update.


Where to find PerfectLib.framework

I can not find the PerfectLib.framework. Please somebody explain me how to generate it or where to find it

@LanchaBasualdo hello. README of each example provide description how to build example projects.
Simplest way just clone all Perfect repo go to the examples folder and open Examples.xcworkspace in xcode. If all you need is build for mac os this word straight froward.

We've moved to using SPM for building and so I'm closing this issue.


the same name of cluster.  can't delete.

Describe the bug

To Reproduce
Steps to reproduce the behavior:

create  two the same name of  cluster.
delete cluster
.
Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Additional Details & Logs

Version 1.4.0
Error logs
Configuration
Platform and Operating System

I think the problem is how to avoid creating 2 clusters with the same name, as there is no unique index on the table...
How about you manually soft delete one of the 2 duplicated cluster in the db?

our  development say that  normal operation with 2 times.

Could you please provide the steps to duplicate this issue?
We have a demo environment: http://<IP_ADDRESS>/

I have detected this bug @nobodyiam !
1 .that need want 2 ENV that  point to the same adress.
2. the  name lenght is 32 char.

click

i reproduce this bug.

1 .that need want 2 ENV that point to the same adress.
This is the root cause, each environment should point to a different set of services.


Python version requirement update

CMake's automated detection of Python began pointing to inadequate versions (either 2.x or without numpy installed) on my develop machine, so I've updated the detection to make 3.x and numpy mandatory. I've also improved the main README in response to some recent confusion related to building MOPAC from source.
Status

[x] Ready for merge

Codecov Report

Merging #126 (af7f344) into main (b1a173e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #126   +/-   ##
=======================================
  Coverage   66.46%   66.46%
=======================================
  Files         331      331
  Lines       73723    73723
=======================================
  Hits        49001    49001
  Misses      24722    24722

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