Hi there, Can you tell me how did you create loading screen of homepage. I am not able to create same behaviour on page

Can you tell me how did you create loading screen of homepage. I am not able to create same behaviour on page

Hey, many of the cards in Reddium have a loading state which will display if the contents are not defined. For example: https://github.com/eightants/reddium/blob/78aaccb6ae250883a2f4fee9f9a2fc1890ea833c/components/home-page/MidCard.tsx#L66-L83
Here, you can see that MidCard checks if title is defined on line 15, if it is not defined, it renders the highlighted HTML. The shimmer-bg class creates the loading 'pulse' animation.

Hey, many of the cards in Reddium have a loading state which will display if the contents are not defined. For example: https://github.com/eightants/reddium/blob/78aaccb6ae250883a2f4fee9f9a2fc1890ea833c/components/home-page/MidCard.tsx#L66-L83
Here, you can see that MidCard checks if title is defined on line 15, if it is not defined, it renders the highlighted HTML. The shimmer-bg class creates the loading 'pulse' animation.

@eightants hi, I have another doubt. Right now, the Next.js page is only rendering on the server-side and there is no loading coming back when the server is generating the index.html page. and I also want to know how sidebar popular post and trending subreddit is generating so fast.
I am really sorry for the stupid question but I am so confused right now and I am not able to figure what is wrong with my app.

@eightants hi, I have another doubt. Right now, the Next.js page is only rendering on the server-side and there is no loading coming back when the server is generating the index.html page. and I also want to know how sidebar popular post and trending subreddit is generating so fast.
I am really sorry for the stupid question but I am so confused right now and I am not able to figure what is wrong with my app.

No worries, my code might be a little confusing to those unfamiliar with Next.js
The Popular Post section, is just a dropdown selector, there is no data being fetched for that. It is an interaction for users to specify filter parameters for fetching posts. All the posts on Reddium are being fetched client-side, so that is how you see  the loading screen.
The Trending Subreddit section is being rendered server-side. There is a subreddit where the top subreddits are posted every day, so I fetch this post and parse it to get the trending subreddits. Here is the code fetching trending subreddits: https://github.com/eightants/reddium/blob/master/pages/[[...params]].tsx#L28-L32
Hope this helps!

No worries, my code might be a little confusing to those unfamiliar with Next.js
The Popular Post section, is just a dropdown selector, there is no data being fetched for that. It is an interaction for users to specify filter parameters for fetching posts. All the posts on Reddium are being fetched client-side, so that is how you see  the loading screen.
The Trending Subreddit section is being rendered server-side. There is a subreddit where the top subreddits are posted every day, so I fetch this post and parse it to get the trending subreddits. Here is the code fetching trending subreddits: https://github.com/eightants/reddium/blob/master/pages/[[...params]].tsx#L28-L32
Hope this helps!


Exe

Why is there an assembly Weather.History.Splash.dll in the output folder even though I requested an Exe as output ?
Why is there a ./ref subfolder in the output folder, containg also an assembly with the same name ?

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFrameworks>net5.0-windows10.0.18362.0</TargetFrameworks>
    <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
    <UseWpf>True</UseWpf>
    <AssemblyName>Weather.History.Splash</AssemblyName>
    <RootNamespace>Weather.History.Splash</RootNamespace>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="log4net" Version="2.0.12" />
    <PackageReference Include="PropertyChanged.Fody" Version="3.3.1" />
    <PackageReference Include="Stylet" Version="1.3.5" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\Weather.History.Log\Weather.History.Log.csproj" />
    <ProjectReference Include="..\Weather.History.Utils\Weather.History.Utils.csproj" />
  </ItemGroup>
</Project>

Why is there an assembly Weather.History.Splash.dll in the output folder even though I requested an Exe as output

This is the structure of .NET Core output. The exe isn't managed if you inspect it with ILSpy. It's a native executable that starts coreclr. The dll contains actual managed application. In fact, the exe is optional.

2. Why is there a ./ref subfolder in the output folder, containg also an assembly with the same name

Maybe some tooling requires it. I'm not sure.

@Scottj1s @stevenbrix, do you know the answer to question (2) ?

@Scottj1s @stevenbrix, do you know the answer to question (2) ?


Links in cards not working in preview mode

Links in cards are not working for me in preview mode.
I have a toc file like this:
SSO-Integration
    introduction
    onboarding

I have a card in the landing page (index.md) like this

 ```````columns
 left:
   somethingsomething

 right:
  ```card img.png {title: "Single Sign-On", imageHeight: 180}
  somethingsomething
  [Learn More](SSO-Integration/introduction)

In preview mode the link points to /preview but not to the actual page. Navigation links work fine so the structure is corect.
version 1.61.2 (Homebrew)

Thanks for the fast reaction 👍

of course! Any chance you can share your use case of Znai here? https://github.com/testingisdocumenting/znai/discussions/824


Simplify delete reconcile

I don't see any issues with deletion with proper finalizers and owner references atm. Also there are more resources like ironic/openstackclient added that are not yet included.

@abays This works without any step ordering and explicit api calls. Let me know if you see any issues.

@abays This works without any step ordering and explicit api calls. Let me know if you see any issues.

With the finalizers we added for MariaDB and Keystone sub-resources, this might be fine to remove.  However, it could also potentially reintroduce races that you might not notice when testing this PR a few times.  Let me try a few things and get back to you on that.

reintroduce races that you might not notice when testing this PR a few times

I think, those won't happen unless we use ownerrefs and finalizers properly in the future. I guess it's better for it to break and we fix rather than doing non-k8s style controlled cleanup(?).

I'm not seeing any of the snags we were hitting before, so I think the finalizers I mentioned are doing their intended jobs.  We'll just have to keep an eye out for other dependencies between service operators, especially if they introduce finalizers between one another.  But I think this is good for now.

@dprince Could you take a look at this and/or try it when you get a chance?  It works in my environments.  I think we can indeed remove this teardown logic now that we have proper finalizers in place for Keystone and MariaDB.


Fix Eventhub CI Testcase

Create function app by azure cli in setup script and set eventhub connection string before execute mvn goal.

Codecov Report

Merging #594 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #594   +/-   ##
========================================
  Coverage    36.05%   36.05%
========================================
  Files           73       73
  Lines         2832     2832
  Branches       387      387
========================================
  Hits          1021     1021
  Misses        1732     1732
  Partials        79       79

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 ae8d7fd...efd52eb. Read the comment docs.


docker worker fails

I get this error when doing docker-compose up --build
ERROR: for worker  Container "5d4ff2a8f8d0" is unhealthy.
ERROR: Encountered errors while bringing up the project.

removing the container and rebuilding fixed it.

What do you mean with "still happening"? You have given us no information that we could use to even remotely know what your problem is with our docker setup.
You haven't even explained why you thought that

removing the container and rebuilding fixed it.

worked.
Care to elaborate? Else I am going to close this ticket.

original bug is still happening.
Step 5/5 : CMD npm install --loglevel verbose --legacy-peer-deps; npx prisma migrate dev; npm run dev
 ---> Using cache
 ---> 0cc604f28383
Successfully built 0cc604f28383
Successfully tagged sn_app:latest
Building worker
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  61.95kB
Step 1/4 : FROM node:18.17.0-bullseye
 ---> f86df217459e
Step 2/4 : ENV NODE_ENV=development
 ---> Using cache
 ---> bf428d5cb82a
Step 3/4 : WORKDIR /app
 ---> Using cache
 ---> cc749109af3e
Step 4/4 : EXPOSE 8080
 ---> Using cache
 ---> 5a90ac8f9baf
Successfully built 5a90ac8f9baf
Successfully tagged sn_worker:latest
opensearch is up-to-date
sndb is up-to-date
os-dashboard is up-to-date
Creating app ... done
Recreating imgproxy ... done

ERROR: for worker  Container "93a462399d9c" is unhealthy.
ERROR: Encountered errors while bringing up the project.

ERROR: for worker  Container "93a462399d9c" is unhealthy.
ERROR: Encountered errors while bringing up the project.

this is still a generic error message. We don't even have a container that is named like that.
Please ask docker for support with docker problems, not us. Closing.


Update Markdown tests to include new CSS styling

New CSS rules introduced in #825 require a certain DOM layout. This change updates the markdown tests to match that enabling the CSS rules to apply to the generated snapshots meaning we can visually confirm the styling on each markdown element.

Thank you James! Great catch.
The interesting thing with this is that some of the styles (the heading styles especially) are very specifically different inside a readme than from the markdown for the docs pages.
I wonder if it's worth two tests for this, one with the markdown class on the body tag which is what we do for the markdown docs pages, and one for the readme, as you have here.

So we do technically have a test covering that already but it only covers the privacy.md which doesn't really have a broad range of markdown!
I'll add another test though which uses the same markdown test file but using the actual MarkdownPage 😄

This is also a fun way to compare the markdown support between the two pages 😅
Is there any reason we shouldn't migrate it over to using the same GFM engine as READMEs?

Is there any reason we shouldn't migrate it over to using the same GFM engine as READMEs?

Honestly, I thought the PR that introduced the GFM Markdown parser switched the whole thing out for all pages. I'd certainly be in favour of only having one Markdown parser for the whole project. I'll merge this and raise an issue for that separately.

