navigation framework

need some common UI frame so that navigation forward / backward; up / down; are easier.
Where today there is an IHE logo and version at the top of very page, and a copyright at the bottom of each page.

something like this that is dooable in markdown, but we are using html...
https://github.blog/2014-04-28-task-lists-in-all-markdown-documents/

CSS only allows plain text additions to the document so it won't really do what is needed.
JavaScript is the only thing that would do this outside of external scripting to modify the HTML files directly or using a publication framework (like mkdocs).  But JavaScript can load static files for header/footer (and even customize it based on the path/directory if necessary) as well as create navigation links.

That should be easy once we have an idea what we need.
On Mon, Oct 5, 2020 at 6:38 PM Luke Duncan<EMAIL_ADDRESS>wrote:

CSS only allows plain text additions to the document so it won't really do
what is needed.
JavaScript is the only thing that would do this outside of external
scripting to modify the HTML files directly or using a publication
framework (like mkdocs). But JavaScript can load static files for
header/footer (and even customize it based on the path/directory if
necessary) as well as create navigation links.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/IHE/publications/issues/19#issuecomment-703748299,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD3HUUAFDEA2YTXPELJ37LTSJHZAHANCNFSM4QNUXYGQ
.

so this means that for now we need to do this header/footer manually. That is disappointing, but it is achievable.

I wouldn't bother doing it manually. We just need to clarify what we need
to add to the template
On Tue, Oct 6, 2020 at 6:32 PM John Moehrke<EMAIL_ADDRESS>wrote:

so this means that for now we need to do this header/footer manually. That
is disappointing, but it is achievable.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/IHE/publications/issues/19#issuecomment-704399540,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD3HUUGLW364CP2QDAKOZWDSJNBARANCNFSM4QNUXYGQ
.

I wouldn't bother doing it manually. We just need to clarify what we need to add to the template
…
On Tue, Oct 6, 2020 at 6:32 PM John Moehrke @.***> wrote: so this means that for now we need to do this header/footer manually. That is disappointing, but it is achievable. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#19 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3HUUGLW364CP2QDAKOZWDSJNBARANCNFSM4QNUXYGQ .

@costateixeira , you are confusing this effort with IHE-FHIR efforts. This effort is around the ITI publishing our full technical framework in html form.

As I mentioned in the meeting: The header a footer sections can easily be modified for all html files using a script. I added the  and  enclosing tags to make this simple. The text added can by javascript or html, while javascript allows to include a html template file, which can be modified by usual http editing, when it needs to be updated.

On 6 Oct 2020, at 18:56, John Moehrke<EMAIL_ADDRESS>wrote:
I wouldn't bother doing it manually. We just need to clarify what we need to add to the template
… x-msg://9/#
On Tue, Oct 6, 2020 at 6:32 PM John Moehrke @.***> wrote: so this means that for now we need to do this header/footer manually. That is disappointing, but it is achievable. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#19 (comment) https://github.com/IHE/publications/issues/19#issuecomment-704399540>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3HUUGLW364CP2QDAKOZWDSJNBARANCNFSM4QNUXYGQ https://github.com/notifications/unsubscribe-auth/AD3HUUGLW364CP2QDAKOZWDSJNBARANCNFSM4QNUXYGQ .
@costateixeira https://github.com/costateixeira , you are confusing this effort with IHE-FHIR efforts. This effort is around the ITI publishing our full technical framework in html form.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/IHE/publications/issues/19#issuecomment-704413104, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEC6MTOVXMR6EMG2YJYWULSJND3RANCNFSM4QNUXYGQ.

Sorry, since this was in IHE/Publications I was assuming this was related
to the FHIR publication.
Thanks for clarifying
On Tue, Oct 6, 2020 at 7:22 PM Martin Smock<EMAIL_ADDRESS>wrote:

As I mentioned in the meeting: The header a footer sections can easily be
modified for all html files using a script. I added the  and
 enclosing tags to make this simple. The text added can by
javascript or html, while javascript allows to include a html template
file, which can be modified by usual http editing, when it needs to be
updated.

On 6 Oct 2020, at 18:56, John Moehrke<EMAIL_ADDRESS>wrote:
I wouldn't bother doing it manually. We just need to clarify what we
need to add to the template
… x-msg://9/#
On Tue, Oct 6, 2020 at 6:32 PM John Moehrke @.***> wrote: so this means
that for now we need to do this header/footer manually. That is
disappointing, but it is achievable. — You are receiving this because you
commented. Reply to this email directly, view it on GitHub <#19 (comment) <
https://github.com/IHE/publications/issues/19#issuecomment-704399540>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD3HUUGLW364CP2QDAKOZWDSJNBARANCNFSM4QNUXYGQ
<
https://github.com/notifications/unsubscribe-auth/AD3HUUGLW364CP2QDAKOZWDSJNBARANCNFSM4QNUXYGQ>
.
@costateixeira https://github.com/costateixeira , you are confusing
this effort with IHE-FHIR efforts. This effort is around the ITI publishing
our full technical framework in html form.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <
https://github.com/IHE/publications/issues/19#issuecomment-704413104>, or
unsubscribe <
https://github.com/notifications/unsubscribe-auth/AAEC6MTOVXMR6EMG2YJYWULSJND3RANCNFSM4QNUXYGQ
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/IHE/publications/issues/19#issuecomment-704428185,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD3HUUF2MXOMKX3XVKM6J3DSJNG63ANCNFSM4QNUXYGQ
.

Reviewed proposal today and agreed that this is good-enough and valuable enough to do now.
https://vassilpeytchev.github.io/publications/ITI/TF/Volume2/ITI-18.html#3.18

@vassilpeytchev we decided to use the framework and style sheet you have with the HIE-Whitepaper too... so put the javascript and stylesheet at the root of the publications (which will be the root of the profiles.ihe.net web site).

note that @lduncan-intrah has / will  applied it to the HIE-Whitepaper. so you don't need to address changes to the HIE-Whitepaper. We just want the framework dependencies in a more root location.

@vassilpeytchev can you apply your framework to the GeneralIntro folder too? and the set of index.html leading to the TF?


Chunker buf range panic

panic: runtime error: index out of range [1] with length 0
goroutine 456468686 [running]:
encoding/binary.bigEndian.PutUint16(...)
/usr/local/go/src/encoding/binary/binary.go:144
github.com/neo4j/neo4j-go-driver/v5/neo4j/internal/bolt.(*chunker).send(0xc000ef4870, {0xe817c0, 0xc00003c0e8}, {0xe7b5c0?, 0xc05e76fb50})
/home/linuxroot/go/pkg/mod/github.com/neo4j/neo4j-go-driver/v5@v5.11.0/neo4j/internal/bolt/chunker.go:72 +0x3a5
github.com/neo4j/neo4j-go-driver/v5/neo4j/internal/bolt.(*outgoing).send(0xc000ef4870, {0xe817c0?, 0xc00003c0e8?}, {0xe7b5c0?, 0xc05e76fb50?})
/home/linuxroot/go/pkg/mod/github.com/neo4j/neo4j-go-driver/v5@v5.11.0/neo4j/internal/bolt/outgoing.go:260 +0x34
github.com/neo4j/neo4j-go-driver/v5/neo4j/internal/bolt.(*messageQueue).send(...)
/home/linuxroot/go/pkg/mod/github.com/neo4j/neo4j-go-driver/v5@v5.11.0/neo4j/internal/bolt/message_queue.go:134
github.com/neo4j/neo4j-go-driver/v5/neo4j/internal/bolt.(*bolt5).Close(0xc07fe26000, {0xe817c0, 0xc00003c0e8})
/home/linuxroot/go/pkg/mod/github.com/neo4j/neo4j-go-driver/v5@v5.11.0/neo4j/internal/bolt/bolt5.go:925 +0xd6
created by github.com/neo4j/neo4j-go-driver/v5/neo4j/internal/pool.(*server).removeIdleOlderThan
/home/linuxroot/go/pkg/mod/github.com/neo4j/neo4j-go-driver/v5@v5.11.0/neo4j/internal/pool/server.go:187 +0x22a
FAIL    go-pkg/database/neo4j/test      141.206s
FAIL

Hi @duongnhat, I'm assuming this is v5.11.0? Can you share an example of the client-side code you were using that caused this error?

I tried to track down how this unexpected state in the chunker could occur, but without luck.
To be able to locate the issue, more information would be necessary, as @StephenCathcart already wrote. Any combination of the following (preferably all of it) would help:

Minimal reproducer.
Driver debug logs (including bolt logs) so that we can see what the panicking connection did before things went wrong.

Since there as been no feedback on this issue for over 3 months, I'll close it for now. However, we're still interested in debugging this and happy to re-open it as soon as we have more information.


Refactor: Format balance

Is your feature request related to a problem?
We have like 5 versions of format balance in the app :)

formatBalance +  round
formatBalance
formatBalanceEmptyOnZero
formatBsxBalanceEmptyOnZero
formatBsxBalanceToNumber

rounding is implemented 3 time

Describe the solution you would like
have a unified version that we can use :) also with vue3 impl
function format(value: number | string | BN | bigint, decimals = 12, unit?: string, round = 2);

Describe alternatives you have considered
Test cases (input -> output):
note: 1e12 ==<PHONE_NUMBER>000
0 -> '0'
x < 0 -> '0'
1000000000000 -> '1'
1200000000000 -> '1.2'
1240000000000 -> '1.24'
1243000000000 -> '1.24'
1243000000000 -> '1.243'
1243200000000 -> '1.2432'
1243220000000 -> '1.2432'
100000000 -> '0.0001'

Screeenshots
Up to $$ when tests are included
Are there opened related issues?
ref from #3784

👋

hey @vikiival  What's your ideal output is
A) implement format that has round functionality and formatBalanceEmptyOnZero should be based on that format or
B) the format should also have functionality of formatBalanceEmptyOnZero, and replace formatBalanceEmptyOnZero with formatin codebase.

hey @vikiival What's your ideal output is

Describe the solution you would like
have a unified version that we can use :) also with vue3 impl

👋


Asset search docs correction

Opps array was not needed here hehe

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

