FIX: copy name attribute of dataset_description.json from input dataset

Currently, the name attribute in "dataset_description.json" in the MRIQC derivatives is always set to "MRIQC - MRI Quality Control"
I propose instead copying the name from the input dataset.

It's not really the same dataset. Could do something like: f"MRIQC - {name}"?

@effigies Given that in dataset_description.json in the derivative folder the field "DatasetType" indicates "derivative" and that "GeneratedBy" indicates "MRIQC", I thought this is enough information to distinguish that it's the MRIQC derivatives of the dataset .
But of course, we can write "MRIQC - {name}"


Showing some empty duplicates of other tasks

I see that there are some empty tasks being shown in the card-board, which actually link to other tasks in the individual notes. These tasks appear as empty cards and immediately below the actual card that they are a duplicate of.

Any reason this might be happening?

This seems to be some transient issue. I have noticed this issue a few times. Whenever I see it, I restart Obsidian, and the problem goes away.
But there is something going on for sure as it does recur after a day or two.
I am on Obsidian v1.5.8 with the following extensions installed


Dirty fix to fix brackets without operators

This will automatically assume that such case is a multiplication, as per BODMAS rules.
Closes #1.
On a completely unrelated note... would you consider adding an open source license? I'd really like to use this in another project, if you are willing to.

Hello! Sorry, I have no idea how I've only just seen this. Yes, I'll absolutely add an open-source licence for this if you still need to use it, I appreciate you taking the time to add some functionality to this 😄 I'll review it and get back to you ASAP

Actually, upon further testing it actually does prematurely end.
After removing the lines as you suggested this was the result:
D:\Documents\Git\BODMAS-Calculator>py bodmas_calculator.py
Enter your calculation: (5+6)(7+8)+(1+2)(3+4)
[1]
['(', 5.0, '+', 6.0, ')', '(', 7.0, '+', 8.0, ')', '+', '(', 1.0, '+', 2.0, ')', 7.0]
[1]
['(', 5.0, '+', 6.0, ')', '(', 7.0, '+', 8.0, ')', '+', 3.0, 7.0]
[1]
['(', 5.0, '+', 6.0, ')', 15.0, '+', 3.0, 7.0]
[1]
[11.0, 15.0, '+', 3.0, 7.0]
[1, 3]
[1]
168.0

However the correct result is this:
D:\Documents\Git\BODMAS-Calculator>py bodmas_calculator.py
Enter your calculation: (5+6)(7+8)+(1+2)(3+4)
[1]
['(', 5.0, '+', 6.0, ')', '(', 7.0, '+', 8.0, ')', '+', '(', 1.0, '+', 2.0, ')', 7.0]
[1]
['(', 5.0, '+', 6.0, ')', '(', 7.0, '+', 8.0, ')', '+', 3.0, 7.0]
[1]
['(', 5.0, '+', 6.0, ')', 15.0, '+', 3.0, 7.0]
[1]
[11.0, 15.0, '+', 3.0, 7.0]
[1, 5, 3]
[3, 1]
[1]
186.0

Compared against a TI-83.

Cool that's fine then, thanks for looking into that! Will merge now


Add new language: [Portuguese]

@rafaelgomesxyz looks like @trakt-tools-bot has imploded or something.


Account Page is loading endlessly

We customized bigdipper for our own chain, everything is working fine except the account page is loading endlessly.

after adding /screens/account_details of some other app directory, it works.


Bump runtime version

Coverage remained the same at 34.095% when pulling 177be3a23bd9729d9217394459fcdb4cac38845f on binyli/runtime into bf41920d6d7319e310760df5b9ad1bb4a1531241 on master.


VSCode ignores editor.insertSpaces

VSCode Version: 1.0.0
OS Version: Windows 10

I was editing a README.md file, when VSCode prompted me to download the new VSCode update. Did so, but after when I continued editing then each time I hit Tab then the tab was promptly replaced with spaces.
My User/settings.json looks like this:
{
	"editor.renderWhitespace": true,

	"editor.wrappingColumn":<PHONE_NUMBER>0000000000,

	"editor.tabSize": 4,
	"editor.insertSpaces": false
}

Tested out some different things, but it looks like editor.insertSpaces is ignored, and it simply uses spaces, if spaces previously have been used as any kind indention in the file. Though if both tabs and spaces have been used as indention, then it won't replace any following tabs with spaces.

// @isidorn and insights?

Yes, we have changed this behavior in our latest release - more details can be found under 'Tab and Space indentation' here.
Here is the issues which motivated us to do the change https://github.com/Microsoft/vscode/issues/3259
Shortly use editor.detectIndentation:false if you want your old behavior back,

@isidorn that's weird, I even checked code.visualstudio.com, but somehow I totally overlooked the "Tab and Space Indentation" section.


Add Universe, Handle and auto-monadization

Based on #293
This adds an auto-monadization system of sorts so that we can handle stateful operations. The Universe and Handle types are added, which essentially functions as follows (the use_universe flag is required for now):
@myia(use_universe=True)
def iadd(h, x):
    current = handle_get(h)
    new = add(current, x)
    handle_set(h, new)
    return None

h = HandleInstance(10)
iadd(h, 42)
assert h.state == 52

The above function is internally transformed into the following one:
def iadd(U, h, x):
    U, current = handle_get(U, h)
    U, new = add(U, current, x)
    U, _ = handle_set(U, h, new)
    return U, None

So every function gets a new parameter, the "universe",  which is called U, which is a key value store where keys are handles. They also always return a pair, where the first element is the updated universe. At the end of the call, Myia updates all the handles according to their values in the universe returned by the top level function.
A handle can be used as a sort of cell to store state, like in the example. For printing, there would be a global print_handle, and for random numbers, the handle would point to the random state.
The system as implemented in this PR has the following limitations, which will have to be addressed in future PRs:

There is no backend support. The debug VM must be used.
There is no gradient support. This shouldn't be too difficult, and in theory it shouldn't matter for features like print or random numbers (since we're not taking gradients wrt these states).
It doesn't work with partials, and it's not clear how to fix that: a partial sets the first argument(s) of a function, but the U argument should be threaded in every actual call, it should never be stored in a partial. One solution is to special-case this argument with partial (except we want to be able to eliminate it if it is unused, so there would be two versions of partial?), another is to always have U as the last argument (but this doesn't mesh well with varargs).
There are no optimizations on universes yet. I have written one, but I think it'll be more appropriate to add it later.

I'm reasonably certain that I can make this work in the relay backend.


Update test_models.py

Description
New decoder was added in #926, but I found that UPerNet & DeepLabV3Plus missed some tests.

test_forward_backward
test_aux_output

This PR fixes some bugs and ensures that each decoder has been tested.

Hi @qubvel ,
I think it's ready to merge.
Update

Add a new test size to avoid the PSPModule pooling size of 1x1 in PSPNet/UPerNet from triggering a PyTorch nn.BatchNorm2d size error.

Thanks a lot for contribution!


Make "args": "${command:pickArgs}" as default debug configuration

Originally posted at vscode/issues#225834
I was really frustrated when I "debug Python files with arguments", input my space-separated argument list, and see my script treating it like a single argument. So I think it is more sensible to make "args": "${command:pickArgs}" as default, instead of "args": ["${command:pickArgs}"]. More specifically, I suggest changing the default debug configuration:
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python Debugger: Python File",
            "type": "debugpy",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal",
            "args": [
                "${command:pickArgs}"
            ]
        }
    ]
}

to:
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python Debugger: Python File",
            "type": "debugpy",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal",
            "args": "${command:pickArgs}"
        }
    ]
}

I found this problem as well. Removing the [ ] does make it work properly.

I use the argparse library to parse command line parameters, but if there is [ ], the passed parameters will be wrapped in single quotes ' ', which will cause argparse parsing errors (because it is a single parameter). Only by removing [ ] can the passed parameters be turned into independent multiple parameters and run correctly.


[EUWE] Accept option to delete all resources together with a stack

Upstream ManageIQ/manageiq-providers-azure#24 commit 71e9ea4a549450dda09c34a95a8911d566821046
There is a difference from the upstream where by default all resources are deleted
with the stack. For Euwe we will only delete resources when the flag is on.
https://bugzilla.redhat.com/show_bug.cgi?id=1414003

There is the same porting for Darga https://github.com/ManageIQ/manageiq/pull/13547

@blomquisg is this good to go?


Merge dependabot PRs from master

@alexjoverm I noticed there are many dependabot PRs from master that feature/gatsby5 branch didn't merge.
Some dependabot PRs from master contains Gatsby 4 versions and we want to avoid merging that to feature/gatsby5 branch.
But the rest contains other PRs (i.e. TypeScript, eslint, etc)
Should I close to avoid complications and wait dependabot to open new PRs again when we merge Gatsby 5 support PR?

Closing due to cleaning up before Gatsby 5 FR support


Quran() class isnt working properly

