how should i issue cmds like 'get' after subscribe

The requirement is to implement a writer and reader, both of them are clients.
1.reader subscribe msg of channel, say XXX;
2.writer update data on redis server, and publish on the channel XXX;
2.reader receive msg on the channel XXX, and issue other cmds.
The problem here is that there is a limit that other cmds can not be issued after subscribe.
How should i do in this situation?
thks!

Hey,
There are a number of ways to do this, but honestly it depends on a lot of things :smiley:.  For instance, is your producer and consumer going to live in one process or will they be separate?
Assuming they are separate processes, the most trivial way to issue commands based on the publish messages you receive is to simply use two context objects.
Essentially, you would create two context objects (one for the subscribe loop, and one to execute commands):
redisContext *readctx = redisConnect("<IP_ADDRESS>", 6379);
redisContext *writectx = redisConnect("<IP_ADDRESS>", 6379);

Then, you can read messages in a subscribe loop, and use your writectx variable to execute commands.
redisReply *readreply = redisCommand(readctx, "subscribe %s", "foo");
if (!readreply || readctx->err) {
    fprintf(stderr, "Can't subscribe\n");
    exit(1);
}

freeReplyObject(readreply);

while (redisGetReply(readctx, (void*)&readreply) == REDIS_OK) {
    /* Validate your message, and figure out what you need to execute */
    /* Then use your writectx to send commands */
}

You could also use the hiredis async capabilities with the event library of your choosing.  There are examples in for a variety of different libraries in the source tree.
Cheers
Mike

What if they live in one process?

There is another problem.
I found reader reading quite slow for 320,000 simple key-value data while using sync APIs.
Could this be any faster?
`    //subscribe
redisReply *subreply = redisCommand(subs_ctx, "subscribe %s", PSCHNL);
if (!subreply || subs_ctx->err) {
fprintf(stderr, "Can't subscribe\n");
exit(1);
}
freeReplyObject(subreply);
int mtid = 0;
while (redisGetReply(subs_ctx, (void*)&subreply) == REDIS_OK) {
    //get msg from pubsub channel
    freeReplyObject(subreply);

    //read
    for(int keyid = 0; keyid < MAX_UPDATE_EVERY_MT; keyid++) {
        sprintf(key, "%s%d/%s%d", MT_ID, mtid, MT_PRE, keyid);
        sprintf(val, "%s%d%d", "val", mtid, keyid);
        redisReply* readreply = get(read_ctx, key);
        assert(strcmp(readreply->str, val) == 0);
    }

    printf("read meeting complete: %d ", mtid);
    gettime();
    mtid++;
}`

I found reader reading quite slow for 320,000 simple key-value data while using sync APIs.

You want to pipeline something like that, which is easy to do in hiredis.  Specifically you want to use the redisAppendCommand function(s).  Here is a simple example:
Non pipelined:
/* This will send and retrieve one key at a time */
int main(void) {
    redisContext *reader;
    redisReply *reply;
    char val[255];
    int i;

    reader = redisConnect("<IP_ADDRESS>", 6379);

    for (i = 0; i < 320000; i++) {
        reply = redisCommand(reader, "GET key:%d", i);
        sprintf(val, "val:%d", i);
        assert(strcmp(reply->str, val) == 0);
    }

    redisFree(reader);
}

Pipelined:
#include <stdio.h>
#include <string.h>
#include <hiredis/hiredis.h>
#include <assert.h>

/* This will send every GET command, then read them all back at once */
int main(void) {
    redisContext *reader;
    redisReply *reply;
    char val[255];
    int i;

    reader = redisConnect("<IP_ADDRESS>", 6379);

    for (i = 0; i < 320000; i++) {
        redisAppendCommand(reader, "GET key:%d", i);
    }

    for (i = 0; i < 320000 && redisGetReply(reader, (void*)&reply) == REDIS_OK; i++) {
        sprintf(val, "val:%d", i);
        assert(strcmp(reply->str, val) == 0);
        freeReplyObject(reply);
    }

    redisFree(reader);
}

./slowread  1.88s user 3.24s system 36% cpu 14.180 total
./fastread  0.59s user 0.02s system 32% cpu 1.853 total

I do recommend reading through the hiredis documentation as a lot of this is explained there.  :smiley_cat:

You mean the file README in the project? I have read it yesterday and tested the piplined coed, it is good!!!
thks.

redisReply *readreply = redisCommand(readctx, "subscribe %s", "foo");
if (!readreply || readctx->err) {
    fprintf(stderr, "Can't subscribe\n");
    exit(1);
}

freeReplyObject(readreply);

while (redisGetReply(readctx, (void*)&readreply) == REDIS_OK) {
    /* Validate your message, and figure out what you need to execute */
    /* Then use your writectx to send commands */
}

I am also using something like this , but i never receive the message sent from publish command ?
pRedisReply->str is always NULL ?
I am using redis-cli.exe to publish like publish foo "hello there..."

redisReply *readreply = redisCommand(readctx, "subscribe %s", "foo");
if (!readreply || readctx->err) {
fprintf(stderr, "Can't subscribe\n");
exit(1);
}
freeReplyObject(readreply);
while (redisGetReply(readctx, (void*)&readreply) == REDIS_OK) {
/* Validate your message, and figure out what you need to execute /
/ Then use your writectx to send commands */
}
I am also using something like this , but i never receive the message sent from publish command ?
pRedisReply->str is always NULL ?
I am using redis-cli.exe to publish like publish foo "hello there..."

Has anyone managed to achieve this? I too have a similar code, but I am not even getting the callback for the second publish.
Basically I have created two redis contexts say, rediscontext1 and rediscontext2. And from rediscontext1 I am subscribing for two channels and defined two different callback functions and from main function I am publishing to channel1 and eventually I get a callback on callback1() function and from within this function I am publishing for channel2 and expecting a callback on callback2() function which is not happening.
any suggestions?
Pseudo code:
`
void callback1()
{
……
redis_context2->publish(channel2)
waiting on Linux msgrcv funciton
}
void callback2()
{
……
sends message using msgsnd function which will be received by callback1
}
int main()
{
redis_context1 = redis connect
redis_context2 = redis connect
redis_context1->subscribe(channel1, callback1)
redis_context1->subscribe(channel2, callback2)
redis_context1->publish(channel1)
}
`


Make instructions panels associated with [?] for time-tree, beadplot, etc.

Made some progress on this in dev branch.


Option to delete previously made comments on a pull request

A use case we have is to make comments as a CI bot on a pull request, such as output of Terraform plan to know what will be applied if the pull request is merged.
Example pipeline snippet:
on_success:
      put: pull-request
      params
          path: pull-request
          status: success
          comment_file: github-comment/comment.txt

Comments can become outdated as changes are made to the pull request, since this verification runs on every commit. It would be nice to have a boolean option on put that would delete past comments made on the pull request by this resource. This would make sure only the latest information from CI is present on a pull request.
Example pipeline snippet:
on_success:
      put: pull-request
      params
          path: pull-request
          status: success
          comment_file: github-comment/comment.txt
          only_latest_comment: true

Wondering what thoughts are on a feature like this.

Hi @rcoy-v! I think this would be a very useful feature to have as well; happy to review a PR to add it 🙌


gdrivefs url has been changed

gdrivefs is moved at https://github.com/smacke/gdrivefs
correct README.md

Fixed in 2589a238b2d093a3e9ad682c660b0ed1dd1a5961.


Jinja template throws error name with alternatives

In _fixtures I have defined light as:
entities:
  - name: "(Lamp(a|y|u)|lampičk(a|y|u)|světl(o|a)) ložnice"
    id: light.bedroom_lamp
    area: bedroom
    attributes:
      device_class: light
    state:
      in: "zapnutá"
      out: "on"

When I ask a state for this light an error will occur:
python3 -m script.intentfest parse --language cs --sentence "v jakém stavu je lampička ložnice?"
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/workspaces/intents/script/intentfest/__main__.py", line 29, in <module>
    sys.exit(main())
  File "/workspaces/intents/script/intentfest/__main__.py", line 24, in main
    return module.run()
  File "/workspaces/intents/script/intentfest/parse.py", line 89, in run
    render_response(response_template, result, matched, unmatched)
  File "/workspaces/intents/shared/__init__.py", line 156, in render_response
    return env.from_string(response_template).render(
  File "/home/vscode/.local/lib/python3.10/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/home/vscode/.local/lib/python3.10/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 1, in top-level template code
jinja2.exceptions.UndefinedError: 'None' has no attribute 'state_with_unit'

If I change name of the entity to simple lampička ložnice everything will proceed without error.
Alternatives are needed as for other commands such as turn on or off, dimming or changing color - we are using other grammar case.

Do you have a sentence template I can use to test this with?
Also, why is the device_class of the test entity set to light?

Do you have a sentence template I can use to test this with?
Also, why is the device_class of the test entity set to light?

language: cs
intents:
  HassGetState:
    data:
      - sentences:
          - "v jakém stavu [<area>] je {name}"
        response: one

      - sentences:
          - "Svítí {name} [<area>]"
        response: one_light
        slots:
          domain: light

      - sentences:
          - "je {name} [<area>] {on_off_states:state}"
        response: one_yesno
        excludes_context:
          domain:
            - cover

      - sentences:
          - "jsou někter(é|á|ý) {on_off_domains:domain} [<area>] {on_off_states:state}"
        response: any

      - sentences:
          - "jsou všechn(a|y) [<area>] {on_off_domains:domain} {on_off_states:state}"
        response: all

      - sentences:
          - "kter(á|é) {on_off_domains:domain} (jsou|je) [<area>] {on_off_states:state}"
        response: which

      - sentences:
          - "kolik {on_off_domains:domain} (je|jsou) [<area>] {on_off_states:state}"
        response: how_many

Should be fixed by: https://github.com/home-assistant/intents/pull/1076


Added "follow system" option to theme toggle

The theme toggle button now has a third option, which follows the user's system preferences.

In the code there's now a distinction between the theme setting (which can be "dark", "light" or "system") and the computed theme.
The theme setting is now stored as the "theme-setting" local storage variable. Since this is different from the old variable ("theme"), this will effectively reset all current user themes to the default "system". Maybe this is not what you want.
The "system" theme icon is currently a half circle symbol.
The toggle button now displays the current theme setting, rather than the next theme setting (as far as I know this is consistent with other sites which have three theme options).
theme.js is now loaded regardless of site.enable_darkmode. This is because other scripts which were always loaded relied on being able to determine the theme. theme.js no longer initialises the theme itself though; this only happens when site.enable_darkmode.
When the theme setting is "system", the theme will change immediately whenever the user changes their system theme.

#2261

Thanks for your solution. My only issue here is about the icon, but not really sure how to fix this. Usually the current icon is used as contrast, but the moon-over-sun icon is pro only. What do you think @alshedivat?

Just give a thought about this, and one possible solution to keep the icons consistent between them is to use another iconset for this specific part. What do you guys think about using tabler icons? More specifically, moon, sun, and sun-moon. It looks like this in the template:

And it also supports usage via scss, so after purgecss does its part, only the used icons will be kept on the final css file.

Yes, it is not the prettiest one, but at least keeps the consistency in the icons. I will apply the changes and wait for @alshedivat feedback.

How to toggle between only light and dark mode?
I dont want this:

Can you ask this in Q&A? This PR was already merged, also there it is easier for more people to find it.


feat (Mathlib.Topology.MetricSpace.ThickenedIndicator): Add convergence of plain old indicators.

Add lemmas tendsto_indicator_thickening_indicator_closure and tendsto_indicator_cthickening_indicator_closure.
Co-authored-by: @sgouezel and @urkud

This was PR mathlib3#17648. There were reviews by @sgouezel and @urkud, but I temporarily abandoned the PR during the semester and the ongoing port to Mathlib4. This Mathlib4 PR takes into account the review comments from the mathlib3 PR.

My involvement into the filter cult forces me to mention that the "true" underlying result is that, in a regular space, Set.indicator tends to Set.indicator (closure E) along the filter (𝓝ˢ E).smallSets ⊓ 𝓟 (𝒫 E), and that you can deduce your result using the fact that Metric.thickening tends to this filter along 𝓝 0 :grin: That wouldn't actually require that much new API, but of course I don't want to hold this PR for that at all!

I had indeed implemented only those suggested generalizations in the mathlib3 PR which were provable, and left two unprovable ones unproven (and since Sébastien had also used a very different tone in the unprovable ones, I interpreted them more as rhetorical questions for contrast in the first place).

Since you didn't answer I assumed that you missed these comments, sorry for the misunderstanding! Now at least we have a written explanation we can link to if needed.

I hope the file also makes it evident that the chosen formulations were deliberate, for example by the different use "as δ tends to zero" vs "as δ>0 tends to zero" in the docstrings.

Yes that should be fine.

Thanks!
maintainer merge

bors r+
Thanks!


Update portal.json

new update, portuguese native here

Hey @chicodurden21,
Thanks for the contribution :) As a general rule of thumb, we prefer using the formal "you" form in these translations, as these are directed towards readers of any Ghost publication.
Given that new piece of context, could you review the existing Portuguese translations and adapt your PR?
Thanks!