@dlcognite please use proper commit messages https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines


[nrf52840] fix NCP radio not working on USB CDC UART

Connecting posix ot-cli and ot-ncp to NCP radio device triggered an assertion on nRF52840 Development Kit due to USB returning OT_ERROR_BUSY. USB-CDC-UART TX buffer was not cleared after pseudo reset.

I signed it!


About error in multiple using of named parameters on SQL

Hello,
I think Oracle allows for using multiple SQL placeholders in same name.
For example,
INSERT into test_table values ('Name', 99, :HOGE, :HOGE);

In this case, number of variable is 2, but number of named parameters is 1.
But OCI interface function cannot get number of distinct place holders.
In go-oci8, before 2019.5, driver relly on Database engine for checking number of SQL parameters,
but now version, driver check parameters by function "OCIAttrGet".
Then multiple using of named parameters occours error in database/sql.
params := []sql.NamedArg{
    {Name: "HOGE", Value: "Oracle"},
}
     :(some process)
res, err := tx.ExecContext(
    ctx,
    "INSERT into test_table values ('Name', 99, :HOGE, :HOGE)",
    args...)

//ERROR
2020/06/18 18:15:24 sql: expected 2 arguments, got 1

params := []sql.NamedArg{
    {Name: "HOGE", Value: "Oracle"},
    {Name: "HOGE", Value: "Oracle"},
}
     :(some process)
res, err := tx.ExecContext(
    ctx,
    "INSERT into test_table values ('Name', 99, :HOGE, :HOGE)",
    args...)
//That's OK

This is very simple case to deal.
But in complex long SQL, we have to define many args.
params := []sql.NamedArg{
    {Name: "EXEC_DATE", Value: "20200620"},
    {Name: "EXEC_DATE", Value: "20200620"},
    {Name: "EXEC_DATE", Value: "20200620"},
    {Name: "UPDATE_ID", Value: "Oracle"},
    {Name: "UPDATE_ID", Value: "Oracle"},
}

or
params := []sql.NamedArg{
    {Name: "EXEC_DATE1", Value: "20200620"},
    {Name: "EXEC_DATE2", Value: "20200620"},
    {Name: "EXEC_DATE3", Value: "20200620"},
    {Name: "UPDATE_ID1", Value: "Oracle"},
    {Name: "UPDATE_ID2", Value: "Oracle"},
}

Is it better way to leave checking number of SQL parameter to Oracle engine ?
Or that is an error in my understanding ?
Please tell me what you think.

Sure, we could leave the checking to the Oracle driver/database. It would be an easy change, just update NumInput to always return -1 per Stmt specs. https://golang.org/pkg/database/sql/driver/#Stmt
The question is should we? I am fine with that change.
Anyone else have any thoughts?
Will give it a week or so to see if anyone else has any other thoughts.

Thank you for your responce.
I really appreciate for all effort to go-oci8 developpment.

https://github.com/mattn/go-oci8/pull/395

Please test

Thank you !
I have tested and confirmed that it works just as expected.

Wonderful! :) Glad to hear it.
If all done, could you close this issue?

All right.


Move back to using uvloop and/or multiprocessing when feasible

pragmatism dictated using the default event loop and no worker processes, implemented in https://github.com/steemit/jussi/pull/11 . For performance reasons, we should look into re-adopting them at our first convenience.

Might it make sense to handle this out of process by switching to FastCGI?

Will you elaborate on the uvloop error you encountered that caused you to change approaches? I'm not convinced that it wasn't an error with our code and/or config. I think using FastCGI and multiple jussi processes might just be covering up an error in our code. Nginx-->Sanic is the canonical Sanic use case, and even it should work without error. Using FastCGI, In addition to increasing  system complexity, would add an extra layer that I suspect would negatively impact performance when compared to multiple Sanic worker processes and/or multiple Nginx upstream Sanic processes.  That said, I have no dogmatic loyalty to any framework or approach, so if you have empirical data that shows superior performance of another approach, then we will use it.


It is quite difficult to specify a "default only" value for checked and my attempts result in multiple checked values

For example, see the settings screen of Minesweeper. Here: https://github.com/frankier/eve-experiments/blob/22dc4b99ea269ee392b1accd58eb5e84c5ceaca2/minesweeper.eve#L436 I maintain a #difficulty-changed record as a flag to see if the user has interacted with the checkboxes. I bind the default value only if not(#difficulty-changed). This is clearly a bit awkward. Perhaps there could be a React like defaultChecked (probably default-checked in our case) attribute.
I guess this is a separate issue, but to run Minesweeper successfully even this doesn't work since I get the error message: Unable to set 'checked' multiple times on entity. It works fine if I just disable the check as I've done here: https://github.com/frankier/Eve/commit/91ff96acdc5a0a24285b2098e6ddf1e223900630

I've started working on the first bit of this.

