How can one convert a DataFrames into a raster without knowing the resolution and extent?

Could someone please assist in converting the attached data into a raster format, given that the resolution and extent are unknown?

Looks like you want rasterize. Check the docs for usage. At minimum you need to define the resolution manually with the res keyword as its not always easy to guess something sensible. But the extent can be detected from the points.
The easiest way to do it is to combine your Latitude and Longitude columns into the GeoInterface.jl standard "geometry" column, as a tuple - which is recognised as a point.
Something like this should work:
df.geometry = collect(zip(df.Longitude, df.Latitude)))
rasterize(sum, df; res=your_res, crs=your_crs)

Its not so well documented but you could also just do:
rasterize(sum, df; res=your_res, crs=your_crs, geomcolumn=(:Longitude, :Latitude))

You can also specify size instead of res if that's easier. Also, you could use e.g. maximum instead of sum if you expect multiple points in each pixel. If there is never multiple points per pixel it will make no difference.

Hi,
Thank you very much for your reply. However, I don't have the resolution and size of the data in this case. How can I perform the above code without this information?

Maybe you can write an algorithm to guess a resolution from the spacing of the points?
Is it originally coming from a square raster or just a scatter? I have not idea what this data is.

The data comes from a square raster with a 300-meter resolution. This data was generated from the Sentinel-3 Water (Full Resolution) dataset.

The error from your code is attached here as a screenshot.

I am providing a minimal example dataset and accompanying code for your review. This should help in investigating the issue at hand.  Additionally, the dataset (gt_dt.arrow) is available via the provided link .
Here is a snippet of the code with error:
`using ArchGDAL, RasterDataSources, GeoData, HDF5, DataTables, DataFramesMeta, Makie, GeoMakie, GDAL, GDAL_jll, GeoArrays, Arrow, DataFrames, NCDatasets, Statistics, CairoMakie, GeoStats, GeoStatsBase
arrow_table = Arrow.Table("gt_dt.arrow")
reordered_df = DataFrame(arrow_table)
reordered_df.geometry = collect(zip(reordered_df.lon, reordered_df.lat))
dt_ras = Rasters.rasterize(sum, reordered_df; res=0.1000005, crs=EPSG(4326))
ERROR: UndefKeywordError: keyword argumentto` not assigned
Stacktrace:
[1] top-level scope
@ none:1

First, I'm wondering if you have an old version of Rasters.jl? thats not the error I get.
What is actually missing is the fill keyword! - we need to specify using the :value column in your dataframe as our fill value. So:
using Rasters, Arrow, ArchGDAL, DataFrames
arrow_table = Arrow.Table("/home/raf/Downloads/gt_dt.arrow")
reordered_df = DataFrame(arrow_table)
reordered_df.geometry = collect(zip(reordered_df.lon, reordered_df.lat))
dt_ras = Rasters.rasterize(sum, reordered_df; res=0.1000005, crs=EPSG(4326), fill=:value)

You can plot with Makie to verify:
using GLMakie
p = plot(dt_ras)

And make sure that sum is the aggregation that you actually want before using this. Any reducing function will work.

Could you please update this for the newer version of Rasters? I am unable to access or install the older version of Rasters. Does this line dt_ras = Rasters.rasterize(sum, reordered_df; res=0.1000005, crs=EPSG(4326), fill=:value) generate a 255-band raster stack data?

This worked for me both in<EMAIL_ADDRESS>and on Rasters#main
What is the output of ] status Rasters for you?

On an older version Rasters did not automatically generate the axes using res or size, you had to pass them in using to.

I think it's an issue with the package update, isn't it?

I think I am still getting the same error after the update.

Did you restart?

After restarting, I still encountered the same error.

Did you activate the environment again?

Thank you! Now it is working following your suggestion, but it generates a single-band raster. It should be a raster stack with 255 bands, and each band name should be a date. In this context, could you please tell me how to generate the raster stack data using my given data?

You will need to manually group your data using DataFrames.jl by date, and rasterize each group and make a vector of all of them. I can't teach you how to do this.
Then, concatenate all the rasters together on a Band dimension like cat(rasters_vec...; dims=Band) should work. Then you can write(filename, concat_rasters) to a geotiff.

Thank you very much. Your suggestion is working for the RasterStack data.

You cant just try random commands ;)
When you make the Band dimension in cat you can do ...; dims=Band(your_names_vector))

Thank you very much for your reply. How can I set the names of the bands in a stacked .tif file?

new_g = set(g, Band => your_band_names)

Thank you very much!

DataFrame(rasterstack) ;)

The code provided above only generates values for rows*columns. My question is whether the DataFrame will create columns for x, y, band names, and values, akin to the terra package's as.data.frame(s, xy=TRUE) function in R?

Yes, that exactly what it outputs?

Again you must have ancient versions if something to get that result. Please check you are using new packages

Your suggestion is working. Thanks for this discussion. I hope this will be helpful for many people, including myself and those who love Julia's performance in comparison to R and Python.


Feature/device manager

Couldn't seem to assign this to Nick ... but here it is!

Current coverage is 87.71% (diff: 85.51%)

Merging #35 into master will decrease coverage by 0.26%

@@             master        #35   diff @@
==========================================
  Files            59         68     +9
  Lines          1781       2385   +604
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1567       2092   +525
- Misses          183        245    +62
- Partials         31         48    +17

Powered by Codecov. Last update 779f8a1...a53e9b1


Loos 4.0.3

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Updating to loos 4.0.3

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin please rerender

@conda-forge-admin please rerender


404 when loading .woff files when dynamically loaded using SystemJS

Hi,
I am dynamically loading the ngx-datatable from a separately hosted angular website. The javascript downloads correctly, and the css is applied. However when trying to download the .woff file, the HTTP request is to the url of the index.html, not to the URL of where the ngx-datatable is hosted. That particular application is webpack'd with a --deploy-url.

I modified release/assets/icons.css and assets/icons.css locally such that each font file is referenced on it's own line beginning with src, this gets me around this issue:
src:url("fonts/data-table.eot?#iefix") format("embedded-opentype");
src:url("fonts/data-table.woff") format("woff");
src:url("fonts/data-table.ttf") format("truetype");
src:url("fonts/data-table.svg#data-table") format("svg");
This is current github version that was causing my project experience 404 errors when these files are referenced.
src: url('fonts/data-table.eot?#iefix') format('embedded-opentype'), url('fonts/data-table.woff') format('woff'),
url('fonts/data-table.ttf') format('truetype'), url('fonts/data-table.svg#data-table') format('svg');

Same here when compiling the Angular project in production mode. While locally the "woff" is found, in production I get a 404 error only for this file, in comparison to the "ttf" files which are referenced from icons.scss as well and are in the same path.

Also been experiencing this - @Hypercubed, any advice?

So for me, it looks like the woff extension & it's mimetype weren't included in my server configuration, which propagated and threw errors in my service worker on Angular
Seems like a small 'gotcha' since all the other mimetypes are supported by default with IIS


add more file based tests

assert_file_owner to test if a user is owner of a file
assert_file_permission to test permissions set on a file
assert_not_zero if a file is greater 0 byte
assert_file_set_group_id if set-group-ID is set
assert_file_set_user_id if set-user-ID is set
assert_sticky_bit if sticky bit is set on file

#16


python

Issue Type: Bug
Basic problem - syntax coloring does not work when I put a return signature on a method
Create a python file
create a class
place the following text into the file
def lp3944_reg_read(self, reg: int) ->int:
    return self.bus.read_byte_data(self.address, reg)

def lp3944_reg_write(self, reg: int, value: int) ->int:
    return self.bus.write_byte_data(self.address, reg, value)

The syntax coloring will not work. If I remove the return signature from the methods such as
def lp3944_reg_read(self, reg: int):
    return self.bus.read_byte_data(self.address, reg)

def lp3944_reg_write(self, reg: int, value: int):
    return self.bus.write_byte_data(self.address, reg, value)