Traceback (most recent call last):
File "F:/taqwa bot/test.py", line 3, in
print(qur.get_verses(6))
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\quran\Quran_api.py", line 134, in get_verses
return self.rq.get(f"{self.base}chapters/{chapter_id}/verses", kwargs)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\quran\MiddleWare.py", line 26, in get
self.res = requests.get(uri, params=args[0], headers=self.headers)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='api.quran.com', port=3000): Max retries exceeded with url: /api/v3/chapters/6/verses (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000002A0205C2400>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
Got any advise what I can do with it?

quran.com team has disabled port 300 and opened 443 and 80.
I have fixed the issue on my side.
Now it's working.
Thanks for the feedback.


♻ Configの一部セクションを別interfaceとして分離

:tada: This PR is included in version 1.5.0 :tada:
The release is available on:

Visual Studio Marketplace
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.5.0 :tada:
The release is available on:

Visual Studio Marketplace
GitHub release

Your semantic-release bot :package::rocket:


Docs are not up-to-date

With Slither's new way of making projects, the current docs are out of date.
@Omegabyte, would you like me to assign you to this?

Done and dusted

Fixed in  814d8b3 , docs should now be up to date.

@Omegabyte Thanks, I'll close this.


enh - configurable explosions

Hello
please, add to config:

explosion power
explosion chance
stability of reactors or used materials (maybe)

it makes working with reactors little harder and more interesting

Certainly very possible, but what do you mean by 'explosion chance'?

chance to explosin when is reactor unstable or hot....
to make it not explode everytime on same situation.. to make it more unpredictable

Well, the thing is that there's a very definite heat bar in the GUI to warn when the explosion will occur, so I don't see why there should be a chance to explode.
Anyway, I'll add a config to change the reactor's explosion radius.


Adding/removing/renaming a class always forces dependent source file to recompile

A.scala
// class Q

object A { val x = 3 }

B.scala
object B { val x = A.x }

compile
Uncomment line in A.scala.
compile. Both sources are recompiled because Q introduces a change to the hash for <init> (in the compilation unit A.scala).

The underlying reason is that name hashing is tracking hashes for names at source file (compilation unit) level. The hash for <init> includes hashes for both A.<init> and Q.<init>. Therefore name hashing works well only when a member that is modified doesn't introduce any nested members. Therefore, it works for changes to val and def but not to class and object.

This issue is migration of gkossakowski/sbt#8.

[for ] in the compilation unit A.scala.

This can be closed since it's fixed in sbt 1.0.0.


Fix int declaration inside of for loop

Fixes #101

merged. Thanks!

@sustrik thank you!

@procedural that fixed the cmake build for me on osx just now. thanks!

@reqshark cool! I tested it with CMake too, it works under Linux now too.


Enable Azure Policy for AKS Cluster

Is there an existing issue for this?

[ ] I have searched the existing issues

Description
completed.
New or Affected Resource(s)/Data Source(s)
No response
Potential Terraform Configuration
No response
References
No response

Refactoring AKS Module for MVP #19


getOffsetForRow always returns 0 when entire list fits in view

Is this the intended behavior?  I still expected it to give the distance from the top of the container to the row.
I still haven't fully grokked the code, but this logic at the end of CellSizeAndPositionManager.getUpdatedOffsetForIndex seems suspicious:
return Math.max(0, Math.min(totalSize - containerSize, idealOffset));

In this case idealOffset was the value I expected (essentially index * rowHeight)
but totalSize - containerSize was less than zero since the entire list fits in the view.
I don't understand the reasoning behind this calculation.  If row height is 40px and the container size is 60px, this will return 20px for every index >= 1.  Doesn't make sense to me, but maybe I don't understand what's needed for certain cases?

not stale, and...you configured the bot to mark stale and close at the same time?


Clarify relationship self link

PR in response to the confusion in http://discuss.jsonapi.org/t/how-to-handle-an-excessive-number-of-included-resources/209
This isn't adding anything new, just repeating info in another place to make it easier to find amidst our (now quite long) spec.

Any objections to my merging this?

The wording is slightly awkward, but I am fine with this :+1:

Cool beans; merged. Re the wording, I'm happy to revise it if anyone has ideas. In the mean time, though, I figure something is better than nothing.

I think the wording of the added part is fine; however, I've always thought the previous sentence is unhelpful:

For example, it would allow a client to remove an author from an article without deleting the people resource itself.

Surely you don't need to go through the relationship URL to do that — just set the value to null. So if someone revisits this part, that explanation is what I think could use some improvement.
In #498 I suggested:

For example, it would allow a client to add a new comment to an article without going through the article resource and updating the entire set of comments references.

Looking at this now, "replacing the entire set of comments references" would be even better.

Nice to see you again, @bintoro! Hope all's going well :)
About the sentence you mentioned: I've always understood its chief purpose to be pointing out the difference between updating resource objects and updating the links between them. Your text better captures when exactly a relationship link would be needed (since, as you point out, the example currently given could be handled through the resource object), but it seems to bury this high-level distinction a bit. Maybe there's some text that gets the best of both worlds?

 It got taken out and now I'm recovered. :muscle:

About the sentence you mentioned: I've always understood its chief purpose to be pointing out the difference between updating resource objects and updating the links between them.

Ahh okay now I get it. I've always read it as if it's trying to present a way to do something fancy:

For example, it would allow a client to remove an author from an article without deleting the people resource itself.

Rewriting it like this totally changes the connotation for me:

For example, deleting an author through an article's relationship URL would break the relationship without deleting the people resource itself.

To me, this looks more like a description of what the link is, as opposed to an example of something cool the link can do. Am I making any sense here?

@bintoro Sorry to hear about the vision issues, and so glad you're recovered!

To me, this looks more like a description of what the link is, as opposed to an example of something cool the link can do. Am I making any sense here?

Yeah, that makes total sense, and I'm :+1: on the spirit of your wording, though I'd tweak it a bit:

For example, removing an author through an article's relationship URL would disconnect the person from the article without deleting the people resource itself.

Does that sound good? If so, can you open a PR and, assuming no one objects, we'll merge it in!

removing an author through an article's relationship URL would disconnect the person [...]

Yessss, that's the word I was going for. Perfect.


Slowmode update

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the [contributing guidelines][contributing].

Changes

[x] Internal code
[] Library interface (affecting end-user code)
[] Documentation
[] Other: _____

Closes Issue: NaN
Description
Allows slowmode to be set to new maximum slowmode of 6 hours

6.... 6 hours?!


continuous scroll

David i saw you responded to someone about adding a "tweak" for continuous scroll.
has that been officially added?  I just want a carousel to scroll with no stops but do it at a slow or normal speed.  no clicks needed on images so no lightbox integration.  just scrolling logos.
would not even know where to start on this

Hi. There isn't a built-in feature for this, but you can replicate the functionality with this code:
.sp-slides {
     transition-timing-function: linear !important;
}

setTimeout(function(){
     $( '.slider-pro' ).sliderPro( 'nextSlide' );
}, 5000);

$( '.slider-pro' ).on( 'gotoSlideComplete', function() {
    $( '.slider-pro' ).sliderPro( 'nextSlide' );
} );

Also, the autoplay option needs to be disabled.
It might now work flawlessly, a better implementation depends on your configuration.
Cheers!

Top part looks css. Lower part looks js. Not sure exactly these code sections go. But, will this turn ALL slides into continuous or van this be triggered for only 1 slider and the rest stay normal?
Try the top-rated email app
On Tue, Apr 3, 2018 at 3:38 AM, David<EMAIL_ADDRESS>wrote:
Hi. There isn't a built-in feature for this, but you can replicate the functionality with this code:
.sp-slides {
transition-timing-function: linear !important;
}setTimeout(function(){
$( '.slider-pro' ).sliderPro( 'nextSlide' );
}, 5000);
$( '.slider-pro' ).on( 'gotoSlideComplete', function() {
$( '.slider-pro' ).sliderPro( 'nextSlide' );
} );
Also, the autoplay option needs to be disabled.
It might now work flawlessly, a better implementation depends on your configuration.
Cheers!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

david i finally had a chance to get this working.  it is a little fast.  i notice the 5000 in the set timeout function but is there a way to slow it down?

i figured it out.  added "slideAnimationDuration" line into the setup js on page and it slowed it down.  700 is default and that made the slide way too fast.  changing to a much higher number slows it way down.  i chose 4000 and it gives it a much smoother and slower speed
slideAnimationDuration: 4000,


Syntax highlight for ERB in heredoc

I have checked that this feature is not already implemented

[x] This feature does not exist

Use case
I'm writing a lot of my ViewComponent with inline erb as heredoc and it would be great if the syntax highlight works for it as well.
Description
Based on the current grammar, using ERB in heredoc won't get syntax highlighted like the other supported language in this file.
I tried with HTML and it worked only with the non Ruby part.
It's quite odd that there are support for JS, GRAPHQL, and other languages but not ERB.
Implementation
We only need to add a configuration for ERB to the grammar file.

Thank you for the feature suggestion! We should definitely handle ERB heredocs too.

Awesome! If you hit any blockers, don't hesitate to ping the team in this issue.


feat: Modify optimized compaction to cover edge cases

This PR changes the algorithm for compaction to account for the following
cases that were not previously accounted for:

Many generations with a groupsize over 2 GB
Single generation with many files and a groupsize under 2 GB

Where groupsize is the total size of the TSM files in said shard directory.

@davidby-influx I've added checks to verify that I'm not planning PlanOptimize() or FullyCompacted() specific TSM layouts 👍


Using nimbleFunctionList without nimbleFunctionVirtual?

I'm wondering if it is possible to create a nimbleFunctionList populated with nimbleFunctions without using a nimbleFunctionVirtual.  For example, the following code makes a list of littleFunctions which do not inherit methods from a nimbleFunctionVirtual.  All of the functions in the list are the same nimbleFunction, but with different setup values.
Running the code gives the error message:
Error: An element being put in a nimbleFunctionList is not valid. It may not have the right contains (base class)
I am curious if there is some other way of creating a nimbleFunctionList without using nimbleFunctionVirtual.
bigFunction <- nimbleFunction(
  setup = function(N) {
    functions <- nimbleFunctionList(littleFunction)
    for(n in 1:N)
      functions[[n]] <-littleFunction(n)
  },
  run = function() {
    returnType(integer(0))
    sum_N <- 0
    for(n in 1:N)
     sum_N <- sum_N + functions[[n]]$run()

    return(sum_N)
  }
)

littleFunction <- nimbleFunction(
  setup = function(n){},
  run = function(){
    returnType(integer(0))
    return(n)
  }
)

testFunction <- bigFunction(5)

Good question, I'm curious too!
From my short experience with Nimble, I understand that nimbleListFunction can apply just to nimbleFunctionVirtual objects and cannot be defined within 'run' code, given that so far nimble functions (nfs) don't deal with lists.
You can always define one by one, specializations of several nfs in the setup of your main function, or several specializations of a given nf, which could be the case of your example:
`baseClass <- nimbleFunctionVirtual(
run = function() {returnType(integer())}
)
littleFunction <- nimbleFunction(
contains = baseClass,
setup = function(n){},
run = function(){
returnType(integer())
return(n)
}
)
bigFunction <- nimbleFunction(
setup = function(N) {
functions <- nimbleFunctionList(baseClass)
for(n in 1:N)
functions[[n]] <- littleFunction(n)
},
run = function() {
returnType(integer(0))
sum_N <- 0
for(n in 1:N)
sum_N <- sum_N + functions[[n]]$run()
return(sum_N)
}
)
mybigFunction <- bigFunction(10)
mybigFunction$run()
cmybigFunction <- compileNimble(mybigFunction)
cmybigFunction$run()`
Unless you have a good reason, you could move the variable 'n' from 'setup' to 'run' in littleFunction, so after minor changes in baseClass and bigFunction, get the latter working too.
Maybe you had in mind a more complex case, but at least for your simple example, you can avoid using a list :
`## I moved the n variable to run code, instead of 'setup', so I specialize just once in bigFunction
littleFunction <- nimbleFunction(
setup = function(){},
run = function(n = integer()){
returnType(integer())
return(n)
}
)
It works if the output of mylittleFunction is an integer
bigFunction <- nimbleFunction(
setup = function() {
mylittleFunction <- littleFunction()
},
run = function(N = integer()) {
sum_N <- 0
for(n in 1:N)
sum_N <- sum_N + mylittleFunction$run(n)
return(sum_N)
returnType(integer())
}
)
BF <- bigFunction()
BF$run(10)
cBF <- compileNimble(BF)
cBF$run(10)`
I'm sure developers have a more detailed answer to your question, so let's wait !!

Yes @scastano is right that this (trivial) example can be changed to have n be a runtime argument to littleFunction.  But I suspect @NLMichaud has a deeper need for the setup function specialization.
Assuming that to be true, the modified code provided by @scastano is the correct, and the only, way to make this work (currently) in NIMBLE.  The argument to nimbleFunctionList() must be the result of calling nimbleFunctionVirtual(), in this case the baseClass object, then all (specialized) nimbleFunctions used to populate that nimbleFunctionList object must "contain" baseClass.
My version, essentially identical, is below, with changes marked as comments:
bigFunction <- nimbleFunction(
      setup = function(N) {
          functions <- nimbleFunctionList(littleFunction_virtual)  ## CHANGE
          for(n in 1:N)
              functions[[n]] <-littleFunction(n)
      },
      run = function() {
          returnType(integer(0))
          sum_N <- 0
          for(n in 1:N)
              sum_N <- sum_N + functions[[n]]$run()
          return(sum_N)
      }
  )

## NEW
littleFunction_virtual <- nimbleFunctionVirtual(
    run = function() {
        returnType(integer(0))
    }
)

littleFunction <- nimbleFunction(
    contains = littleFunction_virtual,  ## NEW
    setup = function(n){},
    run = function(){
        returnType(integer(0))
        return(n)
    }
)

testFunction <- bigFunction(5)
testFunction$run()
CtestFunction <- compileNimble(testFunction)
CtestFunction$run()

Please reopen this issue if there is any lingering question.

I'm re-opening this to provide a developer to-do to make it work without the virtual layer if it should not be needed.


Icon for deaf and hard of hearing

Icon Request

Icon name: deaf and hard of hearing

Tags of this icon: deaf and hard of hearing

Use case: For people who need to use a disability-friendly service to communicate

Screenshots of similar icons:

Hello, I hope you are doing well. Working with a deaf and hard-of-hearing audience and using Remix Icon on our website, I wanted to know if my proposal for a logo that is easily recognizable for deaf and hard-of-hearing individuals is in development? Thank you in advance for your response.

I wanted to know if my request is still in progress or if I should plan another solution?
Thank you in advance for your feedback.


Fail to parse the nodes existing  myName

The possible node is from *.xliff files, like XCode's string table
Let we have a file named en.xliff, snippet of content =
    <body>
      <trans-unit id="%@ Error: %ld">
        <source>%1$@ Error: %2$ld</source>
        <target>%1$@ Fehler: %2$ld</target>
        <note>Fallback Error Failure Reason Format</note>
      </trans-unit>

JSoup using parse by ( Element e = Jsoup.parse("D:\en.xliff", "UTF-8") )
and get those nodes by ( e.getElementsByTag("source")  )
visiting its each node, and found each node's only receive

Expect the node named <source></source> being parsed correctly

Looks OK to me on current version: https://try.jsoup.org/~wRnNRquKuZuvy_V_DxjSg3zJDtE
If you can repro, please provide a minimal test case.


Create a github scheduled action to smoke test the package

This project has failed to stop working numerous times due to its dependencies being updated, and it often goes unnoticed for several weeks, months, or even years.
Create a scheduled GitHub action that installs the package and runs the cli
Steps

Provide more command line options in the cli to allow for skipping blocking input when run
Create a scheduled task that executes every Monday morning

https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule

npm install the package
run the cli using the dev script
execute the package using npm init @ts-defold/create

Setting up a monorepo would be a great time to bring in renovate for CI/CD, this should be able to help track dependency changes.


Use httpx[brotli] instead of very old brotlipy

Brotlipy does not seem to even compile on ARM-based Macs. At least I keep getting inscrutable error messages when it tries to compile. I noticed that brotlipy was last released in 2017 and that the posting code does not use it directly anywhere. It does use httpx, which can be installed with brotli support using pip install httpx[brotli]. This PR tries to remedy the situation.

Thanks David!

This is included in the latest release.

Great! Unfortunately, the latest release doesn't run for me on Python 3.11 or 3.12. When I pip install posting and execute posting it just hangs on the command prompt... I'm on MacOS Sonoma 14.5 on Apple Silicon.

Hmm, it seems to work for me on Apple Silicon, Python 3.12.3.
There's no output at all?

I found the issue - it's the process of scanning the file system looking for collection files. I think if you pass a directory as the --collection option, it'll load instantly.
When you launch it, it scans the directory you're in for .posting.yaml files. This scan is recursive, so if you're near the root, it's gonna take a while!
I'm going to move the recursive part behind a switch!

Yes, you're right! I didn't think of that but indeed when I ran from the repo, I ran the command from the root of the repo directory and not from my home directory, which I did when installing using pip(x). Ha!


fix(childes): use correct xmlns

Fixes #2997

@stevenbird, sorry for the mention, but could you take a look at this PR?

I was able to reproduce the issue, and this PR does seem to resolve the issue. It's clear what caused this issue - the recent update from https to http on many links. I must've been too careless here, as the xml obviously still requires http in this case. Thank you for bringing this to our attention and providing this fix!


Added the type [type=email] for a better experience on smartphones and t...

...ablets
Change the type to quickly write an e-mail

Looks good to me!

Good idea in general, but it doesn't seem to have an effect. The $typeAttributeValue property isn't in EmailField/TextField/FormField in master or 2.4 - what am I missing here? :)
Also, I don't think we should introduce this as an API, because we need a solution for inserting arbitrary attributes into fields, not just "type". So even if its duplication, I'd favour copying TextField->Field() and modifying it accordingly for now.
@halkyon You're started work on this a couple of months ago, is it available in a topic branch already?