hey @frankier,
The current solution to default values in inputs is through binds. It looks like this:
search @browser
  value = if [#my-input value] then value
               else "some default"

bind @browser
  [#my-input value]

Of course, you can use ifs for defaults anywhere in the stack, not just for DOM. We're keeping an eye on if this proves confusing or unpleasant for users though. If so we'll consider including defaultValue attributes ala React.
If you have any other questions or comments about this, feel free to reopen this issue.


fix: setting the cached data if found on useRequest initialization

相关 Issue / Related Issue
close #594

这个 PR 是什么类型？/ What type of PR is this?

[x] 错误修复 (Bug Fix)
[ ] 新功能 (Feature)
[ ] 代码重构 (Refactor)
[ ] TypeScript 类型定义修改 (Typings)
[ ] 文档修改 (Docs)
[ ] 代码风格更新 (Code style update)
[ ] 其他，请描述 (Other, please describe):

这个 PR 做了什么？/ What does this PR do?
prevent screen flash when hit cache in use hooks
测试 / Testing

add tests

@vlaem Hey there, I notice your PR is missing a changeset bump file. I try to generate a new one but have no committing permission. so can you do that with command pnpm changeset, so that alova's github action will publish a new version automatically.


add return spam

please add error handling when returning json smap {"message": "", "spam": true, "status": "fail"}
eg try follow_count = json.loads (response) ['graphql'] ['user'] ['edge_follow'] ['count']
except
follow_count = json.loads (response) ['spam']

Sorry I didn't get you, can you explain a bit more, What's the issue ?

due to frequent requests, instagram responds in json that this is spam, you can do so that the code does not break off and return spam with a message

Thank you for your suggestion, surely I'll add this error handling to the next version. Thanks again.

if it doesn't make it difficult, you can write recommendations for timers to avoid spam ban

Need a bit help from you, can you tell me when you get this type of response and what (type of task) you're performing then ?

`import time
from myigbot import MyIGBot
import random
bot = MyIGBot('login', 'pass')
akk = 'livesound_official'
followers_count = bot.user_followers_count(akk)
def private():
lst_follow = bot.user_followers(akk, limit=followers_count)
for i in lst_follow:
time.sleep(random.randint(10, 11))
private = bot.private_user(i)
if private == True:
private_user = i
print(i, private)`

F#ck ! I didn't knew my api is that powerful. It successfully grabbed 66,000 usernames 😳.


Training time

Does the training never stop if r_anneal_steps is not manually changed?

I have the exact same questions

the same happened with me

I have the same question as well. Is there a solution available now?


Huge tray icons

Thanks for this great bar for sway, I really enjoy using it, much more than polybar...
I have problem with non electron apps showing in tray they are huge:

Combined electron and normal tray icon:

Only electron tray icon:

And full photo, using your latest commit: 07d8dfb with added tray space...

If you can do something with it, it would be great. I've used nitrokey-app and lxqt-powermanagement for normal tray icons.
And if you plan a mpd integration, not sure how much people use it, polybar was having it. Currently I've hacked it up to behave as it looked in polybar...

And both of them are QT apps, maybe there is something about QT and tray icons.

it's okay it's fixed and as a bonus we can choose a size in the tray configuration 🎉

Great, thank you!


add UpdatePullRequest()

@ae6rt sorry for delay, I've fixed issues and pushed with force.

Thank you for your contribution.  Much appreciated.


Need to carry levelpath through all processing.

In here: https://github.com/dblodgett-usgs/hyRefactor/blob/e53d8ab606b427cb2a6e4f70e0cc80b152fc2351/R/reconcile.R#L113 levelpath id gets altered. That should not be happening if at all possible.

Still need to add this to aggregate.


sbcl: read memory from envvar

Description of changes
This is a POC to RFC :) before I send this off to sbcl-devel. What do you think, @7c6f434c ? I have tried this locally and on https://github.com/hraban/cl-nix-lite and it significantly simplifies a few hokey workarounds I had. It might also address the concerns from https://github.com/NixOS/nixpkgs/pull/298034 depending on their circumstances. And would it help clean up the ugly wrapping we do in all-packages.nix at the moment? https://github.com/NixOS/nixpkgs/blob/200e237951a35168aff3af66965c08667b4833af/pkgs/top-level/all-packages.nix#L25547 etc.
I have added unit tests for the sbcl project in another commit, I've just added the functional patch here as a demonstration.
The idea being that memory is set from the first value found in this order:

from the command line args
from the env
from embedded args in a core file
from defaults

What do you think?
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Looks good, actually. I guess I should test it on Linux, though.
In general this is basically what we try to achieve with any of the flexible wrappers in any case…

@7c6f434c I didn't get any traction on this patch on sbcl-devel ("https://sourceforge.net/p/sbcl/mailman/sbcl-devel/thread/2cf20df7-01d0-44f2-8551-0df01fe55f1a%400brg.net/"). Wanna prefix the envvar with NIX_ and keep this patch alive just in nixpkgs?

also pinging @catap I think you've been active around this stuff in guix and you might be interested?

Yeah, we probably don't consider «withPackages» mandatory enough to put this there, and the patch looks fine to me.

@aadcg how does this sound to you ? does this help you at all?

@hraban seems reasonable to me, thanks!

@7c6f434c open questions for you:

should we prefix it with NIX_ ? In the spirit of https://datatracker.ietf.org/doc/html/rfc6648 I'm tempted not to do so because the envvar name is specific enough on its own.
Should we override the embedded memory params on an executable core? When dumping an executable core you can explicitly include the memory parameters, and when the core starts it will reuse those instead of the default. I'm tempted to let the envvar override this, because you can already override them using explicit command line arguments, and the code has this comment:    /* Our arg parsing isn't (and can't be) integrated with the application's,
     * but we really want users to be able to override the heap size.
     * So don't parse most options, but _do_ parse memory size options and/or
     * core page merging options, wherever they occur, and strip them out.
     * Any args that remain are passed through to Lisp.
     *
     * This does have a small semantic glitch: If your executable accepts
     * flags such as "--my-opt" "--merge-core-pages" where "--merge-core-pages"
     * is literally (and perversely) the value the user gives to "--my-opt",
     * that's just too bad! The somewhat conventional "--" option will stop
     * parsing SBCL options and pass everything else through including the "--".
     * The rationale for passing "--" through is that we're trying to be
     * as uninvasive as possible. Let's hope that nobody needs to put a "--"
     * to the left of any of the memory size options */

My intuition is to leave both of these as-is but I'm curious what you think.
I also added some unit tests to this PR for the patched behavior.

Re: overriding whatever command-line allows to override: very much yes
Re: X-: I do not think this applies here, as NIX_ is used in Nixpkgs to specify the project introducing the variable (X- is not doing any real namespacing, but the RFC explicitly says that creator-namespace is another story). I do sometimes grep env output for NIX_…
Or do you have a strong preference for no NIX_ anyway?

Fair, to be honest I think doing bare SBCL_... has only cosmetic benefits, while doing NIX_SBCL_... has the benefit of making it clear to anyone maintaining relevant infra that this will only work for SBCL built with Nix. If I imagine finding e.g. CLOJURE_MEM_SIZE in some config , I'd be annoyed to later find out it's Nix only.

Running full cl-nix-lite test-suite here https://github.com/hraban/cl-nix-lite/actions/runs/9037546275 if that passes we should be good.

also pinging @catap I think you've been active around this stuff in guix and you might be interested?

thanks for ping!
I never used guix but I've reimplemented something similar for lisp inside MacPorts.

also pinging @catap I think you've been active around this stuff in guix and you might be interested?

thanks for ping!
I never used guix but I've reimplemented something similar for lisp inside MacPorts.

Nice, I'd love to see the patch. Do you have a link?

On Fri, 10 May 2024 21:26:49 +0100,
Hraban @.***> wrote:

I never used guix but I've reimplemented something similar for lisp inside MacPorts.

Nice, I'd love to see the patch. Do you have a link?

Similar means "another lisp package manager" like guix or nix if we compare
it with quicklisp.
Not a similar patch.
Sorry for confusion.
--
wbr, Kirill

@hraban I do not understand the title of the linked job; overall — is there any pending testing? I am fine merging now.

It all seems to work great 👍 I say it's ready to merge

There apparently was some interaction between staging* changes (PR #309297) and this PR, resulting into sbcl build being broken on x86_64-linux (and thus all of sbclPackages).
The failure "first appeared" on an automatic merge from master to staging-next (42828a757c7423f7cc4f6875713a11f940c4b054). The packages build and are in cache.nixos.org for both parents, but broken at that commit - and that's how it's in the current nixpkgs master now :-/
(I was now testing with sbclPackages.cl-colors2 in particular, but sbcl build itself gets broken.)
The automatic merge happened after the last staging-next eval on Hydra, so I didn't notice.

I'm not sure what to do here.  If you have no ideas, I'd probably suggest to revert this merge until more is known.

Oh, after a few retries the build did succeed 🤦🏽  so I don't know.

Do you have the failed log before retries in easy access? I guess I could at least try to see if there is an obvious reason for flakiness…

No, I'm afraid I don't know of a log now.  I wasn't careful.

No problem and moving forward the filling of the cache is always valuable! It was just an «if it's cheap, why not try» question. I guess sooner or later we will hit the same builder again … (If it is something e.g. about CPU generations and availability of some instructions)

t4b machine has had both success and failure on the very same derivation.

Ah interesting, thanks!

It's unfortunate.  Otherwise I'd have the log.


I've been looking for a library like this but for objective C

is there any way you can make a objective c version of this library ?

@Sebacho-Barajas
I'm afraid that this is a project for swift.
Of course, you can fork and make change to import from objective c.
Or rewrite via objective c.

You can use it in Objective C project. I have used it too.


Alison Callahan @Stanford integration guide addition

Overview
Updating Integration Guide doc to add link to APLUSML notebook that uses seismometer data format
Description of changes
Edited seismometer/docs/integration_guide/index.rst to add a table where other packages that integrate with seismometer can be linked.

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

Can you also add a changelog fragment so this feature is attributed in the release notes for the next version? This readme has directions and this directory is where you will put the fragment. I think you can either flag this as a doc change or a feature.

Can you use this use this for the integration.rst file? I want to add subsections to this guide.
.. _integration_guide:

=================
Integration Guide
=================

This guide contains references to systems and packages that integrate with Seismometer. If you are interested in including your content here, either open a pull request or reach out to<EMAIL_ADDRESS>
Vendor Specific Resources
=========================

Your model developer or health IT vendor might provide guidance on how to extract data from your system for use in ``seismometer``. The following table provides links to vendor specific integration instructions. Note that some links might only be accessible if you are licensed with the
associated vendor.

+----------------------------+-----------------------------------------------+
| Vendor                     | Integration instructions                      |
+============================+===============================================+
| Epic                       | `Setup and Support Guide`_                    |
+----------------------------+-----------------------------------------------+

.. _Setup and Support Guide: https://galaxy.epic.com/Redirect.aspx?DocumentID=100277113

Seismometer Community
=====================

You might also be interested in using ``seismometer`` with other open source tools that assess complementary facets of AI systems deployed in specific settings. The following table provides a list of such
tools and links to relevant code/documentation.

+----------------------------+----------------------------------------------------------+---------------------------------------------+
| Package name               | Description                                              | Link                                        |
+============================+==========================================================+=============================================+
| APLUSML                    | A Python Library for Usefulness Simulations of ML Models | `Example notebook integrating seismometer`_ |
+----------------------------+----------------------------------------------------------+---------------------------------------------+

.. _Example notebook integrating seismometer: https://github.com/som-shahlab/aplusml/blob/seismometer_integration/tutorials/synthetic_pad_seismometer.ipynb

@firste committed the requested changes!


Remove exceptions from stat_sinks

Commit Message: Remove exceptions from stat_sinks
Additional Description:
This remove the exclusion of stat_sinks extensions from the
allow-list of exceptions.
Risk Level: low
Testing: existing ones
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

/retest

/retest

/wait


Ensemble cluster view doesn't get updated in case of membership communication errors.

Ensemble cluster view doesn't get updated in case of membership communication
errors (that is, if failing to contact all nodes in a cluster), causing the
membership update process to stale until some other nodes actually do a fresh
connection to the cluster.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 12 Sep 2010 at 9:04

Fixed see rev d291303a73
(http://code.google.com/p/terrastore/source/detail?r=d291303a73b5f08c1840c8c8e37
59e90a936fb21)

Original comment by<EMAIL_ADDRESS>on 12 Sep 2010 at 9:09

Changed state: Fixed


SKW-11: [Web][Skyeex] Portfolio Page

I added a few cards, duplications for testing purposes. Should be deleted before merge.

Nice, will remove test data in the call and merge it in tonight's call


Document composables concept

Nuxt 3 uses Vue 3 with Composition API and unjs/unctx for supporting composables with the implicit context in nuxtApp (plugins, middleware) and nuxt kit too.
However, there are many cases in this needs a better explanation of how it works internally to understand why an issue like nuxt instance unavailable happens and how to fix it with proper usage.
I've made an outline story in https://github.com/nuxt/nuxt.js/issues/14269 which can probably be used as a basis to initiate this concept page.

I was able to test callWithNuxt and it's working just fine. I've finally been able to beat multiple awaits and build Nuxt 2-like useAsyncData in my code, even though I had to use this function.

Was able to achieve a workaround to my problem with you help, but is that really the recommended approach to do things or is there a better way? 😬

@floriankapaun I've created discussion to improve DX of this behavior with more helper functions, and also to document this callWithNuxt approach: https://github.com/nuxt/nuxt/discussions/19567
Sadly discussion received no response :(
I've worked much with Vue and Nuxt internals recently and I can say that callWithNuxt now is the only way to not lose context. In my opinion, if there is no coming fix for context from Vue team this needs to be properly documented and maybe DX-improved.
Speaking of myself, I didn't find any better way to not lose app context on SSR but that.

That's a nice discussion - sorry, I did not see it until now!


Implements a starting tab reading API

This PR is part of #https://github.com/microsoft/vscode/issues/15178
Initial work for a tab reading API. Hoping to get some feedback and it merged in so I can test with proposed API

@lramos15 I forgot to mention this in my review: can we please also have integration tests for this new API, should be quite easy to cover, even including custom editors and/or notebooks or even diffs.

code pointer: extensions/vscode-api-tests/src/singlefolder-tests/window.test.ts


Question on the continuous stochastic sampling

Hi,
Thanks for sharing the code. I have couple of questions regarding to the code and the paper. It would be much appreciated if you could clarify.

Is there a reason why mean and std share the same MLP? It shouldnt make much difference, but if I remember correctly, in VAE setups there are 2 MLPs each for mean and std.
Similarly, what is the rationale behind using a symmetrised divergence when you are matching prior to the posterior unlike the traditional VAE approach?
If I understand correctly, in each "epoch", the model go overs the videos by sampling n (self.repeated_sampling) frame pairs from each. Could you confirm whether this is correct?
In forward_decoder_mae and forward_decoder_fut, the querry does not include CLS token, while kv has CLS token. Instead, the mask tokens are extended as if it has a CLS token mask_tokens = self.mask_token.repeat(h.shape[0], h.shape[1], 1) which is later removed even though it is just a mask token not a CLS token x = x[:, 1:, :]. Is it to prevent data leakage from the embeddings of $x_{t+k}$ ?
When predicting the future from prior (tgt_pred_prior), the prior has no notion of k  (and independent from the future frame), so what does it reconstruct here since k is not fixed but sampled from an interval?  https://github.com/huiwon-jang/RSP/blob/3c77f7805757a4c8a4a5b509e25ebef900c6ebe9/models_rsp.py#L426

Thanks in advance,
Taha

Hi Taha, thanks for your interest in our project!
I'll respond to your questions one by one.

I think it could be design choices, but we used the same MLP for code simplicity. And because separating the last linear layer is meaningless, it may not make much difference as you said!
I'd like to refer to the Dreamer v2 (https://arxiv.org/abs/2010.02193) that uses KL balancing to prevent regularizing to poor representation of learned prior.
Yes, furthermore, we say effective epochs are n for each epoch.
We actually follow the MAE's implementation. However, because the first mask token is not a CLS token, it could be removed before applying the decoder. It would be interesting to investigate the effect of the first mask token. :)
Prior prediction in the forward step is just used for the logging of whether the prior learns something from the posterior. We observed that the predictions from prior have more variations than posterior (and thus larger prediction loss than posterior) since k is not fixed as you said.

Thanks a lot for the detailed answer!

Hi, I have an additional question. Have you ever tried generating tgt_pred without perturb after training? In my case, if perturb was used during training, and if I check validation images without perturb, it reconstructs extremely smoothed out images with no shape or structure. if i add the noise back for validation reconstruction, it seems fine. Did you observe any such cases?


Asterisk >= 12 compatibility

Asterisk >= 12 compatibility.

Removed case-insensitive variables (I don't think could be a BC break, it was a bug for asterisk >= 12. Using it in Asterisk < 12 doesn't change nothing)
Added methods for new headers in events, deprecated the older ones.
Added other actions and events

I made this changes in an older version :(


No headers present on OPTIONS request

Hi, I need help with larval + vuejs and CORS
I have a domain http://mydomain.com or http://www.mydomain.com
When I enter this: http://www.mydomain.com is working
But if igo through: http://mydomain.com
Failed to load http://www.mydomain.com/checkCertificates: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://mydomain.com ' is therefore not allowed access.
Headers CORS only response When I enter this: http://www.mydomain.com
In Kernel.php
protected $routeMiddleware = [
  …
  'cors' => \Barryvdh\Cors\HandleCors::class,
]

My config/cors.php default:
<?php
return [
    /*
    |--------------------------------------------------------------------------
    | Laravel CORS
    |--------------------------------------------------------------------------
    |
    | allowedOrigins, allowedHeaders and allowedMethods can be set to array('*')
    | to accept any value.
    |
    */

    'supportsCredentials' => false,
    'allowedOrigins' => ['*'],
    'allowedHeaders' => ['*'],
    'allowedMethods' => ['*'],
    'exposedHeaders' => [],
    'maxAge' => 0,
];

Can you try with https://github.com/barryvdh/laravel-cors/releases/tag/v0.10.1 ?

Please re-open this issue when the problem still persists.


Download creates a folder 'root'

open a remote WSL window
clone https://github.com/eclipse/eclipse.jdt.ui.git
select org.eclipse.jdt.junit.runtime/scripts and choose Download from the context menu
pick an empty folder as destination
root is suggested as folder name. That's strange. Maybe it's related to the fact that the full path of scripts is /root/eclipse.jdt.ui/org.eclipse.jdt.junit.runtime/scripts.

Instead of root I would expect scripts

There are some other issues about the download command that cover this.


Dominator Tree Analysis (#3)

Support for dominator and post dominator analysis on ir::Functions. This patch contains a DominatorTree class which builds the tree and DominatorAnalysis and DominatorAnalysisPass classes for interfacing with and caching the built trees.

Thanks!  I'm starting the review today.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: davors72:x: NaghasanYou have signed the CLA already but the status is still pending? Let us recheck it.

Additionally, there are formatting errors with the patch.  Please run clang-format.  https://travis-ci.org/KhronosGroup/SPIRV-Tools/jobs/311943875

Waiting for the CLA to be signed and for bots to finish.

Rebase, squashed, and merged as 8ba68fa9.

Thanks.  The bots were still going when I checked last night.


Order results from getColumns

addresses issue 1332

This PR actually breaks APIs. Please make sure to test your changes. For example, getColumns API is now broken against Azure DW.


Accessing all gpio pins?

Sorry if this isn't an appropriate github issue, but I'm wondering why the esp-idf-svc::hal::gpio only has types for gpio pins 1 through 21. My board has up to pin 38, and I don't seem to have any way of accessing them through this library. Is that correct? Is there another way I can use all the pins on my board? Thanks!

if you are looking at the docs page it is generated against the esp32c3. If you are using another chip you get the correct gpio pins generatet for your chip. All capability definitions for every chip variant can be found in esp-idf-hal


Derive Clone

I've found it super useful to be able to clone a mock connector.
This has come up when implementing the hyper::service::NewService trait; for that I implement my server with an Arc<Context> where Context contains all state.
The server is parametrised over the connector for (proxied) HTTP client requests; Server<C> where C: hyper::client::connect::Connect + Sync + 'static, Server<C>
But for this to work I do a clone() on the Arc<Context>, so the Service<C> must implement Clone, therefore the connector must implement Clone, therefore the MockConnector must implement Clone.
Deriving it worked for me. Hope this makes sense!

Thanks a lot! That makes perfect sense, and I will publish a new version shortly.


Error with Docker registry after upgrade: error parsing HTTP 404 response body: invalid character '<' ...

Description
I updated my Gitea instance from 1.21.11 to 1.22.2 yesterday. Since then I am unable to use the docker cli to pull or push docker packages.
I can see the package in the ui as expected

But when I run the pull command in the package description, I get an error
$ docker pull https://**.com/**/ca.app:develop

Error response from daemon: Head "https://**/v2/**/ca.app/manifests/develop":
error parsing HTTP 404 response body: invalid character '<' looking for beginning of value:
"\r\n<title>404 Not Found</title>\r\n\r\n
404 Not Found
\r\n
nginx\r\n\r\n\r\n"

I get a similar error with push as well.
This is a screenshot of the logs from my Drone CI server when I try to build and publish packages.

Gitea Version
1.22.2
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Ubuntu:
How are you running Gitea?
Docker compose with docker image gitea/gitea:latest (1.22.2)
Database
postgres:14

The error you saw was from "nginx" (nginx), not from Gitea.

Thanks for the quick feedback.
When I try to open the URLs from the error directly in the browser, I get a 401 error
https://git.**.com/v2/
https://git.**.com/v2/repo/ca.app/manifests/develop
{"errors":[{"code":"UNAUTHORIZED","message":""}]}

So it means the url is accessible, but for whatever reason, it throws a 404 html page when authorisation data is added.

Check your nginx full config, eg: nginx -T to see whether there are strange (especially WAF/BLOCK/FILTER) options.

One more thing, maybe something wrong in your proxy_set_header, please follow the document https://docs.gitea.com/administration/reverse-proxies and do not set other headers like X-Forwarded-Host.

I am checking all configurations and nginx error logs. Will respond when done.

I have checked the configuration, and everything looks good.
I am using Nginx Proxy Manager, and I have disabled "Block common exploits".

This is the part of the config relevant to my gitea server: (https is provided by CloudFlare, and I don't have any WAF rules there)

# configuration file /data/nginx/proxy_host/12.conf:
# ------------------------------------------------------------
# git.**.com
# ------------------------------------------------------------

server {
  set $forward_scheme http;
  set $server         "git";
  set $port           3000;

  listen 80;
  listen [::]:80;

  server_name git.**.com;

  access_log /data/logs/proxy-host-12_access.log proxy;
  error_log /data/logs/proxy-host-12_error.log warn;

   proxy_read_timeout 300;
   proxy_connect_timeout 300;
   proxy_send_timeout 300;

  location / {
    # Proxy!
    include conf.d/include/proxy.conf;
  }

  # Custom
  include /data/nginx/custom/server_proxy[.]conf;
}

# configuration file /data/nginx/custom/server_proxy.conf:
proxy_max_temp_file_size 4096m;
client_max_body_size 4096m;

# configuration file /etc/nginx/conf.d/include/proxy.conf:
add_header       X-Served-By $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Forwarded-Proto  $scheme;
proxy_set_header X-Forwarded-For    $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP          $remote_addr;
proxy_pass       $forward_scheme://$server:$port$request_uri;

This is the code for exploit blocking, even though I've disabled it. I'm adding it just for reference sake
# configuration file /etc/nginx/conf.d/include/block-exploits.conf:
## Block SQL injections
set $block_sql_injections 0;

if ($query_string ~ "union.*select.*\(") {
	set $block_sql_injections 1;
}

if ($query_string ~ "union.*all.*select.*") {
	set $block_sql_injections 1;
}

if ($query_string ~ "concat.*\(") {
	set $block_sql_injections 1;
}

if ($block_sql_injections = 1) {
	return 403;
}

## Block file injections
set $block_file_injections 0;

if ($query_string ~ "[a-zA-Z0-9_]=http://") {
	set $block_file_injections 1;
}

if ($query_string ~ "[a-zA-Z0-9_]=(\.\.//?)+") {
	set $block_file_injections 1;
}

if ($query_string ~ "[a-zA-Z0-9_]=/([a-z0-9_.]//?)+") {
	set $block_file_injections 1;
}

if ($block_file_injections = 1) {
	return 403;
}

## Block common exploits
set $block_common_exploits 0;

if ($query_string ~ "(<|%3C).*script.*(>|%3E)") {
	set $block_common_exploits 1;
}

if ($query_string ~ "GLOBALS(=|\[|\%[0-9A-Z]{0,2})") {
	set $block_common_exploits 1;
}

if ($query_string ~ "_REQUEST(=|\[|\%[0-9A-Z]{0,2})") {
	set $block_common_exploits 1;
}

if ($query_string ~ "proc/self/environ") {
	set $block_common_exploits 1;
}

if ($query_string ~ "mosConfig_[a-zA-Z_]{1,21}(=|\%3D)") {
	set $block_common_exploits 1;
}

if ($query_string ~ "base64_(en|de)code\(.*\)") {
	set $block_common_exploits 1;
}

if ($block_common_exploits = 1) {
	return 403;
}

## Block spam
set $block_spam 0;

if ($query_string ~ "\b(ultram|unicauca|valium|viagra|vicodin|xanax|ypxaieo)\b") {
	set $block_spam 1;
}

if ($query_string ~ "\b(erections|hoodia|huronriveracres|impotence|levitra|libido)\b") {
	set $block_spam 1;
}

if ($query_string ~ "\b(ambien|blue\spill|cialis|cocaine|ejaculation|erectile)\b") {
	set $block_spam 1;
}

if ($query_string ~ "\b(lipitor|phentermin|pro[sz]ac|sandyauer|tramadol|troyhamby)\b") {
	set $block_spam 1;
}

if ($block_spam = 1) {
	return 403;
}

## Block user agents
set $block_user_agents 0;

# Disable Akeeba Remote Control 2.5 and earlier
if ($http_user_agent ~ "Indy Library") {
	set $block_user_agents 1;
}

# Common bandwidth hoggers and hacking tools.
if ($http_user_agent ~ "libwww-perl") {
	set $block_user_agents 1;
}

if ($http_user_agent ~ "GetRight") {
	set $block_user_agents 1;
}

if ($http_user_agent ~ "GetWeb!") {
	set $block_user_agents 1;
}

if ($http_user_agent ~ "Go!Zilla") {
	set $block_user_agents 1;
}

if ($http_user_agent ~ "Download Demon") {
	set $block_user_agents 1;
}

if ($http_user_agent ~ "Go-Ahead-Got-It") {
	set $block_user_agents 1;
}

if ($http_user_agent ~ "TurnitinBot") {
	set $block_user_agents 1;
}

if ($http_user_agent ~ "GrabNet") {
	set $block_user_agents 1;
}

if ($block_user_agents = 1) {
	return 403;
}

I would like to point out once again that I've been using Gitea for more than 2 years and I've never encountered this issue. I started experiencing it today, and the only change I have made since I last used docker packages was the upgrade from 1.21.11 to 1.22.2.
I unfortunately didn't backup my db before the upgrade, so I'm unable to revert it to the previous version to confirm whether or not the issue was caused by the upgrade.

Some more information about how to debug:

What do you see in the nginx log (access&error) when the nginx-404-error occurs?
When the nginx-404-error occurs, what does Gitea see? What are the Gitea's related logs for the /v2/.... request paths?

I have swapped Nginx-Proxy-Manager (NPM) for Nginx. I am also using the configuration in https://docs.gitea.com/administration/reverse-proxies and it's working fine.
Looks like the issue is somewhere within NPM.
Thank you for the assistance. Really appreciate it

Glad to help.
Yup, I think the issue could be closed.


bug: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: org.eclipse.lsp...

IDE Information
GoLand 2024.2.3
Build #GO-242.23339.24, built on September 26, 2024
Licensed to Michael Henderson
Subscription is active until January 31, 2025.
Runtime version: 21.0.4+13-b509.17 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 14.6.1
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 16000M
Cores: 10
Metal Rendering is ON
Registry:
ide.completion.variant.limit=500
suggest.all.run.configurations.from.context=true
ide.experimental.ui=true
i18n.locale=
Non-Bundled Plugins:
org.asciidoctor.intellij.asciidoc (0.43.1)
com.sourcegraph.jetbrains (7.0.6)
com.intellij.tailwindcss (242.20224.204)
Bug Description
restarting ide
Additional context
Stacktrace:
java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: codeActions/provide: document not found for file:///Users/wraith/JetBrains/empyrean/daleri/assets/converted.html

Error: codeActions/provide: document not found for file:///Users/wraith/JetBrains/empyrean/daleri/assets/converted.html
    at /Users/wraith/Library/Application Support/JetBrains/GoLand2024.2/plugins/Sourcegraph/agent/index.js:128784:19
    at /Users/wraith/Library/Application Support/JetBrains/GoLand2024.2/plugins/Sourcegraph/agent/index.js:129744:18
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processImmediate (node:internal/timers:449:9)
    at process.topLevelDomainCallback (node:domain:160:15)
    at process.callbackTrampoline (node:internal/async_hooks:128:24)
    at async /Users/wraith/Library/Application Support/JetBrains/GoLand2024.2/plugins/Sourcegraph/agent/index.js:128268:44
	at com.intellij.util.ExceptionUtil.rethrow(ExceptionUtil.java:136)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.awaitWithCheckCanceled(ProgressIndicatorUtils.java:399)
	at com.sourcegraph.cody.inspections.CodyFixHighlightPass.doCollectInformation(CodyFixHighlightPass.kt:104)
	at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:431)
	at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.runWithSpanIgnoreThrows(trace.kt:118)
	at com.intellij.platform.diagnostic.telemetry.helpers.TraceUtil.runWithSpanThrows(TraceUtil.java:36)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$3(PassExecutorService.java:426)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:291)
	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:965)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$4(PassExecutorService.java:417)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:416)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:392)
	at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.cacheFileTypesInside(FileTypeManagerImpl.java:802)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$1(PassExecutorService.java:392)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.executeByImpatientReader(AnyThreadWriteThreadingSupport.kt:486)
	at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:390)
	at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:259)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1491)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:2073)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2035)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: codeActions/provide: document not found for file:///Users/wraith/JetBrains/empyrean/daleri/assets/converted.html

