Implement ISORM-contour method

Recently Chai and Leira published a paper proposing environmental contours based on ISORM: https://www.sciencedirect.com/science/article/pii/S0951833917304707
They chose a quadratic failure function with a=1, b=0, delta=0, c=beta^2, which turns out to be the same as the "equi-shape" contour from Leira (2008), https://www.sciencedirect.com/science/article/pii/S016747300700063X.
This ISORM-contour definition is a nice addition and should be implemented.

Done and merged.
See here: https://github.com/ahaselsteiner/viroconcom/blob/master/viroconcom/contours.py
and an example on how to use ISormContour here: https://github.com/ahaselsteiner/viroconcom/blob/master/examples/compare_contour_methods.py


plain: single-directory cache

For simple applications with few enough cached files (fewer than
one hundred), we can store everything in a single directory, and
trigger second chance maintenance from time to time.
That's what a PlainCache offers.
TESTED=new integration smoke tests.

Coverage decreased (-0.2%) to 97.754% when pulling c7942551e91a0aca5059881929380797f8481ff6 on dev into 9b7d018290ebb13a40720b2b1d841ff015f585ae on main.


API for getting the provider class name from the key/ctor object

Problem:
I want to write error (and sometimes debug) messages that are parameterized on a provider class. The key/ctor is available but as a variable.
Proposal
Create an API for getting the name from the key/ctor. Possible ideas that don't work today:

str(FooInfo), returns "Provider"
FooInfo.name

Related approaches that also don't work:

type(dep[FooInfo]), returns "<provider>"

This is really a request for the Bazel tool - Starlark are just the generic functions, nothing to do with providers, so this is the wrong repo.

@brandjon Can you transfer the request to bazelbuild/bazel? (I no longer have the rights on /bazel)


Remove version: Araxis.Merge version 2024.6001

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Resolve #176094

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest

[!NOTE]
Waiting for #176091

Microsoft Reviewers: Open in CodeFlow

@Dragon1573 #176091 has now been merged. Many thanks for your help!

URL: https://www.araxis.com/download/Merge2024.6001-x64.msi
Status Code: 200
(Automated message - build 896)


Formatting not being applied to messages

Should all the notifications for the supported resources come through formatted and coloured? Only, I get all the notifications, but only CloudWatch Alarms (CPU etc) are correctly formatted. All others come through, as what seems to be, the raw json format. I have tried all the supported formats, but can't seem to get them to display nicely.
Example of GuardDuty notifications:

I am also seeing this issue after I configured CodePipeline via a CloudWatch Event Rule.
CodeBuild behaves as expected using the same technique (CloudWatch Event Rule).

The largest challenge here is understanding the myriad of event key/structures in the AWS ecosystem.
The current GuardDuty parser looks for event.service.serviceName.  It seems your events do not match this test.
https://github.com/arabold/aws-to-slack/blob/master/src/parsers/guardduty.js#L12
Can you please post an example event so we can add a test case and extend the parser?

@virtuoushub The CodePipeline-CloudWatch parser uses event.source="aws.codepipeline".
https://github.com/arabold/aws-to-slack/blob/master/src/parsers/codepipelineCloudWatch.js#L10
Are you seeing differently-formatted messages?  Can you post an example message?

@homeyjd, maybe I miss-configured my cloudwatch event rule. Not trying to hijack this issue, please let me know if you'd rather I open a new one.
Event pattern:
{
  "source": [
    "aws.codepipeline"
  ]
}

example message 1
{
 "version": "0",
 "id": "d2ec51b0-119e-bd9f-9602-81679b3a0dcf",
 "detail-type": "CodePipeline Action Execution State Change",
 "source": "aws.codepipeline",
 "account": "012345678901",
 "time": "2019-02-20T16:34:46Z",
 "region": "us-east-1",
 "resources": [
   "arn:aws:codepipeline:us-east-1:012345678901:foo-pipeline"
 ],
 "detail": {
   "pipeline": "foo-pipeline",
   "execution-id": "4b02612a-1b13-4d4f-bc78-1fb45dc6376e",
   "stage": "FooStage",
   "action": "PackageExport",
   "state": "STARTED",
   "region": "us-east-1",
   "type": {
     "owner": "AWS",
     "provider": "CodeBuild",
     "category": "Build",
     "version": "1"
   },
   "version": 3
 }
}

example message 2
{
 "version": "0",
 "id": "d5720ca3-88c3-09bf-013d-3579df74012a",
 "detail-type": "CodePipeline Action Execution State Change",
 "source": "aws.codepipeline",
 "account": "012345678901",
 "time": "2019-02-20T16:34:45Z",
 "region": "us-east-1",
 "resources": [
   "arn:aws:codepipeline:us-east-1:012345678901:foo-pipeline"
 ],
 "detail": {
   "pipeline": "foo-pipeline",
   "execution-id": "4b02612a-7b14-4d4f-bc78-1fb45dc6376e",
   "stage": "FooStage",
   "action": "Staging-Approve",
   "state": "SUCCEEDED",
   "region": "us-east-1",
   "type": {
     "owner": "AWS",
     "provider": "Manual",
     "category": "Approval",
     "version": "1"
   },
   "version": 3
 }
}

@virtuoushub You guys are talking about different parsers, so it could be a different issue.  But seems the Generic parser shouldn't be handling either of your use cases.
I added your first example event and all tests still pass https://github.com/arabold/aws-to-slack/commit/d9ca09cfd4b4399f55bcdb71e439ccc59b605591
Is your Lambda using latest version via master branch?  You can use make package to re-create the release.zip file and upload to Lambda.

I've been working on adding the GuardDuty support - all of my testing has been from simulated events - I just noticed in my case that  I forgot the SNS wrapper that sends the message needs to be processed.  I'm testing the fixes at the moment and hope to have a new pull request to resolve that issue shortly.

Merged PR https://github.com/arabold/aws-to-slack/pull/47.  Should hopefully solve unformatted text from GuardDuty.  Thanks @stevemac007!

I was experiencing the same issue.
Repro steps:

@chriswynnyk If you installed using the "Launch Stack" button, then you're using code over a year old.  Only @arabold has access to the S3 buckets, so we haven't been able to update the quick-install option.
I've updated the Readme with hopefully more-helpful steps: https://github.com/arabold/aws-to-slack#try


Feature/centroid multipolygon

closed #59

Codecov Report

Merging #60 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
+ Coverage   98.51%   98.53%   +0.01%
==========================================
  Files          18       18
  Lines        1214     1230      +16
==========================================
+ Hits         1196     1212      +16
  Misses         18       18

Impacted Files
Coverage Δ

regionmask/core/regions.py
92.9% <100%> (+0.33%)
:arrow_up:

regionmask/test/test_Regions.py
100% <100%> (ø)
:arrow_up:

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 764aaee...4b33251. Read the comment docs.


Problem selecting alarm clock at 12:00PM-1:00PM

Scenario:
Selecting alarm at 12:30PM while my current time is 12:05PM  for the next day(23hour remaining). It shouldn't be (25 minutes remaining)
Solution: I fixed that issues, may i create a pull request.
Thanks

Yes! Please do. Sorry, I've been meaning to write contributing guidelines for this (and some other projects) for a while, I just haven't gotten around to it yet. Thank you for helping!


settings.use_editable() and comma-separated strings

I understood after getting some bugs that after settings.use_editable() is used and the database is set, the returned value of an editable setting can be of class future.builtins.backports.newbytes.newbytes.
FYI, my setting is a whitelist of IP addresses in the form '<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>'.
But my tests didn't figure it out by themselves (if was using the editable setting in my unittest.TestCase.setUpClass method).
I guess things would be more coherent if mezzanine.conf.settings.__getattr__ would always return the same construct when it's fetched from the database or not. Notably so it makes code more consistent when run by different runners (django server vs tests).
Makes sense, isn't it?
--
NB: I'm still running 3.1.4

The return type will be the same as the default value you define when registering the setting.
I get a str object back with a value retrieved from the database.
If you think there's an actual issue, please provide steps to reproduce it.

Steps:

Add to a defaults.py:

register_setting(
    name="ALLOWED_IPS",
    description=u"IPs list",
    editable=True,
    default="<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>",
)

Launch server

Open ./manage.py shell

from mezzanine.conf import settings

print(settings.ALLOWED_IPS.__class__)

settings.use_editable()
print(settings.ALLOWED_IPS.__class__)  # Gives the abovementioned class: newbytes

On top of that, depending on my server, there can be some brackets that get appended and prepended to the string value. It doesn't seem like I am using any customisation of this part of mezzanine, but will check again.

I don't get those results.


substitute_command_tokens fails when the token name matches the default

Hi,
I just came across this little problem when trying to use some variable expansions for a nagios ActiveMQ check.
I defined a default value such as -H :::amq.host|localhost::: and then, I never defined anything in the config for clients, so it would have to return localhost anyway.
However, it always return host there.
My knowledge or ruby is not that good, but I have prepared a test case here:
https://gist.github.com/octete/a2a14a74132e9d662060
If you execute that code, taking the bit from lib/sensu/client.rb for substitute_command_tokens, you can see how this happen:
 % ruby gistfile1.rb
"host"
["PATH=$PATH:/usr/local/nagios/libexec check_activemq -H host -q mailer.fast -w 5:5 -c 2:5 -C",
 []]

If you change the check for the other one, where the parameter has been changed to amq.hostname, then this doesn't happen.
I believe this has to do with ruby doing something like: "localhost"["host"] and returning host ?
Sorry, I would send you a PR, but my knowledge of ruby is fairly limited. I would appreciate if anyone could have a look at that at some point.
Thanks.

Looks like this should have been closed a long time ago.


Fix capitalization of IPython

A (very) simple modification to the Python .gitignore, fixing the capitalization of the "P" in "IPython".

Thanks!


MINOR: [Java] Bump orc-core to 1.9.5

Rationale for this change
This PR aims to upgrade orc-core to 1.9.5.
What changes are included in this PR?
To use the latest bug-fixed version in testing.

https://orc.apache.org/news/2024/11/14/ORC-1.9.5/

Are these changes tested?
Pass the CIs.
Are there any user-facing changes?
No, this is a test dependency.

@github-actions crossbow submit -g java

Thank you, @lidavidm .


Flickered Images

