text:
Make GoogleCloudServiceAccountDictProfileMapping dataset profile argument optional

Context
Given the issue here and the discussion around it in slack, it follows that it would not be too far off for other profile mapping classes (like GCP) to have their schema (dataset in GCP terms) arguments made optional.
The configurations in dbt (profiles.yml, dbt_project.yml, model level configs etc.) are meant to provide the dataset. As such, me and my team's initial thoughts were to not provide any arguments here since usually we would rely on this being handled inside of dbt instead of it being hard coded at the DAG (orchestration) level.
Solution
I believe its possible modifying this line here  and the associated code similarly to this issue here would be the right path.
Me and/or my colleague are happy to to attempt this modification if there are no objections to this proposed change. Please let us know, thanks

@dosu-bot I have opened a PR #839 to address this issue and it has passed all tests and is ready for review, how do I request a review?

It seems the schema property is mandatory in profiles.yml when using BQ:
Having a dbt project with profiles.yml:
airflow_db:
  target: dev
  outputs:
    bq:
      type: bigquery
      method: service-account
      project: <project>
      #schema: <dataset>
      threads: 2
      keyfile:  /usr/local/airflow/dbt/jaffle_shop/key.json

And the following
models:
  jaffle_shop:
      +schema: dataset

Fails in both dbt 1.5 and 1.8:
Running dbt-core==1.5.0:
dbt ls --target bq --profile airflow_db
10:13:24  Running with dbt=1.5.0
10:13:32  Encountered an error:
Runtime Error
  Credentials in profile "airflow_db", target "bq" invalid: 'schema' is a required property

Running dbt-core==1.8.2:
dbt ls --target bq --profile airflow_db
10:15:31  Running with dbt=1.8.2
10:15:40  Encountered an error:
Runtime Error
  Credentials in profile "airflow_db", target "bq" invalid: Runtime Error
    Must specify schema

I also attempted to do this while

authors: oliverrmaa tatiana

repo: astronomer/astronomer-cosmos


text:
Check for usage of Git sync of DAGs on staging and astro cloud

Reach out to @MatrixManAtYrService to understand how their team uses Git sync and plan
next set of actions so that we can test our example DAGs quickly on staging and Astro cloud
rather than having to build and deploy Docker images for development activities.

I set this up with the OSS Airflow helm chart before it was implemented in astro cloud, so I don't know where all the buttons are to do it with the astrocloud.  But I'm thinking that the UI must prompt for most of these values to get the job done.
dags:
    gitSync:
                branch: main
                enabled: true
                repo: git@github.com:astronomer/qa-tb11c-dags.git
                sshKeySecret: input-ssh-extra
                subPath: dags
            env:
            - name: PYTHONPATH
              value: /opt/airflow/dags/repo/plugins
            - name: AIRFLOW__CORE__PLUGINS_FOLDER
              value: /opt/airflow/dags/repo/plugins
            extraSecrets:
              input-ssh-extra:
                data: 'gitSshKey : LS0tLS1C...base64 encoded key goes here...VZLS0tLS0K'

Once you get in syncing at all, you can get a shell on the scheduler container and poke around until you have a feel for where your dags actually are.
Personally, I don't like syncing the entire qa-scenario-dags repo into $AIRFLOW_HOME/dags because if any dag has parse errors, those errors show up all over the place--so if you're failing tests based on errors in logs, you end up with way more broken tests than you actually have.
Instead, I like to sync the main repo somewhere outside of that folder, and then have whatever orchestrates the test copy just the files it needs for that test into $AIRFLOW_HOME/dags.  That way you can attach the right error to the right test.  In my case that means copying the files while we're building the dockerfile, which happens here.
Other people on my team might have a better idea of how to get this done on astrocloud since I'm just working with OSS airflow (@himabindu07 or @Priyanka13Astro come to mind).

Stale request - @pankajkoti is not actively working on this at the moment

source: gharchive/issue

repo: astronomer/astronomer-providers

license_type: permissive

license_source: github-api


text:
Assigning a column to a catalog and its margin

In working to make sure that catalog methods also apply to the margin catalog, assign seems like a harder case. If a user is assigning a series that is partitioned to fit the catalog's partitions, then to apply the same column to the margin we would need to do some sort of join or map/reduce to rearrange the column to fit with the margin's partitions. I think this would be fairly inefficient and break a lot of the extremely parallel operations we have.
Alternatively, we could leave this to the user, and accept the catalog and margin columns separately to assign, but this then leaves the work on the user.

Maybe we can do it with .eval() and highlight it in the docs

authors: hombit smcguire-cmu

repo: astronomy-commons/lsdb


text:
HOD Population (possibly) implemented incorrectly.

I've been using the Zheng07 HOD and I noticed something that may be inconsistent with the literature. If, for example, I set the mMin for the Zheng07Cens very high (~10**16 Msun) there'll be no central galaxies in my mock, but the amount of satellites will be unchanged. However, if you look at equation 7 in this paper we see that if N_c - > 0, N_tot -> 0. Is this an intentional design decision to not coincide with this?

Yes, this is the intended default behavior. It sounds like you want to use the modulate_with_cen_occ feature, described in http://halotools.readthedocs.io/en/latest/api/halotools.empirical_models.Zheng07Sats.html#halotools.empirical_models.Zheng07Sats.
All composite model keywords automatically get passed to on the component model through the factory. So,
model = PrebuiltHodModelFactory('zheng07', modulate_with_cenocc=True)

That looks exactly like what I need. Thank you!

No problem. Let me know if you have any tips for making this feature more discoverable.

Shouldn't the default in Zheng07Sats be modulate_with_cenocc=True, since
the definition in Zheng07 does modulate with central occupation? I think
that is what Sean was asking.
On Sun, Jun 5, 2016 at 9:39 PM, Andrew Hearin notifications@github.com
wrote:

Yes, this is the intended default behavior. It sounds like you want to use
the modulate_with_cen_occ feature, described in
http://halotools.readthedocs.io/en/latest/api/halotools.empirical_models.Zheng07Sats.html#halotools.empirical_models.Zheng07Sats.
All composite model keywords automatically get passed to on the component
model through the factory. So,
model = PrebuiltHodModelFactory('zheng07', modulate_with_cenocc=True)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/astropy/halotools/issues/543#issuecomment-223810948,
or mute the thread
https://github.com/notifications/unsubscribe/AEMGubGjAvlbHhSBNnldo2-hwNnbEHLYks5qIsOZgaJpZM4IuQbG
.

I considered that @surhudm and @mclaughlin6464. But I now have multiple different users actively using PrebuiltHodModelFactory('zheng07'), so I'm hesitant to silently change the default behavior. I guess I considered the documentation sufficiently clear to not worry about this, but maybe you two see it differently?

Perhaps the problem is associating the name of this function with Zheng 07
(instead of calling it just some truncated ,power law satellite halo
occupation). I can easily imagine the same users writing in a paper that
they used the Zheng 07 HOD without actually specifying that this HOD was
not tied to (M) as in the original paper. If they correctly state in
the paper what they use its ok, if not, then its an issue.
On Mon, Jun 6, 2016 at 4:55 AM, Andrew Hearin notifications@github.com
wrote:

I considered that @surhudm https://github.com/surhudm and
@mclaughlin6464 https://github.com/mclaughlin6464. But I now have
multiple different users actively using PrebuiltHodModelFactory('zheng07'),
so I'm hesitant to silently change the default behavior. I guess I
considered the documentation sufficiently clear to not worry about this,
but maybe you two see it differently?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/astropy/halotools/issues/543#issuecomment-223833823,
or mute the thread
https://github.com/notifications/unsubscribe/AEMGuf-g7P-MYcq_Yo0Gi9IsAU4sqw58ks5qIymWgaJpZM4IuQbG
.

So to recap:

The advantage of changing default modulate_with_cenocc=True is that this was the choice made in Zheng+07.
The disadvantage of changing is that it's a well-used section of Halotools, and it would rightfully irritate other users if all of a sudden their model starts producing different science results.

The reason I made an initial request to @mclaughlin6464 for "discoverability" suggestions was because of my concern over (2).
The reason I didn't consider (1) to be mission-critical in the first place is because I never make any guarantees that you can reproduce a given publication with the corresponding pre-built model. After all, Zheng+07 did not use direct-mock-population, used a different cosmology, halo mass definition, etc. On a slightly more editorial note, I also consider the Zheng+07 choice to multiply satellite occupation moment by the central moment to be purely ad hoc, which is why there is this option to use it or ignore it.
Option 1
Improve documentation and make no changes to default behavior. For this I would need suggestions, I'm not sure how to make it any more clear and I'm too close to the code to know what the new-user entry points are.
Option 2
Elevate modulate_with_cenocc to a mandatory positional argument. This will break backwards compatibility, but it will at least do so in a way that is not silent.
Option 3
Change the default behavior, but automatically raise a warning anytime anyone instantiates the class with
modulate_with_cenocc set to True, explicitly stating that the v0.1 default value has changed.
Other users of PrebuiltHodModelFactory('zheng07') may wish to weigh in, so I'm tagging @andrew-zentner, @mjvakili, @changhoonhahn.
Also tagging @eteq, who has lots of experience navigating backwards compatibility issues. @eteq - this is the first time such an issue has come up, so it would be helpful for you to weigh in about protocol for how this kind of thing is handled in astropy.

I'd say option 1 is best. I was under the assumption that this was already happening behind the scenes. This page of the docs makes no mention of this feature and was my primary reference point. It should be listed their in addition to the docstring.

@aphearin I agree with @surhudm -- the name Zheng07 would imply that the underlying HOD is done as was presented in the paper. What I expect is people will use halotools as a tool/blackbox, then it is best to be in accordance what users might expect.
To me, option 3 seems the right way forward.

@mclaughlin6464 - glad to hear you were using the Zheng+07 page of the docs as your basis. I completely agree that, at a minimum, this detail should be included in that page of the docs. That's an omission, and I'll fix that regardless.
@manodeep - thanks also for weighing in. I think it's worth pointing out out that @mclaughlin6464 discovered the most relevant section of the docs entirely on his own, with no guidance whatsoever from me. If that section had been properly documented, the issue would never have come up, so I think his suggestion is reasonable. However, I'd still like to hear from the other users of this section of the code before deciding.

How about adding to the Zheng07 page of the docs a few lines that describes how the Prebuilt model is built using something like this:
HodModelFactory(cens_occ_model, cens_prof_model, sats_occ_model, sats_prof_model),
where in the arguments of sats_occ_model (here Zheng07Sats), one can set "modulate_with_cenocc" to True or False.