Error: codeActions/provide: document not found for file:///Users/wraith/JetBrains/empyrean/daleri/assets/converted.html
    at /Users/wraith/Library/Application Support/JetBrains/GoLand2024.2/plugins/Sourcegraph/agent/index.js:128784:19
    at /Users/wraith/Library/Application Support/JetBrains/GoLand2024.2/plugins/Sourcegraph/agent/index.js:129744:18
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processImmediate (node:internal/timers:449:9)
    at process.topLevelDomainCallback (node:domain:160:15)
    at process.callbackTrampoline (node:internal/async_hooks:128:24)
    at async /Users/wraith/Library/Application Support/JetBrains/GoLand2024.2/plugins/Sourcegraph/agent/index.js:128268:44
	at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
	at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2096)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.awaitWithCheckCanceled(ProgressIndicatorUtils.java:370)
	... 27 more
Caused by: java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: codeActions/provide: document not found for file:///Users/wraith/JetBrains/empyrean/daleri/assets/converted.html

Error: codeActions/provide: document not found for file:///Users/wraith/JetBrains/empyrean/daleri/assets/converted.html
    at /Users/wraith/Library/Application Support/JetBrains/GoLand2024.2/plugins/Sourcegraph/agent/index.js:128784:19
    at /Users/wraith/Library/Application Support/JetBrains/GoLand2024.2/plugins/Sourcegraph/agent/index.js:129744:18
    at runNextTic...

