[Wave Collect] [Xero] Make the toggle for requiring categories enabled when connected

Xero is connected but the toggle for requiring categories is disabled. It should be enabled (QBO is correct).
Video:
https://github.com/Expensify/App/assets/21549771/6f149e53-6d1a-40c8-ba27-a3bb66c9c7e3

I'll work on this one 😄

@trjExpensify Can you reproduce this one?

I can give it a go, we can chat here: https://expensify.slack.com/archives/C036QM0SLJK/p1716374148109909?thread_ts=1716238514.357639&cid=C036QM0SLJK

Same result, commented in the thread.

Unassigning @hungvu193 as this needs BE changes.
Will raise a PR.

Closing, dupe of https://github.com/Expensify/Expensify/issues/397238.


HD-341 update handlebars (from security report)

Hello benoit-a,
My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.
Status report is not available.

Waiting for approval
The following approvals are needed before I can proceed with the merge:

the author

2 peers


Bugfix, use proper variable

Fix flake8 linting issue.

Codecov Report

Merging #1221 (26d8b99) into image_v2.7 (b67968a) will decrease coverage by 0.05%.
The diff coverage is 25.00%.

@@              Coverage Diff               @@
##           image_v2.7    #1221      +/-   ##
==============================================
- Coverage       47.66%   47.61%   -0.06%
==============================================
  Files              25       25
  Lines            4618     4646      +28
  Branches          767      773       +6
==============================================
+ Hits             2201     2212      +11
- Misses           2364     2381      +17
  Partials           53       53

Impacted Files
Coverage Δ

pynq/pl_server/hwh_parser.py
18.67% <0.00%> (ø)

pynq/pl_server/server.py
47.90% <0.00%> (ø)

pynq/pl_server/xclbin_parser.py
0.00% <0.00%> (ø)

pynq/pl_server/xrt_device.py
29.67% <15.15%> (+0.29%)
:arrow_up:

pynq/overlay.py
32.65% <20.00%> (-0.23%)
:arrow_down:

pynq/_3rdparty/xrt.py
40.64% <25.00%> (-0.49%)
:arrow_down:

pynq/devicetree.py
100.00% <100.00%> (ø)

pynq/ps.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

Fixes linting error introduced by https://github.com/Xilinx/PYNQ/pull/1206


How am I supposed to create my own icon set from a set of vector images?
I saw it should be possible using the generate-icon utility and a CSS file but how is this CSS file supposed to be formatted?
It would be good to put an example because I have no clue on what properties must be defined in this CSS file...

Hi, easiest is to use one of the generator services linked in the documentation such as https://icomoon.io

OK thanks. And from fontello or IcoMoon, is it possible to generate a persistent icon set component (like with CSS and the generate-icon utility) or do I have to call createIconSetFromIcoMoon (or createIconSetFromFontello) each time...
Because, if possible, i would rather have something like:

import Icon from 'components/MyIcon.js'
rather than having to generate it each time (which is not ideal for performance)

Just put it in a file that you import, then it's only run once:
import { createIconSetFromIcoMoon } from 'react-native-vector-icons';
import config from './selection.json';
export default createIconSetFromIcoMoon(config);

Still have to parse the json file to create the set the first time.
I was looking for a solution that wouldn't require a json file to be parsed and embeded into my app (like with the CSS solution). But OK I will do it like it for now.
If you want people to be able to use the solution with a CSS file and the generate-icon utility, you should add an example on how this CSS file should be formated (or a link to an utility to generate it from a set of SVG files) though...

Closing this as I regard the issue itself as solved, you're welcome to submit a PR with proposed changes to README 👍

HI,
I am looking for something like this. can you post any example or point me where I can find sample implementation of this ? I ran generate Icon utility I have a js file and created one more js file with Icomoon config file. But none of it showing me the icon I wanted. I wanted to show colorized SVG imported to font with the help of Icomoon.
@oblador & @ramsestom  any help will is welcome !!!


Scope switch cases to avoid var-shadow despite break

Has some issues right now with tbc locals:
do
    local pluto_class CloseMe
        function __construct(public closed = false)
        end

        function __close()
            self.closed = true
        end
    end
    local c = pluto_new CloseMe()
    do
        switch 1 do
        	case 1:
        		local _ <close> = c
        		break
        end
    end
    assert(c.closed)
end


routeRules are ignored for breadcrumbs or causing wrong breadcrumbs

Describe the bug
hi,
i have these route rules ,on pages like this http://<IP_ADDRESS>:3000/blog/tag/experiments i get , breadcrumbs like this  remove route rules , everything works
routeRules: {
    "/blog/tag": { redirect: { to: "/blog/tags", statusCode: 301 } },
}

Breadcrumbs
Home
Blog
/Blog/tag
Experiments

[
  {
    "to": "/",
    "label": "Home",
    "ariaLabel": "Home",
    "current": false
  },
  {
    "to": "/blog",
    "label": "Blog",
    "ariaLabel": "Blog",
    "current": false
  },
  {
    "to": "/blog/tag",
    "label": "/Blog/tag",
    "ariaLabel": "/Blog/tag",
    "current": false
  },
  {
    "to": "/blog/tag/dd",
    "label": "Dd",
    "ariaLabel": "Dd",
    "current": true
  }
]

in reproduction visit this url https://gqairmgblwgithub-c5kt--3000--24eaa195.local-credentialless.webcontainer.io/blog/tag/dd
enable/ disable  route rules in nuxt.config.ts to see the issue
Reproduction
https://stackblitz.com/edit/github-tsj5bt?file=pages%2Fblog%2Ftag%2F[slug].vue,nuxt.config.ts,app.vue,pages%2Findex.vue
System / Nuxt Info
No response

Hi, thank you for the reproduction. I've pushed up a fix that will be in the next RC.


Kafka Topic waiter optimizations

User ImportStatePassthroughContext for Kafka Topic importer
Remove v1 API fallback functionality for Kafka Topic availability waiter
Kafka topic availability waiter optimization by reducing PollInterval to 5s

Why this way
Before TF v2 (v2.0.7), we've been using the Kafka Topics List endpoint that retrieves a list of all Kafka Topics for service. Around that time, Aiven added support for Kafka Topic config. Unfortunately, the config wasn't included in the Kafka Topic List API response GET v1/project/{$project}/service/${service}/topic. As a result, we had to query each topic one by one GET v1/project/{$project}/service/${service}/topic/${topic_name}, which is not optimal from the requests per second to API point of view and customer perspective (clearly, this approach would jeopardize performance). Finally, Kafka Topic v2 endpoint was created POST v2/project/{$project}/service/${service}/topic, which allowed us to query up to 100 Kafka Topics at the time, and we still use it today.
Kafka Topic availability waiter is gathering Kafka Topics that need to be refreshed in a batch (up to 100 Topics). Therefore, the waiter queries the v2 endpoint sequentially despite Terraform's asynchronous management of the resources.
That leads us to the-parallelism parameter usage; the default value is 10. But unfortunately, there is no correct number for everyone, since it depends on the number of Kafka topics in manifest and on the virtual machine (available CPU/RAM) where the Terraform command is executed. So from the waiter implementation, it doesn't make sense to have -parallelism > 100.
In my tests, I was using -parallelism=60 for the 2k Topics clusters; here are results:
v3.3.0
terraform apply --parallelism=60 | gnomon
Total   609.3299s

this PR
terraform apply --parallelism=60 | gnomon
Total   188.6568s

As you can see there is some performance gain, and amount of API calls per second is OK.

@kkonstan-ovo could you please check if https://github.com/aiven/terraform-provider-aiven/pull/848 improves it?

Apologies for the late reply, missed the notification. I can confirm it works and we've been using 3.5.0 an now 3.5.1 for a while, thanks

you're very welcome!


Enable to select whether to prohibit enhancement from being run on alert information to be written back to ES

Background and problem
With running enhancements, the data type of elements in a match could be changed from original one due to the enhancements.
As a result, when the data type that Elasticsearch's writeback_index expects does not match the data type in a match to be written to ES, trying to write alert info to Elasticsearch will fail.
This problem especially tends to occur when using enhancements that change the format of @timestamp (or timestamp_field).
In that case, the following error would appear.
ERROR:root:Error writing alert info to Elasticsearch: RequestError(400, 'mapper_parsing_exception', "failed to parse field [match_time] of type [date] in document with id 'XXXXXXXXXXX'")
Traceback (most recent call last):
  File "/<path_to>/venv/lib/python3.6/site-packages/elastalert/elastalert.py", line 1625, in writeback
    res = self.writeback_es.index(index=index, body=body)
  File "/<path_to>/venv/lib/python3.6/site-packages/elasticsearch/client/utils.py", line 84, in _wrapped
    return func(*args, params=params, **kwargs)
  File "/<path_to>/venv/lib/python3.6/site-packages/elasticsearch/client/__init__.py", line 364, in index
    "POST", _make_path(index, doc_type, id), params=params, body=body
  File "/<path_to>/venv/lib/python3.6/site-packages/elasticsearch/transport.py", line 350, in perform_request
    timeout=timeout,
  File "/<path_to>/venv/lib/python3.6/site-packages/elasticsearch/connection/http_requests.py", line 156, in perform_request
    self._raise_error(response.status_code, raw_data)
  File "/<path_to>/venv/lib/python3.6/site-packages/elasticsearch/connection/base.py", line 181, in _raise_error
    status_code, error_message, additional_info
elasticsearch.exceptions.RequestError: RequestError(400, 'mapper_parsing_exception', "failed to parse field [match_time] of type [date] in document with id 'XXXXXXXXXXX'")

Several related issues have also been reported.
#1047 #2036
Cause
The cause of this problem is that, in the current code, it is the alert info modified by enhancements that will be written back to ES.
Solution
Add an option which realizes that enhancements will be run only on the content of alerts send by Alerters, whereas info about the alerts to be written back into Elasticsearch will not be processed by enhancements.

Test are failing


fix: [Android/iOS] [Login] The user is able to login with an invalid email address

GitHub Issue: #
PR Type
What kind of change does this PR introduce?

Bugfix

Description
Email validation on FluentValidation is deprecated so I added a RegEx to validate the email address string.
Essentially went with the method propose in Microsoft documentation on email validation
https://docs.microsoft.com/en-us/dotnet/standard/base-types/how-to-verify-that-strings-are-in-valid-email-format
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Interface members are XML documented
[ ] Documentation (XML or comments) has been added and/or existing documentation has been updated
[ ] Architecture documents have been updated
[x] Tested on all relevant platforms

