Check if words are valid before merging

Instead of just accepting every word into the dictionary, they should be looked up and verified before adding them. Not just that the word exists in the Norwegian dictionary, but also that it is a noun and in the correct form (I forget what this is called). I think one of them is m1, but I forgot what that means now 👼
Back in the day, you used to be able to download the whole dictionary as a zip file, which could probably be included here, possibly as a git submodule.
Anyway, it should be possible to verify each word in the list before merging them, and fail if one or more words are "invalid".

All words cable be found here: https://www.nb.no/sprakbanken/ressurskatalog/?_search=ordbank

Also, this could be useful: https://phiresky.github.io/blog/2021/hosting-sqlite-databases-on-github-pages/

Also, check that there are no duplicates before merging.


Mystery rendering issue - missing block faces

What you were trying to do
Test assorted things. This issue has been seen somewhat rarely but in a wide variety of cases. I'm skeptical that it relates to modules active although it may relate to the number of blocks enabled or something? Probably still unlikely.
I flew around the world some until I saw what appeared to be a tree top without a crown at all, no leaves. Flew up toward the spot where the tree trunk appeared to end, wondering if it was a chunk border issue meaning nothing had generated in the next chunk up.
What actually happened
My player got hopelessly stuck when I entered the space that was seemingly not rendering stuff. Felt like when a chunk is broken / stuck unloaded in multiplayer, not just waiting to be made visible (but still having a mesh). Could look around but not move, even with ghost on. Noticed missing block faces on just some nearby trees, but not at all neatly following chunk borders.
I enabled one of the rendering debug modes for a second screenie and while at first it looked like it might have been showing leaf blocks in a mesh above my head after relogging it seemed more clearly to just be distant chunks. It looked like the chunk edge was near where the tree trunk ended, but possibly not right at the same level.
On exiting to the main menu the missing block faces persisted on the saved game preview screenie.
On re-entering the same world the mystery was gone and all blocks were visible normally again
How to reproduce

