First character deleted from completion line on accept

As mentioned here: https://github.com/Saghen/blink.cmp/issues/20#issuecomment-2400242033 there is an issue where the first character from the line being autocompleted is deleted when accepting an item:
(group-|)
;; Press <Cr> / your accept key
group-by|)

The first bracket is deleted. This does not occur, in this example, when adding a space at the beginning:
 (group-|)
;; Press <Cr> / your accept key
 (group-by|)

Maybe a more approachable reproduce guide:
In an empty lua file type:
{a|}

and accept the autocomplete item. Results in:
assert|}


How to train the ReplitLM model

When training, it is based on tramsformers' training course.
It is started on the A100-80g machine, but the per gpu batch-size can be set to 2 at most, and there is extremely unbalanced memory occupation on multiple cards, such as 60G+ for the 0th card and 30G+ for other cards.
In addition, is there a training parameter? Because of the current training strategy, the loss value is very large, and it almost drops slowly.

The tranining framework should be https://github.com/mosaicml/llm-foundry


[TECH ED] Module Project

Link to the coursework
https://github.com/CodeYourFuture/HTML-CSS-Module-Project
Why are we doing this?
Each module you should produce something substantial that takes multiple weeks for your professional portfolio. This project starts fairly simply and gets more complicated as you iterate, which is how websites are built in real life too.
Unlike the wireframe projects, this project uses mockups. Mockups are pixel-finished pictures of how websites should look, and getting the look exactly right is the goal here, as well as maintaining correctness in your underlying code.
Maximum time in hours
6
How to get help
Share your blockers in your class channel. Use the opportunity to refine your skill in Asking Questions like a developer. Bring your work to class and use study time to work on problems with other developers.
How to submit

Fork to your Github account.
Make regular small commits with clear messages.
When you are ready, open a PR to the CYF repo, following the instructions in the PR template.

How to review

Complete your PR template
Ask for review from a classmate or mentor
Make changes based on their feedback
Review and refactor again once the coursework solutions are released.

Anything else?
Mockups only ever show a few snapshots of pages, but websites must work at all the sizes in between. It's a challenge, but it's one everyone else faces too. How do they solve it?  Research will help you, as will collaboration.

Kamino cloned this issue to maz786/Coursework-Planner


refactor(gateways): use DataLoader for detail views

chore(DataLouder): make data and errors optional
Make the data and errors prop so users of DataLoader can actually not provide them.
Remove the unused default value from the src prop. Providing an empty source should require an explicit action on the usage side.
refactor(gateways): use DataLoader for detail views
Signed-off-by: Philipp Rudloff<EMAIL_ADDRESS>

This looks great to me now, one thing I spotted that isn't in the diff here is that we need to remove :error from both instances of AppCollection here. DataLoader deals with the errors now so ApplCollection isn't even rendered anymore if there is an error.
Here https://github.com/kumahq/kuma-gui/blob/90e00f27ebc4b80c7b39800af2319f76a883b224/src/app/gateways/views/DelegatedGatewayDetailView.vue#L91
And here https://github.com/kumahq/kuma-gui/blob/90e00f27ebc4b80c7b39800af2319f76a883b224/src/app/gateways/views/BuiltinGatewayDetailView.vue#L48
Let me know on those then I think this is good to go


Backend for products

This MR intriduces the fastapi backend to store information about the available products.
It adds:

a container with the fastapi
a basic fastapi app
pytest setup
migrations via flyway

However we still need to improve the database design.
I currently have 2 tables:

products (what ever we want to show as an entry in the fronend, a shakyground result or deus damage computation for example)
result links (we can have multiple result links per product ; say the XML output of shakyground as one, the WMS URL of it as another one - so that we can display the data in a map in the frontend)

I still miss something like literal inputs & the links to existing results (as input for the next one).

Looks great! And I see you already connected it to the postgres-container. Thanks a lot! I'd like to merge this immediately - we can still add the links to the existing results in another MR, right?


Leetcode Question Number 29

Leetcode Question Number 29 soultion needs to be added in the repo .
The link for the question is this.
Accepted Languages C++ / JAVA .
You Only need to add the  class Solution in the file.
Make Sure you have read the contributions guidelines before creating an PR.

Assign me


RFC: Pre-release version-bump process

overview
This is an RFC ticket to spec out a basic version-bump process to get us started with releasing. Even while we're prerelease on v3, we need to track our releases in order to support internal / beta users.
proposal
I think we should start with a fairly manual process. After using it for a little, we can refine before we go ahead and automate / script what we like.
I've got two options here and I'm wondering which one y'all prefer. Vote by adding a reaction to this PR:
Option A: 🎉
Option B: 😆

Option A only: Create a release branch: release_${version}
Bump pre-release version in <root>/package.json
Run python scripts/bump_version.py --sync

Syncs the bumped version with all the projects
Not using --major, --minor, and --bugfix options just yet
Could also update script with a --pre option to do (1) automatically

Run make install test lint

Updates api's __version__.py file
Also, you know, important for safety

option A

Commit the bump to release branch with message: release: ${version}
Open a release pull request into edge
Get 👍s
Merge PR
Fetch/pull/checkout latest edge on your machine
git tag -a v${version} -m 'release: ${version}
git push --tags

option B

Commit the bump directly to edge with message: release: ${version}
git tag -a v${version} -m 'release: ${version}
git push --follow-tags

notes
yarn has a built in command yarn version that launches a version bump wizard to update package.json and tag the commit. In combination with the preversion and postversion package.json scripts calling various git commands and bump_version.py, we could probably simplify both option A or B

Soft preference for B because it avoids the PR back into edge, but either works

Also, it seems like edge is the right place for beta and RC releases, but once we've got a release candidate that we're happy with and actually calling it a stable release, we should merge it over top of master

Soft preference for B because it avoids the PR back into edge, but either works

Not that it should be used as justification for a process, but option (B) is what I'm most used to and how the default yarn update command works.

once we've got a release candidate..., we should merge it over top of master

Absolutely. I wanna see how we do with pre-releases so we can end up with something sane and straightforward for actual releases in master

B seems more straightforward to me.
Don't wanna derail here, but elsewhere we should also discuss: How do we decide when it's time to do a new release, and how do we communicate it (at least internally)? We've been having an ongoing convo around that, but have we written down our release process anywhere?

How do we decide when it's time to do a new release, and how do we communicate it (at least internally)?

Super important point that I'd love to be a part of this discussion. We haven't written anything down, but also nothing's really decided. @umbhau @btmorr or @Kadee80 do y'all have any thoughts? Could we do it in sprint planning? e.g. have a release ticket that tracks several other tickets, and when they're closed out we issue the release?

@mcous This seems like a sensible use of milestones

Closing this RFC as we have settled into a process. Further process improvements will happen in new tickets


PactDslArrayJson - Best way to validate elements inside array with inconsistent order

I have this array structure:
{
Array1 : ["A","B","C"],
Array2: ["D","E","F"]
}

And I was validated it like this:
array("array1")
 .string("A")
 .string("B")
 .string("C")
.closeArray()
array("array2")
 .string("D")
 .string("E")
 .string("F")
.closeArray()

But my problem is that  sometimes the elements inside array aren't returned by provider in the same order, so, my question is: How is the best way to validate it?
Considering that it will always return an array of 4 elements but with strings value in inconsistent order.
I already tried arrayMinLike and arrayMaxLike, but not worked.

I also tried on this way:

.minArrayLike("array1", 1, PactDslJsonRootValue.stringMatcher("A|B|C", "A"))
    .minArrayLike("array2", 1, PactDslJsonRootValue.stringMatcher("D|E|F", "D"))

But pact generate a contract like:
array1 : [A,A,A],
array2: [D,D,D]

Looks like the regex doesn't work..

There's a distinction you might be missing in that stringMatcher usage vs generated examples.
["D""D","D"] is certainly valid, by that regex. The second argument ("D") to the matcher function is the example that will be used to generate the response value.
If you provide ["D","F","E"] in the request, it will still pass :)
In short, the example and the matcher won't give you exhaustive test data.

I got it fixed, adding the last version of pact (5.8.24)


Investigate database patching possibilities using SSM

User Story
As a member account user
I want to be able to patch databases on ec2
So that when they are migrated, a process in in place for auto-patching
User Type(s)
Database admins for nomis and other teams.
Value
Migrating databases will be ever so tempting when we have a patching process in place.
Definition of done

[ ] readme has been updated
[ ] user docs have been updated
[ ] another team member has reviewed
[ ] tests are green
[ ] UR test OR added to continual research plan

Reference
How to write good user stories

It's possible through SSM but would need a DBA to create scripts for this. Application team responsibility rather than MODERNISATION PLATFORM


Committee admin cannot appoint themselves as meeting admins if too

old issue from the backend with updated information: https://github.com/OpenSlides/openslides-backend/issues/2205
Current behaviour:
if an committee admin tries to appoint themselves as a meeting admin in a meeting with a date the following error is thrown:
Error: You are not allowed to perform action meeting.update. Missing Permission: meeting.can_manage_settings

Reproduction:
Orga-level:

login as a committee admin
create a new meeting with a date
remove yourself as the meeting admin
try to add yourself as an meeting again
the Error appears

Wanted behaviour:
If a user is a committee admin then they need to be able to appoint themselves as meeting admin in every meeting from their committee, even if other meta-data is set about the meeting

I can reproduce this.


fix 613 - add tests

Pull Request Checklist:

[X] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #613

[X] Tests for the changes have been added (for bug fixes / features)
[ ] Documentation has been added / updated (for bug fixes / features)
[X] HISTORY.rst has been updated (with summary of main changes)
[ ] bumpversion (major / minor / patch) has been called on this branch
[ ] Tags have been pushed (git push --tags)

What kind of change does this PR introduce?
Bug fix

Does this PR introduce a breaking change?
No

Other information:

@huard @aulemahal   FYI my tox isn't setup to do anything but py3.8 but this seems ok.   Maybe double check my use of pytest tmpdir fixture?  seems easy but just in case

@huard @aulemahal   FYI my tox isn't setup to do anything but py3.8 but this seems ok.   Maybe double check my use of pytest tmpdir fixture?  seems easy but just in case


Change icons to use drawable reference

This removes the attr definitions for icons as we're using the same ones for dark and light mode and there is no reason to keep this setup in place. The icons are now referenced directly, which will allow easier transition to the new Material 3 icons and consolidating them into it's own icon module.
FoldableLinearLayout was removed as it was only referenced by the attr definition.
This change allowed to remove some unused icons.

I liked having a layer to separate between icon (ic_cog) and function (iconSettings) and hope we'll bring it back in some form at some point.

We discussed this already with design and we are going to use the icon names from the Material icon library.


Remove obsolete code.