just submitted a new pull request


fix: typos in documentation files

This pull request contains changes to improve clarity, correctness and structure.
Description correction:
Corrected "pesudorandom" to "pseudorandom" and added hyphens in words.
Please review the changes and let me know if any additional changes are needed.

@Ancient123 Hi! Apologies for the inconvenience. I just wanted to check if there’s anything I can improve in my pull request. Please feel free to ask any questions or let me know if any changes are needed to meet the project's merge requirements. I’m happy to make adjustments!

Hi @leopardracer , thanks for your PR. However, we don't accept typo-fixing PR as we will have bot auto-fixing them periodically.
Thanks for your understanding and initiative.


Update codecs version

Update codecs version

I took a crack at the failing tests. Jest needed to be upgraded to support package.json exports, but now it's giving a different error that I can't figure out how to fix.

@cgorman updated. Have you tested it locally with SLIM?

@cgorman updated. Have you tested it locally with SLIM?

@igoroctaviano Yup! Just did it again and it works mostly well. When running npm link in the slim repo I do get these errors
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react-scripts
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/craco-less
npm ERR!     dev<EMAIL_ADDRESS>from the root project
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@craco/craco
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/craco-less
npm ERR!     dev<EMAIL_ADDRESS>from the root project
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/react-scripts
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@craco/craco
npm ERR!     peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!       dev<EMAIL_ADDRESS>from the root project
npm ERR!     dev<EMAIL_ADDRESS>from the root project
npm ERR!

Is this something to fix in the slim repo or this one? Running link with --force works fine but I'm sure this will come up when I try to bump the dependency in slim. Other than that the decoding errors are fixed so we should be good to go!

@cgorman updated. Have you tested it locally with SLIM?

@igoroctaviano Yup! Just did it again and it works mostly well. When running npm link in the slim repo I do get these errors
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react-scripts
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/craco-less
npm ERR!     dev<EMAIL_ADDRESS>from the root project
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@craco/craco
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/craco-less
npm ERR!     dev<EMAIL_ADDRESS>from the root project
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/react-scripts
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@craco/craco
npm ERR!     peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!       dev<EMAIL_ADDRESS>from the root project
npm ERR!     dev<EMAIL_ADDRESS>from the root project
npm ERR!

Is this something to fix in the slim repo or this one? Running link with --force works fine but I'm sure this will come up when I try to bump the dependency in slim. Other than that the decoding errors are fixed so we should be good to go!

It happened after these changes or was like that before?

It happened after these changes or was like that before?

Oh good catch, yes I just tried with the master branch and it also happened so false alarm.
Do we need to commit the updated package-lock.json?

It happened after these changes or was like that before?

Oh good catch, yes I just tried with the master branch and it also happened so false alarm.
Do we need to commit the updated package-lock.json?

Yes, we need to update the lock to point to the newer versions.

No concerns from me. Thanks for the help @igoroctaviano!

It seems I lack access to deploy github pages so we can't merge? @hackermd looks like you were the last person to do that successfully, could you lend a hand?

It seems I lack access to deploy github pages so we can't merge? @hackermd looks like you were the last person to do that successfully, could you lend a hand?

I am not sure what is causing this issue. The deployment of gh-pages appeared to be successfully, so it's unclear why that blocked merging. For now, I have unchecked the deployment requirement in the branch protection rules.


What type of update are you requesting?
A new version of an existing package
Current Package Identifier
Parsec.Parsec
Package Version
<IP_ADDRESS>
Please describe the changes you would like to see
Winget infos (at ticket creation date)
Version 150-90d
Hash :
New version :
Source : https://builds.parsec.app/package/parsec-windows.exe (same as now.)
PackageVersion: <IP_ADDRESS>

Wingetbot has been suggesting this version for some time, but the version schema change hadn't been verified before now.


Create a native 'autocomplete' type for afQuickfield in AutoForm that is Bootstrap themed.

Problem
In 2020 and beyond, autocomplete input fields are a common pattern for data-intensive form completion, but there is no native solution in the AutoForm boilerplate. Many of today's applications require "rich" input experience that can quickly provide suggestions filtered from already existing entries in the database, or an enumerable list of options. Using a "select" for everything is very cumbersome, especially as the list of possible solutions to the text matching enumerable entries exceeds the available area of the UI viewport, such as on Mobile devices. The existing autocomplete and typeahead "add-ons" are outdated and don't conform to the v7 API design, pull in external dependencies, and don't support Bootstrap 4 and beyond.
Solution
Generally, rather than rely exclusively on select dropdown elements, a proper experience leverages a "text" input field that offers a list of autocomplete solutions matching the input text (the needle) with a datum (the haystack) using one or more user-defined patterns (e.g. start, global, case sensitive, case insensitive, all via RegEx).
Specifically, we need to create the /inputTypes/autocomplete/ directory that contains autocomplete.js and autocomplete.html. The basic code for these is included below.
// autocomplete.js
AutoForm.addInputType('autocomplete', {
  template: 'afAutocomplete',
  valueOut: function () {
    return this.val()
  },
  valueConverters: {
    stringArray: AutoForm.valueConverters.stringToStringArray,
    number: AutoForm.valueConverters.stringToNumber,
    numberArray: AutoForm.valueConverters.stringToNumberArray,
    boolean: AutoForm.valueConverters.stringToBoolean,
    booleanArray: AutoForm.valueConverters.stringToBooleanArray,
    date: AutoForm.valueConverters.stringToDate,
    dateArray: AutoForm.valueConverters.stringToDateArray
  },
  contextAdjust: function (context) {
    context.atts.autocomplete = 'off'
    return context
  }
})

// autocomplete.html
<template name="afAutocomplete">
  <input type="text" value="{{this.value}}" {{this.atts}} />
</template>

Moreover, the autocomplete.js should include helpers and UI code that populates a MRU-style (Most Recently Used) text inside the input field plus a floating list of elements below or above the text input field, which the user can highlight using arrow keys and select using Return, touch, or mouse click.
Options for the autocomplete can be set two ways:

Via static autoform.options inside a simpl-schema definition. Much like the options used in a select type.
Via ReactiveVar or function helper set on data-autocomplete-options in the user's afQuickfield definition. This offers the power to tie a capped collection, or optimized query from MongoDB into the UX, allowing for a dynamic autocomplete experience.

CSS for the autocomplete field should come from Bootstrap 4 (or later) and implement a structured set of class selector definitions for the elements that make up the autocomplete box, which could be structured as follows:

First

Second

Lastly, we need to allow for theme implementations by adding a Bootstrap 4 theme in meteor-autoform-themes in /bootstrap4/templates/bootstrap4/inputTypes/ so that the form-control class and styles get applied.
<template name="afAutocomplete_bootstrap4">
  <input type="text" value="{{this.value}}" {{attsPlusFormControl}} />
</template>

With as common and data-enriched applications are becoming, this feature could also revive a little more popularity for the Meteor framework and AutoForm by adding an elegant solution to the quiver of modern application and UX development tools.
Alternatives Considered
All the suggested add-on packages were taken into consideration and evaluated prior to deciding to pursue this. None are up-to-date and all rely on external libraries for functionality, such as the old typeahead solution from Bootstrap 3 (now deprecated). The use of a select was also taken into consideration, but as mentioned, proved inefficient. In the use case that we are implementing in our venture, we require a live list of currency "asset pairs" that varies between exchanges, so we demand a reactive list of autocomplete options to speed the process of populating Orders.
Additional context
This issue is the product of a conversation started on Stack Overflow relating to issues associated with wanting to implement a custom autocomplete for AutoForm.
I'm going to move forward with this in the next few days for our project. I'd be humbled to contribute this back to the community if others find this useful and appropriate.

Related PR: #1701


Cropped world map outline with 1.1.0

Compare 1.0.8:

with 1.1.0 (slightly cropped top, left, right and bottom):

Both from http://www.lfd.uci.edu/~gohlke/pythonlibs/#basemap