Ok, thanks for weighing in everyone. I decided to go with option 3, since both @mjvakili and @mclaughlin6464 have been using this particular section of the code and independently suggested that modifying the docs would be sufficient. So #552 calls explicit attention to the fact that in order to strictly reproduce Zheng+07 results, it is necessary to set modulate_with_cenocc to True. That PR also includes lots more hyperlinks added to the code so that the composite model tutorials are more discoverable. I will close this issue now, but feel free to open it again if you think these changes are not sufficient.

authors: aphearin manodeep mclaughlin6464 mjvakili surhudm

repo: astropy/halotools


text:
chore: make requested changes for approval of package

Description

Make some changes to get the package approved as requested by the reviewer here

Related issue(s)
#599

@derberg The successful run can be viewed here.

/rtm

source: gharchive/pull-request

authors: Shurtu-gal derberg

repo: asyncapi/cli


text:
chore: fix generator and renderer tests

Description
This PR fixes the Abstract generator and renderer tests

Thanks @ron-debajyoti 🙂

repo: asyncapi/modelina


text:
feat!: remove unsupported specs from NodeJS export

Description

remove unsupported specs from NodeJS export
update Readme.md

Related issue(s)
Resolves #238

FYI, this PR is blocking #264. See Lukasz' comment.

@magicmatatjahu pingy pongy

@derberg Done :)

@magicmatatjahu wanna do the honors? 😄

@fmvilas Sure! :)

/rtm

authors: derberg fmvilas magicmatatjahu

repo: asyncapi/spec-json-schemas


text:
🛑 Wedding HTTPS is down

