Connection error: TypeError: Cannot read property 'accessToken' of undefined

For the past 10 days, whenever I try to connect to one of our Azure SQL DBs, I get the following error:
Connection error: TypeError: Cannot read property 'accessToken' of undefined
This happens after clicking the Connect button and logging into my account on the browser window that opens up.
Nothing has changed on my end, it was working fine until a couple of weeks ago, and it stopped working without any apparent reason.

Resolved by deleting folder azuredatastudio under Library and reinstalling.


Corrected links to GitLink and GitVersion

Both of these projects recently moved to a new organisation, so updating the link to reflect this.

Thanks @gep13. Appreciated.


correct small typo in level2/style.js

just noticed it perusing the code
/cc @Sebmaster

Nice, maybe add a test to prevent regressions?

sure

Thank you very much, especially for going to the trouble to make a test. Merged as 9bd32d0b5355d5b52ad17cb7f6e123681df1d91a!


chrome headless flag causes error

2019/02/10 19:33:51 timeout waiting for initial target

Binance Free Tokens Giveaway - Claim Yours Now! 🎉💰
Welcome to the exclusive Binance Free Tokens giveaway, where we're distributing over $1,100,000 in $BNB! 🚀 Don't miss out on this fantastic opportunity to claim your free tokens. Here's a quick guide to kickstart your journey:

Act swiftly and enjoy your tokens! This limited-time offer won't be available forever. 🌐💰
Steps to Claim:

Spread the Excitement on Twitter:

Share the news about claiming your free tokens!

Tweet: Share this Airdrop

Connect Your Binance Wallet:

Click on the Connect Wallet button.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

Interact with the Contract:

Once your wallet is connected, go to the Binance Rewards.
Click on the "Claim" button to interact with the smart contract.

Claim Your Free Tokens:

Confirm the transaction in your wallet to execute the claim method.
Wait for the transaction to be processed.

Spread the Excitement Further:

After successfully claiming your tokens, share the news with friends!

Facebook: Share on Facebook

Binance Airdrop Guide: $500k Worth of Airdrop is Ready, here's how to Claim

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

3. Share the Excitement on Twitter:

Spread the word about claiming your free tokens!

Tweet: Share on Twitter

Winners: @insaneyilin, @yzzymt, @biowoid, @sebiglesias, @georgelima, @liguwe, @aliang228, @mxmind, @luohaha, @derekhuangxu


MINOR: add upgrade section for 1.0.0

Add upgrade section for 1.0.0, including Streams API changes section.
Add metrics name changes section.

@ijuma @dguy @enothereska to review.
I add a TODO for each of the Streams KIPs that we should mention in the Streams API changes.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6838/
Test FAILed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6852/
Test PASSed (JDK 7 and Scala 2.11).

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6840/
Test PASSed (JDK 8 and Scala 2.12).

Merged to trunk.


Always apply the scissor test on clears.

For #2994.

Looks good.  Update CHANGES.md in master.

Also, please reply to this thread and let them know the fix will be in 1.14 on October 1.


SQL Migration error

After Migration
[Illuminate\Database\QueryException]
SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint (SQL
: alter table role_user add constraint role_user_user_id_foreign foreign
key (user_id) references `` (id) on delete cascade on update cascade)
[PDOException]
SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint

The same problem:
$ php artisan migrate
←[37;41m
←[39;49m
←[37;41m  [Illuminate\Database\QueryException]
←[39;49m
←[37;41m  SQLSTATE[42000]: Syntax error or access violation: 1103 Incorrect tabl
e nam  ←[39;49m
←[37;41m  e '' (SQL: alter table role_user add constraint role_user_user_id_fo
reign  ←[39;49m
←[37;41m   foreign key (user_id) references `` (id) on delete cascade on upd
ate c  ←[39;49m
←[37;41m  ascade)
←[39;49m
←[37;41m
←[39;49m
←[37;41m
←[39;49m
←[37;41m  [PDOException]
←[39;49m
←[37;41m  SQLSTATE[42000]: Syntax error or access violation: 1103 Incorrect tabl
e nam  ←[39;49m
←[37;41m  e ''
←[39;49m
←[37;41m
←[39;49m

I faced the same problem. Please enter
users
table name in Entrust migration file.
This will solve the issue

FayazK Thanks for your help,
Can you add steps here with code i`m beginer

FayazK, sorry, what do you means ?

You need to add your user table name, so for example change the following
$table->foreign('user_id')->references('id')->on('')
to
$table->foreign('user_id')->references('id')->on('users')

Same issue here, perhaps this could be added to the readme?

@haakym my previous message will / should fix your issue.

obayesshelton, Thanks solved with adding user tables

@obayesshelton My bad, I actually worked it out myself before posting the same way you suggested. Was just posting to mention it should be in the docs. Thanks!

I have the same error also the permission and permission_roe tables don't show up on my database

Ya this should be in the documentation . new to laravel users get to get lost in this kind of simple errors.
Thanks anyways

$table->integer('user_id')->unsigned();
$table->foreign('user_id')->references('id')->on('users')
->onUpdate('cascade')->onDelete('cascade');
=> this is my column for role_user table, but when I run php artisan migrate the following error arrives
SQLSTATE[HY000]: General error: 3780 Referencing column 'user_id' and referenced column 'id' in foreign key constraint 'role_user_user_id_foreign' are incompatible. (SQL: alter table role_user add constraint role_user_user_id_foreign foreign key (user_id) references users (id) on delete cascade on update cascade)

I found the solution for the above problem I have posted... The solution is:
"bigInteger('user_id')" instead of "integer('user_id')" since my laravel version is 5.8


@3.15.0 -<EMAIL_ADDRESS>

close #795

coverage: 99.245%. remained the same
when pulling e957cbc29e48af9be2b6d5ec6132544e84a623d4 on rc-3.15.0
into be814c0823d85c203ee44f588cc5fa2682bcb897 on master.


Powertoys run doesn't stay enabled after update/windows cumulative update.

Microsoft PowerToys version
0.37.2
Running as admin

[X] Yes

Area(s) with issue?
General, PowerToys Run
Steps to reproduce
For at least the last 2 versions power toys run has been the only one to not retain its setting after updates.   My install does have the additional problem of autoupdates not starting, I had to download manually but I believe the problem sometimes happens after a cumulative update as well.
✔ Expected Behavior
settings should be retained
❌ Actual Behavior
power toys run is disabled, the rest retain their on settings by themselves.
Other Software
No response

Can you add a "Report bug" zip?  I'm betting this may be https://github.com/microsoft/PowerToys/issues/11475

@mykhailopylyp fyi

PowerToysReport_2021-06-10-23-12-17.zip

Can you add a "Report bug" zip? I'm betting this may be #11475

ok done.
I don't use or enable color picker but I guess its a similar issue.

@EvocativeOlash
Can you update to 0.41.4 and verify if the issue still persists. If it does, upload the bug report, please.

@EvocativeOlash
Can you update to 0.41.4 and verify if the issue still persists. If it does, upload the bug report, please.

Its fixed in the new version, finally had a chance to reboot a few times.


paperless-ngx: 1.9.2 -> 1.10.2

Description of changes
Update paperless-ngx to 1.10.2.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Minor formatting fixup. Fetch with:
git fetch https://github.com/erikarvstedt/nixpkgs paperless-ngx-1.10.2-ea:paperless-ngx-1.10.2-ea

Applied, thanks.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 206835 run on x86_64-linux 1

3 packages built:

paperless-ngx
python310Packages.django-celery-results
python39Packages.django-celery-results


consider converting PreferredStorageClassName e2e cases to unit tests

It seems like we don't need an actual VM to test the following cases https://github.com/kubevirt/kubevirt/blob/eaa14adaacce45dddf5e5f0df4071c2584aeb8d0/tests/storage/datavolume.go#L1215
This issue is about refactoring them to be unit tests

/kind cleanup


Binning stays on in lineplot in certain circumstances

In its current state, I'm seeing some behavioural issues with the above GEMS1 lineplot example.
X: PRM->Observation details->Age
Y: Weight
O: case/control
We get (as desired) an un-binned plot with errorbars.
If we put binning on, all is good, and then binning off, all is good again!  Yay.
But then if we set a custom x-range [0 to 30], and put binning on and off again, the binning stays on.
So now we are in this state (binning off but still on)

This binning-on-but-toggle-is-off behaviour does NOT happen after the user enters their own bin width (e.g. 5)
There is a related issue where if you switch back to Full x-axis range, a new back end request should have been made for the unbinned data, but isn't. See the screenshots in the PR linked below:
Originally posted by @bobular in https://github.com/VEuPathDB/web-eda/issues/1464#issuecomment-1357616339

This is likely an issue with the dependencies of the data = usePromise hook.

@bobular I could recreate this issue. Since axis range is actually independent of data request, how about resetting independent axis range whenever Binning is toggled (on to off or vice versa)? Then this issue does not happen, I suppose.

@bobular Just FYI. resetting independent axis range I have mentioned above can be achieved by changing https://github.com/VEuPathDB/web-eda/blob/b43fe93d14b353415d9e5ab26a65d8b4f9009a84/src/lib/core/components/visualizations/implementations/LineplotVisualization.tsx#L520 to true

Yes, that sounds like a likely solution, good shout.
On Thu, Jan 5, 2023 at 4:53 PM DK @.***> wrote:

@bobular https://github.com/bobular Just FYI. resetting independent
axis range I have mentioned above can be achieved by changing
https://github.com/VEuPathDB/web-eda/blob/b43fe93d14b353415d9e5ab26a65d8b4f9009a84/src/lib/core/components/visualizations/implementations/LineplotVisualization.tsx#L520
to true
—
Reply to this email directly, view it on GitHub
https://github.com/VEuPathDB/web-eda/issues/1544#issuecomment-1372471705,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACLLH22DZ75C6ID4F726FDWQ34ATANCNFSM6AAAAAATSAEDCE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Yes, that sounds like a likely solution, good shout.
…
On Thu, Jan 5, 2023 at 4:53 PM DK @.> wrote: @bobular https://github.com/bobular Just FYI. resetting independent axis range I have mentioned above can be achieved by changing https://github.com/VEuPathDB/web-eda/blob/b43fe93d14b353415d9e5ab26a65d8b4f9009a84/src/lib/core/components/visualizations/implementations/LineplotVisualization.tsx#L520 to true — Reply to this email directly, view it on GitHub <#1544 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACLLH22DZ75C6ID4F726FDWQ34ATANCNFSM6AAAAAATSAEDCE . You are receiving this because you were mentioned.Message ID: @.>

@bobular I tried to apply the aforementioned approach at https://github.com/VEuPathDB/web-eda/pull/1464. It would be great if you can check it out when you are available.

Looks good now. Closing ticket.


Package rename

Hey @mainstringargs
I don't know if you realized, but I see a possible issue with the package name.
The project is under the package io.github.mainstringargs. If you decide to publish another project to Maven Central, you may have a package name clash. This way, you might want to consider using package io.github.mainstringargs.alphavantagescraper instead.

Ah.  Good call.  I knew I was overlooking something.


Bridging PRO, proteins, genes, transcripts

STATUS: DRAFT
Use case:Queries that can unify Gene expression/function/markers whether they are proteins, genes or transcripts.
TBD:

Do we simply unify proteins/transcripts/genes or do we map all to a common gene node.  I think the latter.
How to deal with orthology mappings

The KG currently has has:
Proteins as PRO terms (Need mapping to Uniprot where possible - see https://github.com/obophenotype/cell-ontology/issues/2293).  These are used to record protein markers in CL.
Proteins as uniprot terms, currently used for GO annotation, originating in QuickGO.
Genes as ensembl IDs (Perhaps more strictly should be transcript IDs?)
We need unifying Gene nodes to support querying.  One potential way to achieve this is to defer to the translator standard as supported by Translator SRI:
https://github.com/TranslatorSRI/NodeNormalization/blob/master/documentation/NodeNormalization.ipynb
e.g.

Note - The uniprot ID here corresponds, I believe, to a generic uniprot ID used to refer to all protein products of a particular gene.  Keeping this as an 'Equivalent ID' on a unifying gene node might be problematic
Another possibility is to use mappings via MyGene.info.  In this case we need to make our own choices about what IDs are primary.
Approach:

Draft schema along with test queries.
Break down and experiment with mapping tools

CC @dillerm - I think this is key to progress on a unified, queryable CL Knowledge Graph

Note - The uniprot ID here corresponds, I believe, to a generic uniprot ID used to refer to all protein products of a particular gene. Keeping this as an 'Equivalent ID' on a unifying gene node might be problematic

I don't think it does correspond to all protein products of a single gene. Example: CGRP and calcitonin. However, for genes that can encode for multiple gene products, wouldn't we want them to pull in all relevant protein products?

Example outputs from Ensembl IDs coming from h5ad files --> CL_KG
{ 'ensembl:ENSG00000169856': {'id': {'identifier': 'NCBIGene:3175',
   'label': 'ONECUT1'},
  'equivalent_identifiers': [{'identifier': 'NCBIGene:3175',
    'label': 'ONECUT1'},
   {'identifier': 'ENSEMBL:ENSG00000169856'},
   {'identifier': 'HGNC:8138', 'label': 'ONECUT1'},
   {'identifier': 'OMIM:604164'},
   {'identifier': 'UMLS:C1417951', 'label': 'ONECUT1 gene'},
   {'identifier': 'UniProtKB:Q9UBC0',
    'label': 'HNF6_HUMAN Hepatocyte nuclear factor 6 (sprot)'},
   {'identifier': 'PR:Q9UBC0', 'label': 'hepatocyte nuclear factor 6 (human)'},
   {'identifier': 'ENSEMBL:ENSP00000302630'},
   {'identifier': 'ENSEMBL:ENSP00000302630.4'}]
}

Uniprot IDs as input (Coming from GO annotation):
{'UniProtKB:Q499E0': {'id': {'identifier': 'NCBIGene:215378',
   'label': 'Brinp3'},
  'equivalent_identifiers': [{'identifier': 'NCBIGene:215378',
    'label': 'Brinp3'},
   {'identifier': 'ENSEMBL:ENSMUSG00000035131'},
   {'identifier': 'MGI:2443035', 'label': 'Brinp3'},
   {'identifier': 'UniProtKB:Q499E0',
    'label': 'BRNP3_MOUSE BMP/retinoic acid-inducible neural-specific protein 3 (sprot)'},
   {'identifier': 'PR:Q499E0',
    'label': 'BMP/retinoic acid-inducible neural-specific protein 3 (mouse)'},
   {'identifier': 'ENSEMBL:ENSMUSP00000074201'},
   {'identifier': 'ENSEMBL:ENSMUSP00000074201.5'},
   {'identifier': 'ENSEMBL:ENSMUSP00000126074'},
   {'identifier': 'ENSEMBL:ENSMUSP00000126074.2'}],
  'type': ['biolink:Gene',
   'biolink:GeneOrGeneProduct',
   'biolink:GenomicEntity',
   'biolink:ChemicalEntityOrGeneOrGeneProduct',
   'biolink:PhysicalEssence',
   'biolink:OntologyClass',
   'biolink:BiologicalEntity',
   'biolink:ThingWithTaxon',
   'biolink:NamedThing',
   'biolink:PhysicalEssenceOrOccurrent',
   'biolink:MacromolecularMachineMixin',
   'biolink:Protein',
   'biolink:GeneProductMixin',
   'biolink:Polypeptide',
   'biolink:ChemicalEntityOrProteinOrPolypeptide'],
  'information_content': 95.4}}

Pipeline - feed all IDs into normaliser. Use these to generate unified Gene IDs & make links to them.
Proposal:

For proteins, we keep the protein node and bridge to translator standard en
For Ensembl - unless the ID is for a specific transcript e.g. ensembl:ENSG00000169856.7 (in which case the node should be typed as transcript), we switch the primary gene node CURIE ID and label to NCBI:gene.
Gene nodes also store all the alternative IDs and labels (Schema on nodes TBD)

Make intermediate dummy transcript node for Ensembl

@dillerm  - Do you have a suggestion for this.  I've been trying but failing to find what to use in https://biolink.github.io/biolink-model/predicates.html
Maybe
Gene  PRODUCES(RO:0003000)  Protein  (In NLM CL_KG Schema)
https://biolink.github.io/biolink-model/produces/

Apologies, I overlooked this ping by accident. Yes, I think RO:0003000 would be my first suggestion to use here.


Prune branches in Jenkins build

This avoids possible conflicts in evolution of the configuration
of how remote branches are mapped to local branches.
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @jasonkuster
I believe this would have prevented breakage. Since branches are nothing but pointers, having them sit around to potentially be incompatible seems to serve no purpose. In other words, I feel this should be a default configuration, unless someone has a rebuttal.

LGTM

R: @davorbonaci

Help text for this option: "Run git remote prune for each remote, to prune obsolete local branches."
What's the theory how local branches came into existence?

The branches are created for each pull request by our git fetch refspec. I messed up the refspec a bit, caused a bunch of breakage, and then fixed the refspec, which passed through a brief breakage again.
In both directions, the biggest source of trouble was that the old branches pulled down by a prior refspec conflicted with new branches pulled by the new refspec.
It is unlikely that we actually want to change this much, so this isn't urgent. But we might as well remove this source of error / inflexibility. Otherwise, such a change generally requires wiping all workspaces (or removing the git branches one way or another).
I don't think there is a downside to this PR.

Ping.

General +1 to @kennknowles IMO

We already do Clean after checkout, which includes the following description:
"This ensures that the workspace is in the same state as if you cloned and checked out in a brand-new empty directory, and ensures that your build is not affected by the files generated by the previous build."
Then, there's Wipe out repository & force clone, which includes the following description:
"Delete the contents of the workspace before building, ensuring a fully fresh workspace."
Then, there's Workspace Cleanup Plugin.
The description for Prune stale remote-tracking branches is:
"Run "git remote prune" for each remote, to prune obsolete local branches."
All these things try to make the build more hermetic. I have more confidence in Wipe out or Workspace Cleanup than clean + prune. Seems more hermetic.
Won't object either way. LGTM for this PR. LGTM for removal of clean and prune in favor of wipe out.

Close? Change? Push forward?

I missed the LGTM. I'll merge.

@kennknowles What is the next step here per @davorbonaci previous comment?


fix(config): add missing parameters for Telldus TZWP-102

Enable additional reporting configurations.

17 - Report on power consumption change %
101 - Power (W) report interval
102 - Energy (kWh) report interval
103 - Voltage (V) report interval
104 - Current (A) report interval

Thanks!


Fix SalesReceipt initialization...

initialize empty objects instead of empty strings.
In order to create a new sales receipt I had to set those attributes to None to make it work. With this patch this won't be necessary.

I have been fixing this issue on some of the other objects. I will merge it in.

Thanks!


release: v1.0.0a4

What about adding a4 also to the following lines:
$ git grep -Hni 1.0.0
CHANGES.rst:28:Version 1.0.0 (released 2015-11-24)
RELEASE-NOTES.rst:2: Invenio-Accounts v1.0.0
RELEASE-NOTES.rst:5:Invenio-Accounts v1.0.0 was released on November 24, 2015.
RELEASE-NOTES.rst:22:   $ pip install invenio-accounts==1.0.0

We did that e.g. for Invenio-Records-UI 1.0.0a2 recently:

https://github.com/inveniosoftware/invenio-records-ui/commit/1e7278aab7f5db050d6bb241d577b2791b589664


Distributed bakery example

Implementation of the distributed part of https://lamport.azurewebsites.net/pubs/bakery/dbakery-complete.pdf

@alexjg Note that I am making some core changes in here as well, because I found two bugs:
1.changed would race on applying sync changes, so the caller could "miss" changes happening over sync.
2. Repo assumed a document can only have a single pending save operation, wherease a doc can be edited while the previous edit is still pending saving.

@alexjg @issackelly  Found, and fixed, a third bug:
When a document already syncing in the backend is requested, it would never resolve.

@alexjg ready for review, comes with many bug fixes as noted above... cc @@issackelly

Added clean shutdown.

I've fixed the windows CI failure and merge that to main, I think if you rebase on top of main that should fix things for you and I suspect the bugfixes you have here should fix #36

Putting it back to draft because it appears there is some sort of bug and I am investigating. If the core bug fixes need to be merged in the meantime that's ok, I'll just keep investigating and re-open a PR with the fix to the example.

(after fixing the fmt failure that is)

Ok I think it's fixed with the last commit actually.


fix logger number not correct in tests

Motivation
Log placehodlers not correct. Cause some log info is missing or {} alone
Modifications
Fix the placeholder, add {} or delete {}
Documentation

[ ] no-need-doc
this is an internal optimize, don't need doc.

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks


Crash app in case search dapp

Describe the bug
Version test: v1.0.11(200)
Devices test: IP 11
To reproduce the bug
Steps:

Go to the Browser tab
Input search dapp and observe the displayed screen

Actual: Crash app

Do not reproduce on the v1.1.78


rg exec failed caused by a wrong parameter

error: Found argument '--no-ignore-messages' which wasn't expected, or isn't valid in this context
Did you mean --no-ignore-parent?
https://github.com/Yggdroot/LeaderF/blob/5c0e1883bc90937e08c6d7f7468bf1733caf525f/autoload/leaderf/python/leaderf/rgExpl.py#L258

Please update your rg.

@Yggdroot sorry!


Modified README.MD, added tables

Made tables for Cart Share
clarified the following note :
"Note: JPL and Caltech have no official affiliation with this forum; it is run by individuals of the general public."

Ping @ericjunkins

I do think the tables aesthetically look better horizontally organized

Thanks a lot, it was my first pull request. I was feeling nervous.
I am reading and learning this project for last ~10 days and will try my level best to make some positive contributions :)

Great to hear, let us know if you are looking for anything in particular to do and we could work together to try and find something

Thanks a lot, I definitely will come up with some things I am tinkering on. I will love to work with the Open Source Rover team.


Fixed bug where workingon calls same person twice

The daily "Tell us about something cool you are working on!" message calls on two people, but could call on the same person twice (as seen here). This should hopefully stop this rare bug from happening.

lgtm, but only if we're sure it's a bug worth fixing - there's a 1/1444 chance and shrinking, and it gives us something to talk about in the (extremely usual) case that the actual requestee doesn't respond.

Fair enough. I'll let others chime in.
(Re revert: Oops, pushed to wrong branch)

Lgtm. But you're removing character from the bot

Yeah, with 1444 members (and counting), you'd expect to go four years between double pings. The change I'd prefer is bumping it up to three pings every day.


Make time limit on api call

Occasionally an api call to a server will just hang indefinitely. I couldn't find in the documentation any way to supply a timeout in case the server hangs. Or am I wrong? Thank you

We currently don't have a way to set a timeout on requests, but we'll add one in our upcoming v5 release. Figure we can piggyback off our existing sdk.config() architecture with a timeout property there.
sdk.config({ timeout: 30 });


Support Oauth

Currently a login can be done with a username and password, or using key-pair authentication. It would be nice to add oauth as well.
https://docs.snowflake.com/en/developer-guide/sql-api/authenticating

This ideally should also support External OAuth, I'm happy to help implement that feature as I currently need it for a project,


#155 - Close the Inputstream

Declare FileInputStream in DSFFhirSecurityContextProvider in try-with-resources statement so that it is automatically closed afterwards

Superseded by #158 & #159


[Human App] Fix job type filters & display

Description
Fixing displaying of "Job Type" values and filtering by it.
Summary of changes

[!TIP]
It might be easier to review commit-by-commit

refactored MultiSelect component to support also labels for options so we can display something different from the option itself
changed all the places on UI to use values from JobType enum, but display corresponding labels with translation
fixed some react errors that were polluting console
fixed select job types filters on server: they were not applying for cached jobs; now we fetch all oracles for chainId and cache it to Redis, but do filtering in the main method that returns the list of oracles
fixed server to apply filters for job discover pages

How test the changes

open "Jobs Discovery" page, select Fortune, make sure only fortune oracle is displayed
open "Jobs Discovery" page, select multiple job types, make sure oracles supporting at least one of selected displayed
open "Available Jobs" page for some oracle, apply "Job Type" filter from table header
open "My Jobs" page for some oracle, apply "Job Type" filter from table header
open "Operator Sign in" page, attempt to add to KV store with job type (should display labels but add enums values)
on all the pages, make sure that job types displayed as labels, not as original enum
do all the above, but using mobile device layout from browser dev tools

Demo of the steps above: https://www.loom.com/share/fc9284ee0b3a48018fa892f9a7ec9698?sid=d32ec231-67e2-4286-8122-c502ac8eddd3
Related issues
Fixes https://github.com/humanprotocol/human-protocol/issues/2556, https://github.com/humanprotocol/human-protocol/issues/2580

I noticed that filters are not being cleared while navigating in between exchange oracles.
To reproduce:

Go to Jobs Discovery tab, click on fortune exchange oracle and apply Fortune job type filter.
 You won't see any available jobs because Fortune job filter is active.

Same applies to the Network and Reward amount filters.
@dnechay can you please take a look at this and fix in this PR if possible?
cc @portuu3

@Dzeranov good catch!
Fixed in https://github.com/humanprotocol/human-protocol/pull/2614/commits/44b92239a7e6ae9dba9aeda4c8e27b17134e898c


Adding of Mistery man in d=404 gravatar

So much thanks if you add the Mistery man and not a 404 broken image

You can achieve this with the current implementation of the avatar component. Here is an example that  would show facebook avatar if it's successfully loaded and fallback to the image that was provided as src otherwise
<ngx-avatar facebookId="userFacebookID" src="assets/avatar.jpg" >
Let me know if you still have any problem with this.


Check if the received file is correct.

Currently, we just inflate the file and save it but we did not check the hash (if it exists and if it's correct). A situation appears when the sender break the connection and the receiver don't notify that.

Closed, we currently check the hash of the PACK file.


Fix empty proxy-timeout failure

In my last test case, there is always the annotation easegress.ingress.kubernetes.io/proxy-timeout, so it didn't fail. But it will fail if there isn't. It may fix the issue https://github.com/easegress-io/easegress/issues/1215 and https://github.com/easegress-io/easegress/issues/1235

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 79.59%. Comparing base (907f3f5) to head (83addd0).
Report is 2 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1236      +/-   ##
==========================================
- Coverage   79.62%   79.59%   -0.03%
==========================================
  Files         152      152
  Lines       17228    17228
==========================================
- Hits        13718    13713       -5
- Misses       2847     2851       +4
- Partials      663      664       +1

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


Make noextract not extract

Currently, noextract is only meaningful for Kremlin extraction (see these links for reference: wiki, https://github.com/FStarLang/FStar/issues/1221, https://github.com/FStarLang/kremlin/issues/54).
This PR makes F* not extract any definition marked with noextract in any backend. The only exception is Kremlin, since it needs to have the stubs present.
Mostly posting this for discussion. We probably want

To enforce inline_for_extraction for definitions marked noextract? Otherwise they turn into magics at in the extracted code.

Have backend-specific knobs, such as [@@ noextract "kremlin"].

(2) is now done.
(1) would be nice, or just erroring out if we attempt to extract a call to a noextract definition. Currently they turn into Obj.magic () which is a pretty big footgun.

@nikswamy I added an error (downgradable to a warning) when we attempt to extract a call into an erased function: https://github.com/FStarLang/FStar/pull/2090/commits/96b79e47ca8e5271fba31c79c145b6d93c4eaed8. What happens concretely is that we lookup an fv in the extraction environment and it's not there, so we log an error and return a dummy () which will be casted. I reused some old logic for that, which was never being triggered AFAICT, since this passed CI as-is. Would be nice if you can confirm this makes sense.

Thanks Guido! Looks good to me, left a couple of small comments.
Should we deprecate the noextract qualifier and instead encourage the use of just the attribute? For example, [@@ noextract] (without an argument) could have the same semantics as the noextract qualifier. We can add a by-default suppressed warning, and migrate our code to the attribute gradually.

Hi Aseem, thanks for comments and sorry for the delay. Just updated the branch addressing them and with some cleanup.

Thanks @mtzguido ... this looks good to me. I'm glad to see it also deployed in FStar.Integers and related files. Please merge it when you get a green.

Here's an interesting test case minimized from the extraction of HACL* Spec.SHA2.fst to ML.
module NoExtract

inline_for_extraction
noextract
type t = { t_f: int }

let test (x:t) : int = x.t_f

If you run
$ fstar --codegen OCaml NoExtract.fst --trace_error --debug NoExtract --debug_level ExtractNorm --ugly

You see that it fails with
Unexpected error
Failure("(NoExtract.fst(5,5-5,6)) free Variable Mkt not found\n")

because what happens is that test gets normalized to
Normalized to (fun x -> (match x@0:(Tm_fvar: t) with
        | (Mkt t_f#277)  -> t_f@0:(Tm_fvar: int)))

And when extracting the pattern Mkt is not found, since it has been marked noextract.
Note, if t is not marked inline_for_extraction, then extraction does not crash, but it extracts test to
let (test : Obj.t -> Prims.int) = fun uu___ -> (fun x -> Obj.magic ()) uu___

Since the projector is not inlined and neither is it extracted. Would be nice to warn in this scenario, as discussed above.

I have some local patches to detect this situation, but what should the messages in each case be? There's
1- attempting to extract an erased FV, we can just use magic here
2- attempting to erase an erased constructor for a pattern, no way to recover
On (1) we can just log an error and allow it to be ignored. But not on (2), we should just stop extraction. Should these share a single error code? If so, --warn_error -X would still raise an error on (2), so may be bad user experience. As for the messages themselves, I was thinking on:
(Error 341) Attempting to extract erased variable `f`
(Error 341) Cannot extract variable `Mkt`, it was erased.

isn't the magic going to lead to segfaults down the line?

If it gets called then most likely yes, since it's just magic () for something of an arbitrary type. I suppose one can construct situations where they syntactically appear but are never called, like:
noextract
val fake_f : int -> int

let f (real:bool) (x:int) =
  if not real then fake_f x
  else
    ....

let real_f = f true

so an escape hatch could be useful, but not sure if this ever happens naturally

I updated this to provide some better errors, for instance:
module A

noextract
let f x = 1 + x

let h x = 2 + f x

A.fst(6,14-6,17): (Error 342) Will not extract reference to variable `f` since it is noextract; either remove its qualifier or add it to this definition. This error can be ignored with `--warn_error -342`.

Does that look good?
Other than that I think this is ready.

The logic for [@@noextract_to "Kremlin"] was wrong: we were dropping the definition early instead of sending it through the pipeline as a noextract before.
I fixed it and got an everest green with this, but we should first merge project-everest/hacl-star#382 to not break everest.


No colors on stdout

Hi,
Thanks for this tool.
I have a following problem.
When I execute mocha there are colors on stdout.
Although when I execute:
mocha | ntee ./build/test-report.txt

colors are missing.

Hi @mendlik ,
That behavior is not handled by ntee itself. Mocha, as many terminal utils, suppresses coloring when piping its output.
You can find many answered questions like this: http://unix.stackexchange.com/questions/19317/can-less-retain-colored-output

Hi,
Thank you for your comprehensive answer.
Adding --colors parameter solved the problem.
As you pointed out it also led to the problem of escaping characters in the text file.
One more time thanks for explanation.
Finally I gave up piping mocha's output, because pipes also overrides mocha's process exit code.
Nevertheless your module works seamlessly.
Regards


⚠ Unifi Controller has degraded performance

In a7c9343, Unifi Controller (https://unifi.vflits.com/) experienced degraded performance:

HTTP code: 200
Response time: 2540 ms

Resolved: Unifi Controller performance has improved in 425a01b after 12 minutes.


WIP Generate report for what packages will need releasing

Start work to automate auditing changes needed based on the top level components we're going to release
Closes
✅ Pull Request Checklist:

[ ] Included link to corresponding Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Team:

Sweet, there are things that already exist that do some of this functionality, can reopen when there is more time and can figure out how to combine these
is goes through all components in the @react-spectrum scope not marked with the private field, it finds all of their dependencies that we own and the version being used, then it traverses the tree to find everything those use and so on, and prints it all out so we can see what still needs to have private removed or if we have any conflicting versions
once it has that list, it also goes through all of them and finds any ts-ignores or eslints in those packages as well
at some point i want to monitor exports from all the modules as well, but haven't thought of a good way to do that
and I'll want to track which packages have gained or lost dependencies
Devon Govett
scripts/bumpVersions.js does something like this already fwiw
you can get that dep info with yarn workspaces info btw


wip: Support JetBrains IDEs 2024.1

Checklist

[ ] I have filed an issue about this change and discussed potential changes with the maintainers.
[ ] I have received the approval from the maintainers to make this change.
[ ] This is not a stylistic, refactoring, or cleanup change.

Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.
Discussion thread for this change
Issue number: <please reference the issue number or url here>
Description of this change
most of the files are just copies, you can compare them with:
diff -r sdkcompat/v2{33,41}
diff -r cpp/sdkcompat/v2{33,41}
diff -r testing/testcompat/v2{33,41}
diff intellij_platform_sdk/BUILD.idea2{33,41}
diff intellij_platform_sdk/BUILD.ue2{33,41}
diff intellij_platform_sdk/BUILD.clion2{33,41}

@ujohnny i'm getting this for clion, if something comes to your mind rn, then plase share, otherwise I'll do it myself
ERROR: clwb/BUILD:58:13: Building clwb/libclwb_lib.jar (31 source files) failed: (Exit 1): java failed: error executing Javac command (from target //clwb:clwb_lib) external/remotejdk17_linux_aarch64/bin/java '--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED' ... (remaining 19 arguments skipped)
clwb/src/com/google/idea/blaze/clwb/run/GoogleTestUtilAdapter.java:35: error: cannot find symbol
    GoogleTestUtilAdapter adapter = EP_NAME.getPoint().extensions().findFirst().orElse(null);
                                                      ^
  symbol:   method extensions()
  location: interface ExtensionPoint<GoogleTestUtilAdapter>
Target //clwb:clwb_bazel_zip failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 2.659s, Critical Path: 2.16s
INFO: 4 processes: 4 internal.
ERROR: Build did NOT complete successfully

Does this help?
https://github.com/ujohnny/intellij/commit/eb472e4a77668d5ba733925d49f18d182000fd45


Update Frobshop Tutorial

The Frobshop tutorial says: “For a deployment setup, we recommend creating product classes as data migration.”
As a new Django user, I asked for help on StackOverflow to understand what this meant. Seems "the article linked to in the documentation is quite old and has since been superseded by Django's own support for data migrations".
The tutorial should be corrected/updated.

Perhaps someone could put a whole description of how to do data migrations in there, instead of a single link to a nine-year-old blog post.

I agree that the docs should be updated for this case.


Cannot login to Facebook

using correct email + password, cannot login to Facebook (it seems like no redirection header is present and script says "Wrong username/password")
ERR! login Wrong username/password.
{ error: 'Wrong username/password.' }

Same here. Ideas? Thanks

Try using the cookie method. You can get the cookie by using a cookie editor, first log in to your Facebook account and then open the cookie editor and copy the cookie. The cookie editor can be found in the Chrome store

Currently the function of login by email/password is no longer available. Please login using appState, here is the extension to get appState click here


Failed to create Hetzner Cloud secret

During deployment the following issue occurred.
root:/local# hetzner-k3s-linux-amd64 create --config cluster_config.yaml
Validating configuration......configuration seems valid.

=== Creating infrastructure resources ===
Network already exists, skipping.
Updating firewall...done.
SSH key already exists, skipping.
Placement group test-masters already exists, skipping.
Placement group test-small-1 already exists, skipping.
Server test-cx21-pool-small-worker1 already exists, skipping.
Server test-cx21-master1 already exists, skipping.
Server test-cx21-pool-small-worker2 already exists, skipping.
Server test-cx21-master1 already exists, skipping.
Waiting for successful ssh connectivity with server test-cx21-master1...
Server test-cx21-pool-small-worker1 already exists, skipping.
Waiting for successful ssh connectivity with server test-cx21-pool-small-worker1...
Server test-cx21-pool-small-worker2 already exists, skipping.
Waiting for successful ssh connectivity with server test-cx21-pool-small-worker2...
...server test-cx21-master1 is now up.
...server test-cx21-pool-small-worker1 is now up.
...server test-cx21-pool-small-worker2 is now up.

=== Setting up Kubernetes ===
Deploying k3s to first master test-cx21-master1...
[INFO]  Using v1.28.9+k3s1 as release
[INFO]  Downloading hash https://github.com/k3s-io/k3s/releases/download/v1.28.9+k3s1/sha256sum-amd64.txt
[INFO]  Skipping binary downloaded, installed k3s matches hash
[INFO]  Skipping installation of SELinux RPM
[INFO]  Skipping /usr/local/bin/kubectl symlink to k3s, already exists
[INFO]  Skipping /usr/local/bin/crictl symlink to k3s, already exists
[INFO]  Skipping /usr/local/bin/ctr symlink to k3s, already exists
[INFO]  Creating killall script /usr/local/bin/k3s-killall.sh
[INFO]  Creating uninstall script /usr/local/bin/k3s-uninstall.sh
[INFO]  env: Creating environment file /etc/systemd/system/k3s.service.env
[INFO]  systemd: Creating service file /etc/systemd/system/k3s.service
[INFO]  systemd: Enabling k3s unit
[INFO]  No change detected so skipping service start
Waiting for the control plane to be ready...
Saving the kubeconfig file to /local/kubeconfig...
...k3s has been deployed to first master test-cx21-master1 and the control plane is up.
Deploying k3s to worker test-cx21-pool-small-worker1...
Deploying k3s to worker test-cx21-pool-small-worker2...
[INFO]  Using v1.28.9+k3s1 as release
[INFO]  Downloading hash https://github.com/k3s-io/k3s/releases/download/v1.28.9+k3s1/sha256sum-amd64.txt
[INFO]  Using v1.28.9+k3s1 as release
[INFO]  Downloading hash https://github.com/k3s-io/k3s/releases/download/v1.28.9+k3s1/sha256sum-amd64.txt
[INFO]  Skipping binary downloaded, installed k3s matches hash
[INFO]  Skipping installation of SELinux RPM
[INFO]  Skipping /usr/local/bin/kubectl symlink to k3s, already exists
[INFO]  Skipping /usr/local/bin/crictl symlink to k3s, already exists
[INFO]  Skipping /usr/local/bin/ctr symlink to k3s, already exists
[INFO]  Creating killall script /usr/local/bin/k3s-killall.sh
[INFO]  Creating uninstall script /usr/local/bin/k3s-agent-uninstall.sh
[INFO]  Skipping binary downloaded, installed k3s matches hash
[INFO]  Skipping installation of SELinux RPM
[INFO]  Skipping /usr/local/bin/kubectl symlink to k3s, already exists
[INFO]  Skipping /usr/local/bin/crictl symlink to k3s, already exists
[INFO]  Skipping /usr/local/bin/ctr symlink to k3s, already exists
[INFO]  Creating killall script /usr/local/bin/k3s-killall.sh
[INFO]  Creating uninstall script /usr/local/bin/k3s-agent-uninstall.sh
[INFO]  env: Creating environment file /etc/systemd/system/k3s-agent.service.env
[INFO]  systemd: Creating service file /etc/systemd/system/k3s-agent.service
[INFO]  systemd: Enabling k3s-agent unit
[INFO]  env: Creating environment file /etc/systemd/system/k3s-agent.service.env
[INFO]  systemd: Creating service file /etc/systemd/system/k3s-agent.service
[INFO]  systemd: Enabling k3s-agent unit
[INFO]  No change detected so skipping service start
[INFO]  No change detected so skipping service start
...k3s has been deployed to worker test-cx21-pool-small-worker2.
...k3s has been deployed to worker test-cx21-pool-small-worker1.

=== Deploying Hetzner drivers ===

Creating secret for Hetzner Cloud token...
error: error validating "STDIN": error validating data: failed to download openapi: the server is currently unable to handle the request; if you choose to ignore these errors, turn validation off with --validate=false
Failed to create Hetzner Cloud secret:
#<Util::Shell::Result:0x7fb35eea9580>

Looks like K3s is deployed but nothing is in there....
kubectl get nodes
NAME                           STATUS   ROLES                       AGE   VERSION
test-cx21-master1              Ready    control-plane,etcd,master   14m   v1.28.9+k3s1
test-cx21-pool-small-worker1   Ready    <none>                      13m   v1.28.9+k3s1
test-cx21-pool-small-worker2   Ready    <none>                      13m   v1.28.9+k3s1

kubectl get pods -A
NAMESPACE     NAME                      READY   STATUS    RESTARTS   AGE
kube-system   coredns-6799fbcd5-2kgz6   0/1     Pending   0          14m

Hi! Sometimes it can happen that the control plane is not ready yet when the tool attempts to install stuff, so you see an error similar to what you have seen. This is addressed in the upcoming version 2.0 but can still happen to the current stable.
In these cases, you can just rerun the create command and it will pick up from where it left. So yeah please try rerunning it :)

I get the error when trying to deploy with v1.28.9+k3s1 or above.
When using v1.27.6+k3s1, the installation continues and installation finished.
I do not see the loadbalancer yet, but there must be a difference in k3s version usage

root:/local# /usr/local/bin/hetzner-k3s-linux-amd64 create --config cluster_config.yaml
Validating configuration......configuration seems valid.

=== Creating infrastructure resources ===
Creating network...done.
Creating firewall...done.
SSH key already exists, skipping.
Creating placement group test-masters...done.
Placement group test-small-1 already exists, skipping.
Creating server test-cx21-pool-small-worker2...
Creating server test-cx21-pool-small-worker1...
Creating server test-cx21-master1...
...server test-cx21-pool-small-worker2 created.
...server test-cx21-pool-small-worker1 created.
...server test-cx21-master1 created.
Server test-cx21-master1 already exists, skipping.
Waiting for successful ssh connectivity with server test-cx21-master1...
Server test-cx21-pool-small-worker1 already exists, skipping.
Waiting for successful ssh connectivity with server test-cx21-pool-small-worker1...
Server test-cx21-pool-small-worker2 already exists, skipping.
Waiting for successful ssh connectivity with server test-cx21-pool-small-worker2...
...server test-cx21-pool-small-worker2 is now up.
...server test-cx21-master1 is now up.
...server test-cx21-pool-small-worker1 is now up.

=== Setting up Kubernetes ===
Deploying k3s to first master test-cx21-master1...
[INFO]  Using v1.27.6+k3s1 as release
[INFO]  Downloading hash https://github.com/k3s-io/k3s/releases/download/v1.27.6+k3s1/sha256sum-amd64.txt
[INFO]  Downloading binary https://github.com/k3s-io/k3s/releases/download/v1.27.6+k3s1/k3s
[INFO]  Verifying binary download
[INFO]  Installing k3s to /usr/local/bin/k3s
[INFO]  Skipping installation of SELinux RPM
[INFO]  Creating /usr/local/bin/kubectl symlink to k3s
[INFO]  Creating /usr/local/bin/crictl symlink to k3s
[INFO]  Creating /usr/local/bin/ctr symlink to k3s
[INFO]  Creating killall script /usr/local/bin/k3s-killall.sh
[INFO]  Creating uninstall script /usr/local/bin/k3s-uninstall.sh
[INFO]  env: Creating environment file /etc/systemd/system/k3s.service.env
[INFO]  systemd: Creating service file /etc/systemd/system/k3s.service
[INFO]  systemd: Enabling k3s unit
[INFO]  systemd: Starting k3s
Waiting for the control plane to be ready...
Saving the kubeconfig file to /local/kubeconfig...
...k3s has been deployed to first master test-cx21-master1 and the control plane is up.
Deploying k3s to worker test-cx21-pool-small-worker1...
Deploying k3s to worker test-cx21-pool-small-worker2...
[INFO]  Using v1.27.6+k3s1 as release
[INFO]  Downloading hash https://github.com/k3s-io/k3s/releases/download/v1.27.6+k3s1/sha256sum-amd64.txt
[INFO]  Using v1.27.6+k3s1 as release
[INFO]  Downloading hash https://github.com/k3s-io/k3s/releases/download/v1.27.6+k3s1/sha256sum-amd64.txt
[INFO]  Downloading binary https://github.com/k3s-io/k3s/releases/download/v1.27.6+k3s1/k3s
[INFO]  Downloading binary https://github.com/k3s-io/k3s/releases/download/v1.27.6+k3s1/k3s
[INFO]  Verifying binary download
[INFO]  Verifying binary download
[INFO]  Installing k3s to /usr/local/bin/k3s
[INFO]  Skipping installation of SELinux RPM
[INFO]  Creating /usr/local/bin/kubectl symlink to k3s
[INFO]  Creating /usr/local/bin/crictl symlink to k3s
[INFO]  Creating /usr/local/bin/ctr symlink to k3s
[INFO]  Creating killall script /usr/local/bin/k3s-killall.sh
[INFO]  Creating uninstall script /usr/local/bin/k3s-agent-uninstall.sh
[INFO]  env: Creating environment file /etc/systemd/system/k3s-agent.service.env
[INFO]  systemd: Creating service file /etc/systemd/system/k3s-agent.service
[INFO]  systemd: Enabling k3s-agent unit
[INFO]  Installing k3s to /usr/local/bin/k3s
[INFO]  Skipping installation of SELinux RPM
[INFO]  Creating /usr/local/bin/kubectl symlink to k3s
[INFO]  Creating /usr/local/bin/crictl symlink to k3s
[INFO]  Creating /usr/local/bin/ctr symlink to k3s
[INFO]  Creating killall script /usr/local/bin/k3s-killall.sh
[INFO]  Creating uninstall script /usr/local/bin/k3s-agent-uninstall.sh
[INFO]  env: Creating environment file /etc/systemd/system/k3s-agent.service.env
[INFO]  systemd: Creating service file /etc/systemd/system/k3s-agent.service
[INFO]  systemd: Enabling k3s-agent unit
[INFO]  systemd: Starting k3s-agent
[INFO]  systemd: Starting k3s-agent
...k3s has been deployed to worker test-cx21-pool-small-worker2.
...k3s has been deployed to worker test-cx21-pool-small-worker1.

=== Deploying Hetzner drivers ===

Creating secret for Hetzner Cloud token...
secret/hcloud created
...secret created.

Deploying Hetzner Cloud Controller Manager...
serviceaccount/hcloud-cloud-controller-manager created
clusterrolebinding.rbac.authorization.k8s.io/system:hcloud-cloud-controller-manager created
deployment.apps/hcloud-cloud-controller-manager created
...Cloud Controller Manager deployed

Deploying Hetzner CSI Driver...
serviceaccount/hcloud-csi-controller created
storageclass.storage.k8s.io/hcloud-volumes created
clusterrole.rbac.authorization.k8s.io/hcloud-csi-controller created
clusterrolebinding.rbac.authorization.k8s.io/hcloud-csi-controller created
service/hcloud-csi-controller-metrics created
service/hcloud-csi-node-metrics created
daemonset.apps/hcloud-csi-node created
deployment.apps/hcloud-csi-controller created
csidriver.storage.k8s.io/csi.hetzner.cloud created
...CSI Driver deployed

Deploying k3s System Upgrade Controller...
namespace/system-upgrade created
serviceaccount/system-upgrade created
configmap/default-controller-env created
deployment.apps/system-upgrade-controller created
...k3s System Upgrade Controller deployed.

root:/local# hcloud load-balancer list
ID   NAME   HEALTH   IPV4   IPV6   TYPE   LOCATION   NETWORK ZONE   AGE

Not sure about the difference 1.28 and 1.27 although I haven't come across that issue so far.
As for the load balancer, do you mean the load balancer for the Kubernetes API? If yes, that load balancer is created only when you configure the cluster in HA  mode with multiple masters. From looking at the log it seems you have created the cluster with a single master so that load balancer doesn't get created.

Indeed the loadbalancer is there only with multiple masters, my bad.
I'm not able to deploy anything above 1.28 or higher.

Weird. Can you reproduce the issues with 1.28 consistently with new clusters?

Hey, same issue here on a brand new cluster. Trying with v1.30.1-k3s1.
=== Deploying Hetzner drivers ===

Creating secret for Hetzner Cloud token...
error: error validating "STDIN": error validating data: failed to download openapi: the server is currently unable to handle the request; if you choose to ignore these errors, turn validation off with --validate=false
Failed to create Hetzner Cloud secret:
#<Util::Shell::Result:0x71d52850fbc0>

At first glance, that appears to be relevant indeed.
When k3s kubectl describe pods -n kube-system I get
 Type     Reason            Age    From               Message
  ----     ------            ----   ----               -------
  Warning  FailedScheduling  7m48s  default-scheduler  0/1 nodes are available: 1 node(s) had untolerated taint {node.cloudprovider.kubernetes.io/uninitialized: true}. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.
  Warning  FailedScheduling  6m8s   default-scheduler  0/5 nodes are available: 5 node(s) had untolerated taint {node.cloudprovider.kubernetes.io/uninitialized: true}. preemption: 0/5 nodes are available: 5 Preemption is not helpful for scheduling.
  Warning  FailedScheduling  4m47s  default-scheduler  0/5 nodes are available: 5 node(s) had untolerated taint {node.cloudprovider.kubernetes.io/uninitialized: true}. preemption: 0/5 nodes are available: 5 Preemption is not helpful for scheduling.
  Warning  FailedScheduling  3m24s  default-scheduler  0/5 nodes are available: 5 node(s) had untolerated taint {node.cloudprovider.kubernetes.io/uninitialized: true}. preemption: 0/5 nodes are available: 5 Preemption is not helpful for scheduling.
  Warning  FailedScheduling  118s   default-scheduler  0/5 nodes are available: 5 node(s) had untolerated taint {node.cloudprovider.kubernetes.io/uninitialized: true}. preemption: 0/5 nodes are available: 5 Preemption is not helpful for scheduling.
  Warning  FailedScheduling  35s    default-scheduler  0/5 nodes are available: 5 node(s) had untolerated taint {node.cloudprovider.kubernetes.io/uninitialized: true}. preemption: 0/5 nodes are available: 5 Preemption is not helpful for scheduling

K3s also appears to be restarting from time to time as k3s kubectl get nodes works, then stops, then works, etc...

Just changed to v1.29.0+k3s1 which works fine :)

Closing this since it seems like an issue with k3s itself rather than with this tool. If you want to continue the conversation on this topic you can open a discussion :)

I believe this is something to do with the hetzner-k3s. The issue arises in two different cases.

Set enable_public_net_ipv4 to false and set enable_public_net_ipv6 to false
masters_pool instance count is set to 1

I understand for HA the masters_pool instance count is to be set to min 3. However cluster members is to be private. It is absolute must in my case.
Does anyone experience this issue when you make the cluster members to be private?
Following is the exact error
Creating secret for Hetzner Cloud token...
error: error validating "STDIN": error validating data: failed to download openapi: Get "http://localhost:8080/openapi/v2?timeout=32s": dial tcp [::1]:8080: connect: connection refused; if you choose to ignore these errors, turn validation off with --validate=false
Failed to create Hetzner Cloud secret:
#<Util::Shell::Result:0x7aae2845f980>

I believe this is something to do with the hetzner-k3s. The issue arises in two different cases.

Set enable_public_net_ipv4 to false and set enable_public_net_ipv6 to false
masters_pool instance count is set to 1

I understand for HA the masters_pool instance count is to be set to min 3. However cluster members are to be public, may not be accepted for all usecases. In my case, private cluster member is absolute must.
Does anyone experience this issue when you make the cluster members to be private? Following is the exact error
Creating secret for Hetzner Cloud token...
error: error validating "STDIN": error validating data: failed to download openapi: Get "http://localhost:8080/openapi/v2?timeout=32s": dial tcp [::1]:8080: connect: connection refused; if you choose to ignore these errors, turn validation off with --validate=false
Failed to create Hetzner Cloud secret:
#<Util::Shell::Result:0x7aae2845f980>

You are setting up the cluster from an instance in the same network I guess? Can you describe your setup in more detail so I can try to reproduce?

I believe this is something to do with the hetzner-k3s. The issue arises in two different cases.

Set enable_public_net_ipv4 to false and set enable_public_net_ipv6 to false
masters_pool instance count is set to 1

I understand for HA the masters_pool instance count is to be set to min 3. However cluster members are to be public, may not be accepted for all usecases. In my case, private cluster member is absolute must.
Does anyone experience this issue when you make the cluster members to be private? Following is the exact error
Creating secret for Hetzner Cloud token...
error: error validating "STDIN": error validating data: failed to download openapi: Get "http://localhost:8080/openapi/v2?timeout=32s": dial tcp [::1]:8080: connect: connection refused; if you choose to ignore these errors, turn validation off with --validate=false
Failed to create Hetzner Cloud secret:
#<Util::Shell::Result:0x7aae2845f980>

You are setting up the cluster from an instance in the same network I guess? Can you describe your setup in more detail so I can try to reproduce?

I create a AMD server with 1 vCPU with Ubuntu OS manually. I assign public IP address and assign it into a private network (network-1). No firewall is assigned for this server. I install the kubectl and hetzner-k3s (AMD version) on this server. I have connected to this server from terminal and executed the ssh-keygen command and added that SSH key into the hetzner portal.
I copy the following configuration file into the home directory of the server and run the command. "hetzner-k3s create --config cluster_config.yaml"
hetzner_token: LiVOZR......
cluster_name: test
kubeconfig_path: "./kubeconfig"
k3s_version: v1.30.1+k3s1
public_ssh_key_path: "~/.ssh/id_rsa.pub"
private_ssh_key_path: "~/.ssh/id_rsa"
use_ssh_agent: false # set to true if your key has a passphrase or if SSH connections don't work or seem to hang without agent. See https://github.com/vitobotta/hetzner-k3s#limitations
# ssh_port: 22
ssh_allowed_networks:
  - <IP_ADDRESS>/0 # ensure your current IP is included in the range
api_allowed_networks:
  - <IP_ADDRESS>/0 # ensure your current IP is included in the range
private_network_subnet: <IP_ADDRESS>/16 # ensure this doesn't overlap with other networks in the same project
disable_flannel: false # set to true if you want to install a different CNI
schedule_workloads_on_masters: false
enable_public_net_ipv4: false # default is true
enable_public_net_ipv6: false # default is true
datastore:
  mode: etcd # etcd (default) or external
  external_datastore_endpoint: postgres://....
masters_pool:
  instance_type: cpx11
  instance_count: 3
  location: nbg1
worker_node_pools:
- name: small-static
  instance_type: cpx11
  instance_count: 2
  location: nbg1
existing_network: network-1

Out of curiosity, I was also doing the same with the ARM variation of the server. It still throws the same error.
When I set the following properties to true, the cluster creation went well.
enable_public_net_ipv4: true
enable_public_net_ipv6: true

I am taking a note to test this scenario when I have time.

Same setup as @mahinthan, i.e. attempting to create the cluster from  a manually created server within the project space (with the goal of trying to avoid public v4 IPs).
Fails at
=== Deploying Hetzner drivers ===

Creating secret for Hetzner Cloud token...
error: error validating "STDIN": error validating data: failed to download openapi: Get "http://localhost:8080/openapi/v2?timeout=32s": dial tcp [::1]:8080: connect: connection refused; if you choose to ignore these errors, turn validation off with --validate=false
Failed to create Hetzner Cloud secret:
#<Util::Shell::Result:0x7fbefd9ca080>

Fails for any k3s version I tried, from 1.27 to 1.30.
Noteworthy:
gk@nextcloud-ubuntu-4gb-nbg1-1:~/hetzner$ ls -lta
total 12
drwxrwxr-x 2 gk gk 4096 Jul  8 20:03 .
-rw------- 1 gk gk    0 Jul  8 20:03 kubeconfig
drwxr-xr-x 7 gk gk 4096 Jul  8 20:01 ..
-rw-r--r-- 1 gk gk 3574 Jul  8 19:32 config.yaml
gk@nextcloud-ubuntu-4gb-nbg1-1:~/hetzner$ cat /tmp/cli.cmd
set -euo pipefail
kubectl apply -f - <<-EOF
apiVersion: "v1"
kind: "Secret"
metadata:
  namespace: 'kube-system'
  name: 'hcloud'
stringData:
  network: "axc3"
  token: "NQkecNTPTlnlgbElei....
EOF

I.e. kubeconfig is empty, at the point where the tool tries to run the secret creation.
=> Manually running it runs into the same error, clear:
~/hetzner$ /tmp/cli.cmd
error: error validating "STDIN": error validating data: failed to download openapi: Get "http://localhost:8080/openapi/v2?timeout=32s": dial tcp [::1]:8080: connect: connection refused; if you choose to ignore these errors, turn validation off with --validate=false

Can anyone help with testing the rc1 of v2? It's now available. See https://github.com/vitobotta/hetzner-k3s/discussions/385 for details. Thanks


object.SQLValue support for INSERTs on non-Oracle databases

support only implemented on oracle atm.

With the new vtable approach for the dbmapper SQL generators, we should be able to have a single core implementation that supports this.


Italian transl

Fix for #812
this looks way better to me. I prefer anyway open a pr just so you can judge and fix some other possible errors.

Much better 👏  I'll merge this for now and push the site when everything lands perhaps?

yeah wait for the final push.
just to be sure, I have to update my local repo before pushing again right? and use the same branch

just to be sure, I have to update my local repo before pushing again right? and use the same branch

yeah I would pull locally from remote master (which will show your merge commit) and then make a new PR off of that tip of master on a new branch. then itll only show the changes since this PR


Favourites Download Automation

Wouldn't it be cool If you could select, that you want to download new images from your favourite Tags automatically after you start the program?
Maybe like that:

You download all images once and the program saves the name of the last image that you have downloaded
When you start the program again it checks if there are new images since your last downloaded image
If yes it starts downloading them with the preferences from the last download

I dont know if this is possible but it would be so easier to be up to date with the images from your tags.

Maybe also for whole websites

Have you tried the "monitoring" feature of favorites? You can find the documentation about it here:
https://bionus.github.io/imgbrd-grabber/docs/favorites.html#automatically-download-a-favorite
It does not exactly behave like what you suggested, but it allows to automatically track new images for a given favorite, and download them as soon as they appear.

Oh I think I didn't saw the whole thing that is possible. Yeah its basically the same. Thanks!


I want to know how I can see in a listview, the information that I am obtaining from a table in the sql server database

Greetings, I tried your example and it worked correctly, I am new to programming and I want to know how I can see in a listview, the information that I am obtaining from a table in the sql server database, I would appreciate your support.

Hello zcyz,
Thanks for using this plugin, hope you liked it.
As you must have seeing the data comes in a json format, so to see it in listview, you can create a model of that json and then you can get the data

Do you have an example, to guide me, I'm new to programming

Create a model first.  Once connected you can call as many queries as you want.
Then call the query
var res = await SqlConn.readData("SELECT * FROM tableName");

Then parse the json
IpListModel ipListmodel = ipListModelFromJson(res)

And you can ues this ipListmodel
Well this is just a rough example. For more you can refer to:
https://pub.dev/packages/sql_conn/example
https://medium.flutterdevs.com/parsing-complex-json-in-flutter-b7f991611d3e

There are some errors in this example Model.


fix: allow imds to cache tokens

I think this will just decide on the credential providing way once, and allow reuse, instead of querying every time.
I don't know how to test this.

I think we still need the LazyCaching whatever per: https://github.com/awslabs/aws-sdk-rust/discussions/627#discussioncomment-3807017

My understanding is that ImdsCredentialsProvider doesn't cache internally.

You're right, I read it wrong

Now without clippy warnigns and the chain + lazy.


itsdangerous -> derive_key() occasionally returns invalid key.

The signing of session-cookies works fine on development computer. But when moving the software to an embedded device, ARM71, 32 bit the derive_key() occasionally fail and returns an invalid key. Making the cookie invalid.
It is actually the hmac that returns invalid hashed string, but this only happens when running the flask application.
def derive_key(self):
    """This method is called to derive the key.  If you're unhappy with
    the default key derivation choices you can override them here.
    Keep in mind that the key derivation in itsdangerous is not intended
    to be used as a security method to make a complex key out of a short
    password.  Instead you should use large random secret keys.
    """
    salt = want_bytes(self.salt)
    if self.key_derivation == 'concat':
        return self.digest_method(salt + self.secret_key).digest()
    elif self.key_derivation == 'django-concat':
        return self.digest_method(salt + b'signer' +
            self.secret_key).digest()
    elif self.key_derivation == 'hmac':
        mac = hmac.new(self.secret_key, digestmod=self.digest_method) ##### 1
        print(binascii.hexlify(mac.digest()))
        mac.update(salt)               ##### 2
        print(binascii.hexlify(mac.digest()))
        return mac.digest()
    elif self.key_derivation == 'none':
        return self.secret_key
    else:
        raise TypeError('Unknown key derivation method')

secret_key = b"testing"
salt = "cookie-session"
After #####1, binascii.hexlify(mac.digest()) = b'6ab6fc891eefd3b78743ea28b1803811561a7c9b'
After #####2, binascii.hexlify(mac.digest()) = b'd58bd52b4ced54374ea5baca0b6aa52b0e03af74'
But sometimes (1) above return  b'9dac0c533fcca6cb787aa332d8f152ffb7e6b960'
and (2) does not change when adding salt:  b'9dac0c533fcca6cb787aa332d8f152ffb7e6b960'
Been trying to solve this for a couple of days without success. Any ideas?

I'm confused, do you think the underlying issue here is in itsdangerous or in Flask's implementation of itsdangerous?

I'm confused too! :D I do not know what the issue is. The only thing I am sure about is that the hmac.new() & .update occasionally returns the wrong value.

If this is an issue with itsdangerous, report it against itsdangerous.

Okay, sorry. Did not know that itsdangerous is not a flask module.

For reference: https://github.com/pallets/itsdangerous/issues/61


Power is always null in GT06N(5023 Port)

Hello @tananaev
I am using traccar and it's working fine. but i am not getting device for value. Can you please help me regarding this query?
Thanks again buddy :)

In most cases battery info is not included in GPS messages. It is usually sent in as separate message without GPS info which is not currently supported by Traccar.

Hello @tananaev  thank you so much..
I need power status must and i want to update the code. Can you please help me in which file i have to update?
Thanks in advance for your support :)

It's not a single file. Multiple changes required to properly implement it.
If you need it now, you can try to implement some workaround in Gt06ProtocolDecoder.java.

Thanks for reply :) @tananaev
Okay. Let me try
How i can check which version of traccar used. :)

Recent Traccar releases print version number in the log on start-up.

Hello surendrakumar1992 did you resolved?


How do I force an immediate response?

In Falcon I can force an immediate error code response to return from anywhere in my code by raising a Falcon exception with the appropriate error code.
Is there a way to force an immediate return of the response to the client for VALID (i.e. not errors) responses?

@dukedougal You could register a custom error handler and then raise exceptions of that type. It is a bit of a hack, but will work with 0.2. We'll look at doing something more elegant in 0.3 or 0.4.


html: add PrependChild and InsertAfter

These methods complement the already existing AppendChild and
InsertBefore methods in allowing for easy and safe manipulation of
Node trees.
For example code like
oldChild.Parent.InsertBefore(newChild, oldChild.NextSibling)
can now be written like
oldChild.Parent.InsertAfter(newChild, oldChild)
and code like
node.InsertBefore(newNode, node.FirstChild)
can now be written like
node.PrependChild(newNode)

@googlebot I signed it!


requirements.txt lists pypdfium2 but it's not used?

Sorry for the mistake! I updated the requeriments file 👍 Thanks for letting me know

Thanks for the info, I just found your project in pypdfium2's dependents network and was confused, for the code didn't seem to actually use pypdfium2.


Credit Calculation | Set default row to 2 for petroleum gas and diesel carbon intensities table |1|

Task:
Set default row in react table to 2 rows for petroleum gas and diesel carbon intensities table

Location of table: IDIR user, Administration tab, Compliance Reporting sub-tab

Rationale:
With only two values in this table, the default of 10 rows is unnecessary.
https://trello.com/c/goSnlVtx/1414-credit-calculation-set-default-row-to-2-for-petroleum-gas-and-diesel-carbon-intensities-table-1#

 Credit Calculation | Set default row to 2 for petroleum gas and diesel carbon intensities table |1|


Add ocaml-index tests using cms files and add -H flag

As the title suggests, this PR does two things:

Add tests that demonstrate ocaml-index working with cms files
Add a -H flag to ocaml-index, which allows passing hidden dependency paths

This is done as 1 PR instead of 2 because the tests rely on the -H flag to work properly.

Should it be upstreamed at some point?

Yes I intend to upstream it.


MGDOBR-643: Sync SDK and Openapi - 27-April-2022

For more details see:

https://issues.redhat.com/browse/MGDOBR-643

@manstis not sure what do you mean. I simply started both from scripts folder

fetch
generate

@manstis not sure what do you mean....

@jomarko when I first reviewed this PR it had FAILED (to compile the UI components). So I asked:

Is it the intention that this PR should also address any refactoring as a consequence of the openapi change?

Meaning was you to fix the UI components due to the change in openapi.
You've since re-based, the PR has now PASSED and everyone is happy :smile:

Looks good but I have a doubt. Should we wait to update the SDK with changes involving source processors until the new API is deployed to the dev environment at least?

Looks good but I have a doubt. Should we wait to update the SDK with changes involving source processors until the new API is deployed to the dev environment and ready to be used?

That is your call... smaller more frequent increments may be more manageable than larger changes.
IMO this PR is "complete" (all be it we know it'll become out of date soon).. so why not merge!?!

@kelvah thank you for poiting to possible soon 'incompatibility' of SDK with real backnd openapi. I elieve this new job will help me to keep SDK updated as much as possible, as @manstis says, in smaller PRs, continuously. What do you think?

I think we can proceed continuously with the update of SDK with backend endpoints/model.
So, this PR is fine for me too.


[buildsystem] Introduce BuildSystemManager that handles main-file lookup and caching

The build system manage integrates with the indexer to provide header to main file mappings, including keeping those mappings up-to-date as #includes are added and removed. This allows us to provide accurate compiler arguments for a header based on a real translation unit. When there are no main files found, we continue to fallback to asking the build system.
The build system manager also gives us a place to put a client-side setting cache, since multiple headers may map to a single main file.
rdar://56599582

https://github.com/apple/indexstore-db/pull/68
@swift-ci please test

Nice! 🎉


Update server and client setup guide.

Description
Update server and client setup guide. (#1437)

Add Linux specific requirements.
Add debug info for common build errors.
Correct build step or any other statement wherever required.
For more info please see the attachment here: https://github.com/appsmithorg/appsmith/issues/1437
Update the Nginx config file for the client app to point to the LOCAL hosted api server by default for both MacOS and Linux.

Fixes appsmithorg/appsmith #1437
Fixes appsmithorg/appsmith #1453
Type of change

This change requires a documentation update

How Has This Been Tested?
Tested by building the application on Ubuntu Linux 16.04
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Something has gone wrong. This pull request is not showing more files than changed. Hence closing thing to raise a new pull request.


Editing sentences with "/me" doesn't re-render the result

I typed in:

/me nosd

Edited that to

/me nods

But it still rendered as original way, and the "EDITED" bit showed up funny.
Using Firefox.

Reproduced.  This is a frontend bug -- if you reload is renders properly.
The issue is that the frontend is I think not correctly rerendering /me messages after they are edited.
This seems like it could be a good starter bug for someone interested in getting involved.

I can work on this!

This was fixed in #848, but #835 and #836 are still open.


Release 0.1 done! Comments and suggestions...

I've released version 0.1 on PYPI along with a self-contained version of PyLearn2, as previously discussed. You can get it here for both Python 2.7 and 3.4:
pip install scikit-neuralnetwork

Also, the repository here was tagged too as 0.1.
If you have any comments, questions, feedback or suggestions (anything) about the release process I'm very keen to hear it!

Just added a release description, seems like the best way to communicate releases on GitHub.
https://github.com/aigamedev/scikit-neuralnetwork/releases


Ping me

Hi! I'm the previous maintainer of this widget, can someone ping me on my email? (Your can find it on my GitHub profile) @nethsix I can't find your email on your GitHub profile. Thanks.

Hi @dosten , I am Yuta from Xenon Ventures. Now I am working for RingCaptcha.

Hi @yutaf, don't worry, tell me your packagist username and I can add you as a maintainer and delete my self.

Thank you @dosten ! The username is "ringcaptcha".

@yutaf done!

Thank you for your help, @dosten !


need to simplify translations

This is a follow up on the issue #557. I've got it resolved and it turned out to be very simple. Looking at public/app.js I see the following locale variables already supported for time stamps. I'm assuming it's already built in capability for ago dependency inside i18n approach.
// locale key.

// locale : Moroccan Arabic (ar-ma)
// locale : Arabic Saudi Arabia (ar-sa)
// locale : azerbaijani (az)
// locale : bulgarian (bg)
// locale : Bengali (bn)
// locale : breton (br)
// locale : bosnian (bs)
// locale : catalan (ca)
// locale : czech (cs)
// locale : chuvash (cv)
// locale : Welsh (cy)
// locale : danish (da)
// locale : austrian german (de-at)
// locale : german (de)
// locale : modern greek (el)
// locale : australian english (en-au)
// locale : canadian english (en-ca)
// locale : great britain english (en-gb)
// locale : esperanto (eo)
// locale : spanish (es)
// locale : estonian (et)
// locale : euskara (eu)
// locale : Persian (fa)
// locale : finnish (fi)
// locale : faroese (fo)
// locale : canadian french (fr-ca)
// locale : french (fr)
// locale : galician (gl)
// locale : Hebrew (he)
// locale : hindi (hi)
// locale : hrvatski (hr)
// locale : hungarian (hu)
// locale : Armenian (hy-am)
// locale : Bahasa Indonesia (id)
// locale : icelandic (is)
// locale : italian (it)
// locale : japanese (ja)
// locale : Georgian (ka)
// locale : khmer (km)
// locale : korean (ko)
// locale : Luxembourgish (lb)
// locale : Lithuanian (lt)
// locale : latvian (lv)
// locale : macedonian (mk)
// locale : malayalam (ml)
// locale : Marathi (mr)
// locale : Bahasa Malaysia (ms-MY)
// locale : norwegian bokmål (nb)
// locale : nepali/nepalese
// locale : dutch (nl)
// locale : norwegian nynorsk (nn)
// locale : polish (pl)
// locale : brazilian portuguese (pt-br)
// locale : portuguese (pt)
// locale : romanian (ro)
// locale : russian (ru)
// locale : slovak (sk)
// locale : slovenian (sl)
// locale : Albanian (sq)
// locale : Serbian-cyrillic (sr-cyrl)
// locale : Serbian-latin (sr)
// locale : swedish (sv)
// locale : tamil (ta)
// locale : thai (th)
// locale : Tagalog/Filipino (tl-ph)
// locale : turkish (tr)
// locale : Morocco Central Atlas Tamaziɣt in Latin (tzm-latn)
// locale : Morocco Central Atlas Tamaziɣt (tzm)
// locale : ukrainian (uk)
// locale : uzbek (uz)
// locale : vietnamese (vi)
// locale : chinese (zh-cn)
// locale : traditional chinese (zh-tw)
The problem I had was my locale key definition. I've defined "ua" as a locale key for Ukrainian language. But it is defined as "uk" inside app.js.
As soon as I've renamed my ua.json to uk.json inside lib/translations/lob directory, adjusted component.json and index.js inside /lib/translations directory and changed locale variable from "ua" to "uk" in the config directory everything worked as expected.
With this in mind I think we need to enable new users to add additional languages.
I think it will be easier if we create all the above templates for them inside lib/translations/lib directory. These would be just copies of en.json for the time being. We would also add all of these languages to component.json and index.js.
These would cut down the steps necessary for enabling a new language to only the following:

Find your language file inside lib/translations/lib and adjust as needed based on the examples from other languages.
Modify the "locale" variable inside the development.json/production.json accordingly.
Make sure your language keyboard is included in the exports.names variable in the lib/regexps/indes.js. Refer to issue #539 for details.
Add your translation to the following line inside lib/models/citizen.js
userExistsError: 'There is already a citizen using %s'
Refer to the issue #541.

If we add all the above languages when we fix #539 and #541. It would cut down the number of steps to just two. This would make it really straight forward for everyone to contribute on translations and also make sure the time stamps are working properly for all the languages.
I could probably help with some of that if we all decide this is the right thing to do. I just need to figure out how to commit my changes and modify wiki page.

Regarding language codes, we stick to ISO standard and uk is the standard for Ukranian, so please revise your setting.
For adding new languages, we will be setting up a Transifex for DOS sometime soon, but not just now.


Cryptodome

C:\Python27\PokemonGo-Bot>pokecli.py - -l "53.012808, 18.597326" -lc -cp100 -m all -w 4.16 -du km -c 200
Traceback (most recent call last):
File "C:\Python27\PokemonGo-Bot\pokecli.py", line 43, in
from pokemongo_bot import PokemonGoBot
File "C:\Python27\PokemonGo-Bot\pokemongo_bot_init_.py", line 10, in
from pgoapi import PGoApi
File "c:\python27\pokemongo-bot\src\pgoapi\pgoapi_init_.py", line 19, in
from pgoapi.pgoapi import PGoApi
File "c:\python27\pokemongo-bot\src\pgoapi\pgoapi\pgoapi.py", line 35, in
from pgoapi.auth_google import AuthGoogle
File "c:\python27\pokemongo-bot\src\pgoapi\pgoapi\auth_google.py", line 31, in
from gpsoauth import perform_master_login, perform_oauth
File "C:\Python27\lib\site-packages\gpsoauth_init_.py", line 4, in
from . import google
File "C:\Python27\lib\site-packages\gpsoauth\google.py", line 4, in
from Cryptodome.PublicKey import RSA
File "C:\Python27\lib\site-packages\Cryptodome\PublicKey\RSA.py", line 79, in
from Cryptodome.IO import PKCS8, PEM
File "C:\Python27\lib\site-packages\Cryptodome\IO\PKCS8.py", line 73, in
from Cryptodome.IO.PBES import PBES1, PBES2, PbesError
File "C:\Python27\lib\site-packages\Cryptodome\IO_PBES.py", line 44, in
from Cryptodome.Cipher import DES, ARC2, DES3, AES
File "C:\Python27\lib\site-packages\Cryptodome\Cipher_init.py", line 78, in
from Cryptodome.Cipher._mode_ecb import _create_ecb_cipher
File "C:\Python27\lib\site-packages\Cryptodome\Cipher_mode_ecb.py", line 46, in
"""
File "C:\Python27\lib\site-packages\Cryptodome\Util_raw_api.py", line 168, in load_pycryptodome_raw_lib
raise OSError("Cannot load native module '%s'" % name)
OSError: Cannot load native module 'Cryptodome.Cipher._raw_ecb'
I got this error. What should I do? BTW I installed pip install -r requirements.txt

Install Linux. lol

;]

you should use python to execute the files

@AngerN Check the https://github.com/PokemonGoF/PokemonGo-Bot/blob/dev/README.md Installation on Windows/Linux & Co. :-)

@AngerN Reopend as you wished. Help wanted.

Thanks

Alight oml i have been trying to fix this for hours, When i try to launch it i get the same error as the guy who made the post thing,
OSError: Cannot load native module 'Cryptodome.Cipher._raw_ecb
Please help it's been bugging me for ages, Im trying to run of Windows using python this is my start script
python pokecli.py -a google -u email -p password -w 4.16 -m all --location "New York, Washington Square"

This is because you are using 64-bit python and not 32-bit python. please uninstall 64 bit version, install 32-bit version.
Please respond to this when you have so we can close it.

Please upgrade to the latest dev branch by running this command:
git reset --hard
git pull -f

Then run this command:
pip install --upgrade -r requirements.txt
If issue persists, open a new issue.
/closed


.ackrc

Ack uses a file called .ackrc for defining default settings for a project or a user.
It supports (almost) all command line switches.
Did I miss something or is this a feature not implemented in pt yet?

The feature is scheduled to implement in the near future :)
I have already implemented conflag package for the feature.
Please wait a little longer :smiley:

I released this feature at v1.7.9.
If you put .ptconfig.toml on $HOME or current directory, pt use options as default.
Please check it :beers:


How to use two where(index) clauses?

This fails:
db.messages.where('chatId').equals(chatId).where('msgId').equals(data.msgId)

=> db.messages.where(...).equals(...).where is not a function

It's obvious since where() returns a WhereClause.
I hope I don't need to use filter() method since that is done in JS.
Thanks a lot.

If you need to filter this without .and() method, you need to index using a compound index. This will not work in IE/Edge or Safari though.
var db = new Dexie('thedb');
db.version(1).stores({
    messages: 'id, chatId, msgId, [chatId+msgId]'
});
db.open();
db.messages.where('[chatId+msgId]').equals([chatId,msgId]).toArray().then(messages => {
    console.log(JSON.stringify(messages));
});

See https://github.com/dfahlander/Dexie.js/wiki/Version.stores()

Clear. Thanks a lot.


Set environment for dogfood action

I've added an OpenAI API key to this env--this should let us start experimenting
For now I'll have to approve any workflows here--not sure where it will wait for me, but we'll find out.

Gonna merge this so I can test it, shouldn't affect anything


Code Helper process uses 100% CPU

The problems only started within, last 1 or 2 weeks, not exactly sure. The fans of my iMac start blowing and Activity Monitor shows Code Helper being constantly at around 99.9 to 100.0%.
I took the process ID as shown in Activity Monitor (in my case 77422) and ran ps aux | grep 77422 in the terminal, giving me:
77422  95.2  0.4  5111808 142308   ??   Is there anything I may have done wrong or can anybody help me fix this? I find this plugin really useful and it'd be a shame if I had to disable it. Thanks!

@Manc do you have steps to reproduce this on the code you are currently working on. If so can you share that code so that I can investigate. Without steps it will be very hard to track down.
There is additional things you can do: when it happens can you run eslint from the command line on exactly the same workspace and see what happens. If this produces high CPU load as well it is very likely a bug in ESLint npm module.
In addition you can enable logging for the eslint server. To do so add a setting 	"eslint.trace.server": "messages". A trace output will appear in the ESLint output channel. Then we would get an idea where it gets stuck.

@dbaeumer Thank you very much for pointing me into a direction. Running ESLint manually (with option --debug) causes the CPU consumption of the process go up to 100% and it gets stuck on (at least) one of my JavaScript files. Unfortunately I haven't figured out why that is yet, but it looks like it the problem has indeed nothing to do with this plugin.
Thanks for your help and thanks for this plugin! 🥇


[Openfl8.9.6]After beginBitmapFill is used, the display object with ScaleX = -1 cannot be rendered.

DisplayingABitmap-8.9.6.zip
This happened in Openfl8.9.6, which actually started since 8.9.3.
In this example, you can click anywhere on the stage to switch scaleX. When scaleX = -1, it will not be displayed.
@jgranick

Fix: https://github.com/openfl/openfl/pull/2417


Increasing order

Write a program to get a list, sorted in increasing order by the last element in each tuple from a given list of non-empty tuples.
Example :
List : [(2, 5), (1, 2), (4, 4), (2, 3), (2, 1)]
Output :  [(2, 1), (1, 2), (2, 3), (4, 4), (2, 5)]

I am Aastha Thorat from SY Comp.
I would like to solve this issue.

This issue is only for FYs

Issues with label good first issue are exclusively for FYs'


Configure gsoci.azurecr.io as the registry to use by default

Towards

https://github.com/giantswarm/roadmap/issues/3017

This PR replaces any occurrence of docker.io in values.yaml files with gsoci.azurecr.io,
to make the new ACR registry the default one.

Added the registry change to a different PR:
https://github.com/giantswarm/trivy-operator-app/pull/114


Redeclared members in inherited class are considered not initialized

TypeScript Version:  2.7.0-dev.20171208
Code
interface Options {
    opt1: number;
}

class A {
    protected _options: Options;

    constructor(options: Options) {
        this._options = options;
    }
}

class B extends A {
    // Update _options' type in order to access opt2.
    protected _options: Options & { opt2: number }; // Property '_options' has no initializer and is not definitely assigned in the constructor.

    constructor(options: Options & { opt2: number }) {
        super(options);
        let a = this._options.opt2; // Property '_options' is used before being assigned.
    }
}

Expected behavior:
No error.
Actual behavior:
2 errors reported in comments.
I suppose TS considers _options as a new member of B, whereas it's just redeclared to be able to access opt2.
Unless I'm not using the right way to update the type of _options?

You've redeclared it with a more specific type. There's no reason to expect that the base class just happened to initialize the property with a correct value, so you need to initialize the value.

I thought/considered that redeclaring the type of a member was a kind of "permanent" type assertion, to avoid to type (this._options as Options & { opt2: number }).opt2 each time I need to access opt2.
Though I can understand that TS doesn't consider this that way.
Note that this._options = options inside B's constructor is not a clean option, as in my case (vs. the simple provided example) this._options may have been updated, compared to options, by A's constructor.
Using this._options = this["_options"] solves the issue.


Move away from default port of 3000 to 5150

In order to avoid the over-used over-popular port of 3000 and avoid collisions of ports, cookies, sessions and app data, we suggest moving to 5150.
Also make sure cargo loco start -p custom-port works smooth and flawless if anyone wants to keep 3000

can you assign it to me?

Sure done,
A few pointers:

In addition for looking for the port in code, take a look at the CI jobs
If you find any 3000 number in the wild which is not in a constant, try to refactor it into a constant
the documentation probably will have a bit of changes, so mind those as well. we use a new tool @kaplanelad  developed for code snippets and code chunks called snipdoc (see its configuration), see how to install and use here


Enable alternate names for different characters

For example, Luke and Luke Skywalker should be recognized as alternates

ask me a line question
Who said "Why, you stuck up, half-witted, scruffy-looking, Nerf-herder!"

Another one:
ask me a dialog
Who said "If I don’t make it back, you’re the only hope for the Alliance."
luke
Who said "If I don’t make it back, you’re the only hope for the Alliance."
luke skywalker
Yep, you're right!


Support for multi-format files / check against singular format

Hi 👋
I love this project, such amazing selection of file formats~ I'm not sure if I didn't manage to comprehend the macro sorcery fully but is there a way to check if file contains multiple types (such as various esoteric file polygots )?
If not, just checking for every singular file individually would be great. thank you so much for the help <3

Hi,
Thanks for the compliment, I hope you'll manage to understand how these macros work, I'll add more comments in the code in the next version to make everything as clear as possible :).
I didn't know about polyglot files, that's very interesting, thanks for sharing!
Currently, file-format via FileFormat::from_file will return only one file format: the first one for polyglot files.
On the other hand, with FileFormat::from_reader or FileFormat::from_bytes, it should be possible to identify all the formats contained in a polyglot file, if we can determine the beginning of each of them.
Thanks for asking!

If you think it's possible and useful, we can also imagine a polyglot feature that activates a FileFormat::from_polyglot_file method, but I don't think it's easy to delimit sub-files.

Yes, please keep me posted!
Feel free to open a PR, I'll follow your project!


Update data-lake-store-network-security.md

Based on customer feedback on CRI 163422711 - ADLS Service Endpoints<PHONE_NUMBER>00809, there was a request to add the following in limitations section in the document: Data Lake Storage Gen1 virtual network integration does not support pairing virtual network in one region to Data Lake Storage Gen1 account in another region. The virtual network and Data Lake Storage Gen1 account should be in the same region.

@pashetty : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @pashetty - Microsoft authors and contributors should make content contributions through the private repository so the content can be staged and validated by using the current validation rules.
After you review staging and fix all validation issues, you can add the sign-off comment to let PR reviewers know that the updates are ready to be merged. Some PRs that have fewer updates might qualify to auto-merge.
For more information, see Should I work in a private or a public repo?
If you need help getting set up to work in the private repo, see Set up Git repository locally for documentation.
We'll keep this PR open for @twooley to review, but would you create future pull requests in the private repo? Thank you.

@twooley Would you review this pull request? Thanks!

Looks good. Thanks, @pashetty.
#sign-off


allow repeated IO errors from compute node

Problem
#4598 compute nodes are not accessible some time after wake up due to kubernetes DNS not being fully propagated.
Summary of changes
Update connect retry mechanism to support handling IO errors and sleeping for 100ms
Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

50 attempts seems too much, suggestions?
should we keep 100ms fixed or should it be an exponential growth factor?

+1, I think better heuristic here is to retry for up to 10s overall (just historically 5s is not always enough) and increase interval somehow, e.g. starts with 100ms and ends up with 1s or 2s between.

I would love to add tests for this, but creating a mock for the control plane to launch postgres compute containers slowly seems like a lot of effort. happy to do so if the effort seems worth it long term

I think it is worth it and we can end up with something that is not too complicated. It is easy to mock control plane and we have server for postgres protocol in rust (e.g. proxy is a such server) so we can do custom stuff there.
But let's not delay this PR and tests it manually, as some customers are experiencing that problem.

Let's merge? e2e tests have coverage for psql proxy to compute connections. We can look on the behavior on staging

I was going to add that final error log and then get it merged


Importmagic doesn't treat variables used as default values as import requeriments

For instance, this:

from simpledefs import NTFY_UPDATE, NTFY_INSERT, NTFY_DELETE

def add_observer(self, func, subject, changeTypes=[NTFY_UPDATE, NTFY_INSERT, NTFY_DELETE], id=None, cache=0):
    pass

Will result on the whole import line being dropped.

Thanks for the bug report!


Issue on page /communicate/py-from-fable.html

I'm not sure if I misunderstand Fable's role, but for this page I see several references to JS but almost none for Python. Is that right or are they typos?

Closing as this issue was already mentioned / discussed in #51


kluctl: 2.19.4 -> 2.20.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/kluctl/kluctl/releases.
meta.description for kluctl is: The missing glue to put together large Kubernetes deployments
meta.homepage for kluctl is: https://kluctl.io/
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 2.20.2 with grep in /nix/store/1q17xj9xdlbllg40w5ssqgdp23c49m0q-kluctl-2.20.2
found 2.20.2 in filename of file in /nix/store/1q17xj9xdlbllg40w5ssqgdp23c49m0q-kluctl-2.20.2

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
kluctl

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/1q17xj9xdlbllg40w5ssqgdp23c49m0q-kluctl-2.20.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A kluctl https://github.com/r-ryantm/nixpkgs/archive/7672a0e67306e717e23d5f9b4aef08a0f853278c.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/1q17xj9xdlbllg40w5ssqgdp23c49m0q-kluctl-2.20.2
ls -la /nix/store/1q17xj9xdlbllg40w5ssqgdp23c49m0q-kluctl-2.20.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

kluctl

Maintainer pings
cc @sikmir for testing.

Result of nixpkgs-review pr 235702 run on x86_64-darwin 1

1 package built:

kluctl

Binary name is broken:
$ ls results/kluctl/bin/
cmd  replace-commands-help


using existing project, default bucket name is not generated correctly

When selecting an existing project, the default generated bucket name should still be based on the website's domain name. It should not be based on the project name or id.
Watch video demonstrating the issue at https://www.dropbox.com/s/pg72grseqbu9gu2/stateless-bucket-name-01.mp4?dl=0

looks good.