Toggling GodMode doesn't keep input focus consistency

Description: Toggling GodMode doesn't keep input focus consistency. I often will edit things in subprompts because I want to use a certain LLM for a certain task without triggering all of them (i.e. I will use one LLM for writing and another for code, depending on which one performs better in each task). When writing these LLM-specific prompts, I often quickly tab out to check or copy something in my code editor or the web and (because my input focus get changed on me) always accidentally paste into the superprompt which completely demolishes the prompt I have been crafting in the subprompt box. Additionally, because there is no undo history in the subprompt boxes, I am forced to rewrite the prompt all over again from memory.
Steps to Reproduce:

Launch GodMode
Type into a sub-prompt (i.e. chatGPT)
Toggle with universal shortcut (hide)
Toggle with universal shortcut (show)

Expected behavior: Will put your cursor into the last used input box before toggle.
Actual behavior: Focus is always returned to the superprompt input.
Environment: macOS 13.4. GodMode (1.0.0-beta.0)

yikes sorry about that. i hear you, i dont do much in subprompts but i see how this could be annoying. we actually ADD code to make this prompt behavior happen because some people like it,
https://github.com/smol-ai/GodMode/blob/09b4767fd8473ef43d9b288d972042534f775c90/src/main/main.ts#L369
but i could see taking an option to turn this behavior off. theres a bigger longer term solve where the "quick llm" usecase is addressed by @seanoliver's "raycast app UX"  we have talked about internally but for now we should just take an option to disable superprompt focusing.


add spec text for a String.prototype.isWellFormed

@ljharb Sure when we integrate at stage 4, that's probably something we would consider.


Finding this error in run time !

Hi, when i am running arbitrage-finder.py, i am finding this error in run time. Please solve this error.
Traceback (most recent call last):
File "C:\Users\ASUS\Downloads\arbitrage-finder-main\arbitrage-finder.py", line 33, in
for filename in os.listdir('odds'):
^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'odds'

Hi @chiradeep7, the script expects a folder named 'odds' in the project directory.
the commit 87fac7f solved this issue with a .gitkeep please fetch and pull the latest changes


Micro-ros-agent does not seem to compile with fmt v9

On Ubuntu 22.04 LTS clean install
Repo clone in a ros2 workspace. Building through colcon build.
The compilation fails, lots of errors related to fmt and inability to format. It seems that something is not backward compatible with fmt. If I force the fmt version 8, it compiles. Unfortunately, the v8 is no available in apt packages, requiring a specific install just for micro ros agent.
EDIT: Ubuntu 22.04 is still in fmt v8 but it is fmt 8.32 which already fails compiling. v8.1.0 works.

Not able to reproduce on a clean ROS 2 Humble Ubuntu 22.04 docker: https://asciinema.org/a/ScEwg9hddtPFHyc3Pb9FtAL4S
Could you provide more details?

Ok, sorry, I found out, I did it on two different machines but I had the installation of a custom library messing with fmt, it was intalling the fmt v9 version with which the micro-ros-agent doesn't compile. So not micro-ros-agent issue. Sorry for that.

You can force the Agent to use the installed version of the spdlog and fmt, check this comment: https://github.com/micro-ROS/micro_ros_setup/issues/455#issuecomment-1042635375

The option -DUAGENT_USE_SYSTEM_LOGGER=ON didn't work for me, but maybe I was not using it properly, I got lost at a certain point ^^. Anyway, I found two alternative solutions: a) switch to the snap version. b) Compile the agent before installing my custom library. :)


Changed Nix installer to DeterminateSystems to avoid enabling flakes

Fixes 4777

@dpc I have made changes made as u suggested and I had to open up a new PR because I accidentally deleted the fork in which the original PR was opened. Please have a look and confirm. The above command works perfectky and so nix develop works perfectly as well.


Restrict Contributor's PR after crossing 200+ points

Pull Request
Description
I have added the github workflow to Restrict a contributor's PR after crossing 200+ points
ADMIN LEVEL WORK REQUIRED
Please add level tag on this PR
Closes #1522
Type of change

[x] Documentation enhancement or fixes

Checklist:

[x] I read carefully CONTRIBUTING.md
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation

Additional
ADMIN LEVEL WORK REQUIRED
Steps required from your side -

Create a GitHub Personal Access Token

Go to your GitHub Developer settings
Click on Generate new token
Select the scopes that include repo, workflow, and admin:repo_hook
Generate the token and copy it. You will need it in step 2

Add the Personal Access Token to GitHub Secrets

Go to your repository on GitHub
Click on Settings
In the left sidebar, click on Secrets and variables > Actions
Click on New repository secret
Name the secret PERSONAL_ACCESS_TOKEN and paste the token you generated in step 1
Click Add secret

@jfmartinz Please review


investigate agency labeling failures

e.g. Deerfield Library, East Dundee

possibly related to #36