In db32cef, Wedding HTTPS ($WEDDINGHTTPS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wedding HTTPS is back up in f6613a9.

repo: atatkin/milos-uptime

license: MIT


text:
🛑 Wedding HTTPS is down

In 1d3e8c0, Wedding HTTPS ($WEDDINGHTTPS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wedding HTTPS is back up in ba9c2da.


text:
🛑 Wedding HTTPS is down

In 676e7a3, Wedding HTTPS ($WEDDINGHTTPS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wedding HTTPS is back up in 8910856.


text:
🛑 Wedding HTTPS is down

In 0430ccb, Wedding HTTPS ($WEDDINGHTTPS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wedding HTTPS is back up in 265216f.


text:
🛑 Wedding HTTPS is down

In e01721a, Wedding HTTPS ($WEDDINGHTTPS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wedding HTTPS is back up in 9100930.


text:
🛑 Wedding HTTPS is down

In c0afc42, Wedding HTTPS ($WEDDINGHTTPS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wedding HTTPS is back up in bb89241.


text:
🛑 Wedding HTTPS is down

In 7ab9898, Wedding HTTPS ($WEDDINGHTTPS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wedding HTTPS is back up in 61f0aec.


text:
changes not working

i modify DT_CRaftingData to remove the neccery items to craft items in the game
i did changes the table info its include the materials needed for the craft
everything set to 0 instant from the original number , after i save the file i take
UnrealPak with the same version engine as the game (UE4.25)
using that UnrealPak-Without-Compression.bat i just dragged the uasset
its made me Recipe_NoMaterials.pak
and i create a mod folder inside the pak folder and put it but soon as i active the game
i see it didn't change a thing
the file to review it attached
DT_CraftingData.zip

rename your pak to Recipe_NoMaterials_P.pak

authors: LievreAI LongerWarrior

repo: atenfyr/UAssetGUI


text:
Oracle icon

to have oracle icon

because already requested

repo: atisawd/boxicons


text:
Ability to use Mastercrud inside tabs as it is with CRUD?

Is it possible to use mastercrud inside tabs as it is with CRUD only?
I tried to do this but only works for one single model in this case Events model...
  $tabs->addTab('Events', function($p) use($app) {

    $m = $p->add(new MasterCRUD());
    $m->setModel(new Events($app->db), ['Images'=>[]]);

  });

if I click the relational model Images the layout is destroyed and the url address change to this:
html ?atk_narrow_tabs_tabssubview_virtualpage=cut&all_events_id=52
Instead the code below works inside tabs without issues, but only for one model definition...
  $tabs->addTab('Events', function($p) use($app) {
    $m = $p->add('CRUD')->setModel(new Events($app->db));
  });

Any ideas how to make use of mastercrud inside tabs?
thanks for the ideas!

closing in favor of https://github.com/atk4/ui/issues/2070

authors: mvorisek rapgithub


text:
[refactor]: Compiled artifact as plain vanilla NPM package

This PR encompasses two main updates with a large scope:

A major upgrade to Angular 5.
AtlasMap UI now will feature a different build process that generates a plain vanilla JS package, already compiled and ready for distribution, which also contains the metadata required to be imported by an Angular app.

Additionally this PR contains a major clean up of code not conforming the new TsLint ruleset. Please note that testing this PR will require you to double check that:
a. The yarn build command can be executed seamlessly in your system and the CI environment.
b. You can fetch and install the packaged build.
Tip: You can build AtlasMap UI and import it into a newly created Angular project (living in a workspace with support for the AtlasMapper minishift routes) or into AtlasMapUI itself bu means of:

A local path in your package.json
A URL referencing the build folder in a remote location (eg. GitHub)

Please note the changes conducetd in the .circleci/configr.yaml manifest file.

awesome! is this still work in progress? it seems UI test fails due to chrome is not running in headless mode.
(atlasmap also have wip bot enabled, so put a WIP: prefix if you like)

awesome! is this still work in progress?

It is actually final. Mmmhh, that failed test is a big showstopper! This PR is required mostly to pave the way for upgrading Syndesis to Angular 5. That upgrade is in hiatus ATM so I'll investigate a better JUnit reporter implementation once I' done with my current agenda in Syndesis. Thanks for raising this.

authors: deeleman igarashitm

repo: atlasmap/atlasmap


text:
[atlasmap/camel-atlasmap#14] [#156] NPE if mapping/inputField/@docId …

…is specified
Let it use docId only when input map actually contains the input with that docId as a key, otherwise use default input

OK, added one more commit to introduce Mockito for test purpose - now it should be good to go.


text:
Support "Create branch" link form Jira

The link in Jira sends to Bitbucket instead of Github

Any planning for creating a branch in Github?

Hi @arieteter and @mikhaelsantos. I'm from a team at Atlassian that is currently in the process of migrating the ownership over to us from GitHub. As a part of this, we're currently going through the backlog of issues and prs to see what can still be addressed and what should be closed.
This is something my team is actively working on. Due to several factors while we are in the process of the migration, we won't be able to merge our changes for 'create branch', but plan to deploy as soon as we have full ownership of the app. Stay tuned 😄

Any update on this issue?

@rbehle Very sorry for the wait.  It's been quite hectic here while we try to migrate the app to full Atlassian ownership.  This sadly fell through the cracks in that process.  We are very close to completing the migration work and we can continue the work done for this.  My estimate would be that it would be done in the next few weeks - migration first, then this would be a quick win as we already have most of the work already done.
Thanks for your patience.

@mboudreau Appreciated

Really would appreciate this feature, create the branch from jira and get the branch <> issue linked! any news regarding this?

@mboudreau Any ETA on this issue? Developers keep asking about this feature.   ;)

Hey @tykim-hd, @ricardf, @lucduong, @rbehle, @arieteter, and @mikhaelsantos. Apologies for the slow movement on this. Post-migration the team has had to focus on some reliability work but we are now able to start picking up feature work. The stream of work for this hasn't been assigned to anyone on the team yet but I know it is one we want to start focusing on soon.
Thanks for your patience. I will update here again when I have more information.

Any update on this matter please ? we really need this feature ! I appreciate if you could provide an estimate date for delivering this feature ? we are all awaiting for create branch within Jira for Github repo  !

Hi, sorry for the radio silence.  We've been hard at work trying to improve reliability and scalability for our customers and haven't had the time to concentrate on the create branch functionality.  We are having internal talks about it - we had a design review for it just a few days ago - to try to consolidate the experience between the Bitbucket and Github create branch.
I think this might be a long term approach though and doesn't solve your current issue.  We might look into create a short term solution to get the functionality working first before improving upon it further.  I'll bring this concern with the team to see where the prioritization should be.
Cheers.

mboudreau, thanks for the update. It's encouraging to hear that it's being discussed.  We are committed to Jira Software and look forward to this feature.

I notice that the Create Branch feature of the GitHub for Jira integration has changed.  It now provides you with a git command to generate a branch on your machine. It's a nice step forward (see image). @mboudreau is this the short term solution you were proposing?  Still keen to see this integration create a branch in the GitHub repo.

Hey @tony-stecca-d2l,
this is a general improvement to the "Create Branch" functionality that was made independently from our own plans.
We still have the "create branch" support for GitHub in our scopes. We want to explore a solution this quarter and implement it next quarter. That's the plan, at least :). Sorry, I can't promise more right now :(.

Any status on this?  According to this Atlassian video it looks like it should be working but I can't get it to work.

Any status on this?  According to this Atlassian video it looks like it should be working but I can't get it to work.

The part or the video is working. What is missing is the Create GitHub button (we only have gitlab and bitbucket options).

Would be great to see when will this be available

Love the create branch shortcut. We would like to customize the branch name suggested to match our naming strategy.  What's the right way to give feedback on adding feature?
Also added a +1 to https://jira.atlassian.com/browse/JSWCLOUD-22152

Sad to see that this is still not implemented :-(

Love the create branch shortcut. We would like to customize the branch name suggested to match our naming strategy. What's the right way to give feedback on adding feature?
Also added a +1 to https://jira.atlassian.com/browse/JSWCLOUD-22152

Fyi

Love the create branch shortcut. We would like to customize the branch name suggested to match our naming strategy. What's the right way to give feedback on adding feature?
Also added a +1 to https://jira.atlassian.com/browse/JSWCLOUD-22152

FYI - instead of +1, please use the vote option

Hey all. Thanks for your patience on this one. We're officially kicking off work next week to support Create Branch for GitHub.

Hey again. Just a quick update. The team working on this is very close to wrapping up and then will start rolling this out in prod. Will update again when that's done.

@rachellerathbone glad to hear this! Will it take into account which repo "should" be associated with a project, so that the branch is created in the correct repo? #585

Hey @timothywlewis. Yes 😄 When you click the create branch link, you'll be navigated to a screen where you will select the org and repo you want to create the branch in. Keep in mind, you'll only see the orgs you've connected to via our integration, and the repos you've given permissions to.
We're keeping our fingers crossed this will start rolling out tomorrow. Waiting on a couple of things on the Jira side of things but we're very close 🙏

Hi @rachellerathbone, any updates on this? Thanks :)

I think a couple of weeks ago I saw this flash up for a moment or two on my Jira instance. It disappeared after an hour or so. Assuming this was intentional and this still hasn't rolled out?

Hi @rachellerathbone
Is this feature rolled out yet ? Because we cannot see it in
We would love to know updates / ETA for this feature.

Cool, that looks great! This is for the cloud version right? is there any plan for the Data Center version of Jira?

@rachellerathbone I just checked, and it is working but it is not using the format I have set!

It seems like we should be able to configure the template for the branch name - but it isn't being honoured, and always uses -
Doesn't matter what template I try to use (with the collection of possible fields) - the url that 'create branch' navigates to is always
https://github.atlassian.com/github/create-branch?issueKey=xxx&issueSummary=yyy&....
which results in the the branch name being xxx-yyy.
The generated command (to run locally) seems to be correct :)

@rachellerathbone is there any plans to resolve this issue? Thanks

Hi all, this feature has been rolled out a few months ago. I'm closing this issue but please feel free to raise a new one if you encounter any issues when creating a branch.
Cheers :)

authors: KyeRussell PaulDokken aminzar-access arieteter atrigueiro devnetspot ecorichard ehaselwanter engineerakki foundingnimo jsdse lucduong mboudreau mikhaelsantos packplusplus rachellerathbone rbehle ricardf tekNorah thombergs timothywlewis tony-stecca-d2l tykim-hd

repo: atlassian/github-for-jira


text:
Delete operation should be concurrency safe

Right now delete operation only uses UID precondition but it should also use resource version precondition once (if) available. See https://github.com/kubernetes/kubernetes/issues/30698#issuecomment-319955082

Should be possible to do now.

repo: atlassian/smith

license_source: bigquery


text:
Релиз

Info
Здесь будут собраны все тикеты которые нужно закрыть до релиза и обсуждение ключевых моментов
Список Задач

[x] https://github.com/atls/figma/issues/18

@carminio можешь сформулировать статус генераторов после твоих фичей? Чего не хватает до конечного использования/узкие места и т.п.
Пока напиши сюда комментом, обсудим, и составим задачи

@TFK70 В генераторе colors не хватает этого в остальном вроде всё конечный результат

@TFK70 В генераторе colors не хватает этого в остальном вроде всё конечный результат

Не понял немного, распиши подробнее чего не хватает

@TFK70 В генераторе colors не хватает этого в остальном вроде всё конечный результат

Не понял немного, распиши подробнее чего не хватает

Генератор colors генерит сейчас в таком виде:
const colors = {
  white: 'rgba...',
  black: 'rgba...',
  .....
}

А не в таком:
const colors = {
  white: 'rgba...',
  black: 'rgba...',
  button: {
    primary: {
      default: {
        background: 'rgba(224, 29, 81, 1)',
        font: 'rgba(255, 255, 255, 1)',
        border: 'rgba(224, 29, 81, 1)',
      },
      hover: {
        background: 'rgba(200, 21, 70, 1)',
        font: 'rgba(255, 255, 255, 1)',
        border: 'rgba(200, 21, 70, 1)',
      },
      pressed: {
        background: 'rgba(177, 16, 52, 1)',
        font: 'rgba(255, 255, 255, 1)',
        border: 'rgba(177, 16, 52, 1)',
      },
      disabled: {
        background: 'rgba(10, 10, 11, 0.04)',
        font: 'rgba(172, 173, 183, 1)',
        border: 'rgba(10, 10, 11, 0.04)',
      },
    },
},
  input: {
    primary: {
      default: {
        background: 'rgba(10, 10, 11, 0.04)',
        border: 'transparent',
        fontColor: 'rgba(10, 10, 11, 1)',
      },
      hover: {
        background: 'rgba(10, 10, 11, 0.04)',
        border: 'transparent',
        font: 'rgba(10, 10, 11, 1)',
      },
      pressed: {
        background: 'rgba(10, 10, 11, 0.04)',
        border: 'transparent',
        font: 'rgba(10, 10, 11, 1)',
      },
      focus: {
        background: 'rgba(10, 10, 11, 0.04)',
        border: 'transparent',
        font: 'rgba(10, 10, 11, 1)',
      },
      disabled: {
        background: 'rgba(247, 247, 247, 1)',
        border: 'rgba(247, 247, 247, 1)',
        font: 'rgba(195, 195, 195, 1)',
        label: 'rgba(128, 128, 128, 1)',
      },
      error: 'rgba(213, 52, 52, 1)',
    },
  },
  .....

В общем состояния для кнопок, инпутов нужно руками вписывать

@carminio понял, составь тогда задачу на это

@carminio полагаю, мы можем расширить нашего walker'a для доступа ко внутренним слоям ноды?

Closed by https://github.com/atls/figma/pull/20

authors: TFK70 TorinAsakura carminio

repo: atls/figma


text:
🛑 AtmoVantage Appointment Booking is down

In 11ceac7, AtmoVantage Appointment Booking (https://booking.atmovantage.com/#/customer/schedule) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AtmoVantage Appointment Booking is back up in 329f3c5 after 10 minutes.

repo: atmovantage/atmostatus


text:
Markdown Table rendered wrong

OK
Package
GPG
HASH
HTTPS
Reproducible
Notes

The bottom right cell is missing in the markdown preview of atom. If it has content it is shown correct again. Using atom 1.13.0 on Archlinux.

Thanks for taking the time to contribute!
We noticed that this is a duplicate of https://github.com/atom/markdown-preview/issues/206. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.

repo: atom/atom


text:
Uncaught Error: GitTabController instance is not associated with a valid virtualNode. Perhaps thi...

[Enter steps to reproduce:]

...
...

Atom: 1.22.0-beta0 x64
Electron: 1.6.9
OS: Mac OS X 10.13.1
Thrown From: Atom Core
Stack Trace
Uncaught Error: GitTabController instance is not associated with a valid virtualNode. Perhaps this component was never initialized?
At /Applications/Atom Beta.app/Contents/Resources/app/node_modules/etch/lib/component-helpers.js:100

Error: GitTabController instance is not associated with a valid virtualNode. Perhaps this component was never initialized?
    at updateSync (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/etch/lib/component-helpers.js:100:17)
    at /Applications/Atom Beta.app/Contents/Resources/app/node_modules/etch/lib/component-helpers.js:72:13
    at ViewRegistry.module.exports.ViewRegistry.performDocumentUpdate (/Applications/Atom Beta.app/Contents/Resources/app/src/view-registry.js:187:15)
    at /Applications/Atom Beta.app/Contents/Resources/app/src/view-registry.js:3:65

Commands
     -0:12.9.0 project-manager:list-projects (div.tool-panel.tree-view)
  2x -0:11.4.0 core:move-down (input.hidden-input)
     -0:10.5.0 core:confirm (input.hidden-input)
     -0:04.6.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)

Non-Core Packages
busy-signal 1.4.3
cursor-history 0.12.0
go-debug 1.5.2
go-plus 5.5.5
go-rename 0.3.0
go-signature-statusbar 1.2.3
hyperclick 0.1.5
ide-go 0.4.0
intentions 1.1.5
linter 2.2.0
linter-ui-default 1.6.10
project-manager 3.3.5
script 3.16.0
significant-other 0.3.0
toggler 0.3.0
vim-mode-plus 1.9.1

Thanks for the report!  Can you confirm a few things for us?

what were you doing at the time of the error?
is the error is reproducible?
if reproducible, do you see the error in safe mode (atom --safe)?

Hi,
I get the same error here.
It happens systematically when switching project using project-manager package, the error message appear and I cannot use any git feature afterwards.
I cannot reproduce in safe mode as this package is deactivated then and reopening a project results in opening a new atom window when in safe mode.
It might be related to the fact that project-manager loads the project without opening a new window, so perhaps is it more of a project-manager issue.
Note that reloading the window with Ctrl+Shift+F5 after switching project solves the problem.

Thanks @wpiprox, it looks like @shemerey also uses project-manager.  Can you share exact steps to reproduce?  Also, since the issue seems at least related to project-manager, I'd suggest opening an issue in their repository as well.  The Atom FAQ has information on how to contact the maintainers of any Atom community package or theme.

There are 2 ways I can reproduce:

Open atom
Switch project with the dedicated shortcut provided by project-manager package
Switch one more time

or

Open atom
Open a file in the current project
Switch project with the dedicated shortcut provided by project-manager package

I'll open an issue in the package repository as well.

I can confirm that when I switch projects using the package manager extension the same error happens to me. However, if I Shift+Enter the project that I want to open (in order to open it in a new window), the error does not happen.

I also get this error

I'm seeing this error as well when I use shift-enter to open a project using atom project manager.

I get this error as well when switching projects using atom project manager. I causes git integration to break until I restart Atom.

I had some trouble trying to use project-manager, @srilq can you share steps to reproduce with project-plus?

@rsese if you have a ~/.atom/projects.cson with this for example:
[
  {
    title: "git-project1"
    paths: ["/Users/sril/src/project1"]
  }
  {
    title: "git-project2"
    paths: ["/Users/sril/src/project2"]
  }
]

Command: Application: New Window.
Command: Project Plus: Toggle Project Finder
Select git-project1
Press Enter
Command: Project Plus: Toggle Project Finder
Select git-project2
Press Enter

It's not 100% reproducible, but it has happened to me several times every day for 6+ months (with both atom-project-manager and atom-project plus. I "fix" it by reloading the window. I have experimented for a long time and have never found a 100% repro. There appear to be some race conditions here.
Video: https://drive.google.com/file/d/1Zzyh_S652FvNDJJ791UyO5ohmTrmTYM0/view?usp=sharing

I'm experiencing this in the exact same way @srilq is describing. Happens irregularly, multiple times per day.

authors: Jeremiahgibson cbovis eevargas maxmoeschinger neumannrf rsese shemerey srilq wpiprox


text:
Specific project keeps project pane from opening more than two files

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
On Ubuntu 18.04, this repo when opened in Atom, allows me to click on two files in the sidebar. Both will open but a third won't. The filename I click highlights, but nothing opens.
There is nothing in the console log. Additionally, when trying this outside of safe mode, if I press ctrl-alt-p to bring up my project switcher, it can't find any projects.
Other repos work fine.
Steps to Reproduce

Clone this repo
Open in Atom
Try to open files

Expected behavior: Files to open when clicked on
Actual behavior: Nada
Reproduces how often: Always for me
Versions
Atom    : 1.32.1
Electron: 2.0.9
Chrome  : 61.0.3163.100
Node    : 8.9.3
apm  2.1.2
npm  6.2.0
node 8.9.3 x64
atom 1.32.1
python 2.7.15rc1
git 2.17.1

Extra note: opening a different repo in Atom, then switching to the problem repo from the other using my project switcher cleared the issue.

Thanks for the report!  I was unable to reproduce on Ubuntu 18.04 with 1.32.1.
So now that the issue cleared up after using whichever project manager/switching community package you have installed, you can no longer reproduce?
And just to clarify, were you able to reproduce in safe mode?

Hmm not sure what the issue could be - I tried to reproduce again but couldn't and haven't seen any other reports of similar behavior that I could find.
Is this the first time you've seen this behavior, in Atom 1.32.1 and things worked ok before?  Any difference in the recently released 1.33.0?

I've never had the issue before, no. I recently switched from XFCE to XMonad for my primary development laptop (and from Ubuntu 16.04 to 18.04). Could be an obscure window manager bug.

I've never had the issue before, no. I recently switched from XFCE to XMonad for my primary development laptop (and from Ubuntu 16.04 to 18.04). Could be an obscure window manager bug.

:+1:  Since we can't reproduce and there haven't been other reports, I'll tag as needs-repro for now.

authors: SSPJ rsese


text:
Autocomplete Next

We're not quite ready to tackle a new autocomplete yet, but I wanted to start the conversation as there are several folks interested in working on autocomplete: @mark-hahn, @lee-dohm, @joefitzgerald, @abe33.
Once we finish with API related things, I was planning on:

Looking at autocomplete-plus code
Checking out all of the existing providers out there.

How many are out there? What are the popular ones?

Looking at code @mark-hahn and @lee-dohm produced recently
Looking at other editors. How do they do it? Do they have APIs?
Are there autocomplete daemons out there we can use (e.g. https://github.com/nsf/gocode for Go)

Then I would come up with a plan of attack for the new version. In my mind, we have a couple options:

Extend autocomplete with an API
Take over autocomplete-plus with some modifications and API changes
Write something completely new

I am not sure what the best way forward is right now. I do feel, though, that the hard part is not the UI that pops up the completion box, it's having great language support, and a nice API for adding completions.
It would be great if you guys could help me / us work through the research phase. Off the top of my head, I'm thinking these would be a big help:

Your opinions and suggestions for the provider API.
Your architectural suggestions (I know @mark-hahn wrote one recently)
Comments explaining the pitfalls and your frustrations of the current autocomplete-plus API. Maybe suggestions on improvements.
Links to autocomplete providers for languages (either generic providers or for other editors)
Explanations / links to APIs in other editors
General autocomplete API related frustrations and desires

Resources

Discuss thread: https://discuss.atom.io/t/what-can-we-do-to-improve-autocomplete/13001
@mark-hahn + @lee-dohm's autocomplete: https://github.com/mark-hahn/autocomplete-generic
https://github.com/atom-community/autocomplete-plus
https://github.com/HaxeIDE/atom-autocomplete-plus-async

Providers

Ruby provider: https://atom.io/packages/rsense
Rust provider: https://atom.io/packages/racer
Go generic provider: https://github.com/nsf/gocode
Python generic provider: https://github.com/davidhalter/jedi
JS: https://github.com/marijnh/tern ; https://github.com/majutsushi/tagbar/wiki#javascript
Coffee: https://github.com/lukaszkorecki/CoffeeTags ; https://github.com/mntmn/tern-coffeescript

Autocomplete+ providers
https://github.com/atom-community/autocomplete-plus/wiki/Autocomplete-Providers

@benogle I know it's now January and you're nearing completion of the 1.0 API. If your focus starts to shift to this, please ensure you discuss with @nathansobo and take a look at the work we're doing in atom-community/autocomplete-plus#189 and atom-community/autocomplete-plus#184.

Will do

Are there any updates on the direction for autocomplete going forward? (ie. is Atom going to adopt autocomplete-plus now?)

Are there any updates on the direction for autocomplete going forward?

It is definitely in progress, we shipped two new autocomplete-plus providers this week, autocomplete-html and autocomplete-css
I would guess it would start to ship with Atom in the next couple weeks or so

... And we're more than happy to facilitate transition of the repo from https://github.com/atom-community to https://github.com/atom, as well as autocomplete-snippets and autocomplete-paths - if desired.

Tara Rum Pum, Bump

This is happening. I cant commit to a specific date, but autocomplete-plus will be the main deal soonish.

:+1:

Markup closing would be a great core feature for the autocompleter: https://github.com/mrhanlon/less-than-slash

Markup closing would be a great core feature for the autocompleter: https://github.com/mrhanlon/less-than-slash

That wouldn't be a core feature but it sounds like a great provider. Would be cool if the current package converted to become an autocomplete-plus provider.

@joefitzgerald Ah, I'll suggest there. Maybe wrong word choice, meant: would be nice if "Atom just behaved this way by default" rather than it belongs in this package specifically. This seemed like the right place among the roadmap tasks.

A wish would be 'inline-autocomplete', i.e. an UI-less mode where a keypress will rotate among the alternatives (similar to how it works in Textmate).
This package supports this, but it's not as nicely integrated with Atom as the regular autocomplete package, and since this is a core feature of an editor I'd much prefer using an official package.
https://atom.io/packages/inline-autocomplete

-1 for inline-autocomplete.
Because I use autocomplete to not only get autocomplete but to also get the type of the variable, for example, identify if it's a Map<string,mixed or Map<string,string.
Auto-Complete-Plus provides a label attribute that serves this purpose grealy.

@steelbrain I'm thinking of an optional, opt-in, mode. You wouldn't be forced to use it.

A wish would be 'inline-autocomplete',

I think this should be a separate package. For the people who want this behavior, they can disable the default, and install an inline-autocomplete package.

Just throwing in my +1 on an AutoComplete system that can stand-up against PHP Storm's. For example, working in a Laravel app, if I start typing:
Route
it gives me options on what class to import and even tells me when I have imported classes that are not in use in the current doc, which is fantastic. This is the ONLY feature that is keeping me from moving to Atom full-time -- right now it's just for frontend work.

@zslabs out of the box, it wont provide PHP intelligence. We will be bundling autocomplete-plus in the near future. You can install it today and get a much better experience over the built-in autocomplete. You may get some mileage out of @steelbrain's atom hack package. Also, I do know facebook will be soon releasing nuclide soon, which will include hack tooling, likely with autocomplete providers for PHP.

A note to everyone following this issue: there is a plan for bundling autocomplete-plus with core outlined in https://github.com/atom-community/autocomplete-plus/issues/351

authors: benogle brendanfalkowski joefitzgerald kevinsawicki mnquintana russlescai sandstrom steelbrain zslabs


text:
Question: Sort by Stars/Downloads

Is it possible to sort by stars or the number of downloads when searching packages & themes ?
It would be nice to have this feature for atom and also on the webpage...

Yes, on atom.io.
On Sun, May 10, 2015 at 9:53 AM, boustanihani notifications@github.com
wrote:

Is it possible to search packages & themes by stars or the number of
downloads?
It would be nice to have this feature for atom and also on the webpage...
—
Reply to this email directly or view it on GitHub
https://github.com/atom/atom/issues/6721.

How? I can't find any options for this neither on the packages page nor on the themes page :(
https://atom.io/packages/search?q=meteor

https://atom.io/themes/search?utf8=✓&q=cobalt

Weird.  I've never seen that page.
This one has what you want.  https://atom.io/packages/list
On Sun, May 10, 2015 at 11:33 AM, boustanihani notifications@github.com
wrote:

How? I can't find any options for this neither on the packages page nor
on the themes page :(
https://atom.io/packages/search?q=meteor
[image: search packages]
https://cloud.githubusercontent.com/assets/4227548/7555688/9b1bbb48-f753-11e4-852c-7f957daa443c.png
https://atom.io/themes/search?utf8=✓&q=cobalt
[image: search themes]
https://cloud.githubusercontent.com/assets/4227548/7555690/aa7b55b2-f753-11e4-83bf-5e40959b3c32.png
—
Reply to this email directly or view it on GitHub
https://github.com/atom/atom/issues/6721#issuecomment-100679374.

https://atom.io/packages/list lists all, but when you search for something you won't be able to sort, try it.

Duplicate of your own atom/apm#303.

sorry I forgot I opened this :)

:grinning: It's quite alright

Just like to say that I'm shocked this still isn't implemented.

authors: DomingoMontoya boustanihani lee-dohm mark-hahn


text:
Failed to activate the nuclide-toolbar package

[Enter steps to reproduce below:]

...
...

Atom Version: 1.2.4
System: Mac OS X 10.11.1
Thrown From: Atom Core
Stack Trace
Failed to activate the nuclide-toolbar package
At Cannot find module 'options'

Error: Cannot find module 'options'
    at Module._resolveFilename (module.js:336:15)
    at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:286:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/Users/wei/Downloads/nuclide-master/pkg/nuclide/react-native-node-executor/node_modules/ws/lib/WebSocket.js:16:15)
    at Module._compile (module.js:434:26)
    at Object.defineProperty.value [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:190:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)

Commands

Config
{
  "core": {
    "disabledPackages": [
      "tree-view"
    ]
  }
}

Installed Packages
# User
hyperclick, v0.0.0
nuclide-arcanist, v0.0.0
nuclide-blame, v0.0.0
nuclide-blame-provider-hg, v0.0.0
nuclide-blame-ui, v0.0.0
nuclide-buck-files, v0.0.0
nuclide-busy-signal, v0.0.0
nuclide-clang-atom, v0.0.0
nuclide-code-format, v0.0.0
nuclide-code-highlight, v0.0.0
nuclide-debugger-atom, v0.0.0
nuclide-debugger-hhvm, v0.0.0
nuclide-debugger-lldb, v0.0.0
nuclide-debugger-node, v0.0.0
nuclide-diagnostics-store, v0.0.0
nuclide-diagnostics-ui, v0.0.0
nuclide-diff-view, v0.0.0
nuclide-file-tree, v0.0.0
nuclide-file-watcher, v0.0.0
nuclide-find-references, v0.0.0
nuclide-flow, v0.0.0
nuclide-fuzzy-filename-provider, v0.0.0
nuclide-hack, v0.0.0
nuclide-hack-symbol-provider, v0.0.0
nuclide-health, v0.0.0
nuclide-hg-repository, v0.0.0
nuclide-home, v0.0.0
nuclide-installer, v0.0.0
nuclide-language-hack, v0.0.0
nuclide-objc, v0.0.0
nuclide-ocaml, v0.0.0
nuclide-open-filenames-provider, v0.0.0
nuclide-quick-open, v0.0.0
nuclide-recent-files-provider, v0.0.0
nuclide-recent-files-service, v0.0.0
nuclide-remote-projects, v0.0.0
nuclide-test-runner, v0.0.0
nuclide-toolbar, v0.0.0
nuclide-type-hint, v0.0.0
nuclide-url-hyperclick, v0.0.0

# Dev
No dev packages

Please move this over to the facebook/nuclide repo instead.  Thanks!


text:
Call debounced cursor blink resume callback any time the cursor moves

Previously, we were only calling the debounced resume callback when the cursor was already blinking, but this meant we didn't renew the debounce window. This in turn meant we attempted to start blinking the cursor again every 100ms regardless of cursor interactions, which was consuming an extra frame and causing cursor movement to not feel smooth.

Appveyor failure is a known spurious thing.

authors: maxbrunsfeld nathansobo


text:
Only migrate config when it exists

I noticed my config was getting saved each time Atom started up and traced it to this check.
If people installed autocomplete-plus after this config was migrated (I did), then oldMax would be null and the migration would occur each time the package was activated.
/cc @benogle looks like this changed in https://github.com/atom-community/autocomplete-plus/pull/272

Damnit, wrong repo.

repo: atom/autocomplete

license: mit


text:
Not highlights operator

For example in JS the new operator highlighted by regular color.
&.operator {
  color: @syntax-text-color;
}

Maybe it should be @purple?

@xlaywan I think that's intended and it seems that the original TextMate theme also doesn't highlight .keyword.operator: https://tmtheme-editor.herokuapp.com/#!/editor/theme/Base16 Tomorrow Dark
You could override it in your styles.less file with:
.theme-base16-tomorrow-dark-theme atom-text-editor::shadow {
  .keyword.operator {
    color: #b294bb;
  }
}

Or if it only should change new and not every operator:
.theme-base16-tomorrow-dark-theme atom-text-editor::shadow {
  .keyword.operator.new {
    color: #b294bb;
  }
}

authors: simurai xlaywan


text:
Electron 0.26.1 is not support Chinese language

Ubuntu 14.04 LTS

This is a duplicate of #1605.

authors: lealife zcbenz

repo: atom/electron


text:
APKAM namespace access control changes - scan, update and lookup verbs

Is your feature request related to a problem? Please describe.
APKAM authenticated connections should have access only to namespaces which it has been granted access.
https://github.com/atsign-foundation/at_protocol/blob/trunk/decisions/2023-01-pkam-per-app-and-device.md
Describe the solution you'd like

update verb handler should honour APKAM namespace access
lookup/llookup/plookup verb handlers should honour  APKAM namespace access

Describe alternatives you've considered
No response
Additional context
No response

Work done in PR63

Completed access changes in scan verb handler.
Have to document apkam authenticated scan results and get it approved by wider audience

Draft pull request:
https://github.com/atsign-foundation/at_server/pull/1443

PR merged and server released to canary


text:
Unable to get into the wavi app with the canary atsigns

Describe the bug
After authenticating into the wavi app, Unable to perform any action. An error message as "something went wrong" or the Edit icon being missed.
To Reproduce
Steps to reproduce the behavior:

First I authenticate to the wavi app
Then check the dashboard

Expected behavior
Edit icon and the list of authenticated atsigns should be displayed.
Screenshots

]
Smartphone (please complete the following information):

Device: [e.g.Samsung Galaxy]
OS: [e.g. iOS14.1]
Browser [e.g. stock browser, safari]
Version [e.g. 59]

Were you using an @application when the bug was found?

[e.g. @ wavi]

Additional context
Atsigns Used - 17robust, jittery5justfriends, bluegreen129slow
App logs
_onSuccessCallback 2021-12-13 11:35:04.416804Sync status: SyncStatus.success lastSyncedOn: 2021-12-13 06:05:04.416778Z Exception: null true
I/flutter (27539): INFO|2021-12-13 11:35:04.554619|EncryptionService|isEncrypted is set to false, Returning the original value without decrypting
I/flutter (27539): SEVERE|2021-12-13 11:35:04.565798|AtMeService|Fetching @17robust throws AT0014: Decryption failed. Encrypted value is null
I/flutter (27539): INFO|2021-12-13 11:35:04.566668|DashboardWidget|loading first atsign throws AT0014: Decryption failed. Encrypted value is null

Re-tested the issue with the latest at_client: 3.1.3 & at_client_mobile: 3.0.7 app, With the 17robust atsign. I was able to get into the app. But with the other atsign, bluegreen129slow and jittery5justfriends the issue still exists.
SEVERE|2021-12-20 14:59:16.727327|AtMeService|Fetching @bluegreen129slow throws Exception: public:_latestnotificationid.wavi@bluegreen129slow does not exist in keystore
I/flutter (31794): INFO|2021-12-20 14:59:16.728244|DashboardWidget|loading first atsign throws Exception: public:_latestnotificationid.wavi@bluegreen129slow does not exist in keystore

For privatekey:self_encryption_key Key, The value is being null. Not sure why. Checking on it.

It is an issue with the app get method in sdk_service.dart line#86. That must be handled with try-catch.
Future<AtValue> get(AtKey atKey) async {
  AtValue atValue;
  bool validKey = _isValidKey(atKey);
  atKey.metadata!.isPublic = atKey.sharedWith == null;
  try {
    var atKeyCopy = AtKey()
      ..key = atKey.key
      ..isRef = atKey.isRef
      ..metadata = atKey.metadata
      ..sharedBy = atKey.sharedBy
      ..sharedWith = atKey.sharedWith
      ..namespace = atKey.namespace;
    if (atKeyCopy.namespace == AppConstants.personaNameSpace) {
      atKeyCopy.metadata!.namespaceAware = false;
      atKeyCopy..key = '${atKeyCopy.key}.${AppConstants.personaNameSpace}';
    }
    atValue = await _getAtClientForAtsign().get(atKeyCopy);

    if (atKeyCopy.namespace == AppConstants.personaNameSpace &&
        atValue.value != null) {
      await delete(atKeyCopy);
      atKey.metadata!.namespaceAware = true;
      await put(atKey, atValue.value);
      atValue = await _getAtClientForAtsign().get(atKey);
    }
    if (isValid(atValue.value) && validKey) return atValue;
    //cached keys cannot be updated
  } on KeyNotFoundException catch (e) {
    return AtValue();
  }
  return AtValue();
}

something similar to this.

Looks like we were having issues with getting values from keys for a very long time. As we already know there will be some failures in getting values, wrapping up the logic with try-catch will avoid it.

Tested the issue with the latest fix. Now the issue is resolved and I'm able to get into the wavi app successfully.

@purnimavenkatasubbu please verify and close this issue after app is released to test flight/playstore


text:
typing the whole keymap rather than the input

I am using Hyprland on Arch, and on any application, whether wayland-native or xwayland, wtype is typing out its whole keymap rather rather than my input.
For example, wtype "abcdefg" prints: 123456
wtype "abc" prints 12
wtype "aaaaaabbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccdddddddddddddd" prints ^[^[^[^[^[^[111111111111111111111111222222222222222222233333333333333
wtype -s 2000 "abcdefghijklmnopqrstuvwxyz" prints ^[1234567890-	qwertyuiop[
wtype -s 2000 "test" waits, then types 12, and doing the same then switching to an xwayland application in the 2 seconds types out 12 there as well, so it is not wayland/xwayland specific.
I have tried the wtype package, wtype-git package, and building from source.

An update fixed it, thanks whoever did that!

repo: atx/wtype


text:
Phononic spectrum

Like the EM spectrum, but for phonons.

The phonon is the physical particle representing mechanical vibration and is responsible for the transmission of everyday sound and heat. Understanding and controlling the phononic properties of materials provides opportunities to thermally insulate buildings, reduce environmental noise, transform waste heat into electricity and develop earthquake protection. Here I review recent progress and the development of new ideas and devices that make use of phononic properties to control both sound and heat. Advances in sonic and thermal diodes, optomechanical crystals, acoustic and thermal cloaking, hypersonic phononic crystals, thermoelectrics, and thermocrystals herald the next technological revolution in phononics.

Source


text:
Syntax highlight for README.md

Introducing newer approach for code syntax highlight in Markdown.

Thanks!

authors: Nonemoticoner aure

repo: audiokit/AudioKit


text:
Cmdline -i option segfault

When I attempt to start the command line app with an -i option specified, it immediately crashes without warning.
Normal startup execution (works fine)...
$ sudo ./avdecc-lib/controller/app/cmdline/avdecccmdline

AVDECC Controller version: v0.6.2
1 (lo, address: <127.0.0.1>)
2 (enp0s3, address: <10.10.10.125>)
Enter the interface number (1-2):

Attempting to use -i option...
$ sudo ./avdecc-lib/controller/app/cmdline/avdecccmdline -i 2
// ...OR...
$ sudo ./avdecc-lib/controller/app/cmdline/avdecccmdline -i enp0s3

AVDECC Controller version: v0.6.2
Segmentation fault

Doesn't tell me why it crashed, what went wrong, nothing. Just *splat*.
How is this -i option actually supposed to be used?
System environment:
- Linux Mint 18.1 Serena
- Linux 4.4.0-81-generic (x86_64)
- gcc/g++ 5.4.0 20160609

Just noticed that v0.6.2 isn't the newest version. Not sure how I got v0.6.2 because I just pulled/cloned the repo 2 days ago.
Anyway, did a full wipe and re-cloned the repo, got v0.6.13, and entering the command shown above with -i 2 and everything works as I would have expected.

repo: audioscience/avdecc-lib


text:
Account auto-complete missing accounts

Starting with
option "operating_currency" "USD"
2016-07-01 open Expenses:Food
2016-07-01 open Expenses:Food:Meat

Auto-complete cannot give Expenses:Food, see screenshot.

Thanks @xiaoruoruo for reporting this. Will look into it at the end of the week.

@blais Is this scenario/account setup supported?
option "operating_currency" "USD"
2016-07-01 open Expenses:Food
2016-07-01 open Expenses:Food:Meat

That's supported yes. The reason why Expenses:Food doesn't show up is that we're only feeding leaf accounts to the completion. We could do better and list all those that have at least one entry.

Seems still not completing all accounts? Compiled and reinstalled at d71ec60.

There was a small bug. Should work now.

Thanks!

authors: aumayr xiaoruoruo yagebu

repo: aumayr/fava


text:
Aurelia_KendoUI demo app should act as a hub

I would like to add a few pages (items on the main menubar):
1. Documentation that would fetch the selected set of articles from the wiki (see https://github.com/aurelia-ui-toolkits/aurelia-kendoui-plugin/issues/141 for details)**
2. Chat that would show https://gitter.im/adriatic/Aurelia-KendoUI**
3. "Feedback"" where people could "grade" the existing features and ask for new ones

About 2: https://sidecar.gitter.im/

We should just use github for the third one

We should just use github for the third one

You mean the issues, right?

Yes
Op 24 dec. 2015 16:05 schreef "Nikolaj Ivancic" notifications@github.com:

We should just use github for the third one
You mean the issues
https://github.com/aurelia-ui-toolkits/demo-kendo/issues, right?
—
Reply to this email directly or view it on GitHub
https://github.com/aurelia-ui-toolkits/aurelia-kendoui-plugin/issues/143#issuecomment-167121588
.

@adriatic if you agree, then I think this issue can be closed

I agree

authors: JeroenVinke adriatic


text:
Checkbox using objects

I'd like to know how to do to use the md-checkbox with objects.
Basically I want to do the example of the Aurelia doc, but is not working properly.
app.html
<template>
  <form>

Products

      <input type="checkbox" model.bind="product" checked.bind="selectedProducts">
      ${product.id} - ${product.name}

    Selected products:

${product.id} - ${product.name}

  </form>
</template>

app.js
export class App {
  products = [
    { id: 0, name: 'Motherboard' },
    { id: 1, name: 'CPU' },
    { id: 2, name: 'Memory' },
  ];

  selectedProducts = [];
}

I'm trying this way below, but is not working.
<form>

      <md-checkbox md-checked="false" model.bind="product.id" checked.bind="selectedProducts ">
         ${product.name}
      </md-checkbox>

</form>

${ selectedProducts }

Sorry by the bad english

While your sample is a bit different from the one in the docs (not sure if binding to id would work in this case), I think that it is not the problem. I guess it's because the md-checkbox doesn't have a model binding.
That's bad. I'll implement it.

Sorry by the bad english

Don't worry about that. It's not my native language, either. :smiley:

Probably need to forward matcher , too.

Thank you. It will be great!
I didn't understand the second reply.

You can also bind checkboxes by using a "matcher", which is basically a compare function that checks if one element matches another. See here for details: http://aurelia.io/hub.html#/doc/article/aurelia/binding/latest/binding-checkboxes/5
And I think to have complete support, I would need to add this "matcher", too. :smiley:

Hmm... but this needs the model.bind too =(

Yes. I mean to add both.

Hahah ok
Thank you! I'll wait

This change works internally but it's a bit tricky. We didn't bind checked directly and I need to look up why. I don't remember.. This will take a little more time, I guess.

Okay, I didn't find it and my tests were all positive.
So I'm going to release this.. I hope I don't break anything. 😃

@williamfelippe http://aurelia-ui-toolkits.github.io/demo-materialize/#/samples/checkbox/binding-to-objects
😃

Thanks @Thanood!

authors: Thanood williamfelippe


text:
Consider changing the character used for binding behaviors

As far as I know, an ampersand, on its own, is not valid inside an HTML attribute. You can see how even GitHub shows it in red (I assume that this is an error style):

Escaped (no error style):

The same is true for the Atom editor, and possibly others.
Perhaps it would be best to avoid this by using an alternative character/syntax?
A few random options:

It's definitely valid HTML. For example, consider an href attribute of a link that has a url with a query string. Most likely the HTML syntax highlighter isn't correct. Many of the highlighers don't actually implement the spec accurately.

My apologies, it seems that ampersands are legal as long as they are not ambiguous.
I guess it's unlikely that someone would type a semi-colon after the binding expression, although that probably depends on the decision taken WRT allowing multiple statements within a binding. @jdanyow
Contrived example: click.delegate="x() &debounce; y()".

@glen-84 that looks wrong, why having 2 event handler methods? You are seeing this wrong. 'x()' is the handler, '& debounce' the binding behavior, 'y()' isn't needed.

@nomack84,
I was porting an Angular 1 app the other day that had:
ng-change="updateChart(); updateMatches()"

... so I just did the same in Aurelia and it worked. Then I read about binding behaviors, and I wasn't able to make them work like this, so I discussed it with @jdanyow and he said that it's quite possible that multiple statements will not be supported in future. I since switched it to using a single method.

repo: aurelia/binding


text:
are there any examples of using http-client?

Can't seem to find any, like how to do an ajax call. The skeleton app only does a jsonp

@chovy Follow this link http://aurelia.io/docs.html#http-client

authors: ahmedshuhel chovy

repo: aurelia/http-client


text:
Can we handle LogLevel more elegantly?

I'm submitting a feature request

Library Version:
1.1.0
Language:
TypeScript 2.0.3

Desired Behavior
This is a request to improve LogLevel definition and usage for TS users. I don't know flowtype well enough to offer a solution, hence this request.
In TypeScript, LogLevel could be defined and used in a straightforward manner:
enum LogLevel { none=0, debug=1, info=2, warn=3, error=4 }

//the signature of setLevel() could be strong typed instead of just 'number'
function setLevel(level:LogLevel) {}

setLevel( LogLevel.debug )

Currently, LogLevel feels like it wants to be an enumeration, but as far as I could see flowtype doesn't have an easy answer that would result in the strong-typed ease of use in TypeScript as shown above. I tried a couple things but it appears the (babel?) processing of flowtype doesn't support flowtype disjoint union definitions.
This is my ask for someone smarter than me to figure out a way to make the logger work more like my example above. A handwritten .d.ts file could do it, but I know y'all use some magical .d.ts generator.
Current Behavior
For reference, currently setLevel() just takes a plain number, even though the expectation is that only values from the LogLevel enum should be arguments to this method. The signature doesn't guide the user and one just has to know  you should feed values from a predefined javascript object (e.g. LogManager.logLevel.debug).

I think we can probably fix this. We are working on a setup which we can use to start porting various libraries to TypeScript. This is a small library so it's probably a good candidate for a first port.

@jdanyow What do you think about trying this out after the validation library is sorted out? Switching the log level to a TS enum wouldn't cause a breaking change would it?

Any progress here? Perhaps more interesting, are you porting other parts of Aurelia to TS?

We are moving libs over to TS, one by one. If you are interested in helping we would appreciate that type of contribution.

We are trying to prevent breaking changes, I should mention.

fwiw, https://github.com/bevry/caterpillar may be of interest to you, we've used it in DocPad for years and it has been really nice - extensible, RFC log based, streams based, already uses strong typing through flow type, but happy to redo it in TypeScript if you'd like.

@EisenbergEffect I'm happy to help. but it's more complicated than just converting this library to TS. Since it's part of Aurelia, I assume it has to fit into the Aurelia build toolchain. Is there a standard for this established for the framework as a whole?
@balupton Thanks - will take a look!

@jdanyow has been working on this. He may be able to comment and point you in the right direction.

I think it is kinda addressed
https://github.com/aurelia/logging/blob/300e74fe3a4e44613b7e2060b75fa012f9e5fe69/src/index.js#L35

authors: Alexander-Taran EisenbergEffect ShawnTalbert balupton

repo: aurelia/logging


text:
running on Raspberry PI 5 ?

I wanted to know if there are any limitations on running Semantic Router on a RPI5.
Currently I am running CrewAI and Ollama LLM locally "openhermes" on a RPI5.
I wanted to speed up the CrewAI Agent work with Ollama LLM and seems Semantic Router a good choice.
The Agents are used to make some internet search on a topic and the LLM does some work on the result of the search.
Any simple example on hot to set it up locally and if it makes sense?
Also would this allow me to use larger LLMs?
thx

We currently support local execution via ggerganov/llama.cpp. An example can be found here https://github.com/aurelio-labs/semantic-router/blob/main/docs/05-local-execution.ipynb

authors: bruvduroiu ciaotesla

repo: aurelio-labs/semantic-router


text:
Добавить превью блоков в палитру

Результат

Не пойму, а что на первом, и что на втором скрине - в чем отличие?

Там же написано - Результат. В палитре разные режимы просмотра. Показал два.

В палитре разные режимы просмотра.

Не знал. Т.е. пользователь между ними сам переключаться?

Не знал. Т.е. пользователь между ними сам переключаться?

Да

Может быть, их стоит обвести в какие-то рамочки?

Решил рамочку сделать белой, как при d&d. Её видно при выборе элемента. Можно попробовать черный цвет - это одна строчка imho, но симметрию это не исправит.

Обновил

authors: aurusov bogachev-pa

repo: aurusov/raox


text:
Fix Project Nav

The header nav for project based views needs to be better standardized to not require the full project/version data set (should be able to look those up by itself).

https://github.com/austinsand/doc-roba/commit/412261ec884f26cea85b37d7749c91abf403c370

repo: austinsand/doc-roba


text:
🛑 repl.co is down

In 169089d, repl.co (https://hello-repl.auteen.repl.co) was down:

HTTP code: 404
Response time: 384 ms

Resolved: repl.co is back up in c8208d6 after 17 minutes.

repo: auteen/autoreplit


text:
Auto dismiss Lock on .Signup, .ResetPassword single screens

Dismiss Lock on .Signup when .Login not present
Dismiss Lock on .ResetPassword when .Login not present
Added ForgetPassword event handling to Dispatcher
Added Dispatch/Dismiss tests to Database Password Interactor

I spoke to Viktor regarding default behaviours and real life necessity of options, we both agreed on.
Current Behaviour:

Login Success - Lock Closes Instantly
Signup Success - Auto Login or Switches to .Login (if available) or nothing.
Reset Success - Switches to .Login (If available) or nothing.
Signup Screen (with no .Login, No Auto Login) - Nothing
Reset Password Screen (with no .Login) - Nothing

PR Behaviour

No Change
No Change
No Change
Lock Closes
Lock Closes

If you wanted to auto-close in 2 or 3 rather than an option, it would make sense to present it as 4 or 5

One Ux issue is the lack of time to inform the user after a successful Signup / ResetPassword as the closure is instant.
This is currently the default behaviour for Login. It feels okay in this situation not to see a banner message.  However for the other events, there is no means of confirmation.

This is not in the PR but I tried adding a simple delay to event dismiss.  Which I think looks okay, it's enough time to see it.

Debated the consistently of disabling auto close on Login, started adding it then it seemed weird, even more so for other connection types.  If really wanted it can be done of course, just doesn't feel right.

I'll squash these commits after review.


text:
"Consent Required"

next.js
"@auth0/auth0-react": "^1.2.0"

I don't think this is related to apollo or next, but here's the code anyway
apollo.js
import { setContext } from "@apollo/client/link/context";
import { ApolloClient, ApolloLink, InMemoryCache } from '@apollo/client'
import apolloLogger from 'apollo-link-logger'
import config from '@lib/config'
import { createUploadLink } from 'apollo-upload-client'

const { API_URL } = config

/**
 * Upload link will allow us to do file uploads. It also acts as the HTTPLink.
 */
const uploadLink = createUploadLink({
  uri: `${API_URL}/graphql`,
  headers: {
    'keep-alive': 'true'
  }
})

export const getApolloClient = (getAccessTokenSilently, audience, scope) => {
  const authLink = setContext(async (_, { headers }) => {
    try {
      const token = await getAccessTokenSilently({ audience, scope });

      if (!token) {
        return { headers };
      }
      return {
        headers: {
          ...headers,
          authorization: `Bearer ${token}`,
        },
      };
    } catch (err) {
      console.log({ err })
      return { headers };
    }
  });

  return new ApolloClient({
    ssrMode: typeof window === 'undefined',
    link: ApolloLink.from([authLink, apolloLogger, uploadLink]),
    cache: new InMemoryCache(),
  });
}

_app.tsx

const AppWithApollo = ({ Component, pageProps }) => {
  const { getAccessTokenSilently } = useAuth0();
  const apolloClient = getApolloClient(getAccessTokenSilently, config.AUTH0_AUDIENCE, config.AUTH0_SCOPE);
  return (
    <ApolloProvider client={apolloClient}>
      <ThemeProvider theme={theme}>
        <Component {...pageProps} />
      </ThemeProvider>
    </ApolloProvider>
  )
}

class MyApp extends App {
  render() {
    const { Component, pageProps } = this.props

    let auth0ProviderConfig = {
       clientId: config.AUTH0_CLIENT_ID,
       domain: config.AUTH0_DOMAIN,
       redirectUri: config.REDIRECT_URI,
       scope: config.AUTH0_SCOPE,
       audience:  config.AUTH0_AUDIENCE,
       cacheLocation: "localstorage",
       useRefreshTokens: true
    }

    return (
      <>
        <Head>
          <link
            href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"
            rel="stylesheet"
          ></link>
          <NewRelic
            licenseKey={NEW_RELIC_LICENSE_KEY}
            applicationID={NEW_RELIC_APPLICATION_ID}
          />
        </Head>
        <GlobalStyle />
       <Auth0Provider {...auth0ProviderConfig}>
          <AppWithApollo {...this.props} />
        </Auth0Provider>
      </>
    )
  }
}

Ok, so some more observations

When I don't pass Auth0Provider an audience, getAccessTokenSilently doesn't throw and error, but it just seems to give back what looks like an ID (it's definitely not a token, way too short).
When I do pass in a audience, I get the "Consent Required" error from getAccessTokenSilently
This is running on localhost
To find the audience, I'm going to Applications > APIs and taking the "Auth0 Management API" and taking the audience from there
Going through our Users, I don't see any of them have permissions set (or anything about consent.)
We had auth0 setup another way (through a proxy that would add the token) but we want to set it up a little more "normal" without the middle man api endpoint. The reason I mention this, is that it was working doing this but is now not working with the new setup.

Does anyone have any ideas what settings I should be looking at in auth0? I do see a "consent" screen when I signup as a user, and I say yes, but it still says the user is "consent required"
I'm running out of ideas of things to try...I've spent more time trying to get auth0 working then it would have taken to built auth from scratch lol

@acomito It's not clear from your issue as to what you need help with, but let me try to clarify a couple of things.

When I don't pass Auth0Provider an audience, getAccessTokenSilently doesn't throw and error, but it just seems to give back what looks like an ID

That's expected - if you don't pass an audience it effectively indicates that you will not be calling any APIs, so Auth0 returns an opaque token. By specifying an audience, you will get an access token in JWT format, which can then be sent to an API and inspected.

When I do pass in a audience, I get the "Consent Required" error from getAccessTokenSilently

That's expected if your user has not given consent through the login flow. Normally if you just have the one audience, you would specify it in your Auth0 config so that it is sent to the /authorize endpoint when you log in. There the user has a chance to consent. I can't see from your code where the login is being kicked off (by calling loginWithRedirect) but normally that's where it would happen.
There is something else too - consent is always required when running on localhost, regardless of the "Skip consent for first-party apps" setting that is available (and turned on by default) in your Auth0 tenant settings.
Does this help?

@acomito It's not clear from your issue as to what you need help with, but let me try to clarify a couple of things.

When I don't pass Auth0Provider an audience, getAccessTokenSilently doesn't throw and error, but it just seems to give back what looks like an ID

That's expected - if you don't pass an audience it effectively indicates that you will not be calling any APIs, so Auth0 returns an opaque token. By specifying an audience, you will get an access token in JWT format, which can then be sent to an API and inspected.

When I do pass in a audience, I get the "Consent Required" error from getAccessTokenSilently

That's expected if your user has not given consent through the login flow. Normally if you just have the one audience, you would specify it in your Auth0 config so that it is sent to the /authorize endpoint when you log in. There the user has a chance to consent. I can't see from your code where the login is being kicked off (by calling loginWithRedirect) but normally that's where it would happen.
There is something else too - consent is always required when running on localhost, regardless of the "Skip consent for first-party apps" setting that is available (and turned on by default) in your Auth0 tenant settings.
Does this help?

Thanks @stevehobbsdev
Does this project work with nextjs (SSR)?
If not, what's the best practice for nextjs + apollo+ auth0?

Thanks @stevehobbsdev
Does this project work with nextjs (SSR)?
If not, what's the best practice for nextjs + apollo+ auth0?

@acomito you might want to check out https://github.com/auth0/nextjs-auth0/tree/beta, the team released the beta yesterday!

@acomito you might want to check out https://github.com/auth0/nextjs-auth0/tree/beta, the team released the beta yesterday!

fantastic!
Closing this for now as to not clog up your issues

fantastic!
Closing this for now as to not clog up your issues

authors: acomito frederikprijck stevehobbsdev


text:
Not showing in extensions

This application is not currently available via the Auth0 dashboard.

And if you try to install it, it just says its already installed.

authors: Zaixu nblackburn


text:
Error:  no String-argument constructor/factory method to deserialize from String value

How can I config Jackson in this?
mapper.configure(Feature.ALLOW_UNQUOTED_CONTROL_CHARS, true) ;
mapper.configure(Feature.ALLOW_SINGLE_QUOTES, true) ;

You can't. The JSON API is not open. But that's something that might change in the future when we evaluate support for nested object claims.

authors: lbalmaceda yihuishou


text:
TS2326: Types of property 'sub' are incompatible.   Type 'string' is not assignable to type '() => string'.

I don't know if this is a typings bug, or a library issue.
With the following versions:
"@types/jsonwebtoken": "^8.3.0"
"jsonwebtoken": "^8.3.0"
The following snippet:
const jsonWebToken = jwt.sign({
            user_id, // The userID
            sub: 'some-sub', // The id from above
            ulimit: 2 // The usage limit
        }, 'shh');

throws the error:
TS2326: Types of property 'sub' are incompatible.
  Type 'string' is not assignable to type '() => string'.

But if I look at the typings:
export function sign(
    payload: string | Buffer | object,
    secretOrPrivateKey: Secret,
    options?: SignOptions,
): string;

It looks correct?
Workaround:
const jsonWebToken = jwt.sign({
            user_id, // The userID
            sub: 'some-sub', // The id from above
            ulimit: 2 // The usage limit
        } as any, 'shh');

If the sub property indeed needs to be () => string I would happily like to assist with the PR to the typings, but I am not sure what the problem is 🤷🏽♂

I also got the problem.
You can cast it sub: 'some-sub' as any. Temporary solution
const jsonWebToken = jwt.sign({
            user_id, // The userID
            sub: 'some-sub' as any, // The id from above
            ulimit: 2 // The usage limit
        } as any, 'shh');

The weird thing is that the types look correct: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/jsonwebtoken/index.d.ts#L121 🤔

It looks like it is a compiler issue. It works with TypeScript 3.4.5 but fails with TypeScript 3.5.1 & 3.5.2.

@LoicPoullain good catch - but why does it fail with Typescript > 3.5.1 🤷🏽♂ ?

No idea 😕 I'm going to open an issue on the TS repo today when I get a chance.

Looks like the bug is fixed in the pending next version of TypeScript. Installing typescript@next (version 3.6.0-dev.20190623) makes the compilation work. We just need to wait for the next release and build with 3.4 for now.

I'm going to go ahead and close this as there's no TODO in this repo or the types one, which we're not the maintainers of btw.

authors: LoicPoullain amrew dauledk panva


text:
JWS 2.0.0 security deprecation

npm WARN deprecated jws@2.0.0: Security update: Versions below 3.0.0 are deprecated.

We have just merged: https://github.com/auth0/node-jsonwebtoken/commit/634b8ed0ff5267dc25da5c808634208af109824e
We will release a new major version shortly.

@designfrontier It should be fixed on jsonwebtoken@5.0.0. Feel free to re-open if you are getting the same error. Thanks!

authors: designfrontier dschenkelman pose


text:
Fix for seekTo feature

Fixes #631
PR Branch
#ADD LINK TO THE PR BRANCH
Motivation and Context
If there are partitions for which there is no valid offset corresponding to the timestamp to seek to, the offsetForTimestamp method still includes it in the Map returned, but with a NULL value. We need to skip all partitions that have offset as NULL when subscribing to avoid an error when we try to seek to the offset at a later step.
Checklist:

[ ] Unit tests added

[ ] Integration tests added

[ ] Test names are meaningful

[ ] Feature manually tested

[ ] Branch build passed

[ ] No 'package.*' in the imports

[ ] Relevant Wiki page updated with clear instruction for the end user

[ ] Not applicable. This was only a refactor change, no functional or behaviour changes were introduced

[ ] Http test added to http-testing module(if applicable) ?

[ ] Not applicable. The changes did not affect HTTP automation flow

[ ] Kafka test added to kafka-testing module(if applicable) ?

[ ] Not applicable. The changes did not affect Kafka automation flow

@authorjapps  There was a bug in the seekTo feature . In situations where there are multiple partitions on the topic and some of the partitions do not have a valid offset corresponding the timestamp to seek to, the seek operation will give an NPE.
Can you review the fix?

@authorjapps There was a bug in the seekTo feature . In situations where there are multiple partitions on the topic and some of the partitions do not have a valid offset corresponding the timestamp to seek to, the seek operation will give an NPE.
Can you review the fix?

Got you @a1shadows . That scenario causing NPE.
Is there anyway to reproduce this in a single node Kafka in our docker setup?
e.g.
by creating a topic with two or three partitions, then sending records to 1 and 3 based on their key, then not sending any record to 2.
Then try to consume with seekTimestamp, it should fail with NPE
Then with the fix, it should pass as expected(without NPE)

e.g.
by creating a topic with two or three partitions, then sending records to 1 and 3 based on their key, then not sending any record to 2.
Then try to consume with seekTimestamp, it should fail with NPE
Then with the fix, it should pass as expected(without NPE)

@authorjapps  I'll look into this

@authorjapps  I've added a multi partition topic test to the CI. For this, I added an init container to the docker compose file, since by default the cp-kafka docker image does not accept num.partitions as an env variable for auto created topics. I ran it locally and it ran fine. However, for the CI the docker compose files are picked from the master branch so can't get a proper test on here
Do you have anything in mind for this? Can we run the CI using the docker compose files on the branch we are trying to merge?

repo: authorjapps/zerocode


text:
Question: "Reverse" permission check

Hello!
I faced a problem which is trivial at a first glance, but I still didn't find any elegant way of dealing with it.
When creating relations between definitions, is it possible to make "parent" permission depend on "child" permission?
I'll give an example:
I have a site with many sections. Site has admin and moderator roles, where moderator roles are given only to separate sections, and admin role is global.
Here is simplified schema:
  definition site {
    relation site_admin: user

    permission is_site_admin = site_admin
    permission can_view_admin_panel = site_admin
  }

  definition section {
    relation site: site
    relation section_moderator: user

    permission can_view_admin_panel = site->can_view_admin_panel + section_moderator
    permission can_edit_article = site->is_site_admin + section_moderator
  }

From the docs I know that I can inherit permissions from site in the section (to give edit right to admin on any entity, for example). But I don't know if there is a way to inherit permissions backwards?
For example, site has 100 sections and moderator has access to just 1 of them. Now to check if user can enter admin site I'm making 1 check for site + 100 checks (1 per section) for sections, to see if user has can_view_admin_panel permission in at least a one of them.
It seems so temptious to have a way of just checking site->can_view_admin_panel based on "has at least one can_view_admin_panel permission in linked sections"
Is it possible to do this check simple by authzed? Or maybe I designed this schema wrong from the very beginning?
Can you recommend me a way of idiomatic resolution for this kind of problem, please?

Hmm, understood!
I'll try doing it in the way you proposed before reverse relations will be added (if they will eventually).
Thank you very much for fast and clear response, I'm closing the issue :)

repo: authzed/spicedb


text:
Normalize the reverse tuple query interface with that of forward tuple queries

It should use filters to build the base query.

There are still two functions, but the rest is handled internally now with the same filtering

authors: jakedt josephschorr


text:
introduces a faster query to tuple GC

we've noticed that even after https://github.com/authzed/spicedb/pull/1550 was introduced and made the nested GC SELECT query faster, deletions are still causing spikes in postgres
and Aurora instances.
The proposed query seemed 1 order of magnitude less cost that the current query on a test PG 15.6 with 5M dead tuples and 5M alive tuples.
Before
WITH rows AS (SELECT namespace, object_id, relation, userset_namespace, userset_object_id, userset_relation, created_xid, deleted_xid FROM relation_tuple WHERE deleted_xid < '901' LIMIT 1000)
DELETE FROM relation_tuple
WHERE (namespace, object_id, relation, userset_namespace, userset_object_id, userset_relation, created_xid, deleted_xid) IN (SELECT namespace, object_id, relation, userset_namespace, userset_object_id, userset_relation, created_xid, deleted_xid FROM rows);

| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Delete on relation_tuple  (cost=65.94..8656.38 rows=0 width=0) (actual time=14.375..14.376 rows=0 loops=1)                                                                                |
|   ->  Nested Loop  (cost=65.94..8656.38 rows=1000 width=110) (actual time=1.100..14.026 rows=1000 loops=1)                                                                                |
|         ->  HashAggregate  (cost=65.38..75.38 rows=1000 width=184) (actual time=1.061..1.319 rows=1000 loops=1)                                                                                |
|               Group Key: (rows.namespace)::text, (rows.object_id)::text, (rows.relation)::text, (rows.userset_namespace)::text, (rows.userset_object_id)::text, (rows.userset_relation)::text, rows.created_xid, rows.deleted_xid                                                                                |
|               Batches: 1  Memory Usage: 841kB                                                                                |
|               ->  Subquery Scan on rows  (cost=0.43..45.38 rows=1000 width=184) (actual time=0.150..0.647 rows=1000 loops=1)                                                                                |
|                     ->  Limit  (cost=0.43..35.38 rows=1000 width=80) (actual time=0.143..0.488 rows=1000 loops=1)                                                                                |
|                           ->  Index Scan using ix_gc_index on relation_tuple relation_tuple_1  (cost=0.43..178606.61 rows=5110010 width=80) (actual time=0.142..0.444 rows=1000 loops=1)                                                                                |
|                                 Index Cond: (deleted_xid < '901'::xid8)                                                                                |
|         ->  Index Scan using uq_relation_tuple_living_xid on relation_tuple  (cost=0.56..8.57 rows=1 width=86) (actual time=0.012..0.012 rows=1 loops=1000)                                                                                |
|               Index Cond: (((namespace)::text = (rows.namespace)::text) AND ((object_id)::text = (rows.object_id)::text) AND ((relation)::text = (rows.relation)::text) AND ((userset_namespace)::text = (rows.userset_namespace)::text) AND ((userset_object_id)::text = (rows.userset_object_id)::text) AND ((userset_relation)::text = (rows.userset_relation)::text) AND (deleted_xid = rows.deleted_xid)) |
|               Filter: (rows.created_xid = created_xid)                                                                                |
| Planning Time: 0.674 ms                                                                                |
| Execution Time: 14.464 ms                                                                                |

After
WITH rows AS (SELECT ctid FROM relation_tuple WHERE deleted_xid < '901' LIMIT 1000)
DELETE FROM relation_tuple
WHERE ctid IN (SELECT ctid FROM rows);

| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Delete on relation_tuple  (cost=47.89..854.38 rows=0 width=0) (actual time=3.598..3.598 rows=0 loops=1)                                                                                |
|   ->  Nested Loop  (cost=47.89..854.38 rows=1000 width=36) (actual time=2.682..3.237 rows=1000 loops=1)                                                                                |
|         ->  HashAggregate  (cost=47.88..49.88 rows=200 width=36) (actual time=2.679..2.758 rows=1000 loops=1)                                                                           |
|               Group Key: rows.ctid                                                                                |
|               Batches: 1  Memory Usage: 209kB                                                                                |
|               ->  Subquery Scan on rows  (cost=0.43..45.38 rows=1000 width=36) (actual time=0.193..2.503 rows=1000 loops=1)                                                             |
|                     ->  Limit  (cost=0.43..35.38 rows=1000 width=6) (actual time=0.183..2.406 rows=1000 loops=1)                                                                        |
|                           ->  Index Scan using ix_gc_index on relation_tuple relation_tuple_1  (cost=0.43..178606.61 rows=5110010 width=6) (actual time=0.182..2.363 rows=1000 loops=1) |
|                                 Index Cond: (deleted_xid < '901'::xid8)                                                                                |
|         ->  Tid Scan on relation_tuple  (cost=0.00..4.01 rows=1 width=6) (actual time=0.000..0.000 rows=1 loops=1000)                                                                   |
|               TID Cond: (ctid = rows.ctid)                                                                                |
| Planning Time: 3.335 ms                                                                                |
| Execution Time: 3.706 ms                                                                                |

I was investigating if ctid is stable within a CTE, which led me to this post that describes a gotcha on partitioned tables:

There actually is a serious pitfall with using ctid for identifying rows to delete: in partitioned tables, ctid is not unique. It is only unique in a given partition so, if one uses it as a criterion for deletion, this will likely result in deleting the desired row as well as the otherwise totally unrelated rows from other partitions (ask me how I know :-/ ).

I ran the query with tableoid and it seems to work just fine, so we should use it.
Delete on relation_tuple  (cost=72.12..879.11 rows=0 width=0) (actual time=1.427..1.428 rows=0 loops=1)
"  ->  Nested Loop  (cost=72.12..879.11 rows=500 width=40) (actual time=0.569..1.157 rows=1000 loops=1)"
"        ->  HashAggregate  (cost=72.11..74.11 rows=200 width=44) (actual time=0.565..0.648 rows=1000 loops=1)"
"              Group Key: rows.tableoid, rows.ctid"
"              Batches: 1  Memory Usage: 209kB"
"              ->  Subquery Scan on rows  (cost=0.00..67.11 rows=1000 width=44) (actual time=0.024..0.407 rows=1000 loops=1)"
"                    ->  Limit  (cost=0.00..57.11 rows=1000 width=10) (actual time=0.020..0.315 rows=1000 loops=1)"
"                          ->  Seq Scan on relation_tuple relation_tuple_1  (cost=0.00..229045.70 rows=4010286 width=10) (actual time=0.020..0.272 rows=1000 loops=1)"
"                                Filter: (deleted_xid < '901'::xid8)"
"        ->  Tid Scan on relation_tuple  (cost=0.00..4.02 rows=1 width=10) (actual time=0.000..0.000 rows=1 loops=1000)"
"              TID Cond: (ctid = rows.ctid)"
"              Filter: (rows.tableoid = tableoid)"
Planning Time: 0.106 ms
Execution Time: 1.470 ms

@vroldanbet Is there a test we can add for GC along a partitioned table to ensure the use of the table ID fixes this potential issue?

@vroldanbet Is there a test we can add for GC along a partitioned table to ensure the use of the table ID fixes this potential issue?

We cannot control tableoid and ctid, those are internal columns. From the docs:
What the docs say about tableoid:

The OID of the table containing this row. This column is particularly handy for queries that select from partitioned tables or inheritance hierarchies, since without it, it's difficult to tell which individual table a row came from. The tableoid can be joined against the oid column of pg_class to obtain the table name.

What the docs say about ctid:

The physical location of the row version within its table. Note that although the ctid can be used to locate the row version very quickly, a row's ctid will change if it is updated or moved by VACUUM FULL. Therefore ctid is useless as a long-term row identifier. A primary key should be used to identify logical rows.

Testing a scenario where two different relationships to be GCed have the same ctid would require us to:

add a new type of test suite that partitions the main tables defined in the datastore. Something we should do at some point, but should be probably tackled into its own PR
generate a state of the database where 2 CTIDs are the same across partitions. I'm not sure how likely that is to happen without understanding how it's implemented. Docs say its "the location in the table", so it does not sound like "randomly generated". We'd have to create a test where we have a revision marked as deleted in one partition and a revision that is alive in another partition, both with the same CTID.

My interpretation of the document is that tableoid, ctid provides a globally unique internal identification to the row.

authors: josephschorr vroldanbet


text:
Update Issue - Automate_undefined_8327

default description

Property
Value

Browser
Chrome 109.0

Operating System
Windows 7

Resolution
1688x792

Screenshot Attached
Screenshot URL

Updated Screenshot Attached


text:
CSV interface

Similar to the original fANOVA interface (https://github.com/automl/fanova/blob/master/fanova/fanova.py#L10-L57) it would be nice to support a CSV interface.
This would need to automatically construct a ConfigSpace object if none is given as input.

As discussed here, we can port pcs-construction from CAVE to PIMP.

authors: AndreBiedenkapp shukon

repo: automl/ParameterImportance