Other information

Internal Issue (If applicable):

https://docs.microsoft.com/en-us/dotnet/standard/base-types/how-to-verify-that-strings-are-in-valid-email-format
https://dev.azure.com/nventive/Practice committees/_workitems/edit/252828

How is EmailAddress() deprecated?


Consider replacing Jenkins with Azure Pipelines

With the introduction of Azure DevOps, Microsoft has announced that their build and release pipeline, called Azure Pipelines, is free for OSS projects.
I know there was earlier talk of wanting to migrate off Jenkins to a hosted setup, and this seems like it may address the concerns brought up in that comment. Specifically:

Support for multiple (10, specifically) parallel jobs with unlimited build minutes
Support for hosted macOS agents as well as bringing your own

There are obviously other solutions as well (such as Travis or Circle CI), but neither of those seem to offer the level of customization that Azure Pipelines provides 😄 For full disclosure, I do work at Microsoft, but not on this product; I'm just a happy user!

@cglong Can I mark this as "fixed" because we are considering it? 😆. Seriously, though, we're in some discussions with Microsoft about tweaking this so better suits our needs but it's looking good for some repos (including this one) as a starting test point.

Haha, that's awesome news! And sure, I mostly wanted to use this issue to raise awareness of it, so glad to hear that ball's already rolling 🙂

@cglong

unlimited build minutes

Does this mean one job can run more than one hour or just that you can run as many jobs as you want?
Thanks

@MikeMcQuaid Nice! It looks like, from those PRs, that it fits nicely 😄 I'd be curious to know what the additional requirements are for homebrew-core, but understand if that's a more private discussion for the Azure DevOps people you've been working with.
@monouser7dig You'd want to ask the Azure DevOps team to be sure, but from this article, it sounds like you can run as many jobs as you want (up to 10 at a time). If you use the build machines hosted by Microsoft, the build phase can take up to 30 minutes, but if you host the build agent yourself, there's no time limit. They also sound pretty flexible about the 30 minute cap if you work with them 😄

I'd be curious to know what the additional requirements are for homebrew-core, but understand if that's a more private discussion for the Azure DevOps people you've been working with.

It's not too private! Basically beefy workers, longer timeouts and support for newer and older macOS versions.

longer timeouts

https://www.reddit.com/r/programming/comments/9enz31/announcing_azure_pipelines_with_unlimited_cicd/e5sda7y/
seems to get you up to 360minutes
(maybe this excuses my interruption 😃)

beefy workers, longer timeouts and support for newer and older macOS versions

@MikeMcQuaid Ah, that makes sense! You may be able to explore migrating your existing MacStadium infrastructure to self-hosted agents, but I get wanting to remove that dependency if you're moving to a cloud-based CI anyway 🙂

@cglong Yeh, that's the fallback option.


layers/GC: "read from gap" / "Kind.of_magic: unexpected magic char '\000'"

Victor reports the following:
+7550103145us irmin.layers.io [INFO] vendors/irmin/src/irmin-pack/unix/pack_store_IO.ml: check_worker_status called (Some case)
+7550103250us irmin.layers.io [INFO] vendors/irmin/src/irmin-pack/unix/pack_store_IO.ml: check_worker_status: worker terminated
+7550103267us irmin.layers.io [INFO] vendors/irmin/src/irmin-pack/unix/pack_store_IO.ml: checking existence of next sparse+suffix
+7550308372us irmin.layers.io [INFO] vendors/irmin/src/irmin-pack/unix/pack_store_IO.ml: copy additional data from current suffix to next
+7550308657us irmin.layers.io [INFO] vendors/irmin/src/irmin-pack/unix/pack_store_IO.ml: switching to next sparse+suffix
+7550382299us irmin.layers.io [INFO] vendors/irmin/src/irmin-pack/unix/pack_store_IO.ml: switched to new sparse+suffix
+7550382426us irmin.layers.io [INFO] vendors/irmin/src/irmin-pack/unix/pack_store_IO.ml: removing old files
+7554134620us irmin.layers.io [INFO] vendors/irmin/src/irmin-pack/layers/pre_io.ml: RO instance for /home/vicall/.tezos-node_layered/context\
/store.pack reloading for generation 1235
+7554819822us irmin.layers.io [INFO] vendors/irmin/src/irmin-pack/layers/pre_io.ml: RO instance for /home/vicall/.tezos-node_layered/context\
/store.pack reloaded; updating ro_fields
+7554819912us index [INFO] [context] sync
May  3 11:19:24.971 - validator.block: block BKucWhjSBRrvsHCd5qVJ5ntXeXz1CjErvnj5fcCrjQk8FSodAdq successfully validated
May  3 11:19:24.971 - validator.block: Request pushed on 2022-05-03T09:19:09.709-00:00, treated in 28.883us, completed in 15.262s
May  3 11:19:25.083 - validator.chain: Update current head to BKucWhjSBRrvsHCd5qVJ5ntXeXz1CjErvnj5fcCrjQk8FSodAdq (level 2302735, timestamp \
2022-04-22T14:26:29-00:00, fitness 02::0023230f::::ffffffff::00000000), same branch
May  3 11:19:25.083 - validator.chain: Request pushed on 2022-05-03T09:19:24.971-00:00, treated in 642us, completed in 111ms
+7554066625us irmin.layers.io [ERROR] vendors/irmin/src/irmin-pack/layers/sparse_file.ml: attempt to read from gap
vendors/irmin/src/irmin-pack/layers/sparse_file.ml: attempt to read from gap, voff=3146378311, len=42
Error:
  Kind.of_magic: unexpected magic char '\000'

This was whilst bootstrapping from mainnet, with a gap_tolerance of 1000. The "read from gap" error means that the node is attempting to read from part of the file that has been GC'ed.
These sorts of errors are quite difficult to track down. The obvious candidates are:

Somehow the "reachable/live data in the file" was not calculated correctly - a bit of the file that was live was missed.
The "reachable data in the file" was calculated correctly, but the node wrongly tried to access a part of the file it shouldn't (e.g. it retained some reference to a part of the file in a cache, and later tried to use this reference).
Some other error, e.g. the processing of the "reachable" data to produce the "extent" data was buggy.

+7554066625us irmin.layers.io [ERROR] vendors/irmin/src/irmin-pack/layers/sparse_file.ml: attempt to read from gap vendors/irmin/src/irmin-pack/layers/sparse_file.ml: attempt to read from gap, voff=3146378311, len=42
and
Error: Kind.of_magic: unexpected magic char '\000' look like 2 distinct errors. Do you know why both show up?

At the moment, the "read from gap" is logged as an error, but the code fills the buffer with '0' characters. So the exception actually gets thrown when the code attempts to interpret the '0' characters as a Pack_value.Kind t. Probably better just to make the "read from gap" case throw an exception instead.

Just altered this in the current branch; "read from gap" now results in a thrown exception.

Something I didn't notice when first reading the error: the log reports the error as:
+7554066625us irmin.layers.io [ERROR] vendors/irmin/src/irmin-pack/layers/sparse_file.ml: attempt to read from gap
Note the time stamp of "+7554066625us". Note that the previous log line was
+7554819912us index [INFO] [context] sync

So these lines are out of order, if we believe the timestamps. If we believe the timestamps, the error occurs between the following two events:
+7550382426us irmin.layers.io [INFO] vendors/irmin/src/irmin-pack/unix/pack_store_IO.ml: removing old files
+7554134620us irmin.layers.io [INFO] vendors/irmin/src/irmin-pack/layers/pre_io.ml: RO instance for /home/vicall/.tezos-node_layered/context/store.pack reloading for generation 1235

Since the RO instance always reloads (if it can) before serving a call, the error must originate from the RW instance, immediately after switching to the next sparse+suffix (again, all this relies on the correctness of the timestamps).

I was able to reproduce this error in the following way:

importing a snapshot seems currently not possible because of https://github.com/mirage/irmin/issues/1830
instead, we can download a mainnet rolling tarball from https://mainnet.xtz-shots.io/
then we need to convert the files to layers format (needs documentation - ask me if you need to do this)
then we can run a rolling node
soon after the first GC, we get a similar "read from gap" error

After further investigations:

the "read from gap" error is at some position/offset 98765 (say); this position is indeed GC'ed by layers
this position corresponds to a non-commit object; there is an entry for this object (with the position 98765) in the index
at some point after the GC, index.find is called with the hash of this non-commit object; it finds the hash in the index, with the corresponding position 98765, returns that; the next step is an attempt to read from that offset, resulting in the error

So, it looks like the problem is that the index contains entries for non-commit objects, and these cause problems.
If we patch the index to only return results for commit objects, and to return "None" for everything else, we have a different problem:

When GC is called, during Repo.iter, we get Fatal error: exception Irmin_pack_unix__Pack_store.Corrupted_store("Unexpected object CoW1MP7bzPiEUZp1J7vng94pvFYmTUwdtmXKLPJMGz1M3esUqPkt missing from index")
This object is a non-commit object that was expected to be in the index
After examining the code, we see that Irmin is working with a key of the form Indexed hash; such keys MUST be present in the index for irmin to work; in this case, our patch invalidates this invariant, and we have an exception raised

So, at this point we have:

Working from a snapshot, or imported tarball, seems to give rise to keys of the form Indexed hash for objects that are not commits
After GC runs, these objects can be invalid because GC has removed the file regions they point to

For the imported tarball:

It is sort-of expected that a tarball produced from a "non-minimal" indexing strategy, will not be compatible with the minimal indexing strategy that we need for layers
It is not obvious how to fixup the imported tarball so that it can be used with layers

For the snapshot:

Importing a snapshot in minimal-indexing mode should presumably mean that the index ONLY contains entries for commit objects. Thus, it is unclear why Victor hit this error when importing a snapshot. The suspicion is that snapshot import somehow introduces entries into index for non-commit objects.

To progress this issue:

We need to fixup snapshot import
Then we need to see if we can reproduce this "read from gap" error after GC
Then we need to confirm that the index contains entries for non-commit objects

After this, we somehow need to reconcile the way that snapshot import is working, with the requirement that index only contain entries for commit objects.

Using a mainnet v4 in-mem snapshot import into a clean data-dir, and then bootstrapping, with GC every 100 commits, this error was no longer observed (whereas previously it happened every time, almost immediately after GC switched to the new sparse and suffix).