Additional info: restarting ide

Hi there 👋 sorry for the inconvenience 🙇 we know about that problem and we fixed it already!
The original issue: https://github.com/sourcegraph/jetbrains/issues/2512
The fix: https://github.com/sourcegraph/jetbrains/pull/2539
The fix will be included in the next release. The next release should be available next week.
I kindly ask you for some more patience 🙏


Text is inserted at an incorrect position after drag and dropping text

Do you want to request a feature or report a bug?
bug
What is the current behavior?
Text is inserted at an incorrect position after drag and dropping within the same editor instance. See the following gif:

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/gmertk/e61z7nfa/.
To reproduce it, paste multi-line HTML containing
 tags and try moving words between lines.
What is the expected behavior?
The text should be inserted at the place where the mouse is released after dragging.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Draft.js: 0.11.5
Chromium: 80.0.3987.163 (Official Build) Built on Ubuntu , running on Ubuntu 16.04 (64-bit)

Do you want to request a feature or report a bug?
bug
What is the current behavior?
Text is inserted at an incorrect position after drag and dropping within the same editor instance. See the following gif:

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/gmertk/e61z7nfa/.
To reproduce it, paste multi-line HTML containing
 tags and try moving words between lines.
What is the expected behavior?
The text should be inserted at the place where the mouse is released after dragging.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Draft.js: 0.11.5
Chromium: 80.0.3987.163 (Official Build) Built on Ubuntu , running on Ubuntu 16.04 (64-bit)

Found Any solution for this drag and drop issue?


Enable AlignParameters cop

For discussion.
Followup to https://github.com/capistrano/capistrano/pull/1594

Looks good. :+1:


add print job table

Addresses #56
Added the print_job_info() method to the Client. The following picture shows the expected output for the user<EMAIL_ADDRESS>

A minor non-requested suggestion: tabulate is simple, widely used, dependency-less, but not much maintained recently. In general, it's not a bad idea.
However, there is an alternative which is definitely more complex, but also has very few dependencies (4, of which one is optional, and the other is only for compatibility with previous Python versions), which is also incredibly more used and maintained.
https://rich.readthedocs.io/en/stable/tables.html
Together with tables, you're also getting many further niceties with Rich. However, that's not a very good argument, since you just need tables (but the previous ones are pretty good).

Thanks @marcorossi5 works for me, @BrunoLiegiBastonLiegi could you please give a try and check if this works also for you?

Thanks, I tested this with qibo-cloud-backends and it works for me locally.


numa error when install

It's a typo in requirements. That should be "numba" with a B.

I tried fixing that typo on the requirements file, but it doesn't seem like it's triggering Comfy to download the correct libraries. Is there anything else that needs to be done here?

I tried fixing that typo on the requirements file, but it doesn't seem like it's triggering Comfy to download the correct libraries. Is there anything else that needs to be done here?

I think numba comes with Python 3.10. The official numba website says to just try it, and doesn't specify to install. But it does have a pip package, so in case someone removed it, it would need to be reinstalled. I didn't need to install it to use it myself with ComfyUI portable, it was already there.

Well, I never did anything related to it (I'm not a developer, so I never touch anything related to Python, nor was I aware of numba's existence until today), and your addon is no longer working since this update. Below is the error message from Comfy even after I made the change to the requirements file to numba instead of numa.

