WIP: Upgrade to 8.2

8.2 has not been released. But not much should change between rc4 and the final release. So let's see how we are doing already.

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.

Fails because of https://github.com/conda-forge/mpc-feedstock/pull/13.

It's not just mpc, you need to rebuild flint, arb, etc.

Sure. That's just the first conflict that shows up.

Or is there a reason not to do this upgrade?

Or is there a reason not to do this upgrade?

If you have the time, it'll be great to the upgrade.

Ok. I'll create a lot of PRs then :)

@conda-forge-admin, please rerender

Now pending on https://github.com/conda-forge/lcalc-feedstock/pull/1.

Now an old build of lcalc is being pulled in
conda.exceptions.UnsatisfiableError: The following specifications were found to be in conflict:
  - lcalc=1.23 -> mpfr=3
  - mpfr=4

Hi! This is the friendly automated conda-forge-linting service.
I was trying to look for recipes to lint for you, but it appears we have a merge conflict.
Please try to merge or rebase with the base branch to resolve this conflict.
Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.

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.

This is now pending on https://github.com/conda-forge/pari-feedstock/pull/10

Hm…why does aclocal use /usr/bin/perl?

hyperellratpoints is missing from pari, is this only in pari 2.10 used by sage?

Looks like there is a 2.10.0 alpha release and mentions that hyperellratpoints is added in that release.

Yes, sage builds against pari master from a while back. The 2.10 alpha should work.

cp: /Users/distiller/miniconda3/conda-bld/sagelib_1527554557951/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/etc/conda/activate.d/sage-activate.sh: No such file or directory

@conda-forge-admin please rerender

+ sage -c 1+1
/usr/bin/env: sage-python23: No such file or directory

sage-python23 has been introduced to pick the right python when both 2 and 3 are installed in SageMath. So…can we just do something like ln -s $CONDA_PREFIX/python $CONDA_PREFIX/sage-python23 in activate?

You can do ln -s $PREFIX/python $PREFIX/sage-python23 in build.sh


[wxWidgets] update to 3.2.0

Library name: wxWidgets
New version number: 3.2.0
This new version of wxWidgets include a brand new CMake build system that should make integrating it into the vcpkg build system easier than previous versions.

No to so easy: #25717


how build sqlitebiter on armhf(32bit)

hi，
sqlitebiter is a powerful tool, could build the source on embedded system,such as armhf-32bit.

Hi,
I never tried it before, but you could build an executable binary file for arm  as follows:

Install pyinstaller

pip install pyinstaller>=3.4
You might need to install extra apt packages to build pyinstaller

Clone sqlitebiter repository (or download the source code)
Execute build_deb_package.sh

You might need to change Architecture https://github.com/thombashi/sqlitebiter/blob/89bd4049024036d92bc04462836f0100d018497a/build_deb_package.sh#L36

thanks  , i had installed it successfully by your indication.

Thank you for confirmation. Closing.


add content ,write section, testimonial

As in the website some section are vacant so I would like to add some content.
I think there should be write section where user can  share their knowledge and experience.
Also if there is a feature of testimonial which shows how this website helps user ,it will give more insight about website.
I request you to assign this task to me under gssoc'23.

Hi, @Rohit-osc , you may work on this and please refer to the Contribution guidelines on the readme once.
All the best!

Thanks! I will start working on this.

Closing this because of no response or pr from your side.


electron-json-storage integration

I did what you ask, just the changes for electron-json-storage

If you're going to work on the React things, you can take a look at some things I tried in the other pull request. I don't really care what you do with the other pull request, I learned a lot from trying out some things.

Excellent job, thank you.


Excuse php7 errors due to regressions in 7.0.6

The issue in framework is that ViewableData does not report that getters are set via __isset. Up until php 7.0.6 only the last variable within an isset() expression would be checked via __isset. Now all values in an expression are checked from left to right.
i.e. for the below expression isset($gridfield->State->Key) previously php would perfrom $gridfield->State->__isset('Key'), but now does $gridfield->__isset('State') && $gridfield->State->__isset('Key')

Raised issue at  https://github.com/silverstripe/silverstripe-framework/issues/5450


Proxy-Settings not working since version 1.1.1

What happened?
Hello,
After updating from version 1.0.0 to version 2.1.0, I noticed that the proxy settings no longer take effect. I checked the code and identified the cause in the modification of the send_request_to_server method (https://github.com/realm/realm-cpp/commit/f643313fabeeae25f58907200140590205f03ca1) due to Issue 189.
At first glance, it appears that the proxy address requires a scheme. That works, but it’s only by coincidence. The call proxy_uri.get_auth(proxy_userinfo, proxy_host, proxy_port); provides the hostname (for proxy_host) inadvertently by specifying the scheme. However, if you look into the proxy_uri variable, you will see that the hostname is stored in the m_auth property and not under m_path, where I believe it belongs.
Regards
Giuseppe
Repro steps
I specify the proxy settings like in the code below.
auto appConfig = realm::App::configuration();
appConfig.app_id = "myAppId";

// other configuration steps here...

realm::proxy_config proxyConfig;
proxyConfig.address  = address = "proxy.example.com";
proxyConfig.port = 8888;

appConfig.proxy_configuration = proxyConfig;

auto app = realm::App(appConfig);
auto user = app.login(apiKey).get(); // Login throws an app_error exception saying "Invalid argument"

Version
2.1.0
Installation method
Manual compile
What Atlas Services are you using?
Atlas Device Sync
Compiler
MSBuild
OS and version
Windows 11
Code snippets
No response
Stacktrace of the exception/crash you're getting
No response
Relevant log output
No response

Hi @GR-C, This will be addressed in https://github.com/realm/realm-cpp/pull/216

Closing since #216 was merged.


Could not install Adonis using NPM

Recentltly when I run the command  npm i --global @adonisjs/cli , I encountered the following errors:
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit <https://github.com/lukeed/kleur/releases/tag/v3.0.0\> for migration path(s).
npm WARN deprecated<EMAIL_ADDRESS>Critical bug fixed in v3.0.1, please upgrade to the latest version.
C:\Users\kc.choo\AppData\Roaming\npm\adonis -><EMAIL_ADDRESS>npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\@adonisjs\cli\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+<EMAIL_ADDRESS>updated 1 package in 35.036s

I checked no node_modules are being installed. Can you advise what's going on? Thanks in advance
My Node Version: 12.13.0
My NPM Version: 6.13.1

Hey @chookarchun20! 👋
There's nothing wrong, NPM warn you about few things, but nothing breaks and as the last line said, it has been installed.

After install adonis cli I try:

adonis new appName
but:
adonis not internal or external
command
How set manual $PATH ?

@evgenx I faced the same issue before. But  try updating Node to version 13 and it seems the issue is gone. Give it a try too.

@chookarchun20 nothing changed.
c:\>npm -v
6.13.1
c:\>node -v
v13.2.0

Feel free to follow this tutorial to know how to setup your PATH variable on Windows: https://www.computerhope.com/issues/ch000549.htm

Do you find it ??? please say to me


Add better error handling and reporting to the PR review reminders DAG

Problem

The PR review reminders DAG needs to be able to finish the list of PRs without erroring out. Additionally, it sometimes skips PRs without us being able to easily know why.
Description

Prevent errors in communication with GitHub from causing the entire DAG to fail. Additionally, send a report to the Slack notifications channel with a list of the PRs that it errored on, the PRs it created comments for, and the list of PRs that it skipped. This will help give us visibility into the ongoing operation of this DAG.

Duplicate of #1364


Added FilterResult tests

Current coverage is 73.18%

Merging #1037 into master will increase coverage by +0.06% as of cb784d6

@@            master   #1037   diff @@
======================================
  Files          263     263
  Stmts        14834   14834
  Branches      1610    1610
  Methods          0       0
======================================
+ Hit          10847   10856     +9
+ Partial        419     416     -3
+ Missed        3568    3562     -6

Review entire Coverage Diff as of cb784d6

Uncovered Suggestions

+0.09% via ...argets/FileTarget.cs#1918...1930
+0.09% via ...argets/FileTarget.cs#1555...1567
+0.08% via ...c/NLog/LogFactory.cs#180...191
See 7 more...

Powered by Codecov. Updated on successful CI builds.


SortTypes issue

Hello. I caught one issue with the sort function.

content: schema.rawTypeData['$parsed'].content.sort(sortByName)}

After some research I've found that in openapi we have this
 "TriggerAPISchema": "title":"TriggerAPISchema","type":"object","properties":{}}
which in the code has content: 'object', where sort is undefined.
I think it would be good to add validation Array.isArray(schema.rawTypeData['$parsed'].content)

https://github.com/acacode/swagger-typescript-api/pull/299

Perhaps bring this up here: https://github.com/acacode/swagger-typescript-api/issues/360

@grandsilence

Was fixed in 10.0.2

Thanks


Get a start on implementing fracbyte functionality.

We're entering the fracbyte market.
This PR incorporates @AndrovT's brilliant vycoder library into the language. Ported to scala as Vyncode
How:

The ! flag reads a string of raw bits. This might have to be changed for technical scoring reasons, but who knows.
The = flag reads a program as usual, but prints the bit string.

For the website, the result of compiling vyxal/vyncode as scala.js is used
For the offline interpreter, the jar is used.

Don't merge this yet!

@GingerIndustries ik, I read the chat

For JS you could use something like https://github.com/flexxui/pscript, or just add an API endpoint to Django and use that

For JS you could use something like https://github.com/flexxui/pscript, or just add an API endpoint to Django and use that

The library doesn't seem to support imports nor do conversion of all numbers to big ints (numbers involved in the encoding/decoding will exceed js number limits).
And I'd rather not have an api to the server because it'd be making a lot of requests on a server that's already questionably fragile.

Having it in scala also means there's less work to do when it eventually gets applied to version 3

so turns out decoding is a little broken. I'll fix that and see if adding some recent answers to the corpus improves anything.

Decoding now works good online (it was a bug with not resetting class fields when calling Initalise). I'll play around with the corpus later


How to append data to view before any router?

In slim2.x, we can $app->view->appendData([xx]) in before middleware, how to do that in slim3 + slim/twig?
thanks.

Maybe see here: http://docs-new.slimframework.com/concepts/middleware/
$response->write('BEFORE');
$response = $next($request, $response);
$response->write('AFTER');

it works, Thanks @Codexing


delayed_paperclip never actually runs my jobs