I'm still add other changes in TextField :)

So just to be clear, I'd expect this to use a new method called setAttribute():
{{{
class EmailField extends FormField {
function __construct() {
// ...
$this->setAttribute('type', 'email');
}
}}}
The setAttribute() implementation itself is trivial. But that means we have to consistently implement FormField->setAttribute() across all subclasses, which @halkyon started already.

Doh - that was a bad assumption on my part!  Highlights that we'd need a unit test for this before merging it.
Right now TextField uses createTag(), so if we could manipulate the attributes before they were passed to createTag(), that coud work?
We could either refactor TextField to have a getAttributes() method that is overloaded, or to have an attributes array that can be manipulated with setAttribute($key, $val) and clearAttribute($key)
In any case, this might be time to break to a post on silverstripe-dev.

Followup pull request was opened in #116

Closing this request off with the same reasoning as #116. This refactoring was started in the forms branch on sapphire: https://github.com/silverstripe/sapphire/commits/feature/forms


some updates following Neil's changes

Neil changed a couple species names. There will be some minor updates to table S3.
Also, there were a few updates to plot names. Need to check if n plots changed.

N plots did not change.

From Neil: Only switched in the white oak group, X-> Q. bicolor at RamsHorn, X-> Q. alba at Bent Creek, and X-> Q. species at Big Canoe, GA. In that case, the collection is a mix of QUAL & QUMO (Q. montana). I am pretty sure I submitted both separately when uploaded to the ITRDB.

This is done!


writing dataframe records with singlestoredb is slow compared to pymysql

When writing dataframe records to singlestore using singlestoredb instead of mysql+pymysql in combination with sqlalchemy + pandas and , there is a performance regression (possibly because of lack of support for executemany natively).
import pandas as pd
import numpy as np
from sqlalchemy.engine import create_engine
df = pd.DataFrame(np.random.randint(0,100,size=(1000, 4)), columns=list('ABCD'))
engine_pymysql = create_engine('mysql+pymysql://user:pass@host/db', pool_recycle=3600)
engine_singlestoredb = create_engine('singlestoredb://user:pass@host/db', pool_recycle=3600)

%%time
df.to_sql("test", engine_pymysql, if_exists="replace")
# CPU times: user 16.6 ms, sys: 2.68 ms, total: 19.2 ms
# Wall time: 988 ms

%%time
df.to_sql("test", engine_singlestoredb, if_exists="replace")
# CPU times: user 437 ms, sys: 93.7 ms, total: 530 ms
# Wall time: 21.1 s

Thanks for reporting this. You are correct that there is a bottleneck in the executemany method. We're actually in the middle of refactoring the package code and fixing this is part of that (as well as more big performance improvements). We hope to have a new release out in the next few weeks.

Release v0.5.0 should fix this issue. PyMySQL and SingleStoreDB executemany and DataFrame uploads should be roughly the same now. If you see anything otherwise, just re-open the issue.


[Left Nav] Fix left nav opening on click

Fixes #997

Hi pomerantsev,
Thank you for the fix.
But does not seem to work on my phone. (android) (no swiping at all can be observed with the patch)

@cgestes: if I'm introducing new issues with this patch, could you please describe what they are?
I confirm that swiping does not work perfectly for me in the Android stock browser on my Samsung Galaxy S5, and it probably has to do with constants (how far you should swipe to consider it a gesture). I will make a separate issue for this.
But this shouldn't have anything to do with the patch, since I've only changed code in the touchend handler.

I'am using it in cordova. (galaxy s4 mini).
will try in Chrome.
The issue is simple: it doesn't do anything, which is much better than the previous crazyness :)
I plan to spend some time debugging material-ui on the phone.  (swiping, ListItem ripple, ..)
So it's better with the patch.

it's working in Chrome on my phone :)

same for the ListItem!
I will have to debug what happens with the default browser. (android 4.4)

Okay, cool.
@hai-cea: looks like @cgestes approves this PR :).
@cgestes: I'm going to take a look at what's going on in the stock browser, but it won't happen until Sunday. If you narrow it down before that, please feel free to submit an issue, and I'll be happy to fix it.

Thanks @pomerantsev @cgestes !

@cgestes: I spent some time trying to figure out what was causing the issue. Now I think I understand what's going on, but I still don't have a solution.
The stock Android browser on my Samsung Galaxy S5 reports that it's based on Chrome 34, and the way touch events behave changed in Chrome 35: http://lists.w3.org/Archives/Public/public-touchevents/2014Mar/0000.html
Thing is, prior to version 35, as soon as the page fires a scroll event, a touchcancel event also fires, and all subsequent touch events are suppressed.
We could call e.preventDefault() between these two lines, and swiping would work fine, but then the page wouldn't scroll at all (looks like this way scroll events are suppressed), so this is not a solution.
Summary: this bug is not critical (users can still use clicks to close the nav), and fixing it seems like a major pain, so I'll leave it as it is.
Feel free to open a new issue if there's anything I haven't addressed here.

@pomerantsev thanks for the investigation.