the syntax highlighting works (def and return are blue in color)
Extension version: 0.2.3
VS Code version: Code 1.67.0 (57fd6d0195bb9b9d1b49f6da5db789060795de47, 2022-05-04T12:06:02.889Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No
Remote OS version: Linux arm64 5.15.32-v8+

System Info

Item
Value

CPUs
Intel(R) Core(TM) i3-6320 CPU @ 3.90GHz (4 x 3912)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.89GB (10.16GB free)

Process Argv
--crash-reporter-id e49935b1-e723-47d0-963f-fcfd0b0f441a

Screen Reader
no

VM
0%

Item
Value

Remote
SSH: <IP_ADDRESS>

OS
Linux arm64 5.15.32-v8+

CPUs
unknown (4 x 1400)

Memory (System)
0.89GB (0.04GB free)

VM
0%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
pythonvsnew555:30457759
vscscmwlcmt:30465135
cppdebugcf:30475217

Try changing your theme. I am not facing this issue.

I found if I place the comment
#):
before the line where the syntax coloring fails, the syntax coloring works.
I don't know what 'themes' are. I have not configured anything with respect to Visual Studio Code. Everything is in its default state. I am new to the product and new to python. All I have done so far is to write a few *.py files and run a set of LEDs by controlling an I2C Lp3944 on the raspberry PI. But I am running Visual Code on Windows.

@brianreinhold does this still happens for you or is the issue gone with the changes that were done to the default templates (a style that applies to the complete vcode software, including syntax highlighting) since you've created this issue?

@GitMensch I have not done any Python coding since last spring and I don't recall if updates in VSCode or the extensions solved the problem or I just got used to it and ignored it. In any case, I dug out that old project and placed the above lines into a class and the problem is no longer present. So I assume at some time one of the many updates in the environment solved the problem!

Thank you for the update - please close the issue as "unplanned/cannot resolve" then.

Closing at it is no longer reproducible.

Simon,
I think I did it - not how I intended but it ended up as closed.
Brian

From: Simon Sobisch @.>
Sent: Thursday, December 28, 2023 5:14 AM
To: tht13/Python-vscode @.>
Cc: Brian Reinhold @.>; Mention @.>
Subject: Re: [tht13/Python-vscode] python (Issue #89)
Thank you for the update - please close the issue as "unplanned/cannot reproduce" then.
—
Reply to this email directly, view it on GitHubhttps://github.com/tht13/Python-vscode/issues/89#issuecomment-1871023641, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJMDO64R67MXK2ZF55MOVJTYLVA7NAVCNFSM5VHUUEU2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBXGEYDEMZWGQYQ.
You are receiving this because you were mentioned.Message ID: @.***>


Inactive user AP Org Feb 2023

Background
Run the inactive users script on the AP Org to actually remove the inactive users that were informed over a week ago to log into GitHub
Proposed user journey
Add new dormant file to repo, run script with false option to see get a new list of inactive users, compare the list against the last run, add users on leave / asked to be in the allow list to the allow list file, re-run the script to remove the inactive users.

Ran the script on 07/02/2023, removed ~200 users, about 20 users have asked to be added back in to GH AP Org. Have added there usernames to the allow list. The users state they have logged into GH. And GH believes they are still inactive. Unsure of the reason. The allow list will prevent removing those users. Changed the script to lower case the username in more places as the string comparison wasn't executing as expected and some users were removed by mistake.

Inactive Users AP GH Org doc file

Ticket still open for a while longer whilst users email back to get added back to the AP GH Org

Used this ticket to show Connor and Sam the inactive user process


Transient Pool

/**
 * @brief ReusablePool of memory::buffers that are used as reusable reference-counted monotonic memory resources
 *
 * TransientPool is a ReusablePool of memory::buffers from which smaller buffers are allocated similar to a monotonic
 * memory resource, i.e. pointer pusing stack; however the TransientBuffer or Transient<T> object pulled from the pool
 * hold a SharedReusable<memory::buffer> which keeps the entire monotonic stack from returning to the ReusablePool
 * until all transient objects created on a given stack are deallocated.
 *
 * Allocation of Transient object should be incredibly fast; even faster than the Reusable/SharedResuable on which they
 * are based, since a single Reusable<memory::buffer> might back 10s-1000s of allocations depending on size.
 *
 * It is critical that all Transient object allocated from a pool have similar life cycles
 */

This was already approved as #107 but was closed by the CI bot.

@gpucibot merge

@gpucibot merge


Support for Spark 3.3

Hi, when I try to use the connector with Spark 3.3 my Spark jobs crash with the following stack trace:
Caused by: java.lang.NoSuchMethodError: 'scala.Function0 org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.createConnectionFactory(org.apache.spark.sql.execution.datasources.jdbc.JDBCOptions)'
	at com.microsoft.sqlserver.jdbc.spark.DefaultSource.createRelation(DefaultSource.scala:56)
	at org.apache.spark.sql.execution.datasources.SaveIntoDataSourceCommand.run(SaveIntoDataSourceCommand.scala:45)
	at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult$lzycompute(commands.scala:75)
	at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult(commands.scala:73)
	at org.apache.spark.sql.execution.command.ExecutedCommandExec.executeCollect(commands.scala:84)
	at org.apache.spark.sql.execution.QueryExecution$$anonfun$eagerlyExecuteCommands$1.$anonfun$applyOrElse$1(QueryExecution.scala:98)
	at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withNewExecutionId$6(SQLExecution.scala:109)
	at org.apache.spark.sql.execution.SQLExecution$.withSQLConfPropagated(SQLExecution.scala:169)
	at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withNewExecutionId$1(SQLExecution.scala:95)
	at org.apache.spark.sql.SparkSession.withActive(SparkSession.scala:779)
	at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:64)
	at org.apache.spark.sql.execution.QueryExecution$$anonfun$eagerlyExecuteCommands$1.applyOrElse(QueryExecution.scala:98)
	at org.apache.spark.sql.execution.QueryExecution$$anonfun$eagerlyExecuteCommands$1.applyOrElse(QueryExecution.scala:94)
	at org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$transformDownWithPruning$1(TreeNode.scala:584)
	at org.apache.spark.sql.catalyst.trees.CurrentOrigin$.withOrigin(TreeNode.scala:176)
	at org.apache.spark.sql.catalyst.trees.TreeNode.transformDownWithPruning(TreeNode.scala:584)
	at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.org$apache$spark$sql$catalyst$plans$logical$AnalysisHelper$$super$transformDownWithPruning(LogicalPlan.scala:30)
	at org.apache.spark.sql.catalyst.plans.logical.AnalysisHelper.transformDownWithPruning(AnalysisHelper.scala:267)
	at org.apache.spark.sql.catalyst.plans.logical.AnalysisHelper.transformDownWithPruning$(AnalysisHelper.scala:263)
	at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.transformDownWithPruning(LogicalPlan.scala:30)
	at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.transformDownWithPruning(LogicalPlan.scala:30)
	at org.apache.spark.sql.catalyst.trees.TreeNode.transformDown(TreeNode.scala:560)
	at org.apache.spark.sql.execution.QueryExecution.eagerlyExecuteCommands(QueryExecution.scala:94)
	at org.apache.spark.sql.execution.QueryExecution.commandExecuted$lzycompute(QueryExecution.scala:81)
	at org.apache.spark.sql.execution.QueryExecution.commandExecuted(QueryExecution.scala:79)
	at org.apache.spark.sql.execution.QueryExecution.assertCommandExecuted(QueryExecution.scala:116)
	at org.apache.spark.sql.DataFrameWriter.runCommand(DataFrameWriter.scala:860)
	at org.apache.spark.sql.DataFrameWriter.saveToV1Source(DataFrameWriter.scala:390)
	at org.apache.spark.sql.DataFrameWriter.saveInternal(DataFrameWriter.scala:363)
	at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:247)
        ...

I know that there's no official support for Spark 3.2 (see also #164), but so far it has worked for me anyways. However, after upgrading to 3.3, the exception above appears.
I am using Databricks and want to upgrade to Databricks runtime version 11.0, which uses Spark 3.3 now. However, this connector is the only dependency that still prevents us from upgrading.

Azure Synapse supports spark 3.2 runtime, but connectors are not ready.
So embarrassed.

Not sure who are the maintainers here, but I created a PR #197 that should fix this issue

If anyone is interested: we at Solytic created a fork of the repository because it seems like Microsoft is not very active here and we really needed Spark 3.3 support. If you want you can check out the release over here: https://github.com/solytic/sql-spark-connector/releases/tag/v1.4.0

If anyone is interested: we at Solytic created a fork of the repository because it seems like Microsoft is not very active here and we really needed Spark 3.3 support. If you want you can check out the release over here: https://github.com/solytic/sql-spark-connector/releases/tag/v1.4.0

thank you @moredatapls

@luxu1-ms any thoughts on timeline for Spark 3.3 compatible version? Thanks!

We also ran into the same issue with Databricks runtime 11.3, which runs on spark 3.3.0.
Error message:
"java.lang.NoSuchMethodError: org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.createConnectionFactory(Lorg/apache/spark/sql/execution/datasources/jdbc/JDBCOptions;)Lscala/Function0;"

Please prioritize this if possible. It is blocking many people from moving Databricks to 11.3 lts runtime.  Thanks

Yes, this is being addressed. @luxu1-ms

Any updates on this issue ? We are also facing the same issue and blocking our upgrade from 7.3  to 11.3 runtime on Databricks.

I was also facing the same issue.
Tried this code to write a table to sql server db it worked for me.
df=df.write
.format("jdbc")
.option("url", url[env.lower()])
.option("dbtable", f"{tableName}")
.option("accessToken", access_token)
.option("encrypt", "true")
.option("hostNameInCertificate", "*.database.windows.net")
.option("truncate","true")
.mode("overwrite")
.save()
return df

I was also facing the same issue. library for sql connector- com.microsoft.azure:spark-mssql-connector_2.12:1.2.0 Databricks runtime version- 11.3 LTS (includes Apache Spark 3.3.0, Scala 2.12) Tried this code to write a table to sql server db it worked for me. df=df.write .format("jdbc") .option("url", url[env.lower()]) .option("dbtable", f"{tableName}") .option("accessToken", access_token) .option("encrypt", "true") .option("hostNameInCertificate", "*.database.windows.net") .option("truncate","true") .mode("overwrite") .save() return df
Let me know if it solved your issue

You're not using the spark sql connector but native JDBC..
Try this:
.format("com.microsoft.sqlserver.jdbc.spark")
.mode(mode)
.option("truncate", True)
.option("url", url)
.option("dbtable", dbTable)
.option("user", user)
.option("password", password)
.option("driver","com.microsoft.sqlserver.jdbc.SQLServerDriver")
.option("batchsize", batchSize)
.option("schemaCheckEnabled",False)
.save()

I tried your solution @sl2bigdata but it gave me the same error

Hi,
I was getting same Error
Thanks @amrutalonkar123 , tried your solution it works
**I am able to BulkInsert 1million+ rows under 30 secs
###THIS Works
df_sum.write
.format("jdbc")
.option("url", db_sql_url)
.option("dbtable", db_table_name)
.option("databaseName", jdbcDatabase)
.option("accessToken", token)
.option("encrypt", "true")
.option("hostNameInCertificate", "*.database.windows.net")
.mode("append")
.save()
###THIS DOES-NOT-Work
df_sum.write
.format("com.microsoft.sqlserver.jdbc.spark")
.option("url", db_sql_url)
.option("dbtable", db_table_name)
.option("databaseName", jdbcDatabase)
.option("accessToken", token)
.option("encrypt", "true")
.option("hostNameInCertificate", "*.database.windows.net")
.mode("append")
.save()
Anyone finds a different solution, please tag me
Thanks

@Git-BT-Hub
It is very unlikely that the JDBC is using an actual bulk insert operation via TDS wire protocol.
... What is more likely is that you are using a large batchsize (spark option) of 1000 rows by default to send data to SQL in a batched fashion.  On the receiving side the inserts themselves are probably still happening one at a time.
You can use xevents to see what is happening.  I use azure data studio with the so-called "sql profiler" extension.


fix: git repo running

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[ ] Y

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[ ] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

-4 of 4 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 36.449%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/options/run.go
0
4
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
117

Relevant Lines:
321

💛  - Coveralls


ZeroCode-224   Step externalisation

Fixed some minor stuffs.
- null step name -Fixed
- Exception supressed - Fixed
- New tests added for e2e
- Unit tests added for step file


[HELP]: No dist/program/helloworld.so file in build a hello world smart contract project

Project: learn how to set up solana by building a hello world smart contract
Lesson Number: 29
Question: It says to run solana progam deploy dist/program/helloworld.so but there isn't even a dist directory anywhere.
Code and Screenshots

Hello there,
Did you get any errors in the previous lesson?


[move-unit-test] Create an option to print writeset of execution

Motivation
Add an option to emit the writeset of each transaction towards the end of testing. This would allow us to compare the output against a golden file for upstream testing.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
cargo test and updated the new baseline files.