Let's close this - the snapshot import code should be ok. We can re-open a new issue in case there are more issues with snapshots.


slider knob does not properly track touch point (v6.1)

Describe the bug
There is an issue with the slider widget where its value indication does not track where it is being pressed.  This is most noticeable on a wide (horizontal) slider that has a fairly small range.  Touching near the midpoint of the slider precisely sets its value, but as you drag towards either end, the displayed value moved progressively further ahead of the touch point.  The behavior is as if the touchable width of the slider is 80% of its displayed width.
Please note that I am not expecting the knob to exactly track the touch point.  I understand that it will always "snap" to one of the max-min+1 points based on the slider's range.  The issue is that it selects the next value earlier than it should as the touch point moves towards an end.
To Reproduce
Create a horizontal slider using most of the screen width.  Set a moderate height (the effect should be more noticeable with a greater height). Set the range to have around 10 values.  Touch near the midpoint and drag towards either end.
Expected behavior
The indicated value should always be within one half of the inter-value distance from the touch point, but this is not the case as the touch moves towards an end.  The slider reaches an end much sooner than it should.
Additional context
I examined the code in the lv_slider_signal() routine where it computes the new slider value based on the touch coordinate.  There are three bugs with the computation:

Converting from pixels to values divides by max-min+1.  It should divide by just max-min.
The integer division truncates rather than rounds and there is no compensation for this.
The major error is that the computation factors in the width of the slider.  While this is necessary when the "knob in" mode is enabled, it uses the same computation for both modes.  This has the effect of assuming that the slider is shorter and causes the end values to be reached too soon.

I rewrote the computation from scratch and corrected the issue.  I verified it for both the normal and knob-in modes for a horizontal slider.  The diff is below, including a detailed description of the new computation.  I examined the v7.0 code and it is significantly different.  Based on inspection, I doubt that it has this issue, probably because the knob-in option seems to have been removed.
@@ -530,18 +530,86 @@ static lv_res_t lv_slider_signal(lv_obj_t * slider, lv_signal_t sign, void * par
     } else if(sign == LV_SIGNAL_PRESSING) {
         lv_indev_get_point(param, &p);
         int16_t tmp = 0;
+        /*
+         * The formulas in the code below convert the touch coordinate (in the
+         * range of 0 to screen_width-1) to a slider value (in the slider's min
+         * to max value range). The following describes the basis for these
+         * formulas for the case of a horizontal slider.  It uses the following
+         * abbreviations:
+         *   x: X coordinate of touch (p.x)
+         *   x1: X coordinate of left edge of slider (slider->coords.x1)
+         *   w: slider width, in pixels
+         *   minv: slider's minimum value (ext->bar.min_value)
+         *   maxv: slider's maximum value (ext->bar.max_value)
+         *
+         * The basic formula for a slider at the left edge of the screen (zero-
+         * based X coordinate) and a zero-based slider range is:
+         *   x / w * maxv
+         *
+         * Correcting the order of operation to account for truncating integer
+         * division and biasing the numerator so that the integer division will
+         * round to the closest integer value:
+         *   (x * maxv + w / 2) / w
+         *
+         * Biasing the X input for a slider not at the left edge:
+         *   [(x - x1) * maxv + w / 2] / w
+         *
+         * And biasing the output for a non-zero-based slider range:
+         *   [(x - x1) * (maxv - minv) + w / 2] / w + minv
+         *
+         * This assumed a slider where the knob's center point moves along the
+         * slider's entire width, and the knob's body extends beyond the slider
+         * when at either end.  For the "knob in" case, where the full width of
+         * the knob is contained within the slider's boundary, the effective
+         * width of the slider must be reduced by the width of the knob (by the
+         * left half for when the knob is at the left end plus the right half
+         * for when the knob is at the right end).  Also, it is necessary to
+         * bias the touch coordinate by half the width of the knob.
+         *
+         * The modified formula for the "knob in" case adds the following
+         * abbreviation:
+         *   kw: knob's width; same as the slider's height (h)
+         *
+         * The adjusted formula is:
+         *  [(x - x1 - kw / 2) * (maxv - minv) + (w - kw) / 2] / (w - kw) + minv
+         *
+         * Note that, while the adjusted formula is identical to the prior
+         * formula when the knob width is 0, and the code could use a single
+         * computation and just set "kw" to zero for the non-knob-in case,
+         * separate computations are done for execution efficiency.
+         *
+         * Finally, for the cases of vertical sliders, the X coordinates are
+         * replaced with Y, and the slider width and height (knob width) are
+         * interchanged.
+         */
         if(w > h) {
-            lv_coord_t knob_w = h;
-            p.x -=
-                slider->coords.x1 + h / 2; /*Modify the point to shift with half knob (important on the start and end)*/
-            tmp = (int32_t)((int32_t)p.x * (ext->bar.max_value - ext->bar.min_value + 1)) / (w - knob_w);
-            tmp += ext->bar.min_value;
+            /*Horizontal slider*/
+            if(ext->knob_in == 0) {
+                lv_coord_t x1   = slider->coords.x1;
+                lv_coord_t minv = ext->bar.min_value;
+                lv_coord_t maxv = ext->bar.max_value;
+                tmp = (((int32_t)p.x - x1) * (maxv - minv) + w / 2) / w + minv;
+            } else {
+                lv_coord_t x1   = slider->coords.x1;
+                lv_coord_t minv = ext->bar.min_value;
+                lv_coord_t maxv = ext->bar.max_value;
+                lv_coord_t kw   = h;
+                tmp = (((int32_t)p.x - x1 - kw / 2) * (maxv - minv) + (w - kw) / 2) / (w - kw) + minv;
+            }
         } else {
-            lv_coord_t knob_h = w;
-            p.y -=
-                slider->coords.y1 + w / 2; /*Modify the point to shift with half knob (important on the start and end)*/
-            tmp = (int32_t)((int32_t)p.y * (ext->bar.max_value - ext->bar.min_value + 1)) / (h - knob_h);
-            tmp = ext->bar.max_value - tmp; /*Invert the value: smaller value means higher y*/
+            /*Vertical slider*/
+            if(ext->knob_in == 0) {
+                lv_coord_t y1   = slider->coords.y1;
+                lv_coord_t minv = ext->bar.min_value;
+                lv_coord_t maxv = ext->bar.max_value;
+                tmp = (((int32_t)p.y - y1) * (maxv - minv) + h / 2) / h + minv;
+            } else {
+                lv_coord_t y1   = slider->coords.y1;
+                lv_coord_t minv = ext->bar.min_value;
+                lv_coord_t maxv = ext->bar.max_value;
+                lv_coord_t kh   = w;
+                tmp = (((int32_t)p.y - y1 - kh / 2) * (maxv - minv) + (h - kh) / 2) / (h - kh) + minv;
+            }
         }

         if(tmp < ext->bar.min_value)

@BillHargen Thank you for the detailed write-up! Can you send a pull request?

For a vertically oriented slider, the coordinates must be inverted, because in this case, the slider moves mirrored, i.e.
        /*Vertical slider*/
        if(ext->knob_in == 0) {
            lv_coord_t y1   = slider->coords.y1;
            **lv_coord_t minv = ext->bar.max_value;**
            **lv_coord_t maxv = ext->bar.min_value;**
            tmp = (((int32_t)p.y - y1) * (maxv - minv) + h / 2) / h + minv;
        } else {
            lv_coord_t y1   = slider->coords.y1;
            **lv_coord_t minv = ext->bar.max_value;**
            **lv_coord_t maxv = ext->bar.min_value;**
            lv_coord_t kh   = w;
            tmp = (((int32_t)p.y - y1 - kh / 2) * (maxv - minv) + (h - kh) / 2) / (h - kh) + minv;
        }

@embig71
Thank you for pointing this out.
Could you send a new pull request?

My apologies for breaking this.  I agree with the proposed fix (though I would add a comment to explain it).
@embig71 Let me know if you would prefer for me to create the pull request.

Closed by #1490 and #1492. Thanks to both of you!


Maven.blade.sb.web thanksgiving!

Closing see comments.

Just started reviewing :) :octocat: Sent from GH.