Document LD_LIBRARY_PATH and catching exceptions with GDB when testing

Background
I ran into another test failure that I couldn't track down. According to the guide I wrote earlier, debug symbols only get loaded on the test itself.
Now, users are recommended to source their workspace. With this, gdb is aware of the path to all the libraries and get debug symbols correctly. I presume this is through LD_LIBRARY_PATH, but I could be wrong.
Additionally, exceptions thrown in ROS libraries are caught by gtest, and if you want to have gdb find them first, the workflow is slightly different.
There may be better ways to do this, but the workflow works well for me.
Real world example
https://github.com/ANYbotics/grid_map/issues/401#issuecomment-1947929594
Why is this necessary
Well, I have grid_map installed with binaries, and then develop locally in the workspace with debug. The installed binaries are in release mode, so gdb is actually running the wrong library and I'm testing the wrong code under GDB. Forgetting to source the environment means you might be debugging the wrong code! This explains why any modifications I did seemed to have no effect.
What about VSCode
VSCode is great, but can't run a script before starting a debug session. This means that the GDB configuration cannot run source install/setup.bash and have the environment configured correctly.  I have yet to find a way around this other than telling people to learn CLI GDB.
https://stackoverflow.com/questions/43836861/how-to-run-a-command-in-visual-studio-code-with-launch-json
Related
https://github.com/ros2/ros2_documentation/pull/3899

Can we get a backport to iron and humble? :)

@Mergifyio backport iron humble


Inconsistencies between SeedPython and Python

Let's use this issue to track and discuss the inconsistent cases between the two languages: SeedPython and Python.

Undefined variables
In Python3, undefined variables are not allowed to be referenced:
print(undefined_var)
Traceback (most recent call last):
  File "/Users/ygwang/Downloads/test.py", line 1, in <module>
    print(undefined_var)
NameError: name 'undefined_var' is not defined

In SeedPython, undefined variables have the default value "None":
undefined_var
---------- Source ----------
undefined_var

---------- Run ----------
undefined_var
Eval result: None


Allow editing of collections with $EDITOR, or a way to configure the same

Did you search for existing issues already?
Yes 👍
Is your feature request related to a problem? Please describe.
When I take an Action to edit a collection, VSCode is opened to edit the file. While VSCode is installed on my machine and is my default application for editing most documents, I don't actually use it. I edit most any file in a terminal editor like Helix.
Describe the solution you'd like
Have the Edit Collection action open a buffer to edit the collection using the configured $EDITOR, or a way to configure this to occur
I also found this reddit thread about using Automator to open up a terminal and launch Helix for a file, but that's not really what I'm looking for either.
Describe alternatives you've considered
I could always just open up another terminal pane, so this is really more of a qol thing.
Additional context
broot has some configuration options to this effect.
broot is the best example of what I'm looking for, because when you close the $EDITOR buffer it takes you back to the broot tui. Git would be the second best example; when you're rebasing or editing a commit message or something like that.
As an aside, thank you very much for building this tool, it is fantastic!

Thank you for the very detailed feature request :) It makes my job much easier. This is totally possible and it looks like gitui supports it (added in this PR). I see two possible implementations for this:

Always use the editor defined in $VISUAL/$EDITOR. This is simple and still allows users to use VSCode or another GUI editor by setting that env var
Add a configuration flag like visual_editor: true. When enabled it will use the default editor for .yml files, but when disabled it will check $VISUAL/$EDITOR

Default value could go either way, I would learn toward false though because it's simpler

Both are equally feasible from a technical standpoint so it's entirely a usability question. My intuition is that Slumber users are generally going to be at least moderately comfortable in the terminal; it's unlikely someone is uncomfortable using a terminal editor but wants a terminal HTTP client. Additionally, we would simply be mirroring the behavior of git, and I would also guess that the vast majority of Slumber users are comfortable with the git CLI. I'm going to get started on implementation, and I'll think about this question a bit more.

Thanks for taking a look!
I think your intuition is spot on. I don't have too much of a preference myself, but if you're having trouble picking a route to go with, I can give my two cents (for what it's worth)

Using $EDITOR by default could lead to a more streamlined experience, since users won't have to wait for an app to load (maybe not a big deal if it's already open? Like I said, I never have mine open), and it could be less of a context switch (same window and all that), but it would be a change from the current default.
Are your users cool with breaking backwards compatibility? I saw you have a Discord, maybe that's a place to talk more if you need guidance, or...
What would you prefer? Seems to me that one of the big perks of being the project owner is that you can shape the project in whatever way you like best 😄

Regardless of what you end up deciding, it'll 100% work. Thanks again for getting started on this so quickly!

@apreifsteck Thanks for pointing out the Discord link. I swear I set it to never expire but apparently not... I just made a new link if you want to try joining again.

@apreifsteck Just released a beta version with this change in it, do you mind testing it out? I just want to make sure there's no bugs around handing the terminal off to vim or coming back. You can install with:
cargo install slumber --version 1.5.0-beta.1

Thank you so much! It works great 👍


Colab demo

Tried to run it on colab, but it doesn't get beyond the load_model_from_config
Can someone share a working colab demo of the Image variations?
thanks
About my attempt to run it on colab this is the output
when I run image_variations.py I get:
Loading model from models/ldm/stable-diffusion-v1/sd-clip-vit-l14-img-embed_ema_only.ckpt
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Keeping EMAs of 688.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
^C

I think that's hitting the system RAM limit which is why it gets killed. You might need Colab Pro to be able to run the model.

I found Colab and Colab Pro were consistently running into memory issues with this training approach. I didn't try Colab Pro+. Instead switching to another cloud provider like https://lambdalabs.com/service/gpu-cloud or https://www.runpod.io/ worked.

I’m able to get it to train on Colab Pro+. You definitely need an A100 for the added VRAM.


Add enabled to actions to allow enabling/disabling links

Currently, the visible options allows controlling which (member) actions should be shown. When making a member action invisible, the positions of subsequent links to other member actions change. This is not good from a UI perspective, because a user might click the wrong button after it has moved away from where it normally would appear.
An image says more than 1000 words. So, I added a custom action publish!, which should be available for unpublished objects only. Currently, when hiding my action for already published objects, the buttons after publish! change position:

What I am suggesting is a new option called enabled, which will always render an icon for an action. However, if enabled is false, the button would be rendered in gray and no link would be rendered. In config/initializers/rails_admin.rb, the enabled option would be set for individual members.
# config/initializers/rails_admin.rb
config.actions do
  publish do
    enabled do
      not bindings[:object].published?
    end
  end
end

And the final result would look like so:

This way, all buttons will always stay at the same position.
This would require small changes in the RailsAdmin application_helper.rb, namely in menu_for. Links should only be rendered if the enabled option returns true for a member.
What do you think?

Already implemented by 10655cbf, forcing visible true and switching enabled will do the job.

I lied, not implemented yet :bow:

Hello!
New message, please read http://thomascart.com/girl.php?ooy
<EMAIL_ADDRESS>


Problem with the connection module

Hi!
How can I include your module, id I don't use composer. Now I have
require "/LinguaLeo/ExpertSender/ExpertSender.php"
and a get an error Fatal error: Class 'ExpertSender' not found in D:\OpenServer\domains\LPDevplate\build\admin\bootstrap.php on line 13

Hi, @KanatSahanov
I recommend you to write PSR-0 autoload function and register "src" directory as root of "LinguaLeo" namespace.
What is PSR:
http://www.php-fig.org/psr/psr-0/
Example of PSR-0 class loader implementation:
https://github.com/symfony/symfony/blob/fb7eb2dc9f0f95499817f54ecd287aacfd91341a/src/Symfony/Component/ClassLoader/UniversalClassLoader.php


Updated fixes #306 (RVM system install)

Not sure if it's possible to update pull requests so I created a new one in place of #321.
This is supposed to fix #306. Tested on Ubuntu 14.04 with my existing configuration and with bare cookbook.
I removed node['rvm']['gpg']['homedir'] attribute as it's only used in one place and I believe the value depends on the installation type, not user's settings. I think it needs to be set to Etc.getpwnam(node['rvm']['user']).dir for user install and to Etc.getpwnam('root').dir for system install.
Might be a good idea to test it on other systems.

I can confirm this also fixes my RVM system install. Please merge.

:+1:
Would love to see this merged and also hopefully with a new version of cookbook release. Pretty please :).

Closing due to inactivity.
If this is still an issue please reopen or open another PR.
Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help!
Thanks,
Sous-Chefs


Schema Attributes with #

After updating to version org.jsonschema2pojo:jsonschema2pojo-gradle-plugin 1.1.2 of the plugin, we are no longer able to generate classes when the attributes contain #
This was possible on version 1.1.1
For example VERSV#
{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "$ref": "#/definitions/BusinessData",
  "definitions": {
    "BusinessData": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "VERSV#": {
          "type": "string"
        },
        "HEADER": {
          "$ref": "#/definitions/Header"
        }
      },
      "title": "BusinessData"
    }
}

Interesting. I assume in the past you got a java property named like versv_? Not sure what has caused this but this isn't an expected change. We have any test using this kind of name so we should add one.

actually, the property is named just versv (although we could potentially rename it, if the code generation prefers other kind of nomenclature).
The biggest issue would be the input data, because we don´t have control over it and the # properties appear in different places.
Thanks for taking a look at it

Is there any roadmap for when a version containing the fix for this will be released? This issue breaks code generation from redfish schemas (example property name: "#Chassis.Reset") and in our case, this has unfortunately had a huge side effect of blocking Java EE to Jakarta migration as we are unable to uplift jsonschema2pojo so we can generate jakarta-annotated classes.
If there is no new jsonschema2pojo release on the near horizon, is there any way for us to work around this? I guess we could patch FragmentResolver and SchemaStore ourselves in-house or use jsonschema2pojo built from the latest source but we would like to avoid that if possible as both alternatives would have impact on our processes and CI. Using an unreleased version might potentially not even be an option at all. We also have no control over the input, so schema changes are not an option either.

@prndrsn I revisited this fix over last weekend. I had to rethink the solution to be more complete. I will try to get out a new version that includes this fix this week, as we have quite a few unreleased changed now.

Slight OT: should we close #1407 as duplicate of #1402 ?

@joelittlejohn That is very excellent news, thank you for the quick response.


Implementation of service tests.

I used your system in a college course, so I ran some tests to help me out, so I decided to share those tests. I hope you enjoy it.

Thanks for your contribution!


Fix handling of completions when they don't go to the end of line

Currently copilot.el assumes that the completion text will go all the way to the end of the line, but this is not always the case. When this happens it will lead to incorrectly deleting the text that used to be there. This will lead to unbalanced parens or quotes.
This PR fixes this by using the API's :end property to determine where the end of the completed text should go.
Example:
text given to copilot
print("hello |")