I am using Python API to collect images from my Allied Vision camera. However, sometimes I get flickered images. In some of the images, there are black bars. That is not always true. Let's say among 10 images 1 image is like that. I am uploading an image FYI.

How can this Problem be solved? TIA

Please let us know which camera you are using. For this we request you to write an email to<EMAIL_ADDRESS>As this issue is not related to the API.

Thank you for the quick response. I have emailed already.


[Bug][API] Use S3, but hdfs is used exactly?

i want use s3, and make the correct config according to doc , when i  create directory , it says  hdfs action error.
i found that ... https://github.com/apache/incubator-dolphinscheduler/blob/b4fd3629f4eef44fd362911f2aec0faa0f64fa9b/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/PropertyUtils.java#L74:27
and ..
https://github.com/apache/incubator-dolphinscheduler/blob/b4fd3629f4eef44fd362911f2aec0faa0f64fa9b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ResourcesService.java#L783:19
why i use s3 ,but  hdfs acts

close it , and found that s3 implemented in ResourcesService.java. however there are some message would leads to some misleading..

close it , and found that s3 implemented in ResourcesService.java. however there are some message would leads to some misleading..


Add link to examples  in readme

I had a hard time finding the examples on the docs website earlier today, so I think adding it to the README would increase readability.

closing in favour of https://github.com/akiran/react-slick/commit/5c8c500a79748ae2edf130e745ac54e89a0b67fc


ERROR: Unable to extract video url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Getting error while downloading youtube:
ERROR: Unable to extract video url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

This likely stems from old YouTube extraction regex that is not available in the 2021 release. Best bet may be to use the source/master branch. It fails for me on the 2021.12.17 on certain videos.

Have been running into the same original issue and can confirm that it works on current master as described by @sleibrock.

Same error trying to download https://www.youtube.com/watch?v=Hl6gvH1xbfc . Sure I use latest version availiable. Still I get this error:
youtube-dl.exe --verbose https://www.youtube.com/watch?v=Hl6gvH1xbfc
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=Hl6gvH1xbfc']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] Hl6gvH1xbfc: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\youtube.py", line 1794, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1012, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

@sleibrock your suggestion worked for me! thanks!
By the way, is there any way to speed up?
I was trying to download a video using the following command:
python youtube-dl/youtube_dl/main.py --verbose https://www.youtube.com/watch?v=uI-vgcqOioU
The speed is 410.50KiB/s.
I have no idea whether the speed is normal or extremely slow.

@YOONSEOKHEO As far as I can tell, you're at the mercy of the CDN source of whatever extractor you are using (in this case the YouTube/Google CDNs). The backends can always implement rate-throttlers, but currently I do not know of any way of speeding up the download process.

@YOONSEOKHEO
This is a known issue.
See the pinned issue in the yt-dlp issue tracker.

but currently I do not know of any way of speeding up the download process.

I use external downloader aria2c and then it is faster, but not optimal in this particular case.
Also on @YOONSEOKHEO's video I get redirects to other download servers...
[#9f5e87 87MiB/87MiB(99%) CN:1 DL:3.7MiB]

#30389
The issue title doesn't match the actual error message!

you may want to consider upgrading your Python version, since Python 3.4's end-of-life was over 3 years ago now

My Python is 3.10.7 (tags/v3.10.7:6cc6b13, Sep  5 2022, 14:08:36), still I have this error.

@dirkf wrote yesterday:

#30389

... Make that #30839 😄 ...

@aalub
Python versions don't matter in this case; youtube-dl strives to be compatible with py2.6/2.7 and py3.2+ :smile: 👍 ; the standalone youtube-dl.exe binary has been compiled bundled with a py3.4.4 interpreter and it's fine...
Since your actual issue seems indeed to be
ERROR: Unable to extract uploader id,
what you (and the rest of the high-jackers, as well as OP) should have done in the first place is start with PINNED #30839, read it carefully, and hopefully you'll then find yourself in #31530; read the available fixes documented in the description of said issue...


Alternative type for generators

Currently, Flow has Generator type that can be used to declare static type of a generator in terms of Yield,  Return and Next. This model is sound and allows to type-check both generator functions and code that interacts with generator objects.
Unfortunately, a whole range of techniques that require Next to be a function of Yield are not possible with this model:
function * coroutine () {
  const num = yield getNumber(); // returns Promise<number>
  const str = yield getString(); // return Promise<string>
}

In the above example there is no way to define Generator type so that num is a number and str is a string.
My proposal is to add a special type for this case: FnGenerator<Fn, Return>.  Return has the same meaning, while Fn is a type of polymorphic function that. For the above example Fn could be defined like this <T>(p: Promise<T>) => T.
Enforcing this behaviour from the outside would be very hard (if not impossible), so it's probably easier to leave this part unsound. For example, it could be equivalent to Generator<any, Return, any>.

Here's another approach: You can add a wrapper generator with the sole purpose to annotate the return type of yield. This generator is called via yield *
// Example 1: returns the promise return type
function * promisedGen<R> (promise: Promise<R>) : Generator<*, R, *> {
  return yield promise
}

// Example 2: returns the yielded type
function * idGen<R> (val: R) : Generator<*, R, *> {
  return yield val
}

function * coroutine () {
  const num = yield * promisedGen(getNumber())
  const str = yield * promisedGen(getString())
  const num2 = yield * idGen(123)
}

This works nicely for me. It would be interesting to find a way to ensure the correct usage of such helper-generators for the caller of coroutine().

I have another use-case for this, in an experimental parser I'm developing.  Similarly to how the original poster wants yielding a Promise<R> to return an R, I want yielding a value of type Either<L,R> to return an R, with the caller of the coroutine doing error handling.

This would also be helpful for libraries like redux-saga.

this would help a lot in typing redux-saga https://github.com/redux-saga/redux-saga/issues/864#issuecomment-367820798

Is this on the roadmap somewhere or just an idea ?

FYI the PR above solves the issue pretty well I would say (https://github.com/keybase/client/pull/14948/files#diff-518e3f63aab2dd78e7f9df3ebeceeed0). Clean small util that will solve the typing issues.

Custom builtin typing support is out of scope


Update 2-lambda-function.md for new UI

Thanks for submitting the PR.  The issues mentioned no longer exist in the current revision of the tutorial.


updated with lisence agreement header for 1.august

Just fixed in the master branch and merged into the portable one.  Thanks!


fix: update blueprints-integration

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

This updates blueprints-integration to the correct version that will be part of the release.

Other information:

Status

[ ] The functionality has been tested by the PR author
[ ] The functionality has been tested by NRK

Codecov Report

Merging #331 into release24 will decrease coverage by 0.01%.
The diff coverage is 63.41%.

@@              Coverage Diff              @@
##           release24     #331      +/-   ##
=============================================
- Coverage      67.72%   67.70%   -0.02%
=============================================
  Files            190      190
  Lines          12817    12833      +16
  Branches        2834     2840       +6
=============================================
+ Hits            8680     8689       +9
- Misses          4069     4076       +7
  Partials          68       68

Impacted Files
Coverage Δ

meteor/lib/collections/Timeline.ts
52.38% <ø> (ø)

meteor/server/api/playout/lookahead.ts
9.32% <0.00%> (-0.15%)
:arrow_down:

meteor/server/api/playout/pieces.ts
17.00% <0.00%> (-0.12%)
:arrow_down:

meteor/server/api/playout/timeline.ts
74.27% <66.66%> (-0.14%)
:arrow_down:

meteor/server/api/blueprints/postProcess.ts
71.05% <80.00%> (-0.19%)
:arrow_down:

meteor/lib/rundown/pieces.ts
75.86% <100.00%> (ø)

meteor/server/api/peripheralDevice.ts
77.55% <100.00%> (+0.15%)
:arrow_up:

meteor/server/api/playout/lib.ts
88.05% <100.00%> (+0.04%)
:arrow_up:

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 7bf3e7c...e927687. Read the comment docs.


Investigate how sender_info is populated... When I send a ping from the python Interface, I get back "Hello, Scarab"

Unable to reproduce, I now get back a return code of 0 and the return message is Return Message: Hello, /usr/local/bin/dl-agent, so this seems to have been fixed along with other work.


background location stops broadcasting after five minutes

Describe the bug
I am trying to share currrent location of user through pusher it works fine when app is open but when i minimize the app. after 5 minutes . it stops working . but the thing is I can see location get change when app is in background through devtool console.  App remains alive when it is minimize . Foreground service is also running but still can't share location .. When app is minimize it seems like all the locations are added in queue. when i open app it start sending all queue locations .
I also tried https request instead of pusher that also stops after 5 minutes
here is the code.
   BackgroundGeolocation.addWatcher(
    {
        // If the "backgroundMessage" option is defined, the watcher will
        // provide location updates whether the app is in the background or the
        // foreground. If it is not defined, location updates are only
        // guaranteed in the foreground. This is true on both platforms.

        // On Android, a notification must be shown to continue receiving
        // location updates in the background. This option specifies the text of
        // that notification.
        backgroundMessage: "Requerido para el rastreo en tiempo real",

        // The title of the notification mentioned above. Defaults to "Using
        // your location".
        backgroundTitle: "Rastreo Siloc",

        // Whether permissions should be requested from the user automatically,
        // if they are not already granted. Defaults to "true".
        requestPermissions: true,

        // If "true", stale locations may be delivered while the device
        // obtains a GPS fix. You are responsible for checking the "time"
        // property. If "false", locations are guaranteed to be up to date.
        // Defaults to "false".
        stale: false,
        // The minimum number of metres between subsequent locations. Defaults
        // to 0.
        distanceFilter: 0
    },
    (location, error)=> {
        if (error) {
            if (error.code === "NOT_AUTHORIZED") {
                if (window.confirm(
                    "Esta app necesita acceso a tu ubicación" +
                    "para poder mostrar las funciones necesarias al llegar a la huerta y/o báscula\n\n" +
                    "¿Abrir ajustes ahora?"
                )) {
                    // It can be useful to direct the user to their device's
                    // settings when location permissions have been denied. The
                    // plugin provides the 'openSettings' method to do exactly
                    // this.
                    BackgroundGeolocation.openSettings();
                }
            }
            return console.error(error);
        }

   // console.log("Got new location", location);
        this.subscribe(location.longitude, location.latitude);
        let user = TokenService.getUserInfo();
        const work_order_id = TokenService.getWorkOrder();
        if (work_order_id != null) {
          let work_order = JSON.parse(
            this.$localStorage.get(`work_order_${work_order_id}`)
          );
          if (user != null && work_order?.status == 8) {
            // delivery reached
            var delivery_longitude = 0;
            var delivery_latitude = 0;
            if (work_order?.fruit_delivery_location == "Empaque") {
              delivery_latitude = Number(
                work_order?.packaging_company_details?.packaging_companies
                  ?.latitude
              );
              delivery_longitude = Number(
                work_order?.packaging_company_details?.packaging_companies
                  ?.longitude
              );
            } else {
              delivery_latitude = Number(work_order?.delivery_latitude);
              delivery_longitude = Number(work_order?.delivery_longitude);
            }

            var distance = this.checkDistance(
              delivery_latitude,
              delivery_longitude,
              location.latitude,
              location.longitude,
              "K"
            );

            if (distance <= 1) {
              if (work_order.status == 8) {
                this.markOrderComplete(work_order.id);
                this.downloadWorkOrders();
              }
            }
            //delivery reached
          }
        }

        return 0;
    }
).then(function after_the_watcher_has_been_added() {

    // When a watcher is no longer needed, it should be removed by calling
    // 'removeWatcher' with an object containing its ID.
    // BackgroundGeolocation.removeWatcher({
    //     id: watcher_id
    // });
});

To Reproduce
install package then minimize the app
Expected behavior
it should share the location when app is close. I checked that pusher is also remain connected . when app is minmize .
Desktop (please complete the following information):
windows 11
Smartphone (please complete the following information):
android 10,9
Additional context
I also tried to disable battery optimize and and webview.. but still no success

I think this is a duplicate of #14. The Android webview imposes limitations on network requests when the app is in the background.


The OffsetConverter is using the wrong coeffcients for the latest version of oemof-solph

Fixed by commit c820a04a5d6c38bfa28aa33f39e6f50a1d4a6c8f


getting cors error trying to use pdf url links

1 Access to fetch at 'http://www.pdf995.com/samples/pdf.pdf' from origin 'http://localhost:33477' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
i'm getting this error anytime i try using pdf url links (like the one in the error above) online but works fine if src is specified to load pdf files on the system. please why am i having this issue.

Same issue any help?

Same issue any help?

CORS-Errors are server sided and for security. You should understand what cors is, this has nothing to do with the plugin.
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

Hey @opeyemidy  did you solve your problem ? i have the same problem
@guibrancopc  ,no solution your post


Use a :latest docker image tag on Dockerhub

In your Readme under Deployment Instructions, you have:
image: mafgwo/stackedit-plus:[Docker Hub found the latest version]

Most docker images I have used label their latest stable version with the tag latest. Also, if Docker sees an image referenced without a tag, it tries to find a tag called latest, so it's like the default tag.
Could you use a latest tag instead of asking us to check Dockerhub for the latest? This will also be convenient when updating to the newest image. Thank you :)

Thank you for your suggestion. The latest version has been added.


Using FileWatching

might be nice to use the proper tool for the job instead of the try loop. An example drawn from a Bukdu issue:
using FileWatching

dir = "."
fm = FolderMonitor(dir)

function reload_chrome()
   run(`osascript chrome.scpt`)
end

watching_files = ["test.css"]

loop = Task() do
    while fm.open
        (fname, events) = wait(fm)::Pair
        println("fname ", fname)
        fname in watching_files && reload_chrome()
    end
end
schedule(loop)

to be honest current version is ok, only issue may be error handling but apart from that it's quick and #itworks so putting this in the fridge for now


MSGraph connection check bypass

This adds the option to bypass the graph connection per #162
It simply adds an extra switch param of SkipGraphConnect to invoke-maester and then puts the Test-MtContext behind an if statement. Tested locally.
I've also updated the cmdlets document too.
Please let me know if you expected something else

Awesome. Thanks for the PR. @DrPye
This looks good. In future the cmdlet docs don't need to be updated manually since they are auto-generated based on the help.


Upgraded versions to Scala 2.12

I want to make a tutorial with Scala 2.12. Is there any chance you merge and publish this version?

Yea sounds good :)