Yes, this is an unfortunate side-effect of another bugfix. I have not yet
figured out how to fix it, or some sort of work-around. Essentially, we now
have a _clip_limbs() method that does proper clipping of the map limbs so
that panning and zooming does not result in the map appearing outside the
plot region. Unfortunately, the maps are displayed to the maximum extent
possible in the plot area. Either I need to make the clipping bounding box
ever so slightly larger (somehow), or make the maps ever so slightly
smaller (somehow)...
On Thu, Mar 2, 2017 at 1:38 AM, Sebastian Bank<EMAIL_ADDRESS>wrote:

Compare 1.0.8:
[image: shot1]
https://cloud.githubusercontent.com/assets/6342379/23495802/0241992a-ff1b-11e6-90af-d36529997d09.png
with 1.1.0 (slightly cropped top, left, right and bottom):
[image: shot2]
https://cloud.githubusercontent.com/assets/6342379/23495818/149a978e-ff1b-11e6-9dd1-db47cfb5c405.png
Both from http://www.lfd.uci.edu/~gohlke/pythonlibs/#basemap
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/matplotlib/basemap/issues/344, or mute the thread
https://github.com/notifications/unsubscribe-auth/AARy-IhVMNQQZUzgREDP44xaJC1kACryks5rhmPbgaJpZM4MQm8I
.

Was this problem ever addressed? I am examining some very aged Python code in preparation for a server upgrade, and this map border clipping issue is showing up when we make maps using basemap 1.4.1 on a testbed machine.

@rschmunk The problem is still there, as you could observe. One possible workaround at the moment is to revert the clipping:
bmap = Basemap(...)
background = bmap.drawmapboundary(fill_color=oceancolor, linewidth=0)
background.set_clip_on(False)

As a side effect, when you draw data afterwards, it may happen that the drawn data goes on top of the map boundary if these data is too close to the boundary (because the zorder of the background and map boundary is set to 0 if I remember correctly). What I currently do to workaround it is to create a copy of the background and in this copy I increase the zorder and remove the fill color:
borders = copy.copy(background)
borders.set_zorder(3)
borders.set_facecolor("none")
bmap.ax.add_artist(borders)

What this really shows is that there is a design problem with Basemap.drawmapboundary, because there is one single Artist providing the map background and the map border with competing needs. The map background needs a zorder of 0 and should also be used to clip the contents drawn in the map. The map border needs a zorder as high as possible and should not be clipped. The solution in basemap should be that map background and map border are treated as separate things.


iOS: Returning to iPad results in incorrect layout

See repro here: https://forum.newsblur.com/t/weird-graphics-ipados-13-beta2/7714

I'm also seeing a (new) issue where after restoring, the NewsBlur layout is correct but tapping on stories doesn't do anything. See video for an example.


client.bin always missing after build

hello,
i added the folder as an exception to comodo antivirus 10.
but i noticed that anytime i build a solution when my anti-virus is on i get a successful build but without the client.bin file
but when i build a solution when i have disabled of my antivirus setting i get the following error below.
i have already tried and tried package restore so many times and play around with package manager for hours and days without any resolve.
i also disabled most of my windows defender settings. can you do a build and send me
thanks
Severity	Code	Description	Project	File	Line	Suppression State
Error		The command ""C:\Users\agent47\achike\QuasarRAT\packages\ILMerge.2.14.1208\tools\ILMerge.exe" /out:"C:\Users\agent47\achike\QuasarRAT\bin\Release\Client.all.exe" "C:\Users\agent47\achike\QuasarRAT\bin\Release\Client.exe" "C:\Users\agent47\achike\QuasarRAT\bin\Release\protobuf-net.dll" "C:\Users\agent47\achike\QuasarRAT\bin\Release\Gma.System.MouseKeyHook.dll" "C:\Users\agent47\achike\QuasarRAT\bin\Release\Quasar.Common.dll" /target:WinExe /wildcards /internalize
copy "C:\Users\agent47\achike\QuasarRAT\bin\Release\Client.all.exe" "C:\Users\agent47\achike\QuasarRAT\bin\Release\client.bin" /Y" exited with code 1.	Quasar.Client
Severity	Code	Description	Project	File	Line	Suppression State
Warning	CS0169	The field 'Client._typeIndex' is never used	Quasar.Client	C:\Users\agent47\achike\QuasarRAT\Quasar.Client\Networking\Client.cs	197	Active

Disable Windows Defender Real-time protection

Solution is:
First download/manage nuget package for Client called ILMerge.Tools. (installed in QuasarRAT/packages)
After it click Properties on Client then Build Events and  edit Post-build. (from \bin\Release\Client.all.exe to \bin\Release\Client.exe).
That's it.
@agent47007

That's not required if you would just disable the AV.

Yes I disable it, but when I downloading file from GH and FF detect it like virus, I got error as user @agent47007 and fix like it, but client doesn't work. Then I use other method and clone from GH and try again, now everything works (client and server) without errors. I see client.exe and client.all.exe got diff size file.
Thank you 👍

Yes they have different file sizes because Client.all includes all required dependencies (dlls).


x/mobile: App crashed on startup.

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.10.3 linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
linux amd64
What did you do?
Crashes on second run of the app, doesn't crash at first. It crashes at launch every 2 intervals.
If possible, provide a recipe for reproducing the error.
All you need is to run the app.
Source Code
What did you expect to see?
A successful launch
What did you see instead?
Crashed app
Log output:
06-22 09:57:41.166 19102-0/com.dcrandroid E/Go: runtime: writebarrierptr *0x93a31398 = 0x6ce
    fatal error: bad pointer in write barrier
06-22 09:57:41.174 19102-0/com.dcrandroid E/Go: runtime stack:
    runtime.throw(0x934411d5, 0x1c)
    	/usr/local/go/src/runtime/panic.go:616 +0x64
06-22 09:57:41.175 19102-0/com.dcrandroid E/Go: runtime.writebarrierptr.func1()
    	/usr/local/go/src/runtime/mbarrier.go:215 +0x94
    runtime.systemstack(0xbeca810c)
    	/usr/local/go/src/runtime/asm_arm.s:349 +0x8c
    runtime.mstart()
    	/usr/local/go/src/runtime/proc.go:1175
    goroutine 17 [running, locked to thread]:
    runtime.systemstack_switch()
    	/usr/local/go/src/runtime/asm_arm.s:294 +0x4 fp=0x4f94af38 sp=0x4f94af34 pc=0x930fb5e4
    runtime.writebarrierptr(0x93a31398, 0x6ce)
    	/usr/local/go/src/runtime/mbarrier.go:213 +0x84 fp=0x4f94af50 sp=0x4f94af38 pc=0x930b3930
    golang.org/x/mobile/internal/mobileinit.SetCurrentContext(...)
    	/home/collins/go/src/golang.org/x/mobile/internal/mobileinit/ctx_android.go:83
    golang.org/x/mobile/bind/java.setContext(...)
    	/home/collins/go/src/golang.org/x/mobile/bind/java/context_android.go:20
    golang.org/x/mobile/bind/java._cgoexpwrap_720489891265_setContext(0xaccf6000, 0x6ce)
06-22 09:57:41.176 19102-0/com.dcrandroid E/Go: 	_cgo_gotypes.go:66 +0x78 fp=0x4f94af60 sp=0x4f94af50 pc=0x93416260
    runtime.call16(0x0, 0xbeca8130, 0xbeca81c4, 0x8, 0x0)
    	/usr/local/go/src/runtime/asm_arm.s:518 +0x4c fp=0x4f94af74 sp=0x4f94af60 pc=0x930fba48
    runtime.cgocallbackg1(0x0)
    	/usr/local/go/src/runtime/cgocall.go:316 +0x150 fp=0x4f94afb4 sp=0x4f94af74 pc=0x930a3c0c
    runtime.cgocallbackg(0x0)
    	/usr/local/go/src/runtime/cgocall.go:194 +0xa4 fp=0x4f94afe4 sp=0x4f94afb4 pc=0x930a3a40
    runtime.cgocallback_gofunc(0x0, 0x0, 0x0, 0x4f94c000)
    	/usr/local/go/src/runtime/asm_arm.s:720 +0x7c fp=0x4f94aff0 sp=0x4f94afe4 pc=0x930fd368
    runtime.goexit()
    	/usr/local/go/src/runtime/asm_arm.s:1015 +0x4 fp=0x4f94aff0 sp=0x4f94aff0 pc=0x930fd664
    goroutine 5 [runnable]:
    syscall.Syscall(0x3, 0x27, 0x4f9aa000, 0x400, 0x57, 0x0, 0x0)
    	/usr/local/go/src/syscall/asm_linux_arm.s:17 +0x8
    syscall.read(0x27, 0x4f9aa000, 0x400, 0x400, 0xffffff01, 0x0, 0x0)
    	/usr/local/go/src/syscall/zsyscall_linux_arm.go:749 +0x44
    syscall.Read(0x27, 0x4f9aa000, 0x400, 0x400, 0xffffffff, 0x93835b40, 0x939eca14)
    	/usr/local/go/src/syscall/syscall_unix.go:162 +0x34
06-22 09:57:41.177 19102-0/com.dcrandroid E/Go: internal/poll.(*FD).Read(0x4f96a100, 0x4f9aa000, 0x400, 0x400, 0x0, 0x0, 0x0)
    	/usr/local/go/src/internal/poll/fd_unix.go:153 +0xf0
    os.(*File).read(0x4f92a170, 0x4f9aa000, 0x400, 0x400, 0x0, 0x930b22c8, 0x930b2bf8)
    	/usr/local/go/src/os/file_unix.go:226 +0x3c
    os.(*File).Read(0x4f92a170, 0x4f9aa000, 0x400, 0x400, 0x1, 0x0, 0x0)
    	/usr/local/go/src/os/file.go:107 +0x4c
    bufio.(*Reader).fill(0x4f939fb8)
    	/usr/local/go/src/bufio/bufio.go:100 +0x104
    bufio.(*Reader).ReadSlice(0x4f939fb8, 0x92ea960a, 0x0, 0x0, 0x0, 0x0, 0x0)
    	/usr/local/go/src/bufio/bufio.go:341 +0x1c
    bufio.(*Reader).ReadLine(0x4f939fb8, 0x400, 0x400, 0x4f9aa000, 0x400, 0x400, 0x0)
    	/usr/local/go/src/bufio/bufio.go:370 +0x24
    golang.org/x/mobile/internal/mobileinit.lineLog(0x4f92a170, 0x6)
    	/home/collins/go/src/golang.org/x/mobile/internal/mobileinit/mobileinit_android.go:55 +0x98
    created by golang.org/x/mobile/internal/mobileinit.init.0
    	/home/collins/go/src/golang.org/x/mobile/internal/mobileinit/mobileinit_android.go:82 +0x10c
    goroutine 6 [IO wait]:
06-22 09:57:41.178 19102-0/com.dcrandroid E/Go: internal/poll.runtime_pollWait(0x92972e80, 0x72, 0x4f9aa400)
    	/usr/local/go/src/runtime/netpoll.go:173 +0x44
    internal/poll.(*pollDesc).wait(0x4f96a194, 0x72, 0xffffff01, 0x93835b40, 0x939eca14)
    	/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xa0
    internal/poll.(*pollDesc).waitRead(0x4f96a194, 0x4f9aa401, 0x400, 0x400)
    	/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x2c
    internal/poll.(*FD).Read(0x4f96a180, 0x4f9aa400, 0x400, 0x400, 0x0, 0x0, 0x0)
    	/usr/local/go/src/internal/poll/fd_unix.go:157 +0x150
    os.(*File).read(0x4f92a180, 0x4f9aa400, 0x400, 0x400, 0x0, 0x0, 0x0)
    	/usr/local/go/src/os/file_unix.go:226 +0x3c
    os.(*File).Read(0x4f92a180, 0x4f9aa400, 0x400, 0x400, 0x0, 0x0, 0x0)
    	/usr/local/go/src/os/file.go:107 +0x4c
    bufio.(*Reader).fill(0x4f93a7b8)
    	/usr/local/go/src/bufio/bufio.go:100 +0x104
    bufio.(*Reader).ReadSlice(0x4f93a7b8, 0x92ea960a, 0x0, 0x0, 0x0, 0x0, 0x0)
    	/usr/local/go/src/bufio/bufio.go:341 +0x1c
06-22 09:57:41.179 19102-0/com.dcrandroid E/Go: bufio.(*Reader).ReadLine(0x4f93a7b8, 0x400, 0x400, 0x4f9aa400, 0x400, 0x400, 0x0)
    	/usr/local/go/src/bufio/bufio.go:370 +0x24
    golang.org/x/mobile/internal/mobileinit.lineLog(0x4f92a180, 0x4)
    	/home/collins/go/src/golang.org/x/mobile/internal/mobileinit/mobileinit_android.go:55 +0x98
    created by golang.org/x/mobile/internal/mobileinit.init.0
    	/home/collins/go/src/golang.org/x/mobile/internal/mobileinit/mobileinit_android.go:92 +0x1c8
    goroutine 22 [syscall]:
    os/signal.signal_recv(0x0)
    	/usr/local/go/src/runtime/sigqueue.go:139 +0x14c
    os/signal.loop()
    	/usr/local/go/src/os/signal/signal_unix.go:22 +0x14
    created by os/signal.init.0
    	/usr/local/go/src/os/signal/signal_unix.go:28 +0x34
    goroutine 23 [select, locked to thread]:
    runtime.gopark(0x93833b64, 0x0, 0x934359f8, 0x6, 0x18, 0x1)
    	/usr/local/go/src/runtime/proc.go:291 +0x10c
06-22 09:57:41.180 19102-0/com.dcrandroid E/Go: runtime.selectgo(0x4f9367a0, 0x4fda2100)
    	/usr/local/go/src/runtime/select.go:392 +0xee4
    runtime.ensureSigM.func1()
    	/usr/local/go/src/runtime/signal_unix.go:549 +0x1e0
    runtime.goexit()
    	/usr/local/go/src/runtime/asm_arm.s:1015 +0x4

    --------- beginning of crash
06-22 09:57:41.183 19102-19102/com.dcrandroid A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 19102 (com.dcrandroid)

This kind of error normally means that you have a non-pointer value that you have converted to a pointer type, probably when making a call out of Go.  In Go, variables of pointer type must always hold pointer values.

Everything shown in the stacktrace is not from my code. Everything is from gomobile. I don't have any null pointer in my code and nothing passes null, the worst from is an empty string, never null.

@steeve @hyangah
@C-ollins - Could you also try with 1.13beta1 and the latest from the gomobile repo just so we ensure that this is not something already fixed ? Thanks.

This was fixed in Go 1.12. It was due to Android's jvalue being declared as void* but not being pointers. Go now detects it and there is a test.
Internally we have the same test should it break again somehow.

@agnivade I’ve worked on the project for a while now and the error doesn’t occur anymore

Thanks, I will close it then. Please try with the latest released version if it happens again in the future.


⚠ Jenkins Plugins Artifactory has degraded performance

In d30b9b2, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1009 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 511faad after 20 minutes.


Update scripts and docs for 1.1.6

This PR preps us for the release of 1.1.6 by:

Updating the scripts to point to 1.1.6
Adds details for the release into the changelog
Adds additional licenses
Updates our VS Code Extension documentation

Intent
Resolves #2196
Type of Change

[ ] Bug Fix

[ ] New Feature

[ ] Breaking Change

[x] Documentation

[ ] Refactor

[ ] Tooling

Once #2189 is merged this will need another license update. Marking as draft until that is complete.

Updated off of main and ready for review


feat: add responsive method for different screen sizes

Add a responsive method that allows the user to write in the same style block code different styles for the configured layouts.

Gracias eze !


Fix evaluation of IgnoreCertificateRevocationErrors for setting CertificateRevocationCheckMode of SslClientAuthenticationOptions

When IgnoreCertificateRevocationErrors is set to true X509RevocationMode.NoCheck should be set.
The if was just flipped.
Found this during updating MQTTNET in my project.

What was this about?

Was my first pull request and I f***** it up :-)
Can be deleted if possible.

Ah ok. It's already close, so nothing else needs to be done :)


System tests fail on openj9 builds with -Xcompressedrefs

The openjdk-system tests are failing on openj9 large heap Java 11 builds (and maybe other releases) if the are given -Xcompressedrefs as an argument.  Since the builds are inherently 'noncompressedrefs' the options cannot be honoured.
I guess the test playlists need to be changed to not specify that option?

Could you provide a build link for this failure? Thanks

https://ci.adoptopenjdk.net/job/openjdk11_j9_systemtest_x86-64_linux/165/console
The relevant output from the VM is
Selected VM [compressedrefs] by option -Xcompressedrefs does not exist.
This JVM package only includes the '-Xnocompressedrefs' configuration. Please run the VM without specifying the '-Xcompressedrefs' option or by specifying the '-Xnocompressedrefs' option.
To compile the other configuration, please run configure without '--with-noncompressedrefs.

openjdk tests are also failing on the large heap builds - the same problem? - https://ci.adoptopenjdk.net/job/openjdk11_j9_openjdktest_x86-64_linux/190/consoleFull

From compressedrefs system test build:

Build #163 (Dec 19, 2018 8:27:25 PM) shows it started by jdk11u-linux-x64-openj9

Started by upstream project build-scripts » jobs » jdk11u » jdk11u-linux-x64-openj9 build number 66

Build #164 (Dec 19, 2018 9:04:49 PM) shows it started by jdk11u-linux-x64-openj9-linuxXL.
This is where first failure option -Xcompressedrefs does not exist coccured.

Started by upstream project build-scripts » jobs » jdk11u » jdk11u-linux-x64-openj9-linuxXL build number 57

btw, I do not see large heap system test build in Adopt.

The link I gave https://ci.adoptopenjdk.net/job/openjdk11_j9_systemtest_x86-64_linux/165/consoleFull was
Started by upstream project "build-scripts/jobs/jdk11u/jdk11u-linux-x64-openj9-linuxXL" build number 58

You are looking at Build 163 instead of 165?

Build 163 is the last good build, which is started by jdk11u-linux-x64-openj9.
option -Xcompressedrefs does not exist failure started at Build 164. Both Build 164 and 165 have the same failure and they are both started by a different job - jdk11u-linux-x64-openj9-linuxXL build.

I think it may only be the large heap builds which reject -Xcompressedrefs.


[FEATURE REQ] Review and merge the weekly sync change PR automatically created

Context
Since the Spring Cloud Azure 6 was released, the two major branches will exist for a long time, and they all depend on the latest Azure SDKs, so there will be lots of sync code PR to make the SDKs code the same in the two-branched.
Goal
Weekly review of the sync code PR, the below work should be done manually:

Fix conflicts
Fix pipeline failures
Merge PR

Closing due to not being necessary.


[BUG]: Missing materials (1.18.6)

Mod Version
0.2.0
Game Version
1.18.6
Platform
Windows
SP/MP
Singleplayer
Description
Did not test with BR version 0.2.1 yet, so this may be obsolete.
3.7.2023 12:02:58 [Warning] Block schematic file worldgen/schematics/underground/underground-rare/samgrey-underground-rare-1-claystone.json uses blocks that could no longer be found. These will turn into air blocks! (affected: game:quern-claystone)
3.7.2023 12:02:58 [Warning] Block schematic file worldgen/schematics/underground/underground-rare/samgrey-underground-rare-1-limestone.json uses blocks that could no longer be found. These will turn into air blocks! (affected: game:quern-limestone)
3.7.2023 12:02:58 [Warning] Block schematic file worldgen/schematics/underground/underground-rare/samgrey-underground-rare-1-sandstone.json uses blocks that could no longer be found. These will turn into air blocks! (affected: game:quern-sandstone)
3.7.2023 12:02:58 [Warning] Block schematic file worldgen/schematics/underground/underground-rare/samgrey-underground-rare-1-slate.json uses blocks that could no longer be found. These will turn into air blocks! (affected: game:quern-slate)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-claystone.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-claystone)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-claystone.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-claystone)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-claystone.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-claystone)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-claystone.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-claystone)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-limestone.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-limestone)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-limestone.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-limestone)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-limestone.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-limestone)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-limestone.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-limestone)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-peridotite.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-peridotite)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-peridotite.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-peridotite)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-peridotite.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-peridotite)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-peridotite.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-peridotite)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-sandstone.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-sandstone)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-sandstone.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-sandstone)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-sandstone.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-sandstone)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-sandstone.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-sandstone)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-slate.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-slate)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-slate.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-slate)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-slate.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-slate)
3.7.2023 12:02:59 [Warning] Block schematic file worldgen/schematics/underground/underground-translocator-uncommon/dampusunderground-1-slate.json uses items that could no longer be found. These will turn into unknown items! (affected: game:crystalizedore-rich-cassiterite-slate)
How to reproduce
No response
Screenshots
No response
Logs
Log

https://github.com/AreYSerious/betterruins/issues/26
Fixed since 0.2.1


datatable bulk action updates

dataTable custom bulk actions script updates