copilot will return the text world.
With the current implementation this will be the result if the user accepts the completion:
print("hello world

After this PR, the result would be as expected:
print("hello world")

This will resolve issues like #77 #62 #117

Thanks for your work. You have solved a long-standing problem.
I made some minor changes by refactoring the code and changing the meaning of the end property from length to absolute position. Additionally, I removed the calls to goto-line, as it is only intended for interactive use.

Thanks. I initially tried to use end as an absolute position like you did, but it doesn't work when you have automatic pair insertion (via smartparens, electric-pair-mode, cleverparens, etc). The issue is that if I insert ( it will also insert ). The end position should move forward 2 places, but we only advance it one with cl-incf. I don't know of a reliable way to detect the auto-pair case, so that is why I defined end to be an offset from the end of the line.

Oh no, I haven't tested that case. I will revert my changes if there is a bug.

Fixed in https://github.com/zerolfx/copilot.el/commit/7986e38726879350c2d2a13e4751e99f1a89daed


Added german "From" to the regex list.

Hello,
i just patched it in my code and it worked, so i thought i might contribute this here.
Just added the german version of the other examples to the list of (i guess) thunderbird responses.
Regards

Merged! Thank you for your contribution :)


gnome-boxes: unable to install Windows 10

Describe the bug
As per the title.
To Reproduce
Steps to reproduce the behavior:

Try to install Windows 10 in a fresh VM via gnome-boxes.

Expected behavior
Installation is successful and the VM is usable.
Screenshots
N/A
Additional context
Initially the installation aborts with 'startupPolicy' is only valid for 'file' type volume. This appears to be an upstream libvirt issue - https://gitlab.gnome.org/GNOME/gnome-boxes/-/issues/481
Fixing the above starting the VM aborts with Unable to find any firmware to satisfy 'bios'. This appears to be an upstream gnome-boxes issue - https://gitlab.gnome.org/GNOME/gnome-boxes/issues/488
Applying the libvirt patch from Fedora and using gnome-boxes 3.36.2 mitigates both issue and allows the installation and subsequent booting of the VM to succeed.
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.30, NixOS, 20.09pre-git (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.3`
 - channels(pbogdan): `""`
 - channels(root): `"home-manager, nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

nixpkgs revision 39247f8d04c04b3ee629a1f85aeedd582bf41cac
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Hmm, I'm somehow back to getting the first error even with the patch applied. No clue I how managed to get it working temporarily...

I didn't fully read everything on the linked issues, but this reads to me like "get the proposed fix into libvirt and ask for a release" and "bump gnome-boxes to 3.36.2".
If it's not feasible to get a libvirt release soon, and the patch is applied in fedora, we could fetchpatch the patch inside our nix derivation and apply it to libvirt.
Do you want to file 2 PRs doing this? ;-)

@flokli We're about to update GNOME to the point release, that involves updating gnome-boxes. @hedning @jtojnar  and I probably would have found this out anyway (I actually tested boxes yesterday and figured this out).

Boxes update is now in https://github.com/NixOS/nixpkgs/pull/84694
The libvirt patch is actually included upstream - https://gitlab.com/libvirt/libvirt/-/commit/3918dbd84e4951b43f93fbf50ef52be00274850c
From what I see it's part of 6.2.0 release with NixOS / nixpkgs currently shipping 6.1.0. I could test the version bump locally instead of patching 6.1.0 but I'm hestitant to submit an update myself as I know next to nothing about libvirt stuff so would prefer to leave it to someone else.

Boxes update is now in master :laughing: And coupled with a local libvirt bump to 6.2.0 the issue is fixed for me.

@pbogdan I propose filing a PR bumping libvirt nevertheless. The nix changes required to do the bump should be minimal, you'll provide an easy way for others to test it, and get back feedback about potential breakages.

Alright, will do in a bit. Only changes I needed locally were bumping the version / hash / src but then I only tested my specific use case.


helm cannot replace a specified env value, only replace all env values when using parent chart values to replace sub chart values

Description
helm cannot replace a specified env value, only replace all env values when using parent chart values to replace sub chart values
How to reoccurrence
sub chart values
subChart:
    env:
        - name: aaa
          description: "aaa"
          value: "true"
        - name: bbb
          description: "bbb"
          value: "true"
        - name: ccc
          description: "ccc"
          value: "true"

sub chart  deployment
...

{{- range $k,$v  := .Values.env }}
  {{printf "code = '%s'; value = %s;" $v.name $v.value  | indent 2}}
{{- end }}

...

parent chart values
subChart
  env:
      - name: aaa
        description: "aaa"
        value: "false"

It is expected that only the value of the env aaa will be replaced, as like
sub chart  deployment
...
code = aaa; value = false;
code = bbb; value = true;
code = ccc; value = true;
...

But the actual result is when template is executed
sub chart  deployment
...
code = aaa; value = false;
...

Is this my use problem or a bug? I don't seem to have seen the corresponding description on the official website

From a purely yaml standpoint, how would you merge that?
subChart:
    env:
        - name: aaa
          description: "aaa"
          value: "true"
        - name: bbb
          description: "bbb"
          value: "true"
        - name: ccc
          description: "ccc"
          value: "true"

merged with
subChart:
    env:
        - name: bbb
          description: "bbb"
          value: "false"

either replaces the list (observed behavior) or replaces the first item in the list which would result in:
subChart:
    env:
        - name: bbb
          description: "bbb"
          value: "false"
        - name: bbb
          description: "bbb"
          value: "true"
        - name: ccc
          description: "ccc"
          value: "true"

If you're interested in how values merge, see https://github.com/helm/helm/blob/e007c900ce5f2233c8583565d5ba1b0433b1a213/pkg/chartutil/coalesce.go#L159-L188

This questions seems to have been abandoned. I'll go ahead and close it.


[a11y] Auto add focusable attribute to every SVG

Hi,
Would it be possible to auto add attributes when you place the SVG in the page.
Something like thisrole="presentation" focusable="false" tabindex="-1" for accessibility purpose ?
I was using oliverfindl/vue-svg-inline-loader in Vue 2 / Nuxt 2 with Webpack and it had this feature.

I'm also wondering this.. how this would be achieved when every single svg must be imported explicitly, and I would imagine asyncComponent from vue 3 would break things, as it's automatically inlining them...
@jpkleemans what is the best approach for this?

Hey guys, I believe this is possible by passing plugins as SVGO config https://github.com/jpkleemans/vite-svg-loader#svgo-configuration , for example: https://github.com/svg/svgo/blob/main/plugins/addAttributesToSVGElement.js seems to do that exactly ?


Create monorepo flutter_introduction

All the services/interfaces/view should be contained into one github repository that uses melos and multiple pubspec.yaml

https://github.com/Iconica-Development/flutter_introduction/tree/feature/melos-variant-flutter-introduction


Indentation is partially not preserved with cursor placement

Describe the bug
Placing the cursor, i.e., not (partially) selecting a line, and applying a new task status does not preserve the original indentation, which is removed. The bug comes up with indented plain lines and bullet (non-task) lines.
To Reproduce
Steps to reproduce the behavior:

Write a new note with the following content:

test
    test 1

- test
    - test 2

Place the cursor on the line of either test 1 or test 2.
Apply a task status change.
The indentation is removed.

Expected behavior
The original indentation level should be preserved.
Desktop (please complete the following information):

OS: Windows 11

Additional context

Obsidian (installer) version: 1.5.3.
Theme: Minimal version 7.4.7.

@StefanoRausch I believe I've fixed the issue you were describing and will include it in the next release 🙂 it's merged into the main branch for now.


Update django-webpack-loader from 1.3.0 to 1.4.0

Short description

This update seems to introduce some problems, so we have to figure out how to fix the tests.
I assume it has something to do with https://github.com/django-webpack/django-webpack-loader/pull/297.
Proposed changes

Update django-webpack-loader from 1.3.0 to 1.4.0

The new webpack loader version assumes that the key "request" is set in the templates context. As far as I know this happens per default in most circumstances, but in case of our pdf export we creating a custom context which does not include the request key.
So one way to fix this would be to add a request object to the pdf context, which is passed by the view over here: https://github.com/Integreat/integreat-cms/blob/3632dd978cac673809cb72077aee1dc80c4c774b/src/cms/utils/pdf_utils.py#L85
If you agree, I could also push a commit for this?

The new webpack loader version assumes that the key "request" is set in the templates context. As far as I know this happens per default in most circumstances, but in case of our pdf export we creating a custom context which does not include the request key.
So one way to fix this would be to add a request object to the pdf context, which is passed by the view over here:

Ah okay. Do you think it's sufficient to add a dummy request object with context["request"] = object()? Then we don't have to refactor as much...

If you agree, I could also push a commit for this?

Sure, go ahead!

This also affects out error templates which are rendered via render_to_string() without the request context.

Yes, dummy request is possible too, but object() does not allow setting attributes, which is required, so I used type() instead

@melegiul Thanks a lot! I just resolved the conflicts and added the request object to the context directly instead of passing it to the function and then updating the context.
Can you have a look at it again and approve it if you're ok with the changes?


Prepare SIO firmware data

Pushed untested commits to address review (untested). Unaddressed: segment-names and allocating from top of memory

Changed this from being a draft as it may be ready for inclusion now. FWIW the binding got a r-b from Rob.

This should be OK to merge now. The last blocker was looking up SIO by alias, which has been added now.


Guardian invite issue with multiple children.

We are currently running 4.03 but I did not see that this particular issue was resolved in subsequent releases.
We used a CSV file to create the guardian invites for our students.  In families where there are multiple children, the invite for the first child results in the parent being entered with the correct email address for the parent, but their name (first and last) is the child's name.  For the second child, the parent's name is recorded as the first's child's name.  I am assuming this is only cosmetic, but it is confusing our users!
Is there anyway to correct this without deleting the parent and re-sending invites?

Ignore this.  I believe it was user error when the parent signed up.


Issue of pre-processing the outbrain dataset

Hi,
I tried to process the Outbrain dataset with 'java -cp StreamingRec.jar org.streamingrec.data.loading.ReadOutbrain --input-folder=<folder_to_outbrain_files> --out-items=<path_to_item_output_file> --out-clicks=<path_to_clicks_output_file> --publisher=43' and got the Events.csv, the first 5 rows are as follows:

Publisher
Category
ItemID
Cookie
Timestamp
keywords

1707327
18787
1465876800836
NaN
NaN
NaN

1513276
134357
1465876801429
NaN
NaN
NaN

1766890
38208
1465876801758
NaN
NaN
NaN