@AndyWu2015 when I ran service builder I got one modification to the source code:
greg@gma-xps /lrdev/repos/github/rotty3000/blade/maven/blade.servicebuilder (pr-130)*$ git diff
diff --git a/maven/blade.servicebuilder/blade.servicebuilder.svc/src/main/java/blade/servicebuilder/service/persistence/
index 22d20fc..b0d8775 100644
--- a/maven/blade.servicebuilder/blade.servicebuilder.svc/src/main/java/blade/servicebuilder/service/persistence/impl/Fo
+++ b/maven/blade.servicebuilder/blade.servicebuilder.svc/src/main/java/blade/servicebuilder/service/persistence/impl/Fo
@@ -2159,7 +2159,7 @@ public class FooPersistenceImpl extends BasePersistenceImpl<Foo>
                                foo.setNew(false);
                        }
                        else {
-                               session.merge(foo);
+                               foo = (Foo)session.merge(foo);
                        }
                }
                catch (Exception e) {

Please check this to make sure that our source code is fully up 2date.


runner: linkerserver : remove the probe ID hardcode

linkserver is hardcoded to probe ID, now with #70343 merged the probe ID restriction can be removed.

@carlescufi , @mbolivar-ampere , @swinslow  can you help to review this.

@mbolivar-ampere I'm going to move the assignment to me as it is our runner. If you don't agree just let me know and we can discuss.


add devcontainer support

Is this PR adding new feature or fix a BUG?
Add feature / Fix BUG.
add devcontainers support for dev. just like conda or virtualenv but it can be automated and remotely.
Is this pull request related to any issue? If yes, please link the issue.
#xxx

I think we already have docker-compose.dev.yml?

I think we already have docker-compose.dev.yml?

yeah, but devcontainer spec can be more smoothly with vscode.
I'm not sure it's supported in other IDEs.
and if required, I could provide a demo in the docs.

Got it, but I don't think we need an editor specific config... Everyone who use docker in VSCode should be already very familiar with it.


Lighting Setup fan orientation LED doesn't show

The uniquely colored LEDs used to visualize a fan's orientation in 'Lighting Setup' do not show on the physical fan.
This may be due to an unimplemented command. More investigation is needed.

I'm not seeing a new command but the pattern of commands changes while showing the orientation LED.
Normal animation pattern:

Write LED color values
Write LED color values
Write LED color values
Write LED trigger
Write LED mode

Orientation LED pattern:

Write LED color values
Write LED color values
Write LED color values
Write LED mode
Write LED trigger
Write LED mode

This is an issue with my personal setup. My broken test fan only has 7 leds and it always puts the indicator on the 8th. Independent channel modes may still be something to look at if it's setting the mode with a channel in data[0].


MODCXEKB-64: Support Boolean/Exact Phrase/Wildcard/Nested Searches

Purpose
Per https://issues.folio.org/browse/MODCXEKB-64 mod-codex-ekb needs to be updated to support a new advanced search feature from RM API.  By specifying searchtype=advanced on requests to RM API, added search capabilities are now supported, specifically:

Phrase support - use double quotes around search term to query for terms in the order that they appear
Boolean Support - use AND OR or NOT to link search words together
Wildcard Support - append a * to a search term for wildcard endings searches
Nested Search Support - supports queries surrounded by ()

Flow is as follows:

Search terms (as described above) should be entered directly into codex ui-search search box
By default Codex ui-search appends a * to end of search term and adds quotes around the search term.  If other search fields are present, parenthesis are added to separate fields. A request is sent to mod-codex-mux specifying query as a CQL. For example
query=%28%28title%3D%22spring%20OR%20summer%2A%22%29%20and%20source%3D%22kb%22%29%20sortby%20title
Decodes as:
query=((title="spring OR summer*") and source="kb") sortby title
mod-codex-mux makes request to mod-codex-ekb passing CQL Query
query=title+%3D+%22spring+OR+summer*%22+sortby+title
Decodes as:
query=title+=+"spring+OR+summer*"+sortby+title
Added example with multiple search fields
query=(title+=+hobbit*)+and+(resourceType+=+books)+sortby+title

Approach

Entered search queries in Codex Search UI search box to observe query strings that are constructed by ui-search model and ultimately sent to mod-codex-ekb via mod-codex-mux
Tested and observed queries for all of the sample types of advanced search queries
Added searchtype=advanced to rm api url
adjusted existing unit tests to include searchtype=advanced in url
added unit tests for all sample types
Confirmed queries are being translated properly into desired search string to RM API with exception of Phrase Support. Test for search for "great gatsby" as quoted string is skipped. Parser does not return a quoted string as expected.  Note -- mod-codex-mux does not appear to preserve added quotes in this case

TODOS and Open Questions

[ ] Codex ui-search by default and design appends a * to the search term entered in the search box. This behavior is default for shared search and sort component and what is wanted for RMB based back end modules to do a prefix type search. This default behavior is NOT what is wanted by backend Codex KB module.
[x]During testing - Observed potential for multiple incomplete queries being sent off to the back end. For example when searching for 'Catcher in the Rye' – I observed an interim query in the logs, for example Catcher in the Ry*. Address by separate issue https://issues.folio.org/browse/STCOM-354
[ ] There is an issue with Phrase support -- quotes on search terms do not appear to be preserved when sent to mod-codex-mux. Also observed issue when trying to parse a quoted search string in unit tests

Learning
https://developer.ebsco.com/guides/advancedsearch

INFO: lint-raml-cop: Investigating mod-codex-ekb/ramls/raml-util/ramls/codex
INFO: lint-raml-cop: Looking for schema files: ./ramls/raml-util/schemas/codex
INFO: lint-raml-cop: Assessing schema files:
ERROR: lint-raml-cop: instance.json: Missing top-level "description".
ERROR: lint-raml-cop: instance.json: Missing "description" for: lastModified, type, contributor, version, publisher, format, name, type
ERROR: lint-raml-cop: instanceCollection.json: Missing "description" for: instances
INFO: lint-raml-cop: Assessing RAML files:
INFO: lint-raml-cop: Processing RAML v0.8 file: codex.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with codex.raml
ERROR: lint-raml-cop: There were processing errors. See list above.


show message log level

We have a 'level' field in our json document that indicates whether a log message is Debug, Info, Warning, Error, ... would be nice to have this aswell with some color coding in the logtrail view.

@TimMeissner currently the fields shown in event view are fixed. Adding support for new fields require changes in code. Regarding color coding based on level, I see if this can be added as config in logtrail.json.

the flexibility to add a few more fields would be very helpful
no need to call then special names, just name then field1, field2, field3, etc and then in the config
we map the ES field.
Only field1 is the one mapped to the "all systems" and can be renamed to ALL, so it is generic enough
If possible, show in the "all systems" button the select field if any selected

+1

+1

Hi,
I've working on a customization to allow coloring messages based on new field called severity.
Right now it was made to attend our business needs, and need some work to make it more dynamic.
Bellow was what I've done.

New field called severity, that can be used on field mapping, like bellow:

"fields" : {
"mapping" : {
"timestamp" : "@timestamp",
"display_timestamp" : "@timestamp",
"hostname" : "beat.hostname",
"program": "fields.node",
"message": "message",
"severity": "severity"
},

Changed the css class and added four different classes for message and severity like bellow.

.message {
color: #258CCD;
word-break: break-all;
word-wrap: break-word;
white-space: pre-wrap;
}
.message-error a {
color: #ff3333;
}
.message-warning a {
color: #ffff33;
}
.message-info a {
color: #33cc33;
}
.message-debug a {
color: #B0B0B0;
}
.severity {
color: #258CCD;
word-break: break-all;
word-wrap: break-word;
white-space: pre-wrap;
}
.severity-error a{
color: #ff3333;
}
.severity-warning a {
color: #ffff33;
}
.severity-info a {
color: #33cc33;
}
.severity-debug a {
color: #B0B0B0;
}

A small change on server.js to support the new field.

Now, my questions are, if that's interesting for community, how to share it and what is the way to add this to the project.
Best Regards,
Reiner

Thanks for the update. Please send a pull request.
On Wed, May 24, 2017 at 23:06 Reiner Uhry<EMAIL_ADDRESS>wrote:

Hi,
I've working on a customization to allow coloring messages based on new
field called severity.
Right now it was made to attend our business needs, and need some work to
make it more dynamic.
Bellow was what I've done.

New field called severity, that can be used on field mapping,
like bellow:

"fields" : {
"mapping" : {
"timestamp" : "@timestamp https://github.com/timestamp",
"display_timestamp" : "@timestamp https://github.com/timestamp",
"hostname" : "beat.hostname",
"program": "fields.node",
"message": "message",
"severity": "severity"
},

Changed the css class and added four different classes for message
and severity like bellow.

.message {
color: #258CCD;
word-break: break-all;
word-wrap: break-word;
white-space: pre-wrap;
}
.message-error a {
color: #ff3333;
}
.message-warning a {
color: #ffff33;
}
.message-info a {
color: #33cc33;
}
.message-debug a {
color: #B0B0B0;
}
.severity {
color: #258CCD;
word-break: break-all;
word-wrap: break-word;
white-space: pre-wrap;
}
.severity-error a{
color: #ff3333;
}
.severity-warning a {
color: #ffff33;
}
.severity-info a {
color: #33cc33;
}
.severity-debug a {
color: #B0B0B0;
}

A small change on server.js to support the new field.

Now, my questions are, if that's interesting for community, how to share
it and what is the way to add this to the project.
Best Regards,
Reiner
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sivasamyk/logtrail/issues/12#issuecomment-303796864,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABZXetAeI0UTFYDr66RLdOwqiHFmTzzsks5r9GqigaJpZM4K09HF
.

@reineruhry Let me know if you need any help in sending the pull request.

Done!
https://github.com/sivasamyk/logtrail/pull/106

Added support for color coding of messages based on field values and support for adding custom fields.
Checkout : https://github.com/sivasamyk/logtrail/blob/master/docs/color_mapping.md


Revert #290 & #287

This is addressing an issue with alerts not triggering when they should pending confirmation.

PR #275 is part of the changes introduced around alerts, but after review it looks good.

bors r+

bors retry

bors retry


Peer-to-peer code review team-205

Great job David, However i think you should make the images of the latest deal section an anchor tags.
once again,great job!!!!


Port our internal changes from bx_old to bx

The genie binary for Linux that comes with the repro needs the 22.04 version of GLIBC and doesn't start on 20.04 (and 18.04 presumably)


Bug: setting url to "/test" generates links to /test, but the page is actually located at /test/

So on the /posts/ directory, the link will be to /test, but clicking it will redirect you to /test/
Also I think (but not sure) that it showed up without the trailing slash in sitemap.xml
Perhaps good to add the trailing slash on the directory listings if trailing slashes are required

What exactly do you mean by "setting url to /test"?

Good question
I mean doing
---
url: "/test"
---

the alternative that would produce the expected behavior is
url: "/test/"


Improve build scripts

Add additional build script to create a bundled version of the library for use with script tags.

resolved in this PR https://github.com/Looking-Glass/looking-glass-webxr/pull/14


Is it decentralized or distributed?

Hi,
Can you share the definition of "decentralize"?
I saw your post and it looks we are mixing the definitions. Decentralize is not a two-way synonym of:

consortium of organizations
sharing data
distributed ledger tech (DLT)

I agree with this statement:

With DLTs (distributed ledger technology), a consortium of banks can establish a decentralized system that can be more efficient, less susceptible to attack, and serve as a new platform where innovative structures can be implemented to solve traditional challenges with privacy, speed, and cost.

But it's not decentralized. It's a DLT, it's a private blockchain and a private blockchain is by definition not decentralized.
I advise corpos on their infra and I'm tired of having the C-Level and VPs people mixing the decentralize concept with what is simply distributed.
Please change my mind.

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#

I'm looking at https://github.com/MicrosoftDocs/architecture-center/commits/master/docs/example-scenario/apps/decentralized-trust.md and nothing has changed regarding this issue.
I just want to understand your definition of decentralized. Thank you.

Sorry about that - my original comments didn't carry over from our card. For this article, we are taking the position that decentralized concepts are applied here because there are multiple sources of the truth which can be independently verified and are tamper resistant. Your definition is more tightly constrained (which is great technically!) but we use the term in a broader sense to hold that a DLT spread among more than a single owner is sufficient for the concept to apply. Distributed, in our thinking, would mean there are multiple sources of truth, but there are no protections against tamper resistance (like a distributed DB). Hope that helps.

Thank you for clarifying. Have a nice day!


Tornado debug mode

I'd like to use the tornado debug mode for development.
This gives the ability to autoreload the flexx app when developing.
I'll send a PR
What do you think?

Closed by #394


Help needed new go standard library bindings to lua for plugin

Trying to do a plugin with the new go standard library lua bindings but I can not get it to work. Below is the code. (I am new to lua)
Anyone got any ideas ?
 local ioutil = import("io/ioutil")
 local files , err = ioutil.ReadDir(".")
    if err ~= nil then
        messenger:Error("Error reading directory in filemanager plugin.")
    else
        for file in files do
                list[i] = file.Name()
            i = i + 1
        end
    end

It should list current directory filenames in a list.
version: 1.3.4-72
Commit hash: d6ccaf0
OS: Linux Arch
Terminal: Gnome

There are a couple problems with your program. The main one is that the for loop should be for i = 1, #files do, and then use files[i] to access the file. Here is a working version doing what you want:
local ioutil = import("io/ioutil")
local files, err = ioutil.ReadDir(".")
local list = {}
if err ~= nil then
    messenger:Error("Error reading directory in filemanager plugin.")
else
    for i = 1, #files do
        list[i] = files[i]:Name()
    end
end

Extra notes: you should also use file:Name() instead of file.Name() to call the function and you need to define the list variable.

Thank you for the quick reponse.
I have tested and it works perfect.
I have been trying to do this for hours. (Testing different things and googling lua pages)
Thanks again.

What does # mean in front of files in the for loop.
Is there any good websites or books on lua ?

The #files means length of the files array.
I'm not really sure what the best website/book for learning lua is but I sometimes end up reading things from this tutorial on lua.org. Things might be a bit different because you may want to call the go stdlib from Lua instead of the Lua stdlib (although the lua stdlib should be mostly supported).

Ok, thank you for all your help.
You have saved me hours and a lot of hair pulling.
I was going in circles.
I think the help plugins example is wrong for the ioutl.ReadFile
This is in the example.
local ioutil = import("ioutil")

This is what I had to use to get it to work with ReadDir
local ioutil = import("io/ioutil")

Yep, that has been fixed now.


CrewAI pydantic validation issue

Found this issue, I am not a CrewAI expert but seems to be related to Pydantic.
I debugged until Line 83:

Starting threat research for query: Most common TTP used by attackers in AWS targeting Turkish companies in the e-commerce industry.
Traceback (most recent call last):
  File "/snap/pycharm-community/414/plugins/python-ce/helpers/pydev/pydevd.py", line 1570, in _exec
    pydev_imports.execfile(file, globals, locals)  # execute the script
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/snap/pycharm-community/414/plugins/python-ce/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "threat_research.py", line 99, in <module>
    result = perform_threat_research(query)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "threat_research.py", line 83, in perform_threat_research
    crew = Crew(
           ^^^^^
  File "/home/robomotic/DevOps/github/diana/.venv/lib/python3.11/site-packages/pydantic/main.py", line 212, in __init__
    validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.ValidationError: 1 validation error for Crew
verbose
  Input should be a valid boolean, unable to interpret input [type=bool_parsing, input_value=2, input_type=int]
    For further information visit https://errors.pydantic.dev/2.9/v/bool_parsing

Quick fix on that line 83, they changed the method to be a boolean:

    # Create the crew
    crew = Crew(
        agents=[researcher, analyst],
        tasks=[research_task, analysis_task],
        process=Process.sequential,
        verbose=True  # Increased verbosity for more detailed output
    )


add synapse_with_neuron schema

Adding SynapseWithNeuron class that inherits SynapseSchema.
In SynapseWithNeuron, pre_neuron_pt is a point of the sample voxel of the neuron where the presynaptic compartment of the synapse is located. post_neuron_pt is for the postsynaptic compartment.

It seems you just want to use this schema.. https://github.com/CAVEconnectome/EMAnnotationSchemas/blob/master/emannotationschemas/schemas/synapse.py#L10
I think you should just add this to the advertised set of schemas.. you have made subtle changes to the column names which don't follow the conventions of other synapse schemas.

I would like to add each of the pre_neuron_pt and post_neuron_pt while keeping the synapse schema. Could you explain more about how to add to the advertised set of schemas?

from the README of the repo:
Import this schema into init.py, and add the schema to the type_mapping dictionary, giving it a string based key. This will be the annotation_type of your new class of annotation.
you didn't add this to the dictionary.. this is how you go from string>python class.
I'm suggesting that you import the already existing BaseSynapseSchema with 'pre_pt' and 'post_pt' so this schema matches all the other synapse schemas, rather than pre_pt_neuron and post_pt_neuron.  This will just make the column names longer 'pre_pt_neuron_root_id' and 'post_pt_neuron_root_id' which is kind of a lot to type and not really that much clearer.  Plus you can have synapses not onto neurons (i.e. OPC and astrocyte) so its not good from a biology point of view.

I added the schema name to the dictionary.
I'm sorry that my goal for this new schema is unclear. I want to use both pre_pt and pre_neuron_pt  in the same schema. So I need to add other columns for neuron ids even though I inherit BaseSynapseSchema. This image shows the schema that I expected.

I agree that neuron is inappropriate term regarding generalization.

in what context would a user use pre_pt and pre_neuron_pt (or
post/post_neuron_pt) .. why are they both bound spatial points?
On Mon, Apr 8, 2024 at 1:12 PM Jinhan Choi @.***> wrote:

I added the schema name to the dictionary.
I'm sorry that my goal for this new schema is unclear. I want to use both
pre_pt and pre_neuron_pt in the same schema. So I need to add other
columns for neuron ids even though I inherit BaseSynapseSchema. This image
shows the schema that I expected.
Screenshot.2024-04-08.at.16.02.58.png (view on web)
https://github.com/CAVEconnectome/EMAnnotationSchemas/assets/3071179/2a13b7c3-eb50-486d-b0af-8cfe837f5093
I agree that neuron is inappropriate term regarding generalization.
—
Reply to this email directly, view it on GitHub
https://github.com/CAVEconnectome/EMAnnotationSchemas/pull/84#issuecomment-2043560316,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAF7ABIYGK6UV73FCMILOKDY4L237AVCNFSM6AAAAABF47YXAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBTGU3DAMZRGY
.
You are receiving this because you commented.Message ID:
@.***>


error

Type: Bug
I had to put a height and width code under the same type tag and it flags it where it shoudlnt be flagged
VS Code version: Code 1.72.2 (d045a5eda657f4d7b676dedbfa7aab8207f8a075, 2022-10-12T22:15:18.074Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (4 x 3192)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
7.88GB (2.74GB free)

Process Argv
--crash-reporter-id b2f0a560-cb40-4bf3-89a6-f689bf6daaf5

Screen Reader
no

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

prettier-vscode
esb
9.9.0

vetur
oct
0.36.1

LiveServer
rit
5.7.9

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
pyindex848cf:30577861
nodejswelcome1:30587005
fc301958:30595537
2e4cg342:30602488
gswce1:30605430
3d0df643:30608728
dbltrim-noruby:30604474
89544117:30607850

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.73.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

What language?
/needsMoreInfo
/gifPlease

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Fix spurious packager errors on LSP fast path

Motivation

This kept coming up while I was working on #5808 and testing on pay-server.
Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_LxjaMtWEMWW652
→ https://go/builds/bui_Lxja1HxFGK9QAL


Implement Series/DataFrame.attrs

Like xarray, pandas supports attaching arbitrary metadata to DataFrames and persisting it across operations. https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.attrs.html
Dask could pretty easily implement this as well. We'd have a

_Frame.attrs property. This would likely return self._meta.attrs.
We'd verify that dd.from_pandas(data) correctly extracts attrs from data if it's a pandas NDFrame (I don't see docs for attrs in cudf)
A few sanity tests making sure that it's propagated in certain operations.

Most of the hard work of propagating attrs will be handled by executing the pandas functions on _meta, which should propagate it. There may be some issues around user-provided meta. But those can be handled separately.

@Illviljan you can report lost attrs at https://github.com/pandas-dev/pandas/issues/28283 if it's not included in the list already. I don't think we'll want to implement any workarounds in Dask.


Add Learn Wagtail to third-party tutorials

Merged in https://github.com/wagtail/wagtail/commit/3fe442ff4d8f762e81394b11f5f5550c5472474f


update requirements and driver

Added pip packages and updated readme file and chrome driver as update.py doesn't updates the driver.
If you merge it do give me a hacktoberfest-accepted tag !

Thank you for your contribution @suvanbalu! Please feel free to post issues and suggest changes to this or any of the other projects. Happy Hacktoberfest!

Thank you for your contribution @suvanbalu! Please feel free to post issues and suggest changes to this or any of the other projects. Happy Hacktoberfest!

Yah happy to help!


Modified the error message when it fails to download a build.

I'm getting this error message as per issue #227. I don't know how to fix it at this time but I thought perhaps the URL hadn't been updated from node-webkit.org to nwjs.io. Looking at the code, the URL is correct; only the error message is incorrect so I figured I'd update the error to eliminate some confusion.

:+1:


thread: remove remnants of ossl_crypto_mem_barrier

Commit ac21c1780a63a8d9a3a6217eb52fe0d188fa7655 VMS knows POSIX threads too! removed ossl_crypto_mem_barrier for POSIX systems.
Remove it for Win32 and other architectures as well.
Resolves issue #19506 Unable to build under bcc32c environment (Embarcadero clang compiler).
Checklist

[x] documentation is added or updated

ossl_crypto_mem_barrier is internal, not included in docs.

[x] tests are added or updated

not tested, N/A.
Adding @levitte to CC as it relates to https://github.com/openssl/openssl/commit/ac21c1780a63a8d9a3a6217eb52fe0d188fa7655

LGTM

LGTM

@slontis is this an approval? Could you please formally mark it as reviewed?

I think it would be good if @levitte at least saw this first

The Unix flavour was removed a while back.  This just completes the exercise.

Merged, thanks for the contribution.


⚠ Processors has degraded performance

In 10ec9e1, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 42 ms

Resolved: Processors performance has improved in 033d1f7.


Added fileExistsBehavior --file-exists-behavior support

Added fileExistsBehavior options to the plugin

Updated the plugin , refactored the deprecated classes and methods
Updated the readme
Updated the tests

https://github.com/awslabs/aws-codedeploy-plugin/issues/83

Can you please verify when this will be merged?  We are waiting...very patiently!

Please merge this changes fast.. otherwise we have to find alternative for this plugin

Hi! If you are looking for the same feature ie.e fileExistsBehavior with value OVERWRITE.... This functionality is not provided in UI but only in backend. So i have created a jar file for same. You can replace jar file in /var/lib/jenkins/plugins/codedeploy/WEB-INF/lib.
codedeploy.zip

Hey ALl ! Help me understand please, which status of this PR ?


Esc to close the cheatsheet?

I'm surprised that hitting Esc when the cheatsheet is focused doesn't close it.  Seems like most other Atom windows do that.

It should, but only when the search input has focus. Other panels seem to close on 'esc' even without focus. I will make the behavior consistent with other panels.
Sent from my iPhone

On Jul 23, 2015, at 16:59, Scott Bronson<EMAIL_ADDRESS>wrote:
I'm surprised that hitting Esc when the cheatsheet is focused doesn't close it.  Seems like most other Atom windows do that.
—
Reply to this email directly or view it on GitHub.

  I'd swear it wasn't closing even when the textarea had focus, but it's doing it reliably now.  Maybe it just needed a reload.
Sorry, feel free to close.


Fix connect

Connect() is not working:

crash on clean() call on uninitialized c.conn
c.closed set to true on clean() call, but not updated on connect, causes " connection is closed" error.

Thanks for your patch!


Add a issue-form template

Similar to #345 We need issue forms to increase dev-productivity , it'd streamline the process of making issues to the repository
Examples

https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms

https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema

Can this be assigned to me ? I'll make the issue-templates, I'd also like to know what all fields and forms would be appropriate to have

I like the idea of issue templates as a resource that people can choose to use for some types of issues that tend to follow a structure, such as bug reports or technical debt. However, it should still be possible for people to enter free-form issues for those that do not fit an existing template.


ValueError in complex_shallow_convnet

In trying to run through the README, I encounter this error when trying to run the first complex model with scripts/train.py shallow__complex_model --in-memory --model=complex_shallow_convnet --complex --local-data data/musicnet_11khz.npz and am unsure of how to fix it.
Traceback (most recent call last):
  File "scripts/train.py", line 148, in <module>
    main(**parser.parse_args().__dict__)
  File "scripts/train.py", line 106, in main
    model = get_model(model, dataset.feature_dim)
  File "scripts/train.py", line 79, in get_model
    channels=feature_dim[1])
  File "/home/oisin/deep_complex_networks/musicnet/musicnet/models/complex/__init__.py", line 31, in get_shallow_convnet
    activation='relu')(inputs)
  File "/usr/local/lib/python3.5/dist-packages/keras/engine/topology.py", line 587, in __call__
    self.assert_input_compatibility(inputs)
  File "/usr/local/lib/python3.5/dist-packages/keras/engine/topology.py", line 497, in assert_input_compatibility
    ' but got shape ' + str(x_shape))
ValueError: Input 0 is incompatible with layer complex_conv1d_1: expected axis -1 of input shape to have value 0 but got shape (None, 4096, 1)

Any help would be greatly appreciated!

Hello,
Have you solved the problem? The same error occurred to me. How did you solve it?

@yannan123 Hello! Unfortunately no, I was not able to solve this issue.

shallow__complex_model is a typo and should be shallow_complex_model


PWM help

Just need a little help, I'm trying to have a 1kHz frequency, 10% duty cycle, and I've got cross compilation all set up, and since I'm brand new to Rust, could you point me in the right direction on how I enable the pwm "Result."  I'm still trying to figure out Results, Options, and all that... not sure what to do next.  Thanks, I'm going to get a book, but in the meantime it would be amazing for some quick help. :-)

I figured it out, and I'm getting an I/O error that the file doesn't exist.  I'll create the udev rule, and go from there.

Glad to hear you figured it out! Rust takes some getting used to, but it offers a lot of benefits once you do. You may find the PWM examples in the examples directory useful.
Are you still getting an I/O error? If you are, make sure you're running a recent Raspbian release, and PWM is enabled in your /boot/config.txt. If it's enabled, check if the directory /sys/class/pwm/pwmchip0/ exists, and the current user is a member of the gpio group.

I am no longer getting an I/O Error!! The udev rule in the docs worked perfectly, hopefully this will help someone out later if they are just hoping the library will work out of the box without a change in permissions.  I have the raspberry pi tool chain installed on my laptop, so cross compiling works like a charm, I'm using the uname crate to make sure the build machine is correct before calling the library to built ... Maybe I'll fork, and try to add this as a feature to you library if I get some time ... It makes it nice to write more complex code, and be able to test other things before ACTUALLY scp-ing the binary over to the pi. 🙂 (also adds a small slice of overhead, so maybe not what you would be looking for ). Thank you so much for building this!  Coming from a heavy Node background, I'm falling in love with Rust.


GuardClause / LineLength issue

Considering the following Ruby snippet (which has already been indented a few levels):
unless repo_has_team?(full_name, team[:id])
  return response.reply(t('repo_team_rm.exists', repo: full_name, team: team[:name]))
end

I get this while running Rubocop:
$ bx ruby --version
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
$ bx rubocop --version
0.26.0
$ bx rubocop -D
Inspecting 25 files
...C.....................

Offenses:

lib/lita/handlers/github_repo.rb:182:9: C: Style/GuardClause: Use a guard clause instead of wrapping the code inside a conditional expression.
        unless repo_has_team?(full_name, team[:id])
        ^^^^^^

25 files inspected, 1 offense detected

Trying to change it yields this code and then this error:
return response.reply(t('repo_team_rm.exists', repo: full_name, team: team[:name])) unless repo_has_team?(full_name, team[:id])

lib/lita/handlers/github_repo.rb:182:121: C: Metrics/LineLength: Line is too long. [135/120]
        return response.reply(t('repo_team_rm.exists', repo: full_name, team: team[:name])) unless repo_has_team?(full_name, team[:id])
                                                                                ^^^^^^^^^^^^^^^

Is this a known bug with the GuardClause cop? I saw another issue indicating that GuardClause should probably be disabled due to some quirks. Is this still recommended?
Edit: .rubocop.yml

I'm running into this a few places in my source code when I raise errors:
    unless File.directory?(template_path)
      raise Skippy::Error, %(Template "#{options[:template]}" not found)
    end

Here Style/GuardClause clashes with Metrics/LineLength:. If I add a guard clause and make it all one line as Rubocop wants then I exceed the max line length.
It seems to me that GuardClause could benefit from a check to make sure it won't cause a violation of LineLength if enabled.

Hm. I'm not sure if I agree with rubocop making that assumption. Might the cleanest option be to disable either the LineLength or GuardClause linter inline in the impacted codebase?

https://github.com/bbatsov/rubocop/blob/d5aa4db2e9fef64e3d78eabd727bfd5d998841a3/manual/configuration.md#disabling-cops-within-source-code

For my projects I ended up disabling GuardClause all together. I didn't want to add too much Rubocop comments. From what I gather, to diable a cop for a single line it have to be at then end of the line - which in my case is already close to line length. I'd then have to disable on the line before and then enable on the line after - felt it quickly got messy.
Disabling GuardClause works fine by me, I typically have that worked into who I code any way. It just seemed to me that this particular cop conflicted too often with other rules.

@thomthom Metrics/LineLength has a configuration option to ignore those # rubocop:disable comments when calculating line length.


Make it possible to always get the same background color

Would it possible to add support for somehow seeding the background color selection with some kind of key so that when the same key is used it always results in the  the same background color?
This would be useful if one for example want to generate avatars for users and use the username as a key so that the same user always have the same background color.

Hi!
Do you mean an another function taking a string key instead of a rune?
I can see how I can incorporate an additional option so the same letter will always have the same color. But it's probably not what you want.

I'm not sure whats is the best way to implement it, but it would be nice if it was possible to do something like this:
If there are multiple users with similar names:
Andy
Andy2
Andy3
They all get the same letter "A" in the avatar, but each one get a different color because the names are not identical. But each of them always get the same color every time the avatar is generated.
Currently the background color is picked randomly so each time the avatar is generated a different color is picked.  It would be nice if it was possible to pass in an extra parameter that would act as a seed that was used to pick a random color.
// These functions should return different background colors because the seed is different, but
// the same seed should always generate the same color
Draw(100, 'A', &letteravatar.Options{
    Seed: "Andy"
})
Draw(100, 'A', &letteravatar.Options{
    Seed: "Andy2"
})

Thank you for the clarification! It would be useful indeed.
Will look into it.

Implemented in https://github.com/disintegration/letteravatar/commit/2d2b9a0791e5149dff2c02007726bfecb1dab7cb.

Thank you! Exactly what i needed.


[FIX] make section headings and ToC consistent between eeg and ieeg specs

The headings for photo, headshape and empty-room were one level lower (i.e. ### rather than ##) than they should be.
This should make the following headings and table of contents more similar

https://bids-specification.readthedocs.io/en/stable/04-modality-specific-files/02-magnetoencephalography.html
https://bids-specification.readthedocs.io/en/stable/04-modality-specific-files/03-electroencephalography.html
https://bids-specification.readthedocs.io/en/stable/04-modality-specific-files/04-intracranial-electroencephalography.html

Thanks Robert - two comments from my side:

see Chris' comment: https://github.com/bids-standard/bids-specification/pull/181/files#r266490960

Agreed. I propose to change it to <ext>.  Traveling right now, so will have to wait a bit (or you can do it).

Wouldn't it be better to have these changes as part of your PR #180 ?

I wanted to keep ieeg and meg changes separate (since different people might want to review the  respective changes.

Agreed. I propose to change it to . Traveling right now, so will have to wait a bit (or you can do it).

+1, however I don't have write access to your repo

but it's okay to wait with it for a few days


No md-note generated

I configured the API keys and run the command which successfully show a list of movies to choose from.
Next msg is:
"Creating note for:". Unfortunately there is no new note inside the Movies folder.
Is there any log that shows the error?

Correction: ""Creating note for:" meant ""Creating note for: (name of movie)".

The console shows here:
app.js:1 Uncaught (in promise) Error: Request failed, status 403
at new t (app.js:1:1827905)
at z_ (app.js:1:1828097)
at app.js:1:1828774
at app.js:1:237027
at Object.next (app.js:1:237132)
at a (app.js:1:235850)

okay, it seems that one of the requests failed and this is not accounted for. Since the search works i think this might be the youtube API throwing an error.
403 means forbidden, wich means that there could be a problem with your API key.
to find out if this is the issue you could use visit this link to see if you can use the API:
https://youtube.googleapis.com/youtube/v3/search?part=snippet&q=movietrailer&type=video&key=[YOUR_API_KEY]

anyways, i will create an update that handles this kind of case better and also makes the youtube API use optional, so you will be able to use the plugin anyways.

Thanks, that worked.
I had to add a) my credit card for any possible payment on this project and b) enable access to "YouTube Data API v3". After that it runs fine. :)

Great that it works now.
I wonder why you had to enter your credit card, for me the API worked without one. As far as i know the usage of the API is free.

As far as i know the usage of the API is free.

I think ie. Maps API isn't free either. I used to setup a valid credit card to use the Maps api. Google changed it some time ago. No big problem since one almost never breaks the pay barrier so that it feels to be free.


Prometheus-endpoint: Are you planning to implement it?

In the same way as in Spring Boot Actuator, it would be interesting to have a /prometheus endpoint with the metrics in the format required for scraping by a Prometheus server. Are you planning to implement it?
Greetings and thanks in advance!

Hi @jcarlosgalvezm ,
Its on my wish list to add endpoint for Prometheus to scrub.
A while a go I was looking for micrometer/prometheus libraries that we can integrate with so Pyctuator only needs to provide web interface (and not implementing the full blown meter-registry world).
Back then, I couldn't find mature implementations.
However, I think that changed and there are several libraries.
So, if you can research a bit around this and help choose a library that's mature and all is needed is web interface, yes we can do this.
Thanks,
M.

@jcarlosgalvezm I went through prometheus's python-client and the do support simple integration with the common web servers and framework - see https://github.com/prometheus/client_python#exporting.
It seems to me that if prometheus's python-client is missing support for the web server/framework you are using, it should be added there instead.

Closing this ticket - as mentioned above, a solution is already available from prometheus.


wight files not found in outputs folder

Hey @Bidur-Khanal ,
Can we get both weight files i.e object detection ckpt and landmark detection .h5 model?

Check this link for the weights:
https://drive.google.com/drive/folders/16qM55ZZj43nnuy0JOu-_TKC3FbpShKd8?usp=sharing
both object detection ckpt and landmark detection model are available.


Have RedisService able to start from .rdb file

.rdb files are the result of redis' save command. It would be (and indeed is) useful to have redis start with a set rdb file.
In theory redis already has an argument for this --dbfilename, but some finagling would be required since the container doesn't have the file on hand.

On it

#17


[SPARK-23912][SQL][Followup] Refactor ArrayDistinct

What changes were proposed in this pull request?
This PR simplified code generation for ArrayDistinct. #21966 enabled code generation only if the type can be specialized by the hash set. This PR follows this strategy.
Optimization of null handling will be implemented in #21912.
How was this patch tested?
Existing UTs

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1966/
Test PASSed.

Test build #94450 has started for PR 22044 at commit 9d0cb10.

Test build #94450 has finished for PR 22044 at commit 9d0cb10.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94450/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1972/
Test PASSed.

Test build #94461 has started for PR 22044 at commit 9d0cb10.

Test build #94461 has finished for PR 22044 at commit 9d0cb10.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94461/
Test FAILed.

retest this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1981/
Test PASSed.

Merged build finished. Test PASSed.

Test build #94471 has started for PR 22044 at commit 9d0cb10.

Test build #94471 has finished for PR 22044 at commit 9d0cb10.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94471/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1994/
Test PASSed.

Test build #94487 has started for PR 22044 at commit 89d0664.

Test build #94487 has finished for PR 22044 at commit 89d0664.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94487/
Test FAILed.

Merged build finished. Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1995/
Test PASSed.

Test build #94488 has started for PR 22044 at commit ec262ab.

Test build #94475 has finished for PR 22044 at commit 9d0cb10.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

LGTM pending Jenkins.

Test build #94488 has finished for PR 22044 at commit ec262ab.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94488/
Test PASSed.

Thanks! merging to master.


Add several screen images to the briefing room

At least a blank "GSRI logo" wallpaper, and a list of the various points to talk about when debriefing

3 visuals needed :

simple back screen with GSRI logo
debriefing screen with 5 points
vibe debriefing

Cheitan or I will do the ACE slideshow part, we only need the visuals

Textures done in SCMS, integration of the slideshow to be done in OPEX by either Arwyn or Cheitan


Open in notepad not working in Windows 11

https://stackoverflow.com/questions/7613576/how-to-open-text-in-notepad-from-net

Fixed in 2.31.0 🚀


DirectoryNotFoundException

I choose a wrong path when it run at the first time, and I don't know how to change the path.

Oops! I'm on vacation so I'll fix this later (keep this issue open, please); the config file can be reset by deleting the Alpha folder in AppData.

Oh, thanks! I can use Alpha now XD. btw enjoy your vacation!


lang pt.json

Hi, thanks a lot. I am not going to test this assuming you have it working :)

Hi, thanks a lot. I am not going to test this assuming you have it working :)