io.surfkit
scalajs-google-maps_sjs0.6_2.12
0.0.3-SNAPSHOT


Design high level long run performance test

Base on v2 API

Reviewed and discussed on QA WorkGroup. Long Run & High Volume Performance Test.pdf


test PR with Github API

Please pull this in!

Docs Build status updates of commit 48b01be:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Updated zig template to conform with most recent zig version

Updated build.zig according to most recent examples from ziglang.orl.
Updated zig template .gitignore to include .zig-cache directory.
Added missing flake.lock to zig template.

Templates should not contain a flake.lock, other than that. Looks great!

Removed the flake.lock.
Glad to be of help!


[FX-NULL] Revert debounce update and remove injectFirst

FX-4727
Description
This pull request:

removes injectFirst from packages/picasso/src/test-utils/TestingPicasso.tsx not to break tests in Staff Portal

@staff-portal/editable:   ● EditableField › When toggle button is clicked › when form has been submitted › toggles back to viewer component
@staff-portal/editable:     Expected test not to call console.error().
@staff-portal/editable:     If the error is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'error').mockImplementation() and test that the warning occurs.
@staff-portal/editable:     Material-UI: You cannot use a custom insertionPoint and <StylesContext injectFirst> at the same time.
@staff-portal/editable:         at console.captureMessage [as error] (/runner/_work/staff-portal/staff-portal/node_modules/jest-fail-on-console/index.js:58:25)
@staff-portal/editable:         at error (/runner/_work/staff-portal/staff-portal/node_modules/@material-ui/styles/StylesProvider/StylesProvider.js:78:15)