Unknown :-(

This time it happened in single player, but we've seen it in multiplayer as well. Making this issue to better track symptoms, as I think we've observed things like one player seeing it, yet another player seeing everything perfectly fine in the same spot. Relogging may fix? But with it happening in single player it isn't like a server is just failing to send some stuff. It seems to be a rendering quirk, yet at times by getting stuck also seems to be a fundamental chunk problem.
Logging
Only clue in the log was an instance of #4135 but that sounded more likely to be about a deer, maybe randomly taking fall damage, either naturally or via server prediction oddly? Strange thing to see for a deer in single player ..:
21:57:50.190 [main] INFO  o.t.p.i.ReadWriteStorageManager - Auto Saving - Snapshot created: Writing phase starts
21:58:50.225 [main] INFO  o.t.p.i.ReadWriteStorageManager - Auto Saving - Creating game snapshot
21:58:50.227 [main] INFO  o.t.p.i.ReadWriteStorageManager - Auto Saving - Snapshot created: Writing phase starts
21:59:30.110 [main] ERROR o.t.e.event.internal.EventSystemImpl - Failed to invoke event
java.lang.RuntimeException: Cannot set a changed component with a null component variable
	at org.terasology.persistence.internal.EntityDelta.setChangedComponent(EntityDelta.java:34)
	at org.terasology.persistence.internal.EntitySetDeltaRecorder.onEntityComponentChange(EntitySetDeltaRecorder.java:70)
	at org.terasology.persistence.internal.EntitySetDeltaRecorder.onEntityComponentAdded(EntitySetDeltaRecorder.java:61)
	at org.terasology.persistence.internal.ReadWriteStorageManager.onEntityComponentAdded(ReadWriteStorageManager.java:514)
	at org.terasology.entitySystem.entity.internal.PojoEntityManager.notifyComponentAdded(PojoEntityManager.java:723)
	at org.terasology.entitySystem.entity.internal.PojoEntityManager.addComponent(PojoEntityManager.java:566)
	at org.terasology.entitySystem.entity.internal.BaseEntityRef.addComponent(BaseEntityRef.java:168)
	at org.terasology.logic.health.RegenAuthoritySystem.onRegenAddedWithoutComponent(RegenAuthoritySystem.java:177)
	at org.terasology.logic.health.RegenAuthoritySystemMethodAccess.invoke(Unknown Source)
	at org.terasology.entitySystem.event.internal.EventSystemImpl$ByteCodeEventHandlerInfo.invoke(EventSystemImpl.java:532)
	at org.terasology.entitySystem.event.internal.EventSystemImpl.sendStandardEvent(EventSystemImpl.java:292)
	at org.terasology.entitySystem.event.internal.EventSystemImpl.send(EventSystemImpl.java:283)
	at org.terasology.entitySystem.entity.internal.BaseEntityRef.send(BaseEntityRef.java:205)
	at org.terasology.logic.health.DamageAuthoritySystem.doDamage(DamageAuthoritySystem.java:106)
	at org.terasology.logic.health.DamageAuthoritySystem.checkDamage(DamageAuthoritySystem.java:135)
	at org.terasology.logic.health.DamageAuthoritySystem.highSpeedDamage(DamageAuthoritySystem.java:208)
	at org.terasology.logic.health.DamageAuthoritySystem.onLand(DamageAuthoritySystem.java:186)
	at org.terasology.logic.health.DamageAuthoritySystemMethodAccess.invoke(Unknown Source)
	at org.terasology.entitySystem.event.internal.EventSystemImpl$ByteCodeEventHandlerInfo.invoke(EventSystemImpl.java:532)
	at org.terasology.entitySystem.event.internal.EventSystemImpl.sendStandardEvent(EventSystemImpl.java:292)
	at org.terasology.entitySystem.event.internal.EventSystemImpl.send(EventSystemImpl.java:283)
	at org.terasology.entitySystem.entity.internal.BaseEntityRef.send(BaseEntityRef.java:205)
	at org.terasology.logic.characters.KinematicCharacterMover.walk(KinematicCharacterMover.java:663)
	at org.terasology.logic.characters.KinematicCharacterMover.updatePosition(KinematicCharacterMover.java:570)
	at org.terasology.logic.characters.KinematicCharacterMover.step(KinematicCharacterMover.java:104)
	at org.terasology.logic.characters.ServerCharacterPredictionSystem.stepState(ServerCharacterPredictionSystem.java:191)
	at org.terasology.logic.characters.ServerCharacterPredictionSystem.onPlayerInput(ServerCharacterPredictionSystem.java:143)
	at org.terasology.logic.characters.ServerCharacterPredictionSystemMethodAccess.invoke(Unknown Source)
	at org.terasology.entitySystem.event.internal.EventSystemImpl$ByteCodeEventHandlerInfo.invoke(EventSystemImpl.java:532)
	at org.terasology.entitySystem.event.internal.EventSystemImpl.sendStandardEvent(EventSystemImpl.java:292)
	at org.terasology.entitySystem.event.internal.EventSystemImpl.send(EventSystemImpl.java:283)
	at org.terasology.entitySystem.entity.internal.BaseEntityRef.send(BaseEntityRef.java:205)
	at org.terasology.minion.move.MoveToAction.processDirect(MoveToAction.java:81)
	at org.terasology.minion.move.MoveToAction.modify(MoveToAction.java:43)
	at org.terasology.logic.behavior.core.ActionNode.execute(ActionNode.java:81)
	at org.terasology.logic.behavior.core.SequenceNode.execute(SequenceNode.java:56)
	at org.terasology.logic.behavior.actions.LookupAction.modify(LookupAction.java:53)
	at org.terasology.logic.behavior.core.ActionNode.execute(ActionNode.java:81)
	at org.terasology.logic.behavior.core.SequenceNode.execute(SequenceNode.java:56)
	at org.terasology.logic.behavior.actions.LookupAction.modify(LookupAction.java:53)
	at org.terasology.logic.behavior.core.ActionNode.execute(ActionNode.java:81)
	at org.terasology.logic.behavior.core.DynamicSelectorNode.execute(DynamicSelectorNode.java:54)
	at org.terasology.logic.behavior.actions.LookupAction.modify(LookupAction.java:53)
	at org.terasology.logic.behavior.core.ActionNode.execute(ActionNode.java:81)
	at org.terasology.logic.behavior.core.DelegateNode.execute(DelegateNode.java:91)
	at org.terasology.logic.behavior.DefaultBehaviorTreeRunner$1.execute(DefaultBehaviorTreeRunner.java:64)
	at org.terasology.logic.behavior.core.DynamicSelectorNode.execute(DynamicSelectorNode.java:54)
	at org.terasology.logic.behavior.core.DelegateNode.execute(DelegateNode.java:91)
	at org.terasology.logic.behavior.DefaultBehaviorTreeRunner$1.execute(DefaultBehaviorTreeRunner.java:64)
	at org.terasology.logic.behavior.DefaultBehaviorTreeRunner.step(DefaultBehaviorTreeRunner.java:84)
	at org.terasology.logic.behavior.Interpreter.tick(Interpreter.java:73)
	at org.terasology.logic.behavior.BehaviorSystem.update(BehaviorSystem.java:105)
	at org.terasology.engine.modes.StateIngame.update(StateIngame.java:171)
	at org.terasology.engine.TerasologyEngine.tick(TerasologyEngine.java:472)
	at org.terasology.engine.TerasologyEngine.mainLoop(TerasologyEngine.java:435)
	at org.terasology.engine.TerasologyEngine.run(TerasologyEngine.java:411)
	at org.terasology.engine.Terasology.main(Terasology.java:182)

Screenie

With one of the debug rendering modes active:

Reproduce: restart game many times :3
It is not loaded chunk(not ready on server ). I don't know why it is happens. It is not throws any exception.
I hope that #4140 helps with it.

I agree with Darkweird that this is just an entire missing chunk, not individual missing faces. I thought we had an issue for that already, but I can't find it.
It seems to show up more frequently with the render distance set to low, and also when FallingBlocks is active, presumably because it slows down chunk loading a bit. It's still possible to interact with the non-rendered chunks: you can walk around them and break their blocks and things, but even though breaking a block in a chunk should normally trigger a re-generation of its mesh, in this case it doesn't and the chunk remains invisible.

For this particular screenie it might be both? One entirely missing / unloaded chunk (reason why I got stuck on it where the one tree just stopped existing) while the busted blocks on the left are mid-chunk? That seems more like a messed up chunk mesh where the right block faces aren't rendering?
While I wasn't able to move over there to investigate (since it was fixed by a reload) I couldn't confirm, but I expect like you say 4D that I could have interacted with the blocks and so on in that messed up block area. The blocks are there (that particular chunk isn't missing) they're just not rendering right, somehow 🤔 While the spot where I froze in the screenie was on the bottom edge of a completely missing chunk.

For this particular screenie it might be both? One entirely missing / unloaded chunk (reason why I got stuck on it where the one tree just stopped existing) while the busted blocks on the left are mid-chunk?

It's hard to tell from just the screenshot, especially without knowing exactly what shape the tree is meant to be, but I think the area where lots of isolated little bits render is just because of back-face culling. You're seeing that side of the tree from behind through the missing chunk, so only the relatively few faces that happen to be facing you anyway get rendered. If you can find an example of random individual faces missing where you're viewing it from in front (and it's clearly not just a slight intersection of the blocks' surface with a missing chunk), that would be more convincing that your explanation is correct.

Fair enough :-) I wasn't able to get close to it this time, although at other times I've been able to move around similar mystery spots. Will keep an eye out for better screenies - unless it turns out merging #4140 ends up making this disappear as well (or I could have just been seeing things)

I think #4353 fixes this.


Period_end_dt off by one day when founding_date lacks information

If the foundingDate lacks time information or is set at midnight UTC, converting it to Pacific Time can result in a previous date, leading to mismatches between period_end_dt and last_ar_filed_dt.
Could fix that in process_paid_filings job

Changes to a five because many changes in Colin-api is needed

Currently fixed, but need to monitor more filings to check whether this problem will comeback

Testing completed and working as expected. All dates are mapping correctly.


Drop support for .NET 4.6.1 in favor of .NET 4.6.2 on Ookii.Dialogs.WinForms

.NET 4.6.1 EoL is April 2022 and Visual Studio 2022 no longer installs it by default.

Closed by 168cf25

:tada: The changes implemented in response to this issue shipped with Ookii.Dialogs.WinForms v4.0.0
The release is available on:

:rocket: GitHub Release
:package: NuGet Package


Android app fails to build on Phonegap

This plugin causes some issues when compiling Android apps on Phonegap:
-compile:
[javac] Compiling 20 source files to /project/bin/classes
[javac] /project/src/com/kumbe/phonegap/zoom/ZoomControl/ZoomControl.java:22: error: incompatible types
[javac]         	final WebView webView = this.webView;
[javac]         	                            ^
[javac]   required: WebView
[javac]   found:    CordovaWebView
[javac] /project/src/com/kumbe/phonegap/zoom/ZoomControl/ZoomControl.java:51: error: incompatible types
[javac]             final WebView webView = this.webView;
[javac]                                         ^
[javac]   required: WebView
[javac]   found:    CordovaWebView
[javac] /project/src/com/kumbe/phonegap/zoom/ZoomControl/ZoomControl.java:69: error: incompatible types
[javac]             final WebView webView = this.webView;
[javac]                                         ^
[javac]   required: WebView
[javac]   found:    CordovaWebView
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 3 errors

same issue, seems there is a "fix" on the repository. In fact it's ok with old phonegap build but not with CLI, and the fix seems not included for phonegap "build" on release 1.7.0 ?

Same Issue

We need someone to merge the fix in order to have the plugin working without any extra works ... i dont understand how to add a new plugin for free on phonegap so we need author of this to validate the fix

Solution As Following:
import org.apache.cordova.CordovaWebView;
replace
final WebView webView = this.webView;
by
final WebView webView = ((WebView)this.webView.getEngine().getView());

version 0.1.8 now is available, thanks for your contribution

Working fine with latest phonegap Build Cli, thanks!


Speed up map navigation

Coercing MapEntry to vector was probably a mistake due to slowing things down for no real benefit. If this is done KEY and VAL navigators would have to be added for accessing the MapEntry – and the current VAL navigator renamed (probably to COLLECT-VAL). Also, using reduce-kv for doing ALL over a map may provide performance improvement.

reduce-kv for transforms implemented for 0.11.1 for Clojure version

After some investigation almost all the current overhead is in the calls to last and  impl/set-last. Fast implementations for these may be possible, or the MapEntry strategy can be pursued

Could you just implement the GetExtremes and UpdateExtremes protocols on clojure.lang.MapEntry? Or change (extend-protocol UpdateExtremes clojure.lang.PersistentVector to (extend-protocol UpdateExtremes clojure.lang.IPersistentVector.

@aengelberg Good idea, I went ahead and did that

After optimizing update-last for small vectors and making a fast-empty? protocol that directly checks size for vectors, the performance has been increased by more than 2x for basic use case of (transform [ALL LAST] ...)

@aengelberg Had to change UpdateExtremes back to PersistentVector because it returns PersistentVector. The other protocols still extend IPersistentVector

#100 will help with this issue as well

These optimizations are done. Made the following changes for this issue:

ALL transform uses a protocol to use an optimal implementation for each type
PersistentArrayMap uses reduce-kv
PersistentTreeMap uses reduce-kv
PersistentHashMap uses reduce-kv + transients

The usage of a type-specific handler also eliminated the call to "empty".


Cmd-Q won't quit the editor

VSCode Version: 1.21.1
OS Version: 10.13.3

I can't quit vscode on mac, I press on command + shift + esc to force quit it, and it seems didn't work. the gui still black

Not sure if this is you @bpasero

@predawnang I believe you are in a untypical state where VS Code is entirely frozen and this does not reproduce all the time?

sorry so late. I am a novice for programing, I just downloaded vscode yesterday. And  I wanna use it for writting some code about scheme .I have installed some packages and themes.I want to ask whether this picture is helpful?

thank you so much

@predawnang can you run from the terminal: code --verbose and attach the output and see if it still freezes?

it seems as if I am wasting your time. I am sorry about that. I've restarted the computer after I ask the questions about half hour. thank you so much

if it happens again, I'll do it. thank you again

Ok lets reopen when you can reproduce then.

ok


Update CONTRIBUTING.md

Hey Project Maintainer </>
I had Just Made the CONTRIBUTING.md File more Clear and better understandable, I also had removed the congestion of words near Images and also arranged the image height and width. I am just a beginner at this and want to contribute to the same. I hope you Consider my Contribution towards GSSOC 2021 and merge my Pull Request.
Regards
Amaan Sayyad

Have you read the Contributing Guidelines on Pull Requests?
(Yes)
Description
(I had Just Made the CONTRIBUTING.md File more Clear and better understandable, I also had removed the congestion of words near Images and also arranged the image height and width. I am just a beginner at this and want to contribute to the same. I hope you Consider my Contribution towards GSSOC 2021 and merge my Pull Request.)
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(I didn't find any related issues)

Please do open an issue before creating a pull request. Sorry, the changes suggested by you are trivial and we won't be able to merge this PR. Please check out some other open issues or create your own issue to contribute to this project.


[Bug]: tables created in default_db cannot be recovered using list_tables

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Version or Commit ID
v0.3.0-dev7
Other environment information
No response
Actual behavior and How to reproduce it
After upgrading Infinity from v0.3.0-dev7 to the latest nightly release, I discovered that all tables created in default_db via HTTP requests had been lost. When I called show_database(default_db), table_count returned zero, and list_tables() returned nothing.
Expected behavior
No response
Additional information
No response

table_count fixed in #1751


Setup basic hover tips

Need to setup a way to create hover tips.

The hover tip can be accessed from within /src/extension.ts.
It is a very simple configuration.  need to look into making an LSP as well as separating out the provider into its own file.


Update Open Collective API

The current endpoint used is old and deprecated. See: https://github.com/opencollective/opencollective/issues/2037
This PR update to a new REST endpoint that is linked to the Open Collective GraphQL API v2.
This is supported by the Open Collective Engineering team, so happy to help if there is any problem with the endpoint or the data returned.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #8592   +/-   ##
=======================================
  Coverage   63.24%   63.24%
=======================================
  Files         272      272
  Lines       11312    11312
  Branches     2760     2760
=======================================
  Hits         7154     7154
  Misses       3541     3541
  Partials      617      617

Continue to review full report at Codecov.

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

Oh, missing CLA. Could you sign it, please? 🙂

@SimenB signed!


CI: Travis: Failed to fetch LLVM GPG public key: ERROR 503: No healthy IP available for the backend.

Travis failure during prepare.sh
6.08s$ ./.travis/prepare.sh
2021-11-30 04:51:18 URL:https://objects.githubusercontent.com/github-production-release-asset-2e65be/75821432/498bf100-6f56-11ea-9aa2-65793e6ecf30?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20211130%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20211130T045114Z&X-Amz-Expires=300&X-Amz-Signature=486425815a0ffd2d9f02b8f21241bdf48012824846546d277a162dbf87e466df&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=75821432&response-content-disposition=attachment%3B%20filename%3Dclang%2Bllvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz&response-content-type=application%2Foctet-stream [433701532/433701532] -> "clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz" [1]
2021-11-30 04:51:18 URL:https://github-releases.githubusercontent.com/75821432/48f35a80-6f56-11ea-8858-3779fd868562?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20211130%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20211130T045118Z&X-Amz-Expires=300&X-Amz-Signature=6491a672496f8b3f8c2ca06f7e1066b458247297772acdbc06dbde6b01e5457d&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=75821432&response-content-disposition=attachment%3B%20filename%3Dclang%2Bllvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz.sig&response-content-type=application%2Foctet-stream [566/566] -> "clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz.sig" [1]
https://releases.llvm.org/10.0.0/hans-gpg-key.asc:
2021-11-30 04:51:18 ERROR 503: No healthy IP available for the backend.
gpg: can't open 'hans-gpg-key.asc': No such file or directory
gpg: Total number processed: 0
gpg: Signature made Thu 26 Mar 2020 09:42:36 AM UTC
gpg:                using RSA key B6C8F98282B944E3B0D5C2530FC3042E345AD05D
gpg: Can't check signature: No public key
ERROR: Failed to verify clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz
The command "./.travis/prepare.sh" failed and exited with 1 during .

I manually tried the command from the .travis/prepare.sh and it succeeded; this is most likely a temporary infrastructure issue on the upstream llvm.org side.
$ wget -nv https://releases.llvm.org/10.0.0/hans-gpg-key.asc
2021-11-30 10:24:24 URL:https://releases.llvm.org/10.0.0/hans-gpg-key.asc [3151/3151] -> "hans-gpg-key.asc" [1]


Opening Files Through Relative Markdown Links Ignores Custom Editors

VSCode Version: 1.50.1
OS Version: Windows 10

Keywords: Markdown, Custom Editor, Text Editor
This happens only with custom editors and as such can only be reproduced with third party extensions.
Context
I have the drawio extension installed. It works as expected when opening the file by using the explorer view:

Issue
However, when the file is opened by clicking on a relative markdown link, the default text editor is used:

This gets even worse, as you need to close the default text editor before you can open the drawio editor again:

This does not happen when opening pdf files this way. I guess this is because pdf is recognized as binary format.
Fix
Please make opening a file by clicking a relative markdown link pointing to it equivalent to opening the file using the explorer view!
I'm open to try fixing it myself and submitting a PR.

Thanks 🎉


Update README.md

Minor fix in formatting.

FYI, I think the convention is Vagrantfiles

I was thinking about the same, but I've decided the 's' would stand out and it would look weird.

Or ... to all your 'Vagrantfile' files.? (Obviously, with the right formatting this time so single quotes into backticks :D).
But I'm not a native English speaker so I'm not sure which option is the more kosher one. I don't have strong feeling about any version.

Aren't we wasting more time on this than we're supposed to? :D

Aren't we wasting more time on this than we're supposed to? :D

Yes. Yes we are. I regret bringing it up.
:shipit:
(But for the record, I like @maoueh's convention. :smiling_imp:)


build: Update to header 1.2.201

Update known-good
Generate source

CI Vulkan-Tools build queued with queue ID 8550.

CI Vulkan-Tools build # 575 running.

CI Vulkan-Tools build # 575 passed.

Allowing the merge to happen even though the github-actions says it 'failed'. This is because the windows-2016 runner was taken offline today for maintenance in preparation for its removal in march 2022. More details found here.
https://github.blog/changelog/2021-10-19-github-actions-the-windows-2016-runner-image-will-be-removed-from-github-hosted-runners-on-march-15-2022/


testing 'without DML'

I don't know if this is a legacy issue that's since been overcome, but I'm working on an org that's partially implementing fflib and noticed an issue when doing 'without DML' tests. I am relatively new to fflib.
eg in this example from the df12 repo:
@IsTest
    private static void testInsertValidationSuccessWithoutDML()
    {
        Opportunity opp = new Opportunity ( Name = 'Test' );
        SObjectDomain.Test.Database.onInsert(new Opportunity[] { opp } );
        SObjectDomain.triggerHandler(Opportunities.class);
        System.assertEquals(SObjectDomain.Errors.getAll().size(), 0);
    }

We have implemented some test classes this way, but if we stick with the above example, we are noticing an error would occur when the Opportunities domain class contains any After Update or After Insert actions which use their own Unit of Work. Let's say, for example it updates the Opportunitiy's parent Account in the After Update, which in turn triggers the Accounts domain class and an update on Account. Because the 'state' has already been set as 'Insert' and the sObject we are inserting is an 'Opportunity', the Account domain class will run in this state, essentially passing the 'opp' record into the Account domain class and doing an insert action, which results in a runtime cast error.
Appreciate if I can get any help on this issue.
thanks
Mark

Yeah so i think this is a bug / limitation in the early mocking framework for domain classes. Basically the SObjectDomain.Test facility mocks an immediate call to SObjectDomain.triggerHandler only (avoiding an immediate DML to fire the trigger). It seems you have further invocation of DML and thus later a nested Account domain class call.
We have two options here i guess..

Consider a design to enhance / fix the early mocking framework to cater for this use case.
Switch to using ApexMocks, which allows you to mock the UnitOfWork

Strategically the second option is the one to go with, but i also appreciate you don't have all of fflib or likely for that matter ApexMocks present. There is also the fact that ApexMocks has quite a steep learning and adoption curve. Once Spring'17 goes live the Apex Stub API will be GA and one of the biggest inhibitors to ApexMocks around using the ApexMocks Mock code generator will go away, so the barry to entry to mocking will be much lower. That said, if you just want to mock the UOW, you may not actually need to generate any code. Have a read through the blog above and let me know your thoughts, happy to help with pointers to help you migrate your test to ApexMocks if you want to share the method.

thanks for the reply and you confirmed my suspicions. Yep ApexMocks is a bit out of reach for us at this stage, but in the back of our minds.


Adding notes that cover the recent Safari updates .md

Proposed changes
Adding notes that cover the recent Safari updates that affects Analytics.js loading and query string tracking.
Merge timing

ASAP once approved

Related issues (optional)
Slack: https://twilio.slack.com/archives/CATJY9BDW/p1701111560014619

@prigiattiperrut - merging this now. It will go live with our deploy around 10:30am pst


dir.props: Do not disable debug file generation on Mono

LGTM

Can you move the DebugSymbols property under the Debug-MONO specific property group <PropertyGroup Condition="'$(Configuration)' == 'Debug-MONO'">?
We think UseRoslynCompilers property is stale and the entire block can be deleted. Can you remove that block please?

Updated

I'm still a bit suspicious about why we're not producing symbols when we're building with CoreCLR/Roslyn. We can fix that later, though. LGTM.


PS: Improve segment registration metrics

Also change pathdb interface to differentiate updates/inserts.
Also change seghandler to provide statistics.
Contributes #3106

This change is

go/lib/infra/modules/seghandler/seghandler.go, line 93 at r1 (raw file):

			verifyErrs, err := h.storeResults(ctx, verifiedUnits, hpGroupID, &result.stats)
			allVerifyErrs = append(allVerifyErrs, verifyErrs...)
			result.early <- result.stats.SegDB.Total()

Who is reading from the the result.early

go/path_srv/internal/metrics/registration.go, line 29 at r2 (raw file):
Previously, lukedirtwalker (Lukas Vogel) wrote…
for the description below.

I would avoid having that because once you put a new value (e.g. a const in metric.go), then you forget easily to add the on the documentation.
Is it important to be on the documentation?

go/lib/prom/promtest/promtest.go, line 29 at r3 (raw file):
Previously, karampok (Konstantinos) wrote…
If we can test using the the reflect pkg then we might be able to have a fixed implementation of the methods. Does that make sense?

something like that i have in mind https://github.com/fatih/structs


Server_Dev commands

With the first update on 1/17 24  ver. 1.71.0 the command "spawn" was broken. You can type it in, there are no errors reported in the command window, but nothing gets spawned. I have tested this by turning off the mod and through normal "devcommand"   I can spawn items, I also checked my no modded server and hadno problems..  This is affecting all the servers running the Server_Dev mod.

For me it still works normally!


Data Extraction Format

Need a standardized data format for incoming data from all sources. Including Wikipedia, Twitter etc.

{
"unique-id": "2jk13b4b52kjb",
"content": "Wikipedia"
"source": "https://en.wikipedia.org/wiki/2022",
"content": "2021 (MMXXI)"
}


Logs dont show up if running in Kubernetes

Really strange. I see all the logs/output from bottle when running on a local docker container. Running the same image on Kubernetes and the bottle output is hidden. Other output from my python shows up fine.
Any ideas why this would happen?

hmm... this is a kubernetes problem probably and not a bottle problem. Can you post your docker file and your deployment ?

Sure, dockerfile is:
FROM python:3.7-alpine

RUN apk update
RUN apk upgrade
RUN apk add dumb-init git bash

RUN pip install boto3 pymysql bottle
ADD code.py /

ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD [ "python", "./code.py" ]

The kubernetes deployment is very straight forward - just loads the image and exposes a service.
It's really strange. Sometimes I get some logs out of the app but not others. I read that setting an env var PYTHONUNBUFFERED to 0 may help, but this made no difference.

Why do you need dump init? Just run bottle with uwsgi in the front and you should see all the logs.

As oz123 said, this is a Kubernetes problem. The Kubernetes console is buffering the output of your application. This buffer will release as soon as a operation flush is invoked or reach its size limit. In order to deal it, specify an environment variable PYTHONUNBUFFERED=1 for forcing  stdout/stderr to be totallty unbuffered. Or wrap your sys.stdout and sys.stderr in another object like ps_mem.py.
Also, I would suggest to set PYTHONIOENCODING=UTF-8 considering that some Docker images doesn't ship any locale and your application could raise an UnicodeEncodeError. In other words, by default LANG=C is set instead of a subset of UTF-8 as LANG=en_US.UTF-8. (If you are using an official Debian/Ubuntu image, remember to install locales and locales-all packages).
More info at:
[1] https://eklitzke.org/stdout-buffering
[2] https://gist.github.com/opera443399/0fb9b7b4ce3f37045fdd33639279e6a1
[3] https://github.com/sclorg/s2i-python-container/blob/master/3.7/Dockerfile.fedora
[4] https://github.com/sclorg/s2i-python-container/issues/157
[5] https://docs.python.org/2/using/cmdline.html#envvar-PYTHONUNBUFFERED
[6] https://raw.githubusercontent.com/pixelb/ps_mem/master/ps_mem.py

This is most likely a Python 3 problem and not of Kubernetes. The Python 3 is probably buffering stdout if the stdout is not attached to terminal.
https://stackoverflow.com/questions/29663459/python-app-does-not-print-anything-when-running-detached-in-docker
https://unix.stackexchange.com/questions/182537/write-python-stdout-to-file-immediately
The official docs are missing this topic. The only bit of info I could find is https://docs.python.org/3.8/using/cmdline.html?#cmdoption-u and it missing the description of the Python 3 when stdout is redirected. There is a change message.

Changed in version 3.7: The text layer of the stdout and stderr streams now is unbuffered.

But I have no idea what is the text layer of stdout and stderr.

Filled the bug upstream https://bugs.python.org/issue41449

Without any code for the logging configuration or the application it is hard to say. I run multiple (>20) bottle based apps in k8s for a good while now and I don't have this problem.
I'm using the normal logging framework from the STL.

@oz123 can you show the Dockerfile for those apps?

The docker file alone is useless, you need also the configuration of the WSGI server. I use uWSGI, see the option --log-master
$ cat ../docker/Dockerfile
FROM docker.io/python:3.6-alpine AS base
MAINTAINER  Oz Tiram<EMAIL_ADDRESS>
RUN apk update && \
    apk add g++ libffi-dev git openssl-dev && \
    pip3 install --upgrade pip && \
    pip3 install pipenv

ARG ENV
#
ENV YOUR_ENV=${YOUR_ENV} \
  PYTHONFAULTHANDLER=1 \
  PYTHONUNBUFFERED=1 \
  PYTHONHASHSEED=random \
  PIP_NO_CACHE_DIR=off \
  PIP_DISABLE_PIP_VERSION_CHECK=on \
  PIP_DEFAULT_TIMEOUT=100
#
#
WORKDIR /run/app
#
#
ADD requirements.txt /run/app/
RUN python -m venv venv
RUN /run/app/venv/bin/pip install -r /run/app/requirements.txt
RUN /run/app/venv/bin/pip install uwsgi
#
FROM python:3.6-alpine as smallimage
COPY --from=base /run/app /run/app
#
WORKDIR /run/app
#
RUN deluser xfs # remove uid 33 which is www-data in debian
RUN adduser -D app --uid 33 && \
	test -d /var/lib/app/db || mkdir -pv /var/lib/app/db && \
	chown -vR app:app /var/lib/app/

ADD docker/entrypoint.sh /usr/bin/
ADD tiny /run/app/tiny
ADD apps /run/app/apps/
ADD manage.py /run/app/
ADD app.wsgi /run/app/

# Note: SQLite requires this directory to be writable by uid 33
VOLUME ["/var/lib/app/db"]
#
EXPOSE 9001
USER app
#
CMD ["/usr/bin/entrypoint.sh"]

$ cat ./docker/entrypoint.sh
#!/bin/sh

UWSGI_PORT="${UWSGI_PORT:-9001}"
UWSGI_PROCS=${UWSGI_PROCS:-4}
UWSGI_THREADS=${UWSGI_THREADS:-4}

export APP_INSTALL_DIR=/run/app/
export PRODUCTION_DB=${PRODUCTION_DB:-/var/lib/app/db/production.db}
chdir /run/app

# if you want to use python's reference server ...
# good for debugging, don't use in production
#exec python3 swaet.py serve -p 9001
export PATH=/run/app/venv/bin:$PATH

exec uwsgi --need-app \
	--honour-stdin \
	--pythonpath /run/app \
	--processes "${UWSGI_PROCS}" \
	--threads "${UWSGI_THREADS}" --http-socket <IP_ADDRESS>:"${UWSGI_PORT}" \
	--wsgi-file=/run/app/app.wsgi --callable=wsgi_app --master \
	--static-map /static/front=/run/app/apps/front/assets \
	--log-master \
	--logformat 'pid: %(pid)|app: -|req: -/-] %(var.HTTP_X_REAL_IP) (%(user)) {%(vars) vars in %(pktsize) bytes} [%(ctime)] %(method) %(uri) => generated %(rsize) bytes in %(msecs) msecs (%(proto) %(status)) %(headers) headers in %(hsize) bytes (%(switches) switches on core %(core))'

PYTHONUNBUFFERED=1 \

I would remove this and see what happens.

If I remove this the stdout is unbuffered. So text is immediately flushed to output. Having a buffered output, just makes the text flush later.
Also note: that as version 3.7 the streams are unbuffered by default.
Let me quote:

Setting PYTHONUNBUFFERED=TRUE or PYTHONUNBUFFERED=1 (they are equivalent) allows for log messages to be immediately dumped to the stream instead of being buffered. This is useful for receiving timely log messages and avoiding situations where the application crashes without emitting a relevant message due to the message being "stuck" in a buffer.

Since the OP uses python3.7 I assume that stderr and stdout aren't buffered.
@richstokes  are you simply using print or are you using logging

If I remove this the stdout is unbuffered.

@oz123 that's strange. If PYTHONUNBUFFERED=1 is removed, the stdout should become buffered and text should not be immediately visible.


fix: DIA-1451: return list instead of generator

Codecov Report
Attention: Patch coverage is 66.66667% with 3 lines in your changes missing coverage. Please review.

Project coverage is 68.02%. Comparing base (ed9e277) to head (fd5236c).
Report is 1 commits behind head on master.

Files with missing lines
Patch %
Lines

adala/skills/collection/label_studio.py
66.66%
3 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #268      +/-   ##
==========================================
- Coverage   68.05%   68.02%   -0.03%
==========================================
  Files          47       47
  Lines        2504     2508       +4
==========================================
+ Hits         1704     1706       +2
- Misses        800      802       +2

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


Fix warnings in test helpers

Fix unused variable warnings and sign conversion warning in test helpers.
#201

Please fix the formatting as indicated by the broken check, otherwise it looks good. Thanks!

Whoops, I missed committing the change to that last line after running clang-format.


sf apex run test -r json does not return JSON

Summary
All of a sudden 'sf apex run test -r json' does not return JSON but returns

Run "sf apex get test -i 7075p0000H2Hrx8 -o myusername" to retrieve test results

Steps To Reproduce:

sf apex run test -o $APEXTEST_ENV -l ${TESTLEVEL} -r json > ${APEXDIR}/${RUNFILE}
where $APEXTEST_ENV = TARGET-ORG, ${TESTLEVEL} = RunLocalTests and ${APEXDIR}/${RUNFILE} = outputfile
outputfile only contains the text "Run "sf apex get test -i 7075p0000H2Hrx8 -o myusername" to retrieve test results"

Expected result
Output file should hold a JSON like
{
"status": 100,
"result": {
"summary": {
"outcome": "Failed",
"testsRan": 3733,
"passing": 3640,
"failing": 93,
"skipped": 0,
"passRate": "98%",
"failRate": "2%",
"testStartTime": "Mon May 15 2023 00.15.16",
"testExecutionTime": "5592431 ms",
"testTotalTime": "5592431 ms",
"commandTime": "814 ms",
.
.
.etc
Actual result
outputfile only contains the text "Run "sf apex get test -i 7075p0000H2Hrx8 -o myusername" to retrieve test results"
System Information
bash

If you are using sfdx

Run sfdx version --verbose --json

If you are using sf

Run sf version --verbose --json

Paste the output here

Additional information
Feel free to attach a screenshot.

Last good / correct result fron -r JSON was before I upgraded to sf 1.77.6-2ac0f05

Have you tried adding the -w (wait)  and -y (synchronously) flag? I recommend adding "-w 20 -y" to run the tests synchronously and wait up to 20 minutes for the results. You should then get the JSON results.

Hey @phiff, thanks for the issue. We recently changed these tests to run async by default to fix another issue. @MarcDBehr is correct, try running the command with the -y flag to run the tests synchronously. Note that there is a difference between the -r flag to specify the type of test report format and using the --json flag on a command.
Alternatively, you can run the following:

sf apex run test --json

This will return the testRunId

The you can run sf apex get test -i THE_ID -r json to get the results in json format.

That said, I will create a ticket and make it clear that the async flag is required when you are passing --result-format to run.


Tab and shift tab is not getting back to accessibility view

Testing #191346

Make sure you get inline completion and press Option + F2
Accessibility view opens and press tab which takes outside accessibility view
Press shift tab and you do not get into the view. There is not hint that the view is gone.

Tab/ shift tab are not supposed to work here. The flow is Option+F2 to open it and blur/ escape/ tabbing/focusing something else close it.


iOS version?

Is there an equivalent project for iOS?

@NathanHazout I have been considering a version for iOS, but I haven't actually created the project yet. It's likely that AWS SSO would be mandatory for iOS. I plan to first implement AWS SSO login for the Mac client and then look into developing the iOS version.


Invoke-SSHStreamExpectAction

Does this work like I'm understanding?
Will -ExpectString 'RTR-INET-01# ip route x.x.x.x' actually wait for that sting to appear in the stream?
If so, wow, and thank you. If this works like I expect, I'll be releasing some router automation scripts with major accreditation to your Posh-SSH module.

It will input a specified text with carriage return when the specified text is shown in the output. It will timeout if not seen.
Sent from my iPhone

On May 25, 2015, at 12:44 PM, Tyler Applebaum<EMAIL_ADDRESS>wrote:
Does this work like I'm understanding?
Will -ExpectString 'RTR-INET-01# ip route x.x.x.x' actually wait for that sting to appear in the stream?
If so, wow, and thank you. If this works like I expect, I'll be releasing some router automation scripts with major accreditation to your Posh-SSH module.
—
Reply to this email directly or view it on GitHub.


Verify Tree (No Refresh) still removes unused rows.

When we added websocket notifications, we may have disabled the ability to remove rows when the entity strategy is to not mark a row dirty for refresh.

I works as expected


Move isLoggedIn to the store

Hi there again,
I am trying to move isLoggedIn to the store so I can use state, mutations and getters for the login.
In store/state.js:
import api from '../api'

export default {
  isLoggedIn: api.getSession() ? true : false
}

In store/mutations.js
export default {
  login(state) {
    state.authorized = true
  },
  logout(state) {
    state.authorized = false
  },
}

In store/getters.js
export default {
  authorized: state => state.authorized,
};

And on login I call this.$store.commit('login'), on logout this.$store.commit('logout')
The thing is that this.$store.getters.authorized returns always true if I refresh
Any idea how to fix it ?

It seems isLoggedIn in the state should be authorized?
Also api.getSession() is an async function that returns a Promise, while you are testing against it which will always be true. The following is how to do it rightly, I put all components in one file while you can split them into their own files
store/auth.js:
import api from '../api'

const state = {
  authorized: false
}
const mutations = {
  setAuthorized(state, authorized) {
    state.authorized = authorized
  }
}
const actions = {
  login({ commit }, formData) {
    api.login(formData).then(resp => {
        commit('setAuthorized', true)
    })
  },
  logout({ commit }) {
    api.logout().then(resp => {
        commit('setAuthorized', false)
    }
  }
}

export default {
  state,
  mutations,
  actions
}

No more update, close it now.

Yeah, sorry.. Forgot about that.
This is a real good solution IMO, you should update your code according to that.

Hi there,
so, how do I get authorized from the state ?
I found out I can use the following:
<template>

>

User logged in

user not logged in

{{ authorized }}

</template>

import { mapState } from "vuex";

export default {
  computed: {
    ...mapState(["authorized"])
  },
  mounted() {
    this.$store.dispatch("checkLogin");
  }
};

but the template always returns that the user is not logged in, although I can get a session from the endpoint.
Am I missing something ???

@frostming Also,
how do replace the api.login call in the Login component with a store dispatch based on the above auth.js module ?


Pack Prong Wing Seabat Alive Bug

The "Pack Prong Wing Seabat" is an airborne creature on the planet "Gagarin", in the "Alpha Centauri" system.  It does react to being shot at, or any other interaction, and its inventory can not be accessed via normal means.

 Eventually one will bug out. They are prone to bug out only when close to the surface? But that's just an assumption.

I just replicated the issue for the "Herding Leecher Grazer" found on "Rasalhague II". Only this creature is stuck in its threatening pose.

Unfortunately I have to report this bug is still alive and kicking, only now much more actors seem to be affected. I've encountered at least 4-5 floating in mid air, or not properly rag dolling on death faunas in muiltiple locations.


run poet server in setup

Merged to branch atx_auto
See: https://github.com/spacemeshos/go-spacemesh/pull/875


New Request: Location

Address input box
Current location
Movable pin

Here's the requirements from the spec as a FYI:
Provide location information. If photo(s) is/are provided, the app will try to extract location information from the photo(s) if possible, and auto-fill the location information. If no photo(s) provided, user will choose a location from map. Required field.

The location pin and the text-based format is working as well. A couple of issues cropped up:

The map doesn't move/center to the pin if it's off the center of the map
The text field is off center and height to the pin button.

Would be good to have Shivani take a look and provide some design direction here. I'd say that both should be at the same height and there should be a greater space to view the address that's inputted in.

This is working now; worth closing @arichen ?


[MB-16059] get rid of the s3 object version id from the delivered sns message

Trello Card Title
Changes proposed in this pull request:

Change 1
Change 2

Still looks pretty good.


Correction for raw affiliation SPO, INRA, Montpellier SupAgro, Univ Montpellier

Correction needed for raw affiliation SPO, INRA, Montpellier SupAgro, Univ Montpellier
raw_affiliation_name: SPO, INRA, Montpellier SupAgro, Univ Montpellier
new_rors: 03rnk6m14;051escj72;04w07sc25
previous_rors: 03rnk6m14;051escj72
works_examples: W2893019139
contact: 59f2c440cd37c3d3403dd5d5b691592f:c98798f44c772b1de792dfc630f839015184 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


Error "Could not cast value of type 'Swift.Int' to '__C.Decimal'" while trying to record stream

I am trying to record my stream and got above mentioned error using Swift3 in "AVMixerRecorder.swift" file.
//rtmpStream?.publish("test123", type: .localRecord)

Released 0.5.2


my-slide

_posts/0000-01-02-flyfly27272727.md

It's very easy to make some words bold and other words italic with Markdown. You can even link to Google!


Fix formatting around PreserveSigAttribute

Actual behavior
Code is generated with excessive tab spaces and the method does not have tabs
						[PreserveSig()]
winmdroot.Foundation.BOOL IsMatchingType(winmdroot.System.Ole.IRecordInfo pRecordInfo);

Expected behavior
Tab spaces should be correct
	PreserveSig()]
	winmdroot.Foundation.BOOL IsMatchingType(winmdroot.System.Ole.IRecordInfo pRecordInfo);

Repro steps

NativeMethods.txt content:

IRecordInfo

NativeMethods.json content (if present):

Any of your own code that should be shared?

Context

CsWin32 version: [e.g. 0.4.422-beta]
Win32Metadata version (if explicitly set by project):
Target Framework: [e.g. netstandard2.0]
LangVersion (if explicitly set by project): [e.g. 9]

Just to set expectations, whitespace is a low priority. We'll take PRs that fix it, but we won't likely spend time to fix it ourselves. We want the code to be readable, but aesthetically pleasing isn't a goal we'll prioritize.


Uppercase redis command is not supported

Description
Uppercase redis command is not supported
Steps to reproduce the behavior:
start kache
./bin/kache -d

use redis client access
▶ redis-cli -p 7088
<IP_ADDRESS>:7088> SET name lzz
(error) ERR: unknown command SET
<IP_ADDRESS>:7088> set name lzz
OK

Expected behavior
OS and Other informations
macos
Additional details

update your kache and run again, this is fixed at https://github.com/kasvith/kache/pull/40
go get -u github.com/kasvith/kache

ok, thanks


run-sequence doesn't wait for child tasks run-sequences to complete

How can I get
gulp.task('build', function () {
  runSequence('clean', 'main', 'task-dependent-on-main');
});

gulp.task('main', function () {
  runSequence('task1', 'task2');
});

to actually synchronously wait? Is there a way to get runSequence to return a stream so parent runSequence's know to wait? Right now it just blows past main and on to 'task-dependent-on-main', instead of completing 'task1' and 'task2'. Obviously, I could write them all in one runSequence:
  runSequence('clean', 'task1', 'task2', 'task-dependent-on-main');

But they are split between files and that doesn't seem very clean.

As shown in the docs, just use the callback function:
gulp.task('main', function (callback) {
  runSequence('task1', 'task2', callback);
});

This will only work if your tasks themselves are correctly configured.


Enhance "hand" space

Do we need a hand space if we can flip card only for one player.

Hand space can be a zone with automatic "Reveal for self" action and allow a player to "take control" of this hand space.

Is this automatic zone necessary? What could it bring without complicating the system, without confusing the player?
Couldn't a simple zone named with the Hand label be enough?

Actually, I think I already did something for that issue: you can configure automatic actions for a zone. One of the action is "Return for self" so this do the job for our needs. The only problem with that is, if someone else return any card on this zone, he returns the card for himself. However, I'm not going to do something more for now but I keep the issue just in case.

Now we have the zone with automatic actions and the screen for hiding things like money or anything else. Should be enough.


Godot 4: Visual Script node search window randomly opens as a non-window popup (DisplayServer regression)

Godot version
v4.0.alpha2.official [79077e6c1]
System information
Windows 11, Vulkan Clustered, Intel UHD Graphics 620 v<IP_ADDRESS>0
Issue description
Visual Script node search window (RMB on the canvas) randomly opens as a non-window popup and can't be resized. I have to restart the engine to fix this issue. This happened to me a few times.
The popup window's corners don't appear to be rounded indicating it's not open as a window. All opened windows in Windows 11 should have round corners. This issue is shown in the screen recording below:
https://user-images.githubusercontent.com/1403194/153957564-418d5994-518e-4982-8fb8-6bfa79c528b2.mp4
This is how the window appears when it works correctly:

I expect the node search window to open as a window all of the time so I don't have to restart the engine.
Steps to reproduce

Right mouse click at the Visual Script canvas to search for nodes. The window randomly appears as a non-window popup.

Minimal reproduction project
No response

Can you reproduce this after enabling Single Window Mode in the Editor Settings then restarting the editor?

I can't reproduce this after enabling Single Window Mode in the Editor Settings, as shown in the screen recording below:
https://user-images.githubusercontent.com/1403194/153979257-325eb793-3bb2-486d-8aaa-bd44c0578275.mp4

I found a way to reproduce this issue 100% of the time. This issue will occur when I selected and add a node that has a very long description. In this case, it's the connect() node.
I can no longer add the other node after this issue occurred, only the connect() node can be added.
It doesn't matter whether I am on the Single Window Mode, as shown in the screen recording below:
https://user-images.githubusercontent.com/1403194/158041516-f73636be-8994-4b9c-962b-5b682a338ebb.mp4

I could take this one if nobody else is working on it?

I could take this one if nobody else is working on it?

Feel free to open a pull request for this :slightly_smiling_face:

Not intended as links, so no hashes.  But just to clarify:  61017 is supposed to be the fix and 61010 is a prerequisite, to be able to load visual script files with names that start with r, s, or e.


refactor: Remove parameter from output_message

The all information it needs can be taken from self.
Also, message should be the interface for testing.

@okuramasafumi
Thank you for your guidance and support😭
I apologize for the delay in response.
I'll try to confirm the operation by the end of today.
I'll get back to you soon🏃♀💨


Content types should be case sensitive

When consuming a json api using tesla, the request body wasn't being correctly decoded as JSON. This is because the server was returning a content type of application/JSON but tesla expects content type be all lower case:
https://github.com/elixir-tesla/tesla/blob/master/lib/tesla/middleware/json.ex#L48
According to the rfc https://datatracker.ietf.org/doc/html/rfc2045#section-2

All media type values, subtype values, and parameter names as defined are case-insensitive.

Could you share an example call for me to test manually? I would like to check the headers myself

Just using this http mocking website, you can see the returned content type is application/JSON:
curl -v -X GET 'https://testlajson.free.beeceptor.com/todos' -v

I have no idea how long that link will run, I don't have an account at that website i just found it with a google search.
application/JSON body is a string:
Tesla.get(Tesla.client([Tesla.Middleware.JSON]), "https://testlajson.free.beeceptor.com/todos")
{:ok,
 %Tesla.Env{
   method: :get,
   url: "https://testlajson.free.beeceptor.com/todos",
   query: [],
   headers: [
     {"date", "Sun, 16 Jun 2024 00:19:32 GMT"},
     {"vary", "Accept-Encoding"},
     {"content-length", "577"},
     {"content-type", "application/JSON"},
     {"access-control-allow-origin", "*"},
     {"alt-svc", "h3=\":443\"; ma=2592000"},
     {"x-beeceptor-rule-id", "defaultget"}
   ],
   body: "[\n  {\n    \"id\": 1,\n    \"title\": \"Create an endpoint at Beeceptor.\",\n    \"completed\": true\n  },\n  {\n    \"id\": 2,\n    \"title\": \"Send a request to your new Beeceptor endpoint.\",\n    \"completed\": true\n  },\n  {\n    \"id\": 3,\n    \"title\": \"Create a mocking rule to send dummy data.\",\n    \"completed\": false\n  },\n  {\n    \"id\": 4,\n    \"title\": \"Try out a failure response by sending 500 HTTP status code.\",\n    \"completed\": false\n  },\n  {\n    \"id\": 5,\n    \"title\": \"Use the proxy feature to send a request to a real API. Intercept traffic using Beeceptor.\",\n    \"completed\": false\n  }\n]",
   status: 200,
   opts: [],
   __module__: Tesla,
   __client__: %Tesla.Client{
     fun: nil,
     pre: [{Tesla.Middleware.JSON, :call, [[]]}],
     post: [],
     adapter: nil
   }
 }}

application/json body is a map:
> Tesla.get(Tesla.client([Tesla.Middleware.JSON]), "https://testlajson.free.beeceptor.com/todos")
{:ok,
 %Tesla.Env{
   method: :get,
   url: "https://testlajson.free.beeceptor.com/todos",
   query: [],
   headers: [
     {"date", "Sun, 16 Jun 2024 00:18:49 GMT"},
     {"vary", "Accept-Encoding"},
     {"content-length", "577"},
     {"content-type", "application/json"},
     {"access-control-allow-origin", "*"},
     {"alt-svc", "h3=\":443\"; ma=2592000"},
     {"x-beeceptor-rule-id", "defaultget"}
   ],
   body: [
     %{
       "completed" => true,
       "id" => 1,
       "title" => "Create an endpoint at Beeceptor."
     },
     %{
       "completed" => true,
       "id" => 2,
       "title" => "Send a request to your new Beeceptor endpoint."
     },
     %{
       "completed" => false,
       "id" => 3,
       "title" => "Create a mocking rule to send dummy data."
     },
     %{
       "completed" => false,
       "id" => 4,
       "title" => "Try out a failure response by sending 500 HTTP status code."
     },
     %{
       "completed" => false,
       "id" => 5,
       "title" => "Use the proxy feature to send a request to a real API. Intercept traffic using Beeceptor."
     }
   ],
   status: 200,
   opts: [],
   __module__: Tesla,
   __client__: %Tesla.Client{
     fun: nil,
     pre: [{Tesla.Middleware.JSON, :call, [[]]}],
     post: [],
     adapter: nil
   }
 }}


Republic of Kosovo missing in the ISO3166 file

#9
Reference for Kosovo: https://en.wikipedia.org/wiki/Kosovo

Thanks for spotting this. I've merged your PR and released version 2.1.1 :)


Widget: Line chart

Implement a line chart widget.
Similar to: https://github.com/gizak/termui/raw/master/_example/linechart.png
And: https://github.com/yaronn/blessed-contrib/raw/master/docs/images/line.gif
Also look at: https://github.com/cjbassi/termui and the use of: https://github.com/exrook/drawille-go

What we need:

The draw.Text() function needs to support vertically placed text to allow for labels on axes.
Need a draw.Line() function that draws horizontal and vertical lines and uses correct corner characters where the lines meet.
Need a draw.BrailleLine() function that draws lines using the Braille unicode characters (http://www.alanwood.net/unicode/braille_patterns.html).

Interesting features for the LineChart:

Labels on the axes.
Support both positive and negative values.
Value labels, custom or derived from the values. The labels must be auto positioned based on the available horizontal and vertical space.
Support for multiple values in the same chart (multiple lines).
Support for labels for the displayed lines matching the line color as in (https://github.com/yaronn/blessed-contrib/raw/master/docs/images/line.gif).

Converted to project.


private servers do not work !

Miniclip did it again  →
blocking private servers: O

No, it's just that it didn't find your server.


Verifier should support matching a set of vnames

Sometimes an indexer can't determine the exact reference but instead finds a list of possible references. AFAICT, there's no way to write a verifier test that precisely matches multiple results.
For example, in this unannotated Python code:
def do_something(ch0): # The indexer can't figure out the exact type of ch0
    #- { @type ref vname("${TYPESHED_FQN}.stdlib.2and3.lib2to3.pytree.Base.type", _, _, "", python) }
    #- { @type ref vname("${TYPESHED_FQN}.stdlib.2and3.lib2to3.pytree.BasePattern.type", _, _, "", python) }
    #- { @type ref vname("${TYPESHED_FQN}.stdlib.3._ast.ExceptHandler.type", _, _, "", python) }
    print(ch0.type)

I want to also say "there are no ref edges from @type to any other nodes than these three.
(I know that I shouldn't put concrete vname's in my tests; but I don't know of an easy way of importing vnames from indexing other files.)

If issue #3815 is allowed, some of this might not be needed - because the above example could become:
def do_something(ch0): # The indexer can't figure out the exact type of ch0
    #- { @type ref.1 vname("${TYPESHED_FQN}.stdlib.2and3.lib2to3.pytree.Base.type", _, _, "", python) }
    #- { @type ref.2 vname("${TYPESHED_FQN}.stdlib.2and3.lib2to3.pytree.BasePattern.type", _, _, "", python) }
    #- { @type ref.3 vname("${TYPESHED_FQN}.stdlib.3._ast.ExceptHandler.type", _, _, "", python) }
    print(ch0.type)

However, it would still be nice to be able to say that there are no other ref.# edges.


Cannot see settle balance button for overdue subs

Cannot see settle balance button for overdue subs, the account is an account admin, but there is no "Settle balance" link or button for the subs shown as "disabled"

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

ID: 8a4a411e-ee69-0830-ea5d-5998b9f42f8d
Version Independent ID: 0594c6a2-940f-0360-eb3d-4cb336a6eaec
Content: Past due balance email from Azure
Content Source: articles/cost-management-billing/manage/resolve-past-due-balance.md
Service: cost-management-billing
Sub-service: billing
GitHub Login: @genlin
Microsoft Alias: banders

@andy-yx-chen Thanks for reaching out. Could you please share the screenshot of the page?

@andy-yx-chen Thanks for reaching out. Could you please share the screenshot of the UI?

I am sorry, I did not capture the screenshot, as it was an urgent issue that the subs cannot be changed and no resource can be updated after subs was disabled, I ask support to make the settle the balance for me immediately, I will also follow up with support to see if they can help or not.

@andy-yx-chen I suggest you follow up with the support folks on this issue. They should be able to fix it by working with you 1:1.
FYI: This channel (the Azure Docs repository) is only for driving improvements related to the Azure documentation.

@andy-yx-chen I suggest you follow up with the support folks on this issue. They should be able to fix it by working with you 1:1.
FYI: This channel (the Azure Docs repository) is only for driving improvements related to the Azure documentation.

got it, however, it would be great to add docs about "if you cannot find settle balance button, then blah blah...", you can work with portal team to figure out the common Troubleshooting Guidelines.

@andy-yx-chen Thanks for your feedback. Appreciate if you could share the details once the ticket is resolved.

@andy-yx-chen Thanks for your feedback. Appreciate if you could share the details once the ticket is resolved.

Sure


can you release a pdf file for print

thanks.

agree more

@wjx0912 @garrickjubiao you can generate it with gitbook-cli but there some problems:

Badges in README.MD produces file not found gitbook error

*.go files better include in corresponding *.md files
Update book.json with author, title, etc.


tx.wait behaves unexpectantly in tests

🐛 Bug Report for zkSync CLI
📝 Description
There seems to be some sort of delay between a transaction that transfers ETH being included in a block, and the ETH balance of the receiving account being update and queryable via provider.getBalance - tx.wait doesn't seem to have an affect
🔄 Reproduction Steps
I've created a minimal reproduction repo here
🤔 Expected Behavior
After doing:
const tx = await wallet.sendTransaction({ value: parseEther('1'), to: receiver });
await tx.wait();

console.log(await wallet.provider.getBalance(receiver));

The console.loged value should immediately be<PHONE_NUMBER>000000000n
😯 Current Behavior
The immediate console.log (and many after) log 0n, after sometime getBalance finally returns the expected incremented balance for the receiver
🖥 Environment

Package version: 1.5.1
Node version: v20.11.1
NPM/Yarn version: pnpm 8.15.4
Operating System & Version: macOS Sonoma 14.3.1
Other relevant environment details:

📋 Additional Context
See reproduction repo

Using the cli, I created a new project using ethersv5 and it doesn't seem to be an issue anymore

hey @spacesailor24
this might be related to the cache that ethers v6 has implemented by default. This has been mentioned across different issues (example here. Please try disabling the cache by initialising your provider this way:
const provider = new Provider(url, undefined, {cacheTimeout: -1});

Closing due to staleness.


v3.7.0 Node Sass does not yet support your current environment: Linux 64-bit with false

Installed via npm on Manjaro Linux. My gulp.js build now encounters an error.
[13:12:45] Starting 'sass'...
[13:12:45] 'sass' errored after 198 ms
[13:12:45] Error: Node Sass does not yet support your current environment: Linux 64-bit with false
For more information on which environments are supported please see:
TODO URL
    at Object.<anonymous> (XXX/node_modules/node-sass/lib/index.js:12:11)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)
    at Module.require (module.js:466:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (XXX/node_modules/gulp-sass/index.js:187:21)
    at Module._compile (module.js:541:32)

npm update
In future please search old issues before opening new ones. This has been
reported many times.
On 10 May 2016 6:21 AM, "xlegs"<EMAIL_ADDRESS>wrote:

Installed via npm on Manjaro Linux. My gulp.js build now encounters an
error.
[13:12:45] Starting 'sass'...
[13:12:45] 'sass' errored after 198 ms
[13:12:45] Error: Node Sass does not yet support your current environment:
Linux 64-bit with false
For more information on which environments are supported please see:
TODO URL
at Object. (XXX/node_modules/node-sass/lib/index.js:12:11)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
at Function.Module._load (module.js:407:3)
at Module.require (module.js:466:17)
at require (internal/module.js:20:19)
at Object. (XXX/node_modules/gulp-sass/index.js:187:21)
at Module._compile (module.js:541:32)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/sass/node-sass/issues/1537

Didn't work. npm packages are up-to-date.

This message was fixed in v3.7.0 so if you're seeing it you must not be on the latest version.
Please provide the output of the following commands
npm -v
node -v
node -p process.versions
node -p process.platform
node -p process.arch
npm ls node-sass

'npm ls node-sass' showed
'''
└─┬<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>'''
After removing and reinstalling gulp-sass (as per these instructions), my node-sass was updated and all was well.
Thanks.


Docker issue: Transparent Huge Pages (THP) support enabled in your kernel.

Note: this is the technical bug tracker, please use other platforms for getting support and starting a (non technical) discussion. See the getting help page for details.
I'm submitting a ...
[x ] bug report
[ ] question about the decisions made in the repository
Action taken (what you did)
installed git master V0.6.8 Gekko on Docker as per instructions
Expected result (what you hoped would happen)
work without errors
Actual result (unexpected outcome)
redis_1      | 1:M 28 Mar 2019 02:22:20.487 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)

There seems to be a solution posted here:
http://larstechnica.com/2017/06/docker-for-mac-fix-for-max-files-transparent-hugepages-warnings
However I cannot get this to work yet:
$ docker-compose up
Recreating gekko_redis_1 ... done
Recreating gekko_gekko_1 ... done
Attaching to gekko_redis_1, gekko_gekko_1
redis_1  | 1:C 28 Mar 2019 22:32:43.302 # Fatal error, can't open config file '/usr/local/etc/redis/redis.conf'
gekko_redis_1 exited with code 1


Cannot find native module 'ExpoSpeechRecognition'

Thank you for all your work on this. I have only an issue when trying to get your examples working. I get the following Error:
 ERROR  Error: Cannot find native module 'ExpoSpeechRecognition', js engine: hermes
    at ContextNavigator (http://<IP_ADDRESS>:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:377939:24)
    at ExpoRoot (http://<IP_ADDRESS>:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:377895:28)
    at App
    at ErrorToastContainer (http://<IP_ADDRESS>:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:558089:24)
    at ErrorOverlay
    at withDevTools(ErrorOverlay) (http://<IP_ADDRESS>:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:557592:27)
    at RCTView
    at View (http://<IP_ADDRESS>:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:41503:43)
    at RCTView
    at View (http://<IP_ADDRESS>:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:41503:43)
    at AppContainer (http://<IP_ADDRESS>:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:41346:25)
    at main(RootComponent) (http://<IP_ADDRESS>:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:119680:28)

Hi @ofoz86,
Since this library contains native iOS and Android code that's not part of the Expo SDK / Expo Go app, you'll need to create a development build using npx expo run:ios / npx expo run:android to build your app. If you don't have Android Studio / XCode on your computer you can use EAS to build your app (see: https://docs.expo.dev/develop/development-builds/create-a-build/)
See Introduction to development builds for more info.

Alright, understood, thank you for your quick response and help!


[P4] Starting to write C1 and C3 tables. stuck at p4.

environmental information：
CentOS Linux release 7.9
gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
chia-plot disk failed, there was no response at P4, and no error was reported. It lasted for a long time until the program exited.
This is shown below:
`
[P3-1] Table 4 took 122.078 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 4 took 184.406 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 5 took 116.259 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 5 took 194.244 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 6 took 125.675 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 6 took 207.44 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 7 took 110.294 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 7 took 235.142 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
Phase 3 took 1860.64 sec, wrote<PHONE_NUMBER>8 entries to final plot
[P4] Starting to write C1 and C3 tables
`
How to solve this problem？

Did it eventually finish?
Phase 4 can be incredibly slow, looks like it probably will be for you with that 1800 second p3 time

它最终完成了吗？
第 4 阶段可能非常缓慢，看起来可能需要1800 秒 p3 时间

Did it eventually finish?
Phase 4 can be incredibly slow, looks like it probably will be for you with that 1800 second p3 time

no,  I've been waiting for more than ten hours and I'm still in this state.
In CentOS 7 system, it seems that the P4 phase is stuck here all the time, it will not be further executed, and there is no error report


Composite primary key as array?

Why is not possible to solve problem with primary key as an array?
I would try to solve this problem...

Same problem here


Option to move the written files (target/, logs/, dbt_modules/*) out of the source tree

Describe the feature
I would love to have an option to move all the files DBT write to, out of the project's source tree.
Describe alternatives you've considered
I'm working inside Docker, with the source directory shared between host (for easy dev access) and container (for testing).
I've tried mounting a separate docker volume onto the dbt/target directory, but docker-compose does not support nested mount points. Writing by DBT gives all kinds of user and permissions mismatch problems, in a bind-mount intended to be read-only.
I've also tried symlinks, but that is hacking around DBT and risks breakign with each upgrade.
Additional context
It's not database-specific.
Who will this benefit?
Anybody who is developing (and testing) a dockerized DBT application
Are you interested in contributing this feature?
Sorry, please don't wait for me in this respect.
Issue #2617 (splitting log directories) may or may not be closed by the same fix.

Also, I'd like an idiomatic way to install DBT and its modules in the Dockerfile, without rebuilding everything if the rest of the code tree changes. That means both packages.yml and profiles.yml should live in a separate subdirectory, and still work if the rest of the source tree does not get copied into the Dockerfile before running dbt deps.

@TjrGithub Thanks for the writeup. I want to clarify what you're after, because I think some of it is possible in dbt today.
All three of target-path, modules-path, and log-path will accept any relative or absolute directory path.
So in dbt_project.yml you can have:
target-path: ".../other_target"

Or:
target-path: "/Users/me/any/file/path/target"

Does that get you what you need from a Docker deployment perspective?

There are no log-path nor modules-path in the example dbt_project.yml generated by "dbt init", so I assumed it wasn't possible.
Now I have a Rube Goldberg system of symlinks.

Got it—best to always check docs.getdbt.com! We don't want to overwhelm people with more case-specific configurations in the starter project.
I'm going to close this issue, but feel free to re-open if there's a specific change to existing functionality that you need to get this working.


Allow trackerless torrents - announce is not required

Resolve #18

Added test

Hi, anything else needed here?

Thanks for the contribution!


[Feature] Key binding to stop build.

This will help us cancel the build , when accidentally input an infinite loop.

I am working on that feature by the time that is implemented you can use Ctrl+c to stop execution of code running in terminal

How Does the run in external terminal feature work on Mac ?

You Can just enable it in settings and then whenever you click the build button then an external terminal will open.

The option to run code in external window is just able to open the terminal app. It is not able to send the command to the app also , do you think it is possible for us to choose the external terminal app. Such as being able to send commands to iTerm app.

Check if you are using the latest version of the extension because on my friend's mac the latest version fixed that issue. Also, provide me your mac version if you are still having issues after updating.
iTerm support will also be added in coming weeks but currently only terminal is supported.

It works great now(on current Mac Os 12.0 Beta (21A5304g) ), looking forward to iTerm support.

I have added the Support to Bring terminal to the front of all windows Here is the Build:
code-builder-0.3.2.vsix.zip
It will be released this weekend if there are any bugs please let me know.

It was fixed on the latest update.
Can you also add something, that if a previous terminal window is minimized , unminimized it before showing the result. Because without this the code will run in the minimized terminal window, but the window will stay minimized.

It will take some time as my mac is damaged, but once it gets fixed I will add fix this issue.

I Have added the fix for terminal checkout in version 0.4.1. Also, Let me know of any other bugs.

For some reason , after the update i get the error on my mac "command 'code-builder.buildAndRun' not found" .
I do not believe that i have changed any of the settings.
Also do you think , support to run R scripts can also be added.

Can you tell me the Version of VS code and Extension.
Some Steps which may Fix extension :

Remove the extension and reinstall it again
Go to extension settings and reset Every setting

R Support is added in 0.6.0 which will be pushed on 21st September

I got the error , on the latest update (of the extension) as of current time on vs code market place.
I also tried all of the above steps you mentioned to debug the problem.

Here is my Vs code version details.

Update your VS Code and then try again. It should fix the issue.

Ye'up that worked. It is working fine on version details :
Version: 1.60.1
Commit: 83bd43bc519d15e50c4272c6cf5c1479df196a4d
Date: 2021-09-10T17:09:14.403Z
Electron: 13.1.8
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 21.1.0

For some reason the extension is giving the same error  again command 'code-builder.buildAndRun' not found
Extension version is 0.6.0
Vs code version is :
Version: 1.60.1
Commit: 83bd43bc519d15e50c4272c6cf5c1479df196a4d
Date: 2021-09-10T17:09:14.403Z
Electron: 13.1.8
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 21.1.0

Can You provide me the console data. it is enabled through Help -> Toggle Developer Tools.
Also check if only BuildAndRun is not working or every code builder command is not found.

Sometimes it is working and sometimes it is not working , i have added the console data here.

There are some files missing in your installation of VS Code that is required for extension Host to Work. See at the Starting of your first screenshot.
To Fix this uninstall this VS Code and delete the .vscode folder from your Users directory and then reinstall VS Code.

Thanks for helping, i tried to uninstall and delete the /vscode folder. I still get the issue of FILE not found . This seems to be a vscode issue. Other than that your extension seems to be working fine.
I will try to figure this out myself.
Also any update , on when can we run in iTerm (External terminal) ?

iTerm2 support will be added in the build 0.7.0.

Hey with the new update, the item2 app still does not work. Just to be on the same page , i am trying to use  terminal emulator from this website : https://iterm2.com.
It is giving me these errors.

This is the info of the app , on mac

I have released a hotfix for that check your marketplace for updates and then try again.
use the iTerm.app in your terminal.external.osxExec in preferences

On version 0.6.2 iTerm works great.


Async destruction

Based on my article https://github.com/vzvezda/asyncdrop/blob/main/article/async-dest.md and proof of concept implementation https://github.com/vzvezda/asyncdrop.
What is going on:

Support in runtime that replicates https://github.com/vzvezda/asyncdrop implementation.
Requires some tests to verify that sleeping actually works
Do I actually need any_of_task or I should make the only way to spawn task to be a join-like construction.
I do need these join_tasks to be implemented.

[x] frozen tasks are supported
[x] join_task! is implemented
Unifnished:
[ ] How the any of should work? Should we have it as task aware or not?

As for now any_of is not task aware, experiment version removed in 25494d


feat: add GUC option to manually control filter mode

close #65
test
When using skip mode,
explain select train.id from train order by 'a long vector' <=> train.embedding limit 32;
 Limit  (cost=490.54..499.02 rows=32 width=12)
   ->  Result  (cost=490.54..1815.81 rows=5001 width=12)
         ->  Sort  (cost=490.54..503.05 rows=5001 width=8)
               Sort Key: (('a long vector'::vector <=> embedding))
               ->  Seq Scan on train  (cost=0.00..340.51 rows=5001 width=8)

When using prefilter/postfilter,
explain select train.id from train order by 'a long vector' <=> train.embedding limit 32;
 Limit  (cost=0.00..10.20 rows=32 width=12)
   ->  Index Scan using train_embedding_idx on train  (cost=0.00..1593.76 rows=5001 width=12)
         Order By: (embedding <=> 'a long vector'::vector)

And when using postfilter, it will output "Fallback to post-filter." like https://github.com/tensorchord/pgvecto.rs/blob/d96a11419a704388cd34545959d4f3962ac206e8/src/postgres/index_scan.rs#L162

enable_prefilter might be a better name since it keeps consistency with https://www.postgresql.org/docs/current/runtime-config-query.html.

enable_prefilter might be a better name since it keeps consistency with https://www.postgresql.org/docs/current/runtime-config-query.html.

enable_prefilter will be a boolean option. Does this mean we don't distinguish prefilter and postfilter?

enable_prefilter might be a better name since it keeps consistency with https://www.postgresql.org/docs/current/runtime-config-query.html.

enable_prefilter will be a boolean option. Does this mean we don't distinguish prefilter and postfilter?

If somebody needs, we can add a force_prefilter.

@usamoi How can user force post filter?

We can have enable_filter and enable_prefilter for now. What do you think?

Please also update corresponding the README

We can have enable_filter and enable_prefilter for now. What do you think?

If there is a where and we do not really filter, won't it return incorrect data?

@usamoi You're right. It should be enable_vector_index and enable_prefilter ?

@usamoi You're right. It should be enable_vector_index and enable_prefilter ?

Yes.


Make ChangeNotifier a mixin

ChangeNotifier is meant to be mixed-in to custom "state" classes, and I use this for state management (please don't yell at me, yes I know what BLoC is). Problem is, ChangeNotifier is not declared as a mixin, so the linter will warn against using it, even though it is perfectly safe.
Steps to Reproduce

Add prefer_mixin to your analysis_options.yaml file.
Make the following class: class Temp with ChangeNotifier {}
Get berated.

Logs

This is a static analysis issue, no flutter run needed.

Relevant Dartanalyzer error:
INFO|LINT... Prefer using mixins.

Output of flutter doctor -v:
[√] Flutter (Channel stable, v1.9.1+hotfix.2, on Microsoft Windows [Version 10.0.18362.356], locale en-US)
    • Flutter version 1.9.1+hotfix.2 at C:\Users\myUser\flutter
    • Framework revision 2d2a1ffec9 (12 days ago), 2019-09-06 18:39:49 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\myUser\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[√] Android Studio (version 3.4)
    • Android Studio at C:\Program Files\Android
    • Flutter plugin version 35.3.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

The warning is also triggered if you use the new Router "by the book" like so:
class BlockRouterDelegate extends RouterDelegate<BlockRoutePath>
    with ChangeNotifier, PopNavigatorRouterDelegateMixin<BlockRoutePath> {
   ....
}

class BlockRoutePath { }

I cannot extend from ChangeNotifier which would fix the warning, because I have to extend from RouterDelegate already.

Would it be acceptable to make a PR to create ChangeNotifierMixin and  WidgetsBindingObserverMixin as a migration path as per proposed here?
Or should the prefer_mixin rule just be removed?

the same warning is present in Flutter 2.8.1

Correct, this is turning out to be a bit of a fundamental issue with how mixins are treated compared to regular classes. See https://github.com/dart-lang/language/issues/1942 for an in-depth discussion on how to move forward.

I am going to close this since at this point, this would be pretty breaking. ChangeNotifier was implemented before dart had mixins. There have been discussions around changing the lint prefer_mixin to not warn on these legacy mixins that have been implemented as classes.


Update template.tpl

it seems https://cookie-cdn.1trust.app/* was used as injection url before I assume since it was in this code, but now the injection url must be https://cdn.cookielaw.org/
be aware that no wildcard is needed at the end, at least for tag manager templates because if the page path is just / then it is already seen wildcard after that
tested and working with the mentioned change. not working without it currently

let me know when you have reviewed the change so we can have this implemented

thanks

@jmpate how about letting this pull request go through?
because the url you use right now makes the onetrust cmp template not work at all!
until you fix more things as mentioned yesterday

@jmpate funny thing, i asked onetrust about https://cookie-cdn.1trust.app/ and they say it never was theirs?
maybe their support is just wrong

Hey @simonmadsen I am the Product Manager for OneTrust Cookie Consent. I can confirm this src URL is from our dev environment.  It is one of ours and was not updated properly after testing to the prod src URL.

Correct, cdn.cookielaw is our prod URL
Expect updates by next week.  With the updates, associations with OneTrust categories and updates to consent storages will be possible from the template.

ciations with

great! @jmpate @twslade


Fix: #30. Add Spectral for extensible OAS3 checks.

This PR

Adds an OAS3 validator based on stoplight/spectral.
The docker image download validation rules from https://github.com/teamdigitale/api-oas-checker

@hhurtado is there a way to install this local image with acp ?

Yes, as soon as I merge your PR the generation process will upload your image to the registry and you'll be able to use it with acp.


[WIP] Add BTP codecs

Todo:

[ ] Unit tests
[ ] Test vectors
[ ] Clean up CheckStyle

Superseded by #87


Spatial interp method

Allow user to select spatial interp method when matching.
Not sure what the new argument should be called 🤔. My first idea was spatial_interp_method, but it's long and when the choice is "contained" it doesn't seem like a good name. Maybe "spatial_method" is better?
Choosing good default is not easy. 😬
Before this PR the defaults were:

Dfsu: nearest point for track; contained for point
Grid: linear for track; nearest for point.

🙄
We need to clean this up before the release!

Changing the Dfsu default for track_extraction to "inverse_distance" makes these tests fail:
FAILED tests/test_multimodelcompare.py::test_mm_skill_obs - assert 0.07769535073136861 ± 7.8e-08 == 0.081431053
FAILED tests/test_multimodelcompare.py::test_mm_mean_skill_obs - assert 0.11124922287184795 ± 1.1e-07 == 0.11113215
FAILED tests/test_multimodelcompare.py::test_mm_mean_skill_area_polygon - assert 0.33783800895043575 ± 3.4e-07 == 0.3349027897
FAILED tests/test_multimodelcompare.py::test_mm_mean_skill - assert 0.3093435676524284 == 0.309118939 ± 3.1e-07
FAILED tests/test_multimodelcompare.py::test_mm_mean_skill_weights_list - assert 0.3266280710655306 == 0.3261788143 ± 3.3e-07
FAILED tests/test_multimodelcompare.py::test_mm_mean_skill_weights_str - assert 0.33686945463407164 == 0.3367349 ± 3.4e-07
FAILED tests/test_multimodelcompare.py::test_mm_mean_skill_weights_dict - assert 0.3266280710655306 == 0.3261788143 ± 3.3e-07
FAILED tests/test_multivariable_compare.py::test_mv_mm_mean_skill - assert 0.6392425352313883 ± 6.4e-07 == 0.63344531

Changing the Dfsu default for point extraction from "contained" (=isel) to "nearest" does not make sense (we should maybe consider if it should even be allowed), and it is not easy to change it to "inverse_distance" as it is not directly supported for Dfsu2DH objects (that we use for .dfsu files), but only for mikeio.Datasets 🙄. So if we wanna change the default to inverse_distanc, we should first find nearest points, then interpolator and then multiply together and create a mikeio.Dataset. Maybe better if this functionality was in MIKE IO...
We would need something like this (incomplete):
elemids = self.data.geometry.find_nearest_elements(
    x, y, n_nearest=n_nearest
)
ds = self.data.read(elements=elemids, items=self.sel_items.all)

interpolant = self.data.geometry.get_2d_interpolant(
                    coords, n_nearest=n_nearest, **kwargs
                )
dai = self.data.geometry.interp2d(self, *interpolant).flatten()

I have already changed the spatial interp method of GridModelResult point extraction from "nearest" to "linear". It required changing 1 test and 1 notebook. It is less robust but at least consistent with track extraction now which also uses "linear".

Remind me why we are doing our own interpolation instead of using https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.griddata.html for interpolation in unstructured grids.

Remind me why we are doing our own interpolation instead of using https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.griddata.html for interpolation in unstructured grids.

It can be hard to remember. It's been a long time since I implemented this in MIKE IO. But as far as I remember I struggled to find something efficient enough for multi-timestep situations (you don't to re-calculate the weights for every timestep). But there could probably be something out there which does a much better job!

I have now implemented the inverse distance weighting for dfsu files too. Changing the default to inverse distance, gives these pytest fails:
==================================================== short test summary info ====================================================
FAILED tests/test_aggregated_skill.py::test_skill_mm_sort_values - AssertionError: assert ['SW_1', 'HKNA'] == ['SW_2', 'c2']
FAILED tests/test_config.py::test_comparison_from_yml - assert 0.2331039633116363 == 0.23287298772 ± 2.3e-07
FAILED tests/test_multimodelcompare.py::test_mm_skill - assert 0.28321342914778314 ± 2.8e-06 == 0.214476
FAILED tests/test_multimodelcompare.py::test_mm_mean_skill_obs - assert 0.1149489254094655 ± 1.1e-07 == 0.11113215
FAILED tests/test_multimodelcompare.py::test_mm_skill_area_bbox - assert 0.3172098772905674 ± 3.2e-07 == 0.293498777
FAILED tests/test_multimodelcompare.py::test_mm_mean_skill_area_polygon - assert 0.33510409783863826 ± 3.4e-07 == 0.3349027897
FAILED tests/test_multimodelcompare.py::test_mm_skill_metrics - assert -0.07751961209876564 ± 7.8e-08 == -0.06659714
FAILED tests/test_multimodelcompare.py::test_mm_mean_skill - assert 0.3423446002875196 == 0.309118939 ± 3.1e-07
FAILED tests/test_multimodelcompare.py::test_mm_mean_skill_weights_list - assert 0.3397577440901333 == 0.3261788143 ± 3.3e-07
FAILED tests/test_multimodelcompare.py::test_mm_mean_skill_weights_str - assert 0.40227215393665355 == 0.3367349 ± 3.4e-07
FAILED tests/test_multimodelcompare.py::test_mm_mean_skill_weights_dict - assert 0.3397577440901333 == 0.3261788143 ± 3.3e-07
FAILED tests/test_multivariable_compare.py::test_mv_skill - assert 0.22792652797730392 ± 2.3e-07 == 0.22359663
FAILED tests/test_multivariable_compare.py::test_mv_mm_skill - assert 1.5610323283542897 ± 1.6e-06 == 1.27617894455
FAILED tests/test_multivariable_compare.py::test_mv_mm_mean_skill - assert 0.6188724432948591 ± 6.2e-07 == 0.63344531
FAILED tests/test_pointcompare.py::test_score - assert 0.19870695987855852 == 0.1986296276629835 ± 2.0e-07
FAILED tests/test_pointcompare.py::test_weighted_score - assert 0.19870695987855852 == 0.1986296276629835 ± 2.0e-07
FAILED tests/test_pointcompare.py::test_mod_aux_carried_over - assert -0.017160136296410562 == -0.0360998 ± 3.6e-08
=============================== 17 failed, 511 passed, 6 skipped, 1 warning in 128.79s (0:02:08) ================================

@ecomodeller , I will merge this at 10ish if you have no further comments


Tooltip for titles in collapsed mode

The titles are shortened in collapsed mode and it's sometimes difficult to tell tasks apart without having to uncollapse the whole board which changes the view and is not really a viable option.
So, it would be great if the title could show up when rolling over the title.
Another option could be to quickly uncollapse just one task via a dropdown-like button.

Great idea! Also, in collapsed mode, the small icons that show task links and the description when hovering over them could be shown!

Now, there is a tooltip for task title in the master branch.


fix: Switch to use a regex to filter out results instead of length

Description

Switch to use a regex to filter out results instead of length

Motivation and Context

Using the string length check is problematic on modules that have long names

How Has This Been Tested?

CI

Screenshots (if appropriate):

:tada: This PR is included in version 1.2.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


grab object and move player question

When using Controller grab object and using other Controller move player（myself avatar）,The object fell off and did not move with the player. what should I do? thanks！

How did you move the player? Held objects will automatically drop when they go beyond the configurable hold radius.
Sudden movements, like teleporting, will require moving the object with the player to avoid going outside that distance. Depending on your use case, you might also try bumping up that threshold.

ok
thanks!


Third Largest Element in C++

Is your feature request related to a problem? Please describe.
I want to add this question in GFG section. This question is about to finding third largest element in the given array. Please assign me .
Thank you :)
Programming language

[ ] C
[x] C++
[ ] Java
[ ] Python

I want to solve this in C
LGM_SOC'21

Hi,
I want to implement this in java as apart of LGM-SOC'21.
@Amit366 @Ayush7614 Please assign it to me. Thankyou!!

Can I implement in Java? I'm a participant of LGM Soc21.

Thanks for assigning . I will make a PR soon!


AssetBundle.loadString should document that it expects UTF-8

Found in 1.21.0-1.0.pre.
Here is the documentation in question:
https://github.com/flutter/flutter/blob/f25bd9c55c48c139524139b477d04b13e9f36b2c/packages/flutter/lib/src/services/asset_bundle.dart#L59-L67

 flutter doctor -v
[✓] Flutter (Channel dev, 1.21.0-1.0.pre, on Mac OS X 10.15.5 19F101, locale
    en-AO)
    • Flutter version 1.21.0-1.0.pre at /Users/pedro/dev/SDKs/flutter_dev
    • Framework revision f25bd9c55c (7 days ago), 2020-07-14 20:26:01 -0400
    • Engine revision 99c2b3a245
    • Dart version 2.9.0 (build 2.9.0-21.0.dev 20bf2fcf56)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/pedro/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Users/pedro/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6514223/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

[✗] Chrome - develop for the web (Cannot find Chrome executable at
    /Applications/Google Chrome.app/Contents/MacOS/google-chrome-unsafe)
    ! /Applications/Google Chrome.app/Contents/MacOS/google-chrome-unsafe is not
      executable.

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] Android Studio (version 4.0)
    • Android Studio at /Users/pedro/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6514223/Android
      Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.1

[✓] Connected device (3 available)
    • AOSP on IA Emulator (mobile) • emulator-5554 • android-x86    • Android 9
      (API 28) (emulator)
    • macOS (desktop)              • macos         • darwin-x64     • Mac OS X
      10.15.5 19F101
    • Web Server (web)             • web-server    • web-javascript • Flutter
      Tools

! Doctor found issues in 1 category.

I updated the documentation to include this in https://github.com/flutter/flutter/pull/88822 👍
I also included the isolate behavior in the docs in that PR, assuming that information is useful as well.


Fix libreoffice-oldstable package

The package doesn’t update anymore.

Fixed in https://github.com/chocolatey/chocolatey-coreteampackages/commit/40100f02c89db0fd830020f456c3e683487267c8


Reading the XML messages in a VEN

Hello,
I'm trying to get the actual raw XML messages received (and sent) by a VEN, e.g. the events. I would like to save them somewhere for logging and debugging purposes. It looks like they are parsed and mapped in the client just as they are received, and I cannot access them in any way.
I've seen this old bug about hooks, but it seems it's only implemented in the VTN, not in the VEN. I also tried something with middlewares and hooks in aiohttp, but with no success. I'm quite inexperienced with python, so maybe I'm doing something wrong.
So, the question is, barring copying the whole openleadr locally and implementing what I need (which is obviously not ideal), is there any way of getting the messages before parsing in a VEN?
Thanks in advance.

The XML messages are logged at the 'debug' level, which you can use to inspect the message.
I can look into adding a possible hook in the client that will allow you to add a handler before schema validation and parsing.

I've added a simple hooks infrastructure where you'll get the raw XML messages delivered to a handler that you can register. See the documentation for more info. Let me know if this is helpful.

@juantxorena; did you get a chance to try this addition to OpenLEADR?

@stan-janssen do you plan to submit a PR for this change?