Since version 1.1.0 Dijkstra.NET will free from mutate graph by algorithms.

#30


Set timezone

Before closing this issue as a duplicate, all the other answers do not work.
You can try this by simply running:
docker run -e "TZ=UTC" -e "PGTZ=UTC" -p 5432:5432 postgres:12-alpine

then:
show timezone;

will still return local timezone instead of the timezone set in TZ/PGTZ. I've tried this with other timezones as well (eg. Europe/Amsterdam), as well as with older images (eg. 9.5-alpine).

I can't reproduce
$ docker run -d --name postgres -e "TZ=UTC" -e "PGTZ=UTC" -e POSTGRES_PASSWORD=pass -p 5432:5432 postgres:12-alpine
2d54a60a00609495ca689bf29fc31f24cccd61fa51024e86226c764b22ab1f19

$ docker exec -it postgres ash

/ # date
Wed May 13 14:45:09 UTC 2020

/ # psql -Upostgres
psql (12.2)
Type "help" for help.

postgres=# show timezone;
 TimeZone
----------
 UTC
(1 row)

Sorry, turns out DBeaver was setting the timezone in the session to localtime, I tried it using docker exec and it is UTC, thanks.

I'm not able to reproduce
$ docker build -t postgres:test - << EOF
FROM postgres:alpine
ENV PGTZ=America/Los_Angeles
EOF
Sending build context to Docker daemon  2.048kB
Step 1/2 : FROM postgres:alpine
 ---> ebf01b748a56
Step 2/2 : ENV PGTZ=America/Los_Angeles
 ---> Running in ae49fc693778
Removing intermediate container ae49fc693778
 ---> d7eb5e9d5018
Successfully built d7eb5e9d5018
Successfully tagged postgres:test

$ docker run -d --name postgres -e POSTGRES_PASSWORD=test postgres:test
68c6e3226879d3627e06801cd959c2b1622c752727f1a9e39a4787d6930400d9

$ docker exec -it postgres psql -U postgres
psql (14.2)
Type "help" for help.

postgres=# show timezone;
      TimeZone
---------------------
 America/Los_Angeles
(1 row)

Also for some timezones PGTZ wants a location, if it gets an invalid variable it critical errors on start
$ docker build -t postgres:test - << EOF
FROM postgres:alpine
ENV PGTZ=PST
EOF
Sending build context to Docker daemon  2.048kB
Step 1/2 : FROM postgres:alpine
 ---> ebf01b748a56
Step 2/2 : ENV PGTZ=PST
 ---> Running in 2d382352675f
Removing intermediate container 2d382352675f
 ---> de6ad49d2511
Successfully built de6ad49d2511
Successfully tagged postgres:test

$ docker run -d --name postgres -e POSTGRES_PASSWORD=test postgres:test
f07d491721259179b2d9997e39d40645aa2daf0af6f6e2e3b85cfc70d078ecd0

$ docker logs postgres 2>&1 | tail -n 3
server started
2022-04-07 15:49:24.166 UTC [47] FATAL:  invalid value for parameter "TimeZone": "PST"
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL:  invalid value for parameter "TimeZone": "PST"

Sorry, turns out DBeaver was setting the timezone in the session to localtime, I tried it using docker exec and it is UTC, thanks.

u changed default timezone to UTC in preferences, yes ?


[Feature Request] Configure admin username

Is your feature request related to a problem? Please describe.
Portainer does not allow the user to change a username once set. A username of admin is not best practice and it's customary to configure such things during deployment - especially when your infrastructure is automated (ansible, puppet, etc.)
Describe the solution you'd like
Portainer allows us to specify the password as a docker environment variable, or docker secret.
Please also allow us to specify the admin username in the same way
Additional context
It's standard practice to be able to create a username and password via configuration, e.g. environment variables, docker secrets, etc. This ensures that the container is secured on first load.

@RDLRA Thanks. Though assuming that's possible via the API, it's still a complicated workaround.
This should be deploy-time configurable.

This would make it easier to me also.

Hello @deviantony I just upgraded from 1.x to 2.x and I noticed that I could change the admin username. Thanks for that feature, and for the new version which I'm enjoying so far!
I was wondering whether specifying the admin username at deploy time (e.g. via a command line switch or whatever) will still be considered?
It's makes things easier in automated environments (ansible/puppet).

Hi @lonix1, configuration at deploy time is not really in our plans at the moment however I'll consider it in the automation friendly deployment area and we might come back to this discussion.


SCP-902: Contract RPC

Add two new effects that are available to contracts.

OwnId, returns the ID of the contract instance (similar to OwnPubKey)
Notify, sends a notification to another contract instance

notify :: forall ep a otherSchema s.
  ( HasContractNotify s
  , HasEndpoint ep a otherSchema
  , ToJSON a
  )
  => ContractInstanceId
  -> a
  -> Contract s NotificationError ()

Add Language.Plutus.Contract.Effects.RPC which uses Notify to implement request-response calls between contract instances (basically some type classes & conveniences for two Notify calls)
Add ContractRuntimeEffect to Wallet.Effects for sending notifications to contract instances

This required some shuffling around of types, I ended up moving a lot of them to Wallet.Types

Extend the request handlers in Language.Plutus.Contract.Trace.RequestHandler to deal with Notify and OwnInstance requests from contracts
Implement ContractRuntimeEffect in emulator & SCB

The emulator only knows about wallets, not about contract instances. So I added walletInstanceId :: Wallet -> ContractInstanceId and instanceIdWallet :: ContractInstanceId -> Maybe Wallet
In Plutus.SCB.Core.ContractInstance.hs I had to change callEndpoint slightly so that we can catch errors and propagate them back to the contract instance that made the call to Notify, instead of erroring out

Add Language.PlutusTx.Coordination.Contracts.RPC to plutus-use-cases, a contract that just uses the RPC feature

Add tests for RPC contract to plutus-use-cases-test (using emulator) and plutus-scb-test (using SCB)

I'll just leave this open until you are back @michaelpj , I can start building the next contract on top of this branch.

The own-id/notify scheme seems familiar, did you borrow this RPC idea from somewhere? Might be worth considering if we should steal someone else's approach.

I just tried to come up with a solution that works well with our setup. It's not based on any particular RPC implementation that I know of. It is highly likely that something like this exists already though.
I can add a reference to http://www.pathsensitive.com/2019/07/the-best-refactoring-youve-never-heard.html, which is where I first read about the general pattern.

I thought that was about defunctionalization?
Anyway, it just strikes me as something people might have thought about. I expect what you've got is fine (although I haven't looked at it yet!).

I thought that was about defunctionalization?

Yeah for the part where it passes in the ContractInstanceId of the caller so that the callee can notify it of the response

There are a couple of RPC packages on hackage, for specific protocols (such as JSON-RPC, Apache Thrift, etc). Most of them seem to follow the pattern described on Wikipedia
One thing I just noticed is missing from this implementation is the ability of the server to cancel the RPC. We can throw an error in respondRPC, but this won't be propagated to the client. I'll change that.

I slightly worry about reusing the same endpoints for RPC as for normal contract interaction

Yeah I was thinking about that too. We could use something like newtype Hidden a = Hidden a and then filter out all endpoints whose type is Hidden? I think we'll need to ask the user for permission before calling an endpoint on another contract too.

I think we'll need to ask the user for permission before calling an endpoint on another contract too.

Hmm yes, maybe. Do we want to ask them for permission for the response? I could see it going either way.

Maybe the permission should be for a pair of contract instances, and then the two can make whatever calls to each other they want.

There is something wrong with the Purescript build, @krisajenkins  could you have a look at it please? I don't now how to fix it.


feat: Docs check implementation

This integrates a doc checker based on doc8 and fixes the docs according to it.

Thanks! That will greatly help improving docs quality :)


GET /user/get-session-user -> /user/session-user

can i try to take this issue?

@shootermv This issue is not open for contribution at the moment.
It is in out POST MVP milestone. We have not hit MVP yet. So, it will be a while before we get to this.


Handle 404 raised by requests from ThermoML

This fixes the two tests that were failing in CI with the simplest solution I could think of that closely conforms to the existing behavior; I'm not quite sure if this was a change in ThermoML or an unrelated change in this repo.

Superseded by #394


[Event Request] codeunit 7301 "Whse. Jnl.-Register Line". - Add parameter to function OnBeforeInsertWhseEntry

Dear ALAppExtensions Team,
Is it possible to add a VAR parameter to function OnBeforeInsertWhseEntry in codeunit 7301?
-OnBeforeInsertWhseEntry(WhseEntry);
+OnBeforeInsertWhseEntry(WhseEntry, var WhseJnlLine);

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Update wallet adapter + misc improvements

Description

