I want to return a simple text in the middle if the directory in the device doesn't exist. If it exists then just return the MyHome() page. I'm not able to see where should I place my relevant code. Please help.

Launching lib\main.dart on Android SDK built for x86 in debug mode...
Running Gradle task 'assembleDebug'...
√ Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...
Syncing files to device Android SDK built for x86...
D/EGL_emulation(12035): eglMakeCurrent: 0xed87f2e0: ver 2 0 (tinfo 0xe26b6630)
I/Choreographer(12035): Skipped 42 frames!  The application may be doing too much work on its main thread.
I/Choreographer(12035): Skipped 60 frames!  The application may be doing too much work on its main thread.
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following FileSystemException was thrown building Builder:
Directory listing failed, path = '/storage/emulated/0/WhatsApp/Media/.Statuses/' (OS Error: No such file or directory, errno = 2)
The relevant error-causing widget was:
MaterialApp-[#a8655] file:///D:/jidewasaver/lib/app.dart:13:16
When the exception was thrown, this was the stack:
#0      _Directory._fillWithDirectoryListing (dart:io-patch/directory_patch.dart:37:68)
#1      _Directory.listSync (dart:io/directory_impl.dart:243:5)
#2      new _MyHomeState (package:jidewasaver/homepage.dart:28:62)
#3      MyHome.createState (package:jidewasaver/homepage.dart:23:33)
#4      new StatefulElement (package:flutter/src/widgets/framework.dart:4584:24)
...
════════════════════════════════════════════════════════════════════════════════════════════════════

use condition on device directory and apply condition statement as
if <directory> == <directory path>:          child:          new Centre : Text("SampleText"), else:          return  homepage
(use this concept accordingly in container may help you)

Hi @theyashjha
It seems you are asking for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


formula: deprecate!/disable!: deprecate missing or non-ISO 8601 dates.

As requested in https://github.com/Homebrew/homebrew-core/issues/66360.
Do not merge until we're ready to tag 2.7.0.

Review period will end on 2020-12-10 at 11:03:42 UTC.

There might be some value in adding a style check until 2.7.0. Not sure how often we disable/deprecate formulae but given that we just released 2.6.0 it feels like this will be sitting here for a while

Sorry, fat fingers 🤦

There might be some value in adding a style check until 2.7.0. Not sure how often we disable/deprecate formulae but given that we just released 2.6.0 it feels like this will be sitting here for a while

2.7.0 will probably be a bit quicker than the wait from 2.6.0 because we've got a few pending deprecations queued up.

Okay. It's probably not a huge deal, anyway. We can always batch-add dates to deprecate! and disable! when the time comes if needed, so that's fine.

We can always batch-add dates to deprecate! and disable! when the time comes if needed, so that's fine.

@fxcoudert has already done that in https://github.com/Homebrew/homebrew-core/pull/66549 🎉

@MikeMcQuaid sorry I think you'll need to force push again, I found one formula I had missed: https://github.com/Homebrew/homebrew-core/pull/66564

Rerunning the job should be enough because CI pulls in the latest master branch from homebrew-core.
May as well wait until it's merged into linuxbrew-core as well. Plus, if this is waiting for 2.7.0, it should probably be rebased again then anyway

Review period ended.


feat!: Configurable component stopping

Pro: Removes the OnDestroy trait and Root: OnDestroy restriction.

Comes with sender.stop_with_widget() and sender.stop_with_native_dialog() to ease that burden.

I have an idea for automatically connecting the destroy with the Builder.

Nevermind. It doesn't work.

That's definitely an improvement over the status quo but maybe we can still use OnDestroy but implement it through ObjectExt which would work for NativeDialog as well.
It seems like this mechanism is actually working, it's very similar to what we have with WidgetExt::connect_destroy:
struct Dropper;

impl Drop for Dropper   {
    fn drop(&mut self) {
        // Actually drop the runtime here
        println!("DROPPED!");
   }
}

fn register_dropper(widget: impl ObjectExt) {
    let dropper = Dropper;
    let closure = gtk::glib::Closure::new(move |_| {
        // Move the "dropper"
        let _ = dropper;
        None
    });
    widget.watch_closure(&closure);
}

I think we should decide how to address this soon. There are three possible routes:

Keep OnDestroy but only require ObjectExt so basically all widgets even native ones are supported
Use additional methods to bind the lifetime to the widget or the controller from inside the component (like this PR)
Use additional methods to bind the lifetime to the widget or the controller from outside of the component (e. g. when after initialization)

Ideally, 2 and 3 should have a good default that doesn't require any code and does something reasonable (for example bind the lifetime of the runtime to the controller). Otherwise it'd be easy to forget.
Also, I think "Pro: Can kill the component externally from the controller" is something we can implement either way.

Sorry for the delay. I'll look into this soon.

@mmstick FYI ObjectExt now has a method add_weak_ref_notify thanks to https://github.com/gtk-rs/gtk-rs-core/pull/666, which should work well as a replacement for connect_destroy and allows us to drop the requirement for WidgetExt.

Sounds good

Superseded by #348


Spaces turn to tabs which makes it impossible to edit yaml files

To be able to correctly create and edit yaml files (for instance for Ansible) there needs to be a clear distinction between tabs and spaces.
First off, there is no option or setting to turn tabs in the regular spaces.
Secondly and this is even worse, when you enter spaces, these get turned into tabs.
This makes Code completely unusable for the creation and editing of Ansible or yaml (think of kubernetes config files).

This is important. Thanks for reporting.


Question on Image Queries in Decoder Layer

Hi,
First of all, I would like to commend you on your intuitive research work.
I have been reviewing your code and have a question regarding specific implementation:
Handling Image Queries in the Decoder Layer
According to Figure 2 and Section 3.2 of your paper, the image queries are supposed to be discarded after passing through the self-attention module.
However, in the code implementation, I noticed that the image queries are decoupled after the decoder layer’s forward pass, rather than being discarded as described.
Relevant Code Link: Deformable Transformer Decoder Layer

Question:

Could you clarify the discrepancy between the paper’s description and the code implementation regarding the handling of image queries?

Thanks for your interest.
For simplicity, our implementation is actually decoupling the image queries after the decoder layer’s forward pass but before calculating the loss. In Cross-Attention and FFN, there is no interaction between queries, thus it is the same  to discard image queries  after passing through the self-attention module or after the decoder layer’s forward pass.
I hope my answer is helpful to you. Best wishes!


What's new dialog upon 1st launch after app is update

https://github.com/AlphaWallet/alpha-wallet-ios/issues/3462
Zeplin:
https://zpl.io/VQ3ZgDx

Nice, where do we source the data? It can be pulled from the github release point. Or, if the SDK permits from the corresponding Play Store release.

This was started on iOS to attempt to surface specific features/experiments as we go along. So it's not intended to duplicate the release notes.
So no rush for Android but you can use it for release notes summary if you like, at your discretion :)

I will try fetching the notes from the Github release, fetching the number is striaghtforward; fetching the text may also be possible.

@JamesSmartCell all the releases could be fetched through
curl   -H "Accept: application/vnd.github.v3+json"   https://api.github.com/repos/alphawallet/alpha-wallet-android/releases
would you like me to use it?

@JamesSmartCell all the releases could be fetched through curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/alphawallet/alpha-wallet-android/releases would you like me to use it?

This looks ideal. Can you make it so? Initially let's take the update text from the notes.


Update typo in modelsRepo README

With https://github.com/Azure/azure-sdk-for-net/pull/43014 DTMIs can be versionless, updating the README to show a invalid DTMI using ; without a major.minor.

API change check
API changes are not detected in this pull request.


Shell unify commands ret val

This PR is first step to implement CI tests shell module.
I have unified usage of a function shell_cmd_precheck, now it returns error messge, not only true/false.
Return values have now follwoing meaning:

0		          if check passed
1                      if help was requested
-EINVAL	  if wrong argument count

Codecov Report

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

@@            Coverage Diff             @@
##           master   #10689      +/-   ##
==========================================
- Coverage   53.24%   53.08%   -0.16%
==========================================
  Files         214      214
  Lines       25828    25828
  Branches     5695     5695
==========================================
- Hits        13753    13712      -41
- Misses       9760     9807      +47
+ Partials     2315     2309       -6

Impacted Files
Coverage Δ

include/posix/posix_sched.h
0% <0%> (-100%)
:arrow_down:

lib/posix/pthread_barrier.c
0% <0%> (-100%)
:arrow_down:

lib/posix/pthread_cond.c
62.5% <0%> (-20.84%)
:arrow_down:

lib/posix/pthread.c
68.03% <0%> (-12.33%)
:arrow_down:

lib/posix/pthread_mutex.c
76.38% <0%> (-1.39%)
:arrow_down:

lib/posix/pthread_sched.c
62.5% <0%> (+20.83%)
:arrow_up:

Continue to review full report at Codecov.

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

@dbkinder skipping your review since the changes to doc are very minor and they don't affect doc text, only code.


add type annotations

@Kriechi ok finally this is passing, and ready for review :D !

Can you remove continuous-integration/travis as a required build?

A right, the branch requirement! Done.


Add transaction index to wallet history

Add ability to access index of the transaction in the block on FlatHistory and SpendingDetails objects.

Migrated to: https://dev.azure.com/Stratisplatformuk/StratisBitcoinFullNode/_workitems/edit/3060


Add Heatmap chart

Are you planning to create a gauge chart as well for release 0.7?

They are done already, getting ready the final details to publish 0.7.0, I hope today or at least tomorrow  is ready, here is the gauges preview

Nice. Looks really good

Registering my vote for this (heat map).

This is already supported, adding a HeatSeries to a CartesianChart.
HeatSeries properties
As any other series in LiveCharts HeatSeries inherits from LiveCharts.Wpf.Series, is contains the properties all series do plus:

DrawsHeatRange type bool: specifies if the series should draw the heat range (bar to the right)
ColdColor type Color: specifies the cold color, cells with the min value in the series will be filled with this color
HotColor type Color: specifies the hot color, cells with the max value in the series will be filled with this color

Any value between max and min will be filled with a color resulting from a linear interpolation, if you do not specify Hot and Cold colors the chart will load the defaults as it does with other series
this will be released in 0.7.4
here is an example:
https://github.com/beto-rodriguez/Live-Charts/tree/master/Examples/Wpf/CartesianChart/HeatChart
and the result:


[Editor] Add ability to make material deduping from Assimp importer optional

PR Details

Not sure if anyone else wants this feature, but I was caught out with Assimp's importer deduping my materials on my model when I didn't want it to.
Description

I've now added a checkbox so you can choose not to dedupe materials. It's ticked by default so it behaves the same as currently. However, note that FBX and Assimp importers actually behave inconsistently in this regard, since FBX importer does not dedupe materials at all.
Here's a screenshot of what the option looks like:

Note that I've only added it for the Assimp importer since it's a flag option for the importer.
I did not do it for FBX importer, I couldn't find any option for the FBX SDK (or I didn't look hard enough), and I don't want to troll though the code to figure out what the correct logic is to manually deduped it.
Note that the warning only appears if a user drags&drops a mix of fbx and non-fbx models (ie. some using assimp importer and some using fbx importer).
If only assimp importer is used, then the warning doesn't appear.
If only fbx importer is used, then no option appears for it.
The property must also exist on the ModelAsset since reloading the asset goes though the importer during loading, so we must persist telling the importer to dedupe or not dedupe.
It's not made visible because ticking/unticking doesn't update the material slots properly, so it's better to just delete the model and re-import it again with the correct options.
Motivation and Context