Thanks a lot for your work on this PR! I appreciate your effort.
I'm closing this PR as we're not merging new features at the moment.


Arch Linux Support

While we do not intend to support other linux distributions at this time (that could be a full time job on its own), we have heard that Arch linux can be made to work via:
LD_PRELOAD=libcurl.so.3 ./binaryninja
when running binary ninja. libcurl.so.3 can be installed via https://aur.archlinux.org/packages/libcurl-compat/
Thanks cganas for the report.

A link from libpython2.7.so.1 pointing to /usr/lib/libpython2.7.so.1.0 also has to be created on Arch Linux.
If you don't do this, you'll get a "Failed to link to Python 2.7" message in your terminal.

Is there a reason binaryninja can't just link to libpython2.7.so?

I am running Binary Ninja (BN) version 1.0.314, Build 4f54d53d, and was having the following errors when launching BN on the current version of Kali Linux:
Plugin module %path_to_bn%/binaryninja/plugins/libssl.so failed to load
Plugin module %path_to_bn%/binaryninja/plugins/libcryptoplugin.so failed to load
Thanks to the dialog above (thanks guys!) I was able to get things working successfully by launching BN with the following command:
LD_PRELOAD="%path_to_bn%/binaryninja/plugins/libssl.so %path_to_bn%/binaryninja/plugins/libcryptoplugin.so %path_to_bn%/binaryninja/plugins/libcrypto.so" ./binaryninja
Replacing %path_to_bn% as appropriate of course. I hope that helps someone.

Odd, I just installed Binja in Kali a few minutes ago and I didn't have any
issues.
On Sat, Sep 10, 2016 at 5:24 PM, brado<EMAIL_ADDRESS>wrote:

I am running Binary Ninja (BN) version 1.0.314, Build 4f54d53d, and was
having the following errors when launching BN on the current version of
Kali Linux:
Plugin module %path_to_bn%/binaryninja/plugins/libssl.so failed to load
Plugin module %path_to_bn%/binaryninja/plugins/libcryptoplugin.so failed
to load
Thanks to the dialog above (thanks guys!) I was able to get things working
successfully by launching BN with the following command:
LD_PRELOAD="%path_to_bn%/binaryninja/plugins/libssl.so
%path_to_bn%/binaryninja/plugins/libcryptoplugin.so
%path_to_bn%/binaryninja/plugins/libcrypto.so" ./binaryninja
Replacing %path_to_bn% as appropriate of course. I hope that helps
someone.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Vector35/binaryninja-api/issues/155#issuecomment-246124134,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG5cou9L5MrymAVslZmGtQv-BMxLr6Gaks5qoufmgaJpZM4HdqRA
.

@Manouchehri -- try upgrading packages and distro. I ought to add that I discovered that my post above allows BN to launch cleanly, but as soon as you try to use plugins, I get more errors on other plugins. I suspect that I'll probably have to preload all plugins in order for it to work cleanly throughout use.
I tried comparing things to OS X, but I discovered that the plugins directory in OS X is completely empty. This may well be expected and OK, I'm just unaware as of yet -- I need to dig into the BN docs and learn more about plugin use.

Hijacking LD_PRELOAD isn't great, renaming the .so files works better and lets plugins work. See also the other open bug about Debian sid

That's #285

Heads up, the libcurl-compat which just hit [community-testing] (version 7.53) causes binja to segfault in a libSSL call now:
#0  0x00007ffff2c60870 in SSL_CTX_set_verify () at /usr/lib/libssl.so.1.1
#1  0x00007ffff638dea3 in git_openssl_stream_global_init () at /opt/binaryninja/libbinaryninjacore.so.1
#2  0x00007ffff633b2a6 in  () at /opt/binaryninja/libbinaryninjacore.so.1
#3  0x00007ffff633b3b9 in  () at /opt/binaryninja/libbinaryninjacore.so.1
#4  0x00007ffff3f3d399 in __pthread_once_slow () at /usr/lib/libpthread.so.0
#5  0x00007ffff633b408 in git_libgit2_init () at /opt/binaryninja/libbinaryninjacore.so.1
#6  0x00007ffff62c00ef in  () at /opt/binaryninja/libbinaryninjacore.so.1
#7  0x00007ffff6104537 in  () at /opt/binaryninja/libbinaryninjacore.so.1
#8  0x00007ffff610488d in BNGetRepositoryManager () at /opt/binaryninja/libbinaryninjacore.so.1

Seconded, downgrading libcurl-compat to 7.52.1 is a valid workaround.  Simplest method is to install 'downgrade', run downgrade libcurl-compat, and select version 7.52.1.

https://aur.archlinux.org/packages/binaryninja-personal/

I've fixed the AUR package so it should work out of the box now. Just put your BinaryNinja-personal.zip in the same folder before building the package.

I tracked this whole libcurl issue down to Debian's compatibility patch: https://sources.debian.net/src/curl/7.52.1-5/debian/patches/03_keep_symbols_compat.patch/
Basically, Debian is just lowering the API version of CURL_OPENSSL from 4 to 3. Why they would do this is beyond me - it sounds like asking for breakage. In fact, the first version of curl to introduce symbol versioning started at version 4: https://github.com/curl/curl/commit/7cc2e8b349df28d55d5f40bfae323485df9f0cf2
So Debian is pretending to support a version of the curl API which never actually existed, and Binja is building against that imaginary version.
Is there any chance Binja could be built against a real curl, or even a curl with symbol versioning turned off (./configure --disable-versioned-symbols)? I think the latter should at least allow it to work against upstream curl and Debian curl in the same build.
I'll also talk to the Arch maintainer of libcurl-compat to see if he has any better ideas for fixing this.

@nshp How did you trigger that segfault? I'm not able to reproduce that with my binaryninja-personal package.
[dave@lake ~]$ binaryninja-personal
/opt/binaryninja-personal/binaryninja: /usr/lib/libcurl.so.3: no version information available (required by /opt/binaryninja-personal/libbinaryninjacore.so.1)

Everything seems to work as expected.

Preloading libssl.so.1.0.0 (along with libcurl.so.3) fixes the segfault on recent arch linux.

I get a segfault when linking libpython to binja.
$ ln -s /usr/lib/libpython2.7.so /opt/binaryninja-personal/plugins/libpython2.7.so.1

/opt/binaryninja-personal/binaryninja: /usr/lib/libcurl.so.3: no version information available (required by /opt/binaryninja-personal/libbinaryninjacore.so.1)
[1]    24182 segmentation fault (core dumped)

Not entirely surprising, if you try to use a different Python than we have linked against it will crash. Not much we can do about that I don't think.

Actually, wait -- it's still a libcurl crash? Did you try it again using the compat packages described above?

@psifertex, yes. I used the AUR package made by @Manouchehri. https://aur.archlinux.org/packages/binaryninja-personal/

Are you trying to use stable (supported) or dev?

I was using the dev branch. It works with the stable one, just tried.

Yeah, the current AUR package is only for stable. dev is at your own risk.
Maintaining a package for dev is a bit of a pain since I have to bump the
version number on every build. If there was a .txt or .json file I could
pull from, that would make life much easier.

Any suggestion on how to use the dev branch? I was able to make it work ~3 months ago. :-(

I have a new dev Arch package on my laptop that should work. Completely
untested though, it's a WIP.
https://github.com/Manouchehri/AUR-binaryninja-personal-dev

Running into the same issues as the fedora user not using the aur package.
user@localhost ~> ls -la /usr/lib/libpython2*
lrwxrwxrwx 1 root root      19 Jul 20 12:25 /usr/lib/libpython2.7.so -> libpython2.7.so.1.0*
lrwxrwxrwx 1 root root      28 Jul 22 13:10 /usr/lib/libpython2.7.so.1 -> /usr/lib/libpython2.7.so.1.0*
-r-xr-xr-x 1 root root 2583408 Jul 20 12:25 /usr/lib/libpython2.7.so.1.0*
user@localhost ~> pacman -Qi libcurl-compat
Name            : libcurl-compat
Version         : 7.54.1-1
Description     : An URL retrieval library (without versioned symbols)
Architecture    : x86_64
URL             : https://curl.haxx.se
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : curl  glibc  krb5  openssl  libpsl  zlib  libssh2.so=1-64
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 522.00 KiB
Packager        : Maxime Gauduin<EMAIL_ADDRESS>Build Date      : Sat 01 Jul 2017 12:59:33 PM PDT
Install Date    : Sat 22 Jul 2017 01:09:18 PM PDT
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

user@localhost ~> bash
[user@localhost ~]$ LD_PRELOAD=libcurl.so.3 ~/ctf-lab/binaryninja/binaryninja
/home/user/ctf-lab/binaryninja/binaryninja: /usr/lib/libcurl.so.3: no version information available (required by /home/user/ctf-lab/binaryninja/libbinaryninjacore.so.1)
Segmentation fault (core dumped)
[user@localhost ~]$

Try with LD_PRELOAD=libcurl.so.3:libssl.so.1.0.0

That did it, looks to work perfectly now.

Fixed in the AUR, 1.0.776 works now.

For posterity The libcurl/libssl issues should be fixed out of the box as of 1.1.1009

And it seems like binary ninja doesn't want to load python again, even with the symlink.  Not sure what the issue is now.

Had a chance to run strace to investigate, binary ninja seems to be looking one level above the plugins directory now.  Move the symlink, problem solved.

FWIW I just purchased a license and found I was able to get binaryninja loaded with the following alias/workaround:
alias binaryninja='LD_LIBRARY_PATH=/opt/binaryninja/plugins /opt/binaryninja/binaryninja'

@Manouchehri thanks for making an AUR package! :+1:

Also FWIW here is a fixed desktop file that does the preload stuff and fixes the icon in GNOME launcher:
➜  cat ~/.local/share/applications/binaryninja.desktop
[Desktop Entry]
Name=Binary Ninja -personal
Exec=env LD_LIBRARY_PATH=/opt/binaryninja/plugins /opt/binaryninja/binaryninja
Type=Application
Categories=Development;Debugger;Profiling;
Icon=binaryninja


Create a new project - Wildfly Swarm - fails

See details here:
https://github.com/fabric8-ui/fabric8-ui/issues/1671

Related to an existing issue adopting the Fabric8 Jenkins Pipeline Library:
https://github.com/openshiftio/appdev-planning/issues/35

Closing as not applicable to the booster


Duplicate data on period='1d'

On running history(period='1d') for any stock, duplicate data is returned. Here is the screenshot of output. Everything is same except volume. Is this being done deliberately?

Facing the same issue.
# yfinance returns the same date twice if the period is 1d
if(period == "1d"):
  price_action = price_action.tail(1)

Will do.
Should I make a pull request? @ranaroussi

I dont think maintainers are active in this repo

yeah . . . . .
df = df[:-1]
from here:
https://stackoverflow.com/questions/26921651/how-to-delete-the-last-row-of-data-of-a-pandas-dataframe
i would strongly encourage Mr. Aroussi to better support his creations . . . . .

Facing the same issue.
# yfinance returns the same date twice if the period is 1d
if(period == "1d" and interval == "1d"):
  price_action = price_action.head(1)

Will do.
Should I make a pull request? @ranaroussi

Can you point out where is the bug in the code?

this is a problem whether period = '1d'
or
start_date = "YYYY-MM-DD", end_date = "YYYY-MM-DD"
the code result returns duplicate record of last trading day.

Facing the same issue.
# yfinance returns the same date twice if the period is 1d
if(period == "1d" and interval == "1d"):
  price_action = price_action.head(1)

Will do.
Should I make a pull request? @ranaroussi

Can you point out where is the bug in the code?

@beglitis
It's an issue from Yahoo! Finance side.
Check this, e.g.,
https://query1.finance.yahoo.com/v8/finance/chart/TSLA?symbol=TSLA&interval=1d&range=1d
It returns two rows of data.

I thought so that is why I asked where is the bug in the code. :)

