Determine how to communicate cpus needs

Describe the Enhancement
New model configurations may fail with WRF and UPP if over/under decomposed. Can't always use 96 cores by default, especially with small coarse domains. Users will be given the option to custom set the number of cores on the UI when creating a new model configuration. Do we let the forecast fail and then change the cores? Do we try an auto-compute function? How do we determine/guide this selection?

[x] Look for guidance from WRF documentation
[ ] Determine if auto computation is possible or desired
[ ] Decide what should be documented in UG

Time Estimate
2 days
Sub-Issues
Consider breaking the enhancement down into sub-issues.

[ ] Add a checkbox for each sub-issue here.

Relevant Deadlines
List relevant project deadlines here or state NONE.
Define the Metadata
Assignee

[ ] Select engineer(s) or no engineer required
[x] Select scientist(s) or no scientist required

Labels

[x] Select component(s)
[x] Select priority

Projects and Milestone

[x] Select Project
[x] Select Milestone as the next official version or Backlog of Development Ideas

Enhancement Checklist

[x] Complete the issue definition above, including the Time Estimate and Funding Source.
[ ] Fork this repository or create a branch of develop.
Branch name: feature_<Issue Number>/<Description>
[ ] Complete the development and test your changes.
[ ] Add/update log messages for easier debugging.
[ ] Add/update tests.
[ ] Add/update documentation.
[ ] Push local changes to GitHub.
[ ] Submit a pull request to merge into develop.
Pull request: feature <Issue Number> <Description>
[ ] Define the pull request metadata, as permissions allow.
Select: Reviewer(s), Project, and Development issue
Select: Milestone as the next official version
[ ] Iterate until the reviewer(s) accept and merge your changes.
[ ] Delete your fork or branch.
[ ] Close this issue.

Add an option on the UI to choose default (96) cores or enter a custom number (<=96). This will be passed from UI through API and filled in run.yaml for run configurations.
In UG, document what user should do, e.g. test new config with running a forecast, if failed, then update configuration based on error logs.

# This script finds the largest number of processors and nodes
# you can use, based on the number of grid points in the i/j directions
# on your domain.

# Note: The largest number may not decompose the best way. If you want
# additional values, set some print statements in the code below

# enter the namelist values of e_we and e_sn
e_we = 200
e_sn = 250

# number of cores you want to use per node (Cheyenne has a max of 36/node)
cores = 36

# The value for 'cores' gets incremented later, so we want a static variable for the original value
cores_orig = cores

# set upper limit of nodes - the max you want to loop through
node_max = 200

# This is the least number of grid points allowed for each processor.
# Dont' change this value.
smallest_size = 10

x = 1
while x <= node_max:

# finds the factor pairs for the total number of cores
    def f(cores):
        factors = []
        for i in range(1, int(cores**0.5)+1):
            if cores % i == 0:
                factors.append((i, cores/i ))
        return factors

    factors = f(cores)

# Of the factor pairs, this finds the closest values (pair) in that array
    closest_factors = factors[-1]

# Of the set of closest values, assign the i and j values
    i_array_value = closest_factors[0]
    j_array_value = closest_factors[-1]

# Calculate how the domain will be decomposed
    e_we_decomp = int(e_we / i_array_value )
    e_sn_decomp = int(e_sn / j_array_value )

# Once the decomposition becomes smaller than the least number of grid points
# allowed for each processor, the loop will quit and display the max
# number of processors and nodes you can use for your domain.
    if ((e_sn_decomp < smallest_size) or (e_we_decomp < smallest_size)):

# test to see if the max number of processors allowed is within the number for a single node
        initial_factor_pair = factors[0]
        initial_factor = initial_factor_pair[-1]
        if initial_factor == cores_orig:

# start with value of cores_orig and decrease by 1 for each iteration
# until the value is allowed
           y = cores_orig
           while y >= 1:
                processors = y

# finds the factor pairs for the total number of processors
# still testing processor values for a single node
                def f(processors):
                    factors = []
                    for i in range(1, int(processors**0.5)+1):
                        if processors % i == 0:
                            factors.append((i, processors/i ))
                    return factors

                factors = f(processors)

# Of the factor pairs, this finds the closest values (pair) in that array
# still testing processor values for a single node
                closest_factors = factors[-1]

# Of the set of closest values, assign the i and j values
# still testing processor values for a single node
                i_array_value = closest_factors[0]
                j_array_value = closest_factors[-1]

# Calculate how the domain will be decomposed
# still testing processor values for a single node
                e_we_decomp = int(e_we / i_array_value )
                e_sn_decomp = int(e_sn / j_array_value )

# Once the decomposition becomes larger or equal to the least number of grid points
# allowed for each processor, the loop will quit and display the max
# number of processors and nodes you can use for your domain.
                if ((e_sn_decomp >= smallest_size) and (e_we_decomp >= smallest_size)):
                    max_procs = (i_array_value * j_array_value)
                    print "max # of processors that can be used is: ", max_procs
                    print "max # of nodes that can be used is 1 "
                    break

# if you haven't reached your limit, the loop continues
# still testing processor values for a single node
                else:
                    y -= 1

# if the size of the domain allows multiple nodes
        else:
            max_procs = (i_array_value * j_array_value) - cores_orig
            max_nodes = (max_procs / cores_orig)
            print "max # of processors that can be used is: ", max_procs
            print "max # of nodes that can be used is: ", max_nodes
        break

# If you haven't reached your limit, the loop continues
    x += 1
    cores = (cores+cores_orig)

It seems like we could implement a computation for a starting point or first guess at core needs.

UI will have "auto compute" set/checked by default. Currently that is set to 96 cores, but placeholder exists to add in code to auto compute based on namelist.wps settings. In the meantime, users can uncheck the auto compute and select a number of cores, using the UG documentation as guidance.

Closed with #174 .


Add .travis.yml

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@a6fdd20). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff          @@
##             master   #1   +/-   ##
=====================================
  Coverage          ?   0%
=====================================
  Files             ?    2
  Lines             ?   95
  Branches          ?    0
=====================================
  Hits              ?    0
  Misses            ?   95
  Partials          ?    0

Flag
Coverage Δ

#KituraOpenAPI
0% <ø> (?)

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 a6fdd20...3af9447. Read the comment docs.


[Documentation] How to access fragments on lazy-loaded components

Some patterns recommended by vue-apollo break patterns we commonly use when writing Vue apps. Here's an example.
<template>

Episodes

    <EpisodeCard v-for="film in films" :key="film.id" :film="film" />

</template>

vue-apollo suggests storing fragments in the default export object of a component, and then accessing them from the imported component. However, we lazy-load all of our components as shown above, which seems to make it impossible to reference the fragments property.
It appears that a core tenant of how to deal with co-located fragments in vue-apollo doesn't work with modern vue patterns

You can put the fragments in a sibling JS file instead.

There are no options that allow colocating fragments with lazy-loaded components?

You can't use code from an async chunk without loading it first. That's not technically possible, the browser can't guess what your code is without loading it.

That is known. However, the view isn't being rendered until after that async chunk is loaded, so I would expect the vue-apollo query to fire after the async chunk is loaded. That would seem to provide a possibility for loading the component and then referencing the co-located fragment without issues.

The component you have the query in is not lazy loaded. Thus the query is executed.

I think the core here is that we should have a recommendation/plan on a best practice for being able to allow components to define their data needs so that a parent can compose them.
IMO, that should be in a file next to the component or in a global graphql folder.  I know that is not perfect but it is easy and works with existing infra.  The issue with placing them in the child and working in above way would require

a: patch apollo to block until your component is lazily loaded in order to get the fragment, which would break most of the benefit of lazy loading
b: patch apollo to be able to use some loader to parse all the components js and be able to inline the fragment you reference at build time into the component


drivers: serial: NXP: Set initialization priority

The NXP MCUX serial drivers have a dependency on the clock controller
driver being initialized. Create a Kconfig value for the MCUX serial
drivers initialization priority. The initial value is set to 55 to
ensure that it happens after the KERNEL_INIT_PRIORITY_DEVICE value
of 50.
Fixes #38631
Signed-off-by: David Leach<EMAIL_ADDRESS>

@dleach02 Why not move UART_MCUX_INIT_PRIORITY to drivers/serial/Kconfig and call it UART_INIT_PRIORITY as was suggested by @MaureenHelm. This config might be useful to other platforms at a later time. This is similar to what is done for I2C in drivers/i2c/Kconfig where it provides I2C_INIT_PRIORITY

@mmahadevan108 I thought about doing that but then considered that as far as I could tell, this was only a NXP problem. I can do it though but not really inclined to change all the other drivers over to using that priority setting though.


[backport] Hide private names in cupy.cusparse

Backport of #3968

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit fa0fafa1416d18829d7524bef1ca12ee550c2849, target branch v8) succeeded!

LGTM!


Ability To Turn Off Formatting For Subdirectory

Draft implementation of #870.
This implementation adds a check for a .swift-format-ignore file, in the same places that a .swift-format file could be.
If present, this file potentially contains gitignore-style rules describing which files to ignore.
Currently the only rule supported is *, to ignore everything in the containing directory and any subdirectories. Later, full pattern-matching rules could be implemented, if desired. For now, we simply check that the content of the file is *, to ease any future migration problems.
The presence of .swift-format-ignore is checked first at any given directory level. Even if a .swift-format file also exists at the same level, the ignore file takes precedence.
Motivation
The use case which motivated this change is a scenario where my workspace has a .swift-format file, and I've turned on format-on-save, but I also have submodules containing third-party code.
If I make a small edit to a file in a submodule, it is formatted using the global workspace settings. This generates a large diff unrelated to my edit, as the submodule is hand-formatted using different rules.
I want to be able to disable formatting for specific submodules on my local machine, whilst retaining formatting for the rest of the workspace.

This implementation completely suppresses processing of files if addDisabled is true (or .no-swift-format is present).
On reflection, this isn't the correct behaviour I think, as it leads to no output when applied to one or more source files.
A better approach would be to output the input files unchanged. I will switch this back to a draft and fix the implementation.