Confirmed check_labels() is working so this is likely related to issue #36.
from msg.label import check_labels
check_labels(service.users().messages().get(userId='me',id='162cf7524881ac33').execute()) # Deerfield Library
#output :
{'agency': 'DeerfieldLibraryDistrict',
 'msg': {u'historyId': u'304188',
...
`
Closing, pending fix to related issue.


http-conduit-2.3.0 out of bounds

http-conduit-2.3.0 (Michael Snoyman<EMAIL_ADDRESS>@snoyberg) is out of bounds for:

[ ] amazonka-1.5.0 (==2.2.*). Brendan Hay<EMAIL_ADDRESS>@brendanhay. @brendanhay. Used by: library
[x] aws-0.18 (>=2.1 && < 2.3). No maintainer. @aristidb. Used by: library
[ ] docker-<IP_ADDRESS> (< 2.3). Deni Bertovic<EMAIL_ADDRESS>@denibertovic, James Parker<EMAIL_ADDRESS>@denibertovic. Used by: library
[ ] hakyll-<IP_ADDRESS> (==2.2.*). Jasper Van der Jeugt @jaspervdj. @jaspervdj. Used by: library
[x] hoauth2-1.5.1 (>=2.1 && < 2.3). Haisheng Wu<EMAIL_ADDRESS>@freizl. @freizl. Used by: library, executable
[ ] rest-client-<IP_ADDRESS> (>=2.1 && < 2.3). Silk<EMAIL_ADDRESS>@bergmark @hesselink. Used by: library

Last updated: February 9, 2018

I've updated the description above with a new list. It seems like some new packages have upper bounds now.
http-conduit-2.3.0 (Michael Snoyman<EMAIL_ADDRESS>@snoyberg) is out of bounds for:

[ ] amazonka-1.5.0 (==2.2.*). Brendan Hay<EMAIL_ADDRESS>@brendanhay. @brendanhay. Used by: library
[ ] aws-0.18 (>=2.1 && < 2.3). No maintainer. @aristidb. Used by: library
[ ] docker-<IP_ADDRESS> (< 2.3). Deni Bertovic<EMAIL_ADDRESS>@denibertovic, James Parker<EMAIL_ADDRESS>@denibertovic. Used by: library
[ ] hakyll-<IP_ADDRESS> (==2.2.*). Jasper Van der Jeugt @jaspervdj. @jaspervdj. Used by: library
[ ] hoauth2-1.5.1 (>=2.1 && < 2.3). Haisheng Wu<EMAIL_ADDRESS>@freizl. @freizl. Used by: library, executable
[ ] rest-client-<IP_ADDRESS> (>=2.1 && < 2.3). Silk<EMAIL_ADDRESS>@bergmark @hesselink. Used by: library

@snoyberg I think hoauth2-1.6.2 already bump version

The removal of deprecated functions and the type change of http will probably break some of the examples in aws, but I'll just bump the boundary anyways.

I've been trying to update docker to http-conduit-2.3.0 while maintaining backwards compatibility. Unfortunately, http-conduit-2.3.0 requires I include unliftio-core as a dependency for docker. I've attempted to only depend on unliftio-core when http-conduit >= 2.3.0 using flag backtracking, but this does not seem to be working. I still get a constraint error when compiling with stack build. Does anyone have any ideas?
http-conduit-2.3.0 from stack configuration does not match <2.3.0 (latest matching version is 2.2.4)

Also, could you add my github username to build-constraints.yaml so that I get notifications?

Also, could you add my github username to build-constraints.yaml so that I get notifications?

Added you in 6d7f9eef but please make a PR with name and email to replace the TODOs.

Sorry, I meant for docker. I'll make a pull request.

Fixed in docker-<IP_ADDRESS>. Thanks @jprider63

Since amazonka-* has not been upgraded to this version, we will stick with http-conduit 2.2.* for LTS 11.
Closing this issue since there is nothing further to be done in particular for this issue. Most constraints, including this one, will be dropped when we move the nightlies over to ghc 8.4.

Actually, I've changed course.
The following packages were removed from the nightly build plan and will not be included in the initial release of LTS 11.
-- http-conduit 2.3

amazonka -- Brendan Hay<EMAIL_ADDRESS>@brendanhay
nakadi-client -- Moritz Schulte<EMAIL_ADDRESS>@mtesseract

-- http-conduit 2.3 via amazonka

stackage-curator -- Michael Snoyman<EMAIL_ADDRESS>@snoyberg
haxl-amazonka -- Timo von Holtz<EMAIL_ADDRESS>@tvh
eventful-dynamodb -- David Reaver<EMAIL_ADDRESS>@jdreaver
ekg-cloudwatch -- Matt Parsons<EMAIL_ADDRESS>@parsonsmatt

To get back into nightly, open a PR on this repo as usual. To get into LTS 11, open an issue on https://github.com/fpco/lts-haskell/issues.


Fix minor spelling error in Gameplay Settings.

Something I noticed when I added additional timing windows to my own mod build. Figured I might aswell PR a quick fix.

Spelling mistake?!?!?!??!?!?
ENGINE RUINED!*


Update rules_go to 0.18.5

This version contains forward fixes for Bazel 0.27.
For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Description: Update rules_go version
Risk Level: Low
Testing: Presubmits
Signed-off-by: Marcel Hlopko<EMAIL_ADDRESS>

CC @htuch


RenameStream

From https://github.com/bartvm/blocks/issues/267
Something that @arasmus ran into: When combining multiple data streams, the names of the sources might clash. I guess a general solution for this would be to create a RenameStream which just renames the sources and passes on the data directly. That way you can put than into the yet-to-be-written data stream-chainer.

@Thrandis this is your ticket for this week.


Bluesky: parse user URLs out of profile bio

I just tried setting up the bsky integration on brid.gy, and the webmention to https://brid.gy/publish/bluesky generates this error:

Could not find Bluesky account for beesbuzz.biz. Check that your Bluesky profile has beesbuzz.biz in its web site or link field, then try signing up again.

Any idea what’s going on? My bluesky profile is was fluffy.beesbuzz.biz and I don’t see any specific way of adding a “web site” or “link” to my profile, but I have a link in my bio.
I'd rather not set my ATProto identity to just beesbuzz.biz but that seems to be what's expected by brid.gy (but this isn't actually documented in the integration).

For now I've just changed my bsky profile to beesbuzz.biz but I'd rather be able to decouple the origin URL from my profile URL if possible.

Yes! You're right, looks like Bluesky isn't pulling URLs from profile bios right now. Sorry about that, thanks for reporting! Will fix.

This should hopefully be fixed. @fluffy-critter try re-authing with Bluesky into Bridgy and see if it picks up your profile links!

Okay, I've changed my bsky handle back to fluffy.beesbuzz.biz although it'll probably be some time before I can test this as I don't have anything to post right now.

No worries! Feel free to reopen if it doesn't work.

Actually I'm not clear on what's going to happen now, because brid.gy shows both beesbuzz.biz and fluffy.beesbuzz.biz as being connected.
Also at the current moment https://fluffy.beesbuzz.biz/ is not resolving thanks to some vagaries of how wildcard DNS records work (although I added a CNAME which should start working within a few hours).

The thing is I'd be wanting to publish posts from beesbuzz.biz but to show up as being fluffy.beesbuzz.biz on bluesky. This is all using automated plumbing from my site commit hooks and I don't want to have to complicate things so that some of my mentions come from a different domain.

I'd be wanting to publish posts from beesbuzz.biz but to show up as being fluffy.beesbuzz.biz on bluesky

If by "show up as being fluffy.beesbuzz.biz" you mean "post on the Bluesky account with the handle fluffy.beesbuzz.biz," then yes, that should work now.

Yes, what I mean is:

I post a post on https://beesbuzz.biz/blog/ to
I send a webmention from the blog entry (on the beesbuzz.biz domain) to https://brid.gy/publish/bsky
A link to the post ends up on https://bsky.app/profile/fluffy.beesbuzz.biz

The post itself never appears on fluffy.beesbuzz.biz (which just redirects to beesbuzz.biz).


Inlined critical styles are kept in the linked css file

Command
build
Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
I'm wondering if it is expected that the inlined critical styles stay in the linked stylesheet file. Wouldn't it be beneficial to reduce the size of the linked stylesheet file by removing the styles that have already been inlined inside the index.html file? The test for this feature doesn't check the contents of the linked stylesheet file.
In specific cases, this might also cause different behavior in the runtime for the dev vs. production builds (I've stumbled upon this issue in the project in which we are reading css variables in the runtime, in the prod build they were doubled due to inline styles redundancy).
Minimal Reproduction
Do the production build (inlineCritical set to true) of a project containing css that the builder considers to be critical (e.g. :root tag)
Exception or Error
No response
Your Environment
Angular CLI: 17.1.2
Node: 20.11.0
Package Manager: npm 10.2.4
OS: darwin arm64

Angular: 17.1.2
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router, ssr

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1701.2
@angular-devkit/build-angular   17.1.2
@angular-devkit/core            17.1.2
@angular-devkit/schematics      17.1.2
@schematics/angular             17.1.2
ng-packagr                      17.1.2
rxjs                            7.8.1
typescript                      5.3.3
zone.js                         0.14.3

Anything else relevant?
No response

This is currently anticipated for several reasons:

Modifying the file contents at this point would require regenerating the link tags if SRI is enabled.
Enabling SSG/SSR could potentially result in a distinct stylesheet for each page, which is less than optimal due to the inability to cache the stylesheet across various requests.

I see your point, thanks for the explanation and quick reply.


Collaboration flow diagram shows old version in preview, but new version which clicked on/expanded

The collaboration flow diagram shows an older version of the diagram on the page, but when clicking on it to expand it, shows the newer version.

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

ID: ff3cd434-f233-3be0-2ed7-51d98e799f5f
Version Independent ID: ff3cd434-f233-3be0-2ed7-51d98e799f5f
Content: Power BI usage scenarios: Enterprise content publishing - Power BI
Content Source: powerbi-docs/guidance/powerbi-implementation-planning-usage-scenario-enterprise-content-publishing.md
Service: powerbi
Sub-service: powerbi-resource
GitHub Login: @peter-myers
Microsoft Alias: v-myerspeter

Hi @adamgrisdale - I've just checked, and the images (inline and expanded) have been published. Perhaps your browser has cached the older version? Can you please reload your browser (Ctrl+F5) and determine whether that load the newer image? Thanks.

Yes this is now showing correctly, thank you!

Thanks for your comment, @adamgrisdale. This issue has been assigned to the doc author for review.


Utilize native lazy-loading to reduce initial page load

As described by Google, native lazy loading is now support in Chrome and Firefox. It is an easy tool to increase speed on pages with lots of images.
The homepage and the about page each bring in dozens of logos and images below the initial viewport.  Let's implement the feature.

I would really like to work on this issue. Can you guide me through it ?

@dn-flixee, sure thing. Take a look at two things:

The official Google docs on the issue
My proposed implementation for the homepage.

Then see if you can figure out how to do the same thing for the /about page, which has many many images below the initial viewport.

Hello @palewire , is your implementation for homepage, is not merged into master ?

Hello @palewire . I have made the changes, where do I have to push it, on which branch ?

My changes are not in master yet. I'd recommend making your own branch and sending a pull request separate from that.
Have you made a pull request before?

Okay. I just asked one of my friends. I forked the repo, then pushed the local code by creating a new branch (developLazyLoading) on the forked repo. Now I want to perform pull request. Which branch should I target ?

 Done! Thank you so much.

This is done.


Adding a code to convert age in days

Description
Adding a python code that takes your birth-date and returns your age in days.
Issue No.- #302  #289

Type issue number after hash(#)

Checklist

[x] Yes, this task assigned to me.
[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] My Filename is in camelCase format
[x] I have added Problem statement, Problem link in file.

Invalid PR.

Dupicate issue
Unassigned PR


[feat] - feat(front): workspace analytics UI

Description
This PR introduces improvements to the workspace analytics UI: https://github.com/dust-tt/tasks/issues/897

Implementing a new data download system using JSZip to generate and download multiple CSV files containing workspace usage data.
Updating the UI for the Full Activity Report section, allowing users to download data for specific months.

New look:

Risk

The introduction of JSZip for file compression and download may impact performance for large datasets.
New queries and data processing logic could potentially increase the load on our databases.

Deploy Plan

Deploy to front-edge and check stress load on DB.
Deploy to front

@Duncid I took the freedom to slightly change a couple of things:

I removed the "All" button from your design: I am afraid that this is gonna be too time-consuming and gonna stress the DB too much
I added a "Download" button: the download can take 5-10sec, so to make sure the user doesn't click on it multiple I disable buttons while the requests are running.

Are you okay with it?

Thanks @JulesBelveze, a few comments:

I assume front-edge is on fake data? I see months in the future which I assume you would not get?
Possible to sort by most recent month (if not planned already)?
CSV breaks for now, because some descriptions have comas in them. Maybe let's find another delimiter which is more bullet-proof?
Ok with not being able to download 'all', However, is it possible to add an idea of which 'month' is being retrieved? Option 1: as a column (easier to digest), option 2: in the file name
I would rename mentions into assistant_messages (which is a little easier to understand)

@thib-martin let me redeploy with the current state, this will solve a bunch of the comments you made

Are you okay with it?

Ok for me if @thib-martin is ok with it

Otherwise, LGTM!


docs:optimize the quick-start doc

Ⅰ. Describe what this PR did
docker container uses utc time and the host uses cst time,so the log's time is different from the host.so maybe it is better to make time synchronization when we start a container
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #655 into master will decrease coverage by 2.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #655      +/-   ##
==========================================
- Coverage    48.2%   46.15%   -2.06%
==========================================
  Files          99       99
  Lines        5889     5893       +4
==========================================
- Hits         2839     2720     -119
- Misses       2825     2949     +124
+ Partials      225      224       -1

Impacted Files
Coverage Δ

dfdaemon/config/config.go
0% <0%> (-100%)
:arrow_down:

supernode/daemon/mgr/scheduler/manager.go
24.81% <0%> (+0.75%)
:arrow_up:

Continue to review full report at Codecov.

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

IMOP, it's unnecessary for us to add this in quick-start document.

Any feedback for @lowzj 's thought? @yunfeiyangbuaa

Any feedback for @lowzj 's thought? @yunfeiyangbuaa
it only a optimize for user to understand  the log,but it will make the quick start more  confused  to newer ,so  it may be better if we abandon this optimize

it only a optimize for user to understand the log,but it will make the quick start more confused to newer ,so it may be better if we abandon this optimize

@yunfeiyangbuaa Maybe you can add it as an item of FAQ. WDYT?

it only a optimize for user to understand the log,but it will make the quick start more confused to newer ,so it may be better if we abandon this optimize

@yunfeiyangbuaa Maybe you can add it as an item of FAQ. WDYT?

I will work on it. @Starnop

Any updates?


tests: autouse tmphome fixture with Python < 3.6

This is done to simulate readrc=False.

Codecov Report

Merging #250 into master will increase coverage by 2.14%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #250      +/-   ##
==========================================
+ Coverage   63.59%   65.74%   +2.14%
==========================================
  Files           3        3
  Lines        2420     2747     +327
  Branches      220      357     +137
==========================================
+ Hits         1539     1806     +267
- Misses        803      851      +48
- Partials       78       90      +12

Impacted Files
Coverage Δ

testing/test_pdb.py
77.09% <100%> (+0.11%)
:arrow_up:

testing/conftest.py
78.57% <100%> (ø)
:arrow_up:

pdb.py
53.4% <0%> (+8.78%)
:arrow_up:

Continue to review full report at Codecov.

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


Improvements to setOptions calls and afterFind hook

Proposed changes
This PR fixes two critical issues observed while using this add-on.

The options set with setOptions on runtime are not remembered through the lifecycle of persistence operation. For example: column.setOptions({folder: '123/abc'}) does not always work. After being set on the Attachment class' options object, the new option does not reflect when the decorator carries out persistence of the file.
When this add-on is used together with similar add-on (such as Adonis Responsive Attachment) within the same model, when the model hooks are executed, the attachment instance of other add-ons is passed into this add-on which leads to error as the methods of the other add-on's instance might not be available.

Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply

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

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works.
[x] I have added necessary documentation (if appropriate)

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

Hey @ndianabasi! 👋🏻
It seems we have a typing issue about options being private in the Attachment class, but you set it public in the declaration.
It currently works because the TypeScript private operator is not doing anything at runtime, but a truly private field would make the code break.
Could you please change that and add some tests to ensure your changes work as expected?

Thanks for the response @RomainLanz. I've forked this repo and made all fixes I needed. Also gives me latitude to introduce features I need as well. Thanks for all you do!


Fix comment syntax

/ -> //

@mcleanbyron The PR passed the acceptance checklist. Please evaluate further and approve/complete the PR if appropriate. Thanks!

Thanks for your contribution!


Fix for LPE definitions

Rest of the code looks good.  Proper outputs were generated.

Ok I also noticed the PxrSurface lobes weren't working right the other day?  Or maybe I'm misremembering

Okay.  I'll check it out.

Something is wrong with PxrSurface lobes but I don't think it's the exporter.  I set up a material with diffuse, primary and secondary specular, iridescence and clear coat enabled.  Even when I directly copy the LPE from the Renderman docs i get a black screen for every lobe option I can use with that material.  Regular LPE's work fine.  Is there some step to enable the PxrSurface lobe's that we aren't doing?  Or is this a Renderman bug?

I'll check with brenton tomorrow.


Exclude admins

I see this was closed but not resolved.   The portal is showing the message:
"Don't get locked out. This policy can potentially prevent your admins from accessing Azure. Exclude at least one admin."
How do we exclude accounts from this policy?   There is no mechanism in the portal.

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

ID: 0327017d-eaaf-2f62-88b5-09f5bb142987
Version Independent ID: f08f88b4-bea1-e47f-e978-feae569b32d5
Content: Baseline policy Require MFA for service management (preview) - Azure Active Directory
Content Source: articles/active-directory/conditional-access/howto-baseline-protect-azure.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@devan10 Thanks for your feedback! We will investigate and update as appropriate.

Hey @devan10 can you clarify by whaty ou mean this was closed but not resolved?
There should be a section in the baseline policy where you can exclude users :

Please see Alex Simmons blog from Azure Identity here : https://techcommunity.microsoft.com/t5/Azure-Active-Directory-Identity/Baseline-security-policy-for-Azure-AD-admin-accounts-in-public/ba-p/245426

There is no such setting on the Baseline policy: Require MFA for service management.
<EMAIL_ADDRESS>Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Frank Hu<EMAIL_ADDRESS>Sent: Tuesday, September 17, 2019 11:48:10 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: devan10<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Exclude admins (#39045)
Hey @devan10https://github.com/devan10 can you clarify by whaty ou mean this was closed but not resolved?
There should be a section in the baseline policy where you can exclude users :
[image]https://user-images.githubusercontent.com/6366013/65066101-94d69e80-d938-11e9-818f-c890ba182c9d.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/39045?email_source=notifications&email_token=AJC74DPZQH4O476MSZ5SWLDQKEJ5VA5CNFSM4IXRDIKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD65K6AQ#issuecomment-532328194, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJC74DOMCXZ7WOABGJUU7LDQKEJ5VANCNFSM4IXRDIKA.

I see, do you have an Azure AD Premium License? This is required per the doc for customizing CA Policies: https://docs.microsoft.com/en-ca/azure/active-directory/conditional-access/concept-baseline-protection

My understanding from the articles are that the “Baseline Policies” are not “Customized Policies”.
According to the document “Baseline policies are available in all editions of Azure AD.”
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Frank Hu<EMAIL_ADDRESS>Sent: Tuesday, September 17, 2019 11:58:02 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: devan10<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Exclude admins (#39045)
I see, do you have an Azure AD Premium License? This is required per the doc for customizing CA Policies: https://docs.microsoft.com/en-ca/azure/active-directory/conditional-access/concept-baseline-protection
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/39045?email_source=notifications&email_token=AJC74DKB4TGWZIKX46GSQ3TQKELCVA5CNFSM4IXRDIKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD65L5MI#issuecomment-532332209, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJC74DMSWNR3DFKKNYUO6CDQKELCVANCNFSM4IXRDIKA.

@devan10  right but the customization (i.e. excluding users) is considered customizing the policy which requires the aad premium license.

I have enabled Azure AD premium on the tenant and still not able to exclude users on this policy.
Sorry, not trying to be rude but this effectively makes the policy not very effective.   The policy itself is there to protect administrators but if you are not able to exclude users/service principals you could lock yourself out.
This is even listed on this site:
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/howto-baseline-protect-azure
These considerations include identifying users and service principles in Azure AD that cannot or should not perform MFA, as well as applications and clients used by your organization that do not support modern authentication.
Again, it warns you to exclude users but provides you no method to do so.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Frank Hu<EMAIL_ADDRESS>Sent: Tuesday, September 17, 2019 12:19:08 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: devan10<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Exclude admins (#39045)
@devan10https://github.com/devan10 right but the customization (i.e. excluding users) is considered customizing the policy which requires the aad premium license.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/39045?email_source=notifications&email_token=AJC74DMCB6NN7Q4LJC2VVL3QKENRZA5CNFSM4IXRDIKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD65N5ZI#issuecomment-532340453, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJC74DNTSN7QHRTNIVDCVHDQKENRZANCNFSM4IXRDIKA.

There is no way to exclude users from a baseline policy. That line should be removed. Thank you for bringing that to my attention.

Updated article in private repo. Should publish overnight.

#please-close


Debug and logging tools

Current dependencies on/for this PR:

main

PR #50   👈

This comment was auto-generated by Graphite.


Update Changelog for release 2022.01.0

With @yuvipanda's R improvements I think it's time for a release!
Created with
github-activity -s 2021.08.0 | sed -r -e 's%\[#([0-9]+)\]\(https://github.com/jupyterhub/repo2docker/pull/[0-9]+\)%:pr:\1%' -e 's%\(\[\@([A-Za-z0-9-]+)\]\(https://github.com/[A-Za-z0-9-]+\)\)%by :user:\1%' > output.txt
followed by some editing of output.txt

I think we've merged a few more PRs after this. Let's get those in and we can make a release?

I'd like to get https://github.com/manics/jupyter-offlinenotebook/pull/389 in (conda package is building now) and maybe some of the PRs opened today.

Rebased and updated. I've included these pending PRs:

[ ] #1123
[ ] #1124
[ ] #1227

Potential issue here https://github.com/jupyterhub/repo2docker/pull/1062#issuecomment-1023073794
Should we wait, or release?

@manics definitely wait I'd say.

If no-one says anything I'll make a release end of this week/start of next.

👍 from me. I won't do any more merging until then unless it's specifically brought up here.

Released!

@manics \o/ amazing! THANK YOU!


feat(api)!: Make SignKM accept generic crypto.Signer

Accepting crypto.PrivateKey uneccessarily restricts this library to software crypto algorithms provided by the golang crypto packages. By allowing the more generic crypto.Signer interface alternative implementations, e.g., backed by HSMs, can be supported.

I realize that this changes the API. It could be hidden by adding new API, e.g., SignKMGeneric. Let me know what you think.
Also, to really make use of this change, the fiano back end needs to be changed. Which I have proposed here [1] [2]
[1] https://github.com/linuxboot/fiano/issues/421
[2] https://github.com/linuxboot/fiano/pull/420

Could you satisfy the linter? :)

Could you satisfy the linter? :)

Sure thing. I hope this fixes it. commitlint is new to me. So bare with me, please.
Is the final commit message constructed from the pull request or from the commit on the feature branch?

We will rebase and cherry pick the commits - so no squash here :)


iOS 8.4 position fixed not compatible with push/pull columns

Objects with position: fixed do not get pulled or pushed like they should be when col-xs-push-6 or any other pull/push classes are used when viewing in iOS 8.4 Safari. This is not an issue in Explorer, Chrome, Opera, or Firefox to my knowledge.
You can see that the paragraph with "affix" is not pushed to the right like it should be in the example below. Depending on the viewport, the paragraph may be covered by the background color of the left column, since it comes later in the HTML.
http://jsbin.com/kuzenonexe/1/edit?html,css,output
~~http://jsbin.com/dakenacazi/1/edit?html,css,output~~
HTML:

                This is a paragraph.

                This is a paragraph with "affix". In a desktop browser, you can scroll to verify that its position is fixed.

            This is a paragraph from a column lower in the document.

CSS:
#pulled-col {
  background-color: #ee9999;
}
#pushed-col {
  background-color: #99eeee;
}
.extended-col {
  display: block;
  content: "";
  height: 100vh;
}

Your .col-*s need to be children of a .row, which in turn needs to be a descendant of a .container or .container-fluid. Dunno whether that affects your issue though.

Thanks, cvrebert. It doesn't fix the issue, but I've corrected the HTML.

I'm not sure what CSS dictates is supposed to happen if you just set position: fixed without any left/right/top/bottom like that (perhaps @mdo can enlighten me), but I can confirm that both iOS 8.4 Safari and OS X Safari 8.0.7 behave differently from IE11, Firefox, and Chrome on http://output.jsbin.com/yuxebo/2
Safari screenshot:

Chrome screenshot for comparison:

Filed WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=147284

Filed Apple Safari Radar problem: http://openradar.appspot.com/21993128

There is now a test for this in the W3C CSS WG test suite: https://github.com/w3c/csswg-test/pull/813

Hm, I don't think it's actually been fixed yet. I looked at your test (https://bug-147284-attachments.webkit.org/attachment.cgi?id=268137) and it fails on Safari Version 9.1.1 (11601.6.17).
Thanks for passing this bug to the WebKit team!

@enbo It's fixed in the current Safari Technology Preview. So the fix should be shipped in the next stable Safari release.
Protip: Test using the current WebKit Nightly in the future, rather than stable Safari.

Ah, I see.
Thanks for the tip! I'm still very new to bug reporting/testing.

Does anyone know if there is a known workaround to this problem?
I have tried all of the usual Safari hacks (transform: translateX(0) to no avail. Would love to know if anyone has been able to fine a reliable workaround to this problem.
Can confirm this has been fixed in the latest tech preview but that doesn't really help for now.

Set a non-auto value for the left or right property if possible.


support uncontrolled datepicker

Issue: #124
Makes onChange property optional and provides getValue method for retrieving the current value

Just released 0.9.0 (https://github.com/Hacker0x01/react-datepicker/releases/tag/v0.9.0)

Its not work. Please help, how it use without control?


Migrate remaining accessibility rules from dotcom to erblint-github

Context
The motivation of erblint-github is to open-source our accessibility rules so non-GitHub people can benefit from them, have a space to provide comprehensive rule documentation, and also allow rules to be shared between Rails projects.
Related issue

https://github.com/github/accessibility/issues/1293

Migrated accessibility rules in this PR

a11y_link_has_href  -> LinkHasHref

I forgot to mention this in the issue but if you're up for it, it could be worth converting this (and other non-counter rules) to a Counter as you migrate them.
The only difference implementation wise is:

rule_disabled? becomes counter_disabled?
we add this def autocorrect method
update the rule name to end with Counter.

A Counter will always flag new violations that are added to the file (since erblint:disable completely disables the lint rule for the file). You can read more about the difference here! If you think it's out of scope we can save this for a follow-up issue as well!


Navigation Buttons to Navigate Between Top Level Comments Cutting Off Top Row of Text

Using the Navigation Buttons to move between top comments is resulting in the top line of text and user name being below the fold and unreadable.

Oh yeah I didn't think about this as a consequence of how we handled window inserts. It looks fixable so it should be done soon, thanks for pointing it out!

This is fixed now, thanks again!


Putting the bot in check undoes the move

Whenever you move to check the king or do a move that the king can move into check from, the game undoes the last move but doesn't re-do it.
Could possibly be fixed anyway with the introduction of CheckApe (#5).

Seems to be reoccurring when playing multiplayer.

Seems to be fixed

Will definitely be fixed by #5


Add serve command

to run an HTTP server command very similar to what is used in Replicate production. By making this command more within reach, my hope is that not only is it easier and more clear to run Cog in its HTTP server mode, but also that more Cog users will build familiarity with and opinions about the HTTP server interface.
Connected to PLAT-259

Agreed that this makes sense—I think my only request would be to add the details to the README.

Love it!


world/Export() not implemented

http://www.byond.com/docs/ref/#/world/proc/Export

Implemented by #256?

Implemented by #256?

Not fully, such as cross-server


:hover with react-native and react-native-web

Hi, i'm using styled-components in react-native app
lets say i have Link component:
    import styled from 'styled-components/native';

    const Link = styled.Text`
      color: 'red';

      &:hover {
        color: 'blue';
      }
    `

then i 'compile' my RN code with react-native-web
all is great expect that hover is not working (text color remains red on hover)
my guess is that css-to-react-native is removing the hover definition
any idea how to fix this?

react-native-web does not support pseudoselectors, css-to-react-native is not doing anything wrong here.
See https://github.com/necolas/react-native-web/blob/d1d570268a4f3fcccb6b73a88afaaf7f0dcb68ed/docs/guides/style.md#what-about-pseudo-classes-and-pseudo-elements

@mxstbr thx for quick answer, but can you double check, please
because this code is working:
import * as React from 'react';
import {TouchableOpacity} from 'react-native';
import {StyleSheet as WebStyles, css} from 'aphrodite';

import Text from './Text';
const Link = ({onPress, textProps, children}) => {
  return (<TouchableOpacity onPress={onPress}>
    <Text className={css(webStyles.link)}  {...textProps}>
      {children}
    </Text>
  </TouchableOpacity>);
};

const webStyles = WebStyles.create({
  link: {
    ':hover': {
      color: 'blue'
    }
  },
});
export default Link;

Is that rendered to the web?

yes

link

and ind style definition is
.link_qja8gq:hover {
    color: blue !important;
}

It's a problem here:
https://github.com/styled-components/styled-components/blob/9c98a6edff9d13ac0a7851c52be156aea2d2a2ca/src/models/InlineStyle.js#L33-L40

Hmm, does /primitives use that though? /cc @mathieudutour

not sure what this is but if it's working for react-native and react-native-web, it will work for react-primitives

hi, any update on this one? should i wait for fix? because at this point I can't use styled-components...

Wait a second, if you use Aphrodite to create a css class and then render it on the web, then yes it will show a hover. Aphrodite doesn’t use style, it injects css directly in the html. className is not a valid prop for a react native view (hence not valid for react-primitives).
So there is nothing wrong with styled-components/primitives, your code is just not primitive compatible.

so i cannot use styled-components in react-native compiled to web (with react-native-web) ?

you can, but you need to use what works for react native

ok, but we have common components like Button, Link, Avatar... for web (react) and also for app (react-native)
so how should i define Link component that i can use on web and app, and i need hover effect on web...
@mxstbr any suggestions ?

you can use Button.web.js and Button.ios.js to define custom behavior on the platform you want. But when you use primitives, it should use things that work everywhere.

ok, so lets say i have:
Link.app.js
import React from 'react';
import styled from 'styled-components/native';

const Link = styled.Text`
  color: 'red';
`

export Link

Link.web.js
import NativeLink from './Link.app.js'

const WebLink = NativeLink; //how to change RN Text to 'span' DOM tag ?
// or how to add :hover or other web specific stuff ?

export WebLink

no no, you would have
Link.web.js
import React from 'react';
import styled from 'styled-components';

const Link = styled.a`
  color: 'red';
`

export Link

Link.js (default)
import React from 'react';
import styled from 'styled-components/native';

const Link = styled.Text`
  color: 'red';
`

export Link

thats not the way... i cannot duplicate the code...
my current Button is (and is not even finished):
import * as React from 'react';
import PropTypes from 'prop-types';
import styledDom from 'styled-components';
import styled from 'styled-components/native';
import Icon from './Icon'

import {mapProp} from '../../theme/styledHelpers'

const pickButton = prop => props => props.theme.Button[props.tint][props.shape][prop]

const TouchableWrapper = styled.TouchableOpacity`
    display: ${props => props.width === 'block' ? 'block' : 'inline-block'};
`

const paddingHorizontal = (props) => props.width === 'wide' || props.size === 'large' ? 20 : 10
const Content = styled.View`
    flex-direction: row;
    justify-content: ${mapProp('alignContent', {
      center: 'center',
      left: 'flex-start',
      right: 'flex-end',
    })};

    align-items: center;
    background-color: ${pickButton('backgroundColor')};
    border-color: ${pickButton('borderColor')};
    border-width: 1px;
    border-style: solid;
    border-radius: ${props => props.rounded ? 60 : props.theme.Button.borderRadius};
    min-width: ${props => props.width === 'wide' ? 200 : 'auto'};
    height: ${props => props.size === 'large' ? 40 : 'auto'};
    padding-left: ${paddingHorizontal};
    padding-right: ${paddingHorizontal};

    &:hover {
      background-color: ${pickButton('backgroundColorHover')};
      border-color: ${pickButton('borderColorHover')};
    }
`

const ContentDom = Content.withComponent

const ButtonText = styled.Text`
    color: ${pickButton('textColor')};

    &:hover {
      color: ${pickButton('textColorHover')};
    }
`

const StyledIcon = styled(Icon)`
    color: ${pickButton('textColor')};
`

const LeftIcon = StyledIcon.extend`
    padding-right: 10px;
`

const StyledButton = ({tint, shape, width, size, rounded, value, leftIcon, alignContent, children}) => {
  let buttonText = children;
  if(value || typeof children === 'string') {
    buttonText = <ButtonText>{value || children}</ButtonText>
  }

  const touchableProps = {width};
  const contentProps = {tint, shape, rounded, width, size, alignContent};
  const textProps = {tint, shape};
  const leftIconProps = {tint, shape}

  if(typeof leftIcon === 'string') {
    leftIcon = <LeftIcon name={leftIcon} {...leftIconProps}/>
  } else if(leftIcon) {
    leftIcon = <LeftIcon {...leftIcon.props} {...leftIconProps} />
  }

  return (
    <TouchableWrapper {...touchableProps}>
      <Content {...contentProps}>{leftIcon}<buttonText.type {...textProps} {...buttonText.props} /></Content>
    </TouchableWrapper>
  )
};

StyledButton.propTypes = {
  children: PropTypes.oneOfType([PropTypes.element, PropTypes.string]).isRequired,

  leftIcon: PropTypes.oneOfType([PropTypes.element, PropTypes.string]),
}

StyledButton.defaultProps = {
  tint: 'default',
  shape: 'normal',
  alignContent: 'center'
}

export default StyledButton;

Link.js (default)
import React from 'react';
import styled from 'styled-components/native';

export default styled.Text`
  color: red;
`

Link.web.js
import React from 'react';
import styled from 'styled-components';
import BaseLink from './Link.js';

export default styled(BaseLink)`
  :hover {
    color: blue;
  }
`

Wait a second, if you use Aphrodite to create a css class and then render it on the web, then yes it will show a hover. Aphrodite doesn’t use style, it injects css directly in the html. className is not a valid prop for a react native view (hence not valid for react-primitives).

So there is nothing wrong with styled-components/primitives, your code is just not primitive compatible.

className is working fine, except :hover {...} definition

just put what you want (can) to share in another file and import it?

className is working fine, except :hover {...} definition
no it doesn't: it's not doing anything on react native. What's the point of using primitives if it's to use them only on the web? a primitive is supposed to work the same way on every platform. If you want a special behavior (classes and hover), then you can use a .web.js file and styled-components to specify it.

thx @jacobp100 your approach is working fine!

OK, so i am back unfortunately... :/
so when i modify the @jacobp100 's code like this:
Link.js (default)
import React from 'react';
import styled from 'styled-components/native';

const StyledText = styled.Text`
    color: red;
`

export default Link = ({ children }) => {
  return ;
};

Link.web.js
import React from 'react';
import styled from 'styled-components';
import BaseLink from './Link.js';

export default styled(BaseLink)`
  :hover {
    color: blue;
  }
`

color is not changed to blue on hover...
html output:

...
...

    Hellloooo

@achtan
-:hover
+&:hover

Having the same issue:
https://github.com/styled-components/styled-components/issues/3323
Could you please take a look at this issue again?
Because you can actually keep in your hashed stylesheet :hover and other css-specific declarations.
Nobody's asking there to port those to get that worked on react-native.

Maybe you can ref to my answer in onmouseenter event in react native

You guys might want to try rn-css that is handling hover and a bunch of other features to have a common CSS between RNW and RN.


[Website] content crafting and publishing: Component  / Card Group use case with 4 cards change

@RobertaJHahn commented on Wed Mar 17 2021
Objective
Provide Carbon for IBM.com adopter the best practices and guidance they need to adopt Carbon for IBM.com.
General publishing process
Please make sure you always start the content crafting process by viewing the 2020 website content publishing process box document first.
Publishing for other website page

Content crafting starts as soon as Initial research and publishing agreements are accepted by the DDS leadership team.
The content can be at the MVP level. MVP means the content meets the basic needs of an adopter for learning. It does not mean the content crafting will or should stop at this stage. Future enhancement should be working on with a separate task issue.
MVP content publishing template and requirement can be found in the Publishing template and best practices/_General page folder.
If you do not see the General page folder templates and guidelines meet your need, please reach out to Jenny for further guidance.
Content publishing to the live website can be code or markdowns. If you need guidance on how to start with markdowns, please see the step by step instruction in the Editing and publishing in Github Box document.
Once the Pull Request is submitted and the Preview link is ready, include Jenny, Linda, Jeff, and Wonil as PR Reviewers and Approvers. When there are no additional edits needed. Jenny will merge the PR.

File naming and storage

Name the Sketch file with the following convention: Name of the category + components/pattern/guideline + version. ex: Components-Feature card block v1.0, Guidelines-Expressive theme v1.0, Help-Overview v1.0 and etc.
Please save all content publishing work files (box, markdowns link, or Sketch file) in the proper sub-folder under the ✍ Content + Design folder.

Publishing acceptance criteria

[ ] Content crafting is done.
[ ] Asset image creation is done.
[ ] Page design is done.
[ ] Publishing with markdowns is done.
[ ] QA'd by Jenny.
[ ] Web page preview is approved by Linda, Jeff, and Wonil.
[ ] PR merged by Jenny.
[ ] Web page is published and live on the website.

TBD on the work from https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/5521

This work will be done collectively in #978


CSI External Provisioner CVE Fix: Address CVE-2024-5321

Description of changes:
Fixes CVE-2024-5321
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm
/approve


Github tasks can run in parallel

https://github.com/astronomer/ask-astro/blob/c45487c7f12a9424dbe885580c687e35e30b7de4/airflow/dags/ingestion/ask-astro-load.py#L253-L262
After switching Airflow docs ingest to HTML it is no longer necessary to ingest github tasks in parallel for API rate limits.

I am not sure whether I understand correctly, but according to the title, it looks like we want to run the GitHub tasks in parallel which seems to be there already. Closing this one. Please reopen it if I misunderstand it.


disable avx2 for wheel

[Description of PR]
TODO:

[ ] Unit tests and/or doctests in docstrings
[ ] tox -e py38 passes locally
[ ] Docstrings and API docs for any new/modified user-facing classes and functions
[ ] Changes documented in docs/release.rst
[ ] tox -e docs passes locally
[ ] AppVeyor and Travis CI passes
[ ] Test coverage to 100% (Coveralls passes)

LGTM. Thanks Grzegorz! 😄

@Czaki : any reason for this to still be in "draft" mode? Otherwise, I'd propose releasing 0.7.2

@Czaki : any reason for this to still be in "draft" mode? Otherwise, I'd propose releasing 0.7.2

Enabled avx2 on Macos and timezone. I live in Europe and already wake up.

:smile: Ditto. :+1:

I'm a bit of a night owl. So it works out 😄
Thanks again Grzegorz!
Should we try a patch release after this gets merged? 😉

Everything looks good. I'm merging, but I'll try to get in the Base64 fixture that John requested a review on. I assume 0.7.2 will go out over the course of the European morning unless I hear objections. Thanks all!

Thanks Josh! 😄


Toggle to Proof Mode

[ ] Have button to toggle to proof mode
[ ] Set up proof mode canvas/layout

Toggle switch code
https://www.w3schools.com/howto/howto_css_switch.asp


zero out negative response time

It’s not a complete locust problem.  But, locust can defend against non-monotonic client timers -- that is clients that measure response time using time.time versus os.times.

With this change the min response time will appear as 0

@sj2208 how so?  The code sets the min response time to the smallest response time >=0.  Min will only be set to zero if response time is ever zero or negative.

@marrotte Thanks for the contribution! Is this still an outstanding issue?  Can you elaborate on the details of this PR?

@mbeacom
Is this still an outstanding issue ?  Yes
Can you elaborate on the details of this PR ?
The PR is pretty simple. Clients using non-monotonic timers can lead to negative response times, e.g. NTP corrections. So we do a max of min response time and 0.

Hi @marrotte ! This is a really old PR and now has conflicts, so I'm going to close it. Feel free to reopen if this is still an issue for you.


docs(http): add missing Zap-Trace-Span header

Closes #13216
Briefly describe your proposed changes:

[x] CHANGELOG.md updated with a link to the PR (not the Issue)
[x] Rebased/mergeable
[x] Tests pass
[x] http/swagger.yml updated (if modified Go structs or API)
[x] Sign CLA (if not already signed)

@kelwang


Use public runners on forked repos (lint action)

Resolves actions stalling endlessly on forks with:

See: https://github.com/GleasonK/stablehlo/actions/runs/4087406604

clang-format has the change and uses the public runner
lint whitespace does not and waits for runner

Testing this out with the lint action before migrating all over. Need to make sure the if condition works after merge.

Looks like this worked. The PR to main used the proper runner:


Add Picaso in templates

New Android Project/SDK Submission
Please fill out the following details to submit your Android project or SDK to make them available as a runnable sandbox.
Project/SDK Name
Name of the Project/SDK: Picaso

GitHub URL
Picaso Image Caching Lib

Short Description
A powerful image downloading and caching library for Android
Brief Description of the Project/SDK:

Logo
If you don't provide one, we'll use our default logo.
Link to Logo Image:

Thank you for your submission! We will review your project/SDK and get back to you soon.

added a template: https://console.dashwave.io/template/112/launch

opened #15 for the same


turbo-ios: remove UIRefreshControl layout constraints

Summary
This PR adds a patch for turbo-ios library which removes the layout constraints which are set in VisitableView.installRefreshControl method. This unfortunately is necessary to make the UIRefreshControl work properly with contentInset property.
Test plan
yarn clean && yarn && yarn dev:ios

LGTM


[SILOptimizer] Properly disconnect the signature optimized function from a parent class.

The new function with an optimized signature shouldn't have a non-trivial
classSubclassScope, even if the original function did, since the original
function (that becomes the thunk) is the symbol that serves that role.
Also part of rdar://problem/40738913
A missed case in https://github.com/apple/swift/pull/16959

@swift-ci please smoke test

@swift-ci please smoke test


Suppress automatic command invocations from analytics reporting

Running brew update creates analytics views for update and update-report; brew upgrade creates analytics views for update and upgrade. It would be good to suppress analytics reporting for automatic command invocations or to at least flag them to give us a better sense of how people are using brew.

@tdsmith Is this something you're personally planning on implementing in the short-to-medium term? If not, can you stick it in https://github.com/homebrew/brew-evolution? Generally I think it would be good if maintainers can create PRs rather than issues...

No plans. I'm not invested enough to draft a proposal but the current behavior seems weird to me.

Can you provide some feedback about whether this was a design decision, whether this facilitated implementation, and why you chose to close this issue? I'd like to collaborate to improve the analytics data but the evolution process is too heavy and I haven't invested enough time to understand the implementation.

Can you provide some feedback about whether this was a design decision

This was not a design decision. It seems like it would be a sensible change but it's very down my personal list of priorities.

whether this facilitated implementation

This issue does not facilitate implementation. It does not suggest any specifics and it does not use the process that we've created to discuss feature requests.

I'd like to collaborate to improve the analytics data

Collaboration is best achieved through pull requests.

I haven't invested enough time to understand the implementation

I would suggest that it's worth doing this before opening issues.
--
As I've mentioned before: I think maintainers opening "personal preference" issues they don't plan to work on is a project smell. If you're the person who cares about this: you should be the person to work on it and unless that's happening in the short-term the best bet is to create a pull request when you are ready to work on it. Otherwise our open issue count keeps growing and growing and it becomes hard to keep track of what are actual outstanding problems that need addressed and what are just maintainer "nice-to-haves" that will not be worked on.


Basic repository setup

Added basic README.md and CONTRIBUTING.md. Feel free to review and make changes

@AwsomemanNever @DracTheDino FYI

@awsomemanNever @DracTheDino FYI

yeah?


possible enhancement if you are trying to share big image/files from url

Hi, first of all thanks for the plugin is very nice and well coded.
Recently i used it in a project where i had the need of sharing image hosted on a server and doing some test i saw that the thread is blocked if the connection is not very fast, the server start to get too much traffic or you try to load heavy image, looking inside the plugin i found that in SocialSharing.m it's possible to add the following code in order to stop blocking the main thread of the app and let the user keep using the app while loading the sharing or at least let some animation going, anyway this is the small code i used to fix this.
- (void)share:(CDVInvokedUrlCommand*)command {
   [self.commandDelegate runInBackground:^{
    //code here
               //ios 9 fix for error: “This application is modifying the autolayout engine”
         dispatch_async(dispatch_get_main_queue(), ^(void){//only ui related activity in here
             //show ui share
            [self.viewController presentViewController:activityVC animated:YES completion:nil];
         });

    }];
}

it works on iphone ios 8, 9 - i didn't test it on ios 7 or ipad any version
Hope it helps someone:D

Hi @mikealo that's a very useful addition to this plugin!
Would you be interested to send a PR and perhaps even become a committer to the repository?

Thanks,
Eddy

Hi  @EddyVerbruggen sure it's fine by me.
I already did the pull request, was the first time making one, i hope it's fine

Hi;
I think that it would be nice to have a callback that is called after everything is in place just before the native sharing app is going to be called. for example, if I am going to call shareWith(large image) it would be great not only for it to be async but It would be to get some kind of notification after image is ready just before native app is called. this way we can place a loading mask for the time we wait etc...
just an idea.

@guykatz I like the idea but perhaps it's easier for the plugin to show a platform specific loading indicator. Perhaps as a preference when calling the plugin. I'll think about it a little.

@mikealo It looks good, but the indentation can be better (just move everything inside your new threading code two spaces to the right.
Also, please submit the PR, it's not pending here yet.

@EddyVerbruggen i probably duplicated the commit.. the second one contain the right indentation..i'm so noob about github:°°

No worries @mikealo, it's just that you still need to submit the PR, since it's not pending here.
Manual: https://help.github.com/articles/creating-a-pull-request/

@EddyVerbruggen i finally did it! next time will be easier:D


Some element get the xPath is error in Win10

I want to  get the element which the automationId is "Minimize-Restore", the element xPath is "/Window[4]/TitleBar/Button[1]" in FlaUInspect .
But I use the code "FlaUI.Core.Debug.GetXPathToElement(element)" , it return the result is  "/Window[4]/Button"。
This is inconsistent with the actual results.
In line 32 of the figure below, using FlaUInspect yields a different result than you use the code .

See #195


Scoreboard API: add team stats

It would be nice to know which team weapons and kills belong to. This makes it possible to show more team specific information. I'm thinking of something like being able to filter by team to show the team's top killers, having labels inside PlayerItem that signify teams, and statistics, such as a balance bar (functional preview - styling pending):

I currently have this implemented locally using a fairly rudimentary function:
const germanWeapons = [
  "KARABINER 98K",
  "MP40",
  "STG44",
  "GEWEHR 43",
  "M43 STIELHANDGRANATE",
  "M24 STIELHANDGRANATE",
  "MG42",
  "MG 42", // this alternative spelling is used in the game, no idea why/when
  "M1A1 AT MINE",
  "150MM HOWITZER [sFH 18]",
  "FG42 x4",
  "WALTHER P38",
  "KARABINER 98K x8",
  "FLAMMENWERFER 41",
  "PANZERSCHRECK",
  "FG42",
  "MG34",
  "S-MINE", // TODO: verify whether the US AP mine isn't also listed as S-MINE kill
  "LUGER P08",
  "TELLERMINE 43",
  // Panther
  "COAXIAL MG34 [Sd.Kfz.171 Panther]",
  "HULL MG34 [Sd.Kfz.171 Panther]",
  "75MM CANNON [Sd.Kfz.171 Panther]",
  // Tiger
  "COAXIAL MG34 [Sd.Kfz.181 Tiger 1]",
  "HULL MG34 [Sd.Kfz.181 Tiger 1]",
  "88 KWK 36 L/56 [Sd.Kfz.181 Tiger 1]",
  // Panzer IV
  "COAXIAL MG34 [Sd.Kfz.161 Panzer IV]",
  "HULL MG34 [Sd.Kfz.161 Panzer IV]",
  "75MM CANNON [Sd.Kfz.161 Panzer IV]",
  // Lunchs
  "COAXIAL MG34 [Sd.Kfz.121 Luchs]",
  "20MM KWK 30 [Sd.Kfz.121 Luchs]",
  // Puma
  "COAXIAL MG34 [Sd.Kfz.234 Puma]",
  "50mm KwK 39/1 [Sd.Kfz.234 Puma]",
  "COAXIAL MG34", // unidentified tanks
  "75MM CANNON [PAK 40]", // AT gun
  "FELDSPATEN", // melee
  "MG 42 [Sd.Kfz 251 Half-track]", // halftrack mg
  "HULL MG34", // no idea what tank this is
];
const isGermanWeapon = (weapon) => germanWeapons.includes(weapon);

But I don't think this can be made robust enough to make into a PR worthy of this project. Including team info in weapons and most_killed would help make this possible. If available, including role info would be great too because now I have to create a list of all artillery weapons (while the list is short, this is not ideal) and tank weapons.

A way this can be done:
https://github.com/MartijnHols/hll_rcon_tool/tree/fork/rcongui/src/components/Scoreboard/weapons
Keeping a list of all weapons per team isn't as big a problem as I initially thought; new weapons are added very infrequently.


pdf links error?.

can't find where to download the pdf.if the links provided in readme correct?

Hi, thanks for your interest. I am preparing the camera-ready version of this paper. Will back to you in this thread once it is done.

Hi, the arxiv link of ObjectSDF++ is given here.


Save and Load Instruction Patterns

The Instruction Pattern Search Tool is very useful.  I would like to be able to save and load search patterns to files on disk in addition to the clipboard.

An interesting idea.
The pattern dialog is plugable.  See the YaraGhidraGUIScript
It wouldn't be too hard to create a script that kept a managed set of patterns in a file(s) until such time as this feature were added.


136 8 documentation + token generator testing code

Few more comments:
* Can you rebase/merge latest `main` branch? I added some changes to the linter configuration

* Can you format your Python code using [Black](https://github.com/psf/black)?

* Would it be possible to have a CSV instad of XLSX file?

Hello @dmohns,
I have rebased the branch and reformatted with Black.
However for your third point, I think having a CSV instead of XLSX will not look good. Maybe just a .txt file or I move it to the documentation?

Great thanks, can you now fix the remaining lint errors?

I think having a CSV instead of XLSX will not look good.

What do you mean by will not look good? Github automatically renders CSV file, for example: https://github.com/EnAccess/OpenPAYGO-Token/blob/main/documentation/examples/example_device_list.csv


Element type enforcement

Adds support for setting isGroup on DataElements
Enforces the following rules around types:

An Entry's parent must be an Entry or Abstract
An Element's parent must be an Element
A Group's parent must be a Group
An Abstract's parent must be an Abstract
An Element can only declare or constrain a Value; it cannot declare or constrain Propertys
An Element cannot redeclare a Value if it has a parent; it must constrain Value instead
A non-Element can only declare or constrain Propertys; it cannot declare or constraint Values

Adds new unit tests for new type enforcement rules
Updates existing unit tests to follow new type enforcement rules
Removes the "phase 2" and "phase 3" export and re-import cycle of the tests since CIMPL6 export is removed

DO NOT MERGE -- dependencies and version will be adjusted after code reviews.


Should keeper rush be part of the default action set?

From the paper:

Here there are 20 actions, but I only see 19 in the action space exposed by the gym API.
I see that in gfootball/env/football_action_set.py, action_set_dict["default"] doesn't contain action_keeper_rush. Is this intended?

Hey Ollie,
Thanks for bringing this up. You are right about the discrepancy between the code and the paper.
You can see that v1 version of the github code did indeed have keeper rush as an action in the default action set. But after some experiment and analysis we decided to drop it and for v2 version it is not there anymore.
We forgot to update the paper on arxiv when pushing v2 version of a code, which creates this discrepancy.
We'll update the paper on arxiv ASAP

The paper was update today. Now it should be consistent with the code.


Google has requested that the Google Play Billing Library be updated to at least 6.0.1 by August 31, but we are limited by Adapty's SDK

Google has requested that the Google Play Billing Library be updated to at least 6.0.1 by August 31, but we are limited by Adapty's SDK and we need the corresponding version of flutter adaptysdk

@Tangxiaochuanle which sdk version do you use? We support PBL 6 from v2.6.x

Okay, that's taken care of. Thank you

I'm using v2.7.0 but Google Play still throws this warning that I need to update Google Play Billing Library.
Can you confirm that Play Billing Library is indeed v6? Because in the change log it says v5 has been implemented.

@shrijanRegmi yes, we specified v5+ because there were drastic changes particularly in v5, but the actual dependency was v6


GH-37239: [Ruby] Updated documentation for ArrowTable#initialize to clarify argument details

What changes are included in this PR?
Fixed the documentation for ArrowTable#initialize about the followings

initialize(schema, record_batches)
initialize(schema, raw_records)

Closes: #37239

I'm so sorry. Next time I will keep the PR template without removing it.🙏


samples: mesh: enable SMP service for DFU [v1.14.0 milestone]

This commit enable Bluetooth SMP Service which will help
us to do Device Firmware Upgrade over thr air. By default
it is not enable.
Reference: $zephyr/samples/subsys/mgmt/mcumgr/smp_svr
Signed-off-by: Vikrant More<EMAIL_ADDRESS>

@mbolivar
Thanks for initiating the review process.
As of now, implementing things as per your suggestions is beyond my scope.
So please bare me !!
I don't wanna make this App by default compatible for #mcuboot
User should simply build & run it without prior flashing of bootloader.

I've tried to improve the things as per my understanding. Please consider those changes.
But I am not able to compile the code if

I remove '#" in front of list(APPEND CONF_FILE prj_smp_svr.conf) in CMakeLists.txt
add/cooment-out  #define ENABLE_SMP_SVR in common.h

Codecov Report

Merging #13135 into master will decrease coverage by 4.8%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #13135      +/-   ##
==========================================
- Coverage   53.53%   48.73%   -4.81%
==========================================
  Files         239      315      +76
  Lines       27052    46540   +19488
  Branches     6521    10743    +4222
==========================================
+ Hits        14482    22679    +8197
- Misses       9900    19349    +9449
- Partials     2670     4512    +1842

Impacted Files
Coverage Δ

include/spinlock.h
62.5% <0%> (-10.23%)
:arrow_down:

subsys/net/ip/net_private.h
67.74% <0%> (-6.46%)
:arrow_down:

kernel/mem_slab.c
94.44% <0%> (-5.56%)
:arrow_down:

include/net/net_context.h
73.33% <0%> (-5.52%)
:arrow_down:

subsys/net/ip/ipv6_fragment.c
20.41% <0%> (-5.17%)
:arrow_down:

subsys/net/ip/icmpv4.c
26.53% <0%> (-4.9%)
:arrow_down:

subsys/net/ip/icmpv6.c
27.17% <0%> (-4.03%)
:arrow_down:

subsys/net/ip/net_context.c
58.98% <0%> (-3.74%)
:arrow_down:

kernel/sched.c
89.8% <0%> (-2.89%)
:arrow_down:

subsys/net/ip/tcp_internal.h
45.71% <0%> (-2.78%)
:arrow_down:

... and 179 more

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 54047dc...c6e9cae. Read the comment docs.

@mbolivar
Thanks for initiating the review process.

No problem.
This is not my area in Zephyr but I've tried to leave you a few more hints.

if we include smp_svr.c in CMakeLists.txt
zephyr_sources_ifdef(CONFIG_MCUMGR src/smp_svr.c)
like this way then I can't build the app.

That is why content under smp_svr.c is under
#if defined(CONFIG_MCUMGR)
#endif

@nvlsianpu @mbolivar
With current changes only i can build the App successfully.

@jhedberg would you like to add something from your side as correction ?

@jhedberg @carlescufi @mbolivar
App building issue has resolved. Now it is time to check the implementation. Kindly add your valuable feedback on it.

@mbolivar Done !! And thanks for more appropriate suggestion.

@jhedberg @nvlsianpu I see no obvious issues with this pull request, so I've dismissed -1 and will leave it up to you from here.

I see no obstacles for this PR merge.
@jhedberg - this is mesh example, so pleas look at it.

@jhedberg - this is mesh example, so pleas look at it.

@nvlsianpu haven't forgotten about this, but since it's not a bug fix I think it may need to wait until 1.14 is released.

^^ yes.

This sample doesnt build corrcectly under zephyr 2.1.99

This sample (/zephyrproject/zephyr/samples/boards/nrf/mesh/onoff_level_lighting_vnd_app) doesnt build corrcectly under zephyr 2.1.99

@zakariae87 I just tried building it with latest master and had no problems (for board nrf52840_pca10056)


[Dropdown] Multiple selection dropdown should close by clicking text area's empty space

Multiple selection should close when clicking the text area's empty space liike single selection dropdown does. Now it closes if clicked outside or arrow icon.

Yeah I think that it makes sense that the behavior should be consistent in both cases. I'm just not sure yet whether I think it should close in both, or stay open.
Keep in mind clicking on the toggle arrow will toggle in both cases.


Allow file reads from minio

By default minio files are not allowed read. sorry-cypress bucket needs read permissions to show on sorry cypress dashboard.
https://github.com/sorry-cypress/sorry-cypress/issues/575

This doesn't need a PR change if it's just adding to the subchart values. Anyone can do this themselves in their values.yaml at deploy time.
That said, if you're insistent, we need the changelog and version to be updated accordingly please.

Hi there. I'll close off this PR in a few weeks because it has sat dormant for some time.


”Gârdești”, ”Mărășești”, ”Obârșeni”, ”Obârșenii Lingurari” are listed in the drop-down menu

Description:
When user writes ”Gârdești”, ”Mărășești”, ”Obârșeni”, ”Obârșenii Lingurari” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Gârdești"

Expected results
The location appears in the drop-down menu as "Sat Gârdești, VASLUI (Voinești)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Mărășești"

Expected results
The location appears in the drop-down menu as "Sat Mărășești, VASLUI (Voinești)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Obârșeni"

Expected results
The location appears in the drop-down menu as "Sat Obârșeni, VASLUI (Voinești)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Obârșenii Lingurari"

Expected results
The location appears in the drop-down menu as "Sat Obârșenii Lingurari, VASLUI (Voinești)".


Failure to build with gcc 4.8

When building with GCC 4.8, I get the error
gcc: error: unrecognized command line option ‘-fstack-protector-strong’

This seems to be because of the line
+python_CPPFLAGS = -I/usr/include/python2.7 -I/usr/include/python2.7 -fno-strict-aliasing \
+  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong \
+  --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE \
+  -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 \
+  -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches \
+  -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv

(line split for readability)
hard-coding all of these options seems like a bad idea - shouldn't the build system be selecting these?
python_CPPFLAGS has some other issues

it's not clear how -Wall and other options are related to python.
-O2 -g and a large portion of the flags are duplicated

Hi Paul,
I wasn't able to reproduce the compile failure on my end - I tried gcc 4.8.3 and 4.8.5 on RHEL.
However, you are right about the unnecessary compile flags. I have checked in a new version of Makefile.diff with a simplified definition for python_CPPFLAGS.. Much tidier, and I hope it will also have the effect of resolving your issue since the problematic flag is gone.
If you still have compile issues, please let me know, and we'll try to get to the bottom of it.
Thanks for logging the issue - very much appreciated.


need command to get peer id

Once a node has been started with bacalhau serve - a user might want to know what the peer id is of that node (so other nodes can then be connected to it).
We handle the auto-creation of the private key so the peer id remains consistent between restarts but there is currently no easy way to know what that peer id is.
For example - the output of the ipfs id command:
kai@xwing:~/projects/protocol-labs/docs.bacalhau.org$ ipfs id
{
        "ID": "12D3KooWFzgLAA88BmCKZFQYX7NUM7q5rwEZ561PeKvkpww6LT36",
        "PublicKey": "CAESIFvKd0GFvALIoC5HDqZXxMASFKpwkTY7F6xgBoswOTQp",
        "Addresses": null,
        "AgentVersion": "go-ipfs/0.12.2/",
        "ProtocolVersion": "ipfs/0.1.0",
        "Protocols": null
}

Bacalhau should have an equivalent id command that will fail if no private key has been found but will print something like the above if it is found.
This is to help compute operators who want to stand up nodes and connect other nodes to it.

cc @binocarlos is this done?

sven@p1:~/src/ipfs/bacalhau$ ./bacalhau id
{
    "ID": "QmbquicBV2ThPGigatrTwTUkWAFGraqpbY6WGw2o4dAz4n"
}

?


RapidAPI Key

Great job! I would like to replicate it. I had filled-up the form requesting the RAPID API key on August 6th.
Could you please share one with me?
My email address is<EMAIL_ADDRESS>Thank you!

Hello, thank you for your attention, we have sent the relevant key according to the email address on your issue. At the same time we also updated the application form of the key address, now is https://forms.gle/S4hqVLtnqeXcNTCJA, I'm sorry before scrap lead to form link information didn't reply in time.


Update AssemblyScript Array example

The Array.create function is deprecated, and the AssemblyScript documentation has been updated since.
I stumbled upon a StackOverflow question where someone referred to the current example, and was wondering why Array.create didn't work. I gave my answer here https://stackoverflow.com/a/70580668/1471485
I also noticed from the AssemblyScript docs that map is supported now. I therefore removed the sentence saying that it's not supported.

I totally forgot about this PR, but thanks for making changes according the feedback, and thanks for merging it in ❤


Saved favicon won't be displayed

Hi,
I've just updated to 1.1.10 and favicons are not displayed anymore.
I believe they can't because of     data/.htaccess ...
I've tried with a "clean" install (only restored the DB) and it happens also.
I've disabled favicons download for now.
Thanks

I'm experiencing the same issue since updating to 1.1.10.
I view my feeds in Reeder, pulling content from my Miniflux install.  Reeder displays the favicons as usual, but when I view Miniflux directly in Chrome, the favicons don't show up.

It should not happen anymore with the last version.


Make the Vuex state editable

What problem does this feature solve?
The recent feature of editable data has been incredibly useful and is something that felt missing for a long time. But it is still missing the ability to add/edit/remove from the Vuex store.
What does the proposed API look like?
It would be the same as the editable data but in the vuex panel.

How is this feature going right now?


On some file, the value extracted for the field "DateTimeOriginal" is truncated.

For some image, the following code will truncate the DateTimleOriginal.
import piexif
path='20_BIKE_C_4_002.jpg'
if __name__ == '__main__':
    exif_dict = piexif.load(path)
    ts = exif_dict['Exif'][piexif.ExifIFD.DateTimeOriginal]
    print(ts)

will produce
b'2021:08:06 16:10:4'
instead of
b'2021:08:06 16:10:41'
The test image can be downloaded here https://issue-report-resources.s3.eu-central-1.amazonaws.com/piexif/20_BIKE_C_4_002.jpg
Important to be noted that the date is correctly extracted by other tools such as exiftool on Linux.
ExifTool Version Number         : 11.88
File Name                       : 20_BIKE_C_4_002.jpg
[...]
Date/Time Original              : 2021:08:06 16:10:41
JFIF Version                    : 1.02
[...]

Octave

I checked this file. According to the spec, DateTimeOriginal is a ascii string which must be \0 terminated and the tag length must include the \0 terminator. In your file the length (19) does not include the \0 terminator thus making it a invalid exif structure. Because of that, piexif cuts of the last character.
Other libraries are smart enough to handle this by reading the full length for the field and simply cutting of \0 bytes if necessary.
I encountered various files like this as well, so maybe piexif could implement this smarter handling as well, even though these files are against the spec.


Support for multi-tenant operations

There are going to be cross tenant apis and we would need to have some support for those in clients, currently created with one tenant in mind.

We are developing some cross-tenant endpoints in the REST API.   Clients should likely just leverage the offered services (as opposed to making multiple single-tenant requests and aggregating client-side).  Thee are targeted for admin level users with access to several tenants.  MT fetch of Alerts/Events has been added the REST API,  see [1].  Requests for other services can be discussed...
[1] https://issues.jboss.org/projects/HWKALERTS/issues/HWKALERTS-188


[FLINK-19436][tests] Properly shutdown cluster in e2e tests

What is the purpose of the change

This pull request fix the unstable TPC-DS e2e test, the test should cause by previous e2e tests didn't close cluster well.

Brief change log

Properly shutdown TMs which pulled up by  bin/taskmanager.sh start command

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): ( no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

cc: @rmetzger  Could you help review this one? Thanks

cc: @rmetzger  Could you help review this one? Thanks


Use Icon import dynamically - without importing it from staticly declared font

I was wondering whether there is a way to use an Icon, and the icon which is needed to be resolved dynamically, ex. without importing it from a special font:
in a nutshell:
I would like to ask whether there is a way, this:
import Icon from 'react-native-vector-icons/FontAwesome';
to turn into this:
import Icon from 'react-native-vector-icons';
and then for the name property we would be able to use any icon id of all the available icons in all the fonts together.
This comes handy when you want to re-use a component, but while re-using it, you need to include an icon which is in different font.
Thanks

I'd advice against it and I won't support it, but you could try import Icon from 'react-native-vector-icons/RNIMigration';

you can do something like this, I am not sure how bad or worst it is performance wise
'use strict';

import React, { PropTypes } from 'react';
import {
  View,StyleSheet
} from 'react-native';

import MaterialIcons from 'react-native-vector-icons/MaterialIcons';
import EvilIcons from 'react-native-vector-icons/EvilIcons';
import Entypo from 'react-native-vector-icons/Entypo'
import FontAwesome from 'react-native-vector-icons/FontAwesome'
import Foundation from 'react-native-vector-icons/Foundation'
import Ionicons from 'react-native-vector-icons/Ionicons'
import Octicons from 'react-native-vector-icons/Octicons'
import Zocial from 'react-native-vector-icons/Zocial'
import SimpleLineIcons from 'react-native-vector-icons/SimpleLineIcons'
import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons'

const VectorIcons = {
  MaterialIcons,
  EvilIcons,
  Entypo,
  FontAwesome,
  Foundation,
  Ionicons,
  MaterialCommunityIcons,
  Zocial,
  Octicons,
  SimpleLineIcons
};

const VectorIcon = ({groupName, name, size, style})=>{
    let Icon = VectorIcons[groupName];
    return(
        <Icon name={name} size ={size} style={style}/>
    );
}

export default VectorIcon

than within your component just use
<VectorIcon groupName={SimpleLineIcons} name ={clock} size={30}/>


Create a plugin for browser

Hi, i want create a plugin (XEP-0096: SI File Transfer), how i can create one?

Use jingle file transfer

yeh, i know it but i need use XEP-0096 :(

https://xmpp.org/extensions/xep-0137.html
just try this link .. rikuhen


chore: fix docs

What ❔

Delete unused invalid links
Fix incorrect line
Delete inaccessible links

Why ❔
I believe having comprehensive documentation is important and will be more developer-friendly.
Checklist

[x] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[x] Tests for the changes have been added / updated.
[x] Documentation comments have been added / updated.
[x] Code has been formatted via zk fmt and zk lint.
[x] Spellcheck has been run via zk spellcheck.

@dutterbutter  pls review

@MattewGraham the removed links are intentional and used internally. Please add them back.

@MattewGraham the removed links are intentional and used internally. Please add them back.

Done

@MattewGraham please add back the link from core/lib/multivm/src/versions/vm_virtual_blocks/README.md its intentional.

@MattewGraham please add back the link from core/lib/multivm/src/versions/vm_virtual_blocks/README.md its intentional.

Sorry; corrected

@MattewGraham you removed the link from docs/guides/advanced/pubdata.md this is also intentional. Please add it back. The only relevant change here is to the corrected line from docs/guides/advanced/how_transaction_works.md

@MattewGraham you removed the link from docs/guides/advanced/pubdata.md this is also intentional. Please add it back. The only relevant change here is to the corrected line from docs/guides/advanced/how_transaction_works.md

Ok

pls merge


Please add license file to pip package

text from the mit license:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

Thanks!


Bug/pm 46 markets api

Raise 400 bad request instead of 500 error when a bad ethereum address is provided to filters.

Pull Request Test Coverage Report for Build 1061

15 of 15 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 85.847%

Totals

Change from base Build 1055:
0.1%

Covered Lines:
2966

Relevant Lines:
3455

💛  - Coveralls


Is there any way to use this in a testing environment?

I've been using this module, but when it comes to testing I can't get the hash of required modules because my project isn't being transformed through browserify.

What testing environment do you use? Some tools (e.g. karma) have plugins that allow you to use the same tools you use for compilation.

Ah yes, good point. I'm using purely server-side tests using jasmine-node. I think I've figured out a way - by detecting the environment and using the require-dir module for jasmine-node.


Not work with bibtex-read-key from bibtex

For example, when we use C-u C-c C-c (call bibtex-clean-entry with new-key parameter) in a bibtex entry of bibtex file, it will use the generated autokey as initial-input parameter to completing-read if I disable selectrum-mode. However, if selectrum-mode is enabled, it will not show the generated autokey as initial input but leave me to select one from the bibtex-reference-keys which doesn't include the generated autokey.
It is might an issue related to the  initial-input parameter to completing-read.

Just saw the change log.


FATAL: Error, problem with dependency scan of“darwin.so” with "ibgdal.34.dylib" please report the bug.

Nuitka version:
2.1.3
Commercial: None
Python: 3.10.14 (main, Mar 21 2024, 11:21:31) [Clang 14.0.6 ]
Flavor: Anaconda Python
Executable: /Users/liqi/miniconda3/envs/myenv/bin/python
OS: Darwin
Arch: arm64
Version C compiler: /usr/bin/clang (clang 15.0.0).

I used "nuikta" to package the python script "gdal2tiles.py" from the "GDAL" library.
My operating system is macOS 14.1.2, I installed the gdal library via brew, and then I used miniconda to set up a virtual environment<EMAIL_ADDRESS>in which I installed the gdal library and the numpy library. Here is my pip list.
Package     Version
----------- -------
GDAL        3.8.4
Nuitka      2.1.3
numpy       1.26.4
ordered-set 4.1.0
pip         23.3.1
setuptools  68.2.2
wheel       0.41.2
zstandard   0.22.0

And this is the packing command I executed:
nuitka3 --standalone --output-filename=gdal2tiles /Users/liqi/miniconda3/envs/myenv/bin/gdal2tiles.py

After I waited about 1 hour for it to execute, the program threw an exception, and here is the full output of the run:
(myenv) liqi@liqideMBP gdalpackage % nuitka3 --standalone --output-filename=gdal2tiles /Users/liqi/miniconda3/envs/myenv/bin/gdal2tiles.py
Nuitka-Options: Used command line options: --standalone
Nuitka-Options: --output-filename=gdal2tiles
Nuitka-Options: /Users/liqi/miniconda3/envs/myenv/bin/gdal2tiles.py
Nuitka: Starting Python compilation with Nuitka '2.1.3' on Python '3.10'
Nuitka: commercial grade 'not installed'.
Nuitka-Plugins:anti-bloat: Not including '_bisect' automatically in order to
Nuitka-Plugins:anti-bloat: avoid bloat, but this may cause: may slow down by
Nuitka-Plugins:anti-bloat: using fallback implementation.
Nuitka-Plugins:anti-bloat: Not including '_json' automatically in order to avoid
Nuitka-Plugins:anti-bloat: bloat, but this may cause: may slow down by using
Nuitka-Plugins:anti-bloat: fallback implementation.
Nuitka: Completed Python level compilation and optimization.
Nuitka: Generating source code for C backend compiler.
Nuitka: Running data composer tool for optimal constant value handling.
Nuitka: Running C compilation via Scons.
Nuitka-Scons: Backend C compiler: clang (clang 15.0.0).
Nuitka-Scons: Backend linking program with 111 files (no progress information
Nuitka-Scons: available for this stage).
Nuitka-Scons: Compiled 111 C files using ccache.
Nuitka-Scons: Cached C files (using ccache) with result 'cache miss': 111
FATAL:     Error, problem with dependency scan of '~/miniconda3/envs/myenv/lib/python3.10/site-packages/osgeo/_gdal.cpython-310-darwin.so' with '/opt/homebrew/opt/gdal/lib/libgdal.34.dylib' please report the bug.

He prompted me to report the bug, so I posted this issue.
What should I do about this issue please?

It seems your environment is mixing Homebrew and Anaconda, that's not very healthy thing to have. Clean that up.

It seems your environment is mixing Homebrew and Anaconda, that's not very healthy thing to have. Clean that up.

I reset my computer and installed only miniconda. After that, I installed<EMAIL_ADDRESS>by "conda".Here is my environment.
ENVIROMMENT.TXT
And Here is my Nuitka Version:
2.1.4
Commercial: None
Python: 3.10.14 (main, Mar 21 2024, 11:21:31) [Clang 14.0.6 ]
Flavor: Anaconda Python
Executable: /Users/liqi/miniconda3/bin/python
OS: Darwin
Arch: arm64
Version C compiler: /usr/bin/clang (clang 15.0.0).

Then I executed the same command as before.Unfortunately, it still didn't work and the error was very similar to the previous one:
(base) liqi@liqideMBP gdal_pack3 % nuitka3 --standalone --output-filename=gdal2tiles /Users/liqi/miniconda3/bin/gdal2tiles.py
Nuitka-Options: Used command line options: --standalone
Nuitka-Options: --output-filename=gdal2tiles
Nuitka-Options: /Users/liqi/miniconda3/bin/gdal2tiles.py
Nuitka: Starting Python compilation with Nuitka '2.1.4' on Python '3.10'
Nuitka: commercial grade 'not installed'.
Nuitka-Plugins:anti-bloat: Not including '_bisect' automatically in order to
Nuitka-Plugins:anti-bloat: avoid bloat, but this may cause: may slow down by
Nuitka-Plugins:anti-bloat: using fallback implementation.
Nuitka-Plugins:anti-bloat: Not including '_json' automatically in order to avoid
Nuitka-Plugins:anti-bloat: bloat, but this may cause: may slow down by using
Nuitka-Plugins:anti-bloat: fallback implementation.
Nuitka: Completed Python level compilation and optimization.
Nuitka: Generating source code for C backend compiler.
Nuitka: Running data composer tool for optimal constant value handling.
Nuitka: Running C compilation via Scons.
Nuitka-Scons: Backend C compiler: clang (clang 15.0.0).
Nuitka-Scons: Backend linking program with 110 files (no progress information
Nuitka-Scons: available for this stage).
Nuitka-Scons: Compiled 110 C files using ccache.
Nuitka-Scons: Cached C files (using ccache) with result 'cache hit': 110
Nuitka-Plugins:WARNING: dll-files: DLL configuration by filename code for
Nuitka-Plugins:WARNING: 'numpy' did not give a result. Either conditions are
Nuitka-Plugins:WARNING: missing, or this version of the module needs treatment
Nuitka-Plugins:WARNING: added.
FATAL:     Error, problem with dependency scan of '~/miniconda3/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so' with<EMAIL_ADDRESS>please report the bug.

I don't know where is "@rpath",so what should I do about this problem?

That is a technicality of the linker, Nuitka fails to find out, what it is at compile time. Your report is good now, I will check it out.

In an attempt to bisect it, I didn't find any prior version, that handled this setup and didn't give the same error, so it's just plainly the broken DLL detection for the Conda package here, PyPI is going to work, I will try and figure it out. The lib folder being there for use only sometimes seems like an omission that will affect many packages.

Ah, yes, it is indeed about not being a system package, and then being reduced to DLLs that come from PYTHONPATH more or less, but the folders below Anaconda should never be considered system paths, however, they now are, and that's fixable. I am not sure now how told that limitation is, maybe I needed to go back to 1.8 even, I only tried 1.9 in my bisect attempts.

Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html
Feedback if this is working is very welcome, just please do not share plans of doing it, but rather confirmations or denials of it working.

Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html
Feedback if this is working is very welcome, just please do not share plans of doing it, but rather confirmations or denials of it working.

Thank you for your work, during these weeks I have also tried other options to package this python library, such as using cxFreeze, pyinstaller, and so on. Some of them worked, but the startup time was so long, about 60 seconds, that it was impossible to put it into production use. For now I still think nuitka should be the best solution. Thanks again for your efforts on this issue.

This is part of the current pre-release and on develop now.

Part of the 2.2 release I just made.


Chef's rspec tests not easily stopable

When running Chef's rspec tests via either:
rake spec

or
rspec

The test run can become very hard to kill at the terminal.  Sending an interrupt (^c) simply causes the currently running test to fail and then proceeds to the next test.  Suspending the job (^z) and sending a SIGKILL to the rspec process works, but feels pretty ugly.

This annoys Lamont.

Rake itself is just calling system which detaches a process to run rspec:
https://github.com/rspec/rspec-core/blob/master/lib/rspec/core/rake_task.rb#L79
Somehow the SIGINT is not getting propagated correctly to the child process or rspec is ignoring it, so it continues in the background.

So, running rspec spec/**/*_spec.rb on the command line and ctrl-c only quits the current test being run.

It looks like the interrupt handler in rspec-core is never getting called, so something in the chef codebase is presumably scribbling over it.

(but throwing puts in various trap blocks did not find which trap statement in the chef codebase is handling the interrupt)

Based on adding this code to spec_helper.rb:
class Object
  alias_method :original_trap, :trap

  def trap(*args, &block)
    puts "========================================================================================================================"
    puts caller
    puts "========================================================================================================================"
    original_trap(*args, &block)
  end
end

A strong contender for the culprit is TinyServer which creates a thread and then loads up rack which spits out:
========================================================================================================================
/home/lamont/.rvm/gems/ruby-2.2.3/gems/rack-1.5.5/lib/rack/server.rb:256:in `start'
/home/lamont/oc/chef/spec/tiny_server.rb:69:in `block in start'
========================================================================================================================

Commenting out the code for the INT handler in the rack gem fixes the problem