Yea but adding the if statement above fixes the problem.
On Wed, Feb 17, 2021, 1:02 PM beglitis<EMAIL_ADDRESS>wrote:

I thought so that is why I asked where is the bug in the code. :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ranaroussi/yfinance/issues/573#issuecomment-780426228,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK7FVIVD4BKERHXIGRYVQLDS7OELLANCNFSM4W2NAQFA
.

Having the same problem for one ticker specifically. All others I've worked quite well. Been using the library everyday for a couple of weeks and just noticed this, so it might or might not have just started acting like this. Still not sure. Sure would be nice to have an official fix.

The same issue here! Could the maintainer help solve this? It seems that whenever you try to download using period '1d' or '5d' (I also tested other intervals, and they all passed my tests) during the weekend set the start to be the Friday that just passed, it will duplicate. A related bug is that if you set the start to be Saturday, it will still include the data of Friday (but a single data). I guess that's the reason it duplicates: one indeed for Friday and the other for Saturday. The latter is definitely a bug!

Just to chime in that I'm having the same issue.

Is this still happening?


Landsat 8 pansharpening returns bad data

There is something strange going on with the pan option in rio-tiler.landsat8.tile
https://github.com/cogeotiff/rio-tiler/blob/master/rio_tiler/landsat8.py#L397-L417

with pan-sharpening

without pan-sharpening
https://gist.github.com/vincentsarago/0ba79fbcfd9de7218a793e1e2c7c5823

rio_pansharpen tests are failing with Rasterio 1.0.18 and python 3.7 which might be the explanation
8 failed, 14 passed, 1 warnings, 4 error in 16.68 seconds

platform darwin -- Python 3.7.0, pytest-3.10.1, py-1.6.0, pluggy-0.7.1 -- /venv/py37/bin/python3.7
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('rio-pansharpen/tests/.hypothesis/examples')
rootdir:rio-pansharpen, inifile:
plugins: cov-2.6.0, hypothesis-4.14.0
collected 26 items

test_cli.py::test_exception FAILED
test_cli.py::test_exception2 PASSED
test_cli.py::test_prompts_success1 PASSED
test_cli.py::test_prompt_success2 FAILED
test_cli.py::test_out_alpha_bands[--out-alpha-4] FAILED
test_cli.py::test_out_alpha_bands[--no-out-alpha-3] FAILED
test_cli.py::test_creation_opts FAILED
test_pansharp_unittest.py::test_calc_windows_customwindows ERROR
test_pansharp_unittest.py::test_pansharpen_worker_uint16 ERROR
test_pansharp_unittest.py::test_pansharpen_worker_uint8 ERROR
test_pansharp_unittest.py::test_pansharpen_worker_half_window ERROR
test_pansharp_unittest.py::test_reproject PASSED
test_pansharp_unittest.py::test_upsample FAILED
test_pansharp_unittest.py::test_brovey PASSED
test_property_based.py::test_calculateRatio PASSED
test_property_based.py::test_Brovey PASSED
test_property_based.py::test_fix_window_size PASSED
test_property_based.py::test_check_crs PASSED
test_property_based.py::test_create_apply_mask PASSED
test_property_based.py::test_simple_mask PASSED
test_property_based.py::test_pad_window PASSED
test_property_based.py::test_rescale PASSED
test_property_based.py::test_make_windows_full_block Falsifying example: test_make_windows_full_block(w=290, h=1972, blocksize=2)
Unreliable test timings! On an initial run, this test took 254.02ms, which exceeded the deadline of 200.00ms, but on a subsequent run it took 194.76 ms, which did not. If you expect this sort of variability in your test timings, consider turning deadlines off for this test by setting deadline=None.
FAILED
test_property_based.py::test_make_windows_last_block Falsifying example: test_make_windows_last_block(w=306, h=2499, blocksize=2)
FAILED
test_property_based.py::test_make_affine PASSED
test_property_based.py::test_half_window PASSED

fixed in https://github.com/cogeotiff/rio-tiler/commit/9618f13c38d35225d1e2de2cf58b986c7f5c3986
will be shipped with version 1.2.1


[CARBONDATA-3754]Clean up the data file and index files after SI rebuild

Why is this PR needed?
Clean up not happening for the data file and index files after SI rebuild
What changes were proposed in this PR?
every task should clear the old data and index files once task finishes.
Does this PR introduce any user interface change?

No

Is any new testcase added?

No(Clean files command removed from the test cases)

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/839/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2546/

@akashrn5 Please rebase

@kunal642 rebased, please check

@akashrn5 Conflict again

@akashrn5 Conflict again

@kunal642 i can see no conflict

retest this please

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/961/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2673/

LGTM

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2679/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/968/


deploy error