I think the name of the file should be .swift-format-ignore

Yes, makes sense 👍

For the second point, raising this check into the frontend seems more appropriate. Maybe FileIterator should be responsible for looking for the .swift-format-ignore

I think I was fixated on the idea that the ignoring mode needed to be configurable from within a .swift-format, as well as by the presence of a .swift-format-ignore file.  Having done it though, I struggle to see the utility of that setting.
I'll try your plan instead.

Ok, I got rid of the setting and moved the check into FileIterator's directory handling.
It works well for input directories, and for subdirectories reached via recursion, but doesn't work for input files (e.g: in the case where individual file paths are specified on the command line directly).
For input files, we need to perform a check for .swift-format-ignore in the same directory as the file. Putting that into the iterator's next() feels wrong as it's not needed in most cases. My inclination is to filter the input urls in init, and perform this test on any that are files.

For input files, we need to perform a check for .swift-format-ignore in the same directory as the file. Putting that into the iterator's next() feels wrong as it's not needed in most cases. My inclination is to filter the input urls in init, and perform this test on any that are files.

That makes the most sense to me.

Ok, 'tis a little closer now.
One question is what it should do if --configuration <file> is passed in.
The README still says that the filesystem won't be searched; which is true for .swift-format, but no longer true for .swift-format-ignore.
The path of least resistance is to clarify the README, but that depends whether that's the behaviour we want.
Alternatively I'll need to add a flag to FileIterator to indicate whether or not it should check for the ignore file. Which is perfectly doable, of course.

One question is what it should do if --configuration <file> is passed in.
The README still says that the filesystem won't be searched; which is true for .swift-format, but no longer true for .swift-format-ignore.

The implication of that statement is that the filesystem won't be searched for the configuration (i.e., .swift-format file) specifically. We don't need it to apply to the .swift-format-ignore file.
If we want a way to ignore the ignore file, we could add something like a --force option to the command line interface, but I don't think we need it today.

If we want a way to ignore the ignore file, we could add something like a --force option to the command line interface, but I don't think we need it today.

Yeah, I was thinking the same. I'll reword the docs.

Actually I've realised that the current design won't work as written, because when FileIterator encounters a directory, it collapses all subdirectories below it, and therefore will not check for the presence of nested .swift-format-ignore files.
FileIterator will need to be rewritten to check for an ignore file when entering a directory, and to pass that instance down to any subdirectories recursively.

I'm happy to do this, but there are a couple ofdesign questions:

If we flow through the directory structure, inheriting the ignore settings from the parent directory, how should we treat sym links to other directories? Should they inherit their settings from their actual parent, or their logical parent in the context of the traversal?
We we're traversing a file tree and looking for .swift-format-ignore files, I wonder if we should also be looking for .swift-format files, and producing a (URL, Config) tuple for each element. It would be a lot more efficient than search for a nested config whilst processing every file.

Slightly annoyingly, my original naive implementation was simple and worked fine, since it wasn't the front end doing the work.
I don't think it would be unreasonable to go with that simpler approach as the first iteration, and then refine it subsequently -- perfect being the enemy of good and all that. That said, I'm happy to look at reworking FileIterator instead.