One question here is do we want to pipe the writeset output to a separate stream or use the current stream for the golden file? We also might want to cherry pick this PR to aptos branch so that we can generate the golden files in the aptos repo. cc @wrwg


Email and texting?

Thanks for creating an issue! Please fill out this form so we can be sure to have all the information we need, and to minimize back and forth.

What are we trying to do?
(colin to fill in)

What feature or behavior is this required for?

How could we solve this issue? (Not knowing is okay!)

Anything else?

next steps:
colin to actually write things down
colin to put @emtot22 in touch with funds that have asked for this


BUG report: planner task set --ownedGroupName returns wrong data

Description
Most planner commands use the --ownedGroupName option to return values based on Group DisplayName.
If you have multiple groups with the same displayName, the command will take the first group it finds and return the plans or not. This might be misleading compared to other commands where we return an error message if multiple matches have been found.
Check related issue #3053
Expected results
The CLI should return the error message that there are multiple Groups with the same displayname and that the user should choose from one of these by id.
Actual results
Takes the first group it finds and returns the results

I think this issue is now covered by #3267 .

Thank you. This is true. We can close this issue


terraform setup

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

Did you mean to remove providers.tf?


Use 24 hour time with english language is not available

If the app language is set to auto or English the time is always displayed in am/pm. Because my language (German) is not available yet, I would like to keep using the app in English but with 24 hour time. I believe this was possible in the past, but I can't remember with version of the app has changed that.

@badener95 great idea will add the option

@badener95 BTW if you translate that file values to German and share it with me I can easily add support for it
https://github.com/Akylas/oss-weather/blob/master/app/i18n/en.json

Thanks for the quick implementation! I will translate the strings as soon as I find some time to do it.

@badener95 I forgot to tells you. Normally you don't need to use the 24 hour format option in the app. By default the app use the value of the system 24 hour format option. Have you that turned on?

My device is set to 24 hour format, but that did not work for me. Only when the app language was manually switched to Spanish or French the time was shown in 24 hour format, but then I can't understand the forecast.
My device is a Google Pixel 4a with android 13.

@badener95 OK that s a bug then ! Will try to fix that


Fix IRC msg replies

When the bot receives a msg directed at the bot, like
/msg hubot hubot: help
It replies to hubot instead of the message sender. This commit fixes that.

I was trying to figure out how to fix this very thing. Thanks for doing this.

This patch seems to add several things other than fixing the message replies - can you split this into several pull requests (you can do this with some rebase -i trickery)

Updated to remove join/part convenience functions and setting for irc color stripping.

Can you verify that this isn't already fixed in 1.1.2 ?


Loading external StyledString package removes markdown highlighting

This is when having this package as the active project and loading it.

Do we have a root cause for this yet?

I don't, but I have noticed that with StyledStrings as the active project you can see this in a Julia REPL session:
help?> thing
# Observe working syntax highlighting

julia> using StyledStrings

help?> thing
# Syntax highlighting breaks

julia> using Markdown

help?> thing
# Syntax highlighting works again

Checking Base.loaded_modules_order it seems like two versions of StyledStrings, JuliaSyntaxHighlighting, and Markdown are loaded by doing this:
julia> Base.loaded_modules_order
22-element Vector{Module}:
 Core
 Base
 Main
 FileWatching
 Libdl
 Artifacts
 SHA
 Sockets
 LinearAlgebra
 OpenBLAS_jll
 libblastrampoline_jll
 Random
 Base64
 StyledStrings
 JuliaSyntaxHighlighting
 Markdown
 InteractiveUtils
 Unicode
 REPL
 StyledStrings
 JuliaSyntaxHighlighting
 Markdown

julia> length(unique(Base.loaded_modules_order))
22