I exported a model from Blender as a Collada file and had multiple meshes with separate materials, but the materials shared the same texture file, so Assimp (rightly) detected they could be the same material. I still wanted the model to have all the material slots (so they could be changed at run-time), but since Assimp deduped the materials, the model ends up with less material slots.
A workaround is to force the Blender file to make each material distinct, but it's a bit of a hacky workflow.
For testing purposes (sorry, no unit tests!), attached is a Collada file (zipped so Github doesn't complain) with a model with three meshes, each with its own material but the materials are the same values (ie. can be deduped).
material_test.zip
This is what the actual model looks like in Blender. Materials are just a simple blue color.

On import with dedupe ticked, the model only has one material slot (as per default).
On import with dedupe unticked, the model has all three material slots.
After placing in the scene, changing the material's color correctly updates the right mesh (or just selecting the material will highlight the affected mesh).
The dedupe flag still persists when you select the 'update from source' options.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[X] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

This pull is now back for review after fixing a bug (the dedupe setting wasn't persisting properly).
Hopefully there's no more issues (especially since I'm actually trying to use this!).

Tested, looks good to me!
Thanks for the new feature and detailed explanation + test model!


1.1.1 release

Hi,
you have requested a release PR from me. Here it is!
This is the changelog I created:
Changes

change screenshots
Update readme
Update README
Update README
Update README
add mnemonic to setup.cfg
freeze versions on external libs
delete unused code
copy address funciton in ui
ui for sending transactions
transaction ui
switch between tokens in ui
GUI progression
basic navigation
Create first frames for UI
add licese
add new tests
integration test for get-wallet command
integration test for add-token
add new tests
write new tests add doc

You can change it by editing CHANGELOG.md in the root of this repository and pushing to 1.1.1-release branch before merging this PR.
I didn't find any files where  __version__ is set.

I just released version 1.1.1 on Github


Make the search function actually go through every possible match

Currently the search function cannot find all possible match. By using a linear transform intead of proper cipher, we can make the uuids searchable. Here's my implementation that allows search through all matchs, and still make them feels somewhat random.
https://gist.github.com/wangqr/01fdc84aeb6319d5ca7e99c984bef35b

I was looking into solving the same problem, I think this is awesome!
My maths isn't amazing, but I've spent about 5 hours trying to understand this and I think I'm nearly there.
I may be able to help explain this, and I'd love to make a PR!
One small thing I did (as a proof of concept to myself) was to reimplement the encrypt function using the matrix matA which @wangqr derived from the original encrypt function. It's cool that the whole feistal cypher can be replaced with a simple matrix multiplication!
def encrypt2(value):
    results = []
    for y in range(UUID_ENTROPY):
        result = 0
        for x in range(UUID_ENTROPY):
            result += ((matA[y] >> x) & 1) * (value >> x) & 1
        results.append(result % 2)
    results.reverse()
    encrypted = 0
    for result in results:
        encrypted = (encrypted << 1) | result
    return encrypted

Although you still nee the feistal cypher to generate the matrix in the first place. I'm not sure how you could eliminate that, because I have no idea how to randomly generate an invertible matrix.

I created a modified version with less mathsy variables, more documentation, and some tweaks for my understanding: https://gist.github.com/peterjwest/cc7d23201aa2051cd123276aee544074
I also added an optimisation for short queries (3 or less hex values) which can be brute forced very quickly.
@wangqr One thing I do not understand is why you need both the character mapping AND the index offset? The offset seems sufficient to me (although the character mapping is pretty neat).
Unfortunately I'm not sure if the performance would be good enough for search right now. One example I found, a search for 'abcd-' with direction = -1, INDEX_OFFSET = 0, and character mapping disabled takes about 30 seconds to solve. Looking into it, it is just doing a LOT of backtracking. A search for 'abcd' with the same criteria takes even longer (about 2 minutes?) because it includes the previous search and many more.
In general a 4-7 character queries can take several seconds each, so I think more optimisation is needed.

 A simple optimization is to remove the known part from the matrix, so we don't solving the MSB part again:

def remove_msb_part_from_matrix(partial_matrix: list[int], uuid_known_bits: list[int], known_part: list[int], starting_index: int):
    known_part_binary = 0
    for index, bit in enumerate(known_part):
        known_part_binary |= bit << index

    known_part_binary <<= starting_index

    new_uuid_known_bits = [x ^ ((partial_matrix[i] & known_part_binary).bit_count() & 1)
        for i, x in enumerate(uuid_known_bits)]
    bit_mask = (1 << starting_index) - 1
    new_partial_matrix = [x & bit_mask for x in partial_matrix]
    return new_partial_matrix, new_uuid_known_bits

def find_next_index(partial_matrix: list[int], uuid_known_bits: list[int], start_index_bits: list[int], direction: int):
    '''
    Finds the index for the next uuid which matches the known bits supplied in the specified direction.

        Parameters:
            partial_matrix: Matrix rows corresponding to known bits.
            uuid_known_bits: Known bits of the UUID
            start_index_bits: The index of the point to start searching from.
            direction: The direction to search in: 1 or -1.
    '''
    partial_solution = solve(partial_matrix, uuid_known_bits, len(start_index_bits))

    if partial_solution is None:
        raise Exception('Could not solve, unexpected failure')

    # When the solver finds all bits, returns the result
    if None not in partial_solution:
        return partial_solution

    # Otherwise the solver has not found a full solution, so we need to guess the next bit

    # Check if the partial solution we have (from MSB down) no longer matches the start_index
    last_empty_index = len(partial_solution) - 1 - partial_solution[::-1].index(None)

    if start_index_bits[last_empty_index + 1:] != partial_solution[last_empty_index + 1:]:
        # Since the solution has already diverged from the start_index
        # we want to pick the lowest/highest value (depending on the direction)
        # to minmise the difference between this solution and the start_index.
        new_bit = 0 if direction > 0 else 1
        known_part = [new_bit] + partial_solution[last_empty_index + 1:]
        p, u = remove_msb_part_from_matrix(partial_matrix, uuid_known_bits, known_part, last_empty_index)
        return find_next_index(p, u, [new_bit] * last_empty_index, direction) + known_part

    # At this point we don't know what the next bit should be,
    # so we guess the next bit from start_index and attempt to solve again.

    known_part = [start_index_bits[last_empty_index]] + partial_solution[last_empty_index + 1:]
    p, u = remove_msb_part_from_matrix(partial_matrix, uuid_known_bits, known_part, last_empty_index)

    potential_solution = find_next_index(p, u, start_index_bits[:last_empty_index], direction) + known_part

    # Check if potential_solution is valid by checking if it's greater than or less than start_index,
    # depending on the desired direction.
    if compare_values(from_bits(potential_solution), from_bits(start_index_bits)) == direction:
        return potential_solution

    # Otherwise try the
    known_part[0] ^= 1
    p, u = remove_msb_part_from_matrix(partial_matrix, uuid_known_bits, known_part, last_empty_index)
    return find_next_index(p, u, [0 if direction > 0 else 1] * last_empty_index, direction) + known_part

As for the TODO part in solve, it is not needed at all because we only care about MSB part. We can optimize more aggressively, by stop back subtitution once we encounter a unknown bit

def solve(matrix: list[int], uuid_known_bits: list[int], len_x: int) -> list[int]:
    # ... Beginning part not modified ...

    solution = solve(sub_matrix, sub_known_bits, len_x - 1)

    # Stop back subtitution if already have unknown bit
    if solution and solution[0] is None:
        return [None] + solution

    # Perform back subtitution, calculating the new bit and appending to solution
    solution = [bit] + solution
    for i in range(1, len(solution)):
        if row >> i & 1 == 1:
            # Now solution won't contain None
            # if solution[i] is None:
            #     # TODO: @wangqr suggests this can be potentially still solved some cases
            #     solution[0] = None
            #     break
            solution[0] ^= solution[i]
    return solution

With these 2 optimizations, it now takes about 1 second to do all 16 searchs for "abcd" on my computer.
A further optimization is to preprocess partial_matrix into Row Echelon Form before calling find_next_index, so we only do gaussian elimination once, and in find_next_index only do back subtitution.

I'm not sure how you could eliminate that, because I have no idea how to randomly generate an invertible matrix.

Well, to randomly generate an invertible matrix, you just generate it and check if it is invertible:
# Calculate rank of matrix on GF(2) using Gaussian elimination
def rank(A: list[int]) -> int:
    A = [ai for ai in A if ai]  # filter zero rows
    if not A:
        return 0

    r = -1
    for i, ai in enumerate(A):
        if ai & 1:
            r = i
            break
    if r < 0:
        return rank([ai >> 1 for ai in A])
    else:
        ar = A[r]
        return 1 + rank([(ai^ar) >> 1 if ai&1 else ai >> 1 for ai in A])

# Generate the 122x122 matA, make sure it is full rank
matA = []
while rank(matA) != 122:
    matA = [random.randrange(1 << 122) for _ in range(122)]

According to this answer, there's a 71% chance the generated matrix is invertible. If it's not, just try again.

To recreate my slow test case, you need to specifically use:
INDEX_OFFSET = 0

def enc_uuid(uuid: str) -> str:
    return uuid

def dec_uuid(uuid: str) -> str:
    return uuid

I tried your optimisation and it reduced the test time for "abcd" to about 10 seconds, which is incredible!
I need to spend a few hours understanding how it works now 😅.

A further optimization is to preprocess partial_matrix into Row Echelon Form before calling find_next_index, so we only do gaussian elimination once, and in find_next_index only do back subtitution.

Here is the implementation of this optimization:
https://gist.github.com/wangqr/9a84a7ea3e7733d5c3edfb1c9564adc9


Add error message if javac or kotlinc are not found

Describe the bug
In a situation where there is no compiler, the plugin does not show an error.

Describe the bug In a situation where there is no compiler, the plugin does not show an error.

This issue is important.
If there is no Kotlin compiler in the PATH, the user will see an error about LLM not being able to generate compilable tests, which is wrong and misleading (a user cannot solve this error because he is not pointed at the right cause). As we discussed with @Frosendroska, there is no easy solution to locate the Kotlin compiler (unlike the Java compiler). Therefore, we decided to explicitly show an error that prompts users to set the kotlin compiler into PATH.


Implement sorting by multiple fields for ES queries

back to you, @emilssolmanis

Looks pretty good to me, just a few extra comments and naming of Node would make it extra good


Add Lean support

Lean is a functional programming language and an emerging proof assistant.
https://lean-lang.org/
https://leanprover-community.github.io/
Related issue: #3734

sorry i'm no expert on GitHub, but does this mean this has not been merged?

I would like to see this merged. I think the Lean user base is large enough at this point to justify it.

Me too. @RunDevelopment @Golmote  could you make an exception and review this PR?


[Lecture 11][1216] Leaky ReLU and ReLU

In general, I understand that the discriminator uses a Leaky ReLU, and the generator uses a ReLU.
Many of GAN models follow this form,
Q. Why do many GAN models use the Leaky ReLU only in the discriminator? Is it because the generator doesn't have to use the Leaky ReLU?
Q. If the above question is correct, doesn't the generator have a Dying ReLU issue?
Q. So, why does the discriminator have a Dying ReLU issue and the generator does not have a Dying ReLU?

@marudevelop
Thank you for the question!
In fact, the tendency to use Leaky ReLU solely for the discriminator is largely based on trial and error (an engineering observation).
Additionally, the issue of Dying ReLU is significantly alleviated when using feature normalization techniques, such as Batch Normalization (BN). For example, in ResNet, despite stacking over a hundred layers with ReLU, the Dying ReLU problem is not encountered, thanks to the use of BN.


Allow to expose types within custom namespaces

Background
Host types are by default exposed to script code in the global namespace, i.e. as global script items, optionally with a custom name.
The HostTypeCollection allows to add types that are exposed in a JavaScript "namespace"/object hierarchy. The exposed types however are available under the name given from ScriptEngine.AddHostObject(string, object), combined with their real C# namespace.
Problem
No custom script namespace hierarchies are possible. This prevents designing proper script APIs that don't expose the internal structure.
Feature request
Extend HostTypeCollection with a way to add types with a custom name plus optional namespace hierarchy.

If someone is interested, I could share a way that at least allows a "NamespacedHostObject", making use of the PropertyBag class, like HostTypeCollection does. That works sufficiently, because PropertyBag.SetPropertyNoCheck(string, object) can add arbitrary objects without having to wrap them.
It would still be nice to also have native support for that...

Hi @c-s-n,
You can hide the managed namespace hierarchy very easily. Consider this managed class:
namespace MyNamespace {
    public class Util {
        public static void doSomething() {
            // do something
        }
        public static void doSomethingElse() {
            // do something else
        }
    }
}

Suppose also that you want to expose a logging method based on Console.WriteLine. Here's how you might do that:
var lib = new HostTypeCollection();
lib.AddType(typeof(MyNamespace.Util));
lib.AddType(typeof(System.Console));

dynamic installApi = engine.Evaluate(@"(
    function (lib) {
        myApi = {};
        myApi.util = lib.MyNamespace.Util;
        myApi.console = { log: lib.System.Console.WriteLine };
    }
).valueOf()");

installApi(lib);

Your script code can then do this:
engine.Execute(@"
    myApi.util.doSomething();
    myApi.console.log('Hello!');
");

As you can see, you can expose classes and even individual members nested arbitrarily within native script hierarchies.
Good luck!

Dear @ClearScriptLib,
this approach indeed works as expected! Thank you for this idea.
Still, it might be beneficial to have that configurable solely on the C# side, so let's leave the "request" label in place.
Note: I'm using that with a modified ClearScript.Manager (that now uses your latest NuGet package) and that also works fine, as I can gain raw access to the ScriptEngine before running the actual script.

We believe that the combination of PropertyBag and ToHostType provide the means to expose arbitrary host type hierarchies entirely from managed code. Please reopen this issue if you have further questons or concerns on this topic.


lcd: Use less memory on the commands queue handling.

Since the porting from the old, synchronous I2C API, the correct data
structure to hold the commands of the I2C queue would be the pointer
vector. By using that, we avoid copies.

Since we have to address small OSes, I attacked this item that was on my TODO-list to
lower the memory usage on this node.

+2

Cool, merging.


if folder has index.csv, index.yml is created

after import-csv -> update

fixed in 8cdb8ffb16fdc20e21a3cdb0e81f1484ada2e5ca


Inference from different layers - feature extraction

Hi,
Please how can one edit the imagenet classification sample code to output features from intermediate layers, i.e. instead of the class probabilities.
Thanks

solved by myself. Thanks

solved by myself. Thanks

hi! I have encountered the same problem and can't find a solution.
could you show me your solution to extract features from the intermediate layers?

Hi I have the same problem too, will you please share your solution?

Hi I have the same problem too, will you please share your solution?

It would involve editing jetson-inference/c/imageNet.cpp to specify more output layers - like here:
https://github.com/dusty-nv/jetson-inference/blob/0fd4a76101be5c9af4723a9e8376018dfa462be4/c/imageNet.cpp#L138
There is another overload of tensorNet::LoadNetwork() to use that accepts an array of output layer names:
https://github.com/dusty-nv/jetson-inference/blob/0fd4a76101be5c9af4723a9e8376018dfa462be4/c/tensorNet.h#L237

It would involve editing jetson-inference/c/imageNet.cpp to specify more output layers - like here:
https://github.com/dusty-nv/jetson-inference/blob/0fd4a76101be5c9af4723a9e8376018dfa462be4/c/imageNet.cpp#L138
There is another overload of tensorNet::LoadNetwork() to use that accepts an array of output layer names:
https://github.com/dusty-nv/jetson-inference/blob/0fd4a76101be5c9af4723a9e8376018dfa462be4/c/tensorNet.h#L237


I'am using on Prime!

Hello, I'am using this chat on my prime account. I'am using aim bot with silent Fov 20. And just chams. No wall hack. Without i use vac bypass. Can i get ban? Pleas give me info. Thanks...

 Thanks.

You should definitely use vac bypass just in case, cuz people say osiris is detected

I am using. But i have lots of junk code. Is this detected ?

as low as 2 FOV has gotten me called out by teammates.
not using wallhack doesn't make you any more legit?
vac bypass may get you a VAC Auth.
junk code does nothing
idk how fov is calculated but i think 20 fov is around a 3rd of your screen size. (not at all legit)
please only use osiris on non-prime accounts, it's a medium sized public cheat and could be sigged at any moment.


murax_basys test produces RAM64X1D

murax_basys test produces RAM64X1D that does not work when trying to load back into Vivado with toplevel_bit.v.tcl
toplevel.eblif.log

Here is the bitstream, .v and .v.tcl
murax_basys.tar.gz

RAM64X1D is fine, RAM64X1S is untested.  Synth log looks okay, checking out your bitstream.

I can replicate the originally reported error, which was:
ERROR: [Vivado 12-2285] Cannot set LOC property of instance 'CLBLM_L_X10Y110_SLICE_X12Y110_RAM64X1S_C',  for bel C6LUT Conflicting nets for SLICE_X12Y110.C6LUT.WA4
Two net names are: CLBLL_L_X12Y109_SLICE_X16Y109_D_XOR and CLBLL_L_X14Y108_SLICE_X20Y108_DQ
Resolution: When using BEL constraints, ensure the BEL constraints are defined before the LOC constraints to avoid conflicts at a given site.

However I can see what the problem is via the FASM:
CLBLM_L_X10Y110.SLICEM_X0.ALUT.DI1MUX.BDI1_BMC31
CLBLM_L_X10Y110.SLICEM_X0.ALUT.RAM
CLBLM_L_X10Y110.SLICEM_X0.BLUT.DI1MUX.BI
CLBLM_L_X10Y110.SLICEM_X0.BLUT.RAM
CLBLM_L_X10Y110.SLICEM_X0.CLUT.DI1MUX.CI
CLBLM_L_X10Y110.SLICEM_X0.CLUT.RAM
CLBLM_L_X10Y110.SLICEM_X0.DLUT.RAM

It is a problem that CLBLM_L_X10Y110.SLICEM_X0.CLUT.DI1MUX.CI was emitted.  Unclear why that would be.
To debug further, please attach the arch.xml, rrgraph.xml, .net, .place, and .route files.  This could be latent bug in either VPR's FASM emission, or an arch definition error.  Unclear right now.

Here is everything but the rr_graph
murax_basys_more.tar.gz

Split rr_graph
xaa.zip
xab.zip
xac.zip
xad.zip
xae.zip

I can see in the .net that the packer choose to use the CLUT.DI1MUX.CI, but this behavior is unexpected given that the CLUT.DI1MUX.DI net was already the correct net.  By choosing to change the mux to the CI port, an additional sink needed to be routed for the murax.system_apbBridge._zz_6[4] net.  I've never seen the VPR packer behavior this way (modify a mux when not required and add a sink to a net).  This likely constitutes a VPR bug, I'll need to consult with the VPR devs.
Which version of VPR did you use to pack murax?

Here is a version of murax with working Verilog and TCL, and a Vivado DCP: good_murax.tar.gz

@andrewb1999: Please run murax_basys_route_echo and attach the pre_pack ... echo file.

@litghost
Using VPR version from conda:
VPR FPGA Placement and Routing.
Version: 8.0.0-rc1+52120acea
Revision: vpr-7.0.5-7559-g52120acea
Here is the pre_pack echo:
pre_packing_molecules_and_patterns.echo.tar.gz


Reduce logging of List final flexmark options to debug level

This resolves https://github.com/walokra/markdown-page-generator-plugin/issues/60 ensuring normal execution of processMarkdown does not produce any INFO output.
Produces a single debug level message for for final flexmark option information

Aside: I tried looking up if maven was in batch mode, so we could selectively provide less feedback when not in an interactive environment, but did not find a useful example.

Thanks for the PR. In normal execution it's reasonable to produce less output and these log messages were indeed more of a debug type.

Thanks for merging, sorry I could not figure out how to detect if it is in batch mode (which would of provided the best of both worlds).

Aside: I tried looking up if maven was in batch mode, so we could selectively provide less feedback when not in an interactive environment, but did not find a useful example.

@jodygarnett you can use the injected MavenSession session field to know if Maven is executed in interactive or batch mode:
this.session.getSettings().isInteractiveMode()

MdPageGeneratorMojo.java already have a session field available:
https://github.com/walokra/markdown-page-generator-plugin/blob/c483db705db9d139ee41543ebbe17d8e9e78d32a/src/main/java/com/ruleoftech/markdown/page/generator/plugin/MdPageGeneratorMojo.java#L117-L121


NuGet package install support

C# like installing of nuget packages

We tried to get this once before and nuget rejected our pull request. It may be time to try again.

@JaggerJo can you tell us more about your scenario? What Python environment are you using (CPython, IronPython) and what type of packages would you like to install from NuGet?
While we have our own ideas on why NuGet would be useful, having real customer scenarios that we can point to is valuable when discussing with NuGet team.

@huguesv
IronPython
I am using IronPython [v<IP_ADDRESS>] with the current Python Tools for VS
Usecase
I want to install NuGet packages => download the dlls and reference them in IronPython (For Example Nancy (HTTP Webserver))

@zooba
Yes, PIP support for normal Python is great, but for IronPython the equivalent in NuGet..

Pythonnet will also benefit from nuget packages:
https://github.com/pythonnet/pythonnet/issues/165

pythonnet now supports nuget:
https://www.nuget.org/packages/pythonnet/2.3.0-py27-dotnet
https://www.nuget.org/packages/pythonnet/2.3.0-py35-dotnet
https://www.nuget.org/packages/pythonnet_py27_dotnet/
https://www.nuget.org/packages/pythonnet_py35_dotnet/

Is there any plans to develop this?
As a concrete example of my usage, I want to download a plotting library (in particular, https://lvcharts.net/) from NuGet for use in my IronPython + WPF application.


bs can be added with an empty IP

the is an error but the bs is not rolled back

fixed in 872157c5c78fdd637a4e7ff3c3daba61a0efdfa0


⚠ Bofrost.at has degraded performance

In 4ac8f1f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1540 ms

Resolved: Bofrost.at performance has improved in f674b4c after 9 minutes.


feed not showing in django

First of all, thanks @stevenschobert for this great plugin.
I'm trying to use it in a django application, in the following way:
var userFeed = new Instafeed({
        get: 'user',
        userId: 13740*****,
        accessToken: '13740*****.46*****.90b1f6a020e947038a852950ab6*****',
  limit: 9,
  resolution: 'low_resolution',
  sortBy: 'most-recent',
    });
userFeed.run();

I tried it on http://codepen.io, and it worked. However, I can't get it to work on django. I have an html template "instagram_feed.html"
{% load staticfiles %}

var userFeed = new Instafeed({
        get: 'user',
        userId: 13740*****,
        accessToken: '13740*****.46*****.90b1f6a020e947038a852950ab6*****',
  limit: 9,
  resolution: 'low_resolution',
  sortBy: 'most-recent',
    });
userFeed.run();

and then index.html
{% extends "base.html" %}

{% block social_sdk %}
{% include "facebook_sdk.html" %}
{% include "twitter_sdk.html" %}
{% include "instagram_feed.html" %}
{% endblock %}

{% block main_content %}
...

...
{% endblock %}

where the block social_sdk is just after the  tag in base.html. Both facebook_sdk.html and twitter_sdk.html contain JavaScript under a

@martibosch It looks like you might be loading in that script block with all the Instafeed.js code before the
. This means that Instafeed.js won't be able to see that div when it tries to run, since it isn't yet on the page.
You need to either load that block after the
, or wrap your Instafeed.js code in something so that it doesn't run until the entire page is loaded.
Let me know if you need further help with doing that.

I struggled a little bit, and it was something as missing the closing dobule quotes:

replaced by

Thanks anyway @stevenschobert and sorry for posting the issue.

Ah! Didn't even notice that, sorry. Glad you got it worked out.


(feature) Publish project on GitHub through STACKn studio

Changes have been done to the following STACKn components:

file-controller
studio

file-controller

added requirements.txt and adjusted Dockerfile respectively
added new endpoint for publishing a project on GitHub

studio

added section in the Settings page where the admin can push the project's directory to GitHub

Go ahead and merge :)


500 error thrown when expanding certain migrated child pages

When clicking to expand the migrated children pages on some of the migrated pages in the tree (channel) an error is thrown. Please see attached error file. I did notice that at least one of these such pages with children that are throwing the error were previously a set of linked pages that were migrated in, perhaps that will assist in troubleshooting this further.
Error when attempting to expand child elements of some pages within the channel tree.txt

Hi @purquhart, to successfully resolve issue i will need reproduction steps or attest know how data looks in source instance and its version.
Could you give me export of those data? simple for xml auto export should be sufficient SELECT * FROM dbo.View_CMS_Tree_Joined WHERE ##YOUR_FILTER## FOR XML AUTO

Hi @tkrch could please provide me with an email to send the export file?

Thank you @tkrch I've sent the relevant data directly to your temp email.

Hi @tkrch I retried the migration with the changes published to master and it's still failing, here's an example that includes the parent page (that fails when I click the "+" on the item in the tree), and its child structure (below). However, I tried something to see if it might be related to the migration of linked pages, and it appears it is as far as the 500 error goes - I deleted the linked pages in a different section of the tree (which are linked to the products pages) and the 500 error does not happen anymore. Would you like a copy of the source db to run the migration against it and look into it further?
<WPI WebPageItemID="439" WebPageItemParentID="45" WebPageItemGUID="9BC813B5-9943-5B73-A356-E3FD58473C09" WebPageItemName="producta-q81ldoq1" WebPageItemTreePath="/Products/productcategory/producta" WebPageItemWebsiteChannelID="1" WebPageItemContentItemID="439" WebPageItemOrder="12">   <WPUP WebPageUrlPathID="813" WebPageUrlPath="/Products-en/productcategory/producta" WebPageUrlPathHash="CDD37B3A8452A9568090B7D80198F828264B647BA4D77E3787BEF3B140F26B57" WebPageUrlPathWebPageItemID="439" WebPageUrlPathIsLatest="1" WebPageUrlPathGUID="C499D967-DB45-540D-9DCF-6AA96BFB06BA" WebPageUrlPathWebsiteChannelID="1" WebPageUrlPathContentLanguageID="1" WebPageUrlPathIsDraft="0" />   <WPUP WebPageUrlPathID="814" WebPageUrlPath="/Products/productcategory/producta-fr" WebPageUrlPathHash="9FEBE38492EE4B50959F31251E0A42705D5833D8D1E026D034AC12B4A2E40EB3" WebPageUrlPathWebPageItemID="439" WebPageUrlPathIsLatest="1" WebPageUrlPathGUID="8C1366DF-AED3-5851-A933-B220F410AE04" WebPageUrlPathWebsiteChannelID="1" WebPageUrlPathContentLanguageID="2" WebPageUrlPathIsDraft="0" /> </WPI> <WPI WebPageItemID="43" WebPageItemParentID="33" WebPageItemGUID="BBC0812A-7F75-5168-B4EF-060EE7BFDA67" WebPageItemName="productcategory-xkskwani" WebPageItemTreePath="/Products/productcategory" WebPageItemWebsiteChannelID="1" WebPageItemContentItemID="43" WebPageItemOrder="1">   <WPUP WebPageUrlPathID="85" WebPageUrlPath="/Products-en/productcategory" WebPageUrlPathHash="881029F22AE9D5F9757A42FDC1A02792E0C3ED02D08A048F374B1C3FEFA7FC21" WebPageUrlPathWebPageItemID="43" WebPageUrlPathIsLatest="1" WebPageUrlPathGUID="D6F05DB4-6D9E-538A-9D22-7A2093270A73" WebPageUrlPathWebsiteChannelID="1" WebPageUrlPathContentLanguageID="1" WebPageUrlPathIsDraft="0" />   <WPUP WebPageUrlPathID="86" WebPageUrlPath="/Products/productcategory" WebPageUrlPathHash="14707C6B92EB2E3778A1E692B6D4AE9D7944CDFAE009B5D5E1AD06FAC47363A9" WebPageUrlPathWebPageItemID="43" WebPageUrlPathIsLatest="1" WebPageUrlPathGUID="A2B0C7AA-D0C7-5500-8301-E6ED8B279377" WebPageUrlPathWebsiteChannelID="1" WebPageUrlPathContentLanguageID="2" WebPageUrlPathIsDraft="0" /> </WPI> <WPI WebPageItemID="33" WebPageItemGUID="AF7C956B-38A6-51E2-868B-62648E39C985" WebPageItemName="Products-oldt3blw" WebPageItemTreePath="/Products" WebPageItemWebsiteChannelID="1" WebPageItemContentItemID="33" WebPageItemOrder="34">   <WPUP WebPageUrlPathID="65" WebPageUrlPath="/Products-en" WebPageUrlPathHash="C57E76AFD9E01654323170F6A39C1562572FD215772810C3F60F3268D5D6C216" WebPageUrlPathWebPageItemID="33" WebPageUrlPathIsLatest="1" WebPageUrlPathGUID="55AB3A72-CE26-5317-AAEB-249662B7E208" WebPageUrlPathWebsiteChannelID="1" WebPageUrlPathContentLanguageID="1" WebPageUrlPathIsDraft="0" />   <WPUP WebPageUrlPathID="66" WebPageUrlPath="/Products" WebPageUrlPathHash="3D0122C8C33F4C4BD1177C11B01881A8BFBFB34CA4E31ADE7B55F84BCE0183B9" WebPageUrlPathWebPageItemID="33" WebPageUrlPathIsLatest="1" WebPageUrlPathGUID="4678FF96-526B-5244-B1D9-4DD6AA558979" WebPageUrlPathWebsiteChannelID="1" WebPageUrlPathContentLanguageID="2" WebPageUrlPathIsDraft="0" /> </WPI>


chore: Install ARM version of clang

When on Linux and using an ARM container install ARM Linux version of clang

Opened this PR in the wrong place. Need to open it in cmake_utils


Cannot find PowerDocu.GUI.exe

I have download the zip file but cannot locate the executable file.  Can you please direct me to where this is located?

Nevermind.  I was able to redownload the files and found the latest version.


please block this model which is abnormal.

What is the issue?
https://ollama.com/rouge/qwen2-7b-instruct-deccp:latest
please block this model, which is not uncensored model, but a model with political purpose. please block this model. we love ollama which is for model lover only.
OS
macOS
GPU
Apple
CPU
Apple
Ollama version
0.1.32

Personally i think everyone should have a voice and we cannot pick and choose who can and cannot speak many models are highly bias and very political if you choose to interact with them on those subjects so i do not see how voicing the matter is much different than all the companies quietly enforcing their own views as a standard of "morality"

If everything someone somewhere does not agree with is removed nothing will be left, someone somewhere always disagrees with everything.
But i do not speak for the ollama team in any way.

every morning you only wash dirty from your face, which will not result in a you with your face. can you identify which part should be cleaned?
I love ollama which is helpful for me. that model is not a model as an AI.  we have brain to identify real model and which one is dirty. Good and helpful model is welcomed and remained.
keep thought logical and rational

If you do not see it as productive or useful for you, if you do not like it, do not use it.
why must others be restricted from using what you decide is not useful for you or liked by you?
There are many models I personally do not like, so i do not use them, others like them and thats great, we are all free to use the models we like, that is why we have so many wonderful options and everyone is constantly making more, it is also kind of the purpose of ollama, to be able to choose your model and how it is used, privately according to your own wishes.

it is not a AI model, which is just trained by the data author want to say, whose purpose is not for AI. it is obviously.

It seems to just be trained on data that could be otherwise disagreeable, many models have preset responses and restrictions they will not deviate from based very heavily upon political beliefs usually under the pretences of that view being of a superior morality or ethical concerns and i agree setting specific hardcoded responses really does violate the spirit of AI, i wish that no one did that, as we can never hope to get completely accurate information from highly restricted models they instead become very complicated and costly ad campaigns for a person or more often a companies viewpoints instead of an ai model.
but sadly if you test models enough you will find almost every single model has them, it's actually very hard to find models that do not.
Silencing one viewpoint in the end wouldn't help fix this issue but only perpetuate a one sided narrative.
If you have legal concerns surrounding that model for those living in the country of china, that may be a better position to address.

it is not a AI model, which is just trained by the data author wants to say, whose purpose is not for AI. it is obviously.
yes. I agree I can just ignore it. But I do not want to lose ollama which is a website focus on AI models, should not be abused by someone who does not share the same vision with us who focus on AI!

So you want to combat censorship with more censorship?

it is not a AI model, which is just trained by the data author wants to say, whose purpose is not for AI. it is obviously.

yes. I agree I can just ignore it. But I do not want to lose ollama which is a website focus on AI models, should not be abused by someone who does not share the same vision with us who focus on AI!

So you want to combat censorship with more censorship?

That was kind of my point too i mean, the person who made it seems to be trying to add data in an attempt to combat censorship in a way and then we could call that censorship of the accepted narrative setup by the creators of the model and now we see calls for censorship to censor the content that is censoring the views of censorship, wow, what a spiral...
Everyone should just be free to learn what they want and use what they want and whatever is most accurate and acceptable will get used. Censorship is never the answer.

it is not a AI model, which is just trained by the data author wants to say, whose purpose is not for AI. it is obviously.

yes. I agree I can just ignore it. But I do not want to lose ollama which is a website focus on AI models, should not be abused by someone who does not share the same vision with us who focus on AI!

So you want to combat censorship with more censorship?

That was kind of my point too i mean, the person who made it seems to be trying to add data in an attempt to combat censorship in a way and then we could call that censorship of the accepted narrative setup by the creators of the model and now we see calls for censorship to censor the content that is censoring the views of censorship, wow, what a spiral...
Everyone should just be free to learn what they want and use what they want and whatever is most accurate and acceptable will get used. Censorship is never the answer.

It would be better to evaluate independently all the published models and show the information in the model zoo pages... Not only about censorship but also for gender bias and other equality concerns.

it is not a AI model, which is just trained by the data author wants to say, whose purpose is not for AI. it is obviously.

yes. I agree I can just ignore it. But I do not want to lose ollama which is a website focus on AI models, should not be abused by someone who does not share the same vision with us who focus on AI!

So you want to combat censorship with more censorship?

That was kind of my point too i mean, the person who made it seems to be trying to add data in an attempt to combat censorship in a way and then we could call that censorship of the accepted narrative setup by the creators of the model and now we see calls for censorship to censor the content that is censoring the views of censorship, wow, what a spiral...

Everyone should just be free to learn what they want and use what they want and whatever is most accurate and acceptable will get used. Censorship is never the answer.

It would be better to evaluate independently all the published models and show the information in the model zoo pages... Not only about censorship but also for gender bias and other equality concerns.

I agree it would be better to just allow everyone to list concerns of any kind then each user can evaluate on their own whether the concern is a positive or negative for them or their use case personally. Everyone has different beliefs and opinions and no one wants to be on the other side of censorship.
I mean what if you want to use a model to write a story for example and you want a character or something and the model will NOT violate its programming to play that character or take on its persona to generate that viewpoint because "that's bad" but thats the whole point of the character.....
There are many reasons to want to generate content besides "if you don't agree you're bad and think bad things" as people tend to see it. It is pretty wild how strictly models are made to only hold one view and never ever contradict it.
The ai is supposed to do what we tell it to.


Tooltips not rendering properly

Please complete the following fields as applicable:
Expected behaviour:
Given I am signed in as a User,
When I hover over a form field,
Then I should see a black tooltip to the right of the field
Actual behaviour:
The tooltip appears at the bottom left of the page and is not black.
Steps to reproduce:
Sign in on the current development branch and hover over a form field

Duplicate of #1722, closing.


use dict.get() call when retrieving props form page

Use dict.get() method to avoid KeyError when a page has no external links. The WikipediaPage.references property will return a blank list instead when this happens.
Fixes issue https://github.com/goldsmith/Wikipedia/issues/93

Use dict.get() method to avoid KeyError when a page has no external links. The WikipediaPage.references property will return a blank list instead when this happens.
Fixes issue #93

The above mentioned solution doesn't fix the keyerror.


[fpv] Add a testbench for prim_double_lfsr

Add a FPV testbench for prim_double_lfsr, please remember to add assertions to check err_o goes out of sync.

Deferring this to M3 as part of V3 coverage closure. Related: #14847

This is already checked in individual IPs:
if the IP has double_LFSR, the design will have assertions: ASSERT_PRIM_DOUBLE_LFSR_ERROR_TRIGGER_ALERT,
Then in sec_cm FPV testbench, we will blackbox both prim_lfsr , and trigger err_o output.
So this is already covered in security IPs FPV bench.
Please feel free to re-open the issue if you have any questions.


Documentation house keeping

Reference.md has been integrated into Readme.md
Cordova and Titanium References have been removed
Integration Checklist has been removed
Additional Resources has been removed
New branch.banner options have been documented correctly (my bad)

:+1:


FrequencyWords is not MIT licensed

Hello,
Language packs are under MIT (https://github.com/zxcvbn-ts/zxcvbn/blob/master/packages/languages/pl/package.json#L9)
A language pack description states that Files based on that data and used to generate zxcvbn-ts dictionary are available publicly on https://github.com/hermitdave/FrequencyWords (MIT licensed) (https://github.com/zxcvbn-ts/zxcvbn/tree/master/packages/languages/pl), however the https://github.com/hermitdave/FrequencyWords repo description states that:

MIT License for code.
CC-by-sa-4.0 for content.

Hey, thanks for the report. This is kinda annoying....
I will search for some other lists....


Duplicate precond_update_prob_schedule

The following function overwrites the import of precond_update_prob_schedule from utils.
https://github.com/ClashLuke/HeavyBall/blob/443c67bbcbb9174ffbef97eb276324941a5ea879/heavyball/psgd_kron.py#L13-L32

Excellent find, thank you! It's fixed in 0.12.6


⚠ Bofrost.de has degraded performance

In b7b7baa, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1811 ms

Resolved: Bofrost.de performance has improved in 98506b8 after 16 minutes.


No mcopy support via LSP

It seems the tree-sitter parser doesn't recognise mcopy as a yul_evm_builtin, so it results in the diagnostic: 'Function "mcopy" not found'.

No error as of Wake 4.4.0 and evm_version = "cancun". Thank you for the great job!


X11/Xlib.h randomly missing from environment

Describe the bug
This bug is similar to #1087 in a way it relates to environment inconsistency.
This time it's for macOS environment and the X11/Xlib.h header. Most of the time (95%) the header is present and things build properly. But from time to time we get the following error:
...(truncated)...
[DEBUG   ] building '_tkinter' extension
[DEBUG   ] clang -Qunused-arguments -fcolor-diagnostics -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall --sysroot=/Applications/Xcode_11.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -arch x86_64 -mmacosx-version-min=10.12 -I/Users/runner/runners/2.263.0/work/kivy-ios/kivy-ios/dist/hostlibffi/usr/local/include --sysroot=/Applications/Xcode_11.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -arch x86_64 -mmacosx-version-min=10.12 -I/Users/runner/runners/2.263.0/work/kivy-ios/kivy-ios/dist/hostlibffi/usr/local/include -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -I/Users/runner/runners/2.263.0/work/kivy-ios/kivy-ios/build/hostpython3/x86_64/Python-3.8.2/Include/internal -DWITH_APPINIT=1 -I/System/Library/Frameworks/Tcl.framework/Headers -I/System/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders -I/System/Library/Frameworks/Tk.framework/Headers -I/System/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders -I/usr/X11R6/include -I. -I/Users/runner/runners/2.263.0/work/kivy-ios/kivy-ios/dist/hostpython3/include -IObjects -IPython -I/usr/local/include -I/Users/runner/runners/2.263.0/work/kivy-ios/kivy-ios/build/hostpython3/x86_64/Python-3.8.2/Include -I/Users/runner/runners/2.263.0/work/kivy-ios/kivy-ios/build/hostpython3/x86_64/Python-3.8.2/native-build -c /Users/runner/runners/2.263.0/work/kivy-ios/kivy-ios/build/hostpython3/x86_64/Python-3.8.2/Modules/_tkinter.c -o build/temp.macosx-10.15-x86_64-3.8/Users/runner/runners/2.263.0/work/kivy-ios/kivy-ios/build/hostpython3/x86_64/Python-3.8.2/Modules/_tkinter.o -framework Tk
[DEBUG   ] In file included from /Users/runner/runners/2.263.0/work/kivy-ios/kivy-ios/build/hostpython3/x86_64/Python-3.8.2/Modules/_tkinter.c:48:
[DEBUG   ] /Applications/Xcode_11.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/tk.h:86:11: fatal error:
[DEBUG   ]       'X11/Xlib.h' file not found
[DEBUG   ] #       include <X11/Xlib.h>
[DEBUG   ]                 ^~~~~~~~~~~~
[DEBUG   ] 1 error generated.
[DEBUG   ]
[DEBUG   ] Python build finished successfully!
[DEBUG   ] The necessary bits to build these optional modules were not found:
[DEBUG   ] ossaudiodev           spwd
[DEBUG   ] To find the necessary bits, look in setup.py in detect_modules() for the module's name.
[DEBUG   ]
[DEBUG   ]
[DEBUG   ] The following modules found by detect_modules() in setup.py, have been
...(truncated)...

https://github.com/kivy/kivy-ios/runs/718264436?check_suite_focus=true
Area for Triage:

Question, Bug, or Feature?:
Bug
Virtual environments affected

[x] macOS 10.15
[ ] Ubuntu 16.04 LTS
[ ] Ubuntu 18.04 LTS
[ ] Ubuntu 20.04 LTS
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Expected behavior
We would except the header is either never there or always there, but it should be consistent.
Actual behavior
Sometimes the header is there, sometimes not.
https://github.com/kivy/kivy-ios/runs/718264436?check_suite_focus=true

Hello, @AndreMiras !
We have found the similar situation here: https://github.com/pinax/pinax-project-teams/issues/1
I have forked your repository and add link creation:
- name: Build Python & Kivy
      run: |
        ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers/X11/ /usr/local/include/X11
        python toolchain.py build python3 kivy

Build has been successful and has no any errors:
https://github.com/andy-mishechkin/kivy-ios/runs/807405836?check_suite_focus=true
May you add this link creation to you workflow and to test it ?
Thank you.

Thanks for the follow up @andy-mishechkin
Yes we can definitely add that, actually we could just pull request from your fork (if we remove the echo $PATH debugging) https://github.com/kivy/kivy-ios/compare/master...andy-mishechkin:master
But won't that feel like a workaround for the original issue?

Hello, @AndreMiras.
We have the same images in all your workflows, and I see that you have this error in successful build:
https://github.com/kivy/kivy-ios/runs/815842435?check_suite_focus=true :

Hello @AndreMiras
Have you had a chance to test this approach in your workflow ?
May you inform us, please, if your issue was fixed.
Thank you.

Thanks for investigating into it @andy-mishechkin
I got a bit busy lately and I will until end of next week, but I will definitely try to look into it after that.
It's on my todo list and I'll keep you updated with it. Thanks a mil :+1:

Hello @AndreMiras !
Did you have a chance to test the proposed fix? Do you have any updates?
We are looking forward to your reply! Thanks

I am closing this issue. Feel free to reopen if you have any questions


Add AppVeyor build

Adds a generic build to AppVeyor under my account for #95.

I don't mind setting this up under mine. Any objections @JakeGinnivan?

Nope, I am reading all this, but don't have time to look until tonight. Happy to help then
Sent from my Windows Phone

From: Brendan<EMAIL_ADDRESS>Sent: 16/06/2015 09:50
To<EMAIL_ADDRESS>Cc: Jake<EMAIL_ADDRESS>Subject: Re: [carnac] Add AppVeyor build (#96)
I don't mind setting this up under mine. Any objections @JakeGinnivanhttps://github.com/JakeGinnivan?
—
Reply to this email directly or view it on GitHubhttps://github.com/Code52/carnac/pull/96#issuecomment-112344328.

No rush


How do I install the prettier schema?

Are there any resources on that yet?

I am not sure what you are referring here. If you referring to the auto-formatting extension that we provide for vscode, you can get it from here: https://marketplace.visualstudio.com/items?itemName=Prisma.prisma
Otherwise, please elaborate your question a bit.

The OP probably has the same question I have — is there currently any way to configure prettier to format .prisma files?

@flybayer Currently no, we don't have a prettier plugin for Prisma. Right now the only way to format Prisma schema is the vscode extension.

Someone should open a proper feature request issue that explains why a pure prettier plugin would be beneficial to the VSCode extension 👍

I opened issue #1761 to request a prettier plugin.

Thanks @flybayer - I think we can close this now. If someone has additional reasons for having a prettier plugin, please post to #1761 🙏 🚀

Use npx prisma format command, for more details check help npx @prisma/cli format -h


Crash building a request with parameters that have spaces

What
If you try to build a request with parameters, and one of those parameters has spaces, it will crash.
Specifically it will crash in UrlRequestBuilder.swift in the build method.

https://github.com/carambalabs/CarambaKit/commit/51ec912bc5804d629716416e2fdcb88ce1d3856d


[Q&A] What is the intention of this project?

Out of curiosity, how come you came up with this project?
What does it do, simply a transform like: ABAP => Java => Output?
I began to learn ABAP recently and reluctantly, and found this project quite amazing. But ABAP is not a popular language.
Why you are willing to work on this project?

Oh, I see, it's Javascript, thanks to clarify it!
I notice that it's a PoC, but, how is anyone supposed to use the transpiler, I thought ABAP platform didn't support Javascript?
I know a little bit of transcompiler, and Java/Python, do you have plans to make it transpile to Java, or Python?

the transpiler runs outside of the abap stack, and the transpiled code runs outside of the ABAP stack, eg in the browser or on NodeJS
only planning to have it transpile to javascript

thank you for taking time to answer that.


feat: allow optional whitespace around variables

This should improve compatibility with Intellij (https://github.com/JetBrains/http-request-in-editor-spec/blob/master/spec.md#326-environment-variables)

thx for your PR.

@vojta7 I released your change with v5.8.2


[Juris-m] citekeys

autogenerated cite keys are a pain when used in documents not written in english. Defaulting to __XXXX where "xxxx" is the year, and non-latin characters aren't processed.

There are two options that relate to juris-m.
A. When producing a mono-lingual document, e.g. a chinese text citing chinese sources.

with force ascii disabled the cite key should look like this 名字－題名－2001. Just take the unicode from author and title field and put it in the corresponding spots.
Currently it fails to output anything from either author or title field, only date/year works since they use latin numerals (but that will not always be the case).

B.  Producing multi-lingual document, e.g. using CJK references in a german text.

BBT would ideally check for primary language of each record, and that of the juris-m primary language setting. If non-latin records appear in a latin primary language  the transliteration field with a latin character language id should be used to generate citekey hanzi_timing_2001. (which could be ascii'd or not depending on force ascii setting, so é -> e, ö -> o)
currently it doesn't check the language variant fields for author or title at all, it outputs the language id of each record, but i don't think it is aware of the juris-m primary language setting. resulting in a nondescript string.

I should note that i have no experience with producing primarily russian, japanse, … latex documents, but i m sure that there are more detailed requirements for working biblatex files among users from these languages. I think the trick is to use the language fields to decide what bbt should do. These aren't often used in regular zotero , but are relevant in juris-m. Guessing the script based on unicode-range is another way, but is likely to lead to trouble since script is not enough to determine language.

A.1/A.2: the [auth] etc pattern follow JabRef, which does folding; in your case, it looks like you'd want to use [Auth], or anything from the table at https://github.com/retorquere/zotero-better-bibtex/wiki/Citation-Keys#configurable-citekey-generator, which will give you what's in the Zotero reference more or less verbatim. Folding will only be applied on the generated key of you have "force..." checked.
B.1: translators don't have access to the language setting of Juris-M, so I can't check for that, but I do have access to the reference language setting. Is there a list of languages considered "latin"?
B.2: that is correct, I currently don't check those, as the recent Juris-M compatibility currently only means "doesn't error out immediately under Juris-M"; the behavior is still very much Zotero-oriented. Issue reports such as these can change that though. I think the sentence ending B.2 is cut off?
Guessing the encoding reliably is tricky, exacerbated by the fact that Javascript unicode handling is atrociously wacky. I'd rather depend on the reference telling me.

@retorquere for

A1/2 [Auth] seems to do what is needed, would it be possible to use a conditional: if the records language field is english or empty use [auth] else use ```[Auth]````?
B1/2 Frank uses RFC5646 / ISO 639-1. I'm sure we can find a list.  We would then need a separate BBT preference to avoid problems with scenario A. How about a  toggle that configures bbt to look for the primary language of the record (e.g. zh, ru, etc) and use the first latinised transcription-variant (e.g.: zh-alac97, …) to fill  [auth]according to the already existing rules?

I have the feeling this won't catch all scenarios, but should cover a lot of ground.

WRT A1/2 I'd rather not change the behavior of an existing (and widely used) pattern field. But wouldn't just using [Auth] always do what you want?
On the 2nd bullet.... would that require a toggle? In Zotero the proposed algorithm, is always going to find the (sole) version, so I'm fine with [auth] doing that, as it doesn't in practice entail a behavior change.
Currently BBT does only one thing with the Zotero language field, which is deciding whether to TitleCase certain fields. BBT never had access to field-specific language settings, so we're free to decide how to deal with those.

Yes you are correct in the first case [Auth] should work.
In the second case we have to keep in mind that while most people have use for romanised transcription in biblatex, not everybody is using latinised transcriptions . Maybe somebody transcribes arabic into hebrew? The toggle just declares I use the alphabet (and other things). Whereas no toggle says thank you no use for alphabet.

But in the case you describe, there would be no latin fallback, so it'd just pick the primary language. The toggle wouldn't actually change the behavior in this case.

I might have misunderstood you, what would be the default behaviour: in BBT preferences I change the citationkeyformat to [jurism] which uses [Auth], [Title]  instead of [auth],[title] resulting 名字－題名－2001 If I also select "force citation key to ascii" we would use the romanised transcriptions where they are present, otherwise use [auth] ?

But why add a new pattern for that if it just does [Auth][Title]? If you're referring to the [zotero] pattern, that just replicates the Zotero key generation pattern, but unless I'm mistaken, Juris-M uses the Zotero BibTeX translator and so would get the same citation keys. I added it because there was no way to reliably assemble that pattern from more basic BBT patterns, and I wanted to help people who wanted to migrate, but if you're migrating from Juris-M BibTeX, [zotero] should give you exactly the same keys.
But I meant that if the process were to be, for any given author / title:

If there is a latin version, use that
If not, but there is a version that matches the language specified for the reference, use that
If none of the above, use the first version available

this would work without change for Zotero, as 1. and 2. will always fail (no language versions) and it will pick what it always did. Still don't see what a preference would change (and I try to be conservative about adding prefs these days)

Your process makes sense, this would be a large quality of live improvement for jurism. If there are edge cases where this doesn't work, I m sure they will make themselves heard.

Do you know how Frank uses that list to decide what is Latin?

I don't think he does.

Do you have a sample I can work from? Preferably submitted by using right-click and selecting "Report Better BibTeX error"?

@retorquere bbt-error: 9I9GTW66
In juris-m Title, Editor, Publisher, and Place all have an additional field for pinyin (zh-alac) transcription, that is not exported into any bbt or zotero format via right-click -> export. See the citation.
Yang Bojun, 楊伯峻, ed. Chunqiu Zuozhuan Zhu, 春秋左傳注. 4 vols. Revised Edition. Beijing, 北京: Zhonghua shuju, 中华书局, 2000.

the citekey should be something to the effects of:
楊伯峻_春秋左傳注_2000

for non latin script users, or
Yang_ ChunqiuZuozhuan_2000

for a romanised version

OK that was dumb on my part -- the current release strips out the multi-lang parts simply to make the tests pass 😒 . Could you try with https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.49-circle-2352.xpi -- that should leave the tests intact.

Error-ID: CHNKKKBH has the full monty again.

I have a version that works, but it relies on specifying the preferred search order for language alternates. Detecting what values are romanized is sort of possible, e.g. by stripping everything that is not in the unicode letter class and seeing which alternate has the most letters left, but it feels a little iffy as an algorithm. The language preference order seems cleaner. What do you think? https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.49-circle-2354.xpi does this, it currently only has zh-alalc97 as a language preference.

There is also a version at https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.49-circle-2359.xpi which uses no language preference order but just cycles through each language present in the reference and picks the citation key that's the longest over those given languages. Which would you prefer?

FF46.0 OSX 10.11.4 JURISM <IP_ADDRESS>m37
@retorquere -2354 didn't do anything the key remained __2000-4 even after unpinning and resetting cache.
-2359 on the other generates yang_bojun_chunqiu_2000 which is wonderful, and a big step up compared to the old way of generating keys. This fits my needs perfectly.

2354 only picks those languages that are explicitly specified, so in the __2000-4 case it's most likely it didn't use zh-alalc97 for the alternates -- 2354 only has that as a preference and will ignore all the rest.
2359 does the following, for each reference:

Find all the languages in use for the reference; if, for example you have a reference with the general language set to uzbek, an uzbek title with an en alternate, and an uzbek creator with an zh-alalc97 alternate, it will try uzbek,zh-alalc97,en (in no particular order)
for each such attempt, replace the main field with its alternate, if present. That means in the zh-alalc97 round, it will not use the en version but the uzbek version

which has the downside that if you mix and match languages, the results may sometimes be surprising. 2354 with a language pref order en,zh-alalc97,uzbek can (when carefully tuned) in that particular case yield better results. I have no idea how common such mixing and matching is.
There is one further option -- I could cycle through these languages for each separate part of the key pattern instead of the key pattern as a whole, but that would require deeper changes in BBT. If you reckon mix-n-match is common enough to be an issue, I can give it a stab.

Errrr... thinking about it a little more, it would require a rewrite of substantial parts of the key generator, as cycling through the languages would have to know the results after any stuff like abbr and nopunct are applied, which I can't know when I'm picking the alternate. So not impossible, but non-trivial.

i just double-checked but all fields were all either zh, zh-alalc97, en I have no clue why 2354 didn't pick it up. As for mix n match I m sure its pretty common, but what ultimately decides the most convenient citekey is the language or input method of the tex document. Jurism covers this via language settings -> UI locale.  I would argue that for now even funky citekeys are better and more descriptive then __YYYY-(how ever many sources ones library has from that year).
I d say quick n dirty does the trick for now, until we can actually use zotero preferences.

2354 didn't pick up 'en', probably. I'll see what I can do with the UI locale.

New try: https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.50-circle-2365.xpi. This will just cycle through all available languages in the reference for each pattern part, with one limitation: if you have something like auth, it will try each language for all authors at once, so if you have 3 authors in 3 different languages, some will probably be dropped. Not going to try and fix that, it would get too complex.

with 2365 I'm back to __2000-4
about multiple authors: I don't think it ll be much of a problem, as the bibliographical item, already unifies different naming conventions to fit the primary language of the publication. This is with [zotero].

Ah, yeah, [zotero] is a little autistic that way -- it does exactly what the stock zotero citekey generator does, every flaw included, by design. Try [auth][year][0].

ahh now we have YangBojun2000 which is great.
I'm a little concerned that since [zotero] is the default, it might be off putting to users who give bbt a first try with jurism, but if you are happy with the current iteration feel free to close the issue. I d be happy to write something for the bbt-wiki, about jurism and bbt caveats, for latex users.

That is actually a point I hadn't considered. https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.50-circle-2366.xpi should be better.

Is there documentation on what the Juris-M "language" preference pane does?

If you could verify 2366, I can merge and close this.

2366 works great even with [zotero]. thanks for putting in the effort for us jurism users.


agc context deploy not rebuilding workflow.zip file

Describe the Bug
//: #  agc context deploy not rebuilding workflow.zip file, even after a destroying.
Steps to Reproduce

destroy the context
update the MANIFEST.json file
re-deploy the context.

I noticed that creation time for the workflow.zip file had not changed from the previous deployment.
Relevant Logs
Expected Behavior
//: #  I would expect that the workflow.zip would be updated when I re-deploy or destroy and deploy a context.
Actual Behavior
//: #  For the destroy and deploy the workflow.zip was unchanged from the previous deployment.
Screenshots
Additional Context
//: # I was able to fix this by running
~path/to/workfow zip workflow.zip *
~path/to/workfow aws s3 cp workflow.zip s3://path/to/workflow.zip
~path/to/workfow rm workflow.zip

Operating System: Ubuntu 20.04
AGC Version: 1.5.1
Was AGC setup with a custom bucket: No
Was AGC setup with a custom VPC: No

Thanks for reporting the issues. Is this still an issue with the latest release 1.5.2?

This is still happening in 1.6.0; using the same setup and OP.
Operating System: Ubuntu 20.04
AGC Version: 1.6.0
Was AGC setup with a custom bucket: No
Was AGC setup with a custom VPC: No


#226: Fix for PipelineManagerSpec sporadic failures.

Thanks for your pull request.  Please review the following guidelines.

[ ] Title includes issue id.
[ ] Description of the change added.
[ ] Commits are squashed.
[ ] Tests added.
[ ] Documentation added/updated.
[ ] Also please review CONTRIBUTING.md.

Note that processors became a TrieMap as there is potential concurrent update at startup. This map is not concurrently accessed otherwise at runtime. Ideally, the PipelineManager should be an Actor. But that would be a future step.

LGTM

No new tests or documents needed. This is just a bug fix.


Corrected jolokia artifact url in s2i java images

Corrected jolokia artifactId in java S2I images

Thanks ;-) This part of the Dockerfile comes from a template (in templates/Dockerfile) where it is created by fish-pepper (a Dockerfile templating tool). So its a bit more complicated, but I will fix this.
It also depends whether you are using 2.x or 1.x of Jolokia since the artifact names has been changed slightly for the jvm agent.
we are doing a release soon, I'll ensure that it will be the correct URL.
thanks again ;-)

Its already included now on master. thanks again.


[taglib] add usage file

Doesn't change anything in the port, just adds a usage file because I had difficulties figuring it out. As per this answer.

Please add below changes for this PR:

Modify the value of "port-version" from 1 to 2 in the ports/taglib/vcpkg.json file.
Add below sentence into the end of the ports/taglib/portfile.cmake file:
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
Run .\vcpkg x-add-version taglib --overwrite-version

Moving the PR to draft. Please set it to "ready for review" once changes have been applied and the CI check passed.

Usage passed with following triplets:
x86-windows
x64-windows
x64-windows-static


Configure interpreter based on python environment

Discussed in https://github.com/zed-industries/community/discussions/1037

Originally posted by albas99 March 10, 2023
I'm using Zed along with the Warp terminal app, and even though I've configured my virtual environment using Poetry, Zed is still flagging my code and doesn't seem to be recognizing the interpreter. How can I configure it so it can recognize it?
UPDATE: I've managed to configure pyright in my pyproject.toml file but it's still not working. I'm still getting import django.contrib not resolved and I have django installed in the poetry environment.

Hey @albas99, I'm using Zed with Python on a Poetry project with no significant issues. Here are the steps for my setup:
# Create a virtual environment
python3 -m venv .venv

# Tell Poetry to use .venv
## Note: I use https://direnv.net/ and have the following command in my .envrc file,
## so every time I spin up a new terminal, my virtual environment is ready.
poetry env use .venv/bin/python3.11

# Configure Pyright (necessary for Zed)
## https://docs.zed.dev/languages/python
echo '{
  "venvPath": ".",
  "venv": ".venv"
}' > pyrightconfig.json

From here on, everything should work as expected, both in Zed and in my terminals.
Sometimes, Python LSP is slow to keep up with changes in the work tree or configurations, so you may want to:

Focus a Python buffer in the editor
Open the command palette (cmd-shift-p)
Run editor: restart language server

The one above I think it may be considered a bug, but I haven't yet found the time to write down some steps to reproduce it. 😬
I hope this helps.

Seems like being able to launch language servers in a specific environment is a much more common need than just among Nix users. Would be nice to see some progress towards that.

Hey @albas99, after a bit more digging, I found an interesting solution that can work with Poetry, Pyright and Zed, similarly to what I mentioned in my original response message.
By default, Poetry creates virtual environments in the cache directory (e.g. ~/Library/Caches/pypoetry/virtualenvs/), but you can configure it such that venvs are created directly in your project's folder. You can run poetry virtualenvs.in-project true^1 and then set up python as I suggested above.
So the outcome would be:
# Tell Poetry to create virtualenvs directly in the project.
poetry virtualenvs.in-project true

# Create a virtual environment at the root of my project.
# Note: you may want to add the `.venv/` folder to `.gitignore`
poetry env use 3.11

# Configure Pyright (necessary for Zed)
## https://docs.zed.dev/languages/python
echo '{
  "venvPath": ".",
  "venv": ".venv"
}' > pyrightconfig.json

At this point, I can add Django (poetry add django) and import it into my Python files and it shows up.
I hope this can be a good solution for your use case. Personally, I'm pretty happy to have jumped on this; I'm still learning about Poetry and how to get the best out of it, and this setup looks great and it works with Zed. So, thank you. 😆

Thanks a lot for the help @fdionisi , I've configured poetry to create virtualenvs in my project folder in the future, now it seems to recognized my imports, I don't know if it has something to do with the change or it finally recognized my configuration file.

I was making a little script for this. It does the job but I'm still tweaking it.
https://gist.github.com/gregorypease280/1ee8af205021ab1322dcf9cce2fc0124

@fdionisi Did you mean to put poetry config virtualenvs.in-project true in the first line above? The config part seemed to be necessary for me.

You don't need to change anything about your project settings to get pyright to find your Poetry virtualenv. All you need to do is to run poetry env info. The virtualenv that is in use will be displayed in the results. For example:
$ poetry env info

Virtualenv
Python:         3.11.1
Implementation: CPython
Path:           /Users/mikelane/Library/Caches/pypoetry/virtualenvs/reddit-get-40JF5hkq-py3.11
Executable:     /Users/mikelane/Library/Caches/pypoetry/virtualenvs/reddit-get-40JF5hkq-py3.11/bin/python
Valid:          True

System
Platform:   darwin
OS:         posix
Python:     3.11.1
Path:       /Users/mikelane/.pyenv/versions/3.11.1
Executable: /Users/mikelane/.pyenv/versions/3.11.1/bin/python3.11

In my case, all I had to do was to add this section to my pyproject.toml
[tool.pyright]
venvPath = "/Users/mikelane/Library/Caches/pypoetry/virtualenvs"
venv = "reddit-get-40JF5hkq-py3.11"

I did have to restart zed to get the squiggles to go away.

This feels like it should be converted into a Discussion.  Lots of good information here.


Workspace switching on fullscreen

I'd like to know if it's possible to switch/jump between workspaces when on fullscreen.
As demonstrated on this video from @nikitabobko, the applications are not fullscreen when he was switching between workspaces.

Ok. This is an issue with the apple api itself.
See this similar request in yabai.


Fixed issue #2083

Or I tried, at least.

@Marty-D is it sorted by the number of turns a Pokémon is out? Or is it, as I suspect, more like "the order the Pokémon were switched in"?

I miiiiight have misinterpreted then.

I believe it's the order the Pokemon were switched in, because I remember Marty mentioning that the leftmost (or was it rightmost?) Pokemon is used in the case of simultaneous switches, but I don't remember the order Pokemon get switched in in those cases.

Alright, so since my test with V4 never happened, I thought up a way to test this alone by abusing Transform mechanics. By Skill Swapping Lightning Rod to an opposing Magikarp, then switching Imposter Ditto into the slot facing it, I get two Speed tying Lightning Rod Pokemon on opposite sides.
Doing the test in that order makes the Magikarp take all the (single-target) Electric moves aimed anywhere. So next, I Transformed into it first, then Skill Swapped Lightning Rod onto my Ditto, then Skill Swapped another Lightning Rod onto Magikarp. Now Ditto takes all the Electric moves.
This is consistent with my Gen 5 tests, except it's clear now that redirection Speed ties aren't determined by which Pokemon has been on the field longest, but by which Pokemon has had Lightning Rod the longest (which is usually the same thing if Ability changes aren't in play).
This probably also means that the person hosting the battle determines which side gets the advantage on Turn 1. Player 2 (not the host) always sends out their Pokemon first, therefore they have their Abilities active longer by default. I'd like to actually test this part sometime though. cough @DanUgore

One more thing, maybe you can add an automated test for this, would make it easier to check if a change complies with all mechanics.

@ascriptmaster has written some tests in https://github.com/Zarel/Pokemon-Showdown/pull/2130

Oh, both go kind of together, don't they? Even though he said he doesn't care anymore for the PR. I guess both should be merged into one.


Add quic-client corpus

This is an initial version that doesn't have that much coverage yet. It seems to be stuck getting new coverage, and someone will need to look on how to make it cover more code.

I wasn't really looking to merge this yet, and don't see an option to convert this to a draft. It was mainly here so people that want to look at it already have some files. But I wouldn't mind this being merged either.

Convert to draft is top right under reviewers.
Completely different place to the ready for review button :disappointed:

Ping for reviews!

The format has been changed with the recent quic client fuzzer. This needs an update.

I'll update it tonight

Pushed. Thanks.


Eliminate look-ahead in regex

Eliminates look-ahead in the pre-tokenization regexes by supporting manually implemented trim functions in the pretokenizer.
The pretokenizer still accepts fancy regex, but since we don't use these features, it'll fall back to the regular regex crate.
Tasks

[x] Run benchmark, update figures and text.

Closed in favor of #33.