1513276
136834
1465876802078
NaN
NaN
NaN

830700
2429
1465876802136
NaN
NaN
NaN

I reviewed the code and found that the Publisher = document_id, Category = user_id, and ItemID = timestamp, which is really peculiar. Could you please explain why you are processing the dataset in such a way? Why the Timestamp is NaN in stead of the true timestamp? Thanks a lot.

Hi Hao,
sorry for the late reply. It seems I seems the notification mail I got from github went the the spam folder.
I had a look at the code but I cannot find any line where these assingments (e.g., Category = user_id) happen. If you are still interested in this topic, please send me a line number so that I can investigate further.
Best,
Michael


Update Ui to display person name as contact person instead of person Id

Added methods to find Person name and Internship name by id in Addressbook

Codecov Report

Merging #88 (0ebda32) into master (0792f14) will decrease coverage by 0.41%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master      #88      +/-   ##
============================================
- Coverage     55.03%   54.61%   -0.42%
  Complexity      408      408
============================================
  Files            88       88
  Lines          1708     1721      +13
  Branches        194      196       +2
============================================
  Hits            940      940
- Misses          716      729      +13
  Partials         52       52

Impacted Files
Coverage Δ

src/main/java/seedu/address/model/AddressBook.java
60.34% <0.00%> (-4.47%)
:arrow_down:

src/main/java/seedu/address/ui/InternshipCard.java
0.00% <0.00%> (ø)

...ain/java/seedu/address/ui/InternshipListPanel.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/MainWindow.java
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Resolved conflicts
ContactPersonId is changed to ContactPerson


Closing bracket seems to disappear after pressing enter

Hello, I'm new to all this, but the auto-completed closing bracket disappears if I press enter while the cursor is in between the brackets. Is this supposed to happen, and how do I prevent it?

Note that the closing pair disappears after pressing . This is required to not break dot-repeat, but it will be automatically restored later.

Quoting from the README here.
you can prevent erasing the closing string by setting
g:pear_tree_repeatable_expand to 0.

Thanks @0xMH, yes this is expected behavior. The closing bracket reappears after you leave insert-mode.
let g:pear_tree_repeatable_expand = 0 prevents this (at the expense of losing dot-repeatability).


Question on CMLM Implementation

Hi,
I have a question about your implementation of the CMLM. Which model did you use to select the least certain tokens to mask and then iteratively infill them? Do you look at the final output of your LM head to determine which logits are most uncertain? Or do you use a frozen ESM-1b network and head to determine this? Secondly, do you then provide the masked version of the output sequence to the language model and train a separate LM head for masked token prediction? Or do you feed this masked sequence back into the structure encoder and perform a full pass through the LMDesign network to predict the masked token? @zhengzx-nlp
Thanks!

Hi! I found I didn't reply to you and I sincerely apologize! Please check our implementation of sampling in https://github.com/BytedProtein/ByProt/blob/main/src/byprot/models/fixedbb/generator.py


Just some really small changes

Hey! Love the contract. Feel free to delete this PR, just some small things I personally find better

Thanks for the PR. Please apply fixes and squash commits into 1 and I'm looking forward to merging it.

Thanks!


Handle branch names with slashes

Git branch names are allowed to have slashes in them; however, GitSavvy status shows only the branch name up until the first slash.
eg. in console:
➜  infra git:(dylan/terraform/add-utility-instances) ✗ gst
On branch dylan/terraform/add-utility-instances
Your branch is up-to-date with 'origin/dylan/terraform/add-utility-instances'.

...but in GitSavvy:

Hey @arubis - this was reported as #52, and a fix is in master.  Should be pushed out to package control users sometime this evening.

Great, thanks! Sorry I missed seeing that on scanning through in the first place :)


Support DATE and TIMESTAMP pushdown for Hive connector

Is anybody working on this? Otherwise I will take this one.

@electrum Does this ticket mean pushing down date and timestamp predicates?

Yes. The Raptor connector supports this.

I have browsed through the code and I've noticed that predicates are described by ToupleDomain object. The ToupleDomain 'effectivePredicate' instance is pushed down to HivePageSourceFactory level. However, only OrcPageSourceFactory makes use of this object. Should filtering mechanism be implemented for other types of PageSource? Is there some other pushdown mechanism that I haven't noticed?

No other file formats support push down, so it is only used for partition pruning.

From the code I see that date is supported for ORC: https://github.com/facebook/presto/blob/master/presto-orc/src/main/java/com/facebook/presto/orc/TupleDomainOrcPredicate.java#L107
Parquet also stores min/max statistics for each data page, so maybe it's also worth adding pruning for parquet and possibly other file formats too? Did you consider some kind of lazily computed page statistics (e.g. gathering min/max when reading data during query)?

It looks that there is support for TIMESTAMP predicates in ORC too, am I right? TIMESTAMP column has stats represented by IntegerColumnStatistics, which store min/max long values for the column.

@zhenxiao is working on predicate push down for parquet #3027 and that should be able to take advantage of this also when it lands.
For ORC statistics, the important thing is to test the stats ORC produces.  ORC had/has a bunch of bugs with collecting and rolling up statistics, so any code using them needs to adapt around these bugs.  For example the date statistics are rolled up wrong (https://github.com/facebook/presto/blob/master/presto-orc/src/main/java/com/facebook/presto/orc/metadata/OrcMetadataReader.java#L309).

What about TIMESTAMP statistics? I believe timestamp domain is created at https://github.com/facebook/presto/blob/master/presto-orc/src/main/java/com/facebook/presto/orc/TupleDomainOrcPredicate.java#L110, but https://github.com/facebook/presto/blob/master/presto-orc/src/main/java/com/facebook/presto/orc/metadata/OrcMetadataReader.java#L188 does not check if isRowGroup is false. Shouldn't code path be the same as for date?

Well, maybe we can contribute to ORC and fix the bugs as well :)
One challenge might be with already existing ORC files. If they contain unreliable stats and we want to use to filter things out, that might be an issue.

They already fixed the ones I found.  For old files, they added the version of the writer to the file footer, so if you know which writers are broken, you can work around old data.  We have not updated our code to deal with this yet.

There are two parts to this: supporting for partition pruning, and supporting pushdown for ORC. These are independent changes. I would start with partitions, since that should be easier. Though for both changes, you need to deal with Hive's craziness around timezones for timestamps.

Thanks @dain Yes, I am doing predicate pushdown for parquet, using parquet's min/max stats. It is in https://github.com/facebook/presto/pull/3027. It would be nice if this is done, parquet side could make use of it.

@electrum Isn't partition prunning for DATE and TIMESTAMPS already implemented in https://github.com/facebook/presto/blob/master/presto-hive/src/main/java/com/facebook/presto/hive/HiveSplitManager.java#L205 and https://github.com/facebook/presto/blob/master/presto-hive/src/main/java/com/facebook/presto/hive/HiveUtil.java#L374?
Also, by looking at ORC code I thought that DATA and TIMESTAMP predicates are already supported (as ints and longs).


Redis is not available as a vectorstore

Hello everybody.
I've been using Redis as a vectorstore in the python version of Langchain. Isn't it possible to use it also in the JS version?
If not, does anyone have any suggestions for an alternative that could be deployed with equal simplicity in a docker environment?
Thanks in advance.

You'd have to write an adapter. It shouldn't be hard to do. An alternative, checkout Milvus. It's open source, and ships with a docker setup.
https://milvus.io/
https://js.langchain.com/docs/modules/indexes/vector_stores/integrations/milvus

Thanks for the reply, @actengage.
I'm flirting with Pinecone, but I have an institutional constraint here that prevents me from storing the vectors/contents outside of our private infrastructure.
I'm going to study Milvus...thanks for the tip.
I'm also thinking of contributing to langchainjs by implementing an integration with Redis as vectorstore. It doesn't seem like a big technical challenge to me. Do you think it's worth it?

Absolutely worth it

hi @mmoraisTRT , @tommoor , @actengage , Redis is now available as a VectorStore since Release 0.0.76

Great news, @mvaker. Thanks for letting us know.


gradle version

Hej,
I was wondering which gradle version, and gradle build tool you use?

I use it with gradle plugin 1.0.0 but I think it should work with anything > 0.14.3
From google: https://code.google.com/p/android/issues/detail?id=80003

@Watke is there anything else you need help with regarding this issue? I'd close it otherwise


Using enum V type with Literal

I'm trying to use mypy-protobuf types in Literal types in combination with @overload, see example below:
# example.proto
syntax = "proto3";
enum Example {
    FOO = 0;
    BAR = 1;
    BAZ = 2;
}

# example.py
@overload
def process_enum(e: Literal[example_pb2.FOO]) -> bool: ...
@overload
def process_enum(e: Literal[example_pb2.BAR]) -> str: ...
@overload
def process_enum(e: Literal[example_pb2.BAZ]) -> int: ...
def process_enum(e: example_pb2.Example) -> Union[bool, str, int]: ...

I'm using mypy-protobuf 3.0.0.
Because the mypy-protobuf is wrapped in a NewType, mypy doesn't accept using it in Literal, which seems like a deficiency in mypy given that the NewType transparently maps to an int value. This is probably because "Literal may be parameterized with literal ints, byte and unicode strings, bools, Enum values and None" per PEP 586, which unfortunately doesn't include NewType.
For sake of comparison, this works with vanilla Enums:
class Example(Enum):
    FOO = 0
    BAR = 1
    BAZ = 2

@overload
def process_enum(e: Literal[Example.FOO]) -> bool: ...
@overload
def process_enum(e: Literal[Example.BAR]) -> str: ...
@overload
def process_enum(e: Literal[Example.BAZ]) -> int: ...
def process_enum(e: Example) -> Union[bool, str, int]: ...

Would the resolution of #169 resolve this by replacing the NewType with a mere type alias to int?

I think Literal is intended, spec'd and implemented to be pretty simple.
Literal[5]  # ok
X = 5
Literal[X]  # not ok

Extending to NewType would make
NT = NewType("NT", int)
Literal[NT(5)]  # ok
X = NT(5)
Literal[X]  # still not ok

In addition to extending to NewType, it would need to extend to constant variables like X - not just literals. I think it becomes a can of worms, because there's nothing that actually enforces that the variables are constant in python. To be fair, enum values already delve slightly into this can of worms (with Example.FOO in your case), so maybe it's ok to suggest that extension of Literal capabilities. I think you'd have to suggest it either as a PR to PEP586 or possibly a discussion issue in the mypy repo. There might be factors I'm not considering.
I think we want to keep mypy-protobuf honest to what protoc's python code does. If we type Example as an Enum - it incorrectly implies to the type system that it has access to all the powers of Enum - which I think is not worth the benefit here unfortunately.