please test.

Well, I did not need to test it as it crashed during validation of the json file.
Do you have it working with you?

Best you compare the en.json with the pt.json (e.g. notepad++) and rework it until you have it working locally with you.
I believe it is missing at least a closing accolade ']'  at the end


Japanese localisation for Yakyak

Hello. I'm proposing these localization strings to create a Japanese localized version of Yakyak. I am new to this kind of work, so will be grateful for technical guidance.  (I'll take care of editing the Japanese per suggestions, which are welcome!)

Thanks.  And sorry about that.
I will find a way to translate it... and try to figure out how to add it. It was a small miracle that I was able to get it to you on the first place!
Let's see what I can do...
Thanks.
Jeff
On Sep 12, 2017, at 11:38, André Veríssimo<EMAIL_ADDRESS>wrote:
@averissimo requested changes on this pull request.
Please add the missing string :) If by any chance there's no translation keep it in English
Thanks
In src/locales/jp.json:

           "extra_large": "極大"

       },

       "zoom": {

           "in": "ズームイン",

           "out": "ズームアウト",

           "reset": "標準"

       }

   },

   "help": {

       "title": "ヘルプ",

       "about": {

           "title": "ヤックヤックについて",

           "newer": "新しいバージョンが利用可能です(%s から a %s)。",

           "license": "ライセンス",

           "authors": "主な作者",

           "contributors": "貢献者"

There's a string missing:
"startup": "Open on startup"
See line 163 of https://github.com/yakyak/yakyak/blob/a16f24c09fffa4f8d6596f4258b47d4d1c382f92/src/locales/en.json.template#L163
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Not a miracle!! everything is right.
You probably started working on the translation before we added that string.
Once the pull request is updated with that string (i.e. you change it, commit and push) then we'll merge it

Thanks, André.  I appreciate your patience, very much.
I’ve added it that new line, and then I hit “Commit”. I can’t find anything that will let me “Push”, though.
Hope it works!
Jeff
On Sep 12, 2017, at 2:02 PM, André Veríssimo<EMAIL_ADDRESS>wrote:
Not a miracle!! everything is right.
You probably started working on the translation before we added that string.
Once the pull request is updated with that string (i.e. you change it, commit and push) then we'll merge it
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/yakyak/yakyak/pull/756#issuecomment-328983609, or mute the thread https://github.com/notifications/unsubscribe-auth/AeEh2Nbo5bdrWlwPnvhfIGr4uBT4XLDxks5shvGDgaJpZM4PQkyZ.

merged to master :)

Wow. I am delighted! Thank you for guiding me so kindly, André.
Now I can encourage Japanese friends and colleagues to use Yakyak.
Thanks again!
Jeff

I had to made some small corrections:

locale name for japan is ja and not jp
there were some strange " on it that I had to replace

It is now updated and working on master branch.
Added the japanese translation to the pre-release v1.4.4 :) go ahead and test it out and tell your friends :)