geckodriver app detected
/tmp/codon/tmp/buildpacks/768374e866288447126d1d75779462919bfbaab4/bin/compile: line 16: cd: /tmp/codon/tmp/buildpacks/768374e866288447126d1d75779462919bfbaab4/fonts: No such file or directory
/tmp/codon/tmp/buildpacks/768374e866288447126d1d75779462919bfbaab4/bin/compile: line 82: syntax error near unexpected token `;'
!     Push rejected, failed to compile Firefox
geckodriver app.
!     Push failed

Add a ; to line 82.

anyone found a solution?


Date Picker improvement

🚀 Pull Request
Description
Before : Past Date could be selected
After changes : Minimum date for Pickup Date is set to today and for dropoff minimum is set to what the user selected as pickup date
Fixes #139
Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Screenshot of final output/video
https://github.com/user-attachments/assets/b5ef06de-6fdd-4dc8-a4ec-da46bce9d8e8

@akbatra567 kindly review the updated index.html file and let know if any other changes are to be made

could you take a pull there are some merge conflicts in index.html file ? @shalini-bhandari

i wan to work on this can you assign this to me

i want to work on this can you assign this to me

@RITIK-CHAUDHRY, this is a PR and not an issue.
Could you find a new issue you can work on ?


 Also cleanly applies to the 3.2-stable branch as of the time of this PR.

#98 has this commit plus one more that further modifies bootp depending on failover.

Thanks!


fix insights dialog issue

#4502
invalidate the rows and re-render

I'll merge now so this can be in tomorrow's insider build.


Add basic selenium tests for merging

Covers squash-merge + rewrite

Overall this feels really nice. I would like to run eslint over /tests for consistency with the rest of the project. How does this make you feel? :) I'm willing to be lax on line lengths just for you.

LGTM


Rust v1.53+

Rust v1.53-v1.56 can't be compiled because some of it's dependencies can't be compiled (tock registers v6, and qemu exit v1.0.2) because of the "const_fn" feature being removed.
This will probably be fixed by updating any dependencies so they will work with the new version of Rust.

ee48119 Fixed x86 Novusk. Updated some dependencies and change assembly files, some assembly files on other architectures might need to be checked.

8275fb3 Fixed all dependencies

Rust v1.53 - v1.56 can compile Novusk


Translation process of a project in Crowdin

In my Pr i created khadijah_docs.md file in docs folder
i explained my translation process in Arabic language of a video subtitle

Hello @BatoolMM i have  submitted a pr . kindly review ma, thank you

Thank you @Khadeeejah for your work, would you be able to correct the links in Markdown, please?

I just fixed it @BatoolMM  thank you ma

Asalam Aleikum ma @BatoolMM  i am currently working on my final application and i would like to share my milestone/proposal for this particular project with you for your review to know if it goes in line with what the community wants to achieve at the end of the internship program.  Thanks in anticipation

Asalam Aleikum ma @BatoolMM i am currently working on my final application and i would like to share my milestone/proposal for this particular project with you for your review to know if it goes in line with what the community wants to achieve at the end of the internship program. Thanks in anticipation

Good morning @BatoolMM @alswajiab  the pull requests on this repo has not been accepted/ merged and we have to submit our contributions before tommorow. Should we just go ahead and submit our application ?

@all-contrubutors please add @Khadeeejah for Translation and documentation

@all-contributors please add @Khadeeejah for Translation and documentation

As always your works is fantastic, thank you so much!


wip: feat: keystone authentication against dex

Depends on https://github.com/RSS-Engineering/undercloud-deploy/pull/140
Closes PUC-498


Default keybinding clashes with Markdown preview

The default keybinding Ctrl+Shift+V clashes with the Markdown preview key combination.  When a user has this extension installed, and tries to preview a Markdown document, VS Code instead shows a language dropdown, which is a bit confusing!
I believe this can be addressed without disruption by changing the default keybinding when clause to editorTextFocus && editorLangId != 'markdown', as users will never need to use the Paste JSON as Code command in Markdown documents.

Please update the extension at marketplace for this.


Inconsistent prompt_tokens definition between text-davinci-002 and code-davinci-002

Ubuntu 18.04.6
openai-python 0.23.1
python 3.8.13
I'm facing unexpected results when using prompt_tokens returned from the completion API in the davinci codex model.
Consider the following function to reconstruct the prompt using the API's response:

def test_prompt_idx(prompt: str, engine=str):
    response: OpenAIObject = openai.Completion.create(
        prompt=prompt,
        stop=["\n"],
        temperature=0.0,
        engine=engine,
        max_tokens=32,
        logprobs=5,
        echo=True,
    )
    n_prompt_tokens: int = response["usage"]["prompt_tokens"]
    prompt_tokens = [
        {
            "val": response["choices"][0]["logprobs"]["tokens"][i],
            "options": response["choices"][0]["logprobs"]["top_logprobs"][i],
            "logprob": response["choices"][0]["logprobs"]["token_logprobs"][i]
            if i != 0
            else 0.0,  # first token has logprob None
        }
        for i in range(n_prompt_tokens)
    ]
    reconstructed_prompt = "".join(token["val"] for token in prompt_tokens)
    assert reconstructed_prompt == prompt

When I use text-danvinci-002, the snippet runs fine
test_prompt_idx(
        prompt="""import numpy as np
a = np.array(object=[0,1,2])
b = np.array(""",
        engine="text-davinci-002"
)
test_prompt_idx(
        prompt="""import numpy as np
a = np.array(object=[0,1,2])
b = np.array(object=""",
        engine="text-davinci-002"
)

However, when I use code-davinci-002, this snippet fails
test_prompt_idx(
        prompt="""import numpy as np
a = np.array(object=[0,1,2])
b = np.array(""",
        engine="code-davinci-002"
)
test_prompt_idx(
        prompt="""import numpy as np
a = np.array(object=[0,1,2])
b = np.array(object=""",
        engine="code-davinci-002"
)

Comparing reconstructed_prompt and prompt shows that for code-davinci-002, it seems to be that n_prompt_tokens's value is one less than expected.
I've observed that this could lead to the codex model changing the last token of the prompt.
For instance, if I update my test_prompt_idx() function to use n_prompt_tokens+1 instead, then the following snippet passes
test_prompt_idx(
        prompt="""import numpy as np
a = np.array(object=[0,1,2])
b = np.array(""",
        engine="code-davinci-002"
)

because the first completion token returned by codex (i.e.: object, with tokenid  of 15252 according to the tokenizer).
However, the following fails
test_prompt_idx(
        prompt="""import numpy as np
a = np.array(object=[0,1,2])
b = np.array(object=""",
        engine="code-davinci-002"
)

because the first completion token returned is =[ with token id 41888, instead of the last token of the given prompt, which is = with token id 28.

Closing as stale; if this remains an issue let me know and we can reopen.


json.schemastore.org is not up to date

Hi,
There is flake8-pytest-style missing in the schema from json.schemastore.org.

In schemastore/CONTRIBUTING.md it is said:

Keep single source of truth. Do not copy an external schema here, but point the catalog to the external schema.

Maybe we should open a pull request to link to ruff.schema.json instead.

I went ahead and made a pull request.

Unfortunately, the Schema Store doesn't support URLs for embedded schemas. So we can't point it to a URL if we want the schema to appear for pyproject.toml files. I initially implemented it as a URL (https://github.com/SchemaStore/schemastore/pull/2673), then intentionally changed it to bundle in the repo to support pyproject.toml files (https://github.com/SchemaStore/schemastore/pull/2683). It's an unfortunate limitation, but for now we have to update it periodically.

We should just be sure to update the schema in the store periodically. It looks like it was updated three days ago to include flake8-pytest-style: https://github.com/SchemaStore/schemastore/pull/2718/files.

The linked commit added the flake8-pytest-style codes but not the config section.  There's other codes and sections missing, e.g. PIE.  I wonder if updates could be automated somehow?

I’ll update it today. We could definitely automate it, but I’m worried about spamming the Schema Store repo. I’ll ask in the PR.

Unfortunately, the Schema Store doesn't support URLs for embedded schemas. So we can't point it to a URL if we want the schema to appear for pyproject.toml files

What exactly does not support embedded schemas? Can we not just add something like this to catalog.json:
{
  "name": "Ruff",
  "description": "JSON schema for Ruff, a fast Python linter",
  "url": "https://github.com/charliermarsh/ruff/blob/v0.0.256/ruff.schema.json",
  "fileMatch": ["ruff.toml"],
  "versions": {
    "0.0.253": "https://github.com/charliermarsh/ruff/blob/v0.0.253/ruff.schema.json",
    "0.0.254": "https://github.com/charliermarsh/ruff/blob/v0.0.254/ruff.schema.json",
    "0.0.255": "https://github.com/charliermarsh/ruff/blob/v0.0.255/ruff.schema.json",
    "0.0.256": "https://github.com/charliermarsh/ruff/blob/v0.0.256/ruff.schema.json"
  }
}

And then update only new versions after their release? That would keep a single source of truth and reduce the amount of work necessary to update the schema as well as reduce the possibility of errors when copying manually.
This approach works in VSCode:

yaml: YAML extension
toml: Even Better TOML extension
json: JSON Schema Store Catalog extension

The issue is that we want autocompletion to work in pyproject.toml, which requires that we reference the ruff.toml schema in the pyproject.toml schema, which in turn requires that both schemas exist locally in the SchemaStore. We used to link via a URL like that, but then autocompletion would only work in ruff.toml files IIRC. Perhaps I'm misunderstanding though.

What tool provides the autocompletion? I have working autocompletion in pyproject.toml with Even Better TOML. You can test it for example with starship.toml. Its schema is also hosted externally, but the it is working fine with autocompletion.


FlowListView not show the data in Xamarin.Forms

Hi,
I'm trying use the example SimpleGalleryPage of Samples and i don't know that is happening.
When i use the FlowListView, like here and not show for me. If i switch Flowlistview to Listview, the info is showed.
The xaml is the same of example. Here is the C# code:
`    [XamlCompilation(XamlCompilationOptions.Compile)]
public partial class Cameras : global::Xamarin.Forms.ContentPage
{
protected FlowObservableCollection ItemsFlow = null;
    public Cameras()
    {
        InitializeComponent();

        GetCameras();
    }