Having trouble getting delayed_paperclip to actually run my paperclip-ffmpeg jobs -- uploaded videos show up as blank.
Live app with instructions: http://runnable.com/VR3XZVDPXUJ0k3VQ/paperclip-delayed-job
[ActiveJob] Enqueued DelayedPaperclip::Jobs::ActiveJob (Job ID: 4ead11a0-fdc9-415e-b1e2-22f34c8894cf) to DelayedJob(paperclip) with arguments: "Photo", 1, "attachment"
[ActiveJob]   ^[[1m^[[35m (0.5ms)^[[0m  BEGIN
[ActiveJob]   ^[[1m^[[36mSQL (1.8ms)^[[0m  ^[[1mINSERT INTO "delayed_jobs" ("queue", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"^[[0m  [["queue", "paperclip"], ["handler", "--- !ruby/object:ActiveJob::QueueAdapters::DelayedJobAdapter::JobWrapper\njob_data:\n  job_class: DelayedPaperclip::Jobs::ActiveJob\n  job_id: 4ead11a0-fdc9-415e-b1e2-22f34c8894cf\n  queue_name: paperclip\n  arguments:\n  - Photo\n  - 1\n  - attachment\n"], ["run_at", "2015-04-03 11:23:05.894701"], ["created_at", "2015-04-03 11:23:05.895434"], ["updated_at", "2015-04-03 11:23:05.895434"]]
[ActiveJob]   ^[[1m^[[35m (13.7ms)^[[0m  COMMIT

ActionController::RoutingError (No route matches [GET] "/system/photos/attachments/000/000/001/medium/test.mp4")

irb(main):001:0> Delayed::Job.all
  Delayed::Backend::ActiveRecord::Job Load (4.0ms)  SELECT "delayed_jobs".* FROM "delayed_jobs"
=> #<ActiveRecord::Relation [#<Delayed::Backend::ActiveRecord::Job id: 1, priority: 0, attempts: 0, handler: "--- !ruby/object:ActiveJob::QueueAdapters::Delayed...", last_error: nil, run_at: "2015-04-03 11:23:05", locked_at: nil, failed_at: nil, locked_by: nil, queue: "paperclip", created_at: "2015-04-03 11:23:05", updated_at: "2015-04-03 11:23:05">]>

delayed_job_active_record can't handle this alone. I need to set up delayed_job the traditional way due to FFmpeg being an external tool.


Histogramnew

Replace dependence on old histogram class with new histogram.

[x] create unit tests for all classes using old histogram class
[ ] create integration tests for any executables making use of old histogram class
[ ] replace old histogram class with new histogram class.


Attachment list view in messages. It's hard to distinguish multiple attachments.

As seen in the image  below. The attachment list looks like one file. This is especially true when the filename is long and there are various file types. Worse when the filename has a space in it.
It would be nice to make the number of files more obvious. A simple visual clue would be sufficient. Perhaps a bullet or similar.

Thanks for the feedback @xpufx ! After you upload the files, you can format the message however you like, e.g. making a bulleted list with a file per line, etc. Would that solve the issue for you?

Thanks for the feedback @xpufx ! After you upload the files, you can format the message however you like, e.g. making a bulleted list with a file per line, etc. Would that solve the issue for you?

Not really. I as the sender have the same issue in figuring out where one attachment name ends another starts too.  Aren't there plans to make the upload workflow a bit more robust? With attachment icons and instant previews and/or thumbnails maybe? I think this is one area zulip is lagging behind compared to the competition. On desktop and mobile I really try to pay attention nowadays because I've sent the wrong file many times.

Next steps proposed in CZO discussion thread:

Having different thumbnails / icons for common file types used accordingly before a file's link. Technically this could be by setting the :before pseudoelement of the file link in CSS to the icon according to the file type.

Try reducing the height of our inline previews for Youtube, etc.

@N-Shar-ma would you like to have this issue assigned to you?

@zulipbot claim

@alya Yes, please assign this to me!

Instead of changing the display of links, what if we just change the frontend upload code so that, when it inserts an attachment link next to another link in the compose box, it sticks in a comma between them? file1.txt, file2.txt, file3.txt

Instead of changing the display of links, what if we just change the frontend upload code so that, when it inserts an attachment link next to another link in the compose box, it sticks in a comma between them?

I think that would be a great quick fix for this issue, and looking at  #22822, we might want to do that even if we do add icons for (some) file types.


Add StandardError support. Return errors in Output.Error.

of course Output.toError: Output -> string as convinient member is available
type of Output.Text changes to string option
only one of Output.Text and Output.Error can be filled

Closes #17.

only one of Output.Text and Output.Error can be filled

Wait, why is it so? Technically, it is pretty normal for a process to produce both stdout and stderr at the same time.

Is this true?

it is pretty normal for a process to produce both stdout and stderr at the same time.

Then I haven't say something. I assumed this but both fields get filled when they have text.
I just prepared Output.Text for an optional string.

I assumed this but both fields get filled when they have text.

Yep, the code looks correct anyway: it will provide both values if they exist. So, everything's alright :)


add SupplierWrapper to support java 1.8+ CompletableFuture.supplyAsync #3779

Please answer these questions before submitting pull request

Why submit this pull request?

[3779 ] New feature provided

Related issues
I want use async traceid like this:
CompletableFuture.supplyAsync(SupplierWrapper.of(()->getString1("a"))).thenAccept(System.out::println);

But now skywalking only supports callable(CallableWrapper), not supports supplier

add SupplierWrapper to support java 1.8+ CompletableFuture.supplyAsync #3776

Fix CI, and add integration plugin test for this new and callable/runnable too. The document will be ready today.

Hi, use case tests can be added here apm-toolkit-trace-scenario  @sxzaihua

/run agent-plugin-test-1

/run agent-plugin-test-3

Hi, use case tests can be added here apm-toolkit-trace-scenario

This case didn't include the old Runnable and Callable from last time I checked. Those should be added too.

Hi, Expecteddata.yaml is not updated. @sxzaihua

This case didn't include the old Runnable and Callable from last time I checked. Those should be added too.

CallableWrapper and RunnableWrapper ?

可以加个QQ聊下吗，381124590
| |
sxzaihua
|
|
<EMAIL_ADDRESS>|
签名由网易邮箱大师定制
On 11/5/2019<EMAIL_ADDRESS>wrote：
This case didn't include the old Runnable and Callable from last time I checked. Those should be added too.
CallableWrapper and RunnableWrapper ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

The plugin test framework doc is ready, #3786. Please take a look

/run agent-plugin-test-2

The test fails, please check locally.

@arugal He changed this test, I don't know whether should be rerun.

@arugal He changed this test, I don't know whether should be rerun.

[2019-11-05T08:53:23.451Z] start container of testcase.name=apm-toolkit-trace-scenario-1.0.0
[2019-11-05T08:53:23.451Z] Unable to find image 'skywalking/agent-test-jvm:wl2_559' locally
[2019-11-05T08:53:24.037Z] docker: Error response from daemon: pull access denied for skywalking/agent-test-jvm, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
[2019-11-05T08:53:24.037Z] See 'docker run --help'.
[2019-11-05T08:53:24.037Z] docker startup failure!

This is the cause of failure.

/run ci

One reminder for @sxzaihua, the document has not been updated.

LGTM

Please update the doc.

@arugal @kezhenxu94 @dmsolr Please recheck.

LGTM

/run ci


Mass fix bugs in Adonis of 2023

There are a lot of nasty bugs, I'm working on cleaning most of them up, which this pull request does, along with adding improvements to debugging along the way. This pull request was originally just to fix the linter error spam, but I found out there's a lot more wrong... I got most of the older bugs fixed along with a few new ones, but some more recent ones have appeared due to recent merge requests. I'll go through those later today or tomorrow along with looking into some older bugs (such as remoteevent issues), as well as some minor changes to some other things within this pull request, and then it will be marked ready for review.
Also, kindly stop merging stupidly broken PRs, I'm not even sure if anyone is truly reading the code, most certainly not testing, before merging it in most of the time. Almost all of these bugs (and more that I will commit fixes for later) were caused by a PR, which really shouldn't have gotten merged if reviewed correctly.

say gex

your ping is still failing smh

your lint is still failing smh

Duh

note for expertcoderz: don’t merge broken PRs

or draft PRs

always test before merging!!
or ur just lazy

maintainer should merge this NOW

Yeah sounds like a great idea (but GitHub won't even let you)

your lint is still failing smh

Same thing as above and the fact the failing lint wasn't even caused by this PR, everything here works fine and as expected. I just need to fix some of the newer bugs that were introduced, such as the animation lint error, before it would make sense to merge this.

maintainer should merge this NOW

Yeah sounds like a great idea (but GitHub won't even let you)

Oh yeah its still a draft
Completely forgot

wow does that mean the PR is close to completion

(I was trying to get VSCode not to display a bunch of remote branches, that don't exist anymore, at least according to Git's CLI and GitHub. I also managed to delete this one, because one of them was an alias of this. 😵💫 )

me when i accidentally delete adonis

Fixes Overview

?!?!??!? 3 successful checks

This is awesome 😎💯

i know right 😍


White bar flashes at top of page on Cloud Foundry page

Should be fixed by removing the duplicate app header. Re-open if not.


[Clippy] Code maintenance

🤖 This is an automatic PR 🤖
Clippy suggests the following changes

:tada: This PR is included in version 1.1.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Desktop Library | Mouse Over Functionality

Pull Request Test Coverage Report for Build 204

50 of 55 (90.91%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.8%) to 99.191%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Zoomba/DesktopLibrary.py
50
55
90.91%

Totals

Change from base Build 200:
-0.8%

Covered Lines:
613

Relevant Lines:
618

💛  - Coveralls

Coveralls had an outage today so im not getting new builds currently. I believe everything should be 100% now but if its not I will do a quick fix after the merge.


need an easy way to roll back driver installs

It would be very helpful to users to have an easy way to uninstall the drivers.
I was trying to follow https://ipex-llm.readthedocs.io/en/latest/doc/LLM/Quickstart/install_linux_gpu.html and my system became unstable after installing the drivers, in fact it would not stay up more than a few minutes without the entire machine hard locking.
Trying to uninstall the drivers 'manually' resulted in a system that won't boot correctly. I will have to rebuild and probably reinstall the OS.

The packages in our guide are all installed using apt, you can uninstall them using apt again.
Maybe you can look this blog for help https://www.cyberciti.biz/howto/debian-linux/ubuntu-linux-rollback-an-apt-get-upgrade/

the instructional site that i link to does not just use apt, it also installs custom apt sources for intel and its difficult to tell which packages are from that intel site versus from ubuntu.
it would be easier to have an uninstall script or at least a warning up top that it can cause your machine to become  unusable. (+ advice to use a Timeshift save point or something similar)

Which package is not installed with apt install？ Only conda, but conda is installed to your home dir, it won't affect your operating system.
Maybe we can advice users to backup their package list with apt-clone before they start the installation.


Provenance of comparison matrix

Hi,
It would be nice to have the "provenance" (eg URL of a web page) of a matrix.
Wikipedia matrices for instance and also as part of the Chrome/Firefox extension

f8b9c6bf9cd36132ed3ebfc70890365dbd2c0d0d allows to specify the source and license in the editor.
Now we have to also specify the source when using importers such as Wikipedia importer.

The source and license is now specified when importing with Wikipedia (c108a764191c20153f13736ca6069f84ac0b4443)


Unable to signin after signout

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

Action Performed:

Sign out
Enter email address
Tap continue

Expected Result:
User is able to sign in
Actual Result:
Tapping on "Continue" does nothing
Workaround:
unknown
Platforms:

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

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

Version Number: 1.2.88-0
Reproducible in staging?: Needs reproduction
Reproducible in production?: Needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/226739094-555399b0-3707-4ff9-bb38-415b27e44b7a.MP4
Expensify/Expensify Issue URL:
Issue reported by: @coleaeason
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1679365057011049
View all open jobs on GitHub

Triggered auto assignment to @twisterdotcom (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

I cannot recreate this @coleaeason. I sign in fine after signing out and in again, on iOS v1.2.89-0
https://user-images.githubusercontent.com/9133401/227700921-49130504-a9da-42fb-899c-d6ddef9c4cc2.MP4
Is this resolved for you now in the latest update?


Fix for docker-compose pull error

Fix for #84. Removing the image so docker-compose pull from the prerequisites doesn't break.

works! Thank you @russau


draw tactical symbol example

hello, @spatialillusions and @kjellmf
I have a question.
I'm using a normal 2D canvas(no 3D map, no cesium, no openLayers)
So I used the svg type.
However, some returned images were marked with a 'question mark' as shown below.
The function I used seems to be 'multipoint' returns a 'question mark'.
In short, can you tell me the function that I can draw for 'multipoint'? Or is there an example?
[The result I wanted]

[Reality]

[My Render Code]
let myTactical= ['GFT*I-----****X','GFT*N-----****X','GFT*D-----****X','G*T*F-----****X','G*T*AS----****X','G*T*E-----****X','G*T*O-----****X','G*T*Q-----****X', 'G*T*S-----****X','G*G*OAF---****X','G*T*B-----****X','G*T*H-----****X','G*T*Y-----****X','G*T*C-----****X','G*T*X-----****X','G*T*J-----****X','G*T*UC----****X'];

--> (each symbolElement)

let renderedContent = new ms.Symbol(myTactical[symbolElement], { size: size, uniqueDesignation: element, additionalInformation: element, infoFields: "textInfo" }).asSVG();

ctx.beginPath();
ctx.drawImage(myTactical[symbolElement], x1, y1, x2 - x1, y2 - y1);
ctx.stroke();

Thank you...😒

Hi,
Milgraphics had as a goal to support all tactical graphics, but never got there for different reasons. That you get a question mark indicates that the symbol you try to draw isn’t supported.
Regards
Måns

On 5 Jul 2022, at 08:23, NoviceInWeb @.***> wrote:

hello, @spatialillusions and @kjellmf
I have a question.
I'm using a regular 2D canvas, not a 3D map.
So I used the svg type.
However, some returned images were marked with a 'question mark' as shown below.
The function I used seems to be 'multipoint' returns a 'question mark'.
In short, can you tell me the function that I can draw for 'multipoint'? Or is there an example?
[The result I wanted]
[Actual results]
[My Render Code]
let myTactical= ['GFT*I-----***X','GFTN-----***X','GFTD-----**X','GTF-----**X','GTAS----**X','GTE-----**X','GTO-----**X','GTQ-----**X', 'GTS-----**X','GGOAF---**X','GTB-----**X','GTH-----**X','GTY-----**X','GTC-----**X','GTX-----**X','GTJ-----**X','GTUC----****X'];
--> (each symbolElement)
let renderedContent = new ms.Symbol(myTactical[symbolElement], { size: size, uniqueDesignation: element, additionalInformation: element, infoFields: "textInfo" }).asSVG();
ctx.beginPath();
ctx.drawImage(myTactical[symbolElement], x1, y1, x2 - x1, y2 - y1);
ctx.stroke();
Thank you...😒
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

@spatialillusions thank you!


eslint not working

Hello
There was a problem, how to get eslint to show vuejs errors in IDE (atom)
Here are some examples
Here is an example that a linter works

In the console error too

There was a mistake, but no error is not output to the linter

In the console the error is displayed

Such a problem is not only with the linter html but also with others such as jade (pug), sass, css

What version is your eslint?
I encountered some bugs after the 4.10.0 update so I've downgraded to 4.9.0 and problems resolved.

Hi, @kemalcany I have eslint version 3.19.0

@kemalcany I did as you advised, it does not solve the problem

I doubt that the issue tracker is the right place for questions about Atom configs, but maybe someone can help out.

Closing for inactivity


Syntax error printed

v2.22.15
?- T = (1+2 =:= -3+6).
   T = (1+2=:=-3+6).

?- T = (1+2=:=-3+6).
Error: syntax error, near '=:=-', operator expected, user:1

v2.22.16
?- T = (1+2 =:= +6-3).
   T = (1+2=:=+6-3).

?- T = (1+2=:=+6-3).
Error: syntax error, near '=:=+', operator expected, user:1


Add an IHttpResponseProcessor to detect a page redirect triggered by JavaScript

AngleSharp.Js provides various contexts for Jint so that we essentially get an in-process browser. It will execute Javascript when content is loaded, and provides a mechanism to trigger other events.
This will resolve #3

Events that can occur on or near page load should be tested before completing this PR.

While creating tests for JS events, came across some (known) issues with AngleSharp.Js

Arrow functions are an ES6 feature, and not supported by Jint v2.10. Waiting for Jint v3.0 stable release
Legacy document.onreadystatechange event is fired, but document.readystate values appear to be AngleSharp.Js's enum (int) values, instead of the strings a browser would expect.
readystatechange event listener isn't fired at all


Fixed issue with sending messages

As mentioned in https://github.com/ReSpeak/TS3Hook/pull/18#issuecomment-380630659

@splamy can you set up something like travis for compiler checks?

Not unless we find any CI that runs windows.

Something like https://ci.appveyor.com/project/Luch00/lxbtsc ?

@Bluscream I added it to appveryor. Didn't knew it worked that well for windows. Last time I checked a few years ago nothing worked correctly and a lot was outdated.

Can you add the appveor stuff to the readme? ^^

Wait for it :P


Language C not displayed

When a c file is opened, the presence is not updated

What file extension has that file?

Quite a few have been added only recently in #40 and aren't in a release version yet.

a .c file

a .c file

Yes, .c files (and .h files too)
I tried to open a .c file with PhpStorm to see if it came from CLion and I still have the problem

Well c++ is working if I remember correctly

Can you check it?

Also check .hpp

The issue with the .c extension is that the language text is only C causing it to fail. large_image_text has to be at least 2 characters long.

Oh I didn't know that, gonna fix soon:tm:


ose versions in tests being respected

While looking into an upgrade issue here I fired up a test with this environment:
{
  "name": "ocp-cluster-environment",
  "description": "",
  "cookbook_versions": {},
  "json_class": "Chef::Environment",
  "chef_type": "environment",
  "default_attributes": {},
  "override_attributes": {
    "cookbook-openshift3": {
      "deploy_dnsmasq": true,
      "ose_major_version": "1.4",
      "master_servers": [
        {
          "fqdn": "master1.vagrant.test",
          "ipaddress": "<IP_ADDRESS>"
        }
      ],
      "node_servers": [
        {
          "fqdn": "node1.vagrant.test",
          "ipaddress": "<IP_ADDRESS>",
          "labels": "region=infra"
        },
        {
          "fqdn": "node2.vagrant.test",
          "ipaddress": "<IP_ADDRESS>",
          "labels": "region=user"
        }
      ],
      "openshift_deployment_type": "origin",
      "openshift_hosted_managed_router": false,
      "openshift_hosted_managed_registry": false
    }
  }
}

and although 1.4 is set, 1.5 is installed.
It may be that these tests are misconfigured - either way I need to determine as it may be that, and/or docs.
Am running more tests, and plan to add a test to check the version is what we expect.

Setting the ose_version in environment.json triggers a version error when re-running chef.

You have to specify both ose_version and ose_major version. If ose_version is not set, then the latest packages from centos paas repository is installed, which is v1.5.0.
See https://github.com/IshentRas/cookbook-openshift3/blob/master/test/roles/openshift3-base-ose14.json for example role which setups OSE 1.4.x environment.

The multi_node_separate_etcd does have it set:
      "ose_major_version": "{{ cfg['ose_major_version'] }}",
      "ose_version": "{{ cfg['ose_version'] }}",

so this is a problem just with the environment.json in the quick test.


Cleanup README

Just realized the README is super out of date, should clean it up before a release, so adding this issue so I don't forget.

Closed by #156


Could not find any dockerfile for cvat_ui

My actions before raising this issue

[ X] Read/searched the docs
[ X] Searched past issues

I generally want to add my new GUI components. For that I need to rebuild the docker image. I couldn't find any dockerfile to do so. Or is there any other way of extending the GUI of CVAT.
There is a way to rebuild mentioned in the following issue but it does not work.
https://github.com/opencv/cvat/issues/4933

Hi @mindgarage-shan, for cvat/ui image we Dockerfile.ui that you can find in our root directory: https://github.com/opencv/cvat/blob/6b747b458a478b062795e65bc3b1efcfb60dc944/Dockerfile.ui

Thanks for the answer; the mentioned docker runs on port 8081; I am not sure; shall we change the port internally somewhere?
The main question, however, is, there are trackers, detectors, and interactions in the magic stick. I want to add one more there.
I did it. But when I rebuild, it downloads the cvat_ui image with the same hash as the original, and I don't see any change.

To build your local version of cvat/ui image add docker-compose.dev.yml when you runs cvat instance with docker-compose

Hi @kirill-sizov, I provide all the details as follows
My actions before raising this issue

[X] Read/searched the docs
[X] Searched past issues

I am trying to create a new tab for the automatic labeling function by modifying cvat-ui/src/components/annotation-page/standard-workspace/controls-side-bar/tools-control.tsx and cvat-core/src/enums.ts.
I run the following command, but nothing change in the UI:

docker-compose -f docker-compose.yml -f docker-compose.dev.yml build
CVAT_VERSION=dev docker-compose pull

Expected Behaviour

When hover to the magic wand, it should have a new tab "Dummy Tab" next to Tracker tab.
Current Behaviour

It only appears default models.(Interactors, Detectors and Trackers)
Possible Solution

Steps to Reproduce (for bugs)

Add code to cvat-ui/src/components/annotation-page/standard-workspace/controls-side-bar/tools-control.tsx
-> In renderPopoverContent(), add
<Tabs.TabPane key='dummy_tab' tab='DummyModels'>
{this.renderLabelBlock()}
{this.renderVehicleBlock()}
</Tabs.TabPane>
Add code to cvat-core/src/enums.ts.
export enum ModelType {
DETECTOR = 'detector',
INTERACTOR = 'interactor',
TRACKER = 'tracker',
DUMMY_MODEL = 'dummy_model',
}
docker-compose -f docker-compose.yml -f docker-compose.dev.yml build
CVAT_VERSION=dev docker-compose pull

Context

The goal is to create a new automatic labeling function from other open-source models.
 No
Operating System and version (e.g. Linux, Windows, MacOS): 20.04.1-Ubuntu
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container


Release 0.10.0

https://stackoverflow.com/questions/9323596/placeholder-text-is-not-vertically-centered-in-safari/37799250#37799250


go install for github.com/google/go-tpm-tools/cmd/gotpm no longer works

Before, the gotpm CLI tool could be installed with one step:
go install github.com/google/go-tpm-tools/cmd/gotpm@latest

However, now this gives the error:
go: github.com/google/go-tpm-tools/cmd/gotpm@latest (in github.com/google/go-tpm-tools/cmd@v0.0.0-20220321192342-5dafd89db1a4):
	The go.mod file for the module providing named packages contains one or
	more replace directives. It must not contain directives that would cause
	it to be interpreted differently than if it were the main module.

This is because we have a replace directive here: https://github.com/google/go-tpm-tools/blob/5dafd89db1a42c20b4a0a1c32ced618c4be74864/cmd/go.mod#L12
The solution to this is probably to require go 1.18 and use Workspaces. This should also (hopefully) solve our problems with running go build/go test/etc... We might even be able to add this now, while keeping go 1.16 for building the existing module.

Just came to post about something similar, instructions say:
cd /my/path/to/cloned/go-tpm-tools
go build ./cmd/gotpm

but I now get
go: directory cmd/gotpm is outside main module

but I had to update it to the following:
pushd go-tpm-tools/cmd
go build ./gotpm

I think the following also works:
pushd go-tpm-tools/cmd/gotpm
go build

but binary is at cmd/gotpm/gotpm

@brpatel12 thanks for pointing this out. #181 should fix the instructions. Note that the older instructions should work now if you're using the latest branch and go 1.18


Is support available for TheBloke/Llama-2-70B-Chat-GGML

It is taking long time to answer in google colab T4 GPU .
from ctransformers import AutoModelForCausalLM
llm = AutoModelForCausalLM.from_pretrained("TheBloke/Llama-2-70B-Chat-GGML")
llm("what is ai")

Google Colab only provides around 16GB GPU memory which is not enough to load 70B models. So you should try with smaller models.
Also when using GPU you should specify gpu_layers. See example.


support INSERT DATA operation

Currently rdf-sparql-builder supports DELETE operation, would be really useful to support also INSERT DATA.
I'm open to create a PR for this :)

Sure, a PR is very welcome!

Done! My PR is ready #20, please take a look and let me know if I should change anything.


non-null field in map literal in class attribute does not render the map key in the list of classes

From https://github.com/dart-lang/fancy-syntax/issues/26
This treats null as false:

      <template if="{{company}}">

Does not show up, company is null

      </template>
However, when I put a non-null field into a map literal inside a class attribute, I don't see the map key in the list of classes:

 1, 'has-company': company, 'has-name': firstName} }}">
        Map-literal bindings result in a space-separated list of labels
        for truthy expressions.

In the above code, company is null, but firstName is not null. However, notice how all I see in the list of classes is 'rainbow'

Attachment:
6f325b06-0054-11e3-87e1-36dcb1ea0a60.png (37.95 KB)

This might be very stale.

This issue has been moved to dart-lang/polymer-dart#475.


Optimus to support deployment of multiple namespaces.

Currently optimus cli does support deployment of a single namespace, it would be better if the deploy command supports deploying of all namespaces within the project as well.

Duplicateed by https://github.com/odpf/optimus/issues/184


Retain scheme in LBClient.RibbonRequest URI - fixes #183

NetflixOSS » feign » feign-pull-requests #53 SUCCESS
This pull request looks good

Thanks for the help. I think we need a test for this, right? Can you port something like this into the ribbon test? That way future work doesn't undo yours. https://github.com/Netflix/feign/blob/master/core/src/test/java/feign/client/DefaultClientTest.java#L119

NetflixOSS » feign » feign-pull-requests #56 SUCCESS
This pull request looks good

Added a test to check the https connection works

hypernit on comment, also I'm trying to help us get more readable commit log. can you switch to this form?
Note using retains vs retain makes the commit log look like.
"this commit retains scheme in LBClient.RibbonRequest"
Retains scheme in LBClient.RibbonRequest URI

Before this change, we were dropping scheme, which prevented use of https.

closes #183
``

NetflixOSS » feign » feign-pull-requests #58 SUCCESS
This pull request looks good


"enable: false" does not works.

Hi, aderyabin.
I'm trying to disable some locales with .localer.yml.
BR, TR and AR are fine but zh-CN, zh-TW and de-CH does not works.
It seems that XX-YY locales does not works.
how do I disable it?
Thanks.

I'm having the same issue and think it's due to the Locale keys in .localer.yml being down-cased before being compared to the locales in the app, e.g. even if you put
Locale:
  zh-CN:
    Enabled: false

in your config, it'll be converted to zh-cn before being compared.  I'll submit a PR later, but in the meantime if you vendor the gem then change this line https://github.com/aderyabin/localer/blob/0b7bac9b2fd0ecec8bdb1c3a4ccd5fa2e6791b20/lib/localer/data/processor.rb#L21 to read
          next unless config.locale[locale.downcase].enabled

then it should do what you need.


Invalid identifier or password

Hi,
I have tried both my handle and email, with the regular passport. The password is correct as I have logged into the BlueSky account without any issues. But, I'm still getting the following error message: Invalid identifier or password from this webpage https://x.com/MIOIR/following.
Also, I have checked the chrome site permissions and they are correctly enabled.

Please note I created the BlueSky today via the mobile app. Will this affect anything?
Many thanks,
Holly

Thank you for your question! The handle seems to be correct. The only other issue to consider might be the password. Please create a new App Password and try again. You can create it here: https://bsky.app/settings/app-passwords

Thank you, that has worked now!


chore: Upgrade CI workflows to use non-deprecated runtimes

Description

The Release and Lock workflow are using an old version and hence a deprecated runtime (Node.js 12). Bumping these workflows will resolve the deprecation warning in the affected workflows.
Motivation and Context

Make sure that CI workflows uses non-deprecated runtimes.
Breaking Changes

None.

This PR is included in version 1.1.3 :tada:


direct-lvm with xfs causes Docker to hang when disk is full

Output of docker version:
Client:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5/1.9.1
 Built:
 OS/Arch:      linux/amd64

Server:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5/1.9.1
 Built:
 OS/Arch:      linux/amd64

Output of docker info (on a fresh host; an affected host does not respond to docker info):
Containers: 1
Images: 6
Server Version: 1.9.1
Storage Driver: devicemapper
 Pool Name: docker-docker--pool
 Pool Blocksize: 524.3 kB
 Base Device Size: 107.4 GB
 Backing Filesystem: xfs
 Data file:
 Metadata file:
 Data Space Used: 100.7 MB
 Data Space Total: 9.437 GB
 Data Space Available: 9.337 GB
 Metadata Space Used: 77.82 kB
 Metadata Space Total: 25.17 MB
 Metadata Space Available: 25.09 MB
 Udev Sync Supported: true
 Deferred Removal Enabled: true
 Deferred Deletion Enabled: true
 Deferred Deleted Device Count: 0
 Library Version: 1.02.93-RHEL7 (2015-01-28)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.1.17-22.30.amzn1.x86_64
Operating System: Amazon Linux AMI 2015.09
CPUs: 1
Total Memory: 995.6 MiB
Name: ip-172-31-34-29
ID: GO67:QAUR:ZN7D:LBC6:M366:GT2C:BQTV:F3UE:IMGD:YFNF:T37L:OQWC

Provide additional environment details (AWS, VirtualBox, physical, etc.): Amazon Linux AMI 2015.09.2 configured with a second EBS volume at /dev/xvdb and configured with direct LVM (using devicemapper) by docker-storage-setup.  By default, docker-storage-setup configures the thin pool originally sized at 40% of the available disk with an auto-extend policy, however the same behavior is exhibited when auto-extend is disabled and when lv_when_full is changed to error.
List the steps to reproduce the issue:

Configure Docker as described above (direct LVM with devicemapper using xfs)
Run containers to progressively consume disk (I seemed to have reasonable results using docker run ubuntu dd if=/dev/urandom of=sample.txt bs=64M count=1 iflag=fullblock) until the disk is full (alternately, run my repro script)
Try to do something with Docker (any of docker ps, docker info, docker run, docker stop, docker rm, docker images, docker rmi)

Describe the results you received:
Docker commands hang indefinitely.  dmesg fills with things like the following:
[ 3029.535199] device-mapper: thin: 253:2: reached low water mark for data device: sending event.
[ 3029.589706] device-mapper: thin: 253:2: switching pool to out-of-data-space mode
[ 3037.584626] vethac84d34: renamed from eth0
[ 3037.588339] docker0: port 2(vethd9e484d) entered disabled state
[ 3037.622172] docker0: port 2(vethd9e484d) entered disabled state
[ 3037.626293] device vethd9e484d left promiscuous mode
[ 3037.629420] docker0: port 2(vethd9e484d) entered disabled state
[ 3089.592091] device-mapper: thin: 253:2: switching pool to read-only mode
[ 3089.598147] Buffer I/O error on dev dm-4, logical block 144077, lost async page write
[ 3089.603304] Buffer I/O error on dev dm-4, logical block 144078, lost async page write
[ 3089.608669] Buffer I/O error on dev dm-4, logical block 144079, lost async page write
[ 3089.614565] Buffer I/O error on dev dm-4, logical block 144080, lost async page write
[ 3089.620112] Buffer I/O error on dev dm-4, logical block 144081, lost async page write
[ 3089.624919] Buffer I/O error on dev dm-4, logical block 144082, lost async page write
[ 3089.633141] Buffer I/O error on dev dm-4, logical block 144083, lost async page write
[ 3089.638389] Buffer I/O error on dev dm-4, logical block 144084, lost async page write
[ 3089.645177] Buffer I/O error on dev dm-4, logical block 144085, lost async page write
[ 3089.650294] Buffer I/O error on dev dm-4, logical block 144086, lost async page write
[ 3089.664084] XFS (dm-4): metadata I/O error: block 0x2c230 ("xfs_buf_iodone_callbacks") error 5 numblks 16
[ 3089.684777] XFS (dm-5): metadata I/O error: block 0x2c230 ("xfs_buf_iodone_callbacks") error 5 numblks 16
[ 3089.695953] XFS (dm-4): Unmounting Filesystem
[ 3089.703478] XFS (dm-4): metadata I/O error: block 0x2c230 ("xfs_buf_iodone_callbacks") error 5 numblks 16
[ 3089.710627] XFS (dm-5): metadata I/O error: block 0x2c230 ("xfs_buf_iodone_callbacks") error 5 numblks 16
...
[ 3150.336222] XFS (dm-6): metadata I/O error: block 0x2c230 ("xfs_buf_iodone_callbacks") error 5 numblks 16
[ 3240.180102] INFO: task docker:3312 blocked for more than 120 seconds.
[ 3240.184544]       Tainted: G            E   4.1.17-22.30.amzn1.x86_64 #1
[ 3240.189691] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 3240.195639] docker          D ffff880037d03d48     0  3312      1 0x00000000
[ 3240.200654]  ffff880037d03d48 ffff88003e321980 ffff88003745b300<PHONE_NUMBER>000246
[ 3240.206939]  ffff880037d04000 ffff88003d6aabe0 ffff880037e6cdc0 ffff880037e6cde8
[ 3240.212569]  ffff880037e6cd90 ffff880037d03d68 ffffffff814df3e7 ffff88003d6aabe0
[ 3240.218299] Call Trace:
[ 3240.219963]  [<ffffffff814df3e7>] schedule+0x37/0x90
[ 3240.223179]  [<ffffffffa048fb79>] xfs_ail_push_all_sync+0xa9/0xe0 [xfs]
[ 3240.227811]  [<ffffffff810aafc0>] ? prepare_to_wait_event+0x110/0x110
[ 3240.233513]  [<ffffffffa047b2e9>] xfs_unmountfs+0x59/0x170 [xfs]
[ 3240.239390]  [<ffffffffa047bdab>] ? xfs_mru_cache_destroy+0x6b/0x90 [xfs]
[ 3240.247251]  [<ffffffffa047dd36>] xfs_fs_put_super+0x36/0x90 [xfs]
[ 3240.252770]  [<ffffffff811ccb06>] generic_shutdown_super+0x76/0x100
[ 3240.256723]  [<ffffffff811ccea7>] kill_block_super+0x27/0x70
[ 3240.260913]  [<ffffffff811cd1b9>] deactivate_locked_super+0x49/0x80
[ 3240.265629]  [<ffffffff811cd7ae>] deactivate_super+0x4e/0x70
[ 3240.269797]  [<ffffffff811e9a63>] cleanup_mnt+0x43/0x90
[ 3240.274904]  [<ffffffff811e9b02>] __cleanup_mnt+0x12/0x20
[ 3240.279970]  [<ffffffff81085b97>] task_work_run+0xb7/0xf0
[ 3240.284063]  [<ffffffff81013bb1>] do_notify_resume+0x51/0x80
[ 3240.288751]  [<ffffffff814e35bc>] int_signal+0x12/0x17

Describe the results you expected:
Docker itself would continue to be responsive, but operations that consume space (pulling images, writing inside a container, etc) would fail.  This is the behavior observed when I switch to ext4 instead of xfs.

There's some talk which I think is related on the dm-devel mailing list and some general information on the things that are different about thin provisioning.

I think this is a duplicate or closely related to https://github.com/docker/docker/issues/20272

Currently I am aware of xfs issue where if thin pool gets full, then xfs might retry infinitely a failed IO hoping it will be successful. In normal scenarios, thin pool automatically grows and IO is successful. But when underlying disk is full and there is no space to grow pool, then IO does not succeed and xfs does not know about it and keeps on retrying.
People have suggested that configure storage properly and monitor it and don't let thin pool run out of space condition to avoid this situation.
Upstream one of the solutions proposed is tunable error behavior where a user can specify what do to when error is encountered. I think those patches are not upstream yet.
So while upstream finds a solution for the issue, in short term I think users need to keep a watch on their thin pool and backing storage and make sure it does not get full. Otherwise a reboot will be required. One shall have to add more disk space, grow thin pool, check/repair thin pool and restart
docker again.

So while upstream finds a solution for the issue, in short term I think users need to keep a watch on their thin pool and backing storage and make sure it does not get full.

This makes me question whether xfs is an appropriate default then.  There's nothing in the documentation suggesting that running out of space in the thin pool will cause your Docker daemon to hang (and potentially cause a kworker to chew through CPU), and Docker certainly does not take preemptive action to avoid such a situation when available disk is low.

One reason we had switched to xfs was that ext4 was taking lot of time during mkfs.ext4 on 100GB thin volume. While xfs did not as it created some of the data dynamically.
Now we have gone back to 10G default rootfs size. So going back to ext4 will be an option.
Or some people have suggested that introduce another knob in graph driver which denies new device
creation when pool does not have much space left. Say --storage-opt dm.min_free_space=1G. Now device mapper graph driver will fail pulling images or creating new containers etc. One could start existing containers and currently running container will continue to run.
This is also not fool proof though. As if an existing container decides to write data to rootfs and fill rest of the pool, at some point of time that container might hang waiting for IO to complete.

One reason we had switched to xfs was that ext4 was taking lot of time during mkfs.ext4 on 100GB thin volume. While xfs did not as it created some of the data dynamically.

Were there other reasons for switching to xfs as well or was this the only reason?

Or some people have suggested that introduce another knob in graph driver which denies new device
creation when pool does not have much space left. Say --storage-opt dm.min_free_space=1G. Now device mapper graph driver will fail pulling images or creating new containers etc. One could start existing containers and currently running container will continue to run.

Yes, that seems like it might be a good option here.

This is also not fool proof though. As if an existing container decides to write data to rootfs and fill rest of the pool, at some point of time that container might hang waiting for IO to complete.

That makes sense, but it would at least be an improvement.

CC @shishir-a412ed
shishir is looking into implementing a knob for devicemapper to stop creation of new device once free space falls below a threshold.

This "issue" couldn't be more improperly categorized.  By asserting "direct-lvm with xfs causes Docker to hang when disk is full" you've shown willful ignorance about why XFS degenerates to busy waiting when the thin-pool runs out of space.  And the reason boils down to improper configuration and reckless use of a finite resource.
First let me say that we'd love for this not to be an issue but the fact of the matter is it is a pitfall that has always been at the heart of why it is imperative for docker (and the admin) to be aware of:

the expected rate of change and use of free space
how much space is currently available

Admins cannot stuff 10 pounds into a 5 pound bag (of DM thinp on XFS) and expect things to gracefully halt with a message of "oh you wanted performance (which XFS has over ext4), etc but you didn't reason through proper resource allocation means for your use... please take a moment to think and act accordingly".  Simply put: Care must be taken to properly provision and then monitor the free space utilization over time.  XFS's existing behavior of spinning waiting for more space just happens to make this requirement much more cut throat.
Docker being aware of how much dm-thin-pool space is free and disallowing spinning up new containers, etc is a perfectly reasonable (and overdue) response to avoid the more problematic fault handling (e.g. XFS's busy waiting for more space that never gets added).  Just because ext4 can tolerate this case more gracefully doesn't mean users should be left to keep making the same mistakes over and over.  And in doing so: exposing themselves to error handling bugs that even ext4 is known to have had (at least historically).
In a properly provisioned, monitored and managed docker deployment this failure case should never present itself.  NEVER.  If it is then the admin has failed.  And docker quite likely has failed by allowing the admin enough rope to fail.  Regardless of which underlying filesystem is used.

This "issue" couldn't be more improperly categorized. By asserting "direct-lvm with xfs causes Docker to hang when disk is full" you've shown willful ignorance about why XFS degenerates to busy waiting when the thin-pool runs out of space.

My apologies.  I've attempted to learn as much as I can about XFS, devicemapper, LVM, and so forth recently and my (unwilling) ignorance is clearly coming across.

And the reason boils down to improper configuration and reckless use of a finite resource.

This sounds true.  Regardless, this is the recommended configuration in Docker's documentation on running devicemapper.

Admins cannot stuff 10 pounds into a 5 pound bag (of DM thinp on XFS) and expect things to gracefully halt [...]

Also sensible.  I think what's missing is that xfs is now the default since Docker 1.9.1 and this behavior is not documented anywhere for people who are unfamiliar with these pitfalls.

Apologies if my frustration came through... I've not been able to keep up with how each project documents the importance of properly configuring, monitoring and managing the free space that is relied on for forward progress.
But for docker setups that use DM thin-provisioning they should:

use lvm to setup the thin-pool that docker uses for container storage
configure lvm such that it will resize the thin-pool, from free space in the parent VG, once the lvm.conf configured threshold is crossed
the parent VG's free space must be monitored and replenished; otherwise the autoresize of the thin-pool that crossed the low water mark will not have more space to pull on when it needs it again

@samuelkarp I have written a patch which will start failing new device creation operation in thin pool once free data/metadata space in thin pool is below a specified threshold. Right now in-built default threshold is 20%. User can change it using dm.min_free_space_percent=X.
This does not completely solve the issue but I think this will help user detect this early that thin pool is about to get full better do something about it.
I came to know that lvm tools have similar behavior. They deny creation of new thin volumes if free space in thin pool is below a certain threshold.

@rhvgoyal I think that's a good idea.  However, if we're leaving xfs as the default I think it would also be appropriate to add documentation on what happens when your thin pool runs out of space with xfs.

Agreed that documenting xfs behavior on full thin pool is a good idea.

@vbatts Can this be reopened to track documentation on the behavior when xfs is used on the thin pool?

@snitm What is the resource you like to recommend to users that want to get started with administration of XFS-backed docker deployments?

I know I'm late to this, but I have to ask.  Are thin pools even the right solution for a production environment? How about just a normal LV that is monitored in the same way other partitions are monitored and alerts issued as space runs out.  I also don't see how this is an XFS specific issue.  I get that there is specific behavior that other file systems may not exhibit, but from where I sit, all bets are off when your computer runs out of a finite resource.
Has any one had their OS root partition run out of space?  Bad and unpredictable things happen in that case.    Ditto.
Why should Docker be expected to behave better than the underlying host OS or other applications?
I'll also admit that thin pools are a new feature for me, personally, but it seems they just kick the can down the road, and worse, give a false sense of security that disk utilization is "handled" that isn't warranted given that we are still managing a finite resource.
I guess I'm questioning the entire purpose of thin pools, because my concerns should not be restricted to Docker.

Just a word to the wise here, from a mishap that happened to me yesterday: if you ever find yourself painted in that particular corner, and you are unfortunate enough not to have your /var/lib/docker on a separate partition, do not reboot hoping that that will reclaim the space. It won't, at least not until you somehow boot up to a rescue image to run xfs_repair on your now completely wedged root filesystem ☹

@snitm I had created a PR for this new xfs tunable and it got merged.
https://github.com/docker/docker/pull/26212

This hit me again today (on 1.13.0). I am thrilled that it doesn't happen anywhere near as much (thanks to #20786), but it is still a concern with copy-on-write from a container. If this is a fundamental "this is just how XFS works" concern, is there a documented method of recovering?
Right now, the only thing I've been able to do is to give the thin pool a little more disk space (like 100MB) and then reboot. With the new space, dockerd at least starts, and then I can use docker rm / docker rmi to clean up.
Is there any other way to recover without nuking all docker storage from orbit and restarting?

power off system, add more space to volume group and then docker should start. Isn't it?

@rhvgoyal That works until the VG really runs out of space. That's why I was wondering if there is some other way to examine/clean that thin pool.

thin pool guys have told me that don't let thin pool get full. Otherwise bad things will happen and there are lots of corner cases.
That's the reason we block creation of new containers and pulling of new images if free space left is below threshold. In an attempt to bring this to user's notice.

devicemapper was deprecated and removed.
Let me close this ticket for now, as it looks like it went stale.


Computing percentage changes in the dynamic revenue decomposition table

In the output_tables.dynamic_revenue_decomposition function, the total percentage change in tax revenue is broken down into the percentage changes from:

Changes in tax rates
Behavioral responses (i.e., changes in labor supply and savings)
Macro economic effects (i.e., changes in interest rates and wages)

These changes are computed by create 4 series of revenue:
A. Baseline simulation tax revenue
B. Tax revenue with new tax rates, but the same behavior and wages and interest rates as in the baseline simulation
C. Tax revenue with new tax rates, new behavior, but the same wages and interest rates as in the baseline simulation
D. The reform simulation tax revenue
In its current form, the function computes the percentage changes in the following way:

Pct change due to tax rates =  (B-A)/A
Pct change due to behavior = (C-B)/B
Pct change due to macro = (D-C)/D
Overall pct change = (D-A)/D

In this way, the percentage changes can't be summed together to get the overall percentage change.  I think such adding up is a nice property.
Therefore, I propose we define the percentage changes as percentages relative to the baseline revenue:

Pct change due to tax rates =  (B-A)/A
Pct change due to behavior = (C-B)/A
Pct change due to macro = (D-C)/A
Overall pct change = (D-A)/A

Resolved with PR #986


profile page design and getUserStories request

TODO: connect the profile page in index page, post detailed, like list and comment list


Internal error occurred: failed to allocate a serviceIP: range is full

Can't deploy more than 252(around) Services because service-cluster-ip-range <IP_ADDRESS>/24 by default, which is 254 hosts.
So it runs out of ip address for the services.
To fix the problem I had to use service-cluster-ip-range=<IP_ADDRESS>/16 in microk8s-resources/default-args/kube-apiserver to increase the number of ip address. Also set IP according to the range in some other files.
It would be helpful if it is service-cluster-ip-range=<IP_ADDRESS>/16 by default.
microk8s inspect
inspection-report-20210120_043107.tar.gz

/var/snap/microk8s/current/args/kube-apiserver is the path for configuration file that needs to be modified


现有的ops界面，对比原来的admin界面，部分参数不展示了。

对比以前的dubbo-admin，部分参数看不到了。
如：pid,timeout参数等。

Sorry, because this issue was raised very early, we have closed it temporarily. You can verify whether this problem still exists in the latest code of the develop branch. If this problem still exists, please reopen it at any time.


Add macOS to the Github Action

I see you have old versions for macOS: https://github.com/GhostTroops/scan4all/blob/9a9e2d5b40ccb49074bbef3b7826a096102cfca8/Formula.rb#L4
Can you release the latest for macOS? or add Github Action to build for macOS as well?

Recent Releases failed.
https://github.com/GhostTroops/scan4all/actions

https://github.com/GhostTroops/scan4all/actions/runs/6978505999/job/18990029445
Run goreleaser/goreleaser-action@v2
Downloading https://github.com/goreleaser/goreleaser/releases/download/v1.22.1/goreleaser_Darwin_all.tar.gz
Extracting GoReleaser
/usr/bin/tar xz -C /Users/runner/work/_temp/7cbb8c22-bb8d-479c-8f5d-005a7fa5ba1e -f /Users/runner/work/_temp/44aa81f3-29ee-46dc-80d5-9e58c0f6575b
GoReleaser latest installed successfully
2.8.9 tag found for commit '9a9e2d5b'
/Users/runner/hostedtoolcache/goreleaser-action/1.22.1/x64/goreleaser release -f .github/build/mac.yml --clean
  • starting release...
  • loading                                          path=.github/build/mac.yml
  • loading environment variables
    • using token from $GITHUB_TOKEN
  • getting and validating git state
    • git state                                      commit=9a9e2d5b40ccb49074bbef3b7826a096102cfca8 branch=HEAD current_tag=2.8.9 previous_tag=2.8.8 dirty=true
    • took: 2s
  ⨯ release failed after 1s                  error=git is in a dirty state
Please check in your pipeline what can be changing the following files:
 M tools/The-Hacker-Recipes

Learn more at https://goreleaser.com/errors/dirty

It seems the Git submodule tools/The-Hacker-Recipes was dirty.
  ⨯ release failed after 1s                  error=git is in a dirty state
Please check in your pipeline what can be changing the following files:
 M tools/The-Hacker-Recipes

Learn more at https://goreleaser.com/errors/dirty

https://github.com/GhostTroops/scan4all/blob/9a9e2d5b40ccb49074bbef3b7826a096102cfca8/.gitmodules#L21-L24
I'm not sure why the submodule was dirty.

Thank you very much for finding and sharing these errors
Been busy recently
Have to wait some time

https://github.com/GhostTroops/scan4all/releases/

https://github.com/GhostTroops/scan4all/releases/

Could we also have aarch64? (for Apple Silicon)


METAMODEL-1224: Fixed PostgreSQL compatibility (upgrading driver+tests)

Reproduced the issue in METAMODEL-1224 and tried upgrading the driver. This fixed the issue it seems, so here's an updated test since a few error messages have been updated from the driver's side as well.
Also, with the old driver the underlying issue seems to be that the schema name comes out as blank. I'm not sure why, but probably just a driver-and-database version conflict. I updated the code to not generate queries with blank schema names, but in those cases follow the routes of not prefixing tables with schema names.

Updated as per PR review remarks


I18n.forceRTL is forcing rtl layout only on second app launch

Description
I have an App in hebrew that should force RTL layout even for LTR devices (curenty our interface is only in hebrew)
Using I18nManager.forceRTL(true) does the trick, but only after the scond app launch by the user.
So now when the akp is in production the user gets the following:
User download app from store -> user open app and get LTR Layout. -> user close app and remove from background -> user open app again and get desired RTL layout.
Solution
My guess would be that somehow we should run force RTL method before appRegistery, but not sure how to do it.
Alternativle and more desirable solution is to make forceRTL more dymanic, so user can switch layouts direxction without the need to relaunch app.

Well you could call forceRTL before you call the app registry. Does that work?
Alternatively you could try calling whatever forceRTL calls from native code.

@lacker I call forceRTL method before appRegistery, but in first run everything will be rendered  Left to Right.
Android only
how should I call  forceRTL in native code?

Hi @grmmph, did you get to solve this? I'm having the exact same issue and am trying to avoid changes to the native projects since i'm using Expo. thanks

Any solution yet? @lacker

if you are not using expo so you can use react-native-restart,
you can make a condition at the first like if !isRTL then make true and then restart.

Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:

Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.

If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.

This issue still occurs on RN 0.48

"expo": "^22.0.0",
"react": "16.0.0-alpha.12",
"react-native": "^0.48.4",

Still occurs

exact same issue

After a week finally i found a logicly way to solve this issue with using  Redux  & react-native-restart plugin. If you are interested you can check it on Stackoverflow

Still occurs

Had same problem, in android mainApplication:
@Override
public void onCreate() {
super.onCreate();
I18nUtil sharedI18nUtilInstance = I18nUtil.getInstance();
sharedI18nUtilInstance.forceRTL(this,true);
sharedI18nUtilInstance.allowRTL(this, true);
}
The problem solved

Also solved in IOS
@implementation AppDelegate

(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
NSURL *jsCodeLocation;
[[RCTI18nUtil sharedInstance] allowRTL:YES];
[[RCTI18nUtil sharedInstance] forceRTL:YES];

Still occurs on 0.55

any updates?

Editing native code is not a solution. It may work for RTL only apps but any app uses tow languages can't force RTL in native code.
The only solution I found is to use  react-native-restart, But It's very bad UX.

Where do you use react-native-restart code @HosamZewain ?
Because as you know the problem appear just in the first lunch and in the rest , the app works fine

I have two languages application (rtl, ltr). When I switch the language, the layout doesn't update after restart app. I have to click on the language again to flip the UI. This is annoying,


invalid value specified for graphical parameter "pin"

@poer-sophia I don't see where this is coming from:
Error in par(op) : invalid value specified for graphical parameter "pin"
Calls: heatmap -> par
Execution halted
mv: cannot stat 'heatmap.html': No such file or directory

Potentially the fix is

The problem is your setting for xlim:  map() wants xlim[1] < xlim[2]. Perhaps it could give a more informative error message...

When does this happen?

Heatmaply

cd /ngsssd1/rcug/wochenende_test/COPD_small2/reporting/haybaler/haybaler_output
bash runbatch_heatmaps.sh

There are so less chromosomes in the csv that the script tried to create a heatmap that is too samll or the pdf size is too small. I will set a minimum limit for the pdf size


Show vote info and choices on Tx explorer page

Create Vote Info table that displays on /explorer/tx/... for a ssgen.

Call APIDataSource.GetVoteInfo from explorerUI.txPage and execute the template with the vote info included in the existing template data struct.

Add vote bits to dcrdataapi.VoteInfo.

txhelpers.SSGenVoteChoices now returns vote bits too.

GetRawTransactionWithPrevOutAddresses returns *wire.MsgTx as new 4th output argument.

Addresses Issue https://github.com/dcrdata/dcrdata/issues/141, but we should consider improved styling.

nice! I'll see what I can do to make to match a bit more with https://voting.decred.org/ style

I like how that groups the Issue and Choice elements.

@RogueElement Good question.  It might get cramped on the block pages's vote table, but we could find a way to compress the information or at least show the vote bits, or maybe just the block validation part of the vote bits.
I think this is good for now though.  Would you mind raising an issue for that suggestion though?

normally I would use Squash and merge for more than 3 commits, but since there are multiple commiters, I'm going to rebase so everyone gets credit where credit's due.


Set missing morph target id for serialization

See https://forum.babylonjs.com/t/morph-target-id-not-loaded-from-gltf-model/54152.
Setting id to name in morph target constructor is analogous to what happens with scene nodes.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/15715/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15715/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15715/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15715/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15715/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15715/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15715/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15715/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15715/merge/testResults/webgpuplaywright/index.html

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15715/merge/testResults/webgl2playwright/index.html


Check Prime Number

Description
A prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself.
Input  : 5
Output : Prime Number

Program added successfully :tada:
Thanks for your contribution :hugs:


[Vertex AI] Switch to firebasevertexai.googleapis.com API

Switch to the new firebasevertexai.googleapis.com API. Both new and existing users must perform the Build with Gemini onboarding flow in the Firebase Console to use the updated API.
Note: If https://console.developers.google.com/apis/api/firebasevertexai.googleapis.com/overview shows Not Found or Permission Denied then the new API is not yet live. Please check back after the Firebase 11.4.0 launch.

@paulb777 @ncooke3 As a heads up, this will break the sample app in main until launch since it depends on firebase-ios-sdk as a local Swift Package. If you see any issues, feel free to assign me and/or suggest two temporary workarounds:

After cloning the repo, git checkout 11.3.0.
Instead of cloning, download a zip of the repo at 11.3.0.

Is this exactly the PR to revert if we need to extend the beta to past 11.4.0?

@paulb777 This PR and also https://github.com/firebase/firebase-ios-sdk/pull/13744.
I'll update the FirebaseManifest ahead of time so it's in a good state regardless.


Add property type hints to functional tests

Q
A

Type
improvement

BC Break
no

Fixed issues

Summary

Follow-up of https://github.com/doctrine/mongodb-odm/pull/2363, with this one tests/Doctrine/ODM/MongoDB/Tests/Functional files are free of missing property type hints.

Thanks @franmomu!


Fix broken auth for cloud metrics dashboards by switching to a subpath

What broke?

@m-bull
Because the shared cookie is removed with the auth stuff, having Grafana on a separate subdomain (metrics.* by default) no longer works.


Forum thread summaries broken when posts in the thread are deleted

When you post in a forum thread, and then delete the post, the thread's summary info breaks.

Create a thread,
Create a second post in the thread
View the forum index. Note the thread has 2 posts, all read.
Delete the second post in the thread.
View the forum index. Note the thread info is still showing 2 posts, 1 new. It also displays the author of the deleted post in the Last post: field.

It is impossible to clear the new post status, even when additional posts are made to the thread.
Here's an example thread with this issue on the beta site: https://beta.twitarr.com/forum/1ADC6E05-E873-4B16-96A0-51A86D009537

Fixed by commit 9377dbd917849e32abd16d82632ee67649de0677


HTF004S - Install Questions

Purchased a HTF004S - total noob with ESP Home.   After making the yaml and changing the blocks to reference my personal information, I am now stuck here "Install -> Manual download -> Beken OTA Image". The integration in HA seems to take me down this path "+ New Device --> "Name" --> "Skip This Step" --> Select device type --> BK72xx --> etc."  Is this the correct action or am i not in the correct place to see "Install -> Manual download -> Beken OTA Image"?

OK - figured it out - in my case i had to reinstall ESPhome, the initial install of the device was giving me an error of: "MissingPackageManifestError: Could not find one of 'package.json'".  Deleted ESPHome and the ESPHome folder - reinstalled and everything went great!  Thank you for this!

Your 1st question was more related to ESPHome. Glad you found a way to solve this.
Regarding your 2nd question, I'm not 100% positive on how to do it, but it shouldn't be too hard since the temperature comes directly as a hex value in F.
You probably can simply remove the "filters:" (and its lambda) element and change unit_of_measurement to "°F".
Let me know how it goes.

Editied yaml to
sensor:
  - platform: template
    id: "temp_fan"
    unit_of_measurement: "°F"
    name: "Air Temperature"

saved and installed with wireless method and everything is good!
Thank you for you work and your help!

Allright great, closing this issue then.


Sponsor names added

Partially fixes #1337
Changes: Added sponsor names along with sponsor images
Screenshots for the change:

@aayusharora @Princu7 please review.

@aayusharora done.


How do I suppress "Code analysis: undefined name '_'" warnings?

Description of your problem
What steps will reproduce the problem?

Install gettext on an application wide base (Localizing your application).
Use _('...') deliberately in your code.
The editor flags up each occurrence of _('...') as "Code analysis: undefined name '_'".

What is the expected output? What do you see instead?
It would be great, if these _('...') were not flagged up as errors.
Please provide any additional information below
Is there any # pylint: disable=... directive available to suppress these warnings? I searched the net but came up clear.
Versions and main components

Spyder Version: 3.2.3
Python Version: 3.5.2 64bit
Qt Version: 5.5.1
PyQt Version: 5.5.1
Operating system: Linux Mint 18.2 Sonya

Dependencies
IPython >=4.0    :  6.1.0 (OK)
cython >=0.21    :  None (NOK)
jedi >=0.9.0     :  0.10.2 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
numpy >=1.7      :  1.12.0 (OK)
pandas >=0.13.1  :  0.19.2 (OK)
psutil >=0.3     :  5.3.1 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.6.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.7.2 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
rope >=0.9.4     :  0.10.7 (OK)
sphinx >=0.6.6   :  1.6.3 (OK)
sympy >=0.7.3    :  1.0 (OK)

Is there any # pylint: disable=... directive available to suppress these warnings?

There probably is one, but we don't know about it.
To avoid this error you need to import _ from somewhere. That's what we do in Spyder:
https://github.com/spyder-ide/spyder/blob/3.x/spyder/plugins/ipythonconsole.py#L45

I'm closing this one because it's not a Spyder error, just a question, and we don't know the answer to it, sorry.


Add support for key/value storage and random generation in tests

https://github.com/Azure/autorest.powershell/issues/512

please run git rebase


Update 059-steering-text-paths.md

Implementation using Clojurescript and Quil (Clojure(script) library based on processing/p5).
Added some colouring of the particles based on their distance to their target location, as well as transitions between words.
Might be of interest to people trying to do this challenge in a functional manner rather than a more OO approach.
Enjoy!

Thank you!


Contribute this to upstream

It'll be great to improve the react-native create-library the command. Any plans to contribute this to upstream?

I would love that and this is definitely something I want to do, but I'm not sure if it's stable enough for that just yet.
The reason this is a separate repository is mostly because I wanted a "safe" space to experiment with some ideas and I wasn't sure if my approach might be too opinionated.

It would be helpful the generated project included a few example ReactMethods and simple implementations in Java, Objective-C, and Windows.
This would really help developers get going quickly and result in many new native modules being built:
My Wish List:

A ReactMethod version function that just returns a version string "1.2.3" or something.
A ReactMethod add math function that takes a ReadableMap as an input.

Input:
{
a: 4,
b: 2
}
and returns a map
Output:
{
a: 4,
b: 2,
result: 6
}

A ReactMethod demonstrating use of a callback
A ReactMethod demonstrating use of a Promise
An index.js to expose the example ReactMethod's to JS.
An /example/ app with a react-native project that uses all example ReactMethod's

Thank you for sharing your work!
I spent nearly 2-weeks just getting an Android native module and example project going by copying various patterns used by react-native-fs and others.  This tools will be a great help.
I may start all over using your tool since creating the iOS project could waste another week!


Translation Thai added

GPT-4 did a fine job, but these are where it reads weirdly.
i don't have the bandwidth to help with rewording this… maybe someone else can help.

Thank you so much @dtinth, I rewrote the translations with a new Thai text following the original english text.
I also accepted your suggestions.
🙏

Hello, thanks for the PR! Sorry I didn't see this earlier. I'll have a look at it tonight 👍

i'll have to ask what are you trying to convey because as I'm reading, though i kinda know what you are trying to say but i just think it's not exactly what Thai people would say
but i guess it's good enough.
overall is about be respectful to the guests and organizers because they sacrifice their free time to do this.

Hey @MartinSStewart, all the translations have been reviewed and reworked.
Happy to have this website serve the Thai community :)

Okay merged and I'll deploy it in a moment. Thanks for all of the help!


Feature Request: HEVC/H.265 Support

It would be nice to have support for other HEIF codecs in addition to the AVIF support that is already in place. I see that there are a few libraries which may be useful for this:

libde265
libheif which uses libde265
ffmpeg (which is using a fork of libde265)

I have also been trying to figure out if these would also work with hardware acceleration, e.g. with Intel CPUs, but I am a little unclear on this. There is some useful information on the Arch wiki here https://wiki.archlinux.org/title/Hardware_video_acceleration.
Thank you for putting together this package. It's been incredibly useful.

HEIF is on the horizon:
https://github.com/cgohlke/imagecodecs/blob/92a8620ac300fbeb77929cfa72bf78fd74584345/imagecodecs/imagecodecs.py#L449
https://github.com/cgohlke/imagecodecs/blob/92a8620ac300fbeb77929cfa72bf78fd74584345/setup.py#L153
I am trying to avoid LGPL licensed dependencies, which prevent to distribute static builds. I have not seen much use/traction of HEIF in other container formats (TIFF, zarr) and scientific imaging when compared to for example JPEG XL. What is your use case?

Thanks, that's great. I am interested in experimenting with use in TIFF or zarr. I find AVIF quite slow to encode, at least on my machines, and was interested in HEVC as I have read that the support for hardware acceleration is better.

On the plus side, it looks like the libde265 library is LGPGL. It may also be useful to have the intra-frame coding alone without the HEIF wrapper.

Ah yes it does appear to be decode only, that is unfortunate. I did also stumble across this library with is BSD licensed https://github.com/ultravideo/kvazaar but I am also unsure of the patent and licensing issues.

RE patents. It looks like royalties are paid based on the devices sold to end users with the first 100,000 devices/year paying no royalty for essential patents. Not sure how that works of a software package though. There is a summary here: https://www.mpegla.com/wp-content/uploads/HEVCweb.pdf

More discouraging news besides patents and GPL:

it seems x265 can be compiled for either 8-bit or 10-bit but not both -> heif_encode can either handle uint8 or uint16 input. Workaround is to provide two codecs, heif8 and heif10.
libheif does not support sequences/tracks or bursts, only top level images -> no inter-frame coding.

I'll probably include the heif codec source code with the next release, but not provide binaries or further support unless something fundamentally improves.

Thanks for the update. That is a shame. Happy to test out using the codec from source if you need a guinnea pig though.

A HEIF codec (source code only) is in v2022.7.27.


the trait hyper::header::HeaderFormat is not implemented

Trying to compile with stable, beta or nightly gives me this error:
src/main.rs:84:56: 84:86 error: the trait `hyper::header::Header` is not implemented for the type `hyper::header::common::authorization::Authorization<hyper::header::common::authorization::Bearer>` [E0277]
src/main.rs:84         let auth_header = match request.origin.headers.get::<Authorization<Bearer>>() {
                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main.rs:84:56: 84:86 help: run `rustc --explain E0277` to see a detailed explanation
src/main.rs:84:56: 84:86 error: the trait `hyper::header::HeaderFormat` is not implemented for the type `hyper::header::common::authorization::Authorization<hyper::header::common::authorization::Bearer>` [E0277]
src/main.rs:84         let auth_header = match request.origin.headers.get::<Authorization<Bearer>>() {
                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main.rs:84:56: 84:86 help: run `rustc --explain E0277` to see a detailed explanation
error: aborting due to 2 previous errors
Could not compile `rust-users`.

Same for me. I tried explicitly setting different versions of nickel and hyper in the Cargo.toml, but no change.

This question was cross-posted to Stack Overflow.


Reentering maps.mesh induces cache misses for pjit

Entering a maps.mesh context creates a new Mesh object which leads to cache miss and makes functions like pjit be retraced. Issue arises from Mesh object created in: https://source.corp.google.com/piper///depot/google3/third_party/py/jax/experimental/maps.py;l=154?q=jax maps Mesh
original report from @andresusanopinto
Repro:
import jax
import numpy as np
from jax import numpy as jnp
from jax.experimental import pjit
from jax.experimental import maps

num_traces = 0

def f(x):
  global num_traces
  num_traces += 1
  return 2*x

pjit_f = pjit.pjit(f, None, None)

a = jnp.array(1.0)
device_mesh = np.array(jax.local_devices()).reshape([4, 2])

with maps.mesh(device_mesh, ("a", "b")):
  pjit_f(a)
  pjit_f(a)
  assert num_traces == 1

with maps.mesh(device_mesh, ("a", "b")):
  pjit_f(a)
  assert num_traces == 2  # Expected 1

unable to run this code on colab tpu: get the following error: RuntimeError: Unimplemented: Only 1 computation per replica supported, 8 requested.


Cameras only work in Homekit when armed away

I can only seem to get the cameras to work when I arm them away. Otherwise they just show as disabled in Homekit even though they are enabled.

i can't get them to work in in the Away mode... :(.


Bug: Not working with Bun?

Describe the bug
I'm running the following code with bun(version 0.7.0)
import { Surreal } from 'surrealdb.js';

console.log("foo");
const db = new Surreal('http://<IP_ADDRESS>:8000/rpc', {
  // Set the namespace and database for the connection
  ns: 'test',
  db: 'test',

  // Set the authentication details for the connection
  auth: {
      user: 'root',
      pass: 'root',
  },
});

await db.info();
console.log("bar"); //this is never hit

The surrealdb logs are as follows:

Steps to reproduce
Install bun.
Install surrealdb
bun add surrealdb.js
surreal start --log trace --user root --pass root memory
copy the minimal example to file
bun run index.ts
Expected behaviour
To be able to connect to the DB from typescript within Bun.
SurrealDB version
1.0.0-beta.9+20230402.5eafebd for linux on x86_6
SurrealDB.js version
^0.8.3
Contact Details
No response
Is there an existing issue for this?

[X] I have searched the existing issues

Code of Conduct

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

I did attempt this with a try catch block as well, but no ever was ever caught and it would still hang at the info or any other execution method.

This issue does not affect the ExperimentalSurrealHTTP this functions as normal :)

Hi @gluax, we actually run tests against bun. The only known issue there is that the awaiting the closing of the websocket will run forever, looking into that soon. Will also have a look at this, it should work just fine...

I have a similar issue when using Bun, I get 2023-08-22 22:30:08 2023-08-22T20:30:08.902561Z TRACE surrealdb::net: RPC Received: { id: '1259', method: 'ping', params: [] } ](surrealdb::net: WebSocket error: Io(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }))
and my promise from, the operation waits infinity. However, the same code using node works peferkt.

Hi @gluax, we actually run tests against bun. The only known issue there is that the awaiting the closing of the websocket will run forever, looking into that soon. Will also have a look at this, it should work just fine...

@kearfy Hey, I'm on Bun 0.7.3, surreal 1.0.0-beta.9+20230820.b350f05 and surrealdb.js 0.8.4 and mine just hangs. You manage to find a fix?

Bun 1.0 just released and still the same issue.

I looked at the source code, and it seems the experimental http version works with Bun run!
There's no documentation on it, but something like this should work.
const { ExperimentalSurrealHTTP } = require('surrealdb.js');
const db = new ExperimentalSurrealHTTP();

async function main() {
	try {
		await db.connect('http://<IP_ADDRESS>:8000/rpc', {});
		// Select a specific namespace / database
		await db.use({ns: 'test', db: 'test'});

		// Create a new person with a random id
		let created = await db.create("person", {
			title: 'Founder & CEO',
			name: {
				first: 'Tobie',
				last: 'Morgan Hitchcock',
			},
			marketing: true,
			identifier: Math.random().toString(36).slice(2, 12),
		});

		// Update a person record with a specific id
		let updated = await db.merge("person:jaime", {
			marketing: true,
		});

		// Select all people records
		let people = await db.select("person");

		// Perform a custom advanced query
		let groups = await db.query('SELECT marketing, count() FROM type::table($tb) GROUP BY marketing', {
			tb: 'person',
		});

		console.log(people);
		console.log(groups);

	} catch (e) {
		console.error('ERROR', e);
	}
}

main();```

For me, the one-shot constructor worked and the above did not.
import {ExperimentalSurrealHTTP} from 'surrealdb.js'

const surreal = new ExperimentalSurrealHTTP()

await surreal.connect('http://localhost:8000/rpc', {auth: {user: 'root', pass: 'root'}, ns: 'test', db: 'test'})

Hey everyone, as per the bun docs, their websocket implementation is still experimental and it does not properly pass all test suites. The broken pipe error is something that the JS side of things does not influence and really rather is an issue in Bun's websocket implementation. I'm afraid I can't make it any better for the moment! Will leave the issue open however

This is a bug in Bun, not surrealdb. Our WebSocket client has some issues. We should open a tracking issue in Bun's repo so we don't forget about it though.

https://github.com/oven-sh/bun/issues/5434

This is now working for us in bun 1.0.15 as they have updated their websocket client

I tried yesterday and surreal.js it's working but surreal.node gave me error

@burakakca I recommend using surreal.js with websockets for Bun, I haven't run into any issues w/ it

@kearfy This is good to close isn't it unless there's more issues with surrealdb.js on bun?
If its a issue with surreal.node then that should be in the https://github.com/surrealdb/surrealdb.node repo?


Race condition with notification reporting

This is a retroactively-filed issue just to record what happened.
Discussions with @DrDaveD led me to find that in the case of routing notifications.Notification objects, we were only routing the first such Notification, and reporting it, and all other errors were unreported.

Figured out that I introduced said bug in https://github.com/shreyb/managed-tokens/commit/70eb44cda758b5076c60bb6ed8f61b23586cbc13.  I was trying to support context cancellation within the notification routing, but left off the for bit of the for...select bit.
Upon further reflection, it's better to range over the channel, and just use a select...case..default for each iteration.
Mocked up a fix here:
https://go.dev/play/p/MgnnxXd7kkv
Implemented fix in fd7b3b3


[feature]: implement a schema module

Contact Details
<EMAIL_ADDRESS>What is the feature you'd like to see?
Here we want to implement Schema module on the ledger side.
There is an ADR which is not finished yet, but it can be used as a first step.
https://github.com/cheqd/cheqd-node/blob/main/architecture/adr-list/adr-008-identity-resources.md
Link for context
https://w3c.github.io/did-core/
Relevant log output
No response
Code of Conduct

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

https://github.com/cheqd/cheqd-node/pull/330