In other news, the current main branch will not build with my version of Swift:
swift-driver version: 1.115.1 Apple Swift version 6.0.3 (swiftlang-<IP_ADDRESS>.9 clang-16<IP_ADDRESS>) Target: arm64-apple-macosx15.0
/Users/sam/Developer/Projects/swift-format/Sources/SwiftFormat/Rules/UseShorthandTypeNames.swift:50:78: error: type 'TypeSyntax?' has no member 'type'
 48 |     switch node.name.text {
 49 |     case "Array":
 50 |       guard case .type(let typeArgument) = genericArgumentList.firstAndOnly?.argument else {
    |                                                                              `- error: type 'TypeSyntax?' has no member 'type'
 51 |         newNode = nil
 52 |         break

(and a bunch of other errors)

fwiw git bisect tells me that the problematic commit is c3b0c9f

Doing this in the frontend is still the right approach; the API layer shouldn't care about .swift-format-ignore files just as it doesn't care about .swift-format configuration files. Implementing it in the API layer as an incremental step would be putting us into a worse state than not having it, design-wise.

If we flow through the directory structure, inheriting the ignore settings from the parent directory, how should we treat sym links to other directories? Should they inherit their settings from their actual parent, or their logical parent in the context of the traversal?

I think the answer has to be the actual (physical) parent. Otherwise you could end up with different ignore states for the same file depending on how you got to it, which wouldn't be desirable. This does make the implementation slightly more complicated, but I think it would be workable to have FileIterator maintain a cache of some sort to keep track of the ignore-specs found in each directory it visits. When you visit a directory you look in the cache to see if it or any of its parents have loaded their ignore-specs, and in most cases, this will be fast because you got to that directory from its immediate parent. In the case where you follow a symlink into a different directory tree, you might need to look up all the way toward the root to find the ignore-specs (or know that they don't exist), but that would be rarer.

We we're traversing a file tree and looking for .swift-format-ignore files, I wonder if we should also be looking for .swift-format files, and producing a (URL, Config) tuple for each element. It would be a lot more efficient than search for a nested config whilst processing every file.

This sounds like a nice optimization! We flatten the iterator into an array in the frontend to do parallel processing so we don't want to have the full Configuration stored with each file URL (it would be identical across all files in the majority of cases), but returning a pair with the URL of the file to format and the URL of the relevant configuration would still be an improvement, I think. Then we can still leverage the existing configuration cache to load them on-demand, without the search each time.
The same caveat about which parent to use applies here as above. For symlinks, we'd want the configuration we choose to be the one from the physical parent, not the logical parent, because we don't want files to be formatted differently based on how you got there.

In other news, the current main branch (https://github.com/swiftlang/swift-format/commit/ed010288eb9c16b6280198aa2c31ac5d9d622271, without my changes) will not build with my version of Swift:

Is your swift-syntax checkout out of date? The change you referenced later was made to support an API change merged a few days ago in swift-syntax.


Add std::map, EntityList and re-write Entities View

Currently done a lot of std::map stuff, but still not implement a proper view for it and change the code for the ViewEntities

I made it as list of key/value one after another, but maybe a better solution would be to make it as if it's pointer/inline struct type, and then you click to reveal the key/value ?
I'm not sure how to connect the fields thou 🤔

The value type is displayed dynamically, I assume? As in, you have chosen a datapointer in the screenshot, but had it been a Entity* it would have shown a cllickable entity?

Looks good, I haven't compiled it, but I trust it works as expected. If you can take care of the questions above and the goto, then I'll merge. Thanks!

The value type is displayed dynamically, I assume? As in, you have chosen a datapointer in the screenshot, but had it been a Entity* it would have shown a cllickable entity?

Yes, data type for both the key and the value is defined in the json, so should be possible to use any defined type, the example is entity behavior map so it's just number and data pointer, i did check a power-up map that has entity type as the key and entity pointer as the value

hmm there is still a small issue
the state.shops contains either map or set, but the structure doesn't make sense, because the item uid is in place of the Dword padding, if it's set then this position is weird as i would assume structs to be rounded up to 8 bytes. But if it's a map, then why in the powerup map the key+value is rounded to 8bytes as one structure
I could fix by making it set and do different rules for the set, but is this really how the memory is lay out?

Figured everything out on discord thanks to user dextercd, so essentially i need to know the alignment of the key and value type, so if it's inline-struct i need to recursively check for the biggest type in it, and so if it has inline-struct in it as well i need to check that, and so one...
Feels like a lot of work for possibly only one map

Is it correct that you need to know the alignment of key and value, and you already know this for that state.shops variable (and probably others as well) ? Or is this something dynamic and you need to recurse into the types to figure these values out?
If it is fixed information, which you have, would it not be easier to include that value in the json file as a parameter to the StdMap, which you then read in the plugin and act accordingly?

It is fixed, so that's probably the best solution, thou, i probably will make separate group that you will need to add like "struct": alignment to, don't want to have too many parameters, specially when there can more then one map with the same struct

Another thing: a lot of the map/sets have a lot of elements and it takes time to load them all, and it's worst with the auto refresh so i think i should add a limit to how much elements to show

How to check, when type is build in one, if it has children fields?

Also, for key that is a struct or something (have children) the view was confusing https://cdn.discordapp.com/attachments/802954429996990515/1149328360707727441/image.png
So i made it so in that case it looks like this:

Not sure if this is good, or should i make it always look like this, even when key is a simple value

Another thing: a lot of the map/sets have a lot of elements and it takes time to load them all, and it's worst with the auto refresh so i think i should add a limit to how much elements to show

Yes, that can be an issue. I don't think it's always necessary to have a 100ms refresh rate on that data. You could raise that significantly for the maps to e.g. 5 seconds, or leave it out altogether, and rely on the manual refresh button.
What you could also implement is pagination in the results. That would limit the amount of records in the treeview considerably. Pagination is a bit more involved to implement of course.

How to check, when type is build in one, if it has children fields?

Not sure, I think I always handled that ad hoc, in all the switch-clauses etc. You could add another map for that if you want.

Also, for key that is a struct or something (have children) the view was confusing https://cdn.discordapp.com/attachments/802954429996990515/1149328360707727441/image.png
So i made it so in that case it looks like this:  Not sure if this is good, or should i make it always look like this, even when key is a simple value
If you could help me with the question about the build in types and if you have, share some opinions, then i think i will be finally done with this PR 😄

I personally don't think it looks confusing, as it states clearly that the key is a gridposition, so an x,y pair is to be expected.
You could also make a string-representation of the special ones, like gridposition, and just display it as (x, y). Seeing as it's fixed and known what types are used for map keys, the list of special exceptions should be limited.
I think this was the reason you wanted to find out whether built-in types have children or not, and you can avoid that with this solution. Pick whichever seems easiest for you.

I personally don't think it looks confusing, as it states clearly that the key is a gridposition, so an x,y pair is to be expected. You could also make a string-representation of the special ones, like gridposition, and just display it as (x, y). Seeing as it's fixed and known what types are used for map keys, the list of special exceptions should be limited. I think this was the reason you wanted to find out whether built-in types have children or not, and you can avoid that with this solution. Pick whichever seems easiest for you.

The easiest is probably what i implemented, maybe i revisit this later, i like the idea of combining x,y into string, for now I'll leave it as it is

What you could also implement is pagination in the results.

This isn't implemented anywhere right? will add that to my list for now

Changed the refresh rate to 3s, think that's all i do for now
Think this can finally be merged, unless you still want me to change something

What you could also implement is pagination in the results.

This isn't implemented anywhere right? will add that to my list for now

No, it is not. Displaying chunks of 100-500 records at a time will also greatly reduce the strain, but then you'd have to program all the page navigation logic etc, so up to you if you think it's worth the time spent.


Implementation of camelCase support for documents. (WIP)

I was selfishly hoping we could pull this off in the 1.5 branch without causing trouble in the 2.0 branch... But if you're against the idea of doing it here, I can update this PR to be against 2.0.

Moving this to 2.0 (master) branch.


feat: stack banners

This PR fixes the https://github.com/jina-ai/dashboard/issues/271 issue.

PR checklist
Docs

[ ] If you added new code; is it self documenting? (all the variable names clear, comments added where appropriate)
[ ] If you touched existing code; did you refactor existing naming, added comments where necessary?

Tests

[ ] If your ticket adds new functionality; have you added unit tests to verify behaviour?
[ ] If your ticket alters user interaction with the UI; have you added integration tests?
[ ] Do your tests check for every convievable user behabviour? (all behaviours the user can perform)

Typing

[ ] If you added new code; have you added typing?
[ ] If you touched existing code; have you improved its typing?

Styling

[ ] If new styles were created; Did you refactor/add more styles in css-in-js style?

Hi @mkhilai, thank you for making these changes. Also for adding a gif with the changes. :+1:
Could you also add some integration tests for the banners? You can see existing integration tests in cypress directory. Please reach out to us if you have any questions or if you need help :)

Hi @mkhilai, I get failing tests on your PR. You can run tests with npm run test and npm run dev + npm run cy:run

Great work, thanks for the contribution


show multiple color circle view on same calender moth view

I want to show circle view on in two or more than two colors on same month calendar view. Any idea how I achieve this

@anshulmahipal Please use the issue template.


[otbn] Speed up the ISS

This series speeds up the ISS by roughly a factor of 2 on a silly loop that runs nop a million times. The speed-ups will be less for programs that actually do some work.
@felixmiller: I know you've been struggling with the slow simulator. Could you give this a spin to see if it improves things?

@rswarbrick: In here is now self-contained assembly for encrypt and decrypt with RSA 1024. This should reproduce the issue in the ISS.

Thanks! The problem was in the disassembly memoization changes. They did look like this:
    ...
    if state.stalled:
        insn = None
        ...
    else:
        insn = something
        ...
    ...
    state.mutate_yourself()
    if not state.stalled:
        insn.something

The problem is that state.mutate_yourself() cleared the stalled flag, so the second check didn't match the first.
Anyway, this is all fixed now (by taking a copy of the flag).

I'm not a fan of the "[otbn] Accumulate changes "imperatively" in ISS " commit, the API looks strange to me. Since it's only a minimal improvement on a micro-benchmark, I'd remove it.

Yeah, I was a bit conflicted. 2% is not nothing, but the ISS is pretty slow in general (a result of writing it in Python); maybe it's not worth the clarity trade-off. Will drop.


Wrong card number format for American Express

American Express uses different format for card number, for example: 3714<PHONE_NUMBER>1. There is ok https://jessepollak.github.io/card/ some test numbers: http://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card_numbers.htm

This should be fixed by #5

As @stevewillard said, fixed by #5, cheers 👍


Add resolutionProbability to LiteMarket

Currently, binary markets have their resolution set to YES, NO, or MKT. If they resolve to MKT, there is no way to know via the API what value they resolved to (Issue #524).
This PR exposes resolutionProbability to the API via LiteMarket. This is a key step in being able to calculate payouts for markets.

Seems like a good thing to add. Not sure how we're doing versioning.

Seems like a good thing to add. Not sure how we're doing versioning.

We simply think to ourselves, "now it's a new version."


Fix trackpad code completion scrolling

This PR makes it so that the code stops interpreting past the fact the gestures done inside the code completion window.
This PR also sets code_completion_pan_offset to 0 as otherwise, you could do multiple gestures past the beginning of the list or the end, and it would take time to "return" to the list afterwards, as there is no upper/lower limit to the offset.
Before
before.webm
After
after.webm
Fixes #94415

cc. @bruvzg

Thanks!


File is not accessible

Hi @Cardosaum can you help me to solve this? I only will be able to do it in December. If you can help before it, I would appreaciatte it. Thanks in advance!
From a coleague:
I'm trying to use the ATTILA software described in DOI: 10.1177/1177932220915240, however it returns with "Could not create analysis report".
The vherror.log returns:
grep: /home/andreas/Downloads/ngsdatamono/VH/SelectedSequences/vhlist10numbered.fasta: No such file or directory
chmod: cannot access '/home/andreas/Downloads/ngsdatamono/Report/vhdiffproportion.R': No such file or directory
Can't exec "/home/andreas/Downloads/ngsdatamono/Report/vhdiffproportion.R": No such file or directory at ATTILASymLinks/autoiganalysis3.pl line 304.
Command line argument error: Argument "query". File is not accessible:  `/home/andreas/Downloads/ngsdatamono/VH/SelectedSequences/vhlist10numbered.fasta'
grep: /home/andreas/Downloads/ngsdatamono/VH/InitialRound/pt-H_S47_L001_R1_001nt.fasta: No such file or directory
grep: /home/andreas/Downloads/ngsdatamono/VH/InitialRound/pt-H_S47_L001_R1_001aafreq.txt: No such file or directory
grep: /home/andreas/Downloads/ngsdatamono/VH/FinalRound/m1_S48_L001_R1_001nt.fasta: No such file or directory
grep: /home/andreas/Downloads/ngsdatamono/VH/FinalRound/m1_S48_L001_R1_001aafreq.txt: No such file or directory
grep: /home/andreas/Downloads/ngsdatamono/VH/SelectedSequences/vhenriched.fasta: No such file or directory
grep: /home/andreas/Downloads/ngsdatamono/VH/SelectedSequences/vhlist10numbered.txt: No such file or directory
Can you please help me with how I can correct this?

Hey @waldeyr !
Sure I'll take a look at it during the coming days 👍


Change CentOS9 image from latest (July 29) to July 20

The latest [1] image for EDPM nodes does not boot and broke environments for CI and developers. Workaround by hard coding the last known working image. This patch should be reverted when latest is working again.
[1] https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-latest.x86_64.qcow2

Pending — Not mergeable. Job rdoproject.org/github-check has not succeeded.

Not true.
rdoproject.org/github-check — github-check status: success

Merging.

Tide is slow sometimes


Add singleLineAllowed option to ForBraceChecker

Fixes #286

Codecov Report

Merging #287 into master will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff          @@
##           master   #287   +/-   ##
=====================================
  Coverage       0%     0%
=====================================
  Files          59     59
  Lines        1451   1461   +10
  Branches      139    152   +13
=====================================
- Misses       1451   1461   +10

Impacted Files
Coverage Δ

...a/org/scalastyle/scalariform/ForBraceChecker.scala
0% <0%> (ø)
: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 93acfba...20ec81f. Read the comment docs.

@matthewfarwell bump

Thanks for the bump. I'm really busy at the minute, but I'll get to this next week.

Great. Thanks!


Large timestamp skew for at-least-once streaming

We maintain a buffer of element values and their timestamps, then flush when necessary (e.g. after reaching some max num elements). By the time we're forced to flush, we arrive at an element E with a timestamp potentially greater than some/most of the elements we have in the buffer. When we flush and some elements fail, we attempt to output them with their original timestamps, which may be earlier than the timestamp of the current element we are processing. Doing so triggers the following error:
Failed to insert row and could not parse the result!
java.lang.IllegalArgumentException: Cannot output with timestamp 2023-12-18T20:26:27.376Z. Output timestamps must be no earlier than the timestamp of the current input or timer (2023-12-18T20:26:31.252Z) minus the allowed skew (0 milliseconds) and no later than 294247-01-10T04:00:54.775Z. See the DoFn#getAllowedTimestampSkew() Javadoc for details on changing the allowed skew.
To mitigate this, we should allow a large timestamp skew.

R: @bvolpato

R: @bvolpato do you ming taking another look? I added a test


Missmatch between undefined/null

In index.d.ts (around line 153) it is stated that findOne, findOneAndDelete, and findOneAndUpdate return a Promise of the collection type, or undefined.
But in fact all of these return null, not undefined when no document is found.
This is quite annoying when using TypeScript, since it will error with Object is possibly undefined if you do not check for this, but checking with !== undefined only calms typescript down. It does nothing at runtime. However, checking with != undefined, or checking if the object is truthy does work at both compiletime and runtime.

I noticed as well.
Also:

insert requires an Object and not the Generic type T.
find, findOne should return the generic T + the _id.

I would be happy to update all the types if the maintainers are ok with it :)

I'm working on it.
@mathieudutour would it be ok if I add the @types/mongo dependency? It works really well and then both JS and TS people get the official supported flags, options, queries and so :)

Absolutely yes

@mathieudutour Should I remove the types for group as it is deprecated? or better leave them in with a deprecation notice?

@mathieudutour pr is out :) if there are any problems let me know!


frequency should be "daily" or "minute"

https://github.com/zipline-live/zipline/blob/39bd8e7473468b471e6ef2dfb681d20a5999e98f/zipline/gens/brokers/ib_broker.py#L949

It is actually correct. closing.


Lcp block bug fix

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Test URLs:

Before: https://develop--eds-editorial--ifahrentholz.hlx.live/
After: https://lcp-block-bug-fix--eds-editorial--ifahrentholz.hlx.page/

This Branch fixes the render problem of LCP blocks from the main.ts refactoring

This MR needs first to be merged
https://github.com/ifahrentholz/eds-editorial/pull/83


Make tmate port configurable

It cannot be hardcoded, because you might need it to run on a different port.
You cannot rely on docker port mapping, because tmate will give you an ssh connection that includes the port within the container.

Hi @xetorthio, thanks for contributing to this repo.
Where does the $PORT value come from?

It is defined when running the container.
For example:
docker run -e PORT=443 -p 443:443 tmate-docker

I guess we should have a default value for PORT env variable to 2222 to keep backward compatibility.

Sure... can you update the pull request to reflect that?
Also, it would be great if you add that line to the README.

Done :)

Great @xetorthio , thanks for the contribution!


Idea:  integrate with Fancy Fades

Fancy Fades has a bunch of scene change animations - see https://godotengine.org/asset-library/asset/741
It would be great to have it integrated with Godot Game Template

Makes perfect sense, thanks for the reply!


Make Event Hub binder more native and user-friendly.

Hi @artembilan,
Per discussion during Spring One, we mentioned the new binder for Azure Event Hub is available. To make it more native to Spring Cloud Stream and user-friendly, we hope you can spend some time having a try on it. Please use the same standard your team set for the Binder and share feedbacks via issues.
Thanks,
Yitao

Sample can be found at:
https://github.com/Microsoft/spring-cloud-azure/tree/master/spring-cloud-azure-samples/spring-cloud-azure-eventhub-binder-sample
Tutorial can be found at:
https://docs.microsoft.com/en-us/java/azure/spring-framework/configure-spring-cloud-stream-binder-java-app-azure-event-hub?view=azure-java-stable


Can't download all the image from the pixiv fanbox creator

Hello
I am going to download the images from the creator さより＠ネコぱらゲーム製作中
Here is the link https://www.pixiv.net/fanbox/creator/104409
The version of software is 20200101
And here is what I get from the software

Comparing to the fanbox website
It seems that the software can only download the images stop from this post

And you can see that there are still about half of the posts not yet downloaded

I believe that my account has enough permission to access to the post

And even I use the search function, there is still no any result

I see the log here and found that the software keep saying that there is no cover image and image available in post

And here is the log file
pixivutil.log
Hope that you can help me and fix the problem please

do you have paid access to the Fanbox?

do you have paid access to the Fanbox?

Yes
I have already paid and subscribe for it

And I can see the post in the browser too

It seems that the software can only download the posts cost $100 and can't download the posts cost $540 from 2017-09-29

Looks like the old posts are using non-standard way of showing the images (using custom html, instead of image list).
Can you replace the library.zip with this version: library.zip
Also delete the old log file and reupload it here if there still issues.

Looks like the old posts are using non-standard way of showing the images (using custom html, instead of image list).
Can you replace the library.zip with this version: library.zip
Also delete the old log file and reupload it here if there still issues.

Happen the error here

pixivutil.log

try https://github.com/Nandaka/PixivUtil2/releases/tag/v20200102-beta1

try https://github.com/Nandaka/PixivUtil2/releases/tag/v20200102-beta1

Still the error here

ok, can you upload the log file?

ok, can you upload the log file?

Sorry that
pixivutil.log

try library.zip

try library.zip

Get the error here

And it download the same thing like the above

updated library.zip

It download the same thing and the software say that no cover image and no image available

pixivutil.log

try https://github.com/Nandaka/PixivUtil2/releases/tag/v20200103-beta2
also delete your old log file before running, so I can get clean log.

It seems that it can get all the images at this time

Here is the log if you need it
pixivutil.log
Also thank you for your patient and effort for solving the problem

Attach "pixivutil.log" here
pixivutil.log

Hey, Mr. Nandaka.
I found out that the alteration related to this issue caused FanboxPost.parsePost() method being called twice, once in
https://github.com/Nandaka/PixivUtil2/blob/2f11c09405360158b8615a8ec1ad3ef3476e53a6/PixivModelFanbox.py#L118
another one in
https://github.com/Nandaka/PixivUtil2/blob/2f11c09405360158b8615a8ec1ad3ef3476e53a6/PixivBrowserFactory.py#L760
and caused that there being one cover image duplicate in post.embeddedFiles.
Not a big deal, but I think you should know.

It purposefully calling the parsePost twice as the data source comes from different endpoints (https://www.pixiv.net/ajax/fanbox/creator?userId= and https://fanbox.pixiv.net/api/post.info?postId=), need to add check if the post already added or not.

Urr. Sorry for assuming you are and calling you a Mister.  If not I am soooo sorry, again.
I noticed that the difference in endpoints actually...
Maybe in parsePost, firstly we check whether the cover image, if it's none or doesn't match the new one, then overwrite and append to embed file list?


Update server-requirements.md

Added .net 4.7.2 support.

Looks good, I have a long thread on this one so went ahead and merged it. :) Terry Adams provided the approval.

Apologies if I am mistaken but this seems to have regressed back to showing .NET 4.7.1 as the highest supported version: Source.

@kenwith could you help with this new PR? We have confirmed internally 1 year ago that 4.7.2 is supported on CU6 or later.


Documentation suggests this is OOB already, but it doesn't appear to be.

[Enter feedback here]
I am using December 2020 PBI Desktop. Fuzzy Grouping does not appear to be an OOB option and there is no indication of that in this article. In order to perform Fuzzy Grouping on my system I had to group first, then open the advanced editor and modify the code.

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

ID: e11ad4d0-a7ce-8e2a-115b-b343ca789a93
Version Independent ID: 05e7d736-b6ef-86bd-8101-eafc02d474b6
Content: Grouping or summarizing rows
Content Source: powerquery-docs/group-by.md
Service: powerquery
GitHub Login: @ptyx507
Microsoft Alias: v-miesco

Thanks for the feedback! We've added a small note to this section of the article that mentions that the Fuzzy group is currently only available in Power Query Online.
Thanks again!


network-3.2 not accepted

It would be nice if scotty accepted this new version of the network library. Stackage issue:

https://github.com/commercialhaskell/stackage/issues/7381

Added a cabal revision for scotty-0.22:
https://hackage.haskell.org/package/scotty-0.22/revisions/

Thank you! Much appreciated.

This is a reminder to increase or remove the UB on network in the cabal file too

it seems like crypton-x509's test suite is also depending on x509. i've made an issue:

https://github.com/kazu-yamamoto/crypton-certificate/issues/10


Slow sort on gfx1036 with custom operator on ROCm 5.6.0

I have an AMD Ryzen 9 7900X 12-core / 24-threads processor and I'm trying to run our code on both the CPU and iGP 0d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c2) for comparison.
Some of our code depends on Thrust, for which we are using rocThrust for HIP (1.17.2p0 as reported by the one shipping with ROCm 5.6.0, official .deb from AMD).
We have noticed that a sort_by_key with custom operator is extremely slow on GPU, averaging 30ms for 1.4M data points compared to  ~20ms on CPU with the OpenMP backend.
Sample code for testing can be found in my titanxstall repo, rocthrust-perf branch. The results can be tested as:
git clone git@github.com:Oblomov/titanxstall -b rocthrust-perf thrust-perf
cd thrust-perf
make clean ; make test
make clean ; make cpu=1 openmp=1 test