If I had to guess, StyledStrings has some code that is embedding Face types: https://github.com/JuliaLang/StyledStrings.jl/blob/da41b6a8ea4d4e355159e9c791111c445cc6805c/src/styledmarkup.jl#L725
but then getface here is effectively doing a isa Face check: https://github.com/JuliaLang/StyledStrings.jl/blob/da41b6a8ea4d4e355159e9c791111c445cc6805c/src/io.jl#L237
which runs into the exact issue I accidentally created with TOML recently (https://github.com/JuliaLang/Pkg.jl/issues/4017#issuecomment-2377589989)
Basically require_stdlib means that multiple StyledStrings can exist, which means that the _ansi_writer code has to support the Face type for all of the loaded StyledStrings.

I think I found the issue - The second copy of StyledStrings contains a default "FACES" dictionary (w/o the Markdown faces) and then overrides Base.write(::IO, ::Base.AnnotatedString) so that any old AnnotatedStrings floating about start seeing the "FACES" only from the second loaded copy of StyledStrings. In particular, the AnnotatedString's created by Markdown are suddenly missing their Face definitions.
Mis-behavior like this is really easy to get with require_stdlib + type-piracy, so I've started to document the rules of the game in https://github.com/JuliaLang/julia/pull/56005
The part that matters is:

A stdlib must not access any global state that may differ between stdlib copies in type-pirated methods

Given that guideline, I think we only have a few options here:

Eliminate the type piracy: Make AnnotatedString a different type for each of the StyledStrings copies (move it out of Base)
Avoid FACES duplication: StyledStrings needs to move into the sysimage, or require_stdlib needs to be banned
Include a unique, type-based identifier for Annotations so that StyledStrings can resolve FACES in a non-type-pirated method
Maintain a reference to the relevant FACES dict in the AnnotatedString

The basic problem is that a type-pirated method must be simultaneously correct for all copies of a stdlib.


fix: add onResolve plugin to enforce dependencies come from BAZEL_BIN

Previously with preserveSymlinks set esbuild was unable to find transitive dependencies within the layout of node_modules that pnpm gives. This worked fine when using it under rules_nodejs, as that allowed us not to escape the sandbox and the layout was flat.
This allows us to avoid the user needing to hoist pretty much every runtime dependency, which could be a lot.
We can't just turn off preserveSymlinks though, otherwise esbuild will resolve dependencies elsewhere in our workspace, such as back to our source tree.
Building the following would now result in the error. Here we are intentionally commenting out react-dom
ts_project(
    name = "src",
    srcs = [
        "App.tsx",
        "index.tsx",
    ],
    declaration = True,
    supports_workers = False,
    transpiler = partial.make(
        swc_transpiler,
        swcrc = "//:swcrc",
    ),
    tsconfig = "//:tsconfig",
    deps = [
        "//:node_modules/react",
        #        "//:node_modules/react-dom",
    ],
)

esbuild(
    name = "bundle",
    srcs = [
        ":src",
    ],
    entry_point = "index.js",
)

$ bazel build //src:bundle --override_repository=aspect_rules_esbuild=/Users/matt/workspace/rules_esbuild
INFO: Analyzed target //src:bundle (77 packages loaded, 486 targets configured).
INFO: Found 1 target...
ERROR: /Users/matt/workspace/bazel-examples/ts_web_app/src/BUILD.bazel:27:8: Bundling Javascript src/index.js [esbuild] failed: (Exit 1): launcher.sh failed: error executing command bazel-out/darwin_arm64-opt-exec-2B5CBBC6/bin/external/esbuild_darwin-arm64/launcher.sh '--esbuild_args=src/bundle.args.json' '--metafile=src/bundle_metadata.json'

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
✘ [ERROR] [plugin Bazel Sandbox Guard] Failed to resolve import 'react-dom'. Ensure that it is a dependency of an upstream target

    ../../../../../../../../execroot/__main__/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/client.js:3:16:
      3 │ var m = require('react-dom');
        ╵                 ~~~~~~~~~~~

We could improve the error message, but that gets tricky when the import doesn't cleanly relate to a package name, eg removing react results in an import that's gone via a mapping in the package.json file (I guess?)
$ bazel build //src:bundle --override_repository=aspect_rules_esbuild=/Users/matt/workspace/rules_esbuild
INFO: Analyzed target //src:bundle (79 packages loaded, 494 targets configured).
INFO: Found 1 target...
ERROR: /Users/matt/workspace/bazel-examples/ts_web_app/src/BUILD.bazel:27:8: Bundling Javascript src/index.js [esbuild] failed: (Exit 1): launcher.sh failed: error executing command bazel-out/darwin_arm64-opt-exec-2B5CBBC6/bin/external/esbuild_darwin-arm64/launcher.sh '--esbuild_args=src/bundle.args.json' '--metafile=src/bundle_metadata.json'

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
✘ [ERROR] [plugin Bazel Sandbox Guard] Failed to resolve import './cjs/react.development.js'. Ensure that it is a dependency of an upstream target

    ../../../../../../../../execroot/__main__/node_modules/.pnpm/react@18.2.0/node_modules/react/index.js:6:27:
      6 │   module.exports = require('./cjs/react.development.js');
        ╵                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

We can't just turn off preserveSymlinks though, otherwise esbuild will resolve dependencies elsewhere in our workspace, such as back to our source tree.

Isn't this what Greg's symlink guards is meant to prevent? It should make these resolutions hermetic.

Yes, but esbuild is Go, so Greg's work has no affect here. I'd imagine the same happens under swc

If we used swc for bundling it would likely have the same issue

@mattem, could we resolve the conflict and merge this one? @jbedard  and I are working on the angular-ngc demo which need this one and the metafile PR you created, thank you.

@mattem: it seems like your onResolve plugin is going to error if a link leads out of the bazel-bin directory, but that ESBuild will still be free to pick up files in bazel-bin that are not in the sandbox (are not inputs to the action), which seems problematic. Do I understand that right? If so, this seems like a good initial step to unblock people, but not the final destination.
Another problem with preserveSymlinks = false for our needs in Bazel is that ESBuild leaves comments in the output that contain resolved file paths. With preserveSymlinks = false these can refer to paths like .../home/matt/.cache/bazel_matt/.../.../... which, across different users and checkouts, will generate downstream cache misses on actions that depend on the outputs.
It seems to me that one definitive solution to all these problems is to write a hook that will resolve the symlinks but only within the confines of sandbox dir. I guess this is tantamount to recreating the sandbox symlink guard logic.

This will become simpler once the "unresolved" symlinks features stabilizes in Bazel: https://github.com/bazelbuild/bazel/issues/10298.
The end result will be symlinks in the sandbox and in runfiles will be relative to the sandbox and the runfiles so the symlink guards can be simplified to following the symlink chain as long as it stays within the sandbox.

Until someone can jump back on this PR, we will convert it to draft.

@mattem: it seems like your onResolve plugin is going to error if a link leads out of the bazel-bin directory, but that ESBuild will still be free to pick up files in bazel-bin that are not in the sandbox (are not inputs to the action), which seems problematic. Do I understand that right? If so, this seems like a good initial step to unblock people, but not the final destination.

I believe you're referring to the following code in the PR:
const bazelSandboxAwareOnResolvePlugin = {
  name: 'Bazel Sandbox Guard',
  setup(build) {
    const BAZEL_BINDIR = process.env.BAZEL_BINDIR

    build.onResolve({ filter: /.*/ }, args => {
      if (args.resolveDir.indexOf(BAZEL_BINDIR) === -1) {
        return {
          errors: [
            {
              text: `Failed to resolve import '${args.path}'. Ensure that it is a dependency of an upstream target`,
              location: null,
            }
          ]
        }
      }
    })
  }
}

What's the right way to do the check?
The esbuild rule could emit a file that lists of all the files in the sandbox, presumably, and the symlink guard can use that instead to check if a symlink destination is allowed.
    input_sources = depset(
        copy_files_to_bin_actions(ctx, [
            file
            for file in ctx.files.srcs + filter_files(entry_points)
            if not (file.path.endswith(".d.ts") or file.path.endswith(".tsbuildinfo"))
        ]) + other_inputs + node_toolinfo.tool_files + esbuild_toolinfo.tool_files,
        transitive = [js_lib_helpers.gather_files_from_js_providers(
            targets = ctx.attr.srcs + ctx.attr.deps,
            include_transitive_sources = True,
            include_declarations = False,
            include_npm_linked_packages = True,
        )],
    )

I think https://github.com/aspect-build/rules_esbuild/pull/112 supersedes this PR, and @gregmagolan seems to be looking at that one.


Request: Hold right click and drag to get a perfect line

Current behavior: Drawing a line requires clicking a fairly small hitbox. Long lines require fairly careful aim to avoid accidentally leaving gaps or placing redstone lines going sideways.
Proposed behavior: Holding right click and dragging the pen across multiple blocks would draw a perfect line connecting them.

Hi, I need to think about it and maybe experiment a bit. I only get click/use events from the API, but no mousedown/mouseup, except when explicitly hooking into the client side. Most of the people asked so far were also happy with the placement method of the mod. I definitely take the point to consider this. Cheers,-

Okay, so all things in sight considered, it's technically not easy to maintain, and the far most uses for the pen I have seen so far are situations where you want to control exactly the wiring directions in tight space. I think I gonna skip this one. Nonetheless, thanks for the input Deviant. Cheers,-


Fix shelljs vulnerability in ShellScriptV2 task

Task name: ShellScriptV2
Description: Fix shelljs vulnerability in ShellScriptV2 task
Documentation changes required: N
Added unit tests: (Y/N) N
Attached related issue: https://github.com/microsoft/build-task-team/issues/3071
Checklist:

[ ] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

/azp run

@mmrazik, could you please take a look at this PR.


Support TAO in-app staking

Documents: https://docs.bittensor.com/delegation
Explorer: https://x.taostats.io/#delegation
Delegates list: https://raw.githubusercontent.com/opentensor/bittensor-delegates/main/public/delegates.json

[ ] Recheck to update middleware service

Version test : http://<IP_ADDRESS>:8900/s/5zxHDpHBNT4XN4J

[ ] Don't show list validator

Version test : http://<IP_ADDRESS>:8900/s/CBmyaL5XCgx8AmD

[ ] Don't show nominator infor
Actual :

Expect : Show nominator infor

[ ] Re-check time reward

[ ] UI
Actual : Show Amount stake

Expect : Don't show Amount stake

[ ] Don't update infor when perform unstake
Actual :

Expect : Update infor when unstake

https://docs.taostats.io/docs/calculator

Version test: http://<IP_ADDRESS>:8900/s/pBgswd2q74MyYKJ

[ ] Still do not update Testnet tag
[ ] Check balance in case of multiple stake/multiple validators/change of validators

Actual: Show incorrect stake balance (Check with account 5FCRFMiDpQNfExcnYYK9rfMjhebSn4YS9we7EGZnm4iXvMdM)
Expect: Show correct stake balance

Version test: http://<IP_ADDRESS>:8900/s/ariHzB2QGijk7GK

[ ] Do not show earning options in case Bittensor network is turn off
To reproduce this behavior

Install extension
Created/Imported account successful
Go to the Earning options screen
Search TAO then observe the screen displayed

Actual: Do not show Bittensor (Mainnet + Testnet) earning options
Expect: Always show earning options

Version test : http://<IP_ADDRESS>:8900/s/GJsFiT4wkw2MtFH

[ ] Update number of validators can choose
Actual

Expect : Only choose 1 validator


chore: optimize batches with less than two items

Minimal fix that returns the single command instead of wrapping it in a Batch

Awesome: this is very acute.


Add visa sponsorship page

Explains the new visa sponsorship question(s) and the two design iterations

 ✍🏻 Write design history entry for visa sponsorship


[Bug] SQL函数round函数进位bug

Search before asking

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

Version
1.2.4
What's Wrong?
客户断-->dbeaver 22.1.4
SQL函数round(x,d)函数，小数位遇5不进位，遇6才进位，如下所示：
select round(38482.465,2) --> 38482.46;
What You Expected?
修正bug
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

还有就是能否保持 round(1.20000,6)  现在输出是1.2  而不是像Mysql 一样输出 1.20000

1.x的中有这个问题，看了下载新的版本不存在这个bug。2.x

一样有的啊：select round(1.25,1); 输出是1.2，还是按照银行家算法来的

already fix in master
select round(38482.465,2) --> 38482.46
--------------

+---------------------+
| round(38482.465, 2) |
+---------------------+
|            38482.47 |
+---------------------+
1 row in set (0.02 sec)

@ctracerpp If you upgrade your cluster from 1.2 to 2.x, then you should set enable_decimal_conversion = true, then the result will be right. I have test both master and 2.x. It's the same.

最新2.01是正确的了


Added a Few channels

added - Tyler Potts - Focus is JS and CSS Tutorials
added - Kirupa Chinnathambi - Focus is web development.
added - Coding Addict - Focus is JS
added - GeekLaunch - Focus is JS and CSS Tutorials
added - Codecourse (PHP Academy) - Focus is PHP (Laravel) and JS
added - Chris Courses - Focus is JS Mostly Canvas
added - Steve Griffith - Focus is JS and CSS Tutorials
added - Meth Meth Method - Focus is JS
added - howCode - Multiple language tutorials
added - Thomas Bradley - Focus is JS, CSS and Web development Tutorials
added - Classsed - Focus is JS (GraphQL, React, Vue etc)

Awesome thanks for adding more channels @nanoaquila


Removed atomicFu plugin

Added iosSimulator
Removed kmmBridge and pod creation
Please see our contributing guidelines (contributing.md) primarily make sure to sign our cla as we cannot accept code externally without a signed cla
https://opensource.dropbox.com/cla/

Thanks for opening @aclassen! What is the reason for removing KMM Bridge? Our CI uses KMM Bridge to generate a Swift package on release

i close this as my commits are signed with wrong email


Improve behavior of Widget.clear_widgets()

Maintainer merge checklist

[ ] Title is descriptive/clear for inclusion in release notes.
[ ] Applied a Component: xxx label.
[ ] Applied the api-deprecation or api-break label.
[ ] Applied the release-highlight label to be highlighted in release notes.
[ ] Added to the milestone version it was merged into.
[ ] Unittests are included in PR.
[ ] Properly documented, including versionadded, versionchanged as needed.

As noted in Discord discussion, this change does alter the API behavior, though not in a way that should break existing users.

Good catch about the possibility of someone passing in children.
Could you add unittests? You don't have to, but it would be nice if you added tests.

Good catch about the possibility of someone passing in children.

The case was being handled before, but not as well; if a list other than children was passed in, it would still be duplicated for no gain, and sequences other than lists (like iterators and sets) were being needlessly excluded.

Could you add unittests? You don't have to, but it would be nice if you added tests.

Done.


io.grpc.ManagedChannel#notifyWhenStateChanged not implemention yet on jetcd0.0.1 ?

io.grpc.ManagedChannel#notifyWhenStateChanged not implemention yet on jetcd0.0.1 , but I fount was implemention on master branch, When release next version ?

working on releasing 0.02 this week. ref: https://github.com/coreos/jetcd/issues/283

@zonghaishang where is it used ?

Thanks for your reply, I handled it myself .


setup docker

If you are on Mac, I strongly recommend you install this https://orbstack.dev/ because docker for mac is extremely slow, after setup you can simply run docker-compose up dev this is already coupled with mongodb.

Please help me understand how to go about this. Do we need to manually edit the .env file ?

HI @OlivierJM,
I've checked it out it's able to spin up containers.
I just have issues creating an account.

Please help me understand how to go about this. Do we need to manually edit the .env file ?

Yea you have to remove the MongoDB uri from the .env
I am trying to find a way to automate data seeding so that there will be some data when you setup the first time, maybe you can help out with that.

This is a good idea. Is it okay if we make this less of a priority seeing the amount of issues we have to complete before deadline ?


[Port] Update chokidar to 3.5.2

Pull Request Test Coverage Report for Build 943700285

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 43.381%

Totals

Change from base Build 926430054:
0.002%

Covered Lines:
26593

Relevant Lines:
55708

💛  - Coveralls


[Question] When can we expect transcription handling in this SDK?

Hi there,
I noticed the new feature to transcribe audio using Deepgram and other suppliers in conjunction with workers on the server and I would like to use it with Flutter as a client.
Unfortunately, I can't see any implementation of the transcription handling in this SDK.
Are you currently implementing this? When can we expect a release with it?
PS: I could try to implement it myself, but I don't have any experience with protobuf.

We are working on this. it should be here in a couple of weeks

We are working on this. it should be here in a couple of weeks

Hello! Do you mean support insertable streams?


Add typespecs

Fix some docs from Readme
add specs across the entire app.

Relies on

#11 from NetworkInterface
#11 from SystemRegistry
for maximum typed-ness.

❤ ❤ ❤ ❤

Small change in #36


slimcc: main.c:671: file_exists: Assertion `!errno' failed.

https://github.com/fuhsnn/slimcc/commit/7b7c98604ab3eb85e68d7b3ae7f884d5537638c8 the assert added here triggers.
Input file:
#include <assert.h>

Another option:
#include ""

I tracked this down.
It looks like localtime() set errno if the compiled executable is executed with docker RUN, but not with CMD.
Minimal repro:
localtime_errno.c
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <errno.h>

int main(void) {
  time_t now = time(NULL);
  if (errno)
    fprintf(stderr, "time() set errno to %d", errno), exit(1);

  struct tm *tmp = localtime(&now);
  if (!tmp)
    fprintf(stderr, "localtime() return null"), exit(1);
  if (errno)
    fprintf(stderr, "localtime() set errno to %d", errno), exit(1);
}

dockerfile
...
WORKDIR /work/localtime_errno_test
COPY localtime_errno.c /work/localtime_errno_test/
RUN gcc localtime_errno.c -o out

CMD ./out #good
#RUN ./out #bad

Tried a few more dockerhub images
localtime() set ENOENT: alpine:latest, ubuntu:20.04
localtime() doesn't set ENOENT fedora:40 debian:latest gcc:latest
Anyway, I removed the assert and main should be good now.


Added an anonymous message sender

Please merge this version.
It is not tested.
modified:   oscar/apps/checkout/views.py
modified:   oscar/apps/customer/utils.py
modified:   oscar/apps/order/abstract_models.py
Thank you,
Pavel

Ignoring this one as it has lots of changes that shouldn't be there.


Closing Anchor KYC window on success.

Related: #tasks/396
Changes required to receive an event from the anchor site once the user completes the KYC flow successfully.

I know it was a research ticket yet the solution itself seemed to be easier than documenting the why. Since I tested it, I intended to merge it once others confirmed also on other browsers.
I'm glad that it worked on Safari also! I would test perhaps one more (Brave?) and then I would merge.

Nice, let's also have one or two more people test (maybe @prayagd as other people will be out tomorrow due to a public holiday).

@ebma Regarding the sudden close, I agree. We can use the toast for simplicity. It didn't feel so unexpected to me, but I'm probably biased since of course I am expect the thing to close 😆.

Toast added. Looks like this and the animation is displayed on time IMO.

@pendulum-chain/devs if i understand correctly there is no implementation ticket needed for this now right?

Not anymore.

right it works, also tested on staging


Combining NectarJS with React Native

Hi,
How feasible do you think that it would be to modify NectarJS to integrate it with React Native? If JS could be compiled to binary while making use of React to interact with the DOM one of the bottlenecks of React Native could be addressed.
Thanks!

It's feasible, with more work and a bigger community working on NectarJS


Create static.md

Adding static.app

Hi @andrianvaleanu,
Thank you for submitting static.app. Feel free to submit any other relevant products to Statichunt. Thank you for your contribution.


How to getSmiles() in js with version 2.4.1?

Hi,
I am trying to export current structure as a SMILES string in js with version 2.4.1.
I was using successfully the following code in with version 2.3.0 (standalone version) for that purpose:
ketcher.getSmilesAsync(true).then(function(xyz) {console.log(xyz);}
With version 2.4.1 (standalone), I have the following error:
'Uncaught TypeError: ketcher.getSmilesAsync is not a function'
Can you let me know how to proceed with version 2.4.1 ?
Thanks

Dear @dboeglin ,
in scope of release 2.4 API of Ketcher has been reworked, to get SMILES you  need to use the following code:
ketcher.getSmiles().then((res) => console.log(res))
Regards,
Andrei


Readme love

Whenever you increment version numbers (especially major version numbers) the readme should keep up. It's awkward to have "npm package | 3.0.1" and "Ionic 2" on the same page.
Some suggestions:

Make README.md version agnostic (change the "Building Apps with Ionic 2" text)
Ensure all links refer to version agnostic materials
Make documentation part of the release (instead of just a blog post - although in some cases a blog post might be all that is needed, this might be one of those cases)

Suggested Code (for the third sentence/paragraph in the readme)
See [these slides](http://adamdbradley.github.io/building-with-ionic2) for a quick
overview, or watch our [Crash Course](https://youtu.be/O2WiI9QrS5s) video for a
quick walkthrough on how to get started using Ionic.

Thanks for reading. Keep making great things 😄

Fixed with this commit https://github.com/driftyco/ionic/commit/902f5f7c1fdf6b6b5b5552d0b611b9ef4ab07ffd . Thanks for opening an issue with us! Its #justionicnow 😄

Great :)


[Feature request] @mention support?

In a group it is so convenient to message the bot using @botname
I was looking at the message API and trying to see how @mentions work
but looking at output from  console.log(inspect(m)) . I don't see any special data that refers to the mentioned users.
Their names are included in the text of the message. If you change your name, then the mention will use the updated name (not the wechat ID)
So I guess the only way is to use message and match against the Room.memberList()
It just seems surprising this is left encoded in the message text and not as a userId in the data somewhere...
I guess that the memberList requires room.ready() and maybe not available all the time?
So we could provide this as an async API helper on the message object?

Thanks for the great feature suggestion!
I agree that if we have a room-mention / mention event for the room when we got mentioned will be very convenience.
How about we design it like this:
// Global Event
Wechaty.instance()
.on('room-mention', (room, message) => {
  // here we got message mentioned us
})

// or Room Event

Room.find({ name: 'test' })
.then(room => {
  room.on('mention', message => {
    // here we got message mentioned us
  })
})

It may fix as it can on #362

I'll close this issue because we have message.mentioned() now.


Added "sunset" and "neon" themes to the app.

Added new themes;
Sunset

orange-crimson color theme for work along with a darker background for break timer

Neon

vibrant color scheme for work and muted colors for break timers

Files changed;

All changes are limited to "../common/theme.ts "file

@devd00 thanks for the PR! The themes look really good!
Please do remove the comments. If you would like to request any changes you can either make an issue or make a separate pull request addressing those changes


Vagrant configuration for CI deployment

While researching vagrant it seems that we can give a development environment which will have Node, NPM, Jenkins with all necessary plugins configured.
TODO:
Install Virtualbox and Vagrant.
Create and check in the vagrant file.
Update documentation for automatic setup of CI environment.

Created virtual environment using Ubuntu 14 LTS. Installed Virtualbox and Vagrant. Pulled down image running Jenkins, Docker, and Apache.
box file created and pushed here as version 0.0.1: https://atlas.hashicorp.com/jerry-locke/boxes/HealthHero_Jenkins_Master

Next steps: import plugins and jobs into Jenkins. Then repackage and upload as a new version.

Completed versions 0.0.1 through 0.0.3 for the initial configuration.
Jenkins updated with correct plugins and updated. Builds configured and initial testing started.
Created version 0.1.0 and released it. Next we need to add the vagrant file to GitHub and update the documentation.

Version 1.1.0 released. Included internal NAT updates so that we can browse the net from inside the VM. Updated box and Vagrantfile. Created runHealthHero.sh for running health-hero.


New package: GerryChain v0.1.0

Registering package: GerryChain
Repository: https://github.com/mggg/GerryChainJulia
Created by: @bsuwal
Version: v0.1.0
Commit: a2041493baf02e7bd34980cd09c52c0d88923f4d
Reviewed by: @bsuwal
Reference: https://github.com/mggg/GerryChainJulia/commit/a2041493baf02e7bd34980cd09c52c0d88923f4d#commitcomment-41806173

@JuliaRegistrator register branch=main

@JuliaRegistrator register branch=main

[noblock] hi, this package was submitted to the registry 5 days ago but still hasn't been merged (the README says it should have been automatically merged in 3 days). The tests seem to be passing. Am I missing something?

[noblock] hi, this package was submitted to the registry 5 days ago but still hasn't been merged (the README says it should have been automatically merged in 3 days). The tests seem to be passing. Am I missing something?

Am I missing something?

You have commented a bunch of times without the [noblock], so those comments have blocked the automerger.


What is the difference with "data_connection_checker" plugin ?

Hi,
this packages seems similar to the one below, right ?
https://pub.dev/packages/data_connection_checker

It is, the data_connection_checker package maintainer isn't active for a while because of which internet_connection_checker is published with sound null safety

OK, I think I should thank you then...
I been building my app to be internet sensitive...I provided a cubit on above MaterialApp like it should be.
BUT I WAS USING data_connection_checker plugin !!!!
And I tried to use BlocListener to listen on status change from connection.....nothing !!    WEIRD !!!
No error log to use for debug....very strange, a total NOTHING.
I spent quite a time....I tried to use your plugin.....AND BIM....
For some reason, it worked !  And I tried back to use the old plugin, it did not work again....
So thanks for this plugin....you saved my day !!
WARNING :
SO PEOPLE HERE,
DO  NOT USE data_connection_checker ANYMORE
USE  internet_connection_checker

Thank you for your kind words 😃


[Turk][Bug Report] "Build a small house here" raised exception

Type of Issue
Select the type of issue:

[x] Bug report (to report a bug)
[ ] Feature request (to request an additional feature)
[ ] Tracker (I am just using this as a tracker)
[ ] Refactor request
[ ] Documentation Ask

Description
2021-04-02 13:50:10,726 [nsp_dialogue_manager.py:332 - get_logical_form() INFO]: Querying the semantic parsing model
INFO:root:Incoming chats: ['<dashboard> build a small house here']
2021-04-02 13:50:10,754 [loco_mc_agent.py:264 - controller_step() INFO]: Incoming chats: ['<dashboard> build a small house here']
INFO:root:Querying the semantic parsing model
2021-04-02 13:50:11,672 [nsp_dialogue_manager.py:332 - get_logical_form() INFO]: Querying the semantic parsing model
INFO:root:logical form post-coref "e60c5907188d8879b0a85ce9c553d7cda5add5562ba69f1152322e7765edeba5:4b578741c2894811b20e7f18e0c2043a" -> {'dialogue_type': 'HUMAN_GIVE_COMMAND', 'action_sequence': [{'action_type': 'BUILD', 'location': {'contains_coreference': 'resolved', 'text_span': 'here', 'reference_object': {'special_reference': 'SPEAKER'}}, 'schematic': {'filters': {'triples': [{'pred_text': 'has_name', 'obj_text': 'house'}, {'pred_text': 'has_size', 'obj_text': 'small'}]}, 'text_span': 'small house'}}]}
2021-04-02 13:50:30,506 [nsp_dialogue_manager.py:171 - handle_logical_form() INFO]: logical form post-coref "e60c5907188d8879b0a85ce9c553d7cda5add5562ba69f1152322e7765edeba5:4b578741c2894811b20e7f18e0c2043a" -> {'dialogue_type': 'HUMAN_GIVE_COMMAND', 'action_sequence': [{'action_type': 'BUILD', 'location': {'contains_coreference': 'resolved', 'text_span': 'here', 'reference_object': {'special_reference': 'SPEAKER'}}, 'schematic': {'filters': {'triples': [{'pred_text': 'has_name', 'obj_text': 'house'}, {'pred_text': 'has_size', 'obj_text': 'small'}]}, 'text_span': 'small house'}}]}
INFO:root:update_recent_entities [<base_agent.memory_nodes.PlayerNode object at 0x7ff074ca1a90>]
2021-04-02 13:50:30,509 [sql_memory.py:208 - update_recent_entities() INFO]: update_recent_entities [<base_agent.memory_nodes.PlayerNode object at 0x7ff074ca1a90>]
INFO:root:Adding 1 Build tasks to stack
2021-04-02 13:50:30,644 [mc_interpreter.py:258 - handle_build() INFO]: Adding 1 Build tasks to stack
ERROR:root:failed to place block [175   4] @ [ 2 64  7], but place_block returned True.                                 Got [0 0] instead.
2021-04-02 13:51:01,483 [tasks.py:475 - step() ERROR]: failed to place block [175   4] @ [ 2 64  7], but place_block returned True.                                 Got [0 0] instead.
ERROR:root:failed to place block [175   4] @ [ 4 64  7], but place_block returned True.                                 Got [0 0] instead.
2021-04-02 13:51:01,634 [tasks.py:475 - step() ERROR]: failed to place block [175   4] @ [ 4 64  7], but place_block returned True.                                 Got [0 0] instead.
ERROR:root:failed to place block [175   4] @ [ 1 64  7], but place_block returned True.                                 Got [0 0] instead.
2021-04-02 13:51:02,443 [tasks.py:475 - step() ERROR]: failed to place block [175   4] @ [ 1 64  7], but place_block returned True.                                 Got [0 0] instead.
ERROR:root:failed to place block [175   4] @ [ 1 64  6], but place_block returned True.                                 Got [0 0] instead.

...

2021-04-02 13:55:40,169 [craftassist_agent.py:267 - send_chat() INFO]: Sending chat: I finished building this
ERROR:root:Default handler caught exception, db_log_idx=148802
Traceback (most recent call last):
  File "/droidlet/craftassist/agent/../../base_agent/core.py", line 18, in start
    self.step()
  File "/droidlet/craftassist/agent/../../base_agent/loco_mc_agent.py", line 221, in step
    super().step()
  File "/droidlet/craftassist/agent/../../base_agent/core.py", line 23, in step
    self.perceive()
  File "/droidlet/craftassist/agent/craftassist_agent.py", line 196, in perceive
    v.perceive(force=force)
  File "/droidlet/craftassist/agent/heuristic_perception.py", line 573, in perceive
    type_name = BLOCK_DATA["bid_to_name"][idm]
KeyError: (50, 1)
2021-04-02 13:55:44,600 [loco_mc_agent.py:197 - handle_exception() ERROR]: Default handler caught exception, db_log_idx=148802
Traceback (most recent call last):
  File "/droidlet/craftassist/agent/../../base_agent/core.py", line 18, in start
    self.step()
  File "/droidlet/craftassist/agent/../../base_agent/loco_mc_agent.py", line 221, in step
    super().step()
  File "/droidlet/craftassist/agent/../../base_agent/core.py", line 23, in step
    self.perceive()
  File "/droidlet/craftassist/agent/craftassist_agent.py", line 196, in perceive
    v.perceive(force=force)
  File "/droidlet/craftassist/agent/heuristic_perception.py", line 573, in perceive
    type_name = BLOCK_DATA["bid_to_name"][idm]
KeyError: (50, 1)

Current Behavior
Not being able to place a block because something is in the way - is this supposed to happen? I thought the bot would destroy whatever's in the way

the error is that block (50, 1) was perceived, but it is not an actual block, at least in our lists of ids.    (50, 0) is a torch.   The previous error (which was caught) occurs when the agent tries to place a block, the placement appears to be successful, but the block in the placed location doesn't match what the agent placed.  I am going to ignore this, and then put a try catch in the heuristic perception to ignore blocks that are not in our list of ids


Working on streamlining process of creating a new workflow

Allows for a new workflow to be created easily using existing tools.
Example:
w = cwlgen.Workflow()
tool = cwlgen.parse_cwl("test/import_cwl.cwl")

f = cwlgen.File("input_file")

o1 = w.add('step-a', tool, {"INPUT1" : f})
o2 = w.add('step-b', tool, {"INPUT1" : o1['OUTPUT1']})
o2['OUTPUT1'].store()
w.export("test.cwl")

Produces the file
#!/usr/bin/env cwl-runner

class: Workflow
cwlVersion: v1.0
inputs:
  INPUT1: {id: INPUT1, type: File}
outputs:
  step-b_OUTPUT1: {id: step-b_OUTPUT1, outputSource: step-b/OUTPUT1, type: File}
steps:
  step-a:
    id: step-a
    in: {INPUT1: INPUT1}
    out: [OUTPUT1]
    run: test/import_cwl.cwl
  step-b:
    id: step-b
    in: {INPUT1: step-a/OUTPUT1}
    out: [OUTPUT1]
    run: test/import_cwl.cwl

Hi Kyle,
Thank you for the PR!
However, tests are falling with Python3 because basestring seems to be Python2 specific.
I would suggest to use six:
from six import string_types
isinstance(s, string_types)

Thanks!


Wrong command specified

It's Remove-AzRoleAssignment - not Delete-AzRoleAssingment

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

ID: cad7cd03-a502-9eb0-26da-233d10b2a418
Version Independent ID: 84b2cbcb-1f11-9a6d-23fd-5c8d76453fa8
Content: Use Azure service principals with Azure PowerShell
Content Source: docs-conceptual/azps-1.7.0/create-azure-service-principal-azureps.md
GitHub Login: @sptramer
Microsoft Alias: sttramer

Will be fixed at the next site publish.


javax.annotation-api vulnerabilities in latest dropwizard version

The dropwizard-core current released version(1.3.12) is using javax.annotation-api-1.3.1.jar, which is having vulnerabilities CVE-2015-2808, CVE-2013-2566.
Is there any plan to handle these vulnerabilities in the latest release of dropwizard? Please suggest.
Please refer the highlighted text in the attached screenshot.

Please update your scanner: https://github.com/jeremylong/DependencyCheck/issues/1629

As @reneploetz mentioned, this is a false positive.


libassimp.so.5 not found error

Attempting to install, not a previous rust user. Installed rust, and then tried:
cargo install urdf-viz
and when trying to run
urdf-viz
I get
urdf-viz: error while loading shared libraries: libassimp.so.5: cannot open shared object file: No such file or directory
though I have ros installed, I tried installing the pre-req packages and recompiling, and no change. Tried to use the more bare-bones install, and couldn't get that to work just by following readme.
$ cargo build --no-default-features
error: could not find `Cargo.toml` in `/home/nichols` or any parent directory

urdf-viz: error while loading shared libraries: libassimp.so.5: cannot open shared object file: No such file or directory

Could you tell us your OS and its version? It will help us a lot.

$ cargo build --no-default-features
error: could not find Cargo.toml in /home/nichols or any parent directory

It seems that you didn't run the command in urdf-viz/ directory.
How about trying below?
cd urdf-viz/
cargo install --no-default-features --path .

$ cargo build --no-default-features

This is a mistake in the current readme (#174). Could you try cargo install urdf-viz --no-default-features?

That works, thank you!


add locking support in keybase1/metadata.avdl

The commits 541469963a9f...f4e01ac3f0af introduce visual changes on linux. :mag_right: 2 changed

Changed: Profile-Your_Profile_Broken (before) (after)

Changed: Markdown-emoji (before) (after)

The commits c55b720024fc...2276e3fea9db introduce visual changes on linux. :mag_right: 1 changed

Changed: Markdown-emoji (before) (after)

@strib could you take another look and see if it's good to merge? Pending CI of course.

CI failed on a flak from kbfs-server/master. Merging!


biome: 1.3.3 -> 1.4.0

Diff: https://github.com/biomejs/biome/compare/cli/v1.3.3...cli/v1.4.0
Changelog: https://github.com/biomejs/biome/blob/cli/v1.4.0/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Priorities
Add a :+1: reaction to pull requests you find important.

@ofborg build biome


add watch option

Reason/Context
We need native way for watching AsyncAPI resource and reiterate given command on it. So basically asyncapi validate -w works in a way that whenever users introduce change in a file, validation runs on it again without invoking it.
sure user can now just install watcher like brew install watch and do watch asyncapi validate, but this should be considered as a temporary workaround that is not a good UX.
Description
When working on this functionality we need to look on current functionality on Generator CLI and its current issues, to fix them here in the CLI -> https://github.com/asyncapi/generator/issues/537#issuecomment-922145016

We need native way for watching AsyncAPI resource...

Do you mean Native as the NodeJS Runtime or based on operating system?

If NodeJS Runtime, an oclif hook is required to watch over the file and run the command using nodejs built in module fs. here

Would like to take up this issue :)

A question @derberg
Do we need watch option as a global flag, or specific to validate ?

best would be if it is global but that you need to enable it for given command 😄
so validate, diff, should have it, but new, start not really. So would be awesome to have it generic in a sense that when we add new generate command, we easily enable watch for it

we already do some watching here https://github.com/asyncapi/cli/blob/058114c50acf9bcf292547cfd884e2895cff7c90/src/models/Studio.ts#L17.
so it is a matter of making a global function that can be reused by a command that needs it

That means the flow goes like this 👇

Create a global function for watch using chokidar
Conditional check --watch flag
If conditional check is true run the global function.

Correct me, if somewhere missing any point

@derberg please review, #220
Relax and watch specification files @derberg 🍻

@derberg The watcher PR is ready to review: #220
I got a bit in stuck moment when writing test for --watch flag using Mocha, @fmvilas because

Mocha is unable to close the stream once the test is completed, (as watch mode works in stream), hence npm run test runs for indefinite period of time.

Need some solutions on how do we approach it? Mocking Streams or any other way ?

tbh I'm not sure, I would first try to check if chokidar community figured it out already, maybe something is already in their issues, or you can check others that use chokidar and how they solved testing. I would go first this direction to see how others tacked it

@derberg, we can close this issue, as #220 is merged :)

@imabp well done 👏🏼


DataPersonCard: Calculate user differently

This also has the advantage that no headline is shown, if the user could not be found.
Needs content: https://edit.scrivito.com/d0a154d76edf2a7bd991fc658e700a1d~https://workaround-datapersoncardwid.scrivito-portal-app.pages.dev/en/my-tynacoon?_scrivito_workspace_id=p5e372f59a9bb0d4&_scrivito_display_mode=view

REVIEW (1178cfe)


Move formulas to separate repository for management

The current architecture embeds all the formulas inside the gem and is causing the repo to mix both changes to "code" vs "formula". We should move out all the formulas to a separate repo (similar to a homebrew formula repo). This way the fontist gem doesn't need to change when there are new formulas (which it could pull dynamically)

Completed now.


Support alternate fzy implementations that may deliver multiple matches

Can use alternative binaries to fzy.
Supports binaries that can deliver multiple matches, e.g. some fuzzy finders have a keybinding to select all matches instead of a single match.

These PRs: https://github.com/jhawthorn/fzy/pull/40 and https://github.com/jhawthorn/fzy/pull/32 also add support for multiple matches to fzy, this patch offers future support for them.

Cool. Unfortunately since I merged the previous PR for piping directly, this one now has conflicts. If you fix them I'll merge it.

Cool I'll rebase and fix after #27 gets merged.

@cloudhead Since #27 is hanging around and you reverted the aforementioned PR maybe I can rebase this and get it merged?

My goal is to use this plugin with fzu so I can get configurable keybindings and multiple file selection.

Yeah sure thing. What is fzu?

I forked fzy to add configurable keybindings and multiple file selection support. The fzy maintainer hasn't replied to a PR in months but he does occasional add some small work so it seems he's not interested in accepting contributions.

Thanks!


Add program state validation logic into mentee application functions

Purpose

The purpose of this PR is to fix #288
Goals

Validating program state before applying or updating the application as a mentee.
Approach

Screenshots

Checklist

[x] This PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.
[x] I have read and understood the development best practices guidelines ( http://bit.ly/sef-best-practices )
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation

Related PRs

Test environment

Learning

Good job @YaiyaSam
Could you please check the build? It is failing due to some tests. We'll have to update the tests related to these 2 methods. Also, update the method comments.

Yeah sure. Will do.


Adding code snippet for top x comments from a post

Example code for top x comments from a post
Issue :https://github.com/instaloader/instaloader/issues/457

Like you described at issue #457, the provided code snippet uses the same logic as "Top X Posts of User". From this already documented snippet one can easily derive a working example that matches this use case with "top x comments". Hence we consider it redundant to include this snippet.


MMDU

Adding my University i.e. Maharishi Markandeshwar (Deemed to be University) email domain. .mmumullana.org

@singhbipinb First stage of verification passed, official domain is mmumullana.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@singhbipinb Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Add Sonic Blaster x Queencard by F-777, (G)I-DLE

Song Name
Sonic Blaster x Queencard
Artist Name
F-777, (G)I-DLE
Source
Youtube
Youtube Link
https://youtu.be/N-KXaV2ONVY?si=FfW0moIPyBGbQzST
Direct File Link
No response
Song ID
574484
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 107626146

Song Name
Sonic Blaster x Queencard
Artist Name
F-777, (G)I-DLE
Source
Youtube
Youtube Link
https://youtu.be/SIn5wFj6GoM?si=kVYyS8wIm35cvij8
Direct File Link
No response
Song ID
574484
Start Offset [ms]
0
Extra
Created from Auto Nong. Created for level: 107626146


Added bats-core install via git instead of pkg manager

addresses https://github.com/IBM/fhe-toolkit-linux/issues/132


Unable to remove shapes

Unable to remove shapes from a ShapeCrawler Presentation
        var pres = new ShapeCrawler.Presentation();

        var shapes = pres.Slides[0].Shapes;

        shapes.AddRectangle(x: 50, y: 60, width: 100, height: 70);

        shapes.Remove(shapes.Last());

Error will be thrown on the last line.
Taking a peek into the SC codebase, I see the remove method in question seems to always throw an exception
public void Remove(IShape shape)
{
    if (this.shapes.Any(x => x != shape))
    {
        throw new SCException("Shape is not found.");
    }

    if (shape is IRemoveable removeable)
    {
        removeable.Remove();
    }

    throw new SCException("Shape is not cannot be removed.");
}

I would have expected the method to be more like this:
public void Remove(IShape shape)
{
    if (!this.shapes.Contains(shape))
    {
        throw new SCException("Shape is not found.");
    }

    if (shape is IRemoveable removeable)
    {
        removeable.Remove();
    }
    else
    {
        throw new SCException("Shape cannot be removed.");
    }
}

@pnoffke64, thank you for the bug report. I was able to reproduce this issue.
The problem is that the shape collection is immutable, meaning that the collection items are always recreated each time the collection is accessed. Therefore, two instances of IShape representing the same underlying shape are considered different.
As a solution, I suggest removing the Remove() method from the collection level and moving it to IShape. This way, each shape can remove itself.


Fix to be compatible with django 2.x

Django 2.0 Release Note: https://docs.djangoproject.com/en/2.0/releases/2.0/

especially: Features removed in 2.0

django.core.urlresolvers model move to django.urls
on_delete argument for ForeignKey and OneToOneField is required

Thanks for the PR, appreciate it ! 😋


Added necessary files

Description
Helps to detect any moving objects in the frame which further hepls us to understand if any object is moving out of the frame or not.
Installed Pandas module
Installed cv2 module
Imported time module
imported Datetime module
Fixes #1547
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)

Checklist:

[ x ] My code follows the style guidelines(Clean Code) of this project
[ x ] I have performed a self-review of my own code
[ x ] I have commented my code, particularly in hard-to-understand areas
[ x ] I have created a helpful and easy to understand README.md

Category:

[ ] Calculators
[ ] AI/ML
[ ] Scrappers
[ ] Social_Media
[ ] PDF
[ x ] Image_Processing
[ x ] Video_Processing
[ ] Games
[ ] Networking
[ ] OS_Utilities
[ ] Automation
[ ] Cryptography
[ ] Computer_Vision
[ ] Fun
[ ] Others

Title: Face Detection using openCV
Folder: Face Detection using openCV
Requirements: None
Script: script.py
Arguments: none
Contributor: Tanya-1109
Description: Helps to detect the time period for which a person was out of the frame for webcam. To stop the process press q.

@avinashkranjan I have added the necessary files .Please look into this and close the PR.


Add an option to use use _draw() instead of building border polygons

I have the function pretty much built, but not sure if we need it. It might be nice to have the option if someone does not care about materials.

Yeah, I will make this a enhancement. Let's put it on hold until someone ask for it or we have the need to do it.

Do you mean using the draw_* functions from CanvasItem?
If so, if borders are to optionally have collision in them (as per #42), this is not a good idea.

@Keyaku the drawing approach can defer to the collision building. We can draw by using the CanvasItem functions or by creating more Polygon2D to complete borders. Whatever we choose we will be spawning a StaticBody2D with a CollisionPolygon2D that covers all the surface of the BorderedPolygon.
Makes sense?

Ah yes, my mistake. The polygon data is not lost in the process, so it can be applied to a CollisionPolygon2D.

Still, this is a good discussion. I don't exactly know how node count affects performance here. That is something we will need to optimize at some point.


Duplicating a stack causes the blocks workspace to be unresponsive

Expected Behavior
After duplicating a stack of blocks they should appear on the workspace and you should be able to continue to work.
Actual Behavior
After long tapping and duplicating the blocks nothing happens on the stage.  The new blocks appear exactly above the old blocks and they can not be moved.  No other blocks can be moved in the workspace and no blocks can be dragged from the blocks pallet to the workspace.
If you select the stage and then go back to the sprite where the code was duplicated you can now edit blocks again.
Steps to Reproduce
Build a stack of blocks
Press and hold on the stack of blocks
Select Duplicate from the menu that appears
Note: the menu closes and it might look like no new blocks appear or that they appear right on top of the old blocks.
Try to drag blocks on the stage and add new blocks to the workspace
Note: You can't
There was another issue with duplication on android that this may be related to: https://github.com/LLK/scratch-gui/issues/2376
Operating System and Browser
Chrome on Android

I have experienced behavior similar to this and to the other issue referenced using Chrome on Windows. (but can't consistently reproduce). Duplicating does, however, consistently throws errors as reported in #1550 - could that be related?

I've seen this on iPad as well. https://github.com/LLK/scratch-gui/issues/2995

This happens on mobile devices. It's probably caused by the drag fakeEvent as we don't have mouse on mobile devices, when I comment the following line in  core/block_svg.js
// ws.startDragWithFakeEvent(fakeEvent, newBlock);
the problem will disappear, and the duplicated blocks is just on top of original blocks, in order to make the duplicated blocks more obviously, I changed
newBlock.moveBy(oldBlockPosWs.x, oldBlockPosWs.y);
to
newBlock.moveBy(oldBlockPosWs.x+30, oldBlockPosWs.y+30);
It's just my way to fix this issue, and I think the user experience is not bad.

As @hecor mentioned, the problem is that it's kicking off another drag immediately, which woul dnormally stick with the mouse as it moves.  There is no mouse move to track in touch, and there's no indication that you're already in a drag and will therefore ignore some following touches.
If we just want to do something different in the mouse vs touch cases, we can do that by changing the callback on the context menu option.
This line in block_svg is the last time we have access to an event that distinguishes between mouse and touch.
Blockly.ContextMenu.blockDuplicateOption takes in a block and hands back a context menu item with a callback, which is defined by Blockly.scratchBlocksUtil.duplicateAndDragCallback.  Note that inside the callback function, e is not a Mouse or Touch Event--it's something else that comes from the menu.
To make the change, we would pass an isTouch boolean or equivalent into blockDuplicateOption, which would pass it into duplicateAndDragCallback, which would return a function that behaves differently in the mouse case from the touch case.
If we want to do this, we need to decide where the newly created blocks should go--presumably at some offset from the originals, at minimum.


Has this been published already?

I'm trying to find this on Obsidian's Community Plugins but I can't seem to find it. Has it been published already? Were there any issues?
Also, on a sidenote, as a suggestion, I think it would also be nice to have a section on README.md for references to other similar projects. For example:

@barollet/obsidian-goban

This is also probably the simplest template possible for this kind of thing, although it has way less features than this one.

@THeK3nger/obsidian-goban

It seems that you have to clone the project and link it to the plugins folder of downloaded Obsidian app.

Finally released, you can now find it in the Obsidian community plugin list.


Support custom classifiers extensions for plugin artifacts

ScalaPB (code generator for Scala) is now publishing a standalone script that can be used as a plugin. For Windows, the extension must be .bat. For all unix-like systems, it can be anything and we are using .sh. See the layout here: http://central.maven.org/maven2/com/thesamet/scalapb/protoc-gen-scalapb/0.9.0-M5/
Alternatively, since the plugin is JVM based, it would be nice to be able to provide to run the artifact through a mainClass https://www.xolstice.org/protobuf-maven-plugin/examples/protoc-plugin.html so all the platform specific scripts become unnecessary.

If I understand the question correctly, this is already supported via pluginArtifact and pluginPath
Example: http://os72.github.io/protoc-jar-maven-plugin/run-mojo.html#outputTargets

Currently resolveArtifact hard codes the exe extension, and that the Maven artifact is the operating system name. The ask is to be able to customize that

I see. Convenience backfires in this case. Need to look..
How about the mainClass option, how would you want the plugin section to look like?

The gradle protobuf plugin takes this syntax: com.thesamet.scalapb:protoc-gen-scalapb:${scalapbVersion}:windows@bat
https://github.com/scalapb/gradle-demo/blob/master/build.gradle#L44
I learned it from https://github.com/google/protobuf-gradle-plugin/blob/87b3caeacef74d4daa6bfc11ed6d0ef7876b4b92/src/main/groovy/com/google/protobuf/gradle/ToolsLocator.groovy#L54 - I think it is undocumented.
For the mainClass option, I think it's better to have another property rather than encode it in the artifact name - over time you might want to have things like jvmArgs and args. See https://www.xolstice.org/protobuf-maven-plugin/examples/protoc-plugin.html for mainClass, `args and so on.

Could you try <IP_ADDRESS>-SNAPSHOT (for the basic request)?

Thanks for the quick turnaround! Where is the SNAPSHOT published to? I was looking https://oss.sonatype.org/content/repositories/snapshots/com/github/os72/protoc-jar-maven-plugin/ but couldn't find it.

Oh I thought you would just clone the repo and build locally. But I've published the SNAPSHOT now

Works! Thank you so much. Note that the extension and classifier seem to be swapped compared to the URL format and the format in protobuf-gradle.
com.thesamet.scalapb:protoc-gen-scalapb:0.9.0-M5:sh:unix becomeshttp://central.maven.org/maven2/com/thesamet/scalapb/protoc-gen-scalapb/0.9.0-M5/protoc-gen-scalapb-0.9.0-M5-unix.sh. I think it would be less surprising if the parameter order was the same. . But that's a nit - great work and thanks for implementing this so quickly. Once this gets published I'll update ScalaPB documentation to use this.

Yes that's by design (kinda) -- it's the same order as expected by protobuf-maven-plugin (eg, <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.21.0:exe:${os.detected.classifier}</pluginArtifact>)
And I'm guessing that's simply because it's the order given by maven API artifactFactory.createDependencyArtifact :) (see https://github.com/os72/protoc-jar-maven-plugin/commit/264259686ef9652c92314b72c667274c7ecb1b74)

Released protoc-jar-maven-plugin 3.8.0


How to Implement relationship between 2 graphs

Is there any way that I can implement a relationship between 2 nodes from different graphs, or do I have to make another graph work around that.

There is not way to create a relationship between two nodes in separate graphs. You can write some SQL to create a crosswalk table between two nodes in other graphs, but if you want to create an edge between two nodes, they need to be in the same graph.
You can make a new graph and import both those nodes into that graph and make a relationship. However the id, start_id and end_id that a vertex and edge have are only unique in a per graph level, and trying to link the two vertices together will cause data integrity issues.


Empty-Commit

Why are these changes needed?
Investigate the spark tests failures.
Related issue number

Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/FLAML/. See https://microsoft.github.io/FLAML/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

@sonichi The main branch code has the same issue. I checked the pyspark and joblib, joblibspark versions, they are the same as the last succeeded workflow. I think it may caused by the windows VM env changes.
@levscaut will help on verify on local machine and then look into the VM details.


Validate status_code when retrieving announcements

This prevents a crash when an invalid status code is received when pulling announcements from binance or kucoin.
We make sure the status code is 200 (OK) and otherwise log an error.

@Linus045 perhaps we can extract only one general method which we can call something like get_coin_announcement instead of duplicate it?
The context of my suggestion is the following: https://deviq.com/principles/dont-repeat-yourself

yeah i was thinking about refactoring that as well but didn't want to change so much changes for a quick bugfix.


⚠ Bofrost.de has degraded performance

In f1bcd74, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1491 ms

Resolved: Bofrost.de performance has improved in 29e9440 after 13 minutes.


Problem in background task with minimize-maximize app

Hello. I found problem in your module. I have app, when i minimize it or close it on android all works fine. But when i have these steps:

open app
minimize
maximize
minimize

background task does not work. Help me please, what i can do with that ?

I have solve! If someone have the same problem as me, use AppState
AppState.addEventListener('change', this._handleAppStateChange);

 _handleAppStateChange = (nextAppState) => {
        if (this.state.appState && this.state.appState.match(/inactive|background/) && nextAppState === 'active') {
            BackgroundTask.schedule();
        }
        this.setState({appState: nextAppState});
    }

https://facebook.github.io/react-native/docs/appstate.html


Updated the readme file with the featured in, repo review table and our contributors

Updated the readme file with the featured in, repo review table and our contributors
closes :- #346
@Tejashri-Taral Please review this PR and merge it and assign this to me and put relevant labels such as gssoc 2024 ext, hacktoberfest and level.

@Tejashri-Taral First merge this PR :- #576 then this one both are mine only.

Please add link in footer I'll increase level


Rename argument in set_scan_results_file method

The argument name set_scan_results_file in the set_scan_results_file method was confusing as it shared the same name as the function itself. This commit renames the argument to scan_results_file for improved clarity and consistency. Resolves #2040

Thanks @ozgenbaris1 !


Generic Cleanups

Improve pimpl implementations
Remove F3DIncludes and rename Config in F3DConfig
Remove unused image code path
Fix header guard

Nice! I learn something new today :-D


Add 'http://' prefix to output message

Add http:// prefix when outputting the localhost address with draft connect. This makes the link clickable in bash to make it even easier to get to browsing the application

First off, thank you for this!
Did you happen to read my comment in https://github.com/Azure/draft/issues/327#issuecomment-329514088? I'm a little concerned putting this here and making the assumption that the pod we are connecting to is indeed a web application. It is completely possible that the application deployed by draft is not a web app (or listens on some other protocol, like UDP).
If the community prefers we do this for simplicity's sake then I'm all for it, but I'm concerned about the implication (the UI now shows it off as http-only... how can we make this applicable to non-http applications?)

I personally appreciate the idea, as we've noticed the problem before, but the issue is that the app needs to signal to draft in some way that it's http. PLUS the clickable link thing only works depending on the console/shell/OS, it's not general. some click, some don't.
That said, what are the options?

We could detect port 80 and prefix based on that.
We could spawn the location, but then add a "if it's a web app, click http://localhost:xxxx; otherwise, open the endpoint using the appropriate tool."
We could add some metadata in the draft.toml file for this, and prompt the user to switch it off/on?
....uh....

Absent a clear answer, I'm good with the slight hindrance in UX until we have other things of larger importance landed..... and I'm great with other suggestions..... each of the above has issues.

Thanks for the comments. I scanned the issues list yesterday, but sadly missed that issue!

I'm going to close this PR for the time being. Let's carry on the discussion over at #327 until we can come up with a happy solution that works for everyone :)
Thanks!


slide 2 updates, minor consistency, some small content

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Most significant change is difference in presenting the first commands for the first time.
My preference is to use the "template" rather than a leading definition slide.
Primary reason for this is the section is called "Fundamental Three Commands"

Definition slide has 5 commands, a bit counter intuitive
The bottom two commands are primarily optional, and I'm simply pointing to their existence, but not explicitly speaking to them -- they do get dropped into live coding

Other changes

added back in image credits
missing SELECT and FROM live coding
inconsistencies in the .md about headers being in this font vs this font

What did you learn from the changes you have made?
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
How were these changes tested?
A reference to a related issue in your repository (if applicable)
Checklist

[x] I can confirm that my changes are working as intended

Looks good to me, please await one more approval.


micro engineer window not hidden by F2

Hi,
The ME main window doesn't always hide when using F2 to hide the UI for screenshots.
I haven''t been able to find a good way to reproduce reliably but seems to happen more often after switching to the main view from the map or when controlling a craft from the tracking station.g
All UI elements are hidden except for the ME window.

Hi, I'm aware of this issue, but thank you for the reminder.
For now the workaround is to just close the main window that will close itself and all undocked windows, then reopen it.


Unable to hide field in derived type

Based on Discord discussion here: https://discord.com/channels/689806334337482765/1225406859926704188
Basically I have a type which derives from another. I want to exclude a field in my derived type. Marking as strawberry.Private in the derived class doesn't do anything.
@strawberry.type
class Foo:
    value: int = strawberry.field(description="foo")

@strawberry.type
class Bar(Foo):
    value: strawberry.Private[int]

I would expect the value field not to be exposed on type Bar in the schema.

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

Right now the only way of achieving this is to remove the field from Bar.__strawberry_definition__.fields before the Schema is created. That was suggested in the Discord discussion.


Utility/MathHelper

Port for the math helper utility used for clamping values

Codecov Report

Merging #1 into master will increase coverage by 0.49%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #1      +/-   ##
==========================================
+ Coverage   57.90%   58.39%   +0.49%
==========================================
  Files          12       13       +1
  Lines         506      512       +6
==========================================
+ Hits          293      299       +6
  Misses        213      213

Impacted Files
Coverage Δ

src/PBase/Networking/Utility/MathHelper.cs
100.00% <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 06322e5...4f983d7. Read the comment docs.


Include addressable equipment of lower areas as unaddressable in upper area

Addressable equipment of lower areas should be aggregated into upper area context

closing old issue as no longer relevant, replacing with json-ld


Fix standalone target script generation

The script was not updated, and the result contained undesired backquotes around CEPH_ARGS.

recheck
"error: You must be logged in to the server (Unauthorized)" is unrelated to CEPH_ARGS changes

recheck

recheck

recheck

/override rdoproject.org/github-check

/lgtm

/retest-required

/retest-required

/test install-yamls-deploy