    private async void GetCameras()
    {
	Webservice webservice = RestService.For<Webservice>(Http.Get());

            Requests.MyDataClass dataClass= await webservice.DataClass();

            if (dataClass.Status)
            {
                this.ItemsFlow = dataClass.ItemsFlow;
                FlowListViewCameras.ItemsSource = this.ItemsFlow;
            }

    }

}`

How i say, with list view the data is showed, but using flowlistview nothing appears.
Thanks for the help!

Change this:
FlowListViewCameras.ItemsSource = this.ItemsFlow;

to this
FlowListViewCameras.FlowItemsSource = this.ItemsFlow;


Set up "Communications" subteam

Following the governance policy for subteams, as mentioned on the conda slack team, I'd like to initiate a communications subteam to better coordinate communication in the conda organizations.
See the formal proposal below.
As a first step, I'll propose to participate in the subteam as the required steering council member, but I'd like to invite other steering council members to join as well, if they are interested in this area of work.
Please respond below in case you're interested in joining the subteam.

@conda-incubator/steering Please take a look at this proposal at your earlier convenience (I'll cross-post to slack as well).
@tnabtaf @ocefpaf @xhochy @jaimergp You have responded to my previous question on Slack, are you interested in joining the subteam?

Yes, please, I'd like to join!

@conda-incubator/steering I only now realized this is a voting item in the governance policy. Here's my official proposal.
Proposal
I hereby propose to form a new "Comms" subteam
Role & Responsibility
The "Comms" subteam helps to improve the communication between the conda organization and the larger conda community and works in tandem with the steering council and projects under the conda governance policy.
The sub-team is responsible to help with communication efforts and help project maintainers and other conda organization members if/when they need help with communication topics (e.g. release announcements).
Some suggested fields of work (incomplete list):

maintenance of Twitter, Mastodon and related social media presence
co-administration and moderation of the conda discourse instance
co-administration of mailing lists under the conda.org domain
...

Members (ongoing list):

@jezdez
@jaimergp
@tnabtaf
...

Charter
dynamic (self-organizing)

Vote
This proposal falls under the "Sub-team Formation" policy of the conda governance policy, please vote and/or comment on this proposal. It needs 50% of the Steering Council to vote yea to pass.
To vote, please leave "Yay" or "Nay" below as comments.
If you would like to propose changes to the current proposal or have questions, please leave a comment below as well.
This vote will end on 2022-12-21.

Yay.

Can we name this "communications" or the like?
When it comes to "official matters", general user documentation, etc. I'm inclined to step away from abbreviations and slang/cant to make things easily comprehensible for new/international users.

@mbargull Good call out, I've updated the proposal to use "communications" instead.

@beckermr I've added "website maintenance (conda.org)" to the proposal above. I don't think you meant the documentation websites, since they are related to the individual projects, right?

@tnabtaf @ocefpaf @xhochy @jaimergp You have responded to my previous question on Slack, are you interested in joining the subteam?

@jezdez while I'm willing to help this team with anything I can do I do not want to be a part of it. I'm afraid I don't have the time to be a "full time" member.

@mbargull Good call out, I've updated the proposal to use "communications" instead.

Thank you!

Yay!

Yay!

I would be happy to on (and even lead) this team.

Copying from @ocefpaf:
@jezdez while I'm willing to help this team with anything I can do I do not want to be a part of it. I'm afraid I don't have the time to be a "full time" member.

yay!

Yay 🎉

Voting Results
This was a standard, non-timed-out vote.
Among Steering Council members there are 8 "yes", 0 "no", and no abstentions.
This vote has reached quorum (8 is at least 50% of 15).
It has also passed since it recorded 8 "yes" votes and 0 "no" votes giving 8/15 which is greater than 50% of 15.
It should be noted that the proposal was updated to use "communications" instead of "comms" as originally proposed.

The repo and teams have been created at:

https://github.com/conda/communications
https://github.com/orgs/conda/teams/communications

@tnabtaf I've invited you to the team, I also added @jaimergp and me.

FYI, vote passed with 100%. The vote percentage is computed with respect to those who voted. Otherwise, the quorum would default to 100% of the group.


Postgresql-client9.6 is does not match server version 12

The server version was upgraded to 12 in #7 as 9.4 is out if support, but corresponding action was not taken to upgrade the client side.  'postgresql-client' on Debian stretch defaults to 9.6.
$  docker exec -it  nav-container_nav_1 /bin/bash
root@eab3c9e7ed00:/# navpgdump
-- navpgdump invoked on eab3c9e7ed00 at 2020-03-04 15:25:18.323861
-- pgcmd: ['pg_dump', '--no-privileges', '--disable-triggers']
pg_dump: server version: 12.1 (Debian 12.1-1.pgdg100+1); pg_dump version: 9.6.15
pg_dump: aborting because of server version mismatch
I'll make PR in a few minutes with suggestion for fetching version 12 from Postgresql.org

Fixed with #17
docker exec -it  nav-container_nav_1  /bin/bash
root@8bf6b4a71f45:/# navpgdump | more
-- navpgdump invoked on 8bf6b4a71f45 at 2020-04-15 09:03:47.087551
-- pgcmd: ['pg_dump', '--no-privileges', '--disable-triggers']
-- PostgreSQL database dump
(..)
-- Dumped from database version 12.2 (Debian 12.2-2.pgdg100+1)
-- Dumped by pg_dump version 12.2 (Debian 12.2-2.pgdg90+1)


iOS: Bump version to 1.0-alpha09

TL;DR
Bumped iOS app version from 1.0-alpha02 to 1.0-alpha09
What changed?

Increased marketing version from 1.0-alpha02 to 1.0-alpha09
Updated current project version from 5 to 10

How to test?

Build and run the iOS app
Verify the version number in Settings or App Store Connect
Confirm the build number is correctly displayed as 10

Why make this change?
To align the iOS app version with the latest release cycle and maintain version consistency across the application ecosystem.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#429  👈 (View in Graphite)
#428
#427
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Merge activity

Dec 4, 8:55 AM EST: A user merged this pull request with Graphite.


Add no mouse days plugin

https://github.com/marcysutton/no-mouse-days
Let VisBug load and init this on a page

Hi, I'd like to help with this feature 🙂

Hi, I'd like to help with this feature 🙂

Awesome, thank you! ❤
I can help streamline your work and offer a few pointers? like to this wiki page 🙂
I just tested that unpackage will allow us to grab the no-mouse-days npm package with https://unpkg.com/no-mouse-days@latest, which means you can pretty much copy the tota11y plugin I think!
Let me know how it goes and how I can make it easier.

Awesome, thank you! ❤
I can help streamline your work and offer a few pointers? like to this wiki page 🙂
I just tested that unpackage will allow us to grab the no-mouse-days npm package with https://unpkg.com/no-mouse-days@latest, which means you can pretty much copy the tota11y plugin I think!
Let me know how it goes and how I can make it easier.

Thanks for hints! I already created PR (#494)
Since plugin is enabled by default on widow load and we are loading module dynamically, I enabled it by explicitly calling window.onload function after importing module. Hopefully this solution is ok :blush:

Thanks for hints! I already created PR (#494)
Since plugin is enabled by default on widow load and we are loading module dynamically, I enabled it by explicitly calling window.onload function after importing module. Hopefully this solution is ok :blush:

lovely work! works like a charm, so cool!

lovely work! works like a charm, so cool!


Syntax highlighting hook

Marked supports providing a custom highlight function to colour the code. It would be nice if markdown-wasm provides a similar feature. This means that every time a <code> or a <pre><code> is seen, it should pass the code to the hook for external rendering.
Here is how marked allows it:
https://github.com/atom-community/atom-ide-markdown-service/blob/9a95f3815bbcf2507a31235a9d2f9102192f92b2/src/renderer.ts#L33-L42

@rsms Could you shed some light on this issue? Is this possible given the current codebase?

That's a cool idea. It is likely to be a complicated addition as this is a WASM module, not JavaScript. Even if a js function is called as a callback, you will likely be paying a pretty steep perf cost.

So do you think that editing the code blocks (adding colors) after getting the HTML would have better performance?

@aminya Okay, I've got a proposal in the main branch. It was quite a bit of effort as I had to do some maintenance on some tools (wasmc and emsdk docker image) but this approach actually works really well and is reasonably performant.
2938af6f0bb4bd555430af7a175b8626fbab6c93 adds onCodeBlock to ParseOptions with the following signature:
interface ParseOptions {
  /**
   * onCodeBlock is an optional callback which if provided is called for each code block.
   * langname holds the "language tag", if any, of the block.
   *
   * The returned value is inserted into the resulting HTML verbatim, without HTML escaping.
   * Thus, you should take care of properly escaping any special HTML characters.
   *
   * If the function returns null or undefined, or an exception occurs, the body will be
   * included as-is after going through HTML escaping.
   *
   * Note that use of this callback has an adverse impact on performance as it casues
   * calls and data to be bridged between WASM and JS on every invocation.
   */
  onCodeBlock? :(langname :string, body :UTF8Bytes) => Uint8Array|string|null|undefined
  // ...
}

Try it like this:
$ git checkout https://github.com/rsms/markdown-wasm.git
$ cd markdown-wasm
$ git checkout 2938af6f0bb4bd555430af7a175b8626fbab6c93
$ npm install
$ npm run build
$ node example/example.js

Example program:
const fs = require("fs")
const md = require("../dist/markdown.node.js")
const source = fs.readFileSync(__dirname + "/example.md")
const outbuf = md.parse(source, {
  bytes: true,
  onCodeBlock(lang, body) {
    return body.toString().toUpperCase()
  },
})
fs.writeFileSync("example.html", outbuf)

Since WASM maintains an isolated "heap of memory", every call to the filter function implies one copy of the bytes (from a JS heap Uint8Array buffer to the WASM heap). Additionally if you do body.toString() to get a JS string (or decode the body, which is a view into the WASM heap) you pay 3x additional "tolls" of copying (WASM heap to JS heap as a UTF-16 string + return value JS string to JS heap Uint8Array + JS heap Uint8Array to WASM heap.) This is unavoidable if you deal with JS strings. I'm looking into the possibility to directly encode a JS string into WASM heap memory (see withUTF16Str in wlib.js) but it means that the data needs to be translated into UTF8 and copied anyways, but in WASM, which is likely going to be slower.
Anyhow, the performance is still really good. On my 2018 MacBook Pro, nodejs v16.1:

without onCodeBlock: avg parse time: 31.0us
with onCodeBlock: avg parse time: 470.6us

(repro with node example/example.js -bench)

Released alongside a security fix in v1.2.0 on NPM

@aminya Let me know if this is a working solution for you and we can close the issue.

Thank you so much!
The only issue that I have now is that onCodeBlock is a synchronous function, while my highlighting function is asynchronous. I might be able to use make-synchronous or deasync, but I was wondering if it is possible to make it async.
Regarding the string conversion, this video might help.

There's really no reasonably-affordable way to make it async as parsing is inherently synchronous. I'm surprised your syntax highlighter is async since it's really a CPU-bound thing with no I/O involved on a single-threaded platform (nodejs.) Perhaps look into using a different syntax highlighter? Alt you can do what is pretty common and apply post-processing to the output HTML (just grep for <code> blocks)

This code runs inside Atom, and the syntax highlighting is done by SuperString and TreeSitter, which are native code. If it was in JavaScript, there was no reason to make the function async, but this isn't the case here.


Uncaught Error: The specified module could not be found./?~\AppData\Local\atom\app-1.37.0\res...

[Enter steps to reproduce:]

...
...

Atom: 1.37.0 x64
Electron: 2.0.18
OS: Microsoft Windows 10 Pro for Workstations
Thrown From: Atom Core
Stack Trace
Uncaught Error: The specified module could not be found.
\?\C:\Users\hsingh\AppData\Local\atom\app-1.37.0\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
At ELECTRON_ASAR.js:166

Error: The specified module could not be found.
\\?\C:\Users\hsingh\AppData\Local\atom\app-1.37.0\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
    at Object.Module._extensions..node (module.js:671:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:180:18)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (internal/module.js:11:18)
    at customRequire (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:1:688410)
    at get_KeyboardLayoutManager (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:14:3200640)
    at get_manager (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:14:3200720)
    at Object.getCurrentKeyboardLayout (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:14:3200846)
    at e.keystrokeForKeyboardEvent (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:14:1002691)
    at KeymapManager.t.exports.KeymapManager.keystrokeForKeyboardEvent (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:1212014)
    at KeymapManager.t.exports.KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:1209999)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:285128)

Commands

Non-Core Packages

Running the installer repaired this for me.

Thanks for contributing!
We noticed that this looks like a duplicate of #14461 so you can subscribe there for updates if you'd like.  Also, if you have an anti-virus program running you can try temporarily disabling it and then reinstall Atom as @christronyxyocum mentioned to see if that helps.

Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


(PUP-7042) Mark strings in functions

This commit marks user-facing error and info strings in
lib/puppet/functions.rb and lib/puppet/functions/* for translation.

CLA signed by all contributors.

Closing and reopening to fix CI.

👍

👍


Serenity/Discord reports channel/user permissions incorrectly

Figure out why the api says all users have full permissions to private channels

This seems to have been primarily resolved, however there are still a few instances of bots in the nicklists of channels they shouldn't be in

The remaining instances of this seem to come from permission overwrites not properly overwriting.  It seems to be a bug in serenity, but I'm not sure how to fix it.

This seems to be due to the ready event firing before all guilds have been cached paired with the plugins assumption that everything is always cached.


Improve hasVertexAlpha handling

See https://forum.babylonjs.com/t/babylon-objexport-obj-mesh-serialization-bug/50856.
This is a fix for the first problem indicated in the forum post. The issue is that the vertex alpha flag is inconsistently handled between mesh, geometry, and vertex data causing mesh.flipFaces to create new vertex data with the wrong stride for colors. This change makes the flag more consistent across the board.

I will also point out that mesh.flipFaces probably shouldn't be extracting every single vertex buffer just to flip the indices/normals. It would be better if mesh.flipFaces only changes the indices and normals without modifying other vertex buffers.

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.

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.

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.

I split the abstract class code into its own PR: #15160.

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/15153/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15153/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15153/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15153/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15153/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15153/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15153/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/15153/merge#BCU1XR#0

WebGL2 visualization test reporter:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15153/merge/testResults/webgl2playwright/index.html

Visualization tests for WebGPU (Experimental)
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15153/merge/testResults/webgpuplaywright/index.html

Visualization tests for WebGPU (Experimental)
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15153/merge/testResults/webgpuplaywright/index.html

WebGL2 visualization test reporter:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15153/merge/testResults/webgl2playwright/index.html

Visualization tests for WebGL 1 have failed. If some tests failed because the snapshots do not match, the report can be found at
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15153/merge/testResults/webgl1/index.html
If tests were successful afterwards, this report might not be available anymore.

Visualization tests for WebGL 1 have failed. If some tests failed because the snapshots do not match, the report can be found at
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15153/merge/testResults/webgl1/index.html
If tests were successful afterwards, this report might not be available anymore.

After the CI reported some issues and some discussions with @sebavan, we decided that this is not the right way to fix this issue. It also means #15160 is strictly necessary. We may consider reverting it.
The new fix is #15162.


Fix wrong code links

Did quicktest for code button opening correct scripts and found that these two pointing wrong ones.

texts_lang
layout_fit

Amazing, Thanks!