reverts<EMAIL_ADDRESS>update (https://github.com/toptal/picasso/pull/4079), as it causes Staff Portal Cypress tests to fail with the following error

@staff-portal/clients-profile-app:   2) Enable Embedded Contract Signing
@staff-portal/clients-profile-app:        when the mutation is not successful
@staff-portal/clients-profile-app:          does not enable embedded contract signing and displays a form error:
@staff-portal/clients-profile-app:      Error: The following error originated from your application code, not from Cypress.
@staff-portal/clients-profile-app:   > Debounced method called with different contexts.
@staff-portal/clients-profile-app: When Cypress detects uncaught errors originating from your application it will automatically fail the current test.
@staff-portal/clients-profile-app: This behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.
@staff-portal/clients-profile-app: https://on.cypress.io/uncaught-exception-from-application
@staff-portal/clients-profile-app:       at MutationObserver.debounced (http://localhost:8080/__cypress/src/main.js:726794:19)
@staff-portal/clients-profile-app:
@staff-portal/clients-profile-app:   (Results)
@staff-portal/clients-profile-app:   ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
@staff-portal/clients-profile-app:   │ Tests:        2                                                                                │
@staff-portal/clients-profile-app:   │ Passing:      0                                                                                │
@staff-portal/clients-profile-app:   │ Failing:      2                                                                                │
@staff-portal/clients-profile-app:   │ Pending:      0                                                                                │
@staff-portal/clients-profile-app:   │ Skipped:      0                                                                                │
@staff-portal/clients-profile-app:   │ Screenshots:  0                                                                                │
@staff-portal/clients-profile-app:   │ Video:        false                                                                            │
@staff-portal/clients-profile-app:   │ Duration:     31 seconds                                                                       │
@staff-portal/clients-profile-app:   │ Spec Ran:     profile-page/pages/ClientProfile/__tests__/profile-actions/enable-embedded-contr │
@staff-portal/clients-profile-app:   │               act-signing.cy.ts                                                                │
@staff-portal/clients-profile-app:   └────────────────────────────────────────────────────────────────────────────────────────────────┘
@staff-portal/clients-profile-app: ────────────────────────────────────────────────────────────────────────────────────────────────────
@staff-portal/clients-profile-app:

The error is caused from latest major version of debounce and by https://github.com/sindresorhus/debounce/commit/95eef872be4d812c129fcc976caddc0a3446b5e6#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154583a746bba0f346R28 in particular.
How to test

Temploy
Alpha packages should make Cypress and Jest tests green in Staff Portal (https://github.com/toptal/staff-portal/pull/11837)

Development checks

[x] Add changeset according to guidelines (if needed)
[x] Read CONTRIBUTING.md and Component API principles
[N/A] Make sure that additions and changes on the design follow Toptal's BASE design, and it's been already discussed with designers at #-base-core
[N/A] Annotate all props in component with documentation
[N/A] Create examples for component
[x] Ensure that deployed demo has expected results and good examples
[N/A] Ensure the changed/created components have not caused accessibility issues. How to use accessibility plugin in storybook.
[x] Self reviewed
[N/A] Covered with tests (visual tests included)
[ ] ⚠ Create follow-up ticket to update debounce
[ ] ⚠ Delete https://github.com/toptal/staff-portal/pull/11838 before the merge

All development checks should be done and set checked to pass the
GitHub Bot: TODOLess action

PR commands

List of available commands:

@toptal-bot run package:alpha-release - Release alpha version
@toptal-anvil ping reviewers - Ping FX team for review

PR Review Guidelines

When to approve? ✅
You are OK with merging this PR and

You have no extra requests.
You have optional requests.

Add nit: to your comment. (ex. nit: I'd rename this variable from makeCircle to getCircle)

When to request changes? ❌
You are not OK with merging this PR because

Something is broken after the changes.
Acceptance criteria is not reached.
Code is dirty.

When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:

There are leftovers like unnecessary logs, comments, etc.
You have an opinionated comment regarding the code that requires a discussion.
You have questions.

How to handle the comments?

An owner of a comment is the only one who can resolve it.
An owner of a comment must resolve it when it's addressed.


Ability to like and comment on questions and answers

added models for answer & question comments
updated question & answer models with likes and relevant changes in HTML and views

@ravikamath123, have a look at this. I have added in few TODOs in the files, for you to work on.


the link to static file was wrong, it pointed to localhost.

Have corrected the link, and tested that the static files are placed in the correct path.

Hope the changes are correct. Please comment. This is my first pull request on github, Kindly let me know if any things needs to be changed.

Thank you for your contribution, I really appreciate it. This was fixed in an earlier PR, so unfortunately yours needs to be closed.


Integration Test - Release - 2022/01/06 03:31:27

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#assign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#reassign NonAllowedUser

#reassign PRMergerTest2

#please-close

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

GitHub user PRMergerTest2 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#unassign PRMergerTest1

#unassign NonAllowedUser


EKS Anonymous API Access Detection Rule

Background
This change introduces a new detection rule for identifying anonymous API access to the Kubernetes API server in Amazon EKS clusters. Anonymous access should be disabled in production environments to prevent unauthorized access, as it poses a potential security risk. Detecting anonymous requests helps ensure that EKS clusters are properly configured for secure API usage.
Changes

Added a new detection rule Amazon.EKS.AnonymousAPIAccess to monitor and detect anonymous API requests to the Kubernetes API server.
Included a YAML configuration for the rule with severity set to medium and associated MITRE ATT&CK references.
Provided test cases to validate both anonymous and non-anonymous API requests.
Documented remediation steps and runbook reference to disable anonymous access in the Kubernetes configuration.

Testing

Ran panther_analysis_tool to validate the new detection rule and test cases.
Verified that the test cases pass for both anonymous and non-anonymous API access scenarios.
Ensured that the rule raises an alert for anonymous API requests and remains silent for authenticated API requests.

Thanks for the contribution! I just made some minor changes to formatting and packs to make the checks pass. The test and validate checks are currently broken for external contributions; we have another PR pending that should resolve this!

Reopen.


launch Fix broken reset

Commit 9cbcff08ac20efe55ceb6b5e45addc7f29397ebe removed the drawMenu function, but did not remove the call to drawMenu on line 62. This means that the App source not found message would never go away by itself.
This fix restores the old behavior of removing the App source not found message after 2 seconds.

I am sorry that the git diff looks so crazy. I have not changed anything in the function, it is just indented.

I am sorry that the git diff looks so crazy. I have not changed anything in the function, it is just indented.

https://github.com/espruino/BangleApps/pull/3319/files?w=1 should make it clearer. Default apps are reviewed by @gfwilliams

https://github.com/espruino/BangleApps/pull/3319/files?w=1 should make it clearer.

That is a great trick, thanks!

Personally I do not understand the change?!?

To rephrase it, on line 62 there is a call to the function drawMenu, but that function does not exist. This PR solves that.

Thanks - this is a great spot, but not quite right I think, because the remove handler for showScroller will remove the lockHandler, and ideally we ought to re-add it inside drawMenu so that when the screen locks we go back to the clock.
... so drawMenu wants to include most of the lines after too:
g.flip(); // force a render before widgets have finished drawing

// 10s of inactivity goes back to clock
Bangle.setLocked(false); // unlock initially
let lockTimeout;
let lockHandler = function(locked) {
  if (lockTimeout) clearTimeout(lockTimeout);
  lockTimeout = undefined;
  if (locked)
    lockTimeout = setTimeout(Bangle.showClock, 10000);
}
Bangle.on("lock", lockHandler);

But then this looks great!

Good catch, I misunderstood how that code was used. I have included the code in the function, and when testing, it now goes back to the watch face after the 10 secs.
While I was at it, I also added a call to disable the scroller before the warning is shown. Before, you could scroll the warning away which looked very buggy. You could probably also click on a scroller item even though the item was not displayed.

Great, thanks!
Just in future, if you need to remove some user interface item, best to just call Bangle.setUI() - it's what E.showScroller() would do internally anyway.
There's quite a strong argument that actually E.showMessage should call setUI internally, but it's possible it might break something in apps that use it.

@gfwilliams I see thanks for letting me know, maybe that should be noted on the API page, which is what I looked at to determine that E.showSroller() was the correct solution: https://www.espruino.com/Reference#l_E_showScroller

To remove the scroller, just call E.showScroller()


Event Suggestions

Add some events for the debug hud (f3) such as:

[ ] [Left/Right]DebugText (before DebugHud#getLeftText and DebugHud#getRightText is returned) Allows adding/editing/clearing the list of strings for the debug screen. Left and Right are done separately
[ ] RenderDebugHud (after DebugHud#draw) Probably not needed if a general HUD based event is added

GuiEvents

[x] GuiDraw (Gui#draw, InGameHud#draw and other gui classes) When we want to draw extra things to a gui
[x] TooltipBuild (ItemStack#getTooltipText when a items tooltip is being built) Allows adding/editing/clearing an ItemStacks tooltip
[x] TooltipDraw (ContainerGui#drawTooltip when a tooltip is actually being drawn) Allows drawing extra stuff that isn't a string

merged into #1 to better keep track of it.


download cubemap images(px,nx,py,ny,pz,nz)

we can upload equirectangular image and create cubemap but we not yet able to download those images

Now, this problem is solved.
https://github.com/sokhuong-uon/equirectangular-cubemap/blob/81e968fc6707ebeed7233ef6d77608dd0a65c9c4/src/components/CanvasOutput.tsx#L22-L24


added lv_colors

added a class lv_colors with color definition

Will need this for testing the micropython lv_examples on the simulator

Thank you.


scratchpad.json not found

1.23.0
I saved the content of my scratchpad as scratchpad.json in my documents folder.
When I try to open the file, it doesn't show in the file dialog.
The file exists and can be opened by firefox.

Thanks for catching this one. Was working on macOS but not on Windows. Will be fixed in soon to be released 1.24

Thanks for catching this one. Was working on macOS but not on Windows. Will be fixed in soon to be released 1.24

Sorry, forgot to mention: Linux

Released in 1.24.0. Will close in a few days if no feedback

Solved on Linux


Improving todos and tasks

Codecov Report
Patch coverage: 78.09% and project coverage change: +1.00 :tada:

Comparison is base (b056a18) 64.70% compared to head (f9fcebf) 65.70%.

:exclamation: Current head f9fcebf differs from pull request most recent head c9a8022. Consider uploading reports for the commit c9a8022 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #103      +/-   ##
==========================================
+ Coverage   64.70%   65.70%   +1.00%
==========================================
  Files         159      166       +7
  Lines        1714     1808      +94
==========================================
+ Hits         1109     1188      +79
- Misses        605      620      +15

Impacted Files
Coverage Δ

lib/live_sup/application.ex
80.00% <ø> (ø)

lib/live_sup/schemas/datasource_instance.ex
83.33% <ø> (ø)

lib/live_sup/schemas/todo.ex
100.00% <ø> (ø)

lib/live_sup/views/todo_task_helper.ex
0.00% <0.00%> (ø)

lib/seeds/core/users_seeds.ex
0.00% <0.00%> (ø)

lib/live_sup/core/permissions.ex
25.00% <25.00%> (ø)

lib/live_sup/schemas/todo_task.ex
44.44% <28.57%> (-55.56%)
:arrow_down:

lib/live_sup/core/utils.ex
42.85% <33.33%> (-7.15%)
:arrow_down:

...e_sup/core/widgets/github/pull_requests/handler.ex
90.00% <50.00%> (+2.50%)
:arrow_up:

lib/live_sup/queries/user_query.ex
76.00% <50.00%> (-4.96%)
:arrow_down:

... and 13 more

... and 4 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[Core feature] Flytekit should support unsafe mode for types

Tracking issue
Related to flyteorg/flyte#5319
Why are the changes needed?
Use Case: When the user wants to apply Flytekit to their Python codebase, but annotating the type is too hard or time-consuming, we should support unsafe mode for easy usage.

What changes were proposed in this pull request?

I add unsafe kwarg to both task and workflow, and the default value of unsafe is False
If the unsafe kwarg is True and the types of inputs or outputs are not specified (which is None), replace the type from None to Optional[Any]. This will trigger FlytePickleTransformer to handle each unspecified type.

How was this patch tested?
Two tests are created to examine the ability of unsafe kwarg.

test_unsafe_input_wf_and_task: This test mainly examines the unspecified input types. If the unsafe is False, the workflow or task should throw errors. Otherwise, it should succeed.
test_unsafe_wf_and_task: This test mimics the use case mentioned above, where the user might not specify all the types in their codebase. The workflow should succeed if the unsafe kwarg of all tasks and workflow are set to True.

Setup process
Screenshots
Check all the applicable boxes

[x] I updated the documentation accordingly.
[x] All new and existing tests passed.
[x] All commits are signed-off.

Related PRs
https://github.com/flyteorg/flyte/issues/5319

Docs link

@pingsutw I created 2 new unit tests, and both of them passed.

There is something wrong when running on the cluster. Don't merge now.

NVM, it is still the same problem as mentioned in the comment above 6 months ago.
@task(pickle_untyped=True, container_image=image)
def t1(a) -> int:
    if type(a) == int:
        return a + 1
    return 0

@workflow
def wf1_with_unsafe() -> Tuple[int, int, int]:
    a1 = t1(a=1)
    a2 = t1(a="1")
    a3 = t1(a=None)    #! This will fail
    return a1, a2, a3

Currently, the input with a value None will fail

@task(pickle_untyped=True, container_image=image)
def t1(a) -> int:
    if type(a) == int:
        return a + 1
    return 0

@workflow
def wf1_with_unsafe() -> Tuple[int, int, int]:
    a1 = t1(a=1)
    a2 = t1(a="1")
    # a3 = t1(a=None)  #! This will fail
    return a1, a2, a2

I revert the support for None type in pickle. I think we could discuss that later and solve that in another PR if finally decided to do that.


See if NN outputs reasonable values

Short outputs made it seem like the same values are put out for every fighter. Maybe bug with randomizing weights, maybe bug in NN

Testing done. Indeed very buggy, see #9


Can't find service/worker.js

Downloaded latest archive for mac. opens fine, but after a load a document (either a pdf or a .md file) then it gets this error above ^

See https://github.com/BruceMacD/chatd/issues/36#issuecomment-1979992408 for workaround

Confirmed; @spidersouris / #36 does fix

See #36 (comment) for workaround

Alternatively we can create a symbolic link to the resources\app\src folder at the place where the executable is placed
mklink /D resources\app\src .\src

How can I fix this in linux?

How can I fix this in linux?

Instead of mklink /D use ln -s
Please refer here for details - https://linuxize.com/post/how-to-create-symbolic-links-in-linux-using-the-ln-command/


Better Defaults

It would be nice if "ECR_CREATE_MISSING" was set to true by default as I think it's a sensible default for ease of use here.

hm good question. The reason I left it as-is was to align with the original functionality of this repo (which required secrets to already exist).
Altho this is a small project, I think it's important to not break functionality unless absolutely required, so I think I'll leave it as-is. I hope that doesn't cause too much problems for you.


Feat/jumanji support

Related issues: #83
This PR aims at easing the use of Jumanji environments in QDax. Jumanji is an open-source Jax package for games and combinatorial optimization problems written as MDPs.
This PR introduces:

utils to score a policy in a Jumanji environment (play_step, rollout, scoring)
an example of how to use a Genetic Algorithm or MAP-Elites on Jumanji-Snake
a small modification of the MakeFile
I had to pin jinja to fix the docs

Checks

[x] a clear description of the PR has been added
[x] sufficient tests have been written
[x] relevant section added to the documentation
[x] example notebook added to the repo
[x] clean docstrings and comments have been written
[x] if any issue/observation has been discovered, a new issue has been opened

Future improvements
The way the dependencies are handled in readthedocs is quite annoying at the moment, because the installation of qdax overwrites the requirements. We need to udpate our readthedocs file to fix this.

Codecov Report

Merging #136 (e7119ea) into develop (8fd641b) will increase coverage by 0.10%.
 Consider uploading reports for the commit e561918 to get more accurate results

@@             Coverage Diff             @@
##           develop     #136      +/-   ##
===========================================
+ Coverage    92.31%   92.41%   +0.10%
===========================================
  Files          103      105       +2
  Lines         5816     5910      +94
===========================================
+ Hits          5369     5462      +93
- Misses         447      448       +1

Impacted Files
Coverage Δ

tests/default_tasks_test/jumanji_envs_test.py
98.14% <98.14%> (ø)

qdax/tasks/brax_envs.py
96.66% <100.00%> (ø)

qdax/tasks/jumanji_envs.py
100.00% <100.00%> (ø)

qdax/types.py
96.66% <100.00%> (+0.37%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks @Lookatator for the comments. I agree with them. I'll update accordingly.


You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.

I'm trying to install bundler on my Mac OS Catalina, but it isn't letting me, help
muhammadyazid@Muhammads-MacBook-Pro ~ % gem install bundler
ERROR:  While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.
muhammadyazid@Muhammads-MacBook-Pro ~ %

Is rbenv installed on your machine? What steps have you performed for installing ruby?
Can you verify if this stackoverflow answer helps.

It seems not rbenv issue.

I had to export GEM_HOME
export GEM_HOME="$HOME/.gem"

I had to set my global ruby to the rbenv version:
rbenv global 2.6.3

@wilrnh Thank you for the tip. I had the same issue. Apparently, my version was set to system. Setting the global Ruby to one of the available Ruby versions in my system (i.e.: 2.7.2) fixed it for me.

@chanux that worked! thank you

@chanux works to me, thanks!

wow, this probably should be in the installation instruction :) rbenv doesn't install without this step on a mac today

@chanux Work!

current directory: /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/ext/ffi_c
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0 -r ./siteconf20220116-1604-6m4e3t.rb extconf.rb
checking for ffi.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.
can you assist me on this
ion@IONs-MacBook-Pro ~ % which ruby
/usr/bin/ruby
ion@IONs-MacBook-Pro ~ % ruby -v
ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.arm64e-darwin20]
M1 chip

Hi @mfarhanchandaion. It looks like you're using the system Ruby version, which most likely means your PATH is not set, or maybe you need to run rbenv rehash. If that doesn't work, I built a tool that will automatically set up a working Ruby environment on your Mac.
I got tired of seeing people run into the same issues over and over, so I created Ruby on Mac to make it as easy as possible to start using Ruby on a Mac.

That's work, super! Thank you.
(though I don't understand why.
Si someone could explain to me, I would greatly appreciate it

I have a multiple user on Mac. When i am not login with the administrator user. I face this Issue. Please login with administrator at the time of installation.

I keep reading a lot of posts when I first get into trouble. This is how I once reached this website (https://kodlogs.net/339/you-dont-have-write-permissions-for-the-library-ruby-gems-2-3-0-directory) and got the desired solution. You can read this post as well as visit here. I think it will be very useful for you

@Kodwings22 Ha! That's a blatant plagiarism (with some edits that made it worse) of these posts of mine:
Install Ruby on Mac. The Definitive Guide for 2022.
The fastest and easiest way to install Ruby on a Mac in 2022

I've added a FAQ entry about this problem to the wiki https://github.com/rbenv/rbenv/wiki#you-dont-have-write-permissions-for-the-libraryrubygems260-directory


Remove dependency on SPIR-V headers in libspirv.h.

For fulfilling this purpose, the |opcode| field in the
|spv_parsed_instruction_t| struct is changed to of type uint16_t.
Also add functions to query the information of a given SPIR-V
target environment.

-1  I think this just needs a tweak on the name of the spvTargetEnv function.

+2

+2


Require API Version per Request

Pynautbot should require the specification of desired API version for all requests (either via environment variable or config) and not use whatever Nautobot specifies as the default. This would move Pynautobot to adhere to the best practice defined in Nautobot's REST API documentation: https://docs.nautobot.com/projects/core/en/stable/rest-api/overview/#default-versions-and-backward-compatibility

Are we thinking that we need to require the api_version key when initiating a pynautobot object? @bryanculver
If that is the case, I am going to object on requiring it until there is an easy way to know what API version to use. For just getting started with the library, this adds in a complication.


NOTICK: Pass PostgreSQL system properties into OSGi tests.

I really cannot stress this strongly enough:

Gradle properties are not the same as Java system properties.
And neither are OSGi Framework properties.

Our test code is examining the Java system properties for postgresPort to determine whether it should expect a PostgreSQL database vs a HSQLDB one. We therefore need to pass these system properties as system properties into the JVM running the testing OSGi framework. We do this via the -runvm instruction in the .bndrun file.
The -runproperties instruction sets OSGi framework properties, and ${project.postgresPort} is examining the Gradle project's properties. So
-runproperties:\
    postgresPort=${project.postgresPort}

simply doesn't work at all.

LGTM - build changes

Thanks. Technically, it's all build changes, but I suppose I need @vkolomeyko for the final blessing...


Using InMemoryUploadFile with tika.

Hi,
I am posting a file into my db using BE framework of Django. I would like to read the data from the file whilst parsing.
However, I am getting the error:
AttributeError: 'InMemoryUploadedFile' object has no attribute 'decode'
I assume the issue is that the temp file that django handles differs to what tika is expecting, is there any suggestions or documentation I could have a look at?
Thanks

tika-python doesn't directly handle object streams in parser.from_file (you have to use .from_buffer). But the latest PR I just commit in this release should address that. Thanks @hamodey


chore: minor adjustments

Description

Workspace

various minor adjustments

References

N/A

Codecov Report

Merging #703 (6d32dec) into main (48a4507) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #703   +/-   ##
=======================================
  Coverage   61.84%   61.84%
=======================================
  Files          14       14
  Lines         228      228
  Branches       20       20
=======================================
  Hits          141      141
  Misses         82       82
  Partials        5        5

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


✨ Feature: Strkethrough text of a checked Checkbox

The nature of the feature:

[ ] Parser(syntax, conceal etc. related)
[X] Renderer(style, options etc. related)
[ ] Support(plugin support, language support etc. related)
[ ] Other

Description:
Add option to strkethrough text following a checked Checkbox

Something like this?

@OXY2DEV Yes, exactly :+1:


Dockerise the Project

I want the Maintainers and, Contributors of this project to be able to showcase this project to anyone at any point of time, and in many cases maintaining , and updating the dependencies, become a huge issue. So, it would be great, if this project can be dockerised.

Completed


Create a semi-automatic analysis of originality of created letters

Is your feature request related to a problem? Please describe.
Currently we have no way of knowing -- outside of manual check -- of whether a newly generated image is original.
Describe the solution you'd like
Some way of finding the images of the training data, which is very similar and/or very different. This could be through a mask that checks how the values of the pictures differ.

Is this not solved with the classifier?


Add human ratings to inspector

This PR adds the ability to annotate responses with human labels and comments (simple thumbs up/down and notes) inside all Response Inspectors. Human labels are saved upon export and imported correctly.
You can export human annotations to a spreadsheet via Export to Excel button.
Even though it seems simple, this change was difficult to get right, as it requires precision to limit re-rendering. The solution I ended up with was not to store human annotations on the response objects themselves, but rather in the Zustand store as a global state. Annotations are then indirectly loaded from a key-value store in the global state, indexed by both the unique ID of the response batch and the particular indices of grades per each response inside the batch (i.e. when num responses per prompt is greater than 1).
This change precipitates a potentially larger change in how response objects are handled. I have been passing around the objects themselves; however, it may be faster to move, in the long-term, to a key-value store concept with unique ids. This will occur only after the TypeScript rewrite is finished.

Note that this change causes a slight slowdown, even more so than before. I've transition to use lazy loading to ameliorate this, but, it is still a problem. The solution will be to move toward a better-componentized LLM inspector view, with potentially a library like react-window to limit the number of rows displayed at once. Right now triggerRedraw is doing a lot of work. It would be nice to memoize the actual response boxes, and then have the logic just move them around in the chosen view.


Links in summary broken for some emoji

Example: https://github.com/github/c2c-actions-service/blob/2c4003eb010f453c8546606264980fe1efbccc26/IssuesReport.md
Try the "Tech Debt" link

Easy solution here is to use header IDs, assuming that's supported in GitHub: https://www.markdownguide.org/extended-syntax#heading-ids

GitHub-Flavored Markdown doesn't support this, unfortunately: https://github.github.com/gfm/


chore: remove node4 from ci, and change node9 to node10

Never mind. CircleCI doesn't support 10 yet. Closing this for now.


VS2015 (Win10) build failure: cannot open include file 'splash.gen.h' at main.cpp: line 42

Operating system or device - Godot version:
Windows 10
Visual Studio 2015 Community Edition
Godot 3.0 (latest build, x64 Debug)
Issue description:
Pulled from origin/master. Attempted to make a build. Build error occurred.
Output below (lots of warnings too, but I won't post those unless desired):
Error	C1083	Cannot open include file: 'splash.gen.h': No such file or directory	godot	godot\main\main.cpp	42
Error	MSB3073	The command "echo Starting SCons && cmd /V /C set "plat=x86" ^& (if "x86"=="x64" (set "plat=x86_amd64")) ^& set "tools=yes" ^& (if "debug"=="release" (set "tools=no")) ^& call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" !plat! ^& scons platform=windows target=debug tools=!tools! -j2" exited with code 2.	godot	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets	41

Retry, Windows needs several attempts if you use -j2 to generate the relevant files.

Duplicate of #5042.

Ah, my mistake. Thank you for the correction.


First commit

I still have not had time to fully review this PR. The up-cpp API redesign is taking a lot of my attention right now.
Based on on a few offline discussions, I think it is ok to proceed with this PR without completing a full review under the following conditions:

This is only temporary code for uProtocol 1.5.7
The update to uProtocol 1.5.8 will be reviewed in full as new code (this requires extra steps in setting up the PR)
A subsequent full review may (and likely will) require significant changes based on review feedback
The task to complete a full review for 1.5.8 will be tracked as an issue on this repo, and this issue will be treated as a blocker for any future tagged releases.

The thinking here is that 1.5.8 comes with the up-cpp API updates as a product of https://github.com/eclipse-uprotocol/up-cpp/pull/99, along with significant cleanup to up-spec. Rather than drag out this review, we can commit what is here to enable ongoing work. We will also spend less time reviewing and making changes to code that we know is not the final implementation.
@stevenhartley what are your thoughts?

@stevenhartley what are your thoughts?

Agree @gregmedd


MAINT-516: Conflicting inactivation members

https://jira.ihtsdotools.org/browse/MAINT-516

Closing as develop branch has changed since the initial implementation. Recreated in #70


ScanCode.io: Craft d2d pipeline steps for ELF

The design is to extend the "map_deploy_to_develop" with an "Elf" option given the framework in:

#1111

The process will be to:

[x] Collect ELF DWARF symbols with the new elf-inspector. See https://github.com/nexB/elf-inspector
[x] Create a pipeline to inspect ELF binaries https://github.com/nexB/scancode.io/blob/d6389b28841c4edf25075208eaf0708658650d06/scanpipe/pipelines/inspect_elf_binaries.py
[ ] Create D2D steps for ELFs using DWARF paths

Some status update:

We have an ELF pipe wrapping the elf-inspector https://github.com/nexB/scancode.io/blob/main/scanpipe/pipes/elf.py
We have a pipeline to inspect ELF binaries https://github.com/nexB/scancode.io/blob/d6389b28841c4edf25075208eaf0708658650d06/scanpipe/pipelines/inspect_elf_binaries.py
We have an early prototype of ELF d2d in https://github.com/nexB/scancode.io/compare/main...812-d2d-elf-dwarf ( or https://github.com/nexB/scancode.io/compare/nexB:d6389b2...nexB:6a711f0 ) that can be reused as the base for the actual d2d steps

This is now done and we have a set of proper steps grouped and tagged for JavaScript "binary/webpacked" analysis that can be selectively used in the context of:

https://github.com/nexB/scancode.io/issues/1111

The actual JavaScript-specific pipeline steps look like this:

To test the feature:

Install ScanCode.io
Create a new project
Add these two Download URLs exactly as below using these webpacked examples:

source:  https://github.com/nexB/scancode.io/raw/main/scanpipe/tests/data/d2d-elfs/from-data.zip#from
binary: https://github.com/nexB/scancode.io/raw/main/scanpipe/tests/data/d2d-elfs/from-data.zip#from

Select and execute the "map_deploy_to_develop" pipeline, clicking on the Elf option

Here is how the project creation looks like:

When pipeline run is finished, refresh

and click on the "relations" , and you can see the mapping between source and binaries:

At the resource page, there are also file-level mappings details:


Blazor at work with Microsoft Entra ID (including how to from scratch) Source

Would it be possible to get the code from the Blazor at work live stream committed?

Thanks for the comment... I'm planning to work on this over the weekend in prep for next week.  Sorry it has been delayed.

Committed the code to add components and api endpoints that will work for google and microsoft entra id.
This code is deliberately verbose and repetitive.  The idea is to make it easy to understand how to do these things, and you may refactor and redesign as needed.


Disable indented code blocks

We use ``` everywhere

@caesarxuchao please mereg if/when you're happy with this.  I have to go soon.

It does the job.


Bit Descriptions

I have a tag that's an INT and I wanted to know if there was already an implementation where I can add descriptions to the individual bits (in the Comment element)
<Tag Name="DO_03" TagType="Base" DataType="INT" Radix="Decimal" Constant="false" ExternalAccess="Read/Write">
<Comments>
    <Comment Operand=".0"><![CDATA[SAFETY RESET PB ENABLE]]></Comment>
    <Comment Operand=".1"><![CDATA[FRONT GATE LATCH ENABLE]]></Comment>
    <Comment Operand=".2"><![CDATA[LEFT GATE LATCH ENABLE]]></Comment>
    <Comment Operand=".3"><![CDATA[RIGHT GATE LATCH ENABLE]]></Comment>
    <Comment Operand=".4"><![CDATA[OPERATOR WORKLIGHT ENABLE]]></Comment>
    <Comment Operand=".5"><![CDATA[SPARE]]></Comment>
    <Comment Operand=".6"><![CDATA[BOWL FEEDER 1 ENABLE(SMALL RIVETS)]]></Comment>
    <Comment Operand=".7"><![CDATA[BOWL FEEDER 2 ENABLE(LARGE RIVETS)]]></Comment>
    <Comment Operand=".8"><![CDATA[LIGHT CURTAIN ZONE INDICATOR LIGHT GREEN]]></Comment>
    <Comment Operand=".9"><![CDATA[LIGHT CURTAIN ZONE INDICATOR LIGHT RED]]></Comment>
    <Comment Operand=".10"><![CDATA[SPARE]]></Comment>
    <Comment Operand=".11"><![CDATA[SPARE]]></Comment>
    <Comment Operand=".12"><![CDATA[SPARE]]></Comment>
    <Comment Operand=".13"><![CDATA[SPARE]]></Comment>
    <Comment Operand=".14"><![CDATA[SPARE]]></Comment>
    <Comment Operand=".15"><![CDATA[SPARE]]></Comment>
</Comments>
<Data Format="L5K"><![CDATA[0]]></Data>
  <Data Format="Decorated">
    <DataValue DataType="INT" Radix="Decimal" Value="0"/>
  </Data>
</Tag>

Currently no way to do that, but I'm sure something can be added. I'll look into it when I get time.

With version 2.2.0 you can access the Comments collection for any Tag. With this you can add/remove/update Comment objects as needed, including bit members.
var tag = new Tag("Test", 100);

tag.Comments = new LogixContainer<Comment>
{
    new(".1", "This is the comment"),
    new(".2", "this is another comment")
};

tag.Comments.Add(new Comment(".3", "This is an added comment"));

Also, setting Description will still update the corresponding comment for nested tag member objects, as it did before. We just don't have access to bit members as nested tag members.


Is this project abandoned?

It's been 8 months since last commit. Open pull requests not merged. Broken Embree and Vulkan builds...
Is this project abandoned?

They do have an SDK for both radeon rays and prorender, which was released recently here: https://www.amd.com/en/technologies/radeon-prorender-developers
As for the source code we'll have to wait and see if they update this repo with the internal branch.

Was hoping this project could be a cross-platform alternative to Optix Prime to prevent our users from being locked into nVidia hardware and us from having to maintain separate Optix / Embree (for CPU-only compatibility) codebases.  Hopefully it isn't quite dead and can reach feature parity at some point in the future.  Wonder if a significant license change is in store for future versions, based on how RadeonRays 3.0 is being distributed (per knightcrawler25 post)...

I'm in the same boat. Maintaining multiple code bases is a royal pain.

This is exactly why I passed, and left the GPU for "better days". We have NVIDIA which is mostly trying to create a monopoly, and AMD which for such big company, mostly has no clue what it's doing in its software department. Radeon Rays was good idea to break into the NVIDIA monopoly, but now it ended up even worse - closed source, non-commercial license. Thanks, but no thanks... Will stick with Embree for now, which is ages ahead as software quality, feature list, licensing, support. Hopefully someone will fix this mess, or the situation will resolve naturally by people forced to use Optix, since it's at least more mature, better quality and licensing, not to mention much bigger market share...

Last commit is now over a year ago, guess the open-source effort really is abandoned.  It showed so much promise... :(

Abandoned for sure... I even wrote an email asking questions about licensing of their new proprietary Radeon Rays SDK, and didn't receive an answer. Too small to get attention I guess...  I also say what I think, and they do not like critique... They said they wanted "constructive critique", but it's hard to say what they really mean by that... This project turned out to be a huge disaster and they lost credibility. Who will use their software, when you don't know if it will be available tomorrow? Even if you got licensed, my idea for this library was that its open source, and I can freely modify it to achieve better integration. This was its strongest point... + it's vendor agnostic, but after RTX, it's irrelevant.
Otherwise NVIDIA now has Optix 7 which is based on CUDA, so it fixes its biggest design issue (NVIDIA actually listened to the developers). Also, it supports hardware RTX. Also, it's a mature product with 10 years on the market. Also, the tech you see in Radeon Rays is mostly based on NVIDIA papers... And I get it, they make hardware for games, expecting others to lead the market like MS and Sony. My conclusion is, that if you want to support Radeon hardware, the best way is though DirectX12. I would never consider AMDs own tech. Mantle for example was another abandoned project, which true, evolved into Vulkan, but it's another lost IP. Close to Metal also failed, they moved to OpenCL, but with Apple abandoning OpenCL,  this API future is also questionable... AMD dropped the CPU OpenCL support and now develops yet another tech - ROCm, which is currently Linux only. So, it's a mess, while NVIDIA have CUDA for 12 years now, supporting all OSes.

I do applaud AMD for working with Khronos to transfer the Mantle IP for use in Vulkan instead of abandoning it.
But... don't even get me started on their linux-only ROCm/HPC solution. Yup... totally platform agnostic... as long as your platform is some flavor of linux :confounded:

RadeonRays is updated, but inside AMD only. They have released new versions a while ago as compiled libraries. The open-source version seems likely to be abandoned anyways.

Well, at least we finally have an answer to this. Radeon Rays 4.0 just released as mostly open source. OpenCL support dropped in this release.
Hopefully, they will actually maintain this one...

There is nothing open source in this project. It's a binary distribution under MIT license. Another AMD innovation I guess... Still better then their previous evaluation license.

There is nothing open source in this project. It's a binary distribution under MIT license. Another AMD innovation I guess... Still better then their previous evaluation license.

It looks like RadeonRays 4.0 will, for the most part, be open-source soon:
https://github.com/GPUOpen-LibrariesAndSDKs/RadeonRays_SDK/issues/206#issuecomment-629225584


Docs.MS Release Updates for azure_communication_sms

Update docs metadata and targeting for release of azure_communication_sms

Docs Build status updates of commit 00aaa65:
:clock10: Full build: the average full build time is 184 min(s) 2 sec(s), this is based on the last 609 build(s) for this repository.

Docs Build status updates of commit 00aaa65:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/communication-sms-readme-pre.md
:warning:Warning
View (azure-python) View (azure-python-preview)
Details

ci-configs/packages-preview.json
:white_check_mark:Succeeded

docs-ref-services/communication-sms-readme-pre.md

Line 15: [Warning-h1-not-first] Markdown content is not allowed before {0}.
Line 15: [Warning-h1-not-first] Markdown content is not allowed before {0}.
Line 23: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.
Line 23: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.
Line 39: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.
Line 39: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.
Line 44: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.
Line 44: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.
Line 76: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.
Line 76: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.
Line 80: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.
Line 80: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.
Line 84: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.
Line 84: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

@chrwhit this one seems like a problem in the docs. Pleas investigate

Is this for Java or Python?
From: Reza<EMAIL_ADDRESS>Sent: Tuesday, October 6, 2020 10:38 AM
To<EMAIL_ADDRESS>Cc: Christian<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs-sdk-python] Docs.MS Release Updates for azure_communication_sms (#862)
@chrwhithttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fchrwhit&data=04|01|chrwhit%40microsoft.com|3ee98e7681844db0706308d86a1eaed2|72f988bf86f141af91ab2d7cd011db47|0|0|637376027295653035|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=rdPw6g6pzs9immL5Rth5XIPqRfRhPOIA0O2V%2FSIhwKc%3D&reserved=0 this one seems like a problem in the docs. Pleas investigate
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs-sdk-python%2Fpull%2F862%23issuecomment-704436904&data=04|01|chrwhit%40microsoft.com|3ee98e7681844db0706308d86a1eaed2|72f988bf86f141af91ab2d7cd011db47|0|0|637376027295653035|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=6A%2BkwnqIavXbRmLx4jWDH5Tm7Pgx83PjJlLlQUZ6FC0%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAILUS3663VE5TEVIBGSZH3TSJNI2RANCNFSM4SFIRH7Q&data=04|01|chrwhit%40microsoft.com|3ee98e7681844db0706308d86a1eaed2|72f988bf86f141af91ab2d7cd011db47|0|0|637376027295663030|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=3vtQ9ZoMtvJUcmqWObAU0jWiwoeNuvYU31Jc2rFsINA%3D&reserved=0.

@chrwhit This should be for Python

+Daniel Doolabh
Daniel looks like there is an issue with the python SMS docs.
From: Reza<EMAIL_ADDRESS>Sent: Tuesday, October 6, 2020 10:54 AM
To<EMAIL_ADDRESS>Cc: Christian<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs-sdk-python] Docs.MS Release Updates for azure_communication_sms (#862)
@chrwhithttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fchrwhit&data=04|01|chrwhit%40microsoft.com|3976a275c95e4f033e8408d86a20ea7e|72f988bf86f141af91ab2d7cd011db47|0|0|637376036898517697|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=UzOdvFIcs4CLYVaOCqXZ3iJkOq1vPXzQ8hl2NRecvfw%3D&reserved=0 This should be for Python
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs-sdk-python%2Fpull%2F862%23issuecomment-704445536&data=04|01|chrwhit%40microsoft.com|3976a275c95e4f033e8408d86a20ea7e|72f988bf86f141af91ab2d7cd011db47|0|0|637376036898527688|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=YoXRFZp6vH2mlpwNQ%2FWz%2B0o7uw5grs5TFUs72VJm4OU%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAILUS36U7L6KPKJ5VFOHAQLSJNKWPANCNFSM4SFIRH7Q&data=04|01|chrwhit%40microsoft.com|3976a275c95e4f033e8408d86a20ea7e|72f988bf86f141af91ab2d7cd011db47|0|0|637376036898527688|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=fFX3%2BTtw0e2rVrCGTuuyM%2B4cWfvDZeDsrTqHpzfpv7o%3D&reserved=0.

@RezaJooyandeh sure I can take a look at this. It looks like this PR and potentially the doc that was generated was done automatically? I was only aware of the python sms readme here:  https://github.com/Azure/azure-sdk-for-python-pr/blob/master/sdk/communication/azure-communication-sms/README.md. If I update that README would this one also be updated automatically?

@danieldoolabh yes this is autogened based on the README

Out of date


pin sbt-republish to a non-broken SHA

working around #234
test run: https://scala-ci.typesafe.com/job/scala-2.11.x-integrate-community-build/254/consoleFull

huh, so this didn't actually fix it. back to the drawing board.

ohhhh, I think I needed to rewind by two PRs, not just by one. new test run: https://scala-ci.typesafe.com/job/scala-2.11.x-integrate-community-build/256/consoleFull (404 for now til Jenkins catches up)

ohhhh, I think I needed to rewind by two PRs, not just by one. new PR #236


[CORE-6153] forced-registration

it's already merged even though on Jira ticket it shows the previous PR merge has failed. I'm now closing this, as it's no longer needed.


fix: Make menu bar responsive

RDEV LINK - https://enormous-stud.dev-sc.dev.czi.team/d/super-cool-spatial.cxg/?spatial=true

Argus Stack Details

Name
rainandbare-1034-responsive-menu-bar-2

Short Name
enormous-stud

Base URL
https://enormous-stud.dev-sc.dev.czi.team

Fixes issue https://github.com/chanzuckerberg/single-cell-explorer/issues/1034
Preview
https://github.com/user-attachments/assets/72d85918-22ad-4ba0-8986-ea0e93b3e31d

Responsive behavior looks great but it has the same issue as the original implementation where the toolbar div prevents interaction with the underlying visualization if they overlap (see screenshot).

Ah great catch, @hthomas-czi ! Sorry I missed this too 😭

Hmm not sure why the e2e test is failing, since the menu bar change shouldn't affect it?
We can download the playwright test artifact at the test summary page and run something like npx playwright show-trace playwright-report/e2e-e2e-dataset-pbmc3k-cxg-graph-instance-layout-graph-clipping-clip-continuous-chromium/trace.zip to review how the test failed!

Hmm not sure why the e2e test is failing, since the menu bar change shouldn't affect it?
We can download the playwright test artifact at the test summary page and run something like npx playwright show-trace playwright-report/e2e-e2e-dataset-pbmc3k-cxg-graph-instance-layout-graph-clipping-clip-continuous-chromium/trace.zip to review how the test failed!

Phew - finally figured it out. The Clip dialog box was overlapping the test icon needed to get a screen capture in vertical mode.


Python 3.12 support

With the release of Ubuntu 24.04 LTS, Python 3.12 is shipped.
Currently, cmsisdsp cannot install on it, due to it using the deprecated distutils.
The same is true for some dependencies (e.g. numpy 1.22).
I can create a PR, but it will require to update dependencies as well (e.g. to numpy 1.26).

See also: https://peps.python.org/pep-0632/#migration-advice

@elagil Thanks. I have a PR about Python support that have been pending forever.
I need to find some time to work on the Python support and correct all those problems.

If you point me to the other PR, I can work on it. We need that support at our company, so I can spend a bit of time on the topic.
Would you be open to move forward to the (somewhat) new way of defining python packages? See https://peps.python.org/pep-0518/
The former setup.py or similar will be replaced by a pyproject.toml in the process.

@elagil The PR : https://github.com/ARM-software/CMSIS-DSP/pull/148
I just need time to merge and test ... time that I have unfortunately not found so far :-)
I can switch to the new pyproject.toml ... I just need to still be able to support Python 3.9

It should be done in commit https://github.com/ARM-software/CMSIS-DSP/commit/3ebc686ff683cab1ef9b26b076ebe603a10e7437
It was tested only on windows so far.
It has not yet been pushed to PyPI. More tests will be needed.

@christophe0606 Thanks, I saw that today in the commit history!
I will test on Ubuntu 24.04 and 22.04 and report issues, if any.


trainGenerator gets stuck

I was trying to just reproduce the model with the data in this repository. However, I get the following warning. After this, the training seems to get stuck. I have waited for 12 hours with nothing happening. Does anyone have any solution to this?

UserWarning: An input could not be retrieved. It could be because a worker has died.We do not have any information on the lost sample.

I am running this in anaconda virtual environment. Python version 2.7.5 and Keras 2.3.0

I figured it out. Seems like the zip of two ImageDataGenerator was the issue. I replaced the line
train_generator = zip(image_generator, mask_generator)
with the following:
train_generator = itertools.izip(image_generator, mask_generator)


New package: Containers v0.1.0

Registering package: Containers
Repository: https://github.com/emmt/Containers.jl
Created by: @emmt
Version: v0.1.0
Commit: 918e820215be19436d7b312857c69ed2ea0e41ee
Git reference: master

Perhaps DataContainers would be a more suitable/specific name? That is how you describe it in the README after all. Containers can mean a lot of different things, and for example I assumed it was similar or connected to (Docker) containers or the like.

@fredrikekre  This is a good idea, thanks for the suggestion. What is the best way to change the name of a package diuring this submission process?

See https://github.com/JuliaRegistries/General/blob/master/README.md#what-to-do-when-asked-to-reconsiderupdate-the-package-name

@fredrikekre OK that's simple.  What do you think of DataBags for the name?  This is a bit shorter than DataContainers and is more like the name Bags that I would initially like to take.

Sure. I don't think DataContainers is very long though (it would be a pretty medium name, see below) but it is your package.
julia> histogram(map(length, names))
                ┌                                        ┐
   [ 0.0,  5.0) ┤▇▇▇▇▇ 256
   [ 5.0, 10.0) ┤▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 1669
   [10.0, 15.0) ┤▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 1667
   [15.0, 20.0) ┤▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 995
   [20.0, 25.0) ┤▇▇▇▇▇▇▇▇ 374
   [25.0, 30.0) ┤▇▇ 115
   [30.0, 35.0) ┤ 24
   [35.0, 40.0) ┤ 9
   [40.0, 45.0) ┤ 1
   [45.0, 50.0) ┤ 1
                └                                        ┘
                                Frequency

OK that's done. Shall I re-submit to JuliaRegistrator? This is not indicated in https://github.com/JuliaRegistries/General/blob/master/README.md#what-to-do-when-asked-to-reconsiderupdate-the-package-name

Yes

@fredrikekre I'll do that right now. Many thanks for your help!


How to create a custom boot2k8s iso image?? I want to create a VM based on my custom image.

the Makefile calls a docker build. So if you want to tweak the image, you need to edit the Dockerfile and the scripts that are being put in the docker image.

I tried that, but there is the make_iso.sh script is not provided that is stated on Dockerfile

Can you give some logs.
make_iso.sh is part of the boot2docker/boot2docker image. I just downloaded it and the script it there:
$ docker run -ti boot2docker/boot2docker ls -l make_iso.sh
-rwxr-xr-x 1 root root 2021 Mar 10 22:08 make_iso.sh

Since the boot2k8s Dockerfile starts with a FROM boot2docker/boot2docker , you should get the script, unless you changed the base image.

Yes, I have tried using another base image, So the script is not available

if you change the base image in our Dockerfile, than yes you will not have access to make_iso.sh


2022040101

All Deepers globally (9963 miners - 8 not gaming) Closes #2897
Others in respective issues:
Closes https://github.com/helium/denylist/issues/1595
Closes https://github.com/helium/denylist/issues/2885
Closes https://github.com/helium/denylist/issues/2886
Closes https://github.com/helium/denylist/issues/2861
Closes https://github.com/helium/denylist/issues/2867
Closes https://github.com/helium/denylist/issues/2868
Closes https://github.com/helium/denylist/issues/2869
Closes https://github.com/helium/denylist/issues/2871
Closes https://github.com/helium/denylist/issues/2873
Closes https://github.com/helium/denylist/issues/2876
Closes https://github.com/helium/denylist/issues/2879
Closes https://github.com/helium/denylist/issues/2285
Closes https://github.com/helium/denylist/issues/2286

Received this from a community member
The ETL query used is:
-----------------------------
WITH block_range AS (SELECT height
                     FROM blocks
                     WHERE timestamp > (CAST(NOW() AS DATE) + (INTERVAL '- {{MaxDaysBack}} DAY'))
                       AND timestamp < (CAST(NOW() AS DATE) + (INTERVAL '- {{MinDaysBack}} DAY')))
   , data AS (SELECT recpts.block                                     AS block
                   , recpts.hash                                      AS hash
                   , recpts.time                                      AS time
                   , tx_owner
                   , tx_address
                   , CAST(receipt ->> 'timestamp' AS numeric)         AS tx_timestamp
                   , COALESCE(CAST(receipt ->> 'tx_power' AS int), 0) AS tx_power
                   , witness ->> 'owner'                              AS rx_owner
                   , witness ->> 'gateway'                            AS rx_address
                   , CAST(witness ->> 'timestamp' AS numeric)         AS rx_timestamp
                   , CAST(witness ->> 'signal' AS numeric)            AS rx_power
                   , CAST(witness ->> 'snr' AS numeric)               AS rx_snr
                   , CAST(witness ->> 'frequency' AS numeric)         AS frequency
                   , CAST(witness ->> 'channel' AS numeric)           AS channel
                   , distance
                   , tx_loc_geom
                   , rx_loc_geom
              FROM block_range
                       INNER JOIN transaction_actors txn_acts
                                  ON (block_range.height = txn_acts.block)
                       INNER JOIN gateway_inventory inv
                                  ON (inv.address = txn_acts.actor AND inv.payer = {{MakerAddress}})
                       INNER JOIN transactions txns
                                  ON (block_range.height = txns.block AND txn_acts.transaction_hash = txns.hash)
                       INNER JOIN challenge_receipts recpts ON (txns.block = recpts.block AND txns.hash = recpts.hash)
                 , JSON_ARRAY_ELEMENTS(recpts.path::json) b
                       CROSS JOIN LATERAL JSON_ARRAY_ELEMENTS((((recpts.path::json) -> 0) ->> 'witnesses')::json) witnesses(witness_raw)
                 , LATERAL (SELECT (witness_raw::json) AS witness) lwp
                 , LATERAL (SELECT (((recpts.path::json) -> 0) ->> 'receipt')::json AS receipt) lrp
                 , LATERAL (SELECT (((recpts.path::json) -> 0) ->> 'challengee')          AS tx_address,
                                   (((recpts.path::json) -> 0) ->> 'challengee_owner')    AS tx_owner,
                                   (((recpts.path::json) -> 0) ->> 'challengee_location') AS tx_location) lche
                 , LATERAL (SELECT (SELECT geometry FROM locations WHERE locations.location = tx_location) AS tx_loc_geom) lgeom_tx
                 , LATERAL (SELECT (SELECT geometry
                                    FROM locations
                                    WHERE locations.location = witness ->> 'location') AS rx_loc_geom) lgeom_rx
                 , LATERAL (SELECT ST_Distance(tx_loc_geom::geography, rx_loc_geom::geography) AS distance) ldist
              WHERE txn_acts.actor = witness ->> 'gateway'
                AND txn_acts.actor_role = 'witness'
                AND distance < {{MaxDistance}})

SELECT block,
       hash,
       time,
       tx_owner,
       tx_address,
       tx_timestamp,
       tx_power,
       rx_owner,
       rx_address,
       rx_timestamp,
       rx_power,
       rx_snr,
       frequency,
       channel,
       distance,
       tx_loc_geom,
       rx_loc_geom,
       inv_rx.name         AS rx_name,
       makers_rx.name      AS rx_maker,
       ST_Y(d.rx_loc_geom) AS rx_lat,
       ST_X(d.rx_loc_geom) AS rx_lon,
       inv_tx.name         AS tx_name,
       makers_tx.name      AS tx_maker,
       ST_Y(d.tx_loc_geom) AS tx_lat,
       ST_X(d.tx_loc_geom) AS tx_lon
FROM data d
         INNER JOIN gateway_inventory inv_rx ON (d.rx_address = inv_rx.address)
         INNER JOIN makers makers_rx ON (inv_rx.payer = makers_rx.address)
         INNER JOIN gateway_inventory inv_tx ON (d.tx_address = inv_tx.address)
         INNER JOIN makers makers_tx ON (inv_tx.payer = makers_tx.address);
-------------------

Maker address for the above query is 146S5XCtvB1VwqYzJnRr8goiADUFTscGAUb2ihKUBVYuvMrrNCx

This query is "all Deeper hotspots that were acting as a witness"

Based on the above query:
Total witness reports where the witness was a Deeper: 2,606,741 receipts
Total witness reports where the witness was a Deeper and the beaconer was NOT a Deeper:  335 receipts
Total UNIQUE hotspots for those witness reports where the beaconer was NOT a Deeper: 8 hotspots
Total ONLINE Deeper hotspots: 9559 hotspots

In short: There are only 8 hotspots that are ever seen by any other maker.
Further down, when talking about "Deepers", we mean "all Deepers minus the 8 legit hotspots"

Out of this, we can conclude that:
- Deepers are able to be seen by other makers (no design flaw)
- 9551 online Deepers are configured to be only witnessing other Deepers (gaming)

By doing this type of gaming, they are maximizing their PoC rewards, since they are never impacted by the "maximum 14 witnesses limit" and never impacted by the "random 14 witnesses".
Effectively, Deepers do not fully participate in POC, since they can never be witnessed by other makers. And as thus, they gain advantage in POC due to HIP15/17.
It's also obvious that there is no way to validate the POC they do.

All Deepers together earned 76,484.95HNT overtime.

Also this from a discord conversation
if we define a "same-maker witness ratio" metric as:
# receipts in which beacon + witness are from same maker / total receipts from that maker's beacons
we have the following graph for all makers

We knew each other for such a short time.
But you touched all our hearts.
Godspeed.

Credit where credit is due. Thank you for the submissions. Here are some CSVs with the dataset queried above
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch01.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch02.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch03.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch04.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch05.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch06.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch08.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch09.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch10.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch11.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch12.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch13.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch14.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch15.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch16.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch17.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch18.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch19.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch20.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch21.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch22.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch24.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch25.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch26.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch27.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch28.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch29.csv
https://denylist-share.s3.us-west-1.amazonaws.com/DeeperMarch30.csv

Good bye little sebastion!
https://www.youtube.com/watch?v=WEv0bl7oodU

Also this from a discord conversation
if we define a "same-maker witness ratio" metric as:
# receipts in which beacon + witness are from same maker / total receipts from that maker's beacons
we have the following graph for all makers

Hi, can you provide the link to this ETL question? I've been tracking Midas miners and dug out over 1000+ spoofers, this can be really helpful. And from this chart, it seems pantherX miners and hummingbird miners are pretty much the same, but I did not see much of them being denied, is there a reason?


—
Reply to this email directly, view it on GitHub
https://github.com/therealgliz/blooket-hacks/issues/442#issuecomment-1249620354,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3DRO73IFARSHB3QO3Q7R3TV6SWB3ANCNFSM6AAAAAAQOQW2JA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Did I ask, however?

therealgliz isn't real gliz lol

I made an account just to roast you.


chore(client): during recovery detect burned ecash due to nonce reuse (backport to v0.4)

Backport #6099
Fix #6115

@dpc I don't have much context, but can you please point out how this fixes #6115?
Also, do we need to get v0.4.4 out asap?


Redo settings and remove unused dependencies

Redo settings, with the use of FormItem instead of using Flex and Text.
Removed three unused dependencies.
Version bump to 2.0.2.

:exclamation: Doesn't unlocked stream lead to a possible account ban...? If yes, why are there no warnings about it, or a setting to disable/enable that feature...

Looks good, will merge

Why are there no warnings about it, or a setting to disable/enable that feature...

I'll add warning and settings, thanks for reminder


refactor: update jiti

v3: #29281
Update jiti to 2.3 and other deps that use jiti v2 (c12, unbuild, untyped)
To avoid behavior changes, new jiti.import(id, { default: true } is used that explicitly asks for "default export" (rather than interop proxy).

waiting for CI but locally seems good