Dear André:  Thanks very much!  And I'm sorry about the local name mistake.  The " problems might have been that they somehow got entered as full-width characters even though I tried hard to avoid that.
I'm glad it all works now.  It will be great to have this in Japanese!
It's been fun working on this. Please let me know how I can help further if any feedback comes back regarding my translations.
Take care.
Jeff


 The picture does not even show it

#sign-off


https://ihsvirtualexperience.com/thank-you/

I don't think this page is going to be migrated, is that correct?

Thats correct the thank you page will not be migrated since we pulled the forms and don't need itIn the new site there isn't a thank you page just a than you modal.

not doing this page


Fix buildNewick Formula and Update Dendrogram Branch Representation

This PR (currently indirectly) addresses ISSUE13.
Changes:

Fixed the buildNewick formula to adjust branch lengths (both internal and leaf branches) to represent cophenetic distances rather than patristic distances.
Branch lengths now reflect the distance from all samples to their most recent common ancestor.

Benefits:

This approach mirrors how BioNumerics currently displays dendrograms.
It aligns with how GAS's fcluster generates flat clusters based on user-provided thresholds, ensuring the dendrogram allows users to visually interpret cluster levels by assessing branch heights between clusters.

Key Considerations:
This method deviates from the traditional representation of distances in dendrograms. As noted in ISSUE13, branch lengths are typically represented by patristic distances along a tree typically correspond to the values in the distance matrix (i.e., the sum of branch lengths from Sample A to Sample B should equal the distance provided in the matrix).
To align buildNewick with this traditional approach, the formula can be updated with the following adjustments:
def buildNewick(self,node, newick, parentdist, leaf_names):
        if node.is_leaf():
            return "%s:%f%s" % (leaf_names[node.id], (parentdist - node.dist / 2), newick)
        else:
            if len(newick) > 0:
                newick = f"):{(parentdist - node.dist/2)}{newick}"
            else:
                newick = ");"
            newick = self.buildNewick(node.get_left(), newick, node.dist, leaf_names)
            newick = self.buildNewick(node.get_right(), ",%s" % (newick), node.dist, leaf_names)
            newick = "(%s" % (newick)
            return newick