Did you not re-run the requirements after it was patched? You should always be sure to run the requirements with new changes, as their may be new requirements, like numba.
C:\path\to\ComfyUI\python_embeded\python.exe -s -m pip install -r requirements.txt
Or numba directly
C:\path\to\ComfyUI\python_embeded\python.exe -s -m pip install numba

I assumed that happened when Comfy is starting. I guess that's my mistake.


Test Ubicloud runners and compare with BuildJet (OSOE-790)

BuildJet costs half of GitHub-hosted runners and Ubicloud-hosted runners cost 5th of BuildJet.
FYIs:

They run on Hetzner.
No 32-core runners at this point (although we don't need them).
There are 1,250 free minutes per month, although it's unclear if it's vCore minutes or full machine minutes.

BuildJet is still quite cheap, so consider queue (runner start-up) time as highly important.
Jira issue

Things to consider:

We also use BuildJet cache, which makes builds a lot faster. Ubicloud would need to offer better performance without it for the same or smaller cost.
GDPR compliance and security. https://www.ubicloud.com/docs/github-actions-integration/security looks nice, but I can't find what the actual company is, if there's one, and where it is registered, which is important for GDPR. The team seems Turkish.
Windows availability. Our Linux build costs are very little after all the optimization now, with Windows being the majority of our costs.

I've written them about the company and Windows.

Windows won't come, GDPR compliance and info about the company behind it on the website will.

There's also WarpBuild, which, amusingly, is the third startup doing this from Y Combinator. Crowded space. That looks like it has the exact same prices as BuildJet.
Then Namespace takes a different route with offering mostly fixed plans with minute-caps. Cirrus Runners does something similar with $150/month/concurrent runner.
No Windows under either one, but it's "coming soon" to WarpBuild.

It's like Vultr vs. Digital Ocean. :D

Hi @Piedone, @BenedekFarkas - thank you for looking into Ubicloud!
I'm Ozgun, one of Ubicloud's founders. @Piedone and I exchanged emails about Ubicloud runners (hi Zoltan!); and I also wanted to share that information here. Also happy to answer any other questions you might have.
Ubicloud is a Dutch-American company. Ubicloud BV is based in Amsterdam and serves our customers in Europe. Ubicloud Inc. is based in San Francisco and serves our customers in the US.
Umur, Daniel, and I are the company's co-founders. Umur and I previously co-founded Citus Data, where we built distributed PostgreSQL. We were acquired by Microsoft in 2019; and we led product and engineering teams within Azure. Daniel was instrumental in building Heroku Postgres and that's how we met him. The Ubicloud engineering team also previously worked at Citus / Microsoft.
We're big believers in open-source. At Citus, we donated 1% of our stock to non-profit PostgreSQL organizations. At Ubicloud, our project and GitHub integration is available here: https://github.com/ubicloud/ubicloud
We currently don't have Windows support. Once we introduce Windows VMs, I'd suspect we'd also provide GitHub runners for them. This however isn't on our roadmap for this quarter.
Caching support is on our roadmap. If you could share a bit more about your requirements, that would help us a lot. In particular, are you looking for a package cache similar to BuildJet's, a Docker instance registry, or a Docker layer cache?
Also, if this isn't a priority or you think Ubicloud isn't the right solution, completely understood. I came across this thread, just wanted to say hi, and see if there are any questions we could answer.

Thanks for chiming in, Ozgun!
For caching, we need NuGet and NPM package caching. See from here down: https://github.com/Lombiq/GitHub-Actions/blob/dev/.github/actions/build-dotnet/action.yml#L97
Our biggest pain point is Windows costs, so that's what we'd look forward to most.
Secondly, more performance is always welcome. Our slowest Ubuntu workflow is something like what you see here, which takes 13-20 minutes. Increasing core count from 4 brings marginal improvements, so 4 is the performance/cost sweet spot for this and similar workfows (at least on BuildJet). If we can have better performance for <=cost then awesome.
Note to ourselves: https://github.com/neysofu/awesome-github-actions-runners

Hey @Piedone - sounds great! Will incorporate your feedback on the caching part.
For Ubicloud runners, we look to differentiate with 10x lower cost and open source. BuildJet is great and we love the founders. Since Ubicloud and BuildJet both run on Hetzner, I wouldn't expect there to be much of a performance difference between the two solutions.

Thanks!

Hi @Piedone - I'm the founder of WarpBuild 👋
reg. caching: using the default github cache with WarpBuild speeds it up automagically by eliminating network bottlenecks.
We consistently have heard from customers that they prefer using us because they don't need to make any changes to caching, get unlimited concurrency out of the box with no additional charges, and also the best perf on most workloads.
I'd love for you to try us out.

Thanks for the info, Surya, that sounds great! We'll need to do some comprehensive testing.


[BUG] Button Partial Theme

Describe the bug
With the latest update (0.4.0) the theme prop was added to a ton of components (thank you by the way, was waiting for this for a bit :3).
The Button component has it as the following:
theme?: FlowbiteButtonTheme;

This means the entirety of the FlowbiteButtonTheme interface needs to be included when passing it a custom theme.
For reference, this is how other components are setup (Card example):
theme?: DeepPartial<FlowbiteCardTheme>;

To Reproduce
Steps to reproduce the behavior:

Import the Button component and use it.
Pass it any custom theme through the theme prop.
See error:

Expected behavior
The component should take in a partial interface and merge it with the default theme (the latter is already setup).
Project information:

Tailwind: 3.2.7
Flowbite: 1.6.3
Flowbite React: 0.4.1
Type: Next App

Thanks for catching that, if you have the ability to submit a PR fixing these it would be wonderful, let me know


More accurate puppet run reporting

Now reports how long since you ran puppet, for added shaming.
/cc @tuzz

:+1:


Add a logo to apple family

LAST TIME YOU HAVE NOT PROVIDED FAMILY LOGO OF APPLE FAMILY PLZ PROVIDE THE FOLLOWING.AND SORRY I AM TOO FREQUENTLY GIVING ISSUES.
name: APPLE FAMILY
  logo: https://imgur.com/gallery/A2S2oXj

logo: https://imgur.com/gallery/A2S2oXj

logo: https://imgur.com/gallery/A2S2oXj .png


Is it possible to make JS APIs available in Java?

I'm wondering if I could leverage this project to implement Java bindings for Pulumi given it has JS bindings.
There is a nodejs sdk for Pulumi: https://github.com/pulumi/pulumi/tree/master/sdk/nodejs
And there are libraries for Pulumi that use the nodejs sdk, for example: https://github.com/pulumi/pulumi-aws/tree/master/sdk/nodejs
Using the nodejs sdk and libraries of Pulumi I can create infrastructure by writing TypeScript code like this
import * as aws from "@pulumi/aws";

const size = "t2.micro";     // t2.micro is available in the AWS free tier
const ami = aws.getAmi({
    filters: [{
        name: "name",
        values: ["amzn-ami-hvm-*"],
    }],
    owners: ["137112412989"], // This owner ID is Amazon
    mostRecent: true,
});

const group = new aws.ec2.SecurityGroup("webserver-secgrp", {
    ingress: [
        { protocol: "tcp", fromPort: 22, toPort: 22, cidrBlocks: ["<IP_ADDRESS>/0"] },
    ],
});

const server = new aws.ec2.Instance("webserver-www", {
    instanceType: size,
    securityGroups: [ group.name ], // reference the security group resource above
    ami: ami.id,
});

export const publicIp = server.publicIp;
export const publicHostName = server.publicDns;

Ref: https://www.pulumi.com/docs/tutorials/aws/ec2-webserver/
What I'm trying to figure out is if instead of implementing Polumi bindings for Java, I could leverage the polyglot framework to load the JS code and provide Java APIs similar to the JS APIs (used in the example above)?

Sure. Out of the box GraalJS can't run NodeJS code, but, there is a way to do it using the shipped fork of NodeJS. See here for a simple set of scripts/libraries to help you do it:
https://mikehearn.github.io/nodejvm/

Thanks @mikehearn, I will give that a try.

I consider this closed. If the solution of Mike, or our experimental support for CommonJS modules does not help, then it is most likely a duplicate of #321.


Homebrew recipe for 0.9.1 with incorrect SHA256 ?

I get this on my Mac (OS X 10.11.1) with freshly updated homebrew:
==> Upgrading 1 outdated package, with result:
manastech/crystal/crystal-lang 0.9.1
==> Upgrading manastech/crystal/crystal-lang
==> Downloading https://github.com/manastech/crystal/archive/0.9.1.tar.gz
==> Downloading from https://codeload.github.com/manastech/crystal/tar.gz/0.9.1
######################################################################## 100.0%
==> Downloading https://github.com/manastech/crystal/releases/download/0.9.0/crystal-0.9.0-1-darwin-x86_64.tar.gz
==> Downloading from https://github-cloud.s3.amazonaws.com/releases/6887813/09a6ce66-7433-11e5-9c74-bfd8b80435c8.gz?
######################################################################## 100.0%
Error: SHA256 mismatch
Expected: 5a16826145a846da3548e875cf104bdfc04c35cd6628cf66487de1bfbe9c5faf
Actual: fd670b01dfa35805c8c57126dabebfe25c0942b673d9b3c6d5116d8b3f5ba53a
Archive: /Library/Caches/Homebrew/crystal-lang--boot-86.64.tar.gz
To retry an incomplete download, remove the file above.

The issue was when updated to 0.9.1:
https://github.com/manastech/homebrew-crystal/commit/17757cd15f5090838b1dc1274f112842457decc9
Please report on https://github.com/manastech/homebrew-crystal or send a pull request with the proper SHA256 (fd670b01dfa35805c8c57126dabebfe25c0942b673d9b3c6d5116d8b3f5ba53a)
Thank you.

@sardaukar patch provided in manastech/homebrew-crystal#12
Cheers.

Sorry, didn't know where to report this! Thanks


The CS:Go Tracker Desktop Application does not sanitize URLs going to shell.openExternal()

Summary:
The CS:Go Tracker Desktop Application does not correctly restrict navigation. While it does pass attempts to open new window to the system’s default browser, it does not sanitize these URLs, resulting in the execution of sensitive files on the user’s system.
Platform(s) Affected:
Linux, Window
Steps To Reproduce:

Open the CS:Go Tracker Desktop Desktop Application from the command-line. Add a command-line switch --remote-debugging-port=8315 while running the application.

Open a web browser on the same device and visit localhost:8315. The application can be interacted with via the DevTools protocol.

[Access Sensitive File] Within the console, update the location, say, `window.open = “file:///path/to/file”. The file at the given path is opened. If this file is an executable, it is run by the system.

[In-app Navigation] The app also does not have an event handler on will-navigate. Updating the app’s window location by using window.location=”https://malicious.com/” with navigate the app’s window away to an external site.

Mir Masood Ali, PhD student, University of Illinois at Chicago
Mohammad Ghasemisharif, PhD Candidate, University of Illinois at Chicago
Chris Kanich, Associate Professor, University of Illinois at Chicago
Jason Polakis, Associate Professor, University of Illinois at Chicago

Thanks for reporting, but I don't think this is a problem because csgo-tracker is an offline app. To exploit this vulnerability an attacker would need access to your computer. In that case I think there would be bigger concerns than navigating to a malicious website. Just in case I have added a check in https://github.com/davidaf3/csgo-tracker/commit/dc14f6ed7ca7297ab4fd7896007eed04071fcb42 to only allow opening HTTPS URLs.


How to get (log) conditional probability of next word given a context in Ollama?

Hi,
I'm new to Ollama. I'd like to get (log) conditional probability of next word given a context like with other LLMs. I cannot find theis usage in the turorial or API. I'm thankful if anybody can help me with that. Sorry, if this question is too basic or not appropriate for an issue.
Best

I think this may be more of a feature request than a question -- looking at the API, I don't see any option to either do this, or to adjust weights for individual tokens.
As these features would both be necessary to use ollama as a LMTP backend (a transport protocol intended to be suitable for tools that constrain a LLM's output to only consider outputs that match provided rules/patterns), there's certainly value to them.

I think maybe I want some guided generation, like I have probability of every generation step, and I can choose the token I want instead of by max prob.

Closing for https://github.com/ollama/ollama/issues/2415 – thanks!


⚠ Bofrost.lu has degraded performance

In 3272d0e, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1530 ms

Resolved: Bofrost.lu performance has improved in 7be5d52 after 13 minutes.


Issue with k8s.io/docs/setup/turnkey/aws/

**This is a documentation issue for Kubernetes documentation

[ ] Feature Request
[ ] Bug Report

Problem:
https://kubernetes.io/docs/setup/turnkey/aws/
Support Level Section for Docs link is not working

Proposed Solution:
Page to Update:
https://kubernetes.io/...

fix xref #9256


Naming consistency for API/event surface related to Container's connection to delta stream

Two goals:

Consistency of naming across all related events and APIs, both public and private
Consensus that the names are intuitive as to their meaning and semantics

Here are the proposed new API shapes.  See the diff here to see what's changing from the current state.

IContainer (public):

connectionState: ConnectionState

Disconnected: no socket connection to delta server
Pending: socket connection established but we're not caught up
Connected: connected and caught up

connect()

Calls DeltaManager.connect  (and picks up some semantics from old setAutoReconnect?)

disconnect()

Disconnect from delta stream, until connect() is called again.

events emitted:

connecting: when starting to establish connection. Some kind of progress tracker passed for observability of estabilishing healthy connection to delta stream
connectionStateChanged: when connectionState value changes.  arg passed of new ConnectionState.

IDeltaManager (public):

active: boolean

Indicates Container.connectionState === Connected and mode is write

No connection-related events emitted publicly

DeltaManager class (internal)

connectToDeltaStream

Connect to delta stream

events emitted (via IDeltaManagerInternalEvents)

deltaStreamConnected: when socket is established. Triggers Container transition to Pending state
deltaStreamDisconnected: when socket is disconnected. Triggers Container transition to Disconnected state

Are we trying to reaplace "Connecting" with "Pending" state?
Also in the events emitted, what is diff between "connecting" and "connectionPending"?

i've always disliked our read vs write connection at this layer, especially the active concept. the delta manager has separate queues for inbound and outbound, i'd love to unify on those concepts, or downstream and upstream. inbound/downstream would be like read today, and outbound/upstream would be like write today. I don't have a clear picture on the level of control we want to provide here for upstream vs downstream, but even if we don't provide control for them both, we could expose them separately.

Thanks for putting it together!
Some random thoughts:

Might be useful to have a single event "connectionStateChange" (with payload having sub-event name) or a single object that raises only connected events, such that their names could match exactly entries in connectionState enum. I think it will be easier for consumers to connect the dots if names match.
I'd try not to expose connected() getter as much as possible. Consumers need to be aware how it's calculated, or (if they do not) they are likely to run into incorrect interpretation and bugs. I think it's fine to have that property at runtime layer only, where stats are truly boolean (we do not expose "connecting" state there).
"active" could be renamed (or documented) to mean "client is in the quorum". But I do not think it abstracts from need to know about "read" vs. "write" connections (as obvious next question - when clients could and could not be in quorum).
I'd prefer not to see connected events on IDeltaManagerEvents at all. They need to move to IDeltaManagerInternalEvents and to be there only for Container class (i.e. consumption within same layer). Container class controls projection of these events to both runtime (in the form of setConnectionState() method) & hosts (events you mention). Plus, events should rarely used across compat boundaries - it's a pain to control and maintain compatibility.

Thanks for the feedback/questions!

Are we trying to reaplace "Connecting" with "Pending" state?

Yes

Also in the events emitted, what is diff between "connecting" and "connectionPending"?

connecting would be when we start trying to connect.  This is useful for telemetry on connection health that Loops org wants to have.  connectionPending would be when we have a healthy-looking web socket, but aren't caught up yet.

i've always disliked our read vs write connection at this layer, especially the active concept

Good topic, but out of scope for the moment (but maybe I will think about it and include in this proposal). active getter is unchanged here, I was just cataloging everything in the API surface that's exposing anything about connection state.

Might be useful to have a single event "connectionStateChange"

I think I like this idea, thanks.

I'd prefer not to see connected events on IDeltaManagerEvents at all.

Good point, yeah let's move them to IDeltaManagerInternalEvents

Updated the original comment and the PR showing the diff.

As discussed in the diff PR, will probably merge connecting event into connectionStateChanged event.  See #9098 for an ill-fated attempt at an event like this, btw.  And I also would like to be able to pass a progress tracking object to that event so hosts can keep track (for logging) of progress through the constituent steps of connecting.  I've been working on and off for 6 months to help Office Loops team understand causes behind slow/inability to connect and this info would be invaluable.
Thinking probably just an object that we silently update, so if too much time elapses they can query it for progress - as opposed to an object that emits fine-grained events along the way.  That would be too difficult to maintain and just kind of noisy. The object could have a pretty generic contract full of string-named steps and their status.

Clearing May milestone.  This design is living in on this internal Word doc.  I will update this issue once that design is finalized.


dart migrate should depend on dart pub, not pub.bat

Currently dart migrate tries to invoke pub.bat:
C:\Users\mit\tmp\foobar>dart migrate
CreateProcessW failed 2
ProcessException: The system cannot find the file specified.

  Command: "C:\Program Files\Dart\dart-sdk\bin\pub.bat" outdated --mode=null-safety --json

Also, it refers to pub.bat in it's user facing output:
https://github.com/dart-lang/sdk/blob/master/pkg/nnbd_migration/lib/migration_cli.dart#L159
This is not a good idead for Flutter users who are using the embedded Dart SDK. They will have the flutter and dart commands in path, but no pub command. It would be better to depend on, and direct users towards, using the dart pub command, which they will have available.

Is the dart command on windows something like dart.exe?

No, they are bat scripts:
https://github.com/flutter/flutter/tree/master/bin
However, on Windows .exe and .bat extensions are recognized and expanded, so you can just type dart (for dart.bat) or notepad (for notepad.exe).

For technical details, see "PATHEXT" under Remarks in this article:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/start


/comments/profile/{username} username incorrectly marked as optional

In the /comments/profile/{username} endpoint documentation, username is incorrectly marked as optional.

Fixed, thanks for the report.


[storage-file-share] update core-util version to ^1.4.0

as we have bumped core-util minor version, v1.3.3 no longer exists

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

/check-enforcer override


(Impl question) access annotation view outside of mapView(_:viewFor:)

Hello,
I keep an array of my annotations that I give to the clusterManager :
var myArray = [MyAnnotationThatExtendsCKAnnotation]() // class member
// I add a bunch of annotations in the array
map.clusterManager.annotations = myArray

At a later time I would like to access one of my annotation's corresponding annotation view (outside of mapView(_:viewFor:)) to update it (basically my annotations have a different visual for different states, state that I obtain after a network call)
I've tried something like this :
let av = map.view(for: myArray[0]) as? MyAnnotationThatExtendsCKAnnotation
but I always end up with nil value.
Any idea why ? Would it be possible to update annotation views without removing/adding them back every time ?
Thanks.

I found a solution. I wasn't able to get my annotations because those are wrapped in a CKCluster.
func onAnnotationStateReceived(_ identifier: Int) {
        let myAnnotation = myArray[identifier]
        for annotation in map.annotations {
            if let cluster = annotation as? CKCluster {
                if cluster.contains(myAnnotation) && cluster.count == 1 {
                    let av = mapview.view(for: cluster) as? MyAnnotationView
                    av?.updateState()
                }
            }
        }
    }


Tie 'Save' action to 'Update to Azure' action

Always open cosmos-document.json in an extension-specific directory
Dirty dot on file should match dirty state in Azure
Remove some unused code

Fixes #109
Fixes #118

Does this address #68? If yes, I'll abandon my PR.

@PrashanthCorp  No - this does not fix 68. See here: https://github.com/Microsoft/vscode-cosmosdb/pull/120/files#diff-8cd4968b81985f0efc2053eabc37db6dR60
Notice the error is still being thrown


In parallel execution, it is creating multiple test run ids based number of workers you pass.

Describe the bug
In parallel execution, it is creating multiple test run ids based number of workers you pass.
To Reproduce
Execute this command to run parallel execution.
pytest --testrail -s -v -n=2
Expected behavior
There should be a way to create single test run id for multiple workers.

I am having the same issue. Any suggestion


Update phpunit

Dont see the problem here to run against a newer version of PHPunit when possible.

Older versions of PHHP don't support return type hints, which is now required when using PHPUnit.


Fix HTTP not endlessly downloading

Fixes #34

Thank you for your contribution!  Will merge this ASAP!


Prototype that works with Olive generated PP output models

Prototype that works with Olive generated PP output models

I don't have write permissions in orchard so I can't merge this change.


Type arguments cannot be applied to non-parameterized class 'RMActionController'

I'm getting this error at RMPickerViewController.h after update to version 2.0.2.

Error message: Type arguments cannot be applied to non-parameterized class 'RMActionController'.

Hi,
did you also update RMActionController to version 1.0.5?
Best regards,
Roland

Oops, my bad.
I was using a fork of RMActionController in an old version.
Thanks. :)


"corrupt" .surfbird file causes errors

Description
Changing the .surfbird file in different ways causes the app to throw different errors. We have to differentiate between two problems regarding this issue:

The content of the .surfbird file is not valid JSON.
The service object has missing/wrong data

Additional Information
Fixing the first point of the issue should be quite easy. If we take a look at the load()-method in the src/main/authentication/index.js file, we can see that the only safety check is if the file exists before parsing it to JSON. Maybe the the return of the JSON.parse function should be wrapped in a try-catch statement?
static load () {
    let file = path.join(Authentication.homePath(), '.surfbird')

    if (!fs.existsSync(file)) {
      return null
    }

    return JSON.parse(fs.readFileSync(file, 'utf-8'))
  }

For the second point we should maybe implement a check if the provided credentials are working and if not, ask the user to log in again to fix the file.

I guess we can implement multiple checks here. The one you noted, catching errors on load, and maybe another one for each client (checking if the object/keys are added properly, otherwise failing)


Build jobs are killed after 10 minutes

It would be nice to have am option to set the time limit for the build job.

Good catch. This has been introduced with the new build systems. Since now we are creating a build script, the same rules apply as with the job scripts. I think, though, it would be better to not have any time limit for the compilation.


Support for Xamarin(.iOS) not present

http://www.newtonsoft.com/json claims that Json.NET supports the Xamarin platform.
This is not completely true for the current version; three classes (ILGeneratorExtensions, DynamicReflectionDelegateFactory, DynamicConcreteTests) depend on System.Reflection.Emit.
Version 7.0.1 works; did not try it using version 8.0.1.

Use the portable or netstandard assemblies.


Add Core logic

[x] Update Readme.md
[x] Explain what you want
[x] what frame work you are going to use
[x] Add levels of developments

#5 merged


Add a line break

Pull Request Template
Description
Add a "br" tag in manifesto.js line 75
Fixes # (No line break after title in manifesto section card)
Type of change

[ ] Bug fix (non-breaking change which fixes an issue).

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Additional Context (Please include any Screenshots/gifs if relevant)

@adityabhattad2021 thanks a lot!

I am looking for more opportunities to contribute to open source, so is there any thing I can help with in this project?

@adityabhattad2021 I think there will be a lot of frequent changes in the codebase as the end of GSOC is nearing. So I think it'll be easier for you to contribute significant amounts after it has ended as the codebase is going to be comparatively stable. Meanwhile, you can join our Slack Channel. 👍

Hey how can I join the slack channel?

@adityabhattad2021 Check this link


replace linux_distribution function

linux_distribution() has been removed from the platform library. This pull request uses platform.release() for the user agent string for linux clients.
#7 is also a viable alternative, but requiring a 3rd party package seems overkill just to generate a user agent string but using the release() will not be consistent with historical data, @rdegges decision if that is significant.

Just stumbled upon this - interesting that this is still open :)

Just stumbled upon this - interesting that this is still open :)

This repo is no longer maintened per comment on other pull request https://github.com/rdegges/python-ipify/pull/11#issuecomment-675226907.

i am creating new module with syncronous asyncronous and cli named PyIpify


Type-erased IVFFlatIndex class

This PR implements a type-erased API for the C++ ivf_index class.  It builds on

#131 Draft C++ API
#147 kmeans implementation (now part of the C++ ivf_index class).
#149 Initial nn-descent and vamana index implementations
#153 Implementation of C++ ivf_index class (completing the initial class with kmeans).
See the comments for each of those PRs for information on their implementations.
(This PR was branched from main and then a squash merge was made from lums/tmp/type_erased_ivf_index).

Type Erasure
Type erasure is accomplished as a three-layer cake:

A non-templated abstract base class with pure virtual functions for the member functions that we want to expose from the typed C++ classes.
An implementation class that inherits from the abstract base class.  It is templated on the concrete class to be wrapped and keeps a member variable that is an object of the class to be wrapped.  Its member functions (all of which are overrides of the abstract base class member functions) forward to the underlying C++ implementation by invoking the appropriate member.  At this point, they internal data that is stored by the typed member variable also needs to be converted to the appropriate type before invoking the member variable function.
A non-templated class that presents the user API.  It internally defines the abstract base class and the implementation class.  It has a std::unique_ptr to the abstract base class as a member variable.  During construction (either by passing in already constructed vectors or by reading the index from a TileDB group, the appropriate template types for the internal data to be stored by the internal implementation are inferred and an object of the implementation class is constructed and stored in the std::unique_ptr.

To illustrate the basic idea, consider FeatureVector.  In abbreviated form, where we just show a single function 'data', looks like this:
class FeatureVector {
    FeatureVector(const tiledb::Context& ctx, const std::string uri) {
      // get type of vector stored in uri array -- say, float
      feature_vector_ = std::make_unique<vector_impl<tdbVector<float>>>(ctx, uri);
    }
    auto data() {
     return feature_vector_->data();
   }

   class Base {
    virtual void* data() = 0;
  };

  template <class T>
  class Impl {
     explicit Impl(T&& t)
        : impl_vector_(std::forward<T>(t)) {
    }
    T impl_vector_;
  };

  std::unique<Base> feature_vector_;
};

The constructor to read the `FeatureVector` from a TileDB array has the following prototype:
```c++
FeatureVector(const tiledb::Context& ctx, const std::string& uri);

When that constructor is invoked, it first reads the schema associated with the uri and creates an implementation object based on that type.  For example, if the type read from the schema (feature_type) is one of a float or uint8, the constructor dispatches like this:
switch (feature_type_) {
      case TILEDB_FLOAT32:
        vector_ = std::make_unique<vector_impl<tdbVector<float>>>(ctx, uri);
        break;
      case TILEDB_UINT8:
        vector_ = std::make_unique<vector_impl<tdbVector<uint8_t>>>(ctx, uri);
        break;
}

At this point, we have created a std::unique_ptr of the abstract base class that points to an object of the derived class.
If we invoke the data member function of the outer (type-erased) FeatureVector class, we dispatch to the corresponding member of the object stored in the std::unique_ptr:
 auto data() const {
    return feature_vector_->data();
  }

Since feature_vector_ actually points to the derived implementation class, its data member function is then invoked:
void* data() override {
      return impl_vector_->data();
    }

We return a void* since data() is an override of the non-templated Base class.
(TODO: In a future PR maybe we can cast to an appropriate type extracted from the type of vector_?)
(TODO: Is there a way to condense the boilerplate that is currently contained in all of these?)
New Features
The major features in this PR:

Rearranged typed and type-erased classes respectively into separate folders index and api.  There are files in each of the folders for flat_l2, flat_pq, ivf_flat, ivf_pq, vamana, and vamana_pq.  All of these indexes except ivf_pq and vamana_pq have been implemented in C++;  flat_l2 and ivf_flat also have type-erased implementions.
Separated FeatureVector and FeatureVectorArray from api.h and put them into their own files api/feature_vector.h and api/feature_vector_array.h.  FeatureVector is the type-erased api for tdbVector and FeatureVectorArray is the type-erased interface to tdbMatrix.  Unlike tdbMatrix FeatureVectorArray always loads all of its data.  FeatureVector is based on tdbVector which always loaded all of its data.
Created a new class partitioned_matrix that represents a completely in-memory partitioned matrix (similar to CSR, but over vectors rather than single matrix entries).
Created a new class tdb_partitioned_matrix that loads a partitioned_matrix with data from a TileDB group.  It does not load any data upon creation, but rather loads data on invocation of the load member function.  The queries that support out of core operation now take a feature_vector_array (concept) as an argument for its partitioned data and assumes no data has been loaded.  They now loop over the out of core partitions with the following pattern:

while (partitioned_vectors.load()) {
  // query in-memory partitions
}

Created a MatrixView class that is a lightweight non-owning wrapper, similar to std::mdspan.  It is used when converting data in a type-erased class to a format usable in a typed C++ class.
Completed the ivf_flat_index C++ class to interface more cleanly to C++ queries.  This class has query member functions for all of the ivf/qv queries, for the purposes of benchmarking.
Created unit tests for all of the new C++ classes and all of the type-erased classes.
Created CLI programs for the new ivf_flat_index and flat_l2_index classes.  The CLI programs are now divided into and "index" program that ingests raw data and writes an index, and a "query" program that reads an index and applies a query.  CLI programs are available for flat_l2, ivf_flat, pq_flat, and vamana.  These have been tested but not seriously benchmarked.
The IVFFlat class has a single query member function for infinite ram, and a single query member function for finite ram.  They point to qv_query_infinite_ram and qv_query_finite_ram, respectively.  With future benchmarking and profiling, we will ensure that those are the best performing queries and that they have the same or better performance than the CLI and Python benchmarks used for our first blog post.
Wrapped the tiledb::Array member of tdbMatrix in a std::unique_ptr due to an issue with moving a tiledb::Array.  Also changed the corresponding tdb_helper to return a std::unique_ptr<tiledb::Array> rather than a plan tiledb::Array.
Applied clang-format-14.

Changes here incorporated in PR #210.