The main issue (I 100% didn't just find this out now as I tried to switch it out) is that the MarkdownPage uses the 'metadata' feature of Ink which pulls out some information right at the top of the file.
We'd need to implement this ourselves first.

Ah right, and that's key to that page working and isn't something we should spend time implementing
Two Markdown parsers it is!

The be honest, I don’t quite follow what we’re doing here 😅 I’m going to need a little explainer!
What does the new test do in addition/differently? I think it’s about the readme being wrapped in an article such that headers etc can have distinct css rules, right? I think snapshotting whole pages with those different parsers is confusing for onlookers - you don’t really understand what’s being used where and why if we don’t use it in the same places, so to speak.
Maybe I’m misunderstanding but it seems to me a realistic snapshot would be:
all markdown elements in “outer style”
<article>
all markdown elements in “inner style”
</article>

That way they’re together and the purposes of comparison is clear?
Again, I might be missing the point of this!

Sorry Sven some context is definitely missing here - had a brief chat about it with Dave as part of the previous merge request.
So there's two tests that have been changed here, the first one is for the GFM markdown converter - we already had a snapshot test checking that it was correctly converting the markdown into HTML which was being displayed. The modification in this MR adds the necessary class etc so that the recent styling improvements for READMEs (where the GFM markdown converter is used) can be seen -- without it there are no tests covering the markdown styling recently merged.
The second test covers the MarkdownPage (used for some fixed page docs like privacy and FAQs) and is running the same test markdown file but through that alternative (Ink) markdown converter. This is because not only does it use a different markdown converter but also the CSS is applied slightly differently (using different classes) so is feasible a CSS rule could affect only one of the two markdown pages (FAQs/etc, and READMEs).
Hope that clarifies a bit?

Aah, I see 👍

Thanks for the clarification and the additional tests, James!

No worries!
Always more than happy to justify my changes (otherwise what's the point in making the change in the first place!)
Thanks for merging it in


OCPBUGS-45866 : Fix GM State Transition Event Generation

This is a cherrypick from #379
Previously, when the Grandmaster (GM) transitioned to the HOLDOVER state, an event was generated with the HOLDOVER status. However, subsequent state transitions from HOLDOVER to FREERUN or LOCKED did not trigger any events. This bug fix ensures that events are now correctly generated for transitions from HOLDOVER to FREERUN or LOCKED states.

/approve

/cc @jzding

the change in plugins/ptp_operator/metrics/metrics_test.go is missing. It will be great to add unit test coverage.

/cherrypick release-4.18

/cherrypick release-4.18


Remove body of non-text content-types

Will you approve this? Fixes #1.

The thing is, it's more complex than that. There's all the application/* content-type branch where some are plain text and some aren't.
I'm not sure what the best solution is, but if I stick that conditional there I might be leaving other users with no chance of retrieving any file it skips.
The document object you get on the callback has the response object which has the headers. I'd say move that if into your callback.
var done = function(doc) {
  if (!/text|javascript|css|json|xml/i.test(doc.res.headers['content-type'])) {
    return;
  }
  ...
};

Do not that this is still inefficient, you could be fetching a 5mb zip file only to discard it later.
I'd advise you to somehow skip this links before queuing them in, it surely can be done if you know the markup well.

Thanks, it works! :+1: Wasn't able to wrap my head around it, see now that the $ is lazy.

Yeah, I assumed many would be used or discarded based on URL without the need to parse the document

Great code btw. Clean and simple, like it. Mind if I send a PR with an example in the README?

I don't mind at all, you mean a generic example?


curl test

test

/prombench master

/prombench master

⏱ Welcome to Prometheus Benchmarking Tool. ⏱
Compared versions: PR-27 and master
After successful deployment, the benchmarking metrics can be viewed at:

Prometheus Meta
Grafana Home
Grafana Exlorer, Loki logs

Other Commands:
To stop benchmark: /prombench cancel
To restart benchmark: /prombench restart v2.12.0

/prombench master

⏱ Welcome to Prometheus Benchmarking Tool. ⏱
Compared versions: PR-27 and master
After successful deployment, the benchmarking metrics can be viewed at:

Prometheus Meta
Grafana Home
Grafana Exlorer, Loki logs

Other Commands:
To stop benchmark: /prombench cancel
To restart benchmark: /prombench restart v2.12.0

/prombench cancel

Benchmark cancel is in progress.

/prombench master

⏱ Welcome to Prometheus Benchmarking Tool. ⏱
Compared versions: PR-27 and master
After successful deployment, the benchmarking metrics can be viewed at:

Prometheus Meta
Grafana Home
Grafana Exlorer, Loki logs

Other Commands:
To stop benchmark: /prombench cancel
To restart benchmark: /prombench restart v2.12.0

/prombench cancel

Benchmark cancel is in progress.


fix(controller): allow to use global params with withParam

Checklist:

[x] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.

(b)

[x] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
[x] I've signed the CLA.
[x] I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
[x] My builds are green. Try syncing with master if they are not.
[x] My organization is added to USERS.md.

@simster7 Could you review it again?

@simster7 Fixed. Please check it again!

Back-ported to 2.7


fix(deps): update terraform github.com/terraform-ibm-modules/terraform-ibm-landing-zone-vsi to v2.1.0

This PR contains the following updates:

Package
Type
Update
Change

github.com/terraform-ibm-modules/terraform-ibm-landing-zone-vsi
module
minor
v2.0.1 -> v2.1.0

Release Notes

terraform-ibm-modules/terraform-ibm-landing-zone-vsi
v2.1.0
Compare Source
Features

update required ibm provider version to >= 1.52.0 (#459) (cf77b78)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.

:tada: This PR is included in version 4.0.1 :tada:
The release is available on:

GitHub release
v4.0.1

Your semantic-release bot :package::rocket:


Point dropping evaluation questions

Hi,
thank you for your excellent work again. I have some questions about Fig. 6 Point dropping evaluation. Please help me with it.

Does the mean confidence score in Fig. 6 mean the average confidence scores obtained after dropping points on the whole KITTI evaluation dataset? This means one has to go through all the detections and corresponding attribution maps in more than 3000 scenes to get point dropping evaluation?
Why does it start at 1.0? I think it should be slightly lower than 1.0. Because even if we don't drop any points, the original confidence scores are always lower than 1.0.

Hi,
yes, but as mentioned in the paper, we limited the evaluation to the points inside the bounding box, so the evaluation can be done in parallel for all detections in a scene.
We used the initial confidence score of a detection as 100%, i.e. 1.0, to ensure that uncertain detections with low scores do not change the overall evaluation outcome.
Hope this helps,
best regards
David

Hi, David
thank you for your reply, it's really helpful.
Best Regards,
Kexuan


[WFCORE-4002] JDK-11 - testsuite - tolerate SocketException packed into SSLException

https://issues.jboss.org/browse/WFCORE-4002
SocketException in SSL are in JDK-11 packed as cause into SSLException - SSLException with appropriate cause was allowed where SocketException was allowed before.

Core - Full Integration Build 7920 outcome was FAILURE using a merge of a8ce9237f9b7a4228c22e9cb0c30d088bcee3f0d
Summary: Tests failed: 1 (1 new), passed: 4599, ignored: 137 Build time: 01:47:11
Failed tests
org.jboss.as.test.integration.messaging.mgmt.CoreQueueManagementTestCase.testListAndCountMessages: java.lang.AssertionError: expected:<2> but was:<1>
	at org.jboss.as.test.integration.messaging.mgmt.CoreQueueManagementTestCase.testListAndCountMessages(CoreQueueManagementTestCase.java:162)

This PR requires the creation of a JBEAP issue.
Could you create one please with the proper state and update this PR will the link for it? Thanks

linked


Add Texture Capturer for reading back rendered textures

A GVRTextureCapturer can be added to the RenderData for capturing
the rendered texture
Currently, it is applied to the external renderer texture
Added utilities to convert generate Bitmaps from captured data
and to save it as PNG file

Performance of the capture is high, allowing 60 FPS capturing
without affecting rendering performance. It may be further improved
by using multiple pixel buffers. This feature can be used for
capturing screen at high FPS.

is this all the latest code for this?

Yeah, this is the latest.


Update libs

Codecov Report

Merging #5 (925337c) into master (b02a37e) will decrease coverage by 3.88%.
The diff coverage is n/a.

: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
@@            Coverage Diff             @@
##           master       #5      +/-   ##
==========================================
- Coverage   63.08%   59.21%   -3.88%
==========================================
  Files          29       29
  Lines         967     1243     +276
==========================================
+ Hits          610      736     +126
- Misses        335      485     +150
  Partials       22       22

Impacted Files
Coverage Δ

pkg/bootstrap/server.go
53.48% <0.00%> (-8.28%)
:arrow_down:

pkg/bootstrap/test_server.go
92.85% <0.00%> (-2.39%)
:arrow_down:

pkg/robots/tsumo.go
70.00% <0.00%> (-1.43%)
:arrow_down:

pkg/robots/settings_decorator.go
77.58% <0.00%> (-0.80%)
:arrow_down:

pkg/logs/file.go
0.00% <0.00%> (ø)

pkg/logs/json.go
0.00% <0.00%> (ø)

pkg/rules/all.go
100.00% <0.00%> (ø)

pkg/logs/memory.go
100.00% <0.00%> (ø)

pkg/rules/rules.go
100.00% <0.00%> (ø)

pkg/rules/server.go
0.00% <0.00%> (ø)

... and 19 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Build failure with zig 0.13.0

As of commit e3c256a4
install
+- install hsh
   +- zig build-exe hsh Debug native 1 errors
/usr/lib/zig/std/debug.zig:101:5: error: deprecated. call std.debug.lockStdErr() and std.debug.unlockStdErr() instead which will integrate properly with std.Progress
error: the following command failed with 1 compilation errors:
/usr/bin/zig build-exe -ODebug --dep hsh_build --dep log -Mroot=/build/hsh/src/hsh/src/main.zig -Mhsh_build=/build/hsh/src/hsh/.zig-cache/c/689ac30957a48f836e91b23052337fd6/options.zig -Mlog=/build/hsh/src/hsh/src/log.zig --cache-dir /build/hsh/src/hsh/.zig-cache --global-cache-dir /build/.cache/zig --name hsh --listen=-
Build Summary: 1/4 steps succeeded; 1 failed (disable with --summary none)
install transitive failure
+- install hsh transitive failure
   +- zig build-exe hsh Debug native 1 errors
error: the following build command failed with exit code 1:
/build/hsh/src/hsh/.zig-cache/o/3ffe612fec3ca1314f4471bd82e13c9b/build /usr/bin/zig /build/hsh/src/hsh /build/hsh/src/hsh/.zig-cache /build/.cache/zig --seed 0x9f58a397 -Z05c811545fad9bac

This is almost fixed with 34f4f13eb4388a33538221cff4f40f935e401f5d

Thanks @GrayHatter do you think there could be tag  v0.0.3 for zig 0.13.0 compatible version "milestone"?

In case you didn't see igotchu

Thanks, see you on next zig release ;)


How do I contirubute

Hi, you are really doing good job there.
I have one file that was enhanced. adding some more colors.
would like to promote it / send it to you.
Please let me know the way.
thanks.
Danny.

The best and most obvious way is to create a pull request via github. That's what everyone does. You can google about how to do that. If you want to be lazy and not learn that, and it's just a tiny bit of code, just paste it here, and I'll take a look and merge it myself.

ok, did commit.
let me know if you able to get it.
if you want it on new branch let me know as well.
it was done on development branch.

You need to create a pull request next before I see anything...

בס"ד
Hi, failing to do so,
Validation error.
"it looks you have no privileges to do this request" (something like this).
What I did:
Create mew branch
Commit
Pull Request
Getting the error message above.
Same was when trying to do direct to development branch.
From: Tim Molter<EMAIL_ADDRESS>Sent: Wednesday, February 17, 2016 11:11 PM
To: timmolter/XChart
Cc: Danny Luzzon
Subject: Re: [XChart] How do I contirubute (#138)
You need to create a pull request next before I see anything...
—
Reply to this email directly or view it on GitHub https://github.com/timmolter/XChart/issues/138#issuecomment-185404861 .  https://github.com/notifications/beacon/AMZzv96CnEUkLrnhjeLGbuh541yaf8zxks5plNlXgaJpZM4Ha7bU.gif

Did you first fork the main XChart repo under your account?

thanks.
now managed to create it.
I thought fork is only for creating new version,.. thanks.
On Thu, Feb 18, 2016 at 12:43 AM, Tim Molter<EMAIL_ADDRESS>wrote:

Did you first fork the main XChart repo under your account?
—
Reply to this email directly or view it on GitHub
https://github.com/timmolter/XChart/issues/138#issuecomment-185442757.


Rules not saved when I hit save

Latest version 1.3.  I checked
-enabled
-contacts
and when i go to enter phone number filter
regex pattern - .*
description - noncontact
priority - 1
apply to calls and sms
type blacklist
default notifications
hit SAVE and it goes back to the main screen but no rule shown like the screen shots and a spam call rang through.
i cleared cache and data and tried again, same response
i uninstalled app and reinstalled through github, same response
it never asks me for storage permission, does it need that to store blacklist?
pixel 7a. calyxos. degoogled.
EDIT  downloaded 1.2 off of f-droid and it saves ok.  update to 1.3 directly from github with APK, saves ok.  when i clear rules (to get rid of testing rules) they clear and when i add another rule ALL rules (even deleted ones) come back.  i have to uninstall app to get rid of rules.  reinstall latest off of github same problem again, wont save rule.  uninstall and install 1.2 from fdroid, saves rules again.

I can reproduce the "Clear" bug, it brings back all the "Clear"ed rules when adding a new rule. Actually I'm about to remove this "Clear" button, replace it with a "Test" button. The point of this app is to do the job with very few rules instead of lots of specific numbers, the "Clear" won't be necessary. You can delete a rule by swiping left, it should work fine.
However I can't reproduce the bug that not being able to add new rule right after re-installed. It doesn't require storage permission, it stores database in its own internal storage, degoogled should be fine.

Try this action build: https://github.com/aj3423/SpamBlocker/actions/runs/8843504501
The "Clear" button is removed, the "Test" feature will soon be done in v1.4. The bug "rules not saved" is fixed, my brain is fixed as well, sorry for the previous wrong info, and thanks for your feedback.

thanks for your quick response, and thanks for writing the app in the
first place. I have been using Yet Another Call Blocker because it's
simple and just sends non-contacts to voicemail. it has not been updated
for several years and has a whole database thing that no longer functions
right. your app is just i needed.
Apr 26, 2024 12:32:46 AM aj3423 @.***>:

Try this action build:
https://github.com/aj3423/SpamBlocker/actions/runs/8843504501
The "Clear" button is removed, the "Test" feature will soon be done in
v1.4. The bug "rules not saved" is fixed, my brain is fixed as well,
sorry for the previous wrong info, and thanks for your feedback.
—
Reply to this email directly, view it on
GitHub[https://github.com/aj3423/SpamBlocker/issues/11#issuecomment-2078662026],
or
unsubscribe[https://github.com/notifications/unsubscribe-auth/AHQI2WEJWNTCI6A4IXWSZ2LY7HRHXAVCNFSM6AAAAABGZ3UIV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZYGY3DEMBSGY].
You are receiving this because you authored the thread.
[Tracking
image][https://github.com/notifications/beacon/AHQI2WGOSQRJWUDTHLW236TY7HRHXA5CNFSM6AAAAABGZ3UIV6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT34XOYU.gif]

action build works.  adds number and can slide and delete.  nice job!
question.  while i was testing it i got a phone call from a non-contact and even though it didnt ring, my phone showed the call and vibrated.  is that the way its supposed to work?  i had imagined that if i had notifications set to NONE that i would not see anything at all when a spam call comes in.

Strange, the rule .* should block all non-contact calls, that call should be blocked.
Is that call listed in history page? If so, does it show a green "pass"?
BTW, the "Test" feature is done in this action build: https://github.com/aj3423/SpamBlocker/actions/runs/8857903749, you can test rules without waiting for new incoming call.

ok.  tried the new build, called myself from another unknown phone number.  blocked correctly.
i tried the TEST function and it returns results correctly, including properly catching contacts.  looks like problem is resolved.  thank you.


Caching on incomplete downloads

When initiating a download it seems wrong that the html response is cached as long as the download is preparing or running.
What are the options for telling varnish not to cache? This is also useful for partial search results for example.

Varnish seems to be passing on the maxage directives you've set in Dev.  You can also set s-maxage to tell Varnish to cache something for a different time to the user's browser, which may be useful on occasion:
Cache-Control: public, s-maxage=30, maxage=60

This would tell Varnish to cache the page for 30 seconds, and the browser to cache it for 60.


Package : url_launcher, issue to build on Xcode

Hi,
I have an app on flutter , at the moment to open on Xcode , shows this error with the url_launcher.
error: /Volumes/Extra/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.1.2/ios/Classes/UrlLauncherPlugin.h: No such file or directory (in target 'url_launcher' from project 'Pods')
Could you please help me  to solve this?
Thanks,

Can you confirm you are opening Runner.xcworkspace and NOT Runner.xcodeproj?
https://github.com/flutter/flutter/issues/10770

Yes I can .
I've attached the pic here.

Does /Volumes/Extra/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.1.2/ios/Classes/UrlLauncherPlugin.h actually exist?  Did you run flutter pub get or flutter build ios or flutter run before you launched it in Xcode?  Looks like the pub package is missing?  Are there any url_launcher directories in /Volumes/Extra/flutter/.pub-cache/hosted/pub.dartlang.org/?

Also can we get flutter doctor -v

Hi jmagman,
Thanks to help.
Ok to answer the question -->> Does /Volumes/Extra/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.1.2/ios/Classes/UrlLauncherPlugin.h actually exist? .......Yes .
You can see on the pic , this is on VSCode,

Let me explain something... This is an project that I 've download from github, then firstly I opened on VScode, there I had run flutter doctor -v.
After I've done updatr cocoapods because the doctor says that .Then I close vscode and I open the project from the file myApp/IOS/ Runner .xworkspace the Xcode open the project and shows the error I previously attached .!!
I don't know how to fix that on Xcode, because on VsCode I've been able it works..
Thanks again for you help!!

Hi jmagman,
Firtsly  I want to  say "Thanks for your help.." because your question  "Did you run flutter build ios ??" it was the clue to solve this issue!!
Yes ,  all I have  to do was that...... to run flutter ios from terminal on VsCode (previosuly I did  run flutter pub get)
It works on Xcode and  Android,
Thanks again!!


Null safety?

Will you be updating flutter_image_slideshow for null safety?
Package Name             Current  Upgradable  Resolvable           Latest

direct dependencies:
flutter_image_slideshow  ✗0.0.4   ✗0.0.4      ✗0.0.4               ✗0.0.4

Thanks!

@abhlabs
I migrated to null safety.
Please, try it on master branch!


Filters out "too stale" data immediately

Filters out all of the stale data immediately at the transformData call.
FYI. This reduced the data set from 132 entries to 95.

Made the same update as PR #96 for the develop branch.


MAINT: Translate Digamma from Cython into C++

Reference issue

This closes no issues, but is relevant to #19404 and #19481.
What does this implement/fix?

This PR translates digamma.pxd and its cephes dependencies cephes/psi.c and cephes/zeta.c into CUDA compatible C++ along the lines of #19471 and #19496
Additional information

This branch has been rebased upon the feature branch for the loggamma PR, #19496. The loggamma PR should be reviewed and merged first. I'm submitting this now in case @izaid would like a chance to review this after he reviews the loggamma PR but before the loggamma PR gets merged. I've again confirmed that this works in CuPy on Cuda. It might be time to think about a systematic way to test this, instead of relying on ad-hoc scripts.

Woah. I love the auto-labels. Thanks @lucascolley!

It might be time to think about a systematic way to test this

CuPy has a handy decorator:
https://github.com/cupy/cupy/blob/main/tests/cupyx_tests/scipy_tests/special_tests/test_ellipk.py#L11

OK, all tests passed locally, but in
Linux Meson tests / Build with gcc-8 and Linux Meson tests / Prerelease deps, coverage, and 64-bit BLAS (3.9)(pull_request) I'm seeing the identical failure
 =========================== short test summary info ============================
FAILED special/tests/test_mpmath.py::TestSystematic::test_digamma_complex - AssertionError:
Max |adiff|: 0.000794359
Max |rdiff|: 0.000404781
Bad results (5 out of 439) for the following points (in output 0):
         0.-4.285714285714286j => 1.459849652666047-1.6874629934552177j != 1.4598496526660476-1.6874629934679093j  (rdiff          5.688000217407392e-12)
         0.-2.857142857142857j => 1.060164090818056-1.745796276593757j != 1.060164090818057-1.7457963769960356j  (rdiff          4.915687678361031e-08)
        0.-1.4285714285714286j => 0.4002307136439539-1.9203991474807345j != 0.4002307136439535-1.9211935061090597j  (rdiff           0.000404781189550142)
        0.+1.6666666666666667j => 0.5421986717787242+1.8707073573271982j != 0.542198671778724+1.8708852962625953j  (rdiff          9.135059536344818e-05)
        0.+3.3333333333333335j => 1.211543534548304+1.7207963242754367j != 1.211543534548303+1.7207963293143569j  (rdiff         2.3943394936997248e-09)
= 1 failed, 59615 passed, 2508 skipped, 260 xfailed, 13 xpassed, 6 warnings in 758.61s (0:12:38) =

That's a pretty bad tolerance violation. Not sure what's going on yet.

I've finished translating wright_bessel as well but will wait to PR that to avoid having too many open PRs at once.
https://github.com/steppi/scipy/compare/digamma_cpp...steppi:scipy:wright_bessel_cpp

That test was failing locally, I just didn't realize python dev.py test -t scipy.special.tests skips slow tests.  I should have been running python dev.py test -t scipy.special.tests -m full. The error was due to a typo in a condition.

That test was failing locally, I just didn't realize python dev.py test -t scipy.special.tests skips slow tests. I should have been running python dev.py test -t scipy.special.tests -m full. The error was due to a typo in a condition.

This looks good to me when running python dev.py test -t scipy.special.tests -m fullall tests pass except mpmath tests which still get skipped.

@steppi it looks like there are conflicts now as a result of me merging https://github.com/scipy/scipy/pull/19496
could you rebase this PR off main and resolve any conflicts?
I can merge once the conflicts are resolved.

The failure is unrelated
=========================== short test summary info ============================
FAILED scipy/optimize/tests/test__differential_evolution.py::TestDifferentialEvolutionSolver::test_immediate_updating - DeprecationWarning: This process (pid=16551) is multi-threaded, use of fork() may lead to deadlocks in the child.
= 1 failed, 45852 passed, 2368 skipped, 147 xfailed, 14 xpassed in 338.61s (0:05:38) =

The failure is unrelated
=========================== short test summary info ============================
FAILED scipy/optimize/tests/test__differential_evolution.py::TestDifferentialEvolutionSolver::test_immediate_updating - DeprecationWarning: This process (pid=16551) is multi-threaded, use of fork() may lead to deadlocks in the child.
= 1 failed, 45852 passed, 2368 skipped, 147 xfailed, 14 xpassed in 338.61s (0:05:38) =

yeah I checked and it doesn't look like that test case is using digamma so this must be a flaky failure.  Merging, thanks for the rebase @steppi


support Last-Modified and If-Modified-Since

Need to return Last-Modified with any appropriate responses

Support the If-Modified-Since header on as many endpoints as is reasonable


Support VK_KHR_push_descriptor

This PR adds support for VK_KHR_push_descriptor extension.
ref: https://github.com/MaikKlein/ash/issues/178

Thanks for the PR, sorry for not responding sooner. We recently switched our CI to github-actions, could you force push this PR again so that the CI can pick it up?

@MaikKlein for sure. Done.


Possible Simplification with Fallback Function

Maybe the implementation of the fallback would be simpler if I used:  address.delegatecall(msg.data) instead of assembly.  I would need to test to see if it uses more gas.

I just experimented with this and ran into this blocker:
TypeError: Return values for fallback functions are not yet implemented.

Interesting thanks.  I see I would have to drop to assembly to return the value.


Regarding the landing page of the website

Hello,
I would like to propose some improvements and adjustments to the landing page of our organization's website. The goal is to enhance the user experience, provide clearer information, and make a strong first impression on visitors.
1- Adding contact me section
2- Adjusting the headers
These changes are aimed at creating a more engaging and informative landing page that aligns with our organization's goals and values. I believe these adjustments will contribute positively to our online presence and user engagement.
Your feedback and insights on these proposed changes would be greatly appreciated. If there are specific guidelines or design elements we should adhere to, please let me know.
Looking forward to your input and guidance.
Best regards,
Suyash Dabral

@s-dabral Sounds good to me.
Are you planning to work on it?

Hey Adarsh
I agree with Suyash and would love to suggest some UI changes like Maybe selecting another color along with your main color to have contrast.
I'd also like to have some changes in the positioning of elements and would like to work on it, if you like the changes, that can be the PRs from Hacktoberfest too.
Please let me know as soon as possible.
Thanks
Best


Add missing include guards

Prompted by #2523
I noted while I was doing this, that we have two fifo.h files:-

common/fifo.h
sesman/chansrv/fifo.h

I have no idea why this is, but it may be related to performance. It looks like the first one will be consistent, and the second one will be very fast with occasional hiccups if the fifo needs to be resized.
Anyone get any comments on this?

Unrelated to this PR we also have two rail.h files!

No idea on the fifos, but I also believe we should standardize. We should do the Big-O complexity calculations to determine which one has the better runtime complexity.
If I remember algorithms and data structures, we should go with the one that is fast in the average case and slow in the resize case because:

Resizing isn't actually as slow as we think it is (https://www.youtube.com/watch?v=YQs6IC-vgmo)
The amortized average case gets you more speed.

And you know I'm all about that speed :)

I'm going to guess the two rails are due to the same reason we have a lot of duplication: Windows versus versus not-Windows version.


Result of .ply in MeshLab

Not an issue but showing result of what I see in MeshLab for one of the .ply files

@monajalal Awesome stuff 👍


Common integration scenario test

What this PR does / why we need it:
This PR adds a test covering the common integration scenario.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
In order to run the test the extension must be enabled for the landscape and a shoot should exist.
Release note:

An integration test covering the 'common' scenario was added.

/invite @gardener/test-infra-maintainers

Seems like the cannot be invited, so I am directly inviting the members :)
/invite @hendrikKahl @dguendisch


Port over eslint setup

Topic
eslint
Description
Someone just shared that the eslint setup from create-svelte doesn't setup VS Code for eslint. When we port that one over, perhaps we should have a question about configuring it for VS Code?
https://sveltejs.github.io/eslint-plugin-svelte/user-guide/#visual-studio-code
Describe the solution you'd like
No response

Actually, it looks like we shouldn't have a question about VS Code after all. I just looked into this more closely
https://github.com/Microsoft/vscode-eslint says:

eslint.validate - an array of language identifiers specifying the files for which validation is to be enforced. If specified only files with one of the language Ids specified will be validated. This is comparable to the --ext command line option. Defaults to null.

So it sounds to me like it checks Svelte files by default. Maybe we could look if the user has a VS Code config file with that property and automatically add Svelte to the list if it's not already there


Separate JNI implementation for ProofMap [ECR-3983]

Overview

Hashing and non-hashing ProofMap have different JNI implementations since now.

See: https://jira.bf.local/browse/ECR-3983
Definition of Done

[x] There are no TODOs left in the code
[ ] Change is covered by automated tests
[x] The coding guidelines are followed
[ ] Public API has Javadoc
[x] Method preconditions are checked and documented in the Javadoc of the method
[ ] Changelog is updated if needed (in case of notable or breaking changes)
[ ] The continuous integration build passes

Coverage remained the same at 86.753% when pulling c27187a1e84e4da98e5ceca07209fe483888500c on skletsun:ecr-3983-proofmap-separation-jni into ce2174ea920345a822191c3ba761cdee2c45f268 on exonum:master.

6810fc0dc762bcae55de14e83467cf26649514d8 seems to be the last revision before hashing mods. To review the diff against the base code:
git fetch skletsun ecr-3983-proofmap-separation-jni

git diff 6810fc0dc762bcae55de14e83467cf26649514d8:exonum-java-binding/core/rust/src/storage/proof_map_index.rs skletsun/ecr-3983-proofmap-separation-jni:exonum-java-binding/core/rust/src/storage/proof_map_index_next.rs

git diff 6810fc0dc762bcae55de14e83467cf26649514d8:exonum-java-binding/core/rust/src/storage/proof_map_index.rs skletsun/ecr-3983-proofmap-separation-jni:exonum-java-binding/core/rust/src/storage/raw_proof_map_index.rs

@vitvakatu has said once he wasn't happy with our native storage code of almost identical functions — double that :-)


How to evaluate on a headless machine?

Thank you for open-sourcing your evaluation code! I greatly appreciate it. However, please tell me how to evaluate the model on a headless machine and what the evaluation metric is, which I don't see in the run_bridgev2_eval.py.

Thanks for reaching out!
I am a bit confused about your question -- the model can run on a headless server no problem, the question is just what images you feed into the model. The model is usually evaluated by rolling out the predicted actions on a real robot system.


TODO_VIEW_TYPE leaves should not be detached on unload

Hi, I'm currently attempting to define some best practices for plugins with custom views. It's come to my attention that there are a few common anti-patterns that plugins are following when creating custom views.
Using your plugin as an example, you are detaching all the TodoListView leaves on unload. This behavior makes sense if the user is uninstalling the plugin, but when a user is instead updating the plugin, this has some undesirable behavior. The existing view will be removed from the workspace, then a new view will be created in the default position (ignoring the custom position defined by the user). Your plugin also sets that newly create leaf as active which could also be seen as undesirable.
I'm currently trying to introduce a new API for plugins to use that can standardize how plugins create their custom views, but until that becomes available, I'm proposing that plugins adopt the best practices that I outlined here in a new sample plugin: https://github.com/liamcain/obsidian-example-custom-view/blob/main/src/main.ts.
I'm also looking for feedback if you have any suggestions or concerns. Thanks!

The last update v2.2.13 triggered this once again.


Choice human readable

I have created a widget that have the ability convert django fields with choices option to human-readable names when export and vice versa when import.
To provide a correct tests functionality I have added a paperback field to Book model. This addition have ruined test resources_tests.test_get_export_headers, so I changed it.
Also I have made a minor fix in resources_tests.test_import_data_skip_unchanged - added an missing argument to function attempted_save, without this arg, when test fails the wrong error was shown.

Hi @zeerayne, can you make PR against django-import-export/django-import-export and not my fork :)

@bmihelac it was late yesterday, I not notice that it is a fork :)


In style.css file, add explanations to each line of code in .intro class as a comment line

Example:

Hi @SouravInsights I would like to work on this bug!

solved here
https://github.com/Emisha-GITA/Demo-Portfolio-Website/pull/4#issue-219695817

https://github.com/Emisha-GITA/Demo-Portfolio-Website/pull/4/commits/84d7ea3ac4bb0cc72203e936ca84d094e341a755

Is this issue still open ? . Can I work on this issue.?

Hey @SouravInsights I would like to work on this issue if it is still open


fix potentially bad merge from 1.11 to master

There was extra condition for lazy bailout in master. When merging servicing update into unreleased/future, I noticed that the condition was handled different than how I merged it in master.

@pleath I changed to use the condition you had in unreleased/future.


Skip failing db integration tests

this skips currently failing dynafunction integration tests ( to suppress database integration pipeline failures - temporarily)
resolve dynamic func eval issue in interpreted mode

Good to commit


Create a server

Create a server in NodeJs in our project to save User data and some other info.

i will love work on it

i will love work on it

Thank you @mayankmohak bro, I will assign you this issue as soon as you completed the other one.

can you please elaborate over the process.

Just create a folder named "sercer" in root and all the necessary files in server. Later we will add mongodb and will add all the user data and other infoa into it.

sorry @mayankmohak bro, I forgot to assign you this issue. Your time will be counted from now. You can let me know if you are having any problems with this issue.

Hey @mayankmohak bro, I am assigning you this issue now. You can start working on it. Do let me know if you having any problems fixing this issue. You are given 6 days to complete this.

Creating server in root project-zone folder will give error due to frontend node module. please mention the which root you were telling about.

Just create a folder named "sercer" in root and all the necessary files in server. Later we will add mongodb and will add all the user data and other infoa into it.

Hi @mayankmohak, can you please show us the error you are facing, any screenshot?

Hi @mayankmohak, can you please show us the error you are facing, any screenshot? I have tried to do this locally and there is no issue I found, look at it below,

yup bro, I told him how to do it.

thankyou @naveen8801 and @rockingrohit9639 have made the PR


Remove docker from flytekit

Tracking issue
https://github.com/flyteorg/flyte/issues/

Why are the changes needed?

What changes were proposed in this pull request?

How was this patch tested?

Setup process
pyflyte run --remote --image localhost:30000/flytekit:docker-0449 dict_keys.py workflow

from flytekit import task, workflow
import typing

@task
def create_dict() -> typing.Dict[int, float]:
    sample_dict = {1: 1.1, 2: 2.2, 3: 3.3}
    print(sample_dict.keys())
    return sample_dict

@task
def process_dict(input_dict: typing.Dict[int, float]):
    print(input_dict.keys())

@workflow
def workflow() -> None:
    dict_created = create_dict()
    process_dict(input_dict=dict_created)

Screenshots

Check all the applicable boxes

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

Related PRs

Docs link

I've also copied from docker.utils.build import PatternMatcher's PatternMatcher to flytekit/tools/ignore.py, then we can really remove docker module now!

It looks like the test has some error, will try to fix it tommorrow.


Generalize i18n to data

Currently we have this
<i18n yaml>
hello:
- 'Hej!'
- 'Hello!'
</i18n>

I propose to generalize this approach by replacing the i18n tag with the folllowing data tag:
<data yaml>
hello:
  en: Hello
  pl: Siema
</data>

We could then keep the translate tag and design it so that it expects the data in the shape as defined above, otherwise this could be used to simply define local data.

interesting, how would you know that data is for translations vs being local?

@emilos this could be the shape of data, e.g. the translate would look for the i18n top level key:
i18n:
  hello:
    en: Hello
    pl: Siema

I like the idea! The only question left is how to access the data from a scoped script:
<script scoped>
   console.log(scope.data) // maybe this way?
</script>

@emilos Interesting. And what would be wrong with using this instead of scope in this context ? I'm looking for familiar constructs/names, but maybe this would mess things too much ?

@zaiste there's probably nothing wrong with using this. It's a strong keyword thought so I didn't want to take it yet until I figure out the edge cases.
There's also one technical implication, it's also a little bit easier to manipulate a variable like scope than having to traverse through an abstract syntax tree and rename this to something else. Wanted to avoid this for now and experiment a bit first.
I'm still trying to figure out the best interface for accessing variables, here're some examples:
a) have a way to access local variables (e.g. like defined in data)
b) have a way to access global variables (e.g. the ones passed to the main template, usually things like  language, context, url etc.)
c) have a way to use built-in helpers in scoped scripts (e.g. translate)
d) live updates (later)

@zaiste implemented here https://github.com/buxlabs/boxwood/pull/601


Est. daily reward is incorrect

It should be around 1.8 - 2 TOMO

An API from tomoscan(get the total signature number) returns wrong data(double value). This cause the estimated value is wrong

Got it, thanks


You must never enable debug in production.

Mir ist aufgefallen, dass auf der Seite https://coronacircles.net/ offenbar DEBUG=True eingestellt ist. Das ist ein Sicherheitsproblem.

You’re certainly developing your project with DEBUG = True, since this enables handy features like full tracebacks in your browser.
For a production environment, though, this is a really bad idea, because it leaks lots of information about your project: excerpts of your source code, local variables, settings, libraries used, etc.

(https://docs.djangoproject.com/en/3.0/howto/deployment/checklist/)

Oh, I left it on after the email debugging session. It was late.. Thanks for the reminder!
Should be fixed now.


Issues with val_loss in Checkpoint Path During TensorFlow Model Training

I'm encountering a challenge while training a model in TensorFlow and would appreciate insights from the community.

Error Message: 'Failed to format this callback filepath: "..." Reason: 'val_loss'

I'm using a callback to save checkpoints during training. The checkpoint file path includes placeholders for epoch number ({epoch:02d}) and validation loss ({val_loss:.2f}). And the above-mentioned error was encountered.
checkpoint_dir = checkpoint_dir + "/checkpoint-{epoch:02d}-{val_loss:.2f}.tf"
Additional info:
COMPILE FUNCTION CODE:
#Model Compile and setup with checkpoint call back

def compileSetupModel(model, checkpoint_dir = "/content/drive/MyDrive/FashionBody/Regression/TrainingRun/Run4"):
  print("Contents of trainingRun checkpoints directory ")
  !ls $checkpoint_dir
  model.compile(
    optimizer=tf.keras.optimizers.SGD(learning_rate=0.0005, momentum=0.9),
    loss = tf.keras.losses.MeanAbsoluteError())

checkpoint_dir = checkpoint_dir + "/checkpoint-{epoch:02d}-{val_loss:.2f}.tf"
mc = tf.keras.callbacks.ModelCheckpoint(filepath=checkpoint_dir, save_best_only=True, verbose=1, save_freq='epoch')
 #callback for tensorboard
 tensorboard_callback = tf.keras.callbacks.TensorBoard(log_dir=log_dir, histogram_freq=1)
 return mc, tensorboard_callback
 mc, tensorboard_callback = compileSetupModel(model)

FIT FUNCTION CODE
epochs = 300
BATCH_SIZE = 4
train_size = trainImageTotalData
valid_size = validationImageTotalData

steps_per_epoch = (train_size // BATCH_SIZE)-1
validation_steps = (valid_size // BATCH_SIZE)-1
hist = model.fit(
    x=[trainNumericData, trainImagesSBData, trainImagesCBData, trainImagesWBData, trainImagesHBData,trainImagesLLData,trainImagesLBData, trainImagesUpLeftABData,trainImagesUpRightABData, trainImagesALeftLData, trainImagesARightLData],   #x=trainImages,    # images
    y=trainAllRegressionData,  #y=train["severity"],  # severity target regression value
    epochs=epochs,steps_per_epoch=steps_per_epoch,
    validation_data=([validationNumericData, validationImagesSBData, validationImagesCBData, validationImagesWBData, validationImagesHBData, validationImagesLLData,validationImagesLBData, validationImagesUpLeftABData, validationImagesUpRightABData, validationImagesALeftLData, validationImagesARightLData], validationAllRegressionData),
    validation_steps=validation_steps,
    callbacks=[mc, tensorboard_callback]).history   #callback for both checkpoints and tensorboard.

Hi, Looks like you are still using Keras 2, could you please migrate your code to Keras 3 and let us know the outcome.
https://keras.io/guides/migrating_to_keras_3/


[sontek] Port to python 3.4

This is an origin version of #231 that allows us to make some further changes before merging.

@sontek
For now, I've reverted most uses of get_bytes on this branch, I hope that's ok. As we discussed, the protocol methods were not going to have unicode handling, but on second thought it also seemed potentially messy to handle unicode on produce() et al: given that you cannot annotate the encoding of your payloads in the message format (and so upon consume() users would have to know whether to decode), it might be good to make that explicit to users: "what you're using here is just a binary transport".
That's not to say that unicode handling will not be in the cards ever. But sticking to py2 strs keeps this pullreq closer to a minimal/sufficient version of py3 support, and will leave us some time and optionality to discuss unicode handling in a new pullreq where we could think about the interface a bit more, if we still want it.
Thanks again for the massive job on this, and for working out all the moving parts of setup/testing. I almost fried my CPU with tox runs tonight, as a small taster of how much effort this branch has been :)

@yungchin Nice, that is looking pretty nice!


make it rootkit lol

Im thinking of a thing where it like binds with all the other exe in the victim's computer
that would be pretty cool

hard to do that with python, im learning some other languages as c rn and i will be making a cool ransomware

alr


Communicate with Redis through SSL/TLS

Hi,
First of all, thanks for open-sourcing conductor, it is a great tool!
I am trying to setup a conductor server that works with a Redis persistence model. My redis instance runs on a different server and can only be accessed through SSL/TLS encryption (to be honest, my knowledge of encryption using SSL and/or TLS is quite vague). I think it is the reason why conductor seems to be unable to communicate with my redis instance, as I read this in the conductor output (cf. the first [ERROR], followed by Unexpected end of stream):
Using config file: settings.properties
[INFO ] 2019-11-28 16:33:49,098 ModulesProvider - Starting conductor server using dynomite/redis cluster.
[WARN ] 2019-11-28 16:33:49,101 ModulesProvider - Starting locking module using Noop Lock.
[INFO ] 2019-11-28 16:33:49,103 ModulesProvider - External payload storage is not configured, provided: , supported values are: [S3]
java.lang.IllegalArgumentException: No enum constant com.netflix.conductor.bootstrap.ModulesProvider.ExternalPayloadStorageType.
	at java.lang.Enum.valueOf(Enum.java:238)
	at com.netflix.conductor.bootstrap.ModulesProvider$ExternalPayloadStorageType.valueOf(ModulesProvider.java:48)
	at com.netflix.conductor.bootstrap.ModulesProvider.selectModulesToLoad(ModulesProvider.java:151)
	at com.netflix.conductor.bootstrap.ModulesProvider.get(ModulesProvider.java:59)
	at com.netflix.conductor.bootstrap.Main.main(Main.java:50)
[INFO ] 2019-11-28 16:33:49,158 SystemTaskWorkerCoordinator - Adding the queue for system task: HTTP
[INFO ] 2019-11-28 16:33:49,266 HttpTask - HttpTask initialized...
[INFO ] 2019-11-28 16:33:49,268 SystemTaskWorkerCoordinator - Adding the queue for system task: KAFKA_PUBLISH
[INFO ] 2019-11-28 16:33:49,268 KafkaPublishTask - KafkaTask initialized...
[INFO ] 2019-11-28 16:33:49,268 SystemTaskWorkerCoordinator - Adding the queue for system task: JSON_JQ_TRANSFORM
[INFO ] 2019-11-28 16:33:49,871 ConfigurationInjectingListener - Initializing ConfigurationInjectingListener
[INFO ] 2019-11-28 16:33:50,040 DynoJedisClient - Starting connection pool for app conductor
[DEBUG] 2019-11-28 16:33:50,041 HostStatusTracker - New host up: ****
[INFO ] 2019-11-28 16:33:50,041 ConnectionPoolImpl - Getting Hosts from TokenMapSupplier
[INFO ] 2019-11-28 16:33:50,073 ConnectionPoolImpl - Adding host connection pool for host: Host [hostname=****, ipAddress=null, port=***, rack: us-east-1b, datacenter: us-east-1, status: Up, hashtag=null, password=masked]
[INFO ] 2019-11-28 16:33:50,074 HostConnectionPoolImpl - Priming connection pool for host:Host [hostname=****, ipAddress=null, port=***, rack: us-east-1b, datacenter: us-east-1, status: Up, hashtag=null, password=masked], with conns:10
[ERROR] 2019-11-28 16:33:50,167 HostConnectionPoolImpl - Failed to create connection
redis.clients.jedis.exceptions.JedisConnectionException: Unexpected end of stream.
	at redis.clients.jedis.util.RedisInputStream.ensureFill(RedisInputStream.java:202)
	at redis.clients.jedis.util.RedisInputStream.readByte(RedisInputStream.java:43)
	at redis.clients.jedis.Protocol.process(Protocol.java:154)
	at redis.clients.jedis.Protocol.read(Protocol.java:219)
	at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:309)
	at redis.clients.jedis.Connection.getStatusCodeReply(Connection.java:236)
	at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:103)
	at redis.clients.jedis.BinaryJedis.connect(BinaryJedis.java:1862)
	at com.netflix.dyno.jedis.JedisConnectionFactory$JedisConnection.open(JedisConnectionFactory.java:176)
	at com.netflix.dyno.connectionpool.impl.HostConnectionPoolImpl$ConnectionPoolActive.createConnection(HostConnectionPoolImpl.java:313)
	at com.netflix.dyno.connectionpool.impl.HostConnectionPoolImpl.createConnectionWithRetries(HostConnectionPoolImpl.java:221)
	at com.netflix.dyno.connectionpool.impl.HostConnectionPoolImpl.reconnect(HostConnectionPoolImpl.java:193)
	at com.netflix.dyno.connectionpool.impl.HostConnectionPoolImpl.primeConnections(HostConnectionPoolImpl.java:172)
	at com.netflix.dyno.connectionpool.impl.ConnectionPoolImpl.addHost(ConnectionPoolImpl.java:186)
	at com.netflix.dyno.connectionpool.impl.ConnectionPoolImpl$2.call(ConnectionPoolImpl.java:519)
	at com.netflix.dyno.connectionpool.impl.ConnectionPoolImpl$2.call(ConnectionPoolImpl.java:515)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

[...]

Note that, on the same machine as the one conductor runs on, I am able to communicate with my redis instance using python and redis-py client with SSL turned on (cf. https://github.com/andymccurdy/redis-py/blob/master/redis/client.py#L650). That comforts me in thinking that the reason why conductor is unable to communicate with redis is the absence of SSL/TLS encryption.
I seem to understand that I cannot simply "switch on" SSL in conductor by adding some configuration variable in the settings.properties file. However, the java redis client used in conductor seems to be SSL-capable (cf. https://github.com/Netflix/dyno/blob/master/dyno-jedis/src/main/java/com/netflix/dyno/jedis/DynoJedisClient.java#L4759), so I am figuring I could  modify the way conductor uses DynoJedisClient to use its SSL capabilities.
Do you think that this approach makes sense? If so, I could use some advice :)
Or is there something that I missed in the configuration that could explain my problem?
A sample of my settings.properties:
# memory : The data is stored in memory and lost when the server dies.  Useful for testing or demo
# redis : non-Dynomite based redis instance
# dynomite : Dynomite cluster.  Use this for HA configuration.
db=redis

# Dynomite Cluster details.
# format is host:port:rack separated by semicolon
workflow.dynomite.cluster.hosts=[host]:[port]:us-east-1b:[password]
#EC2_REGION=us-east-1
#EC2_AVAILABILITY_ZONE=us-east-1d

# Dynomite cluster name
#workflow.dynomite.cluster.name=dyno_cluster_name

# Namespace for the keys stored in Dynomite/Redis
workflow.namespace.prefix=conductor

# Namespace prefix for the dyno queues
workflow.namespace.queue.prefix=conductor_queues

# Non-quorum port used to connect to local redis.  Used by dyno-queues.
# When using redis directly, set this to the same port as redis server
# For Dynomite, this is 22122 by default or the local redis-server port used by Dynomite.
#queues.dynomite.threads=10
queues.dynomite.nonQuorum.port=[same as the one in workflow.dynomite.cluster.hosts]

# Elastic search stuffs:
[...]

There are quite a few commented things, because I want to know exactly which parameters are really necessary, which are not.
Thank you for your help!

@DemisB You're on the right track. Here's how Conductor initialized db modules from provided configuration: https://github.com/Netflix/conductor/blob/master/server/src/main/java/com/netflix/conductor/bootstrap/ModulesProvider.java#L64L82
Provided you are using db=redis, The DynomiteClusterModule plugs in DynomiteJedisProvider  to JedisCommands: https://github.com/Netflix/conductor/blob/master/server/src/main/java/com/netflix/conductor/server/DynomiteClusterModule.java#L35/
DynomiteJedisProvider doesn't use .withSSLSocketFactory(...) in the DynoJedisClient builder: https://github.com/Netflix/conductor/blob/master/redis-persistence/src/main/java/com/netflix/conductor/jedis/DynomiteJedisProvider.java#L54.
Adding this through configuration should enable you to provide required SSL configuration. Please send us a PR if that works for you.

Thank you @kishorebanala! Your directions helped me well :)
I managed to get something that works, cf. https://github.com/Netflix/conductor/pull/1441


[SPARK-41745][SPARK-41789] Make createDataFrame support list of Rows

What changes were proposed in this pull request?
Make createDataFrame support list of Rows
Why are the changes needed?
to be consistent with PySpark
Does this PR introduce any user-facing change?
yes
How was this patch tested?
added UT

Merged to master.


No tooltip shows for the 'Copy URL' button on file shares view

Storage Explorer Version: 1.8.0_20190423.4
Platform/OS: Linux Ubuntu/macOS High Sierra/Windows 10
Architecture: ia32/x64
Commit: 2b9f35e1
Regression From: Not a regression
Steps to reproduce:

Expand one account -> File Shares.
Open one file share -> Focus on the 'Copy URL' on the toolbar.
Check whether there is tooltip or not.

Expect Experience:
The 'Copy URL' shows the tooltip.
Actual Experience:
No tooltip shows for the 'Copy URL' button.
More info:
This issue doesn't reproduce on blob container view.

A fix has been merged.


Why are links related to deepcase located in deeplinks migrations?

Why are links related to deepcase located in deeplinks migrations?
Should deepcase links installed separately when using deepcase?
I have came to this question cause of this issue: https://github.com/deep-foundation/documentation/issues/16

I am not actually sure in this. Maybe they are located in deepcase package which is preinstalled just for easy-to-use

@FreePhoenix888 this link may work not only in Deep Case, yet at the moment, yes, it is in core and used only by Deep.Case, I think we can move this link to deep-case package.


[BUG] whisper-turbo.com throws errors

I am testing https://whisper-turbo.com/ with the most recent chrome on mac M2 and transcirptions fails with base and tiny models on tos.mp3.zip
Uncaught (in promise) {__wbg_ptr: 58389056}

I am testing https://whisper-turbo.com/ with the most recent chrome on mac M2 and transcirptions fails with base and tiny models on tos.mp3.zip
Uncaught (in promise) {__wbg_ptr: 58389056}

Hi Jozef,
Seems like a strange unsupported encoding of the MP3.
Encoding it using ffmpeg to WAV with the following:
ffmpeg -i tos.mp3 -acodec pcm_s16le -ar 16000 -ac 1 tos.wav
Works fine on the site.
However this does highlight the poor error handling and subpar audio transcoding. Will review it before 0.11 goes out.
Thanks for raising,
Chris

Thanks for the quick response, I have created a new wav using ffmpeg ... -acodec pcm_s16le -ar 16000 -ac 1 tos.wav
tos.wav.zip
Now using base model, it hangs mid-way with a different error:
462.98ecf0d3854ca5c4.js:2 panicked at crates/whisper-core/src/logit_mutators/timestamp_rules.rs:87:62:

Thanks for the quick response, I have created a new wav using ffmpeg ... -acodec pcm_s16le -ar 16000 -ac 1 tos.wav
tos.wav.zip
Now using base model, it hangs mid-way with a different error:
462.98ecf0d3854ca5c4.js:2 panicked at crates/whisper-core/src/logit_mutators/timestamp_rules.rs:87:62:

99% sure this is the same error raised here.
This has already been fixed and will be released in 0.11.0!
Apologies for the inconvenience,
Chris

Thank you

@jozefchutka Can confirm this is fixed in 0.11.0. Releasing in the next few days.

@jozefchutka Please test on the latest version.

seems fixed! thanks

.wav seems fixed, thanks... The strange unsupported encoding of the MP3 still broken but its not a problem anymore as I can work with wav. keep closed

Awesome! I want to redesign some of the audio transcoding so may be fixed in the future!

Could you please better clarify in doc what is the optimal input for raw_audio. I see doc mentioning Uint8Array of PCM (.wav). Here, in thread, I can see pcm_s16le / 16000 / mono. If this is the sufficient setup (no transcription precision improvements with higher sampling or channels) for PCM please mention in doc. Also I wonder if .pcm could be used instead of .wav
In comparison transformers.js can consume pcm_f32le/16000/mono .pcm file

Could you please better clarify in doc what is the optimal input for raw_audio. I see doc mentioning Uint8Array of PCM (.wav). Here, in thread, I can see pcm_s16le / 16000 / mono. If this is the sufficient setup (no transcription precision improvements with higher sampling or channels) for PCM please mention in doc. Also I wonder if .pcm could be used instead of .wav
In comparison transformers.js consumes pcm_f32le/16000/mono .pcm file

pcm_s16le / 16000 / mono is 100% the "one true format". This comes directly from OAI.
When you use raw_audio I simply bypass any transcoding, whatever bytes you pass in will be used in the model.
Will clarify better in the docs!

pcm_s16le / 16000 / mono + raw_audio bypass any transcoding very important information. thank you


fix: close connection on aborted response

Fixes: https://github.com/mcollina/undici/issues/15

Changed name to maxAbortedPayload


Samsung.play av station <IP_ADDRESS> 2ec73e50 ce84 4345 8c2f 7fb49855d65d

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/113300&drop=dogfoodAlpha

[Policy] Needs-Author-Feedback

Hardware dependency

Manifest Error: Schema Error. [Schema validation failed.
Error context: [Installers][0][InstallerSha256]
Description: Value type not permitted by 'type' constraint.
Error context: [Installers][0]
Description: Failed to validate against schema associated with property name 'InstallerSha256'.
Error context: [Installers] Description: Failed to validate item #0 in array.
Error context:  Description: Failed to validate against schema associated with property name 'Installers'. ] File: Sa***ung.PlayAVStation.installer.yaml
Manifest Error: Required field missing. [InstallerSha256]

Hardware dependency

[Policy] Hardware

@wingetbot run

[Policy] Blocking-Issue

Supporting custom hardware in validation is "Not Planned".

https://github.com/microsoft/winget-pkgs/issues/199504


Improve logging to show its coming from TSC

Description
Added the prefix "Buildkite Test Collector" before all error exit messages, and before retries to test failures. Have set retries to always be expanded because we don't support any CI other than Buildkite atm  🤷♀
Context
https://buildkite-corp.slack.com/archives/C05NAGJREJU/p1719808219253619

LGTM!


Support stopped for double-click definition in .xbindkeysrc

Add-on version: 1.21
Firefox 67.0.3
Linux Mint Cinnamon 19
In .xbindkeysrc I defined the following:
Enable 'Forward'  button as 'Double-click'
"/usr/bin/xte 'mouseclick 1' 'mouseclick 1' &"
b:9 + Release
This defines the "Forward" mouse button as Double-Click.
Today I received an update of Firefox from 67.0.2 to 67.0.3
After this update, this button does not function in Livemarks to open a news item.
Previously this worked as expected (i.e. the "Forward" button opened the news item).
I am not sure whether this is caused by Livemarks or by Firefox itself.

Sorry, my error.  I messed up my definitions.  All OK.


Feedback from Tony

Wow, this is a really nice dashboard and very responsive and user friendly. I only have a couple of points:

When my filter does not match any of the available data, the map does not look okay, it would be awesome to but a message instead
A bit of help info on the landing page will help guide the user on what's possible from this dashboard (minor point, considering how user friendly the app is)


Improve logging messages and clean up code after dispatch refactoring (#1809)

This is the continuation of PR #1809 to address the TODOs and comments that were left on this other PR. PR #1809 was merged in an imperfect (but working) state in order to release another beta of Locust and get feedback from the community as soon as possible.

let me know when you feel ready to merge. with this + the change in heartbeat messages I think we have enough for another (last?) beta build.

Yes, I'm adding the test for the len(workers) == 0 and should push something soon.

I think this is ready


Add dynamic open-source license information

This branch adds dynamic open-source license information. It is accessible via Settings > Open-Source Licenses. The list is generated upon compile time by a grade plugin as a JSON file, which is then used to render the list in the application.
https://user-images.githubusercontent.com/34548959/143969911-3a10a991-6ea2-4cf5-a3cc-0bfbbba35c5c.mp4

Good overall code organization and documentation! I noticed that in build.gradle you changed "kotlinCompilerVersion" from 1.5.31 to 1.5.21, how come?

I'm not sure, I'll remedy that


Add Storage Manager

Adds storage manager
Supersedes #41

We should decide if we want to take the signal approach or callback approach for async functions to be consistent across the whole project.

I think signals would be the most flexible. You get yields, connections, and more.

We should decide if we want to take the signal approach or callback approach for async functions to be consistent across the whole project.

I think signals would be the most flexible. You get yields, connections, and more.

I'll squash all the commits once each and every issue is fixed.

I'll squash all the commits once each and every issue is fixed.

We should decide if we want to take the signal approach or callback approach for async functions to be consistent across the whole project.

I think signals would be the most flexible. You get yields, connections, and more.

That's why, I've chosen Signals approach.

We should decide if we want to take the signal approach or callback approach for async functions to be consistent across the whole project.

I think signals would be the most flexible. You get yields, connections, and more.

That's why, I've chosen Signals approach.

I will squash all commits into one now.

I will squash all commits into one now.


getTranslate not working well with PureComponent

Here is my code:
class MyComponent extend PureComponent {
    ...
}

function mapStateToProps(state) {
  return {
    _: getTranslate(state.locale),
  };
}

export default connect(mapStateToProps)(MyComponent));

MyComponent will re-render every time when getTranslate was called.

I'm not too sure what the outcome would be of wrapping a PureComponent with connect, as connect itself is a PureComponent. Essentially these two things are doing the same thing, which in itself may cause some unanticipated results.
I would start by just extending Component, and let connect do it's thing. Far as re-rendering, the getTranslate selector uses reselect, but there are still state changes that will trigger re-renders. e.g. (language change, adding new translation data, updating options).
If you still require help with this issue I will need some additional info:

library version you're using
a working example e.g. (on codesandbox)
a detailed explanation of the unnecessary re-renders you're seeing

Closing due to inactivity.


Feature request

Would you consider adding config options to the CPU and Motherboard? It would also be useful to have the socket type property on the CPU.

What do you mean by "config options"?

Like what you did in your test.js. I noticed it was already set up under your getMemory function.

Here's an example
let memorySortOptions = {   "size": ["16GB (2x8GB)"],   "speed": ["DDR4-3733"] };

I have added socket sort options for the getCPUs() and getMotherboards()

Thank you very much!! I really appreciate this and I'll keep you updated on
my project if you like.
On Thu, Jul 27, 2017 at 9:15 PM, Rishi Masand<EMAIL_ADDRESS>wrote:

Closed #1 https://github.com/darthbatman/pcpartpicker/issues/1.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/darthbatman/pcpartpicker/issues/1#event-1182823931,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFl1nKN1nHk1524vKZQ94tShdb_mByznks5sSURQgaJpZM4Oli9e
.


Query API: add authentication

Feature Request
The Query-API needs authentication. It is assumed that the requirements in terms of security and reachability are identical to those of EDC's management API.
In other words the Query-API is just an extension to EDC's management API, so its also possible to simply put it under the management-api context. Then we'd have the same authentication (Delegated + TokenBased), the same deployment (port+path) and the same ingress infrastructure (validators, transformers, json-ld interceptors). This comes in especially handy if the FC is embedded in an EDC runtime.
Which Areas Would Be Affected?
federated-catalog-api
Why Is the Feature Desired?
security, consistency
Solution Proposal
If possible, provide a (brief!) solution proposal.

Securing the catalog context can now be achieved via configuration using the extension introduced here
For example with token based authentication:
web.http.catalog.path=/api/catalog
web.http.catalog.port=8081
web.http.catalog.auth.type=tokenbased
web.http.catalog.auth.key=apiKey


[iOS] Add connection parameters functionality

Hey
I need to set my own connection interval, but it seems there is no such option. This is from the documentation, where I assume the PPCP is set:
"ConnectionOptions
Connection specific options to be passed before connection happen. [Not used]"
How can I get around this issue?

I have never seen iOS or Android API which would allow you to set PPCP of BLE connection. Can you send me a link to documentation which describes that?

Hmm,
Long story short I need to update a characteristic at 100hz, or as close as possible. Basically if I don't set any connection parameters the bluetooth crashes. There is an app for bluetooth inspection called nRF Connect and in that app it is possible to set PPCP. See the attached picture.

If it is set on high my app runs without crashing and sending all the data. I assume thats PPCP that is set there or am I missunderstanding something?

On Android the function for this functionality is named BluetoothGatt.requestConnectionPriority(int). It is available on the level of RxAndroidBle underneath starting from API 21.
I am not sure if iOS does allow to change these settings which may be a problem to implement a function on the react-native-ble-plx level that would work the same on both platforms. Moreover iOS does not allow for Connection Intervals shorter than 30 ms if I am not mistaken.
An additional problem on Android is a bit of inconsistency of what exact parameters you would get by requesting a specific priority on different OS versions.
The best idea would be to alter the firmware of your peripheral to manage the connection parameters as from the peripheral side one would get most control over the procedure.
Best Regards

@dariuszseweryn It appears this might be the API on iOS to change the connection interval:
https://developer.apple.com/documentation/corebluetooth/cbperipheralmanager/1393277-setdesiredconnectionlatency
If so, how would one go about implementing this in the library?

This actually looks like it could be doable now. I will mark this issue as a feature request.

@dariuszseweryn It appears this might be the API on iOS to change the connection interval:
https://developer.apple.com/documentation/corebluetooth/cbperipheralmanager/1393277-setdesiredconnectionlatency

Note that this method says: When you call this method ... connection latency changes aren’t guaranteed.

I'm excited to inform you that we've released a new version of react-native-ble-plx. Many of the concerns and bugs have been addressed in this update.
If you encounter any issues or have further suggestions, please don't hesitate to open a new issue.

@abursztynowska is there any way to change the connection interval in the new version of react-native-ble-plx?


Protected repository resource can be granted access by user with read access?

Is this this statement accurate? Seems to not be the case in practice:

Protecting repository resources
Repositories can optionally be protected. At the organization or project level, you may choose to limit the scope of the Azure Pipelines access token to mentioned repositories. When you do this, Azure Pipelines will add two more protections:
The access token given to the agent for running jobs will only have access to repositories explicitly mentioned in the resources section of the pipeline.
Repositories added to the pipeline will have to be authorized by someone with read access to the repository the first time that pipeline uses the repository.

I have a repository that is being reference cross-project. When this occurs users are prompted to get approval to the resource. The users have read access to our repo, but they are not able to approve. This is particularly disruptive because our repo contains standards that are meant for all pipelines across the org to consume. As a result I'm solely responsible for approving all pipelines the first time they attempt to reference our repository.

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

ID: d40fccec-c358-843c-10d5-7ea367f6e406
Version Independent ID: 45390d5d-c1d7-c90e-ef3f-2768d406ba7b
Content: Pipeline resource protection - Azure Pipelines
Content Source: docs/pipelines/security/resources.md
Service: azure-devops-pipelines
Sub-service: azure-devops-pipelines-security
GitHub Login: @juliakm
Microsoft Alias: jukullam

@jdholbrook81 -- Justin, thank you for your thoughtful feedback.  Please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

@juliakm -- Julia, please look into this issue.

FYI - Opened a support request via azure portal. TrackingID#2304190010000440. Support was able to duplicate the issue and engaged the engineering group. That was the last update I received.

@jdholbrook81 I think that this was addressed in this PR - https://github.com/MicrosoftDocs/azure-devops-docs/pull/13328. My understanding is that the right permission is contribute.
I'm closing the issue but please reopen if I have associated the correct issue and problem.


Implication of globals in ortools

x,y = intvar(0,3,shape=2)
p = boolvar()

s1 = SolverLookup.lookup("ortools")()

s1 += p.implies(max([x,y]) != 1)
s1.solve()
>> True

s2 = SolverLookup.lookup("ortools")()

s2 += p.implies(max([x,y]) == 1)
s2.solve()
>>  Exception: ('OR-Tools says: model invalid:', 'Enforcement literal not supported in constraint: enforcement_literal: 0 int_max { target: 4 vars: 1 vars: 2 vars: 3 }')

While posting the constraint in the first case, it gets split up in the following:
 [max([x,y]) == IV0, p -> IV0 != 1]
In the second case, this does not happen as MaxEquality is natively supported by OR-tools.
So to answer this todo: yes :)
https://github.com/CPMpy/cpmpy/blob/b821f441f9b38613ed4221d43b59a9344837f5dc/cpmpy/solvers/ortools.py#L355

Ok, so one way to solve this is to always replace the global constraint with a new integer/boolean variable on the rhs of the implication.
Question remains: do we want a new transformation for this or can this simply be done in _post_constraint? Imo it would be better to put it in a new transformation, together with this code snipped that is now present in both ortools and gurobi:
https://github.com/CPMpy/cpmpy/blob/f85c8e64f0d7397887ff11d6529053d7202de620/cpmpy/solvers/ortools.py#L378-L385
@tias what do you think?

OK, so this includes quite a number of things.
Cleanest would probably be a new generic transformation, (not in flatten itself?), that rewrites reified constraints as appropriate, e.g.:
Case 1, Operator == BV with Operator.bool() = true
assume Boolean Operators 'and' and 'or' and '->' are supported by solver...
(-> could be rewriten to or, should be in separate transf? can discuss in Github)
Case 2, Comparison(OP, lhs, rhs) == BV
assume supported by solver if lhs and rhs are const/var
have list of supported lhs's? such as sum and wsum...
in any other case (e.g. any NumExpr lhs), decompose to [aux = get_or_make_var(lhs), Comparison(OP, aux, rhs) == BV]
warning, this 'get_or_make_var' may only be valid for total expressions (that always have a valid result)
e.g. what in case of a division? the BV should also be 'false' in case the constraint fails (div by 0)...
Case 3, Global == BV with Global.bool() = true
rewrite as flatten(Global.decompose() == BV)
XXX will this recursively flatten? can we do this transf before flatten so other transformations also applied?
Note that the 'function globals only with equality' mentioned one comment higher is also in need of a separate transformation, but it is not this one. (it is also less urgent, as it is correct in the solvers, would just be cleaner as transf).

Yes, I think it should indeed become a new transformation and not be in the flatten transformation. This would require to reformat the flat normal form definition.
We can make a non-default argument to the transformation which contains a list of operator names natively supported by the solver. If we initialize it to [sum', 'wsum'] I think we should be covered for the most part.

if we keep it out of flatten, then we don't need to redefine the FNF?
Yes on the supported reifications.
Here is my refined impression, looks increasingly more doable:

There are three types of reification (BV=BoolVar, BE=BoolExpr):
- BV -> BE      single implication, from var to expression
- BV <- BE      single implication, from expression to var
- BE == BV      full reification / double implication (e.g. BV <-> BE)
Case 1, BE is Operator (and, or, ->)
assume supported, return as is
could actually rewrite into list of clauses like to_cnf() does... not here (initially)
Case 2, BE is a GlobalConstraint
DEC = BE.decompose()
return DEC == BV or DEC -> BV or BV -> DEC // copy orig cons, store index of BE, overwrite in copy?
Case 3, BE is Comparison(OP, LHS, RHS)
have list of supported lhs's? such as sum and wsum...
at the very least, (iv1 == iv2) == bv has to be supported (or equivalently, sum: (iv1 - iv2 == 0) == bv)
all other cases:
(AUX,c) = get_or_make_var(LHS)
return c+[Comp(OP,AUX,RHS) == BV] or +[Comp(OP,AUX,RHS) -> BV] or +[Comp(OP,AUX,RHS) <- BV] // copy, index of BE, overwrith lhs arg
XXX is this before or after flatten? looks like after... so we must flatten before returning in case2/3?

Yes, indeed after flatten. Even after only_bv_implies.
Decomposition of cases looks fine, I think we should have covered most of it this way


Appears to crash on world load in 1.18.0.rc-pre7

Just updated to pre 7 and upon loading into a world, the game CTD's
client-crash.txt

I uploaded a work in progress version that should work with 1.18.0-pre7 in #23. Feel free to try it.

Should work with version 4.2.0 and game version 1.8.0 upwards, if not please open another ticket


Segfault on absurdly large shuffle buffer for make_csv_dataset

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Arch linux kernel 5.8.7 (primary), Ubuntu 18.04 (container)
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): (git) v2.3.0-rc2-23-gb36436b087 (tf version) 2.3.0
Python version: 3.8.5
CUDA/cuDNN version: n/a
GPU model and memory: N/A -- run on a CPU

Describe the current behavior
Under certain (admittedly abnormal) shuffle buffer sizes, attempting to use the returned dataset fails with a segfault.
Standalone code to reproduce the issue
With a CSV with ~300 pieces of data per entry, the following snippet causes a segfault:
# Given:
#   ABSURDLY_LARGE_NUMBER = <around 2×10^17>
#   YOUR_CSV_PATH = <somewhere you put your csv file>
#   LABEL_COLUMN = <label column from the csv>
#   INPUT_COLUMNS = <list of columns from the csv, len() around 300>

import tensorflow as tf

# Helper function to get a dataset
def get_dataset(file_path, **kwargs):
    return tf.data.experimental.make_csv_dataset(
        file_path,
        batch_size=1,
        num_epochs=1,
        label_name=LABEL_COLUMN,
        select_columns=[LABEL_COLUMN] + INPUT_COLUMNS, # Around 300 entries
        header=True,
        shuffle=True,
        shuffle_buffer_size=ABSURDLY_LARGE_NUMBER, # <- SOURCE OF ERROR
        **kwargs)

# Used later, with some model constructed with the keras `Sequential` API

model.evaluate(get_dataset(YOUR_CSV_PATH))

Full standalone example
There might be (justified) responses like:

Well sure - a segfault should be expected if you're going to be doing silly things like this!

And that's perhaps fair, but bugs are often only dumb in hindsight, and this was a result of rapid modification of a script over time - pieces get left in that you might not expect.
Possible cause
[disclaimer] This is purely speculation; I'm basing this on the bits of information I found after
Because the maximum value of a 64-bit unsigned integer is around 2×10^19, and the requested buffer size was around 2×10^17, the size of an individual piece of data (at around 300 inputs) would have been enough to trigger overflow in the allocation size where it might not have been caught initially.
The segfault may have also been a result of the size of the requested allocation for the shuffle buffer.
When running inside GDB, an internal error was generated, reading:
../../gdb/utils.c:684: internal-error: virtual memory exhausted: can't allocate<PHONE_NUMBER>261440008 bytes.
A problem internal to GDB has been detected, further debugging may prove unreliable

While an internal bug in GDB is a completely separate topic, the indication of the requested allocation size may be helpful here.
Possible source
(with the extensive help of a friend) I managed to track a possible source for a bad allocation down to these two lines, where an invalid allocation might be attempted. I believe these could be sources of the segfault (though there may be more)

@sharnoff
Looks like code is incomplete.Please, share colab link or simple standalone code to reproduce the issue in our environment.It helps us in localizing the issue faster.Thanks!

Thanks for the response - I've added the link to the issue

@sharnoff
I tried reproducing the in colab with TF version 2.3.0 and i see session is getting crashed. Please, find the gist here. Thanks!

This is "working as intended". tf.data does not guard against user choosing absurdly large values that run the underlying machine out of memory.
This is no different than say in C++ trying to create a vector that is absurdly large.

@jsimsa While I appreciate that this behavior might be expected in C++ (more at the end), Python does have protection against this. For example, below is the output I get in the Python interpreter with a similar type of error:
>>> x = [None] * (1000**4)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
MemoryError

I understand that, in practice, this type of error only occurs through the user being dumb. But I don't belive that segfaults should be expected behavior for python code -- they make code particularly difficult to debug. Crucially, the majority of Tensorflow users are not fluent in C++ or other systems languages.
Finally, on the topic of this being expected behavior, it's worth noting that the C++ standard library also has protection against bad allocations -- a feature that is intentionally absent in abseil's implementation of make_unique. See https://en.cppreference.com/w/cpp/memory/unique_ptr/make_unique:

Exceptions
May throw std::bad_alloc or any exception thrown by the constructor of T. If an exception is thrown, this function has no effect.