Running the changes on the example file we see the change on the left panel compared to the orginal code right panel


Need to redirect /favicon.ico to /assets/favicon.ico

For non-html API responses, web triggered API requests will still request /favicon.ico, we
need to redirect the browsers's request to /assets/favicon.ico.

https://bugzilla.redhat.com/show_bug.cgi?id=1217336

@kbrock please review.

:+1: The reason this solution is good is it no longer requires we add the favicon link on every page.
While this is not a problem for typical html pages, but an issue for error pages like authentication.
Lets see if we can remove the redirect. [R=301]
If we can't do that in less than 20 minutes, lets ship it as is.


The double-float backend needs Boost-style docs

See also #71 for inspiration on some nice examples of using cpp_double_fp<>.

Replaced by #165
Cc: @sinandredemption


Regridding leaves some NaNs

When regridding with xesmf there are some NaNs in the regridded fields (seemingly random in location). Will do some tests with different interpolation and extrapolation methods to avoid this. Also implement interpolation and extrapolation methods as arguments to interp.horizontal()

Quick way around is implemented in https://github.com/jk-rieck/eddytools/tree/5-quick-fix (it just replaces the bilinear interpolation by nearest_s2d.)
Will keep this issue open until a better solution is found.

Fixed by merge #13

In the end, regridding on integers was creating the issues. Converting everything to float before the regridding solves this.