Thanks for the discussion. I'll ponder if there's anything to bring up with mypy or PEP586. Closing this issue as there's nothing for mypy-protobuf to do here.


teleport_13: init at 13.3.8

Description of changes
New major version.
Things done

Built on platform(s)

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

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

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

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

[x] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2553

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2644

Teleport v14 went public this week. It would be great to have it too.
I would love to help but I have no clue how this package is compiled

Teleport v14 went public this week. It would be great to have it too. I would love to help but I have no clue how this package is compiled

Will add v14 as well once I get the chance.

Would be awesome.
If you need maintainer review, maybe add the same maintainer that merged your previous teleport PR: arianvp ?

Would be great to get this merged soon. All my nixos servers are now unreachable from teleport after upgrading my main server.

Sorry, forgot to close this one. This has already been obsoleted by https://github.com/NixOS/nixpkgs/pull/258943 . Teleport 13 & 14 are in nixos-unstable now.


Check for unbalanced quoting characters in folded lines

PostScript requires in an ASCII text string either balanced parentheses else the single ones must be escaped. The specifics follow from the Adobe PostScript manual (the "Red Book").
On page 28, the last paragraph states:
A literal text string consists of an arbitrary number of an arbitrary number of characters enclosed in ( and ). Any characters may appear in the string other than (, ), and \, which must be treated specially. Balanced pairs of parentheses in the string require no special treatment.
The second paragraph on page 29 continues the discussion of the required specal treatmen:
Within a text string, the \ (backslash) character is treated as an "escape" for various purposes, such as including unbalanced parentheses, nonprinting characters, and the \ character itself. The character immediately following the \ determines its precise interpretation.
\n         line-feed (LF or newline)
\r         carriage return (CR)
\t         horizontal tab
\b         backspace
\f         formfeed
\\         backslash
\(         left parenthesis
\)         right parenthesis
\ddd       character code ddd (octal)

Corrected for next release.


Map type should +/- syntax for updates

We found an issue with the MapUpdateClause class where updates with an empty dictionary use the hardcoded column name int_map. See the example below:
class MyOtherModel2(Model):
    id = columns.Integer(primary_key=True)
    my_map = columns.Map(columns.Text, columns.Text)

> MyOtherModel(id=3).save()
> MyOtherModel.objects(id=3).update(my_map__update=dict())

2014-11-12 22:40:22 INFO: UPDATE cqlengine.my_other_model2 SET "int_map" = %(1)s WHERE "id" = %(0)s

It would be easier to fix this bug (and also allow removals) if the CQL generated used the update syntax from http://www.datastax.com/documentation/cql/3.1/cql/cql_reference/update_r.html:

map_name = map_name ( + | - ) { map_key : map_value, ... }

We found the code here:
    def __unicode__(self):
        if not self._analyzed: self._analyze()
        qs = []

        ctx_id = self.context_id
        if self.previous is None and not self._updates:
            qs += ['"int_map" = %({})s'.format(ctx_id)]
        else:
            for _ in self._updates or []:
                qs += ['"{}"[%({})s] = %({})s'.format(self.field, ctx_id, ctx_id + 1)]
                ctx_id += 2

        return ', '.join(qs)

As is, replacing "int_map" with self.field isn't 100% because it would cause an empty dict to overwrite all existing contents.
edit: related to #287

cqlengine is being merged into the DataStax native Python driver.  I'm going to hold off on any new non-emergency issues, since it'll just make the merge more complicated.

We are migrating all Github issues to the public Jira. Please find this issue in Jira: https://datastax-oss.atlassian.net/browse/PYTHON-256


MySQL/PostgreSQL: Remove button is always disabled in icon mode

In the MySQL module red buttons with remove/delete/drop purpose are always disabled. No matter whether you have chose something or not.
I'm running latest Webmin and Authentic on two different servers, issue persist.
Information:

Both Ubuntu 16.04?
Win10, Chrome (latest) Version 57.0.2979.2 (Official Build) dev (64-bit)/Opera (latest) 42.0.2393.94 Stable

Visiting to MySQL module and trying to drop chosen database or visiting database and trying to drop selected tables.
However, after manually (editing DOM content) removing disable attribute from button, it performs well.

Hi,
Yes, confirmed. The work around is to change display mode to list in mudule configuration and set Show databases and tables as to List.
Thanks for reporting.

Hey,
Cool! Looking forward for an update.
Thanks for tip.

Will do.

You can apply the patch above or wait for 18.33 to be released.

Cool! I'm sorry but I'm yet to get better with Git system, how do I apply this patch manually? :)

Do the following using command line:

cd /usr/share/webmin
mv authentic-theme _authentic-theme
git clone https://github.com/qooob/authentic-theme.git
/etc/webmin/restart

Works like a charm!


Improve performance creating Tags

Tags with attributes needs to reprocess tag definition to extract attributes

Fixed on att-tag. Already merged into master.
Refactored tag parsing to not reprocess tag definition.


Running Orleans in SF on Azure

I recently tried to host Orleans in Service Fabric in Azure, I just followed what is said in this repo and Im having trouble. The service which is hosting the silo sometimes shows as it is in a OK state but then, after a few seconds it shows ERROR state, and this is the error showing "Error event: SourceId='System.FM', Property='State'. Partition is below target replica or instance count.", that is all the information I have, can someone help me?

I should update the readme.
Do you have these endpoints in your ServiceManifest.xml?
      <Endpoint Name="OrleansSiloEndpoint"  Type="Internal" Protocol="tcp"/>
      <Endpoint Name="OrleansProxyEndpoint"  Type="Internal" Protocol="tcp"/>

yes, I have both.

Could you paste your logs?

I dont really know were they are stored... First time on cloud.

No problems. Does it work locally in the emulator?

Yes, with no problem at all.

I've also been experimenting with this on service fabric, it appears that despite setting a dataconnection string, it is still trying to use <IP_ADDRESS>.

@stupiduglyfool are you saying that the nuget package and the github code are behaving differently? That's odd, since the nuget package was built on the latest source

@ReubenBond I was using nuget version 1.20, as this is the current version of orleans we are using. This version always seemed to want to use development storage, even though I've configured a different storage provider.. and this yields an error similar to what @miker1423 described.
I grabbed the latest code for OrleansFabricSilo from github instead of relying on the v1.20 nuget package, and it works perfectly.

Great to hear, @stupiduglyfool :)


don't link to 'current' pekko docs (#603)

cherry pick c8ea51c49b2c39d3369ba6f1e8343c46214f19f0 #603
this fixes a link issue in our migration docs that point to a 'current' doc link that no longer works

The pekko migration guides links were changed in the main branch - differ from the 1.0 branch.
Maybe we can find something that we can add to .htaccess in pekko-site repo. I'll have a look.

we sort of need
https://pekko.apache.org/docs/pekko/current/project/migration-guides.html (now broken but used to work when current was 1.0)
to redirect to
https://pekko.apache.org/docs/pekko/current/migration/migration-guide-akka-1.0.x.html


Release v0.20.0

Coverage remained the same at 77.254% when pulling 92e7883f00f375275227c40b084e1d9f2f1d887f on ppanero:release into a4e3d222587e8700a2309a9b405aff8e6bc0bfcd on inveniosoftware:master.


Add version info to web interface

Add a static/prominant version stamp to all pages.
Probably just add it to the page template, and link to a global var in main.py

Added Version of InterARTIC and ARTIC to bottom of every page.
Need to add more granular version of all software used by ARTIC in about page. This will also help as an ENV check

Added versions on about page in commit https://github.com/Psy-Fer/interARTIC/commit/73e809df6665eaae105481f8b4db67aa937dbe98

Because the version checks are run in the celery env, and all tasks are currently set to run serially, the env version checks try to wait for any currently running jobs in the queue before it runs.
I need to figure out how to force the about check to run asynchronously, even if it's in serial mode.

So this issue comes down to the fact that we need one of the celery workers to run a task so that we can access the version info of the software they use when running the jobs.
However, because we use --concurrency=1 in our run.sh script when launching celery, this makes all the tasks serial, rather than asynchronous.
So this means, while no jobs are running, the about page will run fine with the version check.
But once a job starts, it goes into the queue, and won't load till after the job is finished.
If I change that to --concurrency=2, then while a job is running, the about page and version loading works fine, as it will allow 2 tasks to asynchronously run.
However, if the user launches a medaka and nanopolish (both) run, or multiple runs, this will run everything asynchronously, potentially using more resources than it can handle. But also, it needs a 3rd slot for the about page to run, as the 2 allowed slots for concurrency are taken up.
I'm not really sure how to get around this, other than to either fully remove the block on concurrency, and add some kind of rate limiter in the code. Seems a bit excessive for some version checks.
So instead, I will run the version check at the start of the app. Then if there are no tasks running, I will run it again. But if there is a task running, I will use the original version check from the start and skip the function call.
Hopefully, this is good enough for most cases, as people shouldn't really be troubleshooting versions while tasks are running anyway.

okay, instead of the check at the start, every time versions about is selected, it makes a version file. if there are tasks running, it reads this file instead of trying to build it again. if there are no tasks running, it builds it from scratch.
The only time this would fail, is the FIRST time this is run, if the user starts a task, then hits about.
fix in:
https://github.com/Psy-Fer/interARTIC/commit/94f96e65212b1322d968aaacd4f52eb26556ab14

works


What if onDelete is restrict instead of cascade?

What will happen if I have used onDelete restrict while creating a relationship. Does this softDelete will raise and restrict that record from softdeleting?

Hi
There is no support for restrict deleting tho I do hope to add it, another array to restrict deletes would be the idea.
https://github.com/Askedio/laravel5-soft-cascade/blob/master/src/SoftCascade.php#L8

@gchost Thanks for considering it is as enhancement. Great, you have that in your to-do list.

@gcphost @rohanvakharia I added support to restricted relations as you can see on #24
Enjoy it :)

Sent out just now as a pre-release, will release shortly.

Perfect 👍

Thanks bro @maguilar92 and @gcphost

@gcphost This issue is solved, you will close it? Thanks

Thank you.


COCO support

Import/export for https://cocodataset.org/#format-data

Should implement KWCoco https://github.com/Kitware/kwcoco

fyi we also need to implement support for kwcoco for the RGD, not sure if the code can be shared though

I think the shared code is probably the library Jon Crall maintains at https://github.com/Kitware/kwcoco
I expect that both DIVE and RGD will be able to import and use that.

I think the shared code is probably the library Jon Crall maintains at https://github.com/Kitware/kwcoco
I expect that both DIVE and RGD will be able to import and use that.

Sure that makes sense. If needed  feel free to reach out to Bane S. if you two would like to discuss it further