Updates the versions of @solana/wallet-adapter-* and @solana/web3.js used, which include various fixes and UX improvements
Uses the useAnchorWallet hook provided by @solana/wallet-adapter-react to handle interfacing between React and Anchor
Adds Slope (https://slope.finance/#/wallet) since it has NFT display capability (the first 3 wallets are shown by default now)
Adds support for the Sollet browser extension
Adds a .env.example template file and adjusts the docs accordingly

Type of change

[x] New feature
[x] Refactor

How Has This Been Tested?

[x] Developer Tools

Built and ran using yarn start

By the way if you like some of these changes and don't like others (i.e. the env changes), I can just unbundle them.

Hey! Just looking at this now. Thanks for the contribs and I'll get you feedback stat

these changes feel totally reasonable. I see some styling / visual changes that I don't have time to check right this second. would you mind posting a screenshot? I'm willing to go off of that as documentation of visual improvements. If not, will have to circle back to view that.

I see some styling / visual changes that I don't have time to check right this second. would you mind posting a screenshot?

Yeah, totally. So for reference, the Material UI theme changes come verbatim from here: https://github.com/solana-labs/wallet-adapter/blob/f99da7e088cf95643cf983ebac133cb9f7c4e46a/packages/starter/material-ui-starter/src/App.tsx#L8-L34
And the CSS change comes verbatim from here: https://github.com/solana-labs/wallet-adapter/blob/f99da7e088cf95643cf983ebac133cb9f7c4e46a/packages/starter/material-ui-starter/src/index.css#L8-L9
Before:

After:

Users can override these however they want, but the ThemeProvider in MUI allows them to set colors and overrides that will be used throughout the app rather than at the component level. This PR just provides a sane default based on what @solana/wallet-adapter-material-ui uses.

Thank you for the added info and sorry the merge took so long!


Private message fixes and gameID

This will end #33
Also added gameId property in users, this way listening "presence" event is not necessary to know current gameId.

Thanks for the PR!


Footnotes fixes

fixed esl-note-group attributes propagation
fixed behavior during connect/disconnect callbacks

:tada: This PR is included in version 3.13.0-beta.4 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Build system updates + Migrate opni-ui repo

[x] Move admin dashboard code in-tree
[x] Graft newer commits to opni-ui the into this branch
[x] Redesign magefile structure
[x] Migrate dagger CI code to the new Go sdk

[x] Core build steps for Go and TS code
[x] Tests/coverage reports
[x] Opni image build/push
[x] Helm charts build/push
[x] OCI helm charts build/push
[x] Out-of-tree images
[x] Configuration management
[x] Remove dagger CUE code

[x] Update drone config
[x] Squash/organize/clean commit history

This contains all commits from rancher/opni-ui starting at https://github.com/rancher/opni-ui/commit/112c430b1623e6cf8ab7c570d876c15a9951ffb5 until https://github.com/rancher/opni-ui/commit/8cde81f4979edb6a527ceb77408a6dec1eaa26a6 (main), excluding merge commits, plus the following additional modifications:

history updated to move everything under the web/ subdirectory
history for the following files/directories has been removed (as such, commits that modified only files in this list will not carry over):

.github/
assets/
.drone.yml
Dockerfile
charts/
extensions/
index.yaml
pkg/opni/utils/logs.json

The commit history for this branch conceptually looks something like this, except that 9a2c72f09 is in actuality parented to main.
* 65f669480 2023-06-16 (HEAD -> dagger, origin/dagger) Remove temporary replacement of ory/fosite (Joe Kralicky)
* 10eb0f010 2023-06-16 Add interactive setup mode (Joe Kralicky)
* a1f4a27d5 2023-06-15 add doc comments for mage targets; add testenv build target (Joe Kralicky)
* 610d3c98b 2023-06-15 remove deploy/ (Joe Kralicky)
* 6003360e5 2023-06-15 clean up images/ (Joe Kralicky)
* a819f4752 2023-06-15 fix/improve out of tree builds (Joe Kralicky)
* 7d9448d22 2023-06-14 Add missing error check (Joe Kralicky)
* 37f838792 2023-06-14 Mage target fixes (Joe Kralicky)
* 4a834f1cb 2023-06-13 fix dir mounts (Joe Kralicky)
* c623a2632 2023-06-13 caching fixes (Joe Kralicky)
* 0de2d1561 2023-06-13 code cleanup, switch code coverage export to drone-pr only (Joe Kralicky)
* 05f642c92 2023-06-13 restrict codecov upload to drone-publish (Joe Kralicky)
* f1560c4e9 2023-06-13 add cache mode options (Joe Kralicky)
* 3618b9bca 2023-06-13 fix config validation (Joe Kralicky)
* e7c5b3883 2023-06-13 switch dagger module version (Joe Kralicky)
* 4f6c19924 2023-06-13 update drone config; fix some protobuf go_package paths; add debug config setting (Joe Kralicky)
* c723b3f3d 2023-06-12 test drone config updates (Joe Kralicky)
* 19f3984f2 2023-06-12 configuration improvements (Joe Kralicky)
* e5683c7f9 2023-06-09 Fix testbin (Joe Kralicky)
* b8005218c 2023-06-08 Remove dagger cue code (Joe Kralicky)
* 10a82ccb1 2023-06-08 Add test, testenv, and testbin commands (Joe Kralicky)
* a83cdf11c 2023-06-07 Work in progress: out-of-tree builds, git fixes, optimizations/logging improvements, config/env improvements (Joe Kralicky)
* cf0b450e1 2023-06-07 Replace github.com/ory/x to address dependency conflict (Joe Kralicky)
* 4cbe6b559 2023-06-06 work in progress: configuration, charts, out-of-tree images (Joe Kralicky)
* ab72b3da6 2023-06-06 Update tools.go (Joe Kralicky)
* 6522a2194 2023-06-06 Update .gitignore (Joe Kralicky)
* c77a5150a 2023-05-15 work in progress: dagger build pipelines (Joe Kralicky)
* 4b0d29ac3 2023-05-15 Fix plugins build (Joe Kralicky)
* 6cb342b22 2023-05-11 move plugin api packages up one level (Joe Kralicky)
* 119e9bf60 2023-05-10 Move conformance tests to pkg/test (Joe Kralicky)
* d5560fb2a 2023-05-09 dashboard build and optimizations (Joe Kralicky)
* 1edc8d3f6 2023-05-09 rename storage conformance test files to have _test suffix (Joe Kralicky)
* 99c8d70a1 2023-05-05 work in progress: transition to dagger go sdk (Joe Kralicky)
|\
| \
|  * 07013e0ea 2023-06-02 Removing the crd from the install command on the agents page (codyrancher)
|  * e902c2c14 2023-06-01 Made it so message options can be edited on alarms (codyrancher)
|  * fa8aa0508 2023-06-01 Fixed the tab titles for cluster pages to agent (codyrancher)
|  * 155f66614 2023-06-01 Fixed an issue where the PromptRemove was failing in standalone (codyrancher)
|  * c5a1942bc 2023-05-31 Updating the state enumeration of alarms/conditions (codyrancher)
|  * 9fb62666d 2023-05-31 Fixing the test endpoint button for alerting endpoints (codyrancher)
|  * fd175d3dd 2023-05-26 Removing what appears to be test code (codyrancher)
|  * 70844b996 2023-05-25 Fix flyout position to always be anchored to the bottom of the window (Joe Kralicky)
|  * 9cbcef9c5 2023-05-25 Enable host metrics by default when using otel driver (Joe Kralicky)
|  * 03923f898 2023-05-24 Fix capability status messages (Joe Kralicky)
|  * 55410fcc8 2023-05-23 Add bubble css (Joe Kralicky)
|  * 46a058709 2023-05-23 Fix short message labels in capability table (Joe Kralicky)
|  * 6a9a4c783 2023-05-23 Fix typos (Joe Kralicky)
|  * 1a7f8a4c5 2023-05-19 Fix default capability status (Joe Kralicky)
|  * 76a4d27b5 2023-05-19 Monitoring capability table column wording adjustments (Joe Kralicky)
|  * 3f446bb4d 2023-05-19 Fix bug with UnitInput properties when no units should be displayed (Joe Kralicky)
|  * 279e80f19 2023-05-19 Fix routing in alerting pages (Joe Kralicky)
|  * bfd268bf6 2023-05-19 Fix logging capability name (Joe Kralicky)
|  * 9c59923ef 2023-05-19 Lint/format pass (Joe Kralicky)
|  * d10632085 2023-05-19 Update usages of string constants to use strongly typed enums where available in the api (Joe Kralicky)
|  * 6d3c2734d 2023-05-19 Improve capability status with detailed per-node warnings (Joe Kralicky)
|  * ccf894b74 2023-05-03 Updating how we set the base elemenbt in standalone. We need the base to be '/' so the relative urls use root paths (codyrancher)
|  * 435f80554 2023-05-10 Adding the ability to display and change the metrics capability provider (codyrancher)
|  * 0ce8d375b 2023-05-04 rancher/shell bump and workflow test (codyrancher)
|  * 77a079a05 2023-05-03 Disabling the clear watchlist button if we're in the middle of training (codyrancher)
|  * 6bcb4a251 2023-05-03 Removing the call to a non-existant load method (codyrancher)
|  * 7379ac284 2023-05-03 Updating the path used for the mangement api (codyrancher)
|  * d9c2fd95d 2023-05-03 Updated rancher/shell (codyrancher)
|  * 9eb5e2dd6 2023-05-02 Adding a banner to inform the user that they should install the monitoring capability on the local agent (codyrancher)
|  * 4e61caf34 2023-05-02 Making a handful of fixes for the new code base - Including all of the tableHeader translations - Making the publicPath only be used when not standalone - Canceling requests that rancher/shell makes that we don't want to happen in standalone (codyrancher)
|  * e35728bcc 2023-05-01 Fix workflows (codyrancher)
|  * 553a20589 2023-05-01 Adding missing formatters and methods from the time util. (codyrancher)
|  * 9a2c72f09 2023-05-01 Migrating the extension into this repo (codyrancher)
|
|
* 7a8dfb672 2023-06-15 2023-06-15 (origin/main, origin/HEAD, main) Merge pull request #1513 from rancher/ci-fix (Alexandre Lamarre)

Codecov Report
Patch coverage: 32.69% and project coverage change: -2.48 :warning:

Comparison is base (aecb6bd) 57.23% compared to head (be2ce86) 54.76%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1489      +/-   ##
==========================================
- Coverage   57.23%   54.76%   -2.48%
==========================================
  Files         352      498     +146
  Lines       31174    39145    +7971
==========================================
+ Hits        17843    21436    +3593
- Misses      11883    16019    +4136
- Partials     1448     1690     +242

Impacted Files
Coverage Δ

internal/codegen/cli/cli_gen.go
0.00% <0.00%> (ø)

pkg/otel/types.go
26.25% <0.00%> (+10.00%)
:arrow_up:

pkg/resources/collector/metrics.go
90.17% <ø> (ø)

plugins/aiops/pkg/gateway/admin.go
78.62% <ø> (ø)

plugins/aiops/pkg/gateway/modeltraining.go
0.00% <ø> (ø)

plugins/aiops/pkg/gateway/plugin.go
42.52% <ø> (ø)

plugins/alerting/apis/alertops/client.go
0.00% <ø> (ø)

plugins/alerting/apis/alertops/validate.go
0.00% <ø> (ø)

...ugins/alerting/pkg/alerting/alarms/v1/component.go
28.30% <ø> (-33.97%)
:arrow_down:

plugins/alerting/pkg/alerting/alarms/v1/delete.go
0.00% <ø> (-16.67%)
:arrow_down:

... and 56 more

... and 220 files with indirect coverage changes

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

Could we include a contributing or development readme to provide some instructions on how to get started with the build system


Files at "WEB-INF/help" and "WEB-INF/terms-of-service" aren't used

The files WEB-INF/help/1Example and WEB-INF/terms-of-service/terms_of_service aren't used nor referenced anywhere in the project. I'm assuming that they shouldn't exist.

Closing... thanks @dhfelix !


Idea google-chrome-devtools: Record automated script tracer with optional detail

Idea:
I'd like to hit a button to start recording a new trace of scripted class methods that have been executed until I hit stop.
The output could be dumped to a screen or log that should easily be exported to a database for analysis and further correlation.
Detail log level options for example:
By default:

Class Name

Optional:

Include Method Names
Only record if code is in included specific folders or files
Respect existing debug exclude folder
Include a variable watch when in scope

Would by brilliant to show a graph of the interaction just like the git revision graph.
Background:
A lot of companies I've worked with are moving old code c# to typescript with code generators and tey hook them to Angular front ends.  But trying to find out what is being used is very difficult to remove redundant code or develop useful tests.  Also this is a great idea for general debugging without having to go line by line to see where the rabbit hole goes.
Support:

Javascript
TypeScript and sourcemaps

Hi @paulthomas75, thanks for the idea.
As Pete mentioned, this is the docs repo. You can open a feature request on https://crbug.com
Just pasting a link to the description that you've created above should be good enough: https://github.com/google/WebFundamentals/issues/5462#issue-280531757


unsupported datatype:uuid when teying to access visits table from admin

In heroku logs: RuntimeError (Unsupported field datatype: uuid)
in rails console, it seems to work fine.

I think this is a duplicate and is fixed.


Problems with Xcode 6.3.

Hi, i'm trying to implement Admob ads in my Unity3d game.
I followed all the installations rules found here: https://github.com/googleads/googleads-mobile-plugins/blob/master/unity/README.md
Everything worked perfect until the 3rd step: Set Enable Modules (C and Objective-C) to Yes in Build Settings.
I wasn't able to find "Enable Modules" in Xcode. I searched on google and i found out that "with the new Xcode update you don't have to enable modules because they are enabled automatically". Another thing that i wasn't able to was to: " From the Xcode project navigator, right-click on the project, and choose Add Files To "" " because i wasn't able to find "Add Files To"" ". So i tried to build the game, and here comes the problem. I get like 50 errors like this:
http://s11.postimg.org/s24kgyn8z/Screen_Shot_2015_05_31_at_12_36_04_AM.png
I tried to find this on google and all i found is for older Xcode versions. (and something with # instead of @ at imports but it doesn't work, or i don't know where should i use @ and where should i use #) I saw that you can set modules enabled in AppleLLMV 6.0 but i have 6.1.
I'm using Version 6.3 (6D570) and iOS 7.3.1 .
Thank you for reading this and trying to help me !

Yes I also renontre full error.
Would it be possibe to have the new files to Xcode 6.3 and SDK 7.3.1 Google
thank you

Within Xcode 6.3.1 I am able to find both the "Enable modules (C and Objective-C)" and "Add Files to project name" options. I have attached a screenshot below.

Ram

I've tried again to do it.
I installed XCode Version 6.3.1 (6D1002). I was able to find Add Files to
"Unity-iPhone" and i did it.
After that i linked googleMobileAds.framework. (i attached a printscreen)
Then, the last step: i searched in the search bar, in build settings
"enable modules", as you did and nothing found. (i attached a printscreen).
Before i opened XCode project i added googlemobileplugin.package in my
unity project and build it. (the only thing that i didn't do was to put a
real id for ad_unit_id, but i don't think that's a problem).
Do you think that i need something more than XCode to see Apple LLVM 6.1 -
Language - Modules ?
Errors are the same. (i attached printscreen).
I downloaded XCode Version 6.3.1 (6D1002) from
https://developer.apple.com/downloads/ (attached printscreen). I have to
mention that it is the only thing that i downloaded.
PS: I'm using OS X YOSEMITE Version: 10.10.3 (14D136) and i'm not a mac
user. (I bought it just for developing for ios and i don't have experience
in using the System or XCode).
2015-06-02 23:36 GMT+03:00 rampara<EMAIL_ADDRESS>
Within Xcode 6.3.1 I am able to find both the "Enable modules (C and
Objective-C)" and "Add Files to project name" options. I have attached
a screenshot below.
[image: screen shot 2015-06-02 at 1 34 49 pm]
https://cloud.githubusercontent.com/assets/11047881/7946566/3586ecc2-092c-11e5-96b5-147c909d9e66.png

Ram

—
Reply to this email directly or view it on GitHub
https://github.com/googleads/googleads-mobile-plugins/issues/105#issuecomment-108090959
.

The am unable to view any of the screenshots you mention attaching.

Ram

Can't you see it in your email ?
2015-06-03 0:02 GMT+03:00 rampara<EMAIL_ADDRESS>
The am unable to view any of the screenshots you mention attaching.

Ram

—
Reply to this email directly or view it on GitHub
https://github.com/googleads/googleads-mobile-plugins/issues/105#issuecomment-108098005
.

Not through email or github.


Update qtssh's putty to version 0.78.

Updated VisIt's build of qtssh to utilize putty's CMake build system, with modifications.
Remove qtssh build support for unix per team discussion.
Description
Resolves #18437
Type of change

[X] Bug fix~~
* [ ] New feature
* [ ] Documentation update
* [ ] Other

How Has This Been Tested?
Confirmed ability to connect client-server from Windows to LC.
Reminders:

Please follow the style guidelines of this project.
Please perform a self-review of your code before submitting a PR and asking others to review it.
Please assign reviewers (see VisIt's PR procedures for more information).

Checklist:

[X] I have commented my code where applicable.~~
[X] I have updated the release notes.~~
- [ ] I have made corresponding changes to the documentation.
- [ ] I have added debugging support to my changes.
- [ ] I have added tests that prove my fix is effective or that my feature works.
- [ ] I have confirmed new and existing unit tests pass locally with my changes.
- [ ] I have added new baselines for any new tests to the repo.
[X] I have NOT made any changes to protocol or public interfaces in an RC branch.~~

Great work on this @biagas 💪🏻 :tada:


Fix typos in CONTRIBUTING.md

Doesn't it invalidate all CLA agreements if you update this file?

No idea; it was last updated yesterday.

I also have no idea. Happy to revert the change until we have clarification.

Doesn't look like it: https://github.com/Semmle/ql/pull/1720

(Or did you mean something else?)


Add CURRENT_PROJECT_VERSION

Hi, thanks for the project!
We're using this via Carthage and are running into an issue on submission to the app store as it comes back with the error:
SFSafeSymbols.framework is invalid. The Info.plist file is missing the required key: CFBundleVersion

The xcodeproj in this repo is generated via SwiftPM. SwiftPM currently has a bug in that it doesn't add a CURRENT_PROJECT_VERSION to the project https://bugs.swift.org/browse/SR-4265
This PR adds that CURRENT_PROJECT_VERSION by adding an .xcconfig file and re-generating with
swift package generate-xcodeproj --xcconfig-overrides Package.xcconfig

I could have just added the CURRENT_PROJECT_VERSION directly to the project, but I figured you might want to regenerate it later. Hence all the diffs as SwiftPM's generated project UUID's are not deterministic.

Thanks for the PR! 👍

@yonaskolb I have released 1.0.2 with your fix


Issues connecting to a windows instance

I'm having issues trying to connect to a window instance of jenkins.  Is it even possible or does this app only support linux/ios versions of Jenkins.
I'm ping my server ip on my phone so I know my phone can talk to the server.
I have jenkins 1.617 installed on a Windows 2008 R2 VM.
It is listening on port 8080
It is installed in the C:/Jenkins folder
Firewall is currently off.
Here are my parameters in the app
Instance name: mybld09 (I have also tried using the ip address)
Path /
Port 8080

Ignore my last post.  Just read the first page.  Is it possible to support other OS in the future

I haven’t tested windows but as iJenkins is connecting to a Jenkins API, I don’t see why it wouldn’t work? … could you please PM me your server url (if it’s not a production obviously) and I can take a look what is wrong with the app. My skype is rafiki270.

On 27 Aug 2015, at 13:21, themaniac27<EMAIL_ADDRESS>wrote:
Ignore my last post. Just read the first page. Is it possible to support other OS in the future
—
Reply to this email directly or view it on GitHub https://github.com/rafiki270/iJenkins/issues/47#issuecomment-135405485.

--
-----------------------------------------------
Confidentiality notice
This communication is from Fuerte Int Ltd, a private limited company
registered in England and Wales with registered number 07266175 having its
registered office at THE MANOR HOUSE, 34 LONDON ROAD, NEWBURY, BERKSHIRE,
ENGLAND, RG14 1JX .
This electronic message contains information which may be privileged and
confidential. The information is intended to be for the use of the
individual(s) or entity named above. If you are not the intended recipient
be aware that any disclosure, copying, distribution or use of the contents
of this information is prohibited. If you have received this electronic
message in error, please notify us by telephone or e-mail as above
immediately.


feat: Make Fab full width possible

Describe the solution you'd like
Make fab full width possible & add it to the sample.
Design request : https://github.com/Decathlon/vitamin-design/issues/128
Additional context

To be added in the fab button PR : https://github.com/Decathlon/vitamin-compose/pull/60

Closed by https://github.com/Decathlon/vitamin-compose/issues/50


config set default memtable_flush_running_count_limit to 2

Proposed changes
1 memtable flushing and 1 memtable waiting in the queue should be enough to keep the flush thread busy.
This PR reduces memory pressure especially when tablet count is high.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Avoid deep copy in DataFrame.__setitem__ for pandas 1.4 and up

[ ] Closes #xxxx
[ ] Tests added / passed
[ ] Passes pre-commit run --all-files

cc @fjetter
This should be an easy win

I'll add a test


(#509) Fix CCR API URL

Description Of Changes
Replaced the old Chocolatey Community Repository URL https://chocolatey.org/api/v2 with the correct one https://community.chocolatey.org/api/v2
Motivation and Context
Some parts of Boxstarter still referencing the old URL.
Testing
This was a straight string change from one to the other, so no testing has been done. The old URL simply redirects to the correct one. The only change will be one less hop top go through.
Operating Systems Testing
N/A
Change Types Made

[ ] Bug fix (non-breaking change).
[ ] Feature / Enhancement (non-breaking change).
[ ] Breaking change (fix or feature that could cause existing functionality to change).
[x] Documentation changes.
[ ] PowerShell code changes.

Change Checklist

[ ] Requires a change to the documentation.
[ ] Documentation has been updated.
[ ] Tests to cover my changes, have been added.
[ ] All new and existing tests passed?
[ ] PowerShell code changes: PowerShell v2 compatibility checked?

Related Issue
Fixes #509

@pauby thanks for getting these fixed up!


Add tf.resizeNearestNeighbor

Purpose
There is a use case to use tf.resizeNearestNeighbor.
As well as tf.resizeBilinear, we can add this image resizing algorithm.
Fixes https://github.com/tensorflow/tfjs/issues/159

This change is

Really great work @lewuathe! Left a small comment about dtype strictness.

Reviewed 8 of 8 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

src/ops/image_ops.ts, line 83 at r1 (raw file):

  static resizeNearestNeighbor<T extends Tensor3D|Tensor4D>(
      images: T, size: [number, number], alignCorners = false): T {
    util.assert(

Add this and a unit test:
util.assert(images.dtype === 'float32' || images.dtype === 'int32',
    '`images` must have `int32` or `float32` as dtype').

Comments from Reviewable

Reply here once addressed, and I'll LGTM and merge this.

Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

Comments from Reviewable

Merged. Thank you!


DateTime object parsing

The following code works for me:
$Date = Get-Date '01/01/2000'

$StateEntry = [PSCustomObject]@{
    ID = (New-Guid).Guid
    Date = $Date
}

$DbPath = "$env:TEMP\state.db"

[System.GC]::Collect()

if (Test-Path -Path $DbPath) {
    Remove-Item -Path $DbPath -Force -ErrorAction SilentlyContinue
}

$StateEntry | ConvertTo-MySQLiteDB -Path $DbPath -TableName State -TypeName State -Primary ID -Force

[System.GC]::Collect()

ConvertFrom-MySQLiteDB -Path $DbPath -TableName State -PropertyTable propertymap_State

However this does not work in the UK when the date is set to 29/02/2024; the raw table text contains the date in MM/DD/YYYY format, which fails to parse back to DateTime.
This is because of how PowerShell converts DateTime to String. When you use .ToString() it uses the current culture settings. When using string interpolation, it uses the default invariant culture.
> (Get-Date).ToString()
29/02/2024 00:00:00

> "$(Get-Date)"
02/29/2024 00:00:00

To fix this, you'd either need to store the strings in the local culture format (by calling .ToString() on them), or decode them differently:
$dateString = '29/02/2024 00:00:00'
$format = 'dd/MM/yyyy HH:mm:ss'
$culture = [System.Globalization.CultureInfo]::InvariantCulture

$date = [DateTime]::ParseExact($dateString, $format, $culture)

Well, that's annoying and one of those little things that you'd never consider.

BTW I tried this alternative module out and it sets the type in the base table as DATETIME rather than TEXT, and it ends up converting to and fro as expected:
https://github.com/RamblingCookieMonster/PSSQLite

It's been a while, but I think I started down the DateTime path but switched to Text to avoid culture-related issues, but apparently, it didn't do me any good.

The normal way to approach this, is to make a distinction between saving and displaying data.
MM/DD/YYYY or DD/MM/YYYY is purly for Display. It shouldn't be used for saving a date.
For saving only use YYYY/MM/DD (from big to small as any other number).
Input for a database should always be interpreted first before saving it.
LTE (Load, Transform and Enrich).
Get-Date has a nice formatting for this.
Get-Date -format "yyyy/MM/dd"

At this point, I don't think I can change the DATE column from Text to anything else.
Switch -Regex ($prop.TypeNameOfValue) {
        "Int32$" { $SqlType = "Int" }
        "Int64$" { $SqlType = "Real" }
        "^System.Double$" { $SqlType = "Real" }
        "^System.DateTime" { $SqlType = "Text" }
        "^System.String$" { $SqlType = "Text" }
        "^System.Boolean$" { $SqlType = "Int" }
        default {
            $SqlType = "Blob"
        }
    } #switch

This would be a seriously breaking change, and would likely cause problems for other modules that take this module as a dependency.  I'll look at updating the private function that handles the query building to convert the date time to a string.

I have published a new version of the module to the PowerShell Gallery with DateTime fixes. There's the chance it might break modules that take this module as a dependency. But see if the latest version is more forgiving.


Peer Review Feedback

Hi,
It was great to see your code. You all are using and joining so many different files, and I wonder how you plan to visualize the different pieces. I left some comments in the rmd. Here's some specific feedback:

I liked the bar plots by different student groups. The LEAID on the y-axis looks very cramped. I wonder if a jitter plot might be a better visual. However, even in that case there would be many observations. All this to say, it might help to reduce number of LEAID. Since the overall theme is Oregon, perhaps that can be used as a limiting factor.
The map was interactive and cool! My only suggestion would be to add a color legend to help interpret the different colors.
I was unable to load the district_membership file in the R environment, and couldn't look at the third visual. In my cloned version, the district_membership files was 1 kb and an iCloud object. I wonder what's going on with this.

Good luck,
Havi
@datalorax

Thanks Havi, nice review! I like that you commented out code in their Rmd that probably shouldn't actually be printed when rendering. Pointing out the parts that didn't work for you is also very helpful. It could be a RAM issue between computers if the data are overly large (which would mean I probably wouldn't have those issues), but, Tingyu, Manuel, and Errol, I'm happy to try running things on my computer before you actually submit if you'd like.


"pypi stat" does not report numbers for releases after Dec'16

pypi stat pytest reports 0 downloads for the last release on 17/01/22. pypi stat pytest-finer-verdicts reports 0 downloads for the last release on 17/02/25. pypi stat thinc reports 0 downloads for last seven releases dating back to 17/01/09.
This data does not seem to be correct as I have installed the latest version of all of the above modules via pip in the last month.
I have reported the same issue against pypi-legacy: pypa/pypi-legacy#610.  I am reporting it here as I am not sure if pypi-legacy issues are being actively tracked.

Hi!
So this is a bit crappy. Basically the tool chain that fixes this has been on and off again broken for over a year now. In the meantime we've gotten a much better system in place that allows far more fine grained access to the download statistics. Because of that, I am inclined to simply deprecate and remove these numbers and direct everyone to use the new system.
You can read more about this here.


Bug: Unable to update the bearer token in cluster configs

The token is updated in the UI but not on the cluster secret.
AB#356

It was fixed with https://github.com/devtron-labs/devtron/issues/1316


[Bug]:

All of the following criteria must be met

[X] All Requirements must be installed.
[X] Full Latest.log file included. If no file exists then leave this unchecked and state so.

All of the following are optional to answer

[X] Tried reinstalling the Game.
[X] Tried reinstalling MelonLoader.
[X] Tried restarting PC.
[ ] Was able to see the Start Screen.

Describe the issue.
Latest.log
Melonloader runs fine without mods, fails to load with any mods installed.
Melonloader 0.6.1 beta
BTD6 36.3
Net6 runtime
Did you attach your log file?

[X] Yes, I attached my log file to the text box above.
[ ] No, I could not find a log file at {Game_Directory}\MelonLoader\Latest.log

Assembly generation is failing. make sure you don't have any files from the game open, or try running as admin. When running as admin the base path might be wrong, you can specify it with a launch option --melonloader.basedir=path/to/game

No files open, ran as admin with a manually set directory. Does not work.

Make sure a virus scanner hasn't deleted any MelonLoader files.

Seems like this issue is resolved, If it wasn't, feel free to reopen it.


When mixing C++, ObjC++, and ObjC, something goes wrong in stack unwinding and a crash (abort) ensues

I boiled this down from a large codebase into the tiniest example I could manage, but it's still six files (including the GNUmakefile) so I'm attaching a tarball. The code executes normally on macOS:
2024-12-07 11:04:20.489861-0500 xtest[83830:4242596] finally
2024-12-07 11:04:20.490356-0500 xtest[83830:4242596] Got expected exception: yup
2024-12-07 11:04:20.490434-0500 xtest[83830:4242596] passed

but on gnustep/linux (Ubuntu 20.04, gnustep-base 1.27.0, libobjc2 2.0.1) it crashes with an abort in libobjc2/eh_personality.c:
2024-12-07 16:03:45.990 xtest[3003478:3003478] finally
2024-12-07 16:03:45.991 xtest[3003478:3003478] Got expected exception: yup
Aborted (core dumped)

with this stack:
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007facc5d1c859 in __GI_abort () at abort.c:79
#2  0x00007facc607b35a in objc_begin_catch () from /home/lcampbel/dev/AkamaiKit-3.7-alsi11-lib64/common/lib/libobjc.so.4.6
#3  0x00000000004023a0 in -[UnitTest xidTest] (self=0x1335488, _cmd=0x408c00 <objc_selector_list+144>) at xtest.m:42
#4  0x000000000040250a in main (argc=<optimized out>, argv=<optimized out>) at xtest.m:75

Weirdly, any of the following tweaks to the code makes the crash go away:
Reversing the order of the tests, changing this:
        [u fooTest];
        [u xidTest];

to this:
        [u xidTest];
        [u fooTest];

Inlining the C++ ctor and dtor, by omitting utest.cc and changing the declarations in utest.h from this:
  xid();
  ~xid();

to this:
  xid() {}
  ~xid() {}

or eliminating the allocation of an xid object in -[Xid init] by removing this line:
    xid u;

There's only one call to abort() in objc_begin_catch:
        // If we have a foreign exception while we have stacked exceptions, we have
        // a problem.  We can't chain them, so we follow the example of C++ and
        // just abort.
        if (td->caughtExceptions != 0)
        {
                // FIXME: Actually, we can handle a C++ exception if only ObjC
                // exceptions are in-flight
                abort();
        }

so I suspect something is not cleaning out td->caughtExceptions properly, but I'm not familiar enough with libobjc2 internals to say any more than that.

Thanks for the report.  Unfortunately, things that depend on GNUstep Make are not reproducible because they add a load of flags to the build that are set when you configure GNUstep Make.  And, with dependencies on Foundation, things are not possible to integrate with our testing infrastructure.  Is it possible for you to provide a minimal reproducible case?  Something with no dependencies outside libobjc2 and with all of the command-line flags that you provide?
From the provided files, I can't tell which ABI you're using.  The old GCC ABI had a lot of limitations and I'd expect a crash in this case, the GNUstep 2.0 ABI should have fixed them (but may still contain bugs) and I think the GNUstep 1.0 ABI mostly fixed them but had a few corner cases.

Thanks. I'm building with clang/llvm, and with these configure options for gnustep-make:
--enable-objc-nonfragile-abi=yes --enable-native-objc-exceptions=yes --with-library-combo=ng-gnu-gnu

which I think means I'm using the new ABI.
I will try to shrink the test case down to a more minimal one but I won't be able to spend time on that for a few days.

lc

On Dec 8, 2024, at 06:41, David Chisnall @.***> wrote:
Thanks for the report. Unfortunately, things that depend on GNUstep Make are not reproducible because they add a load of flags to the build that are set when you configure GNUstep Make. And, with dependencies on Foundation, things are not possible to integrate with our testing infrastructure. Is it possible for you to provide a minimal reproducible case? Something with no dependencies outside libobjc2 and with all of the command-line flags that you provide?
From the provided files, I can't tell which ABI you're using. The old GCC ABI had a lot of limitations and I'd expect a crash in this case, the GNUstep 2.0 ABI should have fixed them (but may still contain bugs) and I think the GNUstep 1.0 ABI mostly fixed them but had a few corner cases.
—
Reply to this email directly, view it on GitHub https://github.com/gnustep/libobjc2/issues/320#issuecomment-2525676260, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABY5W6N3CL4FDW7QWTONCHL2EQV43AVCNFSM6AAAAABTGLCFGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRVGY3TMMRWGA.
You are receiving this because you authored the thread.


Minor Cleanup

@ViktorQvarfordt if develop is merged, I suggest we delete the branch. Feel free to close this issue regardless of what you decide

Thanks for this, I've cleaned it up now :)


feat: add warning when updated version of CLI is available

This will show up at max once per day

@grof hi, did you happen to look at this?

@grof hi, did you happen to look at this?

Oops!  I will give it a try and come back to you!

Closing this to remove unnecessary clutter. The branch still exists for anyone to use it as a starting point if the need arises


When .seek() returns non-number abort

Currently it's returning 0 which looks laggy when Howler is booting up

My bad, it's already set to 0


fix: Literal comparison with BinaryOperator

resolves #1306

It seems better to create a branch from the latest upstream/main than to work from origin/main.
If you do this, the commit included in the PR will not have the old commit in it, which is good for review.

It seems better to create a branch from the latest upstream/main than to work from origin/main.
If you do this, the commit included in the PR will not have the old commit in it, which is good for review.

Thank you!

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

7 of 7 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.177%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
50147

Relevant Lines:
50563

💛  - Coveralls


fix typo in readme (misspelled authenticate)

Pretty self explanatory, authenticate is misspelled, noticed it while browsing the documentation and figured I'd open a pull for it.

:+1:


I can create a device, but cannot grab metadata

Environment details

OS type and version: Ubuntu 20.04 on Google VM Instance
Python version: 3.8.10
pip version: pip --version21.2.4
google-cloud-iot version:Name: google-cloud-iot
Version: 2.2.1
Summary: Cloud IoT API API client library
Home-page: https://github.com/googleapis/python-iot
Author: Google LLC
Author-email<EMAIL_ADDRESS>License: Apache 2.0
Location: /usr/local/lib/python3.8/dist-packages
Requires: google-api-core, proto-plus, grpc-google-iam-v1, packaging
Required-by:

Code example
import io
import os
import sys

from google.cloud import iot_v1
from google.protobuf.field_mask_pb2 import FieldMask
from settings import GCP_PROJECT_ID, GCP_LOCATION, GPC_REG_ID

client = iot_v1.DeviceManagerClient()
registry_path = client.registry_path(GCP_PROJECT_ID, GCP_LOCATION, GPC_REG_ID)

def create_keys(public_key="rsa_public.pem", private_key="rsa_private.pem"):
    os.system(f"openssl genpkey -algorithm RSA -out {private_key} -pkeyopt rsa_keygen_bits:2048")
    os.system(f"openssl rsa -in {private_key} -pubout -out {public_key}")

def create_device(device_id, public_key="rsa_public.pem"):

    with io.open(public_key) as f:
        certificate = f.read()

    # Note: You can have multiple credentials associated with a device.
    device_template = {
        "id": device_id,
        "credentials": [
            {
                "public_key": {
                    "format": iot_v1.PublicKeyFormat.RSA_PEM,
                    "key": certificate,
                }
            }
        ],
    }
    return client.create_device(request={"parent": registry_path, "device": device_template})

def get_device_details():
    field_mask = FieldMask(
        paths=[
            "id",
            "name",
            "num_id",
            "credentials",
            "last_heartbeat_time",
            "last_event_time",
            "last_state_time",
            "last_config_ack_time",
            "last_config_send_time",
            "blocked",
            "last_error_time",
            "last_error_status",
            "config",
            "state",
            "log_level",
            "metadata",
            "gateway_config",
        ]
    )
    devices = list(client.list_devices(request={"parent": registry_path, "field_mask": field_mask}))
    return devices

def get_device_metadata(device_id):
    field_mask = FieldMask(
        paths=[
            "id",
            "name",
            "num_id",
            "credentials",
            "last_heartbeat_time",
            "last_event_time",
            "last_state_time",
            "last_config_ack_time",
            "last_config_send_time",
            "blocked",
            "last_error_time",
            "last_error_status",
            "config",
            "state",
            "log_level",
            "metadata",
            "gateway_config",
        ]
    )

    device = client.get_device(request={"name": device_id, "field_mask": field_mask})

    print("Id : {}".format(device.id))
    print("Name : {}".format(device.name))
    print("Credentials:")

    if device.credentials is not None:
        for credential in device.credentials:
            key_info = credential.public_key
            print("\tcertificate: \n{}".format(key_info.key))
            if key_info.format == 4:
                key_format = "ES256_X509_PEM"
            elif key_info.format == 3:
                key_format = "RSA_PEM"
            elif key_info.format == 2:
                key_format = "ES256_PEM"
            elif key_info.format == 1:
                key_format = "RSA_X509_PEM"
            else:
                key_format = "UNSPECIFIED_PUBLIC_KEY_FORMAT"
            print("\tformat : {}".format(key_format))
            print("\texpiration: {}".format(credential.expiration_time))

    print("Config:")
    print("\tdata: {}".format(device.config.binary_data))
    print("\tversion: {}".format(device.config.version))
    print("\tcloudUpdateTime: {}".format(device.config.cloud_update_time))

    return device

if __name__ == '__main__':

    create_keys(public_key='/tmp/rsa_public.pem', private_key='/tmp/rsa_private.pem')
    d = create_device(device_id='sample_device', public_key='/tmp/rsa_public.pem')
    print(d)
    print(get_device_metadata(device_id='sample_device'))

Stack trace
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/google/api_core/grpc_helpers.py", line 66, in error_remapped_callable
    return callable_(*args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/grpc/_channel.py", line 946, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/usr/local/lib/python3.8/dist-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
    raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
        status = StatusCode.PERMISSION_DENIED
        details = "The caller does not have permission"
        debug_error_string = "{"created":"@1634803450.729548399","description":"Error received from peer ipv4:<IP_ADDRESS>:443","file":"src/core/lib/surface/call.cc","file_line":1069,"grpc_message":"The caller does not have permission","grpc_status":7}"
>

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "utils/google_iot.py", line 149, in <module>
    print(get_device_metadata(device_id='sample_device'))
  File "utils/google_iot.py", line 95, in get_device_metadata
    device = client.get_device(request={"name": device_id, "field_mask": field_mask})
  File "/usr/local/lib/python3.8/dist-packages/google/cloud/iot_v1/services/device_manager/client.py", line 898, in get_device
    response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
  File "/usr/local/lib/python3.8/dist-packages/google/api_core/gapic_v1/method.py", line 142, in __call__
    return wrapped_func(*args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/google/api_core/retry.py", line 283, in retry_wrapped_func
    return retry_target(
  File "/usr/local/lib/python3.8/dist-packages/google/api_core/retry.py", line 190, in retry_target
    return target()
  File "/usr/local/lib/python3.8/dist-packages/google/api_core/grpc_helpers.py", line 68, in error_remapped_callable
    raise exceptions.from_grpc_error(exc) from exc
google.api_core.exceptions.PermissionDenied: 403 The caller does not have permission

Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!

Hi @codepriestz,
Please could you take a look?

Can you please make sure when calling 'client.get_device',  'name' contains a well formatted device identifier?
It seems in the sample only device name is passed instead of a full path.


✨feat(zerolog): forgotten output type

solved https://github.com/hertz-contrib/logger/issues/14

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

LGTM


Fixed setup.py for new pip

Hey @jamalex!
Thanks for building the notion API wrapper — I love building things with it. 👏
I've been trying to release my tool based on Notion.py on Homebrew, and it requires building packages from source. I noticed that Notion can't build  with the new pip:
nate-macbook:~/c/notion-py master ls                                                                                (base)
LICENSE                   Makefile                  build/                    ezgif-3-a935fdcb7415.gif  notion.egg-info/          run_smoke_test.py
MANIFEST.in               README.md                 dist/                     notion/                   requirements.txt          setup.py
nate-macbook:~/c/notion-py master ls dist                                                                                (base)
notion-0.0.25-py3-none-any.whl  notion-0.0.25.tar.gz
nate-macbook:~/c/notion-py master ls build                                                                                (base)
bdist.macosx-10.15-x86_64/ lib/
nate-macbook:~/c/notion-py master cd dist                                                                                (base)
nate-macbook:~/c/n/dist ls                                                                                (base)
notion-0.0.25-py3-none-any.whl  notion-0.0.25.tar.gz
nate-macbook:~/c/n/dist tar -zxf notion-0.0.25.tar.gz                                                                                (base)
nate-macbook:~/c/n/dist ls                                                                                (base)
notion-0.0.25/                  notion-0.0.25-py3-none-any.whl  notion-0.0.25.tar.gz
nate-macbook:~/c/n/dist which pip                                                                                (base)
/Users/xnutsive/opt/anaconda3/bin/pip
nate-macbook:~/c/n/dist pip --version                                                                                (base)
pip 20.1.1 from /Users/xnutsive/opt/anaconda3/lib/python3.7/site-packages/pip (python 3.7)
nate-macbook:~/c/n/dist pip install -U pip                                                                                (base)
Requirement already up-to-date: pip in /Users/xnutsive/opt/anaconda3/lib/python3.7/site-packages (20.1.1)
nate-macbook:~/c/n/dist pip install -v --no-deps --no-binary :all: ./notion-0.0.25/                                                                                (base)
Non-user install because site-packages writeable
Created temporary directory: /private/var/folders/4k/kk3m6tcs32j25wx615vcbddw0000gn/T/pip-ephem-wheel-cache-ouztwz7m
Created temporary directory: /private/var/folders/4k/kk3m6tcs32j25wx615vcbddw0000gn/T/pip-req-tracker-i01dom7s
Initialized build tracking at /private/var/folders/4k/kk3m6tcs32j25wx615vcbddw0000gn/T/pip-req-tracker-i01dom7s
Created build tracker: /private/var/folders/4k/kk3m6tcs32j25wx615vcbddw0000gn/T/pip-req-tracker-i01dom7s
Entered build tracker: /private/var/folders/4k/kk3m6tcs32j25wx615vcbddw0000gn/T/pip-req-tracker-i01dom7s
Created temporary directory: /private/var/folders/4k/kk3m6tcs32j25wx615vcbddw0000gn/T/pip-install-82jx6loh
Processing ./notion-0.0.25
  Created temporary directory: /private/var/folders/4k/kk3m6tcs32j25wx615vcbddw0000gn/T/pip-req-build-upe_2dk7
  Added file:///Users/xnutsive/code/notion-py/dist/notion-0.0.25 to build tracker '/private/var/folders/4k/kk3m6tcs32j25wx615vcbddw0000gn/T/pip-req-tracker-i01dom7s'
    Running setup.py (path:/private/var/folders/4k/kk3m6tcs32j25wx615vcbddw0000gn/T/pip-req-build-upe_2dk7/setup.py) egg_info for package from file:///Users/xnutsive/code/notion-py/dist/notion-0.0.25
    Created temporary directory: /private/var/folders/4k/kk3m6tcs32j25wx615vcbddw0000gn/T/pip-pip-egg-info-f_ey_8kz
    Running command python setup.py egg_info
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/4k/kk3m6tcs32j25wx615vcbddw0000gn/T/pip-req-build-upe_2dk7/setup.py", line 12, in <module>
        install_requires = [str(ir.req) for ir in reqs]
      File "/private/var/folders/4k/kk3m6tcs32j25wx615vcbddw0000gn/T/pip-req-build-upe_2dk7/setup.py", line 12, in <listcomp>
        install_requires = [str(ir.req) for ir in reqs]
    AttributeError: 'ParsedRequirement' object has no attribute 'req'
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Exception information:
Traceback (most recent call last):
  File "/Users/xnutsive/opt/anaconda3/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 188, in _main
    status = self.run(options, args)
  File "/Users/xnutsive/opt/anaconda3/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 185, in wrapper
    return func(self, options, args)
  File "/Users/xnutsive/opt/anaconda3/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 333, in run
    reqs, check_supported_wheels=not options.target_dir
  File "/Users/xnutsive/opt/anaconda3/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 179, in resolve
    discovered_reqs.extend(self._resolve_one(requirement_set, req))
  File "/Users/xnutsive/opt/anaconda3/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 362, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/Users/xnutsive/opt/anaconda3/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 314, in _get_abstract_dist_for
    abstract_dist = self.preparer.prepare_linked_requirement(req)
  File "/Users/xnutsive/opt/anaconda3/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 488, in prepare_linked_requirement
    req, self.req_tracker, self.finder, self.build_isolation,
  File "/Users/xnutsive/opt/anaconda3/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 91, in _get_prepared_distribution
    abstract_dist.prepare_distribution_metadata(finder, build_isolation)
  File "/Users/xnutsive/opt/anaconda3/lib/python3.7/site-packages/pip/_internal/distributions/sdist.py", line 40, in prepare_distribution_metadata
    self.req.prepare_metadata()
  File "/Users/xnutsive/opt/anaconda3/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 550, in prepare_metadata
    self.metadata_directory = self._generate_metadata()
  File "/Users/xnutsive/opt/anaconda3/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 530, in _generate_metadata
    details=self.name or "from {}".format(self.link)
  File "/Users/xnutsive/opt/anaconda3/lib/python3.7/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 73, in generate_metadata
    command_desc='python setup.py egg_info',
  File "/Users/xnutsive/opt/anaconda3/lib/python3.7/site-packages/pip/_internal/utils/subprocess.py", line 241, in call_subprocess
    raise InstallationError(exc_msg)
pip._internal.exceptions.InstallationError: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Removed file:///Users/xnutsive/code/notion-py/dist/notion-0.0.25 from build tracker '/private/var/folders/4k/kk3m6tcs32j25wx615vcbddw0000gn/T/pip-req-tracker-i01dom7s'
Removed build tracker: '/private/var/folders/4k/kk3m6tcs32j25wx615vcbddw0000gn/T/pip-req-tracker-i01dom7s'

This PR fixes that by implementing our own requirements parser (from txt to install_requires) that seems to work fine and build fine. I've also bumped the version to 0.2.26.
I know you don't have much time nowdays — this shouldn't break anything as it doesn't really change the code itself. Please do let me know if you need help combing through the other PRs, happy to help ;)

Thanks for the fix!
Generally I'd ask that the version number not be bumped in a PR, as I do that as part of the release process (with a number of PRs together), but I'll soon be releasing this along with additional stuff, so -- thanks for the freebie! ;)

Thanks for finding the time to merge this in! I’d be interested in helping out with maintaining this, if you’d like that. Maybe I should fix a few issues to get started, if you’ll have time to review my PRs and guide me a bit?
On Sat, Sep 19 2020 at 1:05 PM, Jamie Alexandre <<EMAIL_ADDRESS>> wrote:

Merged #147 ( https://github.com/jamalex/notion-py/pull/147 ) into master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub (
https://github.com/jamalex/notion-py/pull/147#event-3785493245 ) , or unsubscribe
(
https://github.com/notifications/unsubscribe-auth/AAAKU4NSQV2GT5MNMMLYDRTSGUFKBANCNFSM4NVPPDPA
).


Support for pointers to primitives in Scan() and HSet()

Easy way to implement support for pointers to primitives at the Scan() method. Uses built-in decoders by just passing the kind of the element of the pointer to the decoders map.

Codecov Report
Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (f0f37fc) 97.55% compared to head (7d319ae) 97.54%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #388      +/-   ##
==========================================
- Coverage   97.55%   97.54%   -0.02%
==========================================
  Files          76       76
  Lines       30683    30693      +10
==========================================
+ Hits        29934    29939       +5
- Misses        627      630       +3
- Partials      122      124       +2

Files
Coverage Δ

rueidiscompat/structmap.go
96.82% <100.00%> (+0.27%)
:arrow_up:

rueidiscompat/adapter.go
94.94% <0.00%> (-0.22%)
:arrow_down:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Hi @numberinho, thank you for your contribution!
These changes look good to me. Could you also modify the testes here https://github.com/redis/rueidis/blob/main/rueidiscompat/hscan_test.go to cover these changes?

Hey @rueian, thank you for this awesome library and your super fast replies! I really appreciate your effort and work :)
I tried adding a test, but I'm not very used to the testing framework. Hopefully I implemented it in the right way.
Did you notice that I also added some lines to modify the HSet() - functioning to omit setting Go nil pointers to Redis in rueidiscompat/adapter.go ? How does this look to you?

I tried adding a test, but I'm not very used to the testing framework. Hopefully I implemented it in the right way.

It is in the right way. The test is passed.

Did you notice that I also added some lines to modify the HSet() - functioning to omit setting Go nil pointers to Redis in rueidiscompat/adapter.go ? How does this look to you?

They also look good to me, but I notice that the test does not cover them.
Could you also edit another test here to cover them?
https://github.com/redis/rueidis/blob/f0f37fc32e7ef78bf169960a24930c2709070a3f/rueidiscompat/adapter_test.go#L2242-L2296


App packaging is returning an error

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
When using fastlane beta, I keep getting an error at the point where the app is packaging up. It exits with a Exit status: 70.
This is the whole message of the error:

2017-09-05 10:18:42.249 xcodebuild[86003:39884346] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7fc0436f3bd0>: Error Domain=IDEDistributionSigningAssetStepErrorDomain Code=0 "Locating signing assets failed." UserInfo={NSLocalizedDescription=Locating signing assets failed., IDEDistributionSigningAssetStepUnderlyingErrors=(
"Error Domain=IDEProfileLocatorErrorDomain Code=1 "No profiles for 'com.app.id' were found" UserInfo={NSLocalizedDescription=No profiles for 'com.app.id' were found, NSLocalizedRecoverySuggestion=Xcode couldn't find any iOS App Store provisioning profiles matching 'com.app.id'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.}"
)}
error: exportArchive: No profiles for 'com.app.id' were found

Error Domain=IDEProfileLocatorErrorDomain Code=1 "No profiles for 'com.app.id were found" UserInfo={NSLocalizedDescription=No profiles for 'com.app.id' were found, NSLocalizedRecoverySuggestion=Xcode couldn't find any iOS App Store provisioning profiles matching 'com.app.id'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.}

** EXPORT FAILED **
[10:18:42]: Exit status: 70

Captured Output
Command Used: beta
Output/Log

Successfully loaded Appfile at path '/Users/reshadfarid/Xcode/appname/fastlane/Appfile'
- app_identifier: 'nl.appname'
- apple_id<EMAIL_ADDRESS>- team_id: '35FV9Y7DCZ'
- itc_team_id: '118086626'
-------

+---------------+--------------------------------------+
|               Summary for cert 2.55.0                |
+---------------+--------------------------------------+
| development   | false                                |
| force         | false                                |
| username      |<EMAIL_ADDRESS>                |
| team_id       | 35FV9Y7DCZ                           |
| keychain_path | /Users/reshadfarid/Library/Keychain  |
|               | s/login.keychain-db                  |
| platform      | ios                                  |
+---------------+--------------------------------------+

+-------------------------------------+------------------------+
|                   Summary for sigh 2.55.0                    |
+-------------------------------------+------------------------+
| adhoc                               | false                  |
| development                         | false                  |
| skip_install                        | false                  |
| force                               | false                  |
| app_identifier                      | nl.appname |
| username                            |<EMAIL_ADDRESS>  |
| team_id                             | 35FV9Y7DCZ             |
| ignore_profiles_with_different_name | false                  |
| cert_id                             | MEZZ5N3K63             |
| skip_fetch_profiles                 | false                  |
| skip_certificate_verification       | false                  |
| platform                            | ios                    |
+-------------------------------------+------------------------+

/Users/reshadfarid/Xcode/appname/AppStore_nl.appname.mobileprovision

+--------------------------------------+--------------------------------------+
|                           Summary for gym 2.55.0                            |
+--------------------------------------+--------------------------------------+
| scheme                               | appname                            |
| workspace                            | appname.xcworkspace                |
| export_method                        | app-store                            |
| export_options.provisioningProfiles  | nl.appname               |
| .nl.appname              |                                      |
| destination                          | generic/platform=iOS                 |
| output_name                          | appname                            |
| build_path                           | /Users/reshadfarid/Library/Develope  |
|                                      | r/Xcode/Archives/2017-09-05          |
| clean                                | false                                |
| output_directory                     | .                                    |
| silent                               | false                                |
| skip_package_ipa                     | false                                |
| buildlog_path                        | ~/Library/Logs/gym                   |
| xcode_path                           | /Applications/Xcode-beta.app         |
+--------------------------------------+--------------------------------------+

+--------------------------------------+----------------------+
|                   Generated Build Command                   |
+--------------------------------------+----------------------+
| Option                               | Value                |
+--------------------------------------+----------------------+
| set -o pipefail &&                   |                      |
| xcodebuild                           |                      |
| -workspace appname.xcworkspace     |                      |
| -scheme appname                    |                      |
| -destination                         | generic/platform=iOS |
| -archivePath                         |                      |
| /Users/reshadfarid/Library/Develope  |                      |
| r/Xcode/Archives/2017-09-05/ProActi  |                      |
| ve\ 2017-09-05\ 10.30.19.xcarchive   |                      |
| archive                              |                      |
| | tee                                |                      |
| /Users/reshadfarid/Library/Logs/gym  |                      |
| /appname-appname.log             |                      |
| | xcpretty                           |                      |
+--------------------------------------+----------------------+
+--------------------------------------+--------------------------------------+
|                          Generated Package Command                          |
+--------------------------------------+--------------------------------------+
| Option                               | Value                                |
+--------------------------------------+--------------------------------------+
| /usr/bin/xcrun                       |                                      |
| /Users/reshadfarid/.fastlane/bin/bu  |                                      |
| ndle/lib/ruby/gems/2.2.0/gems/fastl  |                                      |
| ane-2.55.0/gym/lib/assets/wrap_xcod  |                                      |
| ebuild/xcbuild-safe.sh               |                                      |
| -exportArchive                       |                                      |
| -exportOptionsPlist                  | /var/folders/3h/rqdx57296kn4d3wr5b3  |
|                                      | rph080000gn/T/gym_config20170905-86  |
|                                      | 267-n3wy67.plist                     |
| -archivePath                         |                                      |
| /Users/reshadfarid/Library/Develope  |                                      |
| r/Xcode/Archives/2017-09-05/ProActi  |                                      |
| ve\ 2017-09-05\ 10.30.19.xcarchive   |                                      |
| -exportPath                          | /var/folders/3h/rqdx57296kn4d3wr5b3  |
|                                      | rph080000gn/T/gym_output20170905-86  |
|                                      | 267-cd5op9                           |
+--------------------------------------+--------------------------------------+
RVM detected, forcing to use system ruby
Now using system ruby.
+ xcodebuild -exportArchive -exportOptionsPlist /var/folders/3h/rqdx57296kn4d3wr5b3rph080000gn/T/gym_config20170905-86267-n3wy67.plist -archivePath '/Users/reshadfarid/Library/Developer/Xcode/Archives/2017-09-05/appname 2017-09-05 10.30.19.xcarchive' -exportPath /var/folders/3h/rqdx57296kn4d3wr5b3rph080000gn/T/gym_output20170905-86267-cd5op9
2017-09-05 10:32:02.031 xcodebuild[88689:39946073] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/3h/rqdx57296kn4d3wr5b3rph080000gn/T/appname_2017-09-05_10-32-02.030.xcdistributionlogs'.
2017-09-05 10:32:05.853 xcodebuild[88689:39946073] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7fa289108e60>: Error Domain=IDEDistributionSigningAssetStepErrorDomain Code=0 "Locating signing assets failed." UserInfo={NSLocalizedDescription=Locating signing assets failed., IDEDistributionSigningAssetStepUnderlyingErrors=(
"Error Domain=IDEProfileLocatorErrorDomain Code=1 \"No profiles for 'nl.appname' were found\" UserInfo={NSLocalizedDescription=No profiles for 'nl.appname' were found, NSLocalizedRecoverySuggestion=Xcode couldn't find any iOS App Store provisioning profiles matching 'nl.appname'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.}"
)}
error: exportArchive: No profiles for 'nl.appname' were found

Error Domain=IDEProfileLocatorErrorDomain Code=1 "No profiles for 'nl.appname' were found" UserInfo={NSLocalizedDescription=No profiles for 'nl.appname' were found, NSLocalizedRecoverySuggestion=Xcode couldn't find any iOS App Store provisioning profiles matching 'nl.appname'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.}

** EXPORT FAILED **

+---------------+------------------------------+
|              Build environment               |
+---------------+------------------------------+
| xcode_path    | /Applications/Xcode-beta.app |
| gym_version   | 2.55.0                       |
| export_method | app-store                    |
| sdk           | iPhoneOS11.0.sdk             |
+---------------+------------------------------+

+------+---------------------+-------------+
|             fastlane summary             |
+------+---------------------+-------------+
| Step | Action              | Time (in s) |
+------+---------------------+-------------+
| 1    | Verifying required  | 0           |
|      | fastlane version    |             |
| 2    | default_platform    | 0           |
| 3    | cocoapods           | 6           |
| 4    | cert                | 5           |
| 5    | sigh                | 6           |
| 💥   | gym                 | 109         |
+------+---------------------+-------------+

✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.6

Ruby
2.2.4

Bundler?
false

Git
git version 2.13.5 (Apple Git-94)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.12.6 (16G29)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode-beta.app/Contents/Developer/

Xcode Version
9.0

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# More documentation about how to customize your build
# can be found here:
# https://docs.fastlane.tools
fastlane_version "1.109.0"

# This value helps us track success metrics for Fastfiles
# we automatically generate. Feel free to remove this line
# once you get things running smoothly!
generated_fastfile_id "92b68a0f-ad0b-4380-b68d-7d7062077eb2"

default_platform :ios

# Fastfile actions accept additional configuration, but
# don't worry, fastlane will prompt you for required
# info which you can add here later

lane :test do
  scan(
   scheme: "appname",
   workspace: "appname.xcworkspace",
   skip_build: true
  )
end

lane :beta do
  cocoapods

  cert
  sigh

  # build your iOS app
  gym(
    scheme: "appname",
    workspace: "appname.xcworkspace",
    export_method: "app-store"
  )

  # upload to Testflight
  pilot(skip_waiting_for_build_processing: true)

  # slack(
  #   slack_url: "https://hooks.slack.com/services/IDS"
  # )
end

`./fastlane/Appfile`
app_identifier "nl.appname" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "35FV9Y7DCZ" # Developer Portal Team ID
itc_team_id "118086626"
# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.55.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.1

rouge
1.11.1

xcpretty
0.2.6

terminal-notifier
1.7.1

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.2.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

excon
0.55.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

json
1.8.1

mini_magick
4.5.1

multi_json
1.12.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.0

bundler
1.14.6

faraday_middleware
<IP_ADDRESS>

uber
0.0.15

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.2.2

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.13.5

psych
2.0.8

libxml-ruby
3.0.0

generated on: 2017-09-05

Cert and Sigh don't seem to be working for me.

"Error Domain=IDEProfileLocatorErrorDomain Code=1 "No profiles for 'com.app.id' were found" UserInfo={NSLocalizedDescription=No profiles for 'com.app.id' were found, NSLocalizedRecoverySuggestion=Xcode couldn't find any iOS App Store provisioning profiles matching 'com.app.id'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.}"

That's the error message 👍

Do I pass it like this?
fastlane beta -allowProvisioningUpdates

My (temporary?) workaround to this was to force build with Xcode 8
before_all do
    ENV['DEVELOPER_DIR'] = '/Applications/Xcode8.app/Contents/Developer'
end

In this project I have Provisioning Profile set to Automatic for all builds.

Same problem here. Was working perfectly with XCode 8. Now with XCode 9 got this error every time.

@WedgeSparda
The error message is not logic since automatic signing is already enabled. But I managed to solve it anyways by giving the argument like so
gym(
    scheme: "MyApp",
    export_method: "app-store",
    export_xcargs: "-allowProvisioningUpdates"
  )

@reshadf Thank, I'll try that. Why is this parameter needed now?

Not sure, but it works. I think it's some bug and this command just forces it to see it as automatic?

@reshadf worked for me 👍

The "-allowProvisioningUpdates" option worked for me aswell.

When we try to add in the "-allowProvisioningUpdates" flag, we get a compile error: "Could not find option ‘export_xcargs’"
Could not find option ‘export_xcargs’
Can anyone see what we might be doing wrong or why we aren't compiling?

@rmyers0819 Maybe you're using an old version of Fastlane who doesn't support that flag.

@rmyers0819 you probably forgot a comma.

So is adding the export_xcargs option the official solution here? I'm using fastlane 2.61 and getting this error without allowProvisioningUpdates. What I'm not sure is if this flag is giving Xcode the liberty to manage the provisioning profile, rather than using the profile I've downloaded with sigh. I'm also not honestly sure that I care.

This is still happening in Xcode Version 9.0 (9A235). The change provided by @reshadf works but I would love to find out why this change was needed in the first place.
On Xcode 8 the following setup worked great:

pem
sigh
gym
deliver

@reshadf Thank you!!!!! Been looking for an answer to this for a week!!!
+1 for @StarWars Why is this happening now? Seems like fastlane is not accessing keychain to update profiles since Xcode 9...

Any news regarding this issue? It seems to still be happening.

Hey @ljesus - any chance you can share your command line output so we can see the full context? If you could run the command with --verbose, that would be amazing! 🚀

Syntax error in your configuration file './.fastlane/Gymfile' on line 26: (eval):26: syntax error, unexpected tIDENTIFIER, expecting ')'
export_xcargs: "-allowProvisioningUpdates"
fastlane version 2.60.1


Update README.md

Fixed build badge issue (travis-ci.com -> travis-ci.org)

Codecov Report

Merging #13 into master will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff          @@
##           master   #13   +/-   ##
====================================
  Coverage       0%    0%
====================================
  Files           1     1
  Lines         121   121
====================================
  Misses        121   121

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 a98129f...cf26e5e. Read the comment docs.


Interactive !setup of username doesn't terminate

Say !setup then 1 then username to the bot.  The bot stores your username but doesn't respond.  Further messages continue to change the stored username.

There's the same issue when trying to set the password.

This is a good point. The contexts state variable will now reset the context for that user so they should be able to set other things.
It might make sense to say something like "$var saved successfully!"


maintainers: remove mjlbach

Motivation for this change
https://github.com/NixOS/nixpkgs/issues/153804#issuecomment-1007239589
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

I dont mind removing him from the different packages but it's too sad to see @mjlbach getting erased from maintainers/maintainer-list.nix,  is there no hope to see you again ?

There's hope but it's true that I'm not currently using nix or planning to do so in the near future. I should have removed myself earlier.


Henry's Macropad

A macropad for common keybinds I use during CADing, programming, and art!
currently a bit incomplete (firmware not done yet) due to some strange computer issues

things still left to do:

refine CAD (its currently "ok", but could be better)
firmware rahhh

Looks good to me! Get your hackpad here: https://forms.hackclub.com/hackpad
Also, you can request screws if you would like! There is a box in the form.


Handle NaN / masked observations

This PR addresses #2 by ensuring both the ABC and MCMC samplers can handle any NaN observations which might occur. Tf doesn't have masked arrays so any masked values get flattened to NaNs anyway.
The ABC sampler ignores the NaNs anyway so a test and some docs are added. The MCMC sampler needed a bit more work to ensure no NaNs leak in to the likelihood calculation which would quietly break the target function. Added a test and some docs.

Neat! I have a couple of questions (mostly to make sure I understand) but looks good!

Brilliant thanks!


Add support for the Notifications API

Crowdin API has a new Notifications API that allows sending notifications to the project and organization members. It would be great to add support for this API in this Crowdin API client.
API reference:

Send Notification to Authenticated User (crowdin.com)
Send Notification To Project Members (crowdin.com and Crowdin Enterprise)
Send Notification To Organization Members (Crowdin Enterprise)

Hi @andrii-bodnar .  Just for confirmation, nobody else is working on this task right ? I am planning to work on it. Thanks.

Hi @MohanThanigaivelan, sure, you can take it. Assigning to you, thank you!

@MohanThanigaivelan any updates on this?

@andrii-bodnar  I have done with the changes . Here is the PR #56 . Let me know your review comments on this .