Add new token EHZ

Help somebody else to commit it.

Hello admin, please check this pull request, thanks a lot!


How do I extract CYMK channels?

What are you trying to achieve?
I have several images that I need to extract the four cyan, yellow, magenta, and black channels into separate images. The input images are already in CMYK colorspace (verified with metadata())
Have you searched for similar questions?
I have searched a lot but for some reasons it seems nobody has ever tried. Well, I think I found an issue where it was mentioned that Sharp isn't made to process with CYMK under the hood and there was no solution if I remember correctly.
Are you able to provide a minimal, standalone code sample that demonstrates this question?
const src = sharp('img/mires-bandes-50.tif');

src.metadata()
    .then(console.log) // output : {... space: 'cmyk', ...}
    .catch(console.error);

src.withMetadata() // I think this line is useless?
    // .toColorspace('cmyk') this line doesn't change anything because input image is already cmyk
    .extractChannel(0)
    .toFile('out/channel0.tif')
    .then(info => console.log('done', info))
    .catch(console.error);

Expected output : The channel 0 as magenta according to the docs here.
Actual output : The channel 0 as red according to the same docs.
I'm aware that I'm referring to the wrong function (joinChannel instead of extractChannel) but the arguments are similar so I assumed that it made sense.

Is it possible to extract CYMK channels?
If so, how? I'm lost.

Thank you in advance!

Update: I used libtiff to do that but it will be in C++
I would still like to know if this is possible to do that using sharp.

Hi, sorry I missed this question originally. The future possible enhancement at #2658 should make this possible.

Let's track this at #2658, which will be part of the next release.


Update itemview.dart to make Picture cover insted of fill which cause…

It was meant to be that way


FlightSqlProducer - Refactor DremioFlightProducer to delegate between FlightSql and legacy producers

This refactors DremioFlightProducer to use a new FlightSqlProducer implementation (to be implemented in other PRs)

Just closed because this is our base branch


use runc 1.1.2 with containerd

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Steps to reproduce

Does this PR introduce a user-facing change?

Does this PR require documentation?

Closed with : https://github.com/replicatedhq/kURL/pull/3766


Bug: Video skips first seconds

I was able to reproduce this twice.
I record a video normally and save it.
Result:
First few milliseconds, maybe 0,25s show, then a big timeframe like 3s-15s are skipped and the video goes on normally until the end.
The complete video skips, together with audio, no black screen or overlapping audio, both are skipped exactly the same.
Pixel 4a, up to date apps.

Hi @firefoxlover,
This ideally shouldn't be happening. Could you please try reproducing the issue again while trying to record the logs during this time? This could possibly help us better understand where the issue currently lies.
Thanks for trying out our app and reporting this issue!

Hi @secretmango,
Could you please try testing our latest release for this issue?
Thanks a lot for your time and help!

Seems to be fixed!

Glad to know that @secretmango
No issues at all, thanks a lot for reporting this issue and helping out with testing!


Tutorial - Angular 1 - Step 4 database updates have to be triggered to get on screen

Same as Step 3: Initially parties are not loaded and updates from other clients are not visible until you trigger them with a digest cycle (typing a character in one of the inputs for example).
I didn't try this on my machine, but http://socially-step04.meteor.com/ shows the issue.

Might be that the deployed version in not updated.
Can you please try to run locally?

A local run (with 1.3.1) doesn't have this problem.

Thanks @gjr-qm! deployed a new version of step 4 with 1.3.1.


bash for WSL constantly running and using CPU even when WSL is not open

I do not have any WSL windows running on my laptop but in Task Manager, this program called "bash" (located in the WSL directory) is ALWAYS running and my battery life is 1 hour if I'm lucky.

I right click and try to end the task but that does absolutely nothing and it also stays open if I try to kill it from the command line. Any suggestions?

Please post the output of [Environment]::OSVersion from a powershell prompt, or ver from a cmd prompt.
Does bash appear if you reboot? Assume not, but it is worth asking, and the reboot will get us grounded. After reboot, type wsl.exe -l -v and post that output. Finally, start your WSL instance with wsl.exe from PS or cmd prompt. You should not have a bash running.

Hmmm ok figured it out. I have the new WIndows terminal app. If I open the WSL shell through there, then it keeps running after I close it. If I run it from wsl.exe, then it closes when I close it. Strange, but it's ok now


Episode VI: Return of the Promise PRs (getPage Promise support)

Was hesitant to re-open the issue you just closed #425. I had a similar situation where I was trying to retrieve a large number or all records via paging and promises.
This PR follows in the footsteps of #262 and adds pluggable promise support to all getPage based methods.
Not as nice as I would've liked. Most of it is duplicated code taken from the #262 solution.
Example outcome from PR:
var GitHubApi = require('github');

var gh = new GitHubApi ({
  version: '3.0.0',
  Promise: require('bluebird')
});

var repos = []
var pager = function(res) {
   repos = repos.concat(res)
   if (gh.hasNextPage(res)) {
     return gh.getNextPage(res).then(pager)
   }
   return repos
}

gh.repos.getForOrg({
      org: orgName
    })
    .then(pager)
    .then(/* Do stuff with subset or all repos */)

If this is not at all how you would like it approached feel free to close this PR, as not to waste your time 😸. Very happy to make changes.

This looks good. I'll add the example output to the examples section. As a bonus, how much work would it be to get the promise stuff also compatible with Q? If a significant amount I can just merge this.

From a quick 5 minute play, it seems like the Q library is compatible. I've commented in the issue #400 😄

Awesome. Good to go.


Recommend ILSpy over dnSpy

ILSpy appears to have feature parity with dnSpy, plus additional useful features such as recognition of modern C# features and improved quality of life.

Real handy to type the name of the class you want and have the menu jump there.
Useless comment generation doesn't happen
Classes start compressed so they're easier to scan through
Probably more features that I haven't noticed yet
Addin for Visual Studio, although this appears to only open ILSpy

While this sounds like a good edit, "dnSpy" is referenced in several places in the guide, in addition to the"software.md" file. For example:

installandsetup.md
exploringgamefiles.md

There are screenshots that will also need to be replaced.


Inna : Separation of concerns, 3 weeks

My fork of module repository

Learning Objectives

[ ] 🥚 event-driven programming: identify the concept in a JS program via listeners & handlers
[ ]🥚 entry points: describe what an entry point is, there are 2 kinds in the programs for this module - initialization & interaction. identify them in a program
🥚 function roles: describe what function roles are and why they're important. they can identify a function's role given checklists for each role covered in this module:

[ ] listeners: functions that attach event listeners to the DOM
[ ] 🥚 handlers: entry point for user interactions
[ ] 🥚 utils (utilities): pure functions to help do things with data
[ ] 🐣 components: render data into DOM elements to display for the user
[ ] 🐥 custom events: create custom events events in your components, passing useful data between components and handlers

[ ] 🥚 DOM access: You read and write values from the DOM in an event handler
[ ] 🥚 es5 vs. es6: You can demonstrate the change in developer-experience pre and post es6 by stepping through in the debugger and explaining differences in scoping (global vs. script, block vs. local, modules) between two programs with identical user experience but different implementations.
[ ] 🥚 Scope Hierarchy: You is comfortable navigating different scopes in the browser's debugger to understand an existing application (script, module, closure, local, block)
[ ] 🥚 Code Splitting: You can use ES Modules to split your code into multiple files & folders according to function role, data, listeners and initialization. They can use generated dependency diagrams and documentation to understand and navigate this folder structure.
[ ] 🥚 Dependency Graphs: You can use a project's dependency graph to understand how it is organized and to navigate the source code.
[ ] 🥚 Development Strategies: You can write development strategies that have all of the program's state defined at the beginning, and separate each user story into interface and interaction tasks.
[ ] 🐣 Naming Functions: You can come up with clear and helpful names for the functions in your program. A good function name will take into account the function's role and the program's domain, like in the /naming-variables exercises from Debugging.
[ ] 🐣 DOM manipulation: You can manipulate the DOM when implementing level-appropriate user interactions
[ ] 🐣 Isolating Components: You can use a test.html file to render your components with different inputs
[ ] 🐣 Forms: You can do basic handling of form data via event.target.form
[ ] 🐣 Handling events: You can use the event argument to process user interactions, including bubbled events using event.target
[ ] 🐣 Passing Component Unit Tests: You can write vanilla DOM component functions to pass provided unit tests
[ ] 🐣 refactoring: refactor a single-script tutorial-style web page into multiple files using imports and exports
[ ] 🐥 reverse-engineering: You can incrementally reverse-engineer a level-appropriate user interaction following these steps:

init
Listeners
Handlers
(possibly): Utils, Components, Custom Events

[ ] 🐔 From Spec: given user stories, You can develop a site from scratch using a template repository.
[ ] 🐔 Writing Component Unit Tests: You can write unit tests to validate your component functio

Week 1
I Need Help With:

Nothing

What went well?

Write values from the DOM in an event handler
Render data into DOM elements to display for the user
Create custom events events in your components, passing useful data between components and handlers

What went less well?
Lessons Learned

Handler
Utils
Components
Custom events

Sunday Prep Work

In progress

Week 2
I Need Help With:

Nothing

What went well?

Exercise 6

What went less well?

Understanding exercise 6, state with  data file
Some problem with HTML file

Lessons Learned

Dom manipulation

Sunday Prep Work

In progress