I just wanted to chime in to say that I'm quite interested in this feature. It would be very helpful to allow more interoperability with the outputs of general deep learning tools and specifically those maintained by Jon, such as netharn/bioharn. I just, yet again, hit an issue where I can't easily visualize the result of a model I ran. Improving the kwcoco utility scripts that convert from viame.csv <-> kwcoco could be an acceptable workaround, but is annoying long term.


Rename redeemer script to redeemer value

This applies #1738 to the EUTXO document, and fixes one or two minor issues at the same time.

This is a minor documentation update, I'll just merge it without review.


Compilation error fix.

To make this work in Unity 2021.3 I had to replace all instances of
if (_IsUnlit == 0.0f)
{
    // Lighting
    finalColor = CombinedShapeLightShared(finalColor, maskColor, i.screenPos);
}

with:
if (_IsUnlit == 0.0f)
{
    // Lighting
    SurfaceData2D surfaceData;
    InputData2D inputData;
    surfaceData.albedo = finalColor.rgb;
    surfaceData.alpha = 1;
    surfaceData.mask = maskColor;
    inputData.uv = i.screenPos;
    finalColor = half4(CombinedShapeLightShared(surfaceData, inputData).rgb, finalColor.a);
}

Shader error in 'Game/S_BresenhamMultiLineRenderer2D': variable 'inputData' used without having been completely initialized at line 156 (on d3d11)

Not sure if this fixes it, but I used ZERO_INITIALIZE(InputData2D, inputData); before inputData.uv = i.screenPos;

just added a new fork & pull request for anyone required to use unity 2021.3


Bare Metal: Nodes are not detected during Jetlag installation after bastion reboot

After a bastion reboot, nodes are not detected during Jetlag installation due to a network issue.
This issue can be resolved by running the following:
iptables -t nat -A POSTROUTING -o bond1 -j MASQUERADE

This sounds like you have a firewall issue with your setup. AIUI, your environment is not in the scale or alias lab but BYOL correct? Does your environment have a bond1 interface? Is this the interface for public traffic for your bastion? When you state nodes not detected, did they pull the agent image down, or were they unable to because the typical jetlag setup uses the bastion as the nat for connected environments. Was the logs for the "not detected" nodes observed or inspected, could they be provided?

@ebattat How did you arrive at that iptables command to run in the BYOL? It doesn't really make any sense that an environment without interface bond1 would be "fixed" by setting up a nat on it.  Can you reproduce and examine more closely to root cause the issue?

Yes, sure I will reproduce it

Any updates @ebattat? Did you have a reproducer I could examine?


Problems with mask options

My options is:
this.numberMask = createNumberMask({
    prefix: '',
    allowDecimal: true,
    decimalSymbol: ',',
    thousandsSeparatorSymbol: '.'
})

The "allowDecimal" don't work. The mask format like this: "1.223.332" but i need like this "12.233,32"

@dannysouza16 If you pass 1223332 as the raw value, it will give you 1.223.332. If you want it to give you 12.233,32, you should pass 12233,32. It cannot guess where you want the decimal to be so it doesn't add it. allowDecimal means it allows the user to add a decimal.

@msafi In brazil the first two  numbers typed is decimal. Like this plugin in JQuery: https://igorescobar.github.io/jQuery-Mask-Plugin/

I just googled it and it seems to me that Brazilian currency formatting is the same as US currency formatting but with "," and "." symbols switched.
Are you saying that when Brazilians type a number they first enter the fraction then the integer? Like if you ask somebody to type $1.000,87 they will start with 87?

Like if you ask somebody to type $1.000,87 they will start with 87?

No, it will be this way, being every -> a key press:
0,01 -> 0,10 -> 1,00 -> 10,00 -> 100,08 -> 1.000,87


mise link doesn't seem to work

Describe the bug
I am trying to symlink various binaries into mise, but keep getting an error message: No repository found for plugin ddev
It seems to happen for any binary that I try to link to.
To Reproduce
mise ln ddev@apt /usr/bin/ddev --verbose (or any binary)
It creates a symlink (though shouldn't the directory structure be something like /mise/installs/ddev/apt/bin/ddev.binary rather than /mise/installs/ddev/apt.binary?)
nick@DESKTOP-DIFRTR1:~/.local/share/mise/installs/ddev$ ls -la
total 8
drwxr-xr-x  2 nick nick 4096 Jun 14 16:31 .
drwxr-xr-x 10 nick nick 4096 Jun 14 16:31 ..
lrwxrwxrwx  1 nick nick   13 Jun 14 16:31 apt -> /usr/bin/ddev

But it doesnt appear with mise ls
mise ls
Plugin                                Version                  Config Source              Requested
bun                                   1.1.12 (outdated)        ~/.config/mise/config.toml latest
deno                                  1.44.0
deno                                  1.44.1                   ~/.config/mise/config.toml latest
go                                    1.22.4                   ~/.config/mise/config.toml latest
go:github.com/nats-io/nats-server/v2  2.10.17-RC.1 (outdated)  ~/.config/mise/config.toml latest
go:github.com/nats-io/natscli/nats    0.1.3-2
go:github.com/nats-io/natscli/nats    0.1.3                    ~/.config/mise/config.toml 0.1.3
go:github.com/nats-io/natscli/nats    0.1.4
rye                                   0.34.0                   ~/.config/mise/config.toml latest
usage                                 0.3.0                    ~/.config/mise/config.toml latest

And then it simply doesn't work when I try to mise use it
RUST_BACKTRACE=full mise use -g ddev@apt --verbose
[DEBUG] ARGS: /home/nick/.local/bin/mise use -g ddev@apt --verbose
[DEBUG] Config {
    Config Files: [
        "~/.config/mise/config.toml",
    ],
}
[DEBUG] Toolset (911.183µs): rye@latest, go@latest, go:github.com/nats-io/nats-server/v2@latest, usage@latest, bun@latest, <EMAIL_ADDRESS>deno@latest
[DEBUG] install_versions: ddev@apt
Error:
   0: No repository found for plugin ddev

Location:
   src/backend/asdf.rs:107

Version:
   2024.6.3 linux-x64 (f01cc8d 2024-06-10)

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1: color_eyre::config::EyreHook::into_eyre_hook::{{closure}}::hd20a3604cc145d9f
      at <unknown source file>:<unknown line>
   2: eyre::error::<impl eyre::Report>::from_adhoc::h4e5734d8ceb73c19
      at <unknown source file>:<unknown line>
   3: mise::backend::asdf::Asdf::get_repo_url::hb854b31a02d4f546
      at <unknown source file>:<unknown line>
   4: <mise::backend::asdf::Asdf as mise::backend::Backend>::ensure_installed::hb200c709bb929cad
      at <unknown source file>:<unknown line>
   5: mise::toolset::Toolset::install_versions::h6f46216ececc5eed
      at <unknown source file>:<unknown line>
   6: mise::cli::Commands::run::hd5767b0117d5c775
      at <unknown source file>:<unknown line>
   7: mise::cli::Cli::run::h999ae3717656a534
      at <unknown source file>:<unknown line>
   8: mise::main::hfd231697f1e30416
      at <unknown source file>:<unknown line>
   9: std::sys_common::backtrace::__rust_begin_short_backtrace::h07280f3ef69c46bc
      at <unknown source file>:<unknown line>
  10: main<unknown>
      at <unknown source file>:<unknown line>
  11: __libc_start_main<unknown>
      at <unknown source file>:<unknown line>
  12: _start<unknown>
      at <unknown source file>:<unknown line>

It seems like it is trying to use asdf plugins, but I have no idea why that would be the case
Expected behavior
I would expect it to work
mise doctor output
version: 2024.6.3 linux-x64 (f01cc8d 2024-06-10)
activated: yes
shims_on_path: no

build_info:
  Target: x86_64-unknown-linux-gnu
  Features: DEFAULT, NATIVE_TLS, OPENSSL
  Built: Mon, 10 Jun 2024 15:39:58 +0000
  Rust Version: rustc 1.78.0 (9b00956e5 2024-04-29)
  Profile: release

shell:
  /bin/bash
  GNU bash, version 5.2.21(1)-release (x86_64-pc-linux-gnu)
  Copyright (C) 2022 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

  This is free software; you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.

dirs:
  data: ~/.local/share/mise
  config: ~/.config/mise
  cache: ~/.cache/mise
  state: ~/.local/state/mise
  shims: ~/.local/share/mise/shims

config_files:
  ~/.config/mise/config.toml

backends:
  cargo
  core
  go
  npm
  pipx
  spm
  ubi

plugins:
  bun     (core)
  deno    (core)
  erlang  (core)
  go      (core)
  java    (core)
  node    (core)
  python  (core)
  ruby    (core)
  rye     https://github.com/Azuki-bar/asdf-rye#024cc5f
  usage   https://github.com/jdx/mise-usage.git#fe3888a
  zig     (core)

toolset:
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>

env_vars:
  MISE_USE_VERSIONS_HOST=true
  MISE_SHELL=bash

settings:
  activate_aggressive = false
  all_compile = false
  always_keep_download = false
  always_keep_install = false
  asdf_compat = false
  cargo_binstall = true
  color = true
  disable_default_shorthands = false
  disable_tools = []
  experimental = true
  go_default_packages_file = "~/.default-go-packages"
  go_download_mirror = "https://dl.google.com/go"
  go_repo = "https://github.com/golang/go"
  go_set_gopath = false
  go_set_goroot = true
  go_skip_checksum = false
  http_timeout = 30
  jobs = 4
  legacy_version_file = true
  legacy_version_file_disable_tools = []
  node_compile = false
  not_found_auto_install = true
  paranoid = false
  plugin_autoupdate_last_check_duration = "7d"
  python_default_packages_file = "/home/nick/.default-python-packages"
  python_pyenv_repo = "https://github.com/pyenv/pyenv.git"
  raw = false
  trusted_config_paths = []
  quiet = false
  verbose = false
  yes = false
  ci = false
  debug = false
  trace = false
  log_level = "info"
  python_venv_auto_create = false

  [status]
  missing_tools = "if_other_versions_installed"
  show_env = false
  show_tools = false

No warnings found
No problems found

**Additional context**

AFAIK the link command is not meant to link binaries but tools. These tools usually come with a directory structure similar to the following, assuming a bin directory holding the binaries.
bin/
libs/
LICENSE
README

Regarding the syntax ddev@apt,  mise is managing symlinks in the  ~/.local/share/mise/installs directory respecting semantic versioning which makes it possible to have symlinks for major, minor and patch versions (e.g. 1, 1.1 and 1.1.0). Hence the expected <TOOL>@<VERSION> syntax.
The backends feature is probably closer to what you are trying to achieve.