and comparing the results between the HIP and OpenMP runs. The sort is run 5 times, and on GPU the first run should be discarded as it includes host-to-device data transfers due to the use of managed allocations. (The original code does not use managed allocations, but similar performance differences have been observed, so this doesn't seem to be related.)

@Oblomov Apologies for the lack of response. gfx1036 isn't an architecture we officially support, so we unfortunately cannot provide support.  Please see the supported GPU's (https://rocm.docs.amd.com/projects/install-on-linux/en/latest/reference/system-requirements.html). Thanks!


Support of provided SAS token instead of keys

One more optional azure_storage_sas_token config parameter was added.

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

@microsoftopensource, please take a look.

@logachev Can we get this merged or what's blocking this? Thanks!

Also I tried using the code with the small change I proposed and it's not working, see
https://github.com/Azure/azure-storage-ruby/issues/163

@elsesiy please let me know if there is an issue. I'll merge outstanding PRs and will run tests before releasing new version.

@logachev I have the code deployed and it does not work so please conduct your testing and report back with instructions on how to use the SAS token generated from the Azure Portal


Wifi settings

are there any chance to change wifi settings after connected Wifi network. May a link/url to can change it?

Just erase the stored WiFi data.
This can be accomplished by calling wifiManager.erase() after declaring wifiManager on line 127.

but there is no webpage or similar available to do it without coding?
Am Mo., 15. Nov. 2021 um 15:48 Uhr schrieb Paul Melnikov <
@.***>:

Just erase the stored WiFi data.
This can be accomplished by calling wifiManager.erase() after declaring
wifiManager on line 127.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/positron96/LocoNetControlStation/issues/12#issuecomment-968983375,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASRDILAQPAUENEY6UG4DYKTUMEMTLANCNFSM5IBVGXQQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

If ESP32 can't connect to WiFi with stored settings (e.g. there are no stored settings), then it will start a webpage. The webpage is only there to connect to WiFi, so after the esp32 connects to WiFi, there is no webpage. You can also turn off the WiFi router to force esp32 to start config webpage.


Release annotations

It's a really cool idea to enable Basic RUM users to mark when they did a release on their website and to have a chance to visually correlate this with the performance data we collect in Basic RUM.
Here is how I imagine it:

On all time series diagrams we will have an annotation that will mark a moment of a release time.

When we click on a release annotation we will see a bit more information like and Description.

@NikolovI I suggest that in this task we try to create fixed in time release annotations that will be displayed for the period that the demo data covers. I do not expect from you to go deep in the backend code and to fetch releases from the DB.
Best will be to hardcode release related things in DiagramBuilder.php in if ('time_series' === $renderType) { logic. Later we will move things around.
Note for Backend folks.
Currently we have a CRUD that lives under /index#/releases/
A release Entity contains:

Description
Time (probably unix timestamp)

Thank you @NikolovI
We merged you PR. From here we will handle it:

We will connect the backend code with the frontend code.
We may do a bit of refactoring and move the code in separate class.

Hello @korzol
In this PR: https://github.com/basicrum/backoffice/pull/118/files we merged a bit of logic that adds release annotations to time series diagrams. This implementation is currently hard-coded but we need to make it dynamic.
Now we need to connect the backend code and and mark releases when we add
add a release time from this form that can be found under Configure -> Releases -> Add Release :


curl failure when building docs

Documentation error occurred in two jobs:
https://travis-ci.com/github/invenia/LibPQ.jl/jobs/357596026
https://travis-ci.com/github/invenia/LibPQ.jl/jobs/357716606
┌ Warning: `curl -sI --proto =http,https,ftp,ftps https://codecov.io/gh/invenia/LibPQ.jl --max-time 10 -o /dev/null --write-out '%{http_code} %{url_effective} %{redirect_url}'` failed:
│   exception = failed process: Process(`curl -sI --proto =http,https,ftp,ftps https://codecov.io/gh/invenia/LibPQ.jl --max-time 10 -o /dev/null --write-out '%{http_code} %{url_effective} %{redirect_url}'`, ProcessExited(28)) [28]
└ @ Documenter.DocChecks ~/.julia/packages/Documenter/Eayks/src/DocChecks.jl:204
[ Info: Populate: populating indices.
ERROR: LoadError: `makedocs` encountered an error. Terminating build
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] runner(::Type{Documenter.Builder.RenderDocument}, ::Documenter.Documents.Document) at /home/travis/.julia/packages/Documenter/Eayks/src/Builder.jl:204
 [3] dispatch(::Type{Documenter.Builder.DocumentPipeline}, ::Documenter.Documents.Document) at /home/travis/.julia/packages/Documenter/Eayks/src/Utilities/Selectors.jl:167
 [4] #3 at /home/travis/.julia/packages/Documenter/Eayks/src/Documenter.jl:287 [inlined]

Fix is to set linkcheck_timeout to something large enough to avoid these timeouts (it's a keyword argument to makedocs)

This is still happening, even with 60 seconds timeout.
https://travis-ci.com/github/invenia/LibPQ.jl/jobs/376580006
https://travis-ci.com/github/invenia/LibPQ.jl/jobs/378993147

Maybe we should just switch to Coveralls if Codecov is giving us so much trouble

Not sure this is related, but I get a 405 Method Not Allowed when trying the curl command that fails in the CI job.
$ curl -sI --proto =http,https,ftp,ftps https://codecov.io/gh/invenia/LibPQ.jl --max-time 60 -o /dev/null --write-out '%{http_code} %{url_effective} %{redirect_url}'
405 https://codecov.io/gh/invenia/LibPQ.jl %

The curl flag -I  fetches the headers only (HTTP HEAD request).
If I remove it, I get a 200:
200 https://codecov.io/gh/invenia/LibPQ.jl %

Seems like the server for codecov.io doesn't support the HTTP HEAD request.
Not sure that could help explain the occasional timeout though.
I posted a message on community.codecov.io: https://community.codecov.io/t/intermittent-timeout-contacting-codecov-io-from-github-actions/1690/16

Got a response from Codecov folks: they are working on the infrastructure to prevent timeouts.
In the meantime they suggest adding --retry 5 --retry-delay 2 --connect-timeout 2 to the curl command.
However the curl command in our case being inside Documenter.jl, I'm not sure it's worth making changes there again. After all, if a link needs retrying to succeed, it makes sense for the link-checking to fail.
Given Codecov are aware of the issue and working on it, I suggest we wait it out. If we find the issue too noisy we can disable linkcheck in the interim.

After all, if a link needs retrying to succeed, it makes sense for the link-checking to fail.

This makes sense to an extent; it's reasonable to include any retrying that might happen automatically in a typical web browser, since linkcheck's aim is to test that people can follow links in their browser to existing pages. But I'm not sure what happens in typical web browsers.


Handle case when current position is not available

Hide current position percentage when data is not avaialble.
#35 Covers without position percentage available display undefined

Hello, I have installed your card with my new RTS Cover. Position is not available and I'm looking for this improvement to hide curent position when not available.


Fix headers

This pull request fixes our issues https://github.com/xing/XNGMarkdownParser/issues/10 and https://github.com/xing/XNGMarkdownParser/issues/6. Does three things:

Fix grammar to detect headers accordingly
Tweak the code generator to generate faster code at the expense of using more memory.
Update header tests: our tests were broken and we didn't notify them :S

Please stick to iOS 8.1 and use Xcode 6.1 as Travis is still not on Xcode 6.2 or Xcode 6.3. See https://github.com/travis-ci/travis-ci/issues/3373 for details.
You might also need to rerecord the snapshots then. :tired_face:

Coverage remained the same at 96.19% when pulling 90f5e4fde536f92b20756570cb8ab4b80ff3a5bb on fix_headers into efc950fad2f6bd595685e1572ad900438d66e44a on master.

awesome, thanks!


Fix #13922 controller request and response properties

Q
A

Is bugfix?
no

New feature?
yes

Breaks BC?
no

Tests pass?
yes

Fixed issues
#13922

I don't like this implementation, why not do proper dependency injection?
This implementation still uses the global service locator instead of injection..
You can already do controller constructor injection by just adding the params after the $module param and configuring them in the DI container to be singletons.
The same goes for actions.
If you want to do it properly, you could even go one step further and inject a ControllerFactory into each Module and an ActionFactory into each Controller. That way you move away from using the DI container as a Service Locator (Yii::createObject) and towards actual DI.

I don't like this implementation, why not do proper dependency injection?
This implementation still uses the global service locator instead of injection..

Binding request and response to a controller has nothin gto do with the dependency injection.
It is the matter of controller handling the particular request assigned to it. It is the matter of how controller handles request passed to it by application. Request data and thus entire request object should be determined elsewhere at application request processing level. Controller should not instantiate requests by it own will, even using DI specification.
In the scope of regular Yii web or console application this PR changes almost nothing, as these application are always single-request and single-response ones. However, you may create your own Application class, which will provide different request handling flow.
Current fix allow you to instantiate and run controller with its own request and response instances, which might be different from the Application::$request and Application::$response.
Also note, that this fix is meant to be applied to Yii 2.0.x, thus adjusments are limited by the BC keeping.

why do we need to make this change in 2.0.x? I'd vote to make a proper change in 2.1, which is not limited by BC and leave 2.0 as is.

Agree.


Incompatibility of compute_dtype with complex-valued inputs

Hi,
In #19872, you introduced the possibility for layers with complex-valued inputs.
It then seems that this statement of the API Documentation is now wrong:

When I feed a complex-valued input tensor into a layer (as in this unit test), it is not cast to the compute_dtype, but rather kept as it is. I would somehow expect that the compute_dtype becomes complex in this case as well.

Hi @jhoydis -
Thanks for reporting this issue. Currently compute_dtype on layers automatically cast inputs to the dtype. But for complex input is not casting the same dtype. As complex values need to handle differently for casting compute_dtype.
We will dig into this issue more and update soon. Thanks..!!


Revisit synchronous logic in document manager class

https://github.com/ballerina-platform/ballerina-lang/blob/master/language-server/modules/langserver-compiler/src/main/java/org/ballerinalang/langserver/compiler/workspace/WorkspaceDocumentManagerImpl.java

This has been addressed with the latest migration for the project API. See the new implementation with a cleaner locking mechanism https://github.com/ballerina-platform/ballerina-lang/blob/master/language-server/modules/langserver-core/src/main/java/org/ballerinalang/langserver/workspace/BallerinaWorkspaceManager.java


Adds cargo-generate to installation instructions

Fixes #186
Related to 753d71ac, which added instructions close to use in the qemu
page, this commit adds the information directly to install where it's
less likely to be overlooked.

r? @jamesmunns
(rust_highfive has picked a reviewer for you, use r? to override)


Ambiguous watchOS instructions in README.md

After reading README.md, it's easy for me to think that, in order to generate QR codes on watchOS, I must add QRCode and QRCode3rdPartyGenerator to my project, while in fact I should only add QRCode3rdPartyGenerator, or the project would fail to build.

Hi there,
Apologies for the confusion here. I've just pushed up a new build (tagged 7.0.0) which includes a separate watchOS library target (QRCodeWatchOS and QRCodeWatchOSDynamic) which will hopefully reduce the confusion here. Admittedly when exploring your comment I stumbled over exactly the same issue!
So, long answer short - you should upgrade to 7.0.0 and link against QRCodeWatchOS (much easier to understand!)

I've also updated the doco to include this change, along with a screenshot of the Frameworks, Libraries, and Embedded Content requirement.
There's also a new bare-bones watchOS example in the Demos folder.

Can you take a look and see what you think?
Cheers and thanks for the feedback!

Great job! It's now much easier to understand how to generate QR code on watchOS!
However, I think there are 2 tiny things:

Despite its name, QRCodeWatchOS also works (perfectly) on iOS/macOS/tvOS. If one wants to keep the same code between iOS/watchOS to generate QR code, this may add confusion to him/her; maybe leading he/her to use different codes on iOS and watchOS.
The QRCode3rdPartyGenerator seems to still be there. Maybe consider removing it?

Agreed.

QRCodeWatchOS has been renamed to QRCodeExternal
QRCodeGenerator_WatchOS has been renamed to QRCodeGenerator_External
QRCode3rdPartyGenerator has been removed completely.

The README.md file has been updated to reflect the changes, also that QRCodeExternal can be used for all platforms.
I've updated the version number to 8.0.0 so that anyone who has upgraded to 7.0.0 won't automatically update to the new naming until they want/need to.

Thanks! It looks great now!
For some reason the CIFilters generate blank qr codes in my project... It's you who made my project possible!
:tada: :tada: :tada:

Ah that's great news!
It's definitely odd that the CIFilter is generating a blank qr code. I'm glad I could help!
Cheers and thanks for all the feedback.


Indent instead of de-indent when soft wrapping long lines in signatures

Problem
If the function signature contains long lines, the VScode help pop up / inspector will wrap and de-indent the line. It would be easier to read if the wrapped line was indented relative the original line (just as how indentation is used in python code to indicate belonging to the previous lines/indentation level). Here is an example from the altair docs; you can see how the different parameters melt together and it is hard to tell which options belongs to which parameter due to how the indendation is handled:

There are other reasons that docstring is hard to read, which we are working on in https://github.com/altair-viz/altair/issues/3290, but the way lines are wrapped is one of them.
Proposed Solution
Indent the lines that are wrapped one level more than the indentation of the parameter name.  I think this would notably improve readability, e.g. this is what the screenshot above would look like:

This is also how wrapping is handled in the docstring, so it would be consistent to handle it this way in the signature as well.

This is also an issue with the formatted part of the docstring, not just the initial function signature:

This would be much easier to read if names, header and index_col were the only words at the left most indentation level and that all other text was indented instead of just the sentence immediately following these words.
@aiday-mar I noticed that you are assigned to this issue, do you know what the fix for this would look like? Is it just modifying css in a file somewhere or more involved?

Hi @joelostblom thanks for posting this issue. I believe the fix would be more involved as it would involve adding increasingly more tabulations at the beginning of the line breaks. This is currently not on the iteration plan for this milestone, so if this is an urgent issue, you may have a go at implementing this.


Kanban board setup

Kanban Board setup
Project
Project Link
Team Members

@ArnaudBand
@BregornOriginal
@darikmohammed
@indigodavid

Project Screenshots

Hi @indigodavid,
Wow, you did it 🎉

Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
To highlight

Nice descriptions✔
All cards have points✔
Cards are fair✔

Cheers and Happy coding!👏👏👏


Meme Creator Bot for Telegram, part II

Student, group: Maxim Moschenskikh, 3530901/90201
URL: https://github.com/mmoschenskikh/meme-creator-telegram-bot
Git approach: git-flow

`+


Adds heatmaps wizard to the editor

It's featureflagged as "heatmaps", this closes issue #1928 and adds most functionality from #1988.
@javisantana
@saleiva

Frontend tests were OK :+1: (details)

Eres un amor cartofante.

Frontend tests were OK :+1: (details)

:es:

:dancer:


Provide Changelog entries to standard python logging

As ...
Austin - Network Automation Engineer
I want ...
to be able to track changes to the Nautobot objects for the long term
So that ...
I can audit and trace changes in Nautobot beyond the database retention period.  We have a large volume of automation changes occurring in the Nautobot database with SSOT and other tools.  This creates a retention issue for us with our database team would only like to store short term change logs in the database say < 10 days.  We would like to simply echo the same change information to the logs (via the python logger is fine) for us to capture in our longer term data lake (ELK in our case but could be splunk or others).
I know this is done when...

I have changelog entries in the database echo'd to the python logger

Optional - Feature groups this request pertains to.

[ ] Automation
[ ] Circuits
[ ] DCIM
[ ] IPAM
[ ] Misc (including Data Sources)
[ ] Organization
[ ] Plugins (and other Extensibility)
[ ] Security (Secrets, etc)
[ ] Image Management
[ ] UI/UX
[ ] Documentation
[ ] Other (not directly a platform feature)

Database Changes
None
External Dependencies

logging

@glennmatthews , this could include also JobResults (JobHistory) because both logs are interesting to extract

Duplicate of #3180


Alternate method to check celerybeat, standardize outputs for icinga2

I'm not currently setup to test this, and I am not a celery expert.
May have to pull in celery artifacts from factory in the celery_beat_available(): function.

Hello @jhowe-uw! Thanks for submitting the PR.

In the file portal/views/healthcheck.py, following                are the PEP8 issues :

Line 51:80: E501 line too long (90 > 79 characters)
Line 55:80: E501 line too long (97 > 79 characters)
Line 60:23: E221 multiple spaces before operator
Line 62:80: E501 line too long (83 > 79 characters)

@jhowe-uw please see this PR: https://github.com/uwcirg/true_nth_usa_portal/pull/2771

Closing. #2771 addresses this issue.


[Bug] Offload to S3 triggered manually returns success, while not uploading

Search before asking

[X] I searched in the issues and found nothing similar.

Read release policy

[X] I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.

Version
Apache Pulsar 3.0.4
Apache Pulsar Helm Chart 3.4.0
Kubernetes v1.27.13
Minimal reproduce step
Newly installed on Kubernetes using the Helm Chart
Change retention policy:
curl -vX POST -H 'Content-Type: application/json' http://{ip-address}/admin/v2/namespaces/public/default/retention -d '{"retentionSizeInMB": -1, "retentionTimeInMinutes": -1}'
Set offload configuration on namespace:
curl -vX POST  http://{ip-address}/admin/v2/namespaces/public/testing/offloadPolicies -h "Content-Type: application/json" -d '{"s3Driver":true,"managedLedgerOffloadDriver":"S3","offloadersDirectory":"offloaders","s3ManagedLedgerOffloadBucket":"apache-pulsar-offload","s3ManagedLedgerOffloadRegion":"{region}","s3ManagedLedgerOffloadServiceEndpoint":"https://{endpoint}"}'
Create new topic:
curl -vX PUT http://{ip-address}/admin/v2/persistent/public/default/test
Create a new subscription
curl -vX PUT http://{ip-address}/admin/v2/persistent/public/default/test/subscription/sub
Write Messages to the topic.
Get ledgerId:
curl -v http://{ip-address}/admin/v2/persistent/public/default/test/internalStats
Trigger offload with the following command:
curl -vX PUT http://{ip-address}/admin/v2/persistent/public/default/test/offload -H 'Content-Type: application/json' -d '{"ledgerId":{ledgerID},"entryId":1,"partitionIndex":-1,"batchIndex":-1,"batchSize":0}'
Check offload status:
curl -v http://{ip-address}/admin/v2/persistent/public/default/test/offload
Answer:
{"status":"SUCCESS","lastError":"","firstUnoffloadedMessage":{"ledgerId": ledgerID},"entryId":0,"partitionIndex":-1,"batchSize":0,"batchIndex":-1}}
What did you expect to see?
Files on the S3-Storage and logs on the brokers describing the course of the operation.
What did you see instead?
While the answer indicates everything went fine, no files were uploaded to the S3-Storage.
If the logs of two brokers are read the following logs relating the offloading command could be found:
broker-0.log
Broker 2 is the broker responsible for the test topic and the leader broker.
broker-2.log
Anything else?
The issue is related to this slack thread.
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

The topic has [6, 8, 10, 13] ledgers, and the input position is 6:0
The parameter messageId passed to http://{ip-address}/admin/v2/persistent/public/default/test/offload is the offload end position, the start position is the first entry of the first ledger. Say, there is [1, 2, 3] ledgers in the topic, messageId = 3:0, it will offload [1, 2].
Back to your question, your messageId param is wrong. If you want to offload [6, 8], the input param should be 10:0.

Thank you! That solved my problem!


Table: fix the empty table column cell element

This change: (check at least one)

[ ] Adds a new feature
[x] Fixes a bug
[ ] Improves maintainability
[ ] Improves documentation
[ ] Is a release activity

Is this a breaking change? (check one)

[ ] Yes
[x] No

Is the: (complete all)

[x] Title of this pull request clear, concise, and indicative of the issue number it addresses, if any?
[x] Test suite(s) passing?
[ ] Code coverage maximal?
[x] Changeset added?
[ ] Component status page up to date?

What does this change address?
Resolves #724
How does this change work?
Updates the <tb></tb> to

Going to close this PR and re-open with a clean commit history


[Errno 2] No such file or directory: './whitebox_tools'

I try to run the vector to raster conversion (on my jupyter notebook) as prescribed here: https://www.whiteboxgeo.com/manual/wbt_book/available_tools/data_tools.html?highlight=convert vector#vectorpolygonstoraster
'''
wbt.vector_polygons_to_raster(
i,
output,
field="FID",
nodata=True,
cell_size=None,
base=nc.var_name.as_numpy(),
callback=default_callback
)
'''
Firstly, it shows default_callback is not there
I run the code without the line as:
'''
'''
wbt.vector_polygons_to_raster(
i,
output,
field="FID",
nodata=True,
cell_size=None,
base=nc.var_name.as_numpy(),
)
'''
and I get the following error:
[Errno 2] No such file or directory: './whitebox_tools'
What could the problem be?

Hi @mn5hk
It looks like the PATH to the WhiteboxTools binary is not properly set. Make sure to include the full PATH including the .exe extension when setting the location of WBT.


AO-8587: Use X-Forwarded-Host as the domain if available

From the spec:
Per the web request KV spec, the HTTP-Host KV is required and contains domain information, this should be used as the domain value. There is also an optional Forwarded-Host KV that if available should be used in preference over HTTP-Host.

Codecov Report

Merging #32 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #32      +/-   ##
==========================================
+ Coverage   79.62%   79.65%   +0.02%
==========================================
  Files          21       21
  Lines        2376     2379       +3
==========================================
+ Hits         1892     1895       +3
  Misses        430      430
  Partials       54       54

Impacted Files
Coverage Δ

v1/ao/http_instrumentation.go
100% <100%> (ø)
: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 53ce294...4b777eb. Read the comment docs.


Possible solution for issue #2639 - use org.kordamp.gradle.enforcer" plugin

PR description
Ensure compatible JDK version is installed and used to build besu, by adding "org.kordamp.gradle.enforcer" plugin and a RequireJavaVersion rule. Gradle enforcer is a port of the maven enforcer plugin.
Example of error message when the rule is not respected:

Detected JDK Version: 11.0.15 is not in the allowed range [17,18).

Fixed Issue(s)
Fixes #2639
Thanks for sending a pull request! Have you done the following?

[x] Checked out our contribution guidelines?
[x] Considered documentation and added the doc-change-required label to this PR if updates are required.
[x] Considered the changelog and included an update if required.
[x] For database changes (e.g. KeyValueSegmentIdentifier) considered compatibility and performed forwards and backwards compatibility tests

Locally, you can run these tests to catch failures early:
I just checked unit tests as the PR does not modify the code.
By the way, note that KweiTest is environment-dependent. Decimal separator is not "." for all locales :)

[x] unit tests: ./gradlew build
[] acceptance tests: ./gradlew acceptanceTest
[] integration tests: ./gradlew integrationTest
[] reference tests: ./gradlew ethereum:referenceTests:referenceTests

I'll create a new one with signed off commits


The output values of the Hψ model are all NaNs

Dear Author,
I am very interested in your work. However, while attempting to reproduce your code and retrain the diffusion model, I encountered an issue where the data augmentation samples could not be generated. Specifically, the output values of the Hψ model are all NaNs, which suggests there might be a problem with the gradients. Could you please advise on how I might resolve this issue?
Thank you.

Hello @bojinxin ,
Thank you for your interest in our work.
Are you normalizing the data? In my experience, this happens when the input values have a wide range.


fix: email error message only on error

Description
Hotfix for release

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


Win beta Integration

High-level description
This  PR accumulates integration changes for DC/OS Windows Beta in one place.
Corresponding DC/OS tickets (required)
All Beta Scope

@mesosphere-mergebot label Ready For Review

@mesosphere-mergebot changelog-not-required Updates to unreleased code


Pose Detection does not return correct coordinates in IOS.

Pose detection is correctly working on android and when I use it in ios it gives wrong coordinates
For example: The leftWrist gives the coordinates of rightWrist and rightWrist gives the coordinates of leftWrist
I changed left to right and right to left then it worked.
It seems that in ios it treats your left side as your right side.
Please check it and tell me that is it the fault in this package.

@BilalKashif : could you send a PR?

I noticed that on iOS the landmarks returned by the model are not in any particular order. This made it look like the coordinates were wrong. To fix it, I just sorted the landmarks before handling them:
landmarks.sort((a,b) => a.type.index.compareTo(b.type.index));

That means we can close this issue.
@BilalKashif : Confirm that that works for you.

I dug into this a little further and I think this issue should be reopened. In addition to the landmarks being out of order, the left and right landmarks are reversed on iOS (so your left knee is labeled as your right knee, your left ankle is labeled as your right ankle, and so on)

@jtmuller5 : only reopen if you are going to send a PR to fix the issue.


Inspec can't find terraform executable

A dup of #4, but that issue was closed by the original submitter. However, I'm seeing this problem today.
inspec-iggy 0.2.0
chefdk 3.0.36 and 3.1.0
Terraform v0.11.7

provider.aws v1.26.0

Terraform is installed on my mac at /usr/local/bin/terraform. I also tried symlinking /opt/chefdk/bin/terraform to it, but the result is the same.
build$ inspec terraform version
Could not find command "terraform".
build$ gem list inspec

*** LOCAL GEMS ***

debug_inspector (0.0.3)
inspec (2.2.50, 2.1.72)
inspec-iggy (0.2.0)
kitchen-inspec (0.23.1)

build$ chef --version
Chef Development Kit Version: 3.1.0
chef-client version: 14.2.0
delivery version: master (6862f27aba89109a9630f0b6c6798efec56b4efe)
berks version: 7.0.4
kitchen version: 1.22.0
inspec version: 2.1.72

The same problem

I assume the problem is related to your installation method. your are using the inspec command from chefdk but installed inspec-iggy in your normal ruby environment. In order to use inspec-iggy with chefdk you would need to run chef gem install inspec-iggy

same problem, i used my system ruby to install inspec and inspec-iggy... terraform executable is in /usr/local/bin and in $PATH. Feels like inspec-iggy may have some assumptions around where the terraform executable lives?

The error message is a bit obtuse, it's not actually looking for the "terraform" command, it can't find the "inspec terraform" subcommand.
The README for the upcoming 0.3.0 (https://github.com/inspec/inspec-iggy/pull/14) documents several installation techniques (ChefDK, InSpec Omnibus, Rubygems and development). Right now it works with Linux & MacOS, I'll get Windows sorted eventually.

Iggy is now a a proper InSpec plugin. Try installing with "inspec plugin install inspec-iggy" and you should get the "inspec terraform" subcommands.


Use custom scripts at blueprint ci.

I'm not sure this will solve this issue: if you generate ci-cd with GitHub Actions and push it, it'll fail with an error:
GraalVM native-image is missing from your system.

To fix this issue, this blueprint would need to modify the ci-cd subgenerator and use setup-graalvm instead of setup-java. And I'm not sure we'd want to do that because then we're encouraging developers to do GraalVM builds for every check-in, which is pretty slow and not great for CI.

this PR reverts scripts to original behavior, so jhipster ci-cd will work.

I didn't realize that. I agree this is the right move.


Added embeddings_utils.py to utils directory, and updated references

…in other notebooks.

Looks great, thank you!


Heroku fails to deploy backend due to the existance of both a yarn.lock and a package.json

-----> Build failed

 !     Two different lockfiles found: package-lock.json and yarn.lock

       Both npm and yarn have created lockfiles for this application,

       but only one can be used to install dependencies. Installing

       dependencies using the wrong package manager can result in missing

       packages or subtle bugs in production.

       - To use npm to install your application's dependencies please delete

         the yarn.lock file.

         $ git rm yarn.lock

       - To use yarn to install your application's dependences please delete

         the package-lock.json file.

         $ git rm package-lock.json

       https://help.heroku.com/0KU2EM53

Thanks for the report, we'll fix this in an upcoming release that I'm working on. In the meantime, you can fix this for your own project by deleting either of these files

We're only using yarn.lock now 👍


The Reservoir Interval starts from the moment the limiter is created

I'm running into the issue described in the documentation:

Let's suppose we're using reservoirRefreshAmount: 5. If you happen to add 10 jobs just 1ms before the refresh is triggered, the first 5 will run immediately, then 1ms later it will refresh the reservoir value and that will make the last 5 also run right away. It will have run 10 jobs in just over 1ms no matter what your reservoir interval was!

To overcome the issue, i.e. prevent running more than 5 jobs over a certain interval (say 1 minute), I'm using the code below:
const interval = 60 * 1000
const limiter = new Bottleneck({ maxConcurrent: 1, minTime: 1, reservoir: 5 })
limiter.on('executing', (info) => {
      setTimeout(() => limiter.incrementReservoir(1), interval)
})

Do you see any issue with this approach or do you have any other suggestion?

I'm just sharing my solution here for this same problem.


Kwxm/bls12 381/generators in plutus tx (PLT-6145)

This adds some BLS12-38-related things to PlutusTx to make things a bit more convenient for programmers (see eg #5383).

It exposes the zero elements and the standard generators of the G1 and G2 groups as Haskell values (these are constants that might be useful for programmers and it's tricky and error-prone to manufacture them yourself).
It adds an Eq instance for the G1 and G2 types so that users can write == instead of BLS12_381_G1_equals, and similarly for G2.

I also noticed that I could tidy up the PLC implementations of the BLS functions using coerce, so I took the opportunity to do that while I was at it.

I haven't added any new tests for this, but then I don't think we really have any tests for specific features.

Also G1.unElement , G2.unElement and unMlResult are not used atm. Lately I started disliking these record update syntax: https://taylor.fausak.me/2018/03/16/record-fields-break-smart-constructors/

Also G1.unElement , G2.unElement and unMlResult are not used atm. Lately I started disliking these record update syntax because of: https://taylor.fausak.me/2018/03/16/record-fields-break-smart-constructors/

I just did that because it's what we do everywhere else.  Does our style guide say anything about that?

Initially I was worried when coercing between phantom newtypes, but then I found out that there is this: https://github.com/input-output-hk/cardano-base/blob/master/cardano-crypto-class/src/Cardano/Crypto/EllipticCurve/BLS12_381/Internal.hs#L228
which makes this safe. This PR looks good to me then.

Oh, thank you for pointing that out.  I'm not too familiar with the innards of  coerce, which is why I asked people who know more than me for a review!


fix image IO

Fix for using old PIL library which is failing for:
AttributeError: module 'PIL.TiffTags' has no attribute 'IFD'

@lgvaz @ai-fast-track could you please approve CI run? :rabbit:

note that it keeps using PIL as a primary tool, and ties to use OpenCV only if the PIL tries fails...

for the record, there are not so many loading alternatives...
https://towardsdatascience.com/what-library-can-load-image-in-python-and-what-are-their-difference-d1628c6623ad

yeah, the codecov is expected to fail as it would be required to create such a corrupted image file and upload it to git for testing...

@lgvaz any update here? :rabbit:

@lgvaz any update here? :rabbit:

any update here? @FraPochetti

Hi @Borda ,
first of all please accept our apologies for responding so late.
This issue had fallen through the cracks and it got just buried among notifications.
We have discussed your PR and I am afraid we cannot accept it.

Nobody else has raised this specific issue except you, and we are not able to reproduce it.
We have worked hard to move out of opencv to handle images, and transitioned entirely to PIL a while back. Even if you are proposing just a fallback option to catch the error, we prefer to stick to our strategy.

Thanks for your understanding.


Add filters for unavailability in the admin interface.

@glogiotatidis quick r?

Coverage decreased (-0.06%) to 91.9% when pulling eabacd7f183be98a9937380ced8224e161ba3b84 on akatsoulas:user-status-admin into 3a6e171ecb8f91842622514f5c6428714f9387ea on mozilla:master.

r+


PowerToys disappeared from second user and from Microsoft Store after update

Microsoft PowerToys version
0.61
Running as admin

[X] Yes

Area(s) with issue?
General, PowerToys Run, System tray interaction
Steps to reproduce
Befgore update I had PowerToys installed from Microsoft Store at the latest version and running at startup as an admin for both my main account and my secondary work account (both admin accounts) on Windows 11, then yesterday I updated PT from in-app update, and restarted my PC. After the restart, PowerToys does not run anymore on startup for my secondary account and I cannot find it when searching in Windows search on the taskbar. Also when I try searching for it on the Microsoft Store, no result is given, even in My Library section of MS Store app the app does not appear as installed.
What I tried:
Opening PT from my main account where it still runs at startup and removing elevated privileges, then restart -- Not solved
✔ Expected Behavior

PowerToys to run on startup both on main and secondary account on Windows 11
Find PowerToys when searching in the system search on the taskbar

❌ Actual Behavior

PowerToys not running on startup on secondary account on Windows 11
Unable to find PowerToys when searching in the system search on the taskbar on both main and secondary account

Other Software
No response

There's a bug with the 0.61 release where the shortcut is getting deleted on an update. This might've caused the second user issue, since it's possible you had added it through startup through a shortcut for that user.
I think it's a /dup #19708

By the way, there's a pretty good workaround for this until the fix is out, which is uninstalling and installing again :)


Fixed confusing matching brace highlight color-scheme for terminal vim

While using the color-scheme in terminal vim, the matching brace highlighting becomes confusing.

As shown in this gif, when cursor lands on a brace its bgcolor becomes black and the bgcolor of the matching brace becomes magenta, which becomes confusing while navigating through file,
Here is my fix:

I changed the bgcolor of cursor to white when it lands on a brace to avoid confusion.

I can't replicate this behaviour on my terminal.
Also, your modification is changing the original purple color, which becomes darker. But the original bright purple would make the white parenthesis not very visible.
I'd say, if this change works for you, feel free to keep on a separate fork.
I'll leave this open for a while anyway.

Can't you yourself do some change. It will be great to have the matching parenthesis highlighting color-scheme changed in the original repository.

Which terminal are you using?
What do you think about having an alternative_matchparen2 option? Could you test the following colors and let me know it that works?
ctermfg=251 and ctermbg=198

I am using Gnome Terminal 3.18.3 (xterm 256 color) in ubuntu. I don't know why you can't replicate the behavior on your terminal. I also tried the same on version 3.20.3 too and got same results.
I think an alternative_matchparen2 could be a great option too if it is not behaving the same on your terminal then it might do the same on other terminals too.
I tried the colors. They are good too. But I think it will be visible a little bit better with
ctermfg=252 and  ctermbg=198

In some terminals the cursor in Vim behaves differently.
I have created a branch called 'inverted_matchparen'. Could you please review the changes and test the new option on your terminal before I merge?
Thank you.

The new option is working great. And since both the highlighting are present it will work for both type of terminals.
Thank You for your support.
PS: By the way which terminal version and which OS do you use?

Great, I've just merged the last updates!
P.S. I'm currently using iTerm2 on a Mac.


Enable Sunrise's reference.conf to override Play's reference.conf

Currently it is not guaranteed which one will be loaded first, not allowing us to override default configuration.
https://github.com/lightbend/config/issues/342

Wait for outcome for a more detailed solution, but probably apply the fallback option.


The lettuce client often reconnects. Is this a bug?

Bug Report

Current Behavior

Stack trace
During project running, reconnection frequently occurs and the following error is reported:
[ lettuce-epollEventLoop-6-3 ]  io.lettuce.core.protocol.ReconnectionHandler.lambda$null$3(ReconnectionHandler.java:174) - Reconnected to ....
![image](https://github.com/lettuce-io/lettuce-core/assets/131660963/ba60b049-7fda-48a2-9d27-9b20d063115b)
// your stack trace here;

Input Code

Input Code
// your code here;

Expected behavior/code

Environment

Lettuce version(s): [e.g. 5.0.0.RELEASE, 4.2.2.Final]6.1.10.RELEASE
Redis version: [e.g. 4.0.9] 5.0

Possible Solution

Additional context

If it often reconnects, then it will have a reason, either network infrastructure is closing connections or Redis closes the connection.


Resizing window corrupts non-active tabs

[x] Your Hyper.app version is 2.1.1. Please verify your using the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

Any relevant information from devtools? (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):

N/A

Is the issue reproducible in vanilla Hyper.app?

Yes
Issue

Launch Hyper
Create a second tab
Resize the window
Switch back to the first tab and notice the command prompt is displayed as if the console width is 1 character.
Typing the enter key redraws the screen and displays a normal prompt

Hyper version: undefined "2.1.1"

OS ARCH VERSION: win32 x64 10.0.16299

Electron: 1.7.9  LANG: undefined

SHELL: undefined   TERM: xterm-256color

 ~/.hyper.js contents

          {
  "updateChannel": "canary",
  "fontSize": 12,
  "fontFamily": "Menlo, \"DejaVu Sans Mono\", Consolas, \"Lucida Console\", monospace",
  "cursorColor": "rgba(248,28,229,0.8)",
  "cursorShape": "BLOCK",
  "cursorBlink": false,
  "foregroundColor": "#fff",
  "backgroundColor": "#000",
  "borderColor": "#333",
  "css": "",
  "termCSS": "",
  "showHamburgerMenu": "true",
  "showWindowControls": "",
  "padding": "12px 14px",
  "colors": {
    "black": "#000000",
    "red": "#ff0000",
    "green": "#33ff00",
    "yellow": "#ffff00",
    "blue": "#0066ff",
    "magenta": "#cc00ff",
    "cyan": "#00ffff",
    "white": "#d0d0d0",
    "lightBlack": "#808080",
    "lightRed": "#ff0000",
    "lightGreen": "#33ff00",
    "lightYellow": "#ffff00",
    "lightBlue": "#0066ff",
    "lightMagenta": "#cc00ff",
    "lightCyan": "#00ffff",
    "lightWhite": "#ffffff"
  },
  "shell": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
  "shellArgs": [],
  "env": {},
  "bell": false,
  "copyOnSelect": true
}
      {

"plugins": [
"hypersolar-dark"
],
"localPlugins": []
}

Duplicate of https://github.com/zeit/hyper/issues/2421

Ugh, sorry, I missed that :(
Yup, this is a dupe.


Uncovered branch which is created from babel

I’m using istanbul 1.0.0-alpha 2 with babel 6.5.0 in the same way as sample-mocha-compilers.
I’ve noticed a bug where istanbul reports an uncovered branch which is not visible in the HTML report. After some debugging and looking at the transpiled code from babel I was able to create a minimal reproducible example based on sample-mocha-compilers.
The example can be found here: https://github.com/lo1tuma/sample-mocha-compilers/tree/issue-inline-ternary.
babel-plugin-transform-es2015-typeof-symbol transforms a typeof expression to a ternary which causes additional branches.
For example:
typeof bar === 'object'
will be transpiled to
(typeof bar === 'undefined' ? 'undefined' : _typeof(bar)) === 'object'
It seems like istanbul doesn’t recognise that this code was generated by babel and reports that one of the branches in the ternary isn’t covered.
Here is the screenshot of the HTML report of the example mentioned above:

As you can see the generated code isn’t visible anymore and according to the line-coverage every branch was taken.

@lo1tuma You can just provide it tests two variants of maybeObj:
maybeObj = undefined
maybeObj = 'string'
then
typeof maybeObj === 'object'
will run both branches hidden at babel replacement of typeof


Compiling speed

I notice a big difference in speed for running a sketch in native Processing (3) and Sublime. It's probabily more than double.
For example, a certain sketch takes about 2 seconds to launch from Processing and 5 from Sublime, so about 2.5x.
Any idea why and if it's possible to speed up?

I know what you mean. Sublime's build is a little slower than the Processing IDE, although my speeds in both Processing and Sublime are both faster than the numbers you mention. This is system-dependent. There's nothing we can do about this.
For example, you'll probably find that running your sketch with processing-sublime is just as "slow" as building with Sublime.


Expired download links aren't removed

The download link expires after 3 weeks. After that, the user should be able to buy the same lecture a second time. This is currently not possible as the lecture.php is showing that the user already bought the lecture while the download.php
lecture.php

download.php

Fixed in 9f32b75e919dcf633058cf2cec21b3661e86cdcb. Will create PR.


Bug tz and object series concatenation

Related to #11755 ,#11693. Will be fixed in  #11705

In [1]: import pandas as pd

In [2]: x = pd.Series(pd.date_range('20151124 10:00', '20151124 11:00', freq = '1h', tz = "UTC") )

In [3]: y = pd.Series(['a','b'])

In [4]: print(pd.concat([x,y]))

AttributeError: 'numpy.ndarray' object has no attribute 'tz_localize'

why did u open a new issue? this is a dupe


[feature] Allow for running tests with multiple Node.js versions

Currently the Node.js builder only supports one Node.js version when running scripts (provided by the node-version input).
package maintainers often want to run tests with multiple Node.js versions in order to make sure they are still backwards compatible.

Maybe the answer is that they just run the tests before calling the builder and the builder just handles running tests?

@ljharb has a workflow which is convenient for running tests and supports running over multiple Node.js versions. I'm not sure we would really want to implement something similar though.
https://github.com/ljharb/actions/blob/d9f477827ed71a259056764107f74afc29febcae/.github/workflows/node.yml
Example usage:
https://github.com/minimistjs/minimist/blob/fdbb909cf916b3bac9f76f6ee72c64e05b73c2d9/.github/workflows/node-tens.yml#L8-L14
Probably the easiest thing for users to do would be to call ljharb's workflow to run tests and then call ours to do the actual build. I think it makes sense to keep these separate and not implement something specific to running tests.

Especially since the build only needs to be run by the publisher, so there's no reason the build has to have the backwards compatibility support that the production code may need.

I added some docs with an example of running tests in the builder but I should probably clean that up with an example that runs tests separately.

I also typically run the linter separately, since the linter only needs to run once, while the tests need to run in every supported version (modulo practicality).

That makes sense. Closing in favor of #2288