Sporadic crash when scanning file with libyara on AIX

Hi,
when scanning a file with libyara 3.11.0 on AIX 7.2 PPC64 POWER7 I sporadically get one of the following two assertion failures:
Assertion failed: __EX, file  exec.c, line 1331

or
Assertion failed: __EX, file  object.c, line 410

The assertions can be found here:
https://github.com/VirusTotal/yara/blob/v3.11.0/libyara/exec.c#L1331
https://github.com/VirusTotal/yara/blob/v3.11.0/libyara/object.c#L410
It seems like it's completely random. I would say the first failure is raised every 30th time, the second error every 5th time.
I can't even say which rule triggers that assertion failure. The same ruleset is working fine on Windows, Linux and macOS.
Anyone here who knows what causes the above assertions to fail?
Libyara was compiled with:
CFLAGS="-maix64" OBJECT_MODE=64 ./configure --disable-shared --disable-magic --disable-cuckoo --enable-dotnet

OpenSSL Version 1.0.2r
ulimits:
core file size          (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) unlimited
pipe size            (512 bytes, -p) 64
stack size              (kbytes, -s) unlimited
cpu time               (seconds, -t) unlimited
max user processes              (-u) unlimited
virtual memory          (kbytes, -v) unlimited

Available memory: svmon -G -O unit=MB
Unit: MB
--------------------------------------------------------------------------------------
               size       inuse        free         pin     virtual  available  mmode
memory      7648,00     1876,96     5771,04     1571,56     1641,38    5756,04     Ded
pg space     512,00        8,19

               work        pers        clnt       other
pin         1062,41           0        16,3      492,81
in use      1641,38           0      235,59

Kind regards,
Marcel

@Codehardt any new finding?


Only whistle on equal integers

Right now, we use the following algorithm to decide embedding of integers:
https://github.com/mazeppa-dev/mazeppa/blob/af31d010894c7d529d59bf95e8435209a33b3ee5/lib/algebra/homeomorphic_emb.ml#L5-L17
It makes perfect sense for big integers, but in Mazeppa, we only have fixed-size integers. Since the set of all integers is finite, we can treat each integer as a unique zero-arity constructor. With this enhancement, functions could iterate in any order -- e.g., not only from N to 0, but also from 0 to N.
For example, examples/imperative-vm/main.mz specialized to Int(2i32):
main() :=
    let env := Cell("a", Int(2i32), Cell("x", Int(7u32), Nil()));
    fetchCell(evalProgram(example(), env), "out");

would be optimized into a constant:
main() := Int(128i32);

However, with our current implementation of decide_ints, Mazeppa performs over-generalization which prevents the optimization. The proposal can be summarized as follows:
let decide_ints (x, y) = Checked_oint.equal_generic x y

This enhancement allowed Mazeppa to optimize out mc91(n) for any fixed n!


Merge throttle & debounce into scheduled package

Removes throttle & debounce packages in favor of new combined scheduled package.
Fixes #133
Fixes #93
Fixes #64
THE README
Adds new primitive: leading. For debouncing/throttling with callback called on leading edge.
// with debounce
import { leading, debounce } from "@solid-primitives/scheduled";

const trigger = leading(debounce, (message: string) => console.log(message), 250);
trigger("Hello!");
trigger.clear(); // clears a timeout in progress

// with throttle
import { leading, throttle } from "@solid-primitives/scheduled";

const trigger = leading(throttle, (message: string) => console.log(message), 250);
trigger("Hello!");
trigger.clear(); // clears a timeout in progress

@trusktr thoughts on this before we merge it?


Downloading files with wilcards

I download files from python as follows
api = wandb.Api()
filepath = os.path.join("media","plotly","weights_plot_399_9729139ec10905caa747.plotly.json")
entity, project, run_id = "my_entity", "my_project", my_run
file = api.run(f"{entity}/{project}/{run_id}").file(name=filepath)
file.download()

However, I am looking for a solution where filepath can use wildcars, e.g.
filepath = os.path.join("media","plotly","weights_plot_399*")

so I dont need to look for the last part of the file name.

Hi @rogelioamancisidor, thanks for writing in! You can use a code like the following to achieve that:
import fnmatch
import wandb

api = wandb.Api()
run = api.run("entity/project/run_id")
matching_files = [file for file in run.files() if fnmatch.fnmatch(file.name, "media/plotly/weights_plot_399*")]
for file in matching_files:
    file.download()

Could you please give this a try and see if it works?

Thanks @luisbergua, it works as expected!


🌐 Add Korean translation for docs/ko/docs/features.md

Translate the document docs/ko/docs/features.md
related: #2017
This needs to help for some sentences. especially,

At line 140, "All the dependencies can require data from requests and augment the path operation constraints and automatic documentation."

Any suggestion?

📝 Docs preview for commit 3c149c614e073a1bc1e2fea2bb9035e6e0b76cbd at: https://649a11c897baca0e999a9ee5--fastapi.netlify.app

As this PR had requested changes to be applied but has been inactive for a while, it's now going to be closed. But if there's anyone interested, feel free to create a new PR.


Skip compression of an asset in case of error during deploy

YUI-Compressor complains too much.
Because compression isn't a crucial step for deployments, we print a warning and let developers to still deploy and review later the reason of the problem.
The asset will remain uncompressed in the destination directory (public/assets).
Browsers will still be able to download and use that asset. The transfer will be less efficient because it's not compressed. This trade off is way better that stopping the deploy.

This is an example of output (on stderr) that Lotus will print in case of error:
Exception in thread "main" java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at com.yahoo.platform.yui.compressor.Bootstrap.main(Bootstrap.java:21)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.rangeCheck(ArrayList.java:653)
	at java.util.ArrayList.get(ArrayList.java:429)
	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.getToken(JavaScriptCompressor.java:578)
	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSymbolTree(JavaScriptCompressor.java:1094)
	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.compress(JavaScriptCompressor.java:556)
	at com.yahoo.platform.yui.compressor.YUICompressor.main(YUICompressor.java:186)
	... 5 more
Skipping compression of: `/Users/luca/Code/lotus/assets/tmp/broken/public/assets/broken.js'
Reason: Command 'java -jar /Users/luca/.gem/ruby/2.3.0/gems/yui-compressor-0.12.0/lib/yui/../yuicompressor-2.4.8.jar --type js --charset utf-8 /var/folders/rt/276jdh_d1cs8gsfws5_7f7600000gn/T/yui_compress20160104-46561-177aftt' returned non-zero exit status
	/Users/luca/.gem/ruby/2.3.0/gems/yui-compressor-0.12.0/lib/yui/compressor.rb:106:in `block in compress'
	/Users/luca/.gem/ruby/2.3.0/gems/yui-compressor-0.12.0/lib/yui/compressor.rb:141:in `streamify'
	/Users/luca/.gem/ruby/2.3.0/gems/yui-compressor-0.12.0/lib/yui/compressor.rb:86:in `compress'
	/Users/luca/Code/lotus/assets/lib/lotus/assets/bundler.rb:119:in `_compress'
	/Users/luca/Code/lotus/assets/lib/lotus/assets/bundler.rb:85:in `compress'
	/Users/luca/Code/lotus/assets/lib/lotus/assets/bundler.rb:66:in `block in run'
	/Users/luca/Code/lotus/assets/lib/lotus/assets/bundler.rb:63:in `each'
	/Users/luca/Code/lotus/assets/lib/lotus/assets/bundler.rb:63:in `run'
	test/bundler_test.rb:90:in `run!'
	test/bundler_test.rb:81:in `block (3 levels) in <main>'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest/test.rb:108:in `block (3 levels) in run'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest/test.rb:205:in `capture_exceptions'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest/test.rb:105:in `block (2 levels) in run'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest/test.rb:256:in `time_it'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest/test.rb:104:in `block in run'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest.rb:334:in `on_signal'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest/test.rb:276:in `with_info_handler'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest/test.rb:103:in `run'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest.rb:781:in `run_one_method'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest.rb:308:in `run_one_method'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest.rb:296:in `block (2 levels) in run'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest.rb:295:in `each'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest.rb:295:in `block in run'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest.rb:334:in `on_signal'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest.rb:321:in `with_info_handler'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest.rb:294:in `run'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest.rb:155:in `block in __run'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest.rb:155:in `map'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest.rb:155:in `__run'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest.rb:129:in `run'
	/Users/luca/.rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/minitest-5.8.3/lib/minitest.rb:56:in `block in autorun'

/cc @lotus/core-team

:+1:


Expose Max threads as an environment variable or set ollama to use all the cores/threads a CPU provides

After seeing https://github.com/ollama/ollama/issues/2929, I'm having the same issue.  As I'm using both open-webui and enchanted on IOS, queries are only using half of the CPU on my EPYC 7302P.
I know you can set a /parameter when using the CLI, but I want to set this as default for serving. Alternately, is there a reason that ollama isn't using the all the available  threads on of the host CPU? Seems like something that could be the default.
That said, it would be awesome to expose this as an environment variable option, for those who don't want to use the whole CPU (eg if you're running this on your desktop, while coding).

It's been a while since May. How may I go about to implement this myself?...

@haydonryan can you try the latest release?  We've adjusted the algorithm on how we determine default threads to take into consideration sockets, cores, (perf and efficiency) and hyperthreads to try to arrive at the optimal default value.

Absolutely - I'm happy to say it uses all of the CPU now.  For every model. Thanks for this!

for posterity and clarification: there is no environment variable to control the number of CPU cores right now. right now the default behavior is to use all the physical cores. (this is my current understanding)

I am encountering the same issue with Ollama 0.5.4 and would like to report a problem related to the max threads configuration.


Update gdu.spec

Updated SPEC file for 5.22.0

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.505%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2656

Relevant Lines:
2781

💛  - Coveralls


#110: Attempt to store user pool client generated secret conditionally

Types of changes

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

And

[ ] This Pull Request DOES NOT target the main branch on this repository (if so it must point to
a feature branch or to the release branch).
[ ] I have read the CONTRIBUTING
document.
[ ] I have added/updated tests to cover my changes.
[ ] All new and existing tests passed.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] There are no other open Pull Requests
for the same update/change.

Fixes

closes #

Proposed Changes

closes #

Codecov Report

Merging #111 (739214d) into release (417a033) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             release     #111   +/-   ##
==========================================
  Coverage      98.78%   98.79%
  Complexity       173      173
==========================================
  Files              9        9
  Lines            987      993    +6
  Branches          37       37
==========================================
+ Hits             975      981    +6
  Partials          12       12

Flag
Coverage Δ

unittests
98.79% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...rc/main/java/org/wcdevs/blog/cdk/CognitoStack.java
98.18% <100.00%> (+0.05%)
:arrow_up:

Continue to review full report at Codecov.

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


Fix sourcemap override

Closes https://github.com/Shopify/hydrogen/issues/2474
Should we go with Vite's build.sourcemap: boolean option instead of a new flag? I think a flag makes it more obvious that you might be doing something wrong.
Using this new flag shows Remix' warning:

--
Note: I think Oxygen doesn't serve client sourcemaps anyway (multiple layers of security 😅 )

But Oxygen does uses the sourcemap to map minified errors in the server log .. will it be confusing to have this message at build which would end up disabling the server log sourcemap errors on Oxygen?

This only happens if you use the --force-client-sourcemap flag to create client sourcemaps. Server sourcemaps are enabled by default and don't emit any warning.
The only way they would disable server sourcemap is with --no-sourcemap.


How to return just the changed properties

Hi, is there a method which just returns only the changed properties? This would be essentially the result of toJsonDiffView, but without the comparisons. As an example, in the case of your demo this would result in:
Changed properties:
{
    a: {
        b: 2,
        c: {
            2: 3
        }
    },
    x: 1
}

Unfortunately no at the moment. You are welcome to do a PR if you would like
Thanks & Regards,
Deepu
On Wed, Jul 20, 2016 at 4:46 AM, edbentinck<EMAIL_ADDRESS>wrote:

Hi, is there a method which just returns only the changed properties? This
would be essentially the result of toJsonDiffView, but without the
comparisons. As an example, in the case of your demo this would result in:
Changed properties:
{
a: {
b: 2,
c: {
2: 3
}
},
x: 1
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hipster-labs/angular-object-diff/issues/3, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABDlF1K9UuF6SUMLdR4KZx1eYBYQUkXlks5qXVrigaJpZM4JQRq6
.

Ok. I can do that. That said, I feel that the current method names will be a little confusing if I add this functionality.
I understand that you based this package on another implementation and therefore you have essentially just followed their naming conventions, which makes sense. However, other diff packages use different terminology – for instance this very popular diff package – and personally I find them to be a bit more straight-forward.
In the example above they describe the term "diff" as being the result of the difference between the two objects, not the comparison itself.
So, if I were to add the proposed functionality I would probably favour amending the current method names to something along these lines:
toJsonView     -> fullDiffComparisonAsJson
toJsonDiffView -> diffComparisonAsJson

I would name the new function something like the following. This function would return an object rather than the JSON.
diffResult

Since you're the owner of this package I think it should be your call on the terminology used, but those are some of my thoughts before I start moving things around in your project 😛  Let me know what you think and I'll submit the PR. Any other suggestions for terminology are appreciated.

You can propose to change the method names, i can make a major release if
required
Thanks & regards,
Deepu
On 20 Jul 2016 13:42, "edbentinck"<EMAIL_ADDRESS>wrote:

Ok. I can do that. That said, I feel that the current method names will be
a little confusing if I add this functionality.
I understand that you based this package on another implementation and
therefore you have essentially just followed their naming conventions,
which makes sense. However, other diff packages use different terminology –
for instance this very popular diff package
https://github.com/flitbit/diff – and personally I find them to be a
bit more straight-forward.
In the example above they describe the term "diff" as being the result of
the difference between the two objects, not the comparison itself.
So, if I were to add the proposed functionality I would probably favour
amending the current method names to something along these lines:
toJsonView     -> fullDiffComparisonAsJson
toJsonDiffView -> diffComparisonAsJson
I would name the new function something like the following. This function
would return an object rather than the JSON.
diffResult
Since you're the owner of this package I think it should be your call on
the terminology used, but those are some of my thoughts before I start
moving things around in your project 😛 Let me know what you think and
I'll submit the PR. Any other suggestions for terminology are appreciated.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hipster-labs/angular-object-diff/issues/3#issuecomment-233877897,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABDlF-ZHlbyvc57zR6_m63QeTYpjbYfBks5qXdhRgaJpZM4JQRq6
.


Add support for expr expressions and related warning

Adds support for evaluating expr expression for classical control flows.
Adds a warning if expr being performed on classical registers cannot be evaluated, i.e., classical registers would store information that we cannot process and return.

[sc-56410]


Expect realm update notify is modification, but get insertion instead

So imagine we have a Shelf Object type and Item Object:
    fileprivate let ShelfPrimaryKey = "shelfName"
    class Shelf: Object {
        @objc dynamic private var shelfName: String!
        private let rlmItems = List<Item>()

        private override init() {
            super.init()
        }

        private init(name: String) {
            super.init()
            shelfName = name
        }

        override static func primaryKey() -> String? {
            return ShelfPrimaryKey
        }
    }

    fileprivate let ItemPrimaryKey = "itemName"
    fileprivate let LinkingObjectsReverseKey = "rlmItems"
    class RealmItem: Object {
        @objc dynamic private var itemName: String!
        private let reversedShelves = LinkingObjects(fromType: RealmShelf.self, property: LinkingObjectsReverseKey)

        @objc dynamic internal var itemIdealShelf: RealmShelf?
        @objc dynamic internal var itemShelf: RealmShelf? { return reversedShelves.first }
        override static func primaryKey() -> String? {
            return ItemPrimaryKey
        }
    }

This is how I add them into Realm:
    func writeItem(itemName: String, shelfName: String) {
        writeQueue.async {
            autoreleasepool {
                do {
                    let realm = try Realm()
                    let item = RealmItem.getRealmItem(itemName, in: realm)
                    let targetShelf = RealmShelf.getRealmShelf(shelfName, in: realm)
                    try realm.write {
                        if let currentShelf = item.itemShelf {
                            if currentShelf != targetShelf {
                                currentShelf.removeItem(item)
                                targetShelf.add(item)
                            }
                        } else {
                            targetShelf.add(item)
                        }
                        realm.add(targetShelf, update: .modified)
                    }
                }
                catch {
                    logger.error("Failed to write Realm")
                }
            }
        }
    }

Both shelf and item use its name as primary key
The idea is if an item is updated its shelf, remove it from old shelf and add into the new one.
getRealmShelf and getRealmItem will fetch an existing one by the primary key, or create a new one if not exist.
Then I have an UITableView to display item : shelf relation.
I have an observer using Realm API to update the table view, as suggested in here
    func addItemObserver() {
        token = rlmItems?.observe { [weak self] changes in
            if let tableView = self?.itemTableView {
                switch changes {
                case .initial(_):
                    logger.debug("realm get initial notifications, reloading table view...")
                    tableView.reloadData()
                case .update(_, let deletions, let insertions, let modifications):
                    logger.debug("realm get updates, updating tablew view...")
                    logger.debug("insertions \(insertions)")
                    logger.debug("modifications \(modifications)")
                    // Query results have changed, so apply them to the UITableView
                    tableView.performBatchUpdates({
                        // Always apply updates in the following order: deletions, insertions, then modifications.
                        // Handling insertions before deletions may result in unexpected behavior.
                        tableView.deleteRows(at: deletions.map({ IndexPath(row: $0, section: 0)}),
                                             with: .automatic)
                        tableView.insertRows(at: insertions.map({ IndexPath(row: $0, section: 0) }),
                                             with: .automatic)
                        tableView.reloadRows(at: modifications.map({ IndexPath(row: $0, section: 0) }),
                                             with: .automatic)
                    })
                case .error(let error):
                    logger.error("realm receives \(error)")
                }
            }
        }
    }

During test, I found that, the modifications is always empty, and it seems Realm treat all the write transactions as insertions, not modifications, so leading to the table view is always inserting rows and no reloadRows happens, hence it's not reflecting the latest state of item.
I want ask, is this something I did wrong, or this is expected behavior?
I know there is a quick around is to call reloadData all the time, but I wanted to have more fine-grained control here.

I also write a UT to make it simple:
    func testWriteNotify() {
        let e1 = XCTestExpectation()
        let e2 = XCTestExpectation()
        // generator: https://tools.knowledgewalls.com/jsontostring
        let jsonStr = "[{\"id\":\"bafe7b5b-fec9-433e-81f7-0610beeb9623\",\"price\":6046,\"item\":\"Pizza\",\"customer\":\"Kayn\",\"destination\":\"965 Giovanna Knoll, Dwainfurt, SC 91343\",\"state\":\"CREATED\",\"shelf\":\"NONE\",\"idealShelf\":\"FROZEN\",\"timestamp\":1616050043907}]"

        let json = getJson(jsonStr)

        var isModify = false
        let items = realm.objects(RealmItem.self)
        let token = items.observe { [weak self] changes in
            switch changes {
            case .initial(_):
                logger.debug("realm initial \(items.first)")
                e1.fulfill()
            case .update(_, let deletions, let insertions, let modifications):
                logger.debug("realm update delete: \(deletions), insert: \(insertions), modify: \(modifications)")
                isModify = modifications.count > 0
                e2.fulfill()
            default:
                break
            }
        }

        RealmOrderManager.sharedManager.write(json: json)

        // write(json: json) is in another serial queue
        // make sure write finished, or we will get the object in current thread too quick
        var barrier = XCTestExpectation()
        testQueue.asyncAfter(deadline: .now() + 2) {
            barrier.fulfill()
        }

        wait(for: [e1, barrier], timeout: UTTimeout)
        RealmOrderManager.sharedManager.writeItem(itemName: "Pizza", shelfName: "HOT")

        // writeItem() is in another serial queue
        // make sure write finished, or we will get the object in current thread too quick
        barrier = XCTestExpectation()
        testQueue.asyncAfter(deadline: .now() + 2) {
            barrier.fulfill()
        }
        wait(for: [e2, barrier], timeout: UTTimeout)
        XCTAssertEqual(items.first?.shelf.name, .hot)

        RealmOrderManager.sharedManager.writeItem(itemName: "Pizza", shelfName: "COLD")

        // writeItem() is in another serial queue
        // make sure write finished, or we will get the object in current thread too quick
        barrier = XCTestExpectation()
        testQueue.asyncAfter(deadline: .now() + 2) {
            barrier.fulfill()
        }
        wait(for: [barrier], timeout: UTTimeout)

        token.invalidate()

        XCTAssertEqual(items.first?.shelf.name, .cold)
        XCTAssertTrue(isModify)
    }

and it seems the  UT is unstable, seems Realm would combine the three writes into a single write, or twice, instead of a mofication.
sometimes the UT will fail at

wait(for: [e2, barrier], timeout: UTTimeout)

saying e2 is not fulfilled, meaning only initial get called, and no update branch.
could I also ask how to improve the UT to test what I wanted?

Hi @liuxuan30, I see you have two open similar issues, Im closing this one https://github.com/realm/realm-cocoa/issues/7185?, and i'll address both questions/issues here. I'll try to get to you as quickly as possible.

@dianaafanador3 this is kind of different issues, I'm ok if you close one, jus making sure you understand

this one is kind of not able to get modifications, #7185 is about not able to get "notification" at all, on LinkingObejcts

Hi @liuxuan30 I'll address both question/issue here, given that is the same code

Related to this issue https://github.com/realm/realm-cocoa/issues/7185

yeah the schema definition is the same, it's just that I ran into different issues. thank you

Hi @liuxuan30
In that case you should not get a notification - It will be triggered in case of collection of object has some changes (Not the object in the collection) - it means the notification will be triggered if you add, remove or replace the object.
In the example above you could try to observe the state of the specific shelf:
                let shelfObservationToken = try! Realm().objects(RealmShelf.self).first!
.observe { changes in
                        print("SHELF \(changes)")
                }

Depending on the requirements you could try to observe the filtered collection or to observe the specific items.
I'm closing the issue as it's not a bug.


Use new 'pic_path' parameter in jcdsee by default

Per #16 pic_path is fully functional now.
Cleanup:

Internal links need to be updated to remove deprecated params pic and cur_url and instead use clean urls.

We also want a way to enable / disable "clean urls" in the code, otherwise we are dependent on mod_rewrite.

Will now start removing the old code.
Old parameters cannot be used anymore as mod_rewrite will catch them and redirect.
eg:

http://pics.jonathancross.com/jcdsee.cgi?pic=/pics/2003/2003-12-25_New-York/
http://pics.jonathancross.com/jcdsee.cgi?pic=/pics/2003/2003-12-25_New-York/001_Manhattan.jpg
http://pics.jonathancross.com/jcdsee.cgi?cur_url=/pics/2003/2003-12-25_New-York/


Fix mirror host direct access bug

A small bug was introduced during the refactoring in #77.
Using the builder of HttpUrl the host should not contain any port number. However, in some cases, we use directaccess() in the MirrorHost and use an IP along with its port instead of the service name.

@torbsto, we can add two static factory methods to create the MirrorHost object. One for DirectAccess and one for MirrorConfig. WDYT?


how to pass options to socket.io

I am registering this package as a plugin but i also need to pass some options to configure socket.io.
I don't see any example about how to do it.
When I try adding it by myself I get a lot of Typescript errors.
Is there any way to pass options to socket.io?

Oh, the example was right there on first paragraph 🤦🤦🤦
I apologize for my hastiness
Closing the issue

No problem @outranker
Let me know if you have any issue and if you thing something is missing in the doc feel free to open a PR 😜


Improve Localization Support

The work support undocked localization build support has been started but is not complete. The work needs to be finished up and sample onboarded to the CI.

Support for compiling message files has been added, but this just generates EN-US files, and doesn't do any actual localization yet.


support github.workflow_ref in the completion

Is your feature request related to a problem? Please describe.
the code completion does not support the github.workflow_ref
Describe the solution you'd like
implement the completion of this github context variable
Additional context
see https://docs.github.com/en/actions/learn-github-actions/contexts#github-context

I just opened actions/languageservices#57 to resolve this.

The fix has just been released to the new version v.26.2, thank you!
And a huge thank you @muzimuzhi for the fix, we really appreciate it ❤!


GenServer autocomplete options don't print their last character

The completions of the return values of GenServer statements are incomplete. For instance, one completion option for the following code stub is {:reply, reply, new_state}:
defmodule TestVscodeAutocomplete do
  use GenServer

  def handle_call(request, from, state) do
    {}
  end
end

However, the last character of the autocomplete is always absent. This autocompletes to:
defmodule TestVscodeAutocomplete do
  use GenServer

  def handle_call(request, from, state) do
    {:reply, reply, new_stat}
  end
end

This seems to be present for all of the options. For instance, {:noreply, new_state, timeout | :hibernate} is entered as {:noreply, new_state, timeout | :hibernat}.
The problem also exists for handle_info and handle_cast.
Please let me know what other information you need from me. Thanks!

Actually, this seems to be from ElixirSense since changing to Alchemy does not provide the same auto-complete options. Sorry for the confusion.


Silex and Turkish Lang. support

If I fetch data on MongoDB.
$que is array

$app->json($que);

\u0130lan No = İlan No
\u0130lan Tarihi = İlan Tarihi
\u0130lan Ad\u0131 = Kullanıcı Adı
Output:

[{"_id":{"$oid":"596c12ce734d1d0ff25fdbef"},"\u0130lan No":"456785456","\u0130lan Tarihi":"27 Haziran 2017","\u0130lan Ad\u0131":"Terlik"}]

What should I do?

Make sure the data returned by MongoDB can be json encoded in UTF-8.
If it is already encode; do not use $app->json($que).
Return the already encoded data in a response object like
return new JsonResponse($que, $statusCode, $headers, true)  the last one is a flag to not re-encode.
If you need other json encoding options set check the JsonResponse object how that can be done.

Be sure to read https://en.wikipedia.org/wiki/Dotted_and_dotless_I as well.


Add support for binary data

Summary
Adds a new method public QRCodeData CreateQrCode(byte[] binaryData, ECCLevel eccLevel) to encode binary data.
I need to encode binary data containing null-bytes. This is impossible with the string-based CreateQrCode methods, since the data would be truncated.

Hi @oheim can you explain what you mean by "This is impossible with the string-based CreateQrCode methods, since the data would be truncated."? Do you mean a string can't hold that much data like a byte array? If so, I think a byte array isn't the solution because a QR code by definition only can hold up ~4KB of data which can be stored without problems within a string.

For example, consider the following data
var binaryData = new byte[] { 0x00, 0x01, 0x02, 0x03 };

It is impossible to pass this data as a string parameter, because strings are null-terminated. If the data to be encoded contains the byte 0x00 I cannot use the string based methods and have to use the new method.

Ok, now I got it. Use case seems legit, so I'll merge the changes.

I really appreciate this! It's just what I needed today.


B1.0 pre5

Converts README to rst format.

@o-smirnov you can review and merge. Then re-tag.

Heh, I just realized this README is anti-documentation... let me fix it before we push the release...

@Athanaseus same failure on Travis though. https://travis-ci.org/ratt-ru/radiopadre/jobs/657656565?utm_medium=notification&utm_source=email

No wait, it looks like it never built the new Reveal++ tag. The tag still says 7 commits behind master. Can I purge it, and repeat what you did?

Sure. Maybe we need to release a pre6?

Done. https://pypi.org/project/radiopadre/.
PS: The removal of a github tag on the site is a two-step process (1st removes release & 2nd removes tag). So what happened is that that only the release was removed, and when a new release was made with the same version it used the same tag. And since this tag was built before it never builds it again,  then I tried re-triggering the build, but since it was the same as previous it resulted with the error above.


Use first and last name for slack invitation

Now we have User#first_name and User#last_name columns, that can be used for this purpose.

29/5000
Dannaya zadacha uzhe realizovana
This task has already been implemented


[Runner] Windows 11 tray icon popup tooltip currently shows only first line

Description of the new feature / enhancement
Therefore we should have our tooltip text on a single line.
Scenario when this would be used?
Windows 11
Supporting information
No response

Is that a Win.11 thing? Does that mean that other tray icons (tooltips) must have this problem too? May I ask for a visualisation? How does something like the following look like, on Win.11?

@Jay-o-Way that's a nice question! if you could test it locally, that'd be great!

I don't have Win 11 and won't have it for a while. I was asking you, because I was under the impression that you have. Can you share a screenshot of what lead you to create this issue?

@Jay-o-Way I also don't have it right now - the issue was created as a result of an internal communication :)

Resolved with v0.43.0.


Compiling Issue

Hi Wouter,
I'm running into some issues compiling STRdust. I'm using Ubuntu 22.04, cargo 1.75.0, and rustup 1.27.1. I make it through most of the compilation process, but end up with this error:

Compiling STRdust v0.11.0 (/home/ubuntu/STRdust)
warning: function create_motif is never used
--> src/motif.rs:4:4
|
4 | fn create_motif(_seq: &str) -> String {
|    ^^^^^^^^^^^^
|
= note: #[warn(dead_code)] on by default
warning: STRdust (bin "STRdust") generated 1 warning
Finished release [optimized] target(s) in 4.25s

Initially, it suggested that I run cargo fix --bin "STRdust", but that didn't change anything.
Let me know if you need any more information from me to debug the problem!
I was not able to use the pre-compiled binary you provide in the releases section because I am running into the same issue as #4 and it seems your update to fix that was prior to the most recent binary release.
Best,
Matt

Hi Matt,
Seems the compilation was successful, and the message you get is only a warning? Or do you not have the binary now?
Wouter

Right, it looks like a warning, but no binary file gets created (at least not as far as I can find)

It should be at target/release/STRdust (assuming you compiled with cargo build --release

Ah, so sorry about that! It is there. Thank you!

No problem! I should make a new release soon. Thanks for any feedback you might have :)


Fix/guide source routes

This fixes guide and source routes so that they are shallowly nested under source_set.  The shallow option nests only :index, :new, and :create under source_set.
Shallow nesting makes the routes simpler. For example, without shallow nesting, a route for a source might be primary-source-sets/sets/french-and-indian-war/sources/52.  With shallow nesting, the route would be primary-soruce-sets/sources/52, but the source's relationship to its parent set is maintained.
Shallow nesting will also make development for images and assets easier.
Shallow nesting changes the way you need to assert route helper methods, such as redirect_to and guide_path which accounts for a large portion of the changes in this PR.
This PR also adds a friendly id (ie slug) for guides.  Since shallowly-nested guide routes will no longer contain the name of their parent primary source set, for SEO purposes it will be good to have descriptive, human-readable slugs instead of IDs in the guide URLs.
This PR also adds an index route action to guide and source.  Previously, there were no index route actions; now, there are, and they redirect to the parent source_set.  It is a small improvement for usability and adhering to expected patterns.
Finally, this adds a helper method source_name, a minor refactor to help DRY out the views.

This looks straight-forward and good to me.  :+1:

Looks good to me.  Do you want to squash the commits, or keep them as they are?

I will :squash:  Also, just realized I should do a little more cleanup in the specs.  I'll both those things quickly.

In the controller specs, I removed route params that are no longer necessary.  https://github.com/dpla/primary-source-sets/commit/c7656dd4e9f70748e32e377c8569d698b9971695

:squash:ed


[WIP] Download implementation

Fixes #2

Fixes #2

Primarily the best way to provide feedback here as an end user of PIE is to check the download command works on your machine! You can do that by following these steps (please adjust for your platform differences of course!)

Ensure you are using PHP 8.3
git clone -b download-implementation https://github.com/asgrim/pie.git
composer install
bin/pie download asgrim/example-pie-extension

I am trying this out. I have been deliberately nitpicky here.
User Interface
bin/pie
It seems the UI is not aware of the size of my terminal window, and it does not wrap text appropriately — this is particularly annoying with the help output.

bin/pie help download
Shows <requested-package-and-version> to mean {ext-name}{?:version-constraint}{?@dev-branch-name} but apparently dev branches need to use :dev-branch-name, the @ is for stability, and # for specific commits.
bin/pie download xdebug/xdebug
Outputs:
Target PHP installation: 8.2.20 (from /usr/local/php/8.2dev/bin/php)
Platform: NonWindows, x86_64, NonThreadSafe

I like how it says what the target installation is, and with which version. If I switch my path around so that php (and friends) point to a different version, that works great too.
The second Platform line sounds all very negative! I understand the reason why it says NotWindows, but it would be better if it said "Linux" — or anything appropriate, especially because that's the main install platform I reckon.
I think the NonThreadSafe word also will confuse people. This is an internal thing really, and most people should not want to have ThreadSafe here.
bin/pie download xdebug/xdebug --with-php-config /usr/local/php/8.3dev/bin/php-config --with-php-path=/usr/local/php/8.2dev/bin/php
I deliberately picked two different PHP versions for --with-php-config and --with-php-path — do we really need both? /usr/local/php/8.3dev/bin/php-config --php-binary already shows the PHP binary path. Or is this only a Windows thing? (In which case, the help output needs to reflect that).
bin/pie download xdebug/xdebug:3.4.0alpha1
Outputs:
  Unable to find an installable package xdebug/xdebug for version 3.4.0alpha1
  .

(Yes, with the . on the next line)
It does not tell me why it can't find it, as there is certainly a release on packagist.
bin/pie download xdebug/xdebug:3.4.0alpha1@alpha
Works, yay!
It downloads it to /tmp/pie_downloader_66599d860c5bc9.02217405/xdebug-xdebug-b8a7e3e — it would be nice that instead of the postfix b8a7e3e it used the git tag associated with that commit hash.
bin/pie download xdebug/xdebug:3.4.0alpha1@beta
Also works... which is odd, as it's an alpha release and not a beta? Maybe packagist/composer lib doesn't care?
Compiling
Compiling works too, by doing:
cd /tmp/pie_downloader_66599d860c5bc9.02217405/xdebug-xdebug-b8a7e3e
phpize && ./configure && make && make install

Thanks @derickr for your comments, very much appreciated!

It seems the UI is not aware of the size of my terminal window

I have created issue #14 to improve this

Shows <requested-package-and-version> to mean {ext-name}{?:version-constraint}{?@dev-branch-name} but apparently dev branches need to use :dev-branch-name, the @ is for stability, and # for specific commits.

Improved the wording of this in 1188579d

I like how it says what the target installation is, and with which version.

I've collapsed this onto one line, some examples:
Target PHP installation: 8.3.6 ts, vs16, on Windows x86_64 (from C:\php-8.3.6\php.exe)
Target PHP installation: 8.3.7 nts, on Linux/OSX/etc x86_64 (from /usr/bin/php8.3)

Hopefully this is better?

I deliberately picked two different PHP versions for --with-php-config and --with-php-path — do we really need both?

Strictly speaking, we don't need both, no. We need at least --with-php-path, because on Windows, you don't have php-config (afaik?). But technically, --with-php-path will work on any platform, and --with-php-config will only work where php-config exists. And btw, yes, all we do in PIE is run php-config --php-binary to find the PHP executable.

(Yes, with the . on the next line)

I think due to your terminal width; will be addressed in #14 hopefully.

Unable to find an installable package xdebug/xdebug for version 3.4.0alpha1

The reason for this is the stability flags, but I agree this is not immediately clear. I've made #15 to improve this.

It downloads it to /tmp/pie_downloader_66599d860c5bc9.02217405/xdebug-xdebug-b8a7e3e — it would be nice that instead of the postfix b8a7e3e it used the git tag associated with that commit hash.

This is actually the path inside the zip that GitHub gives from the release, so we don't control that part. That said, we could add additional step to move it. Also, we may want to consider using a predictable path, e.g. $HOME/.pie/sources/xdebug/xdebug/3.4.0alpha1/ instead of a random path. Created an issue #16 to discuss this.

I will merge this on or shortly after 1st July if there is no further show-stopping feedback! Thanks :+1:


[dv] Cleanup chip-level test point names to better indicate test type.

As indicated in #9717, the chip-level test plan contains a mix of the SW and connectivity test types. All software tests have a test point name that begins with the prefix chip_sw_, while those that are not software tests just begin with the prefix chip_. Tests that are not  software level tests, are implied to be connectivity tests. Making matters worse some connectivity test point names have the suffix _conn (e.g., chip_flash_jtag_conn), others have the entire word connectivity somewhere in the test point name (e.g., chip_spi_device_connectivity_with_ast),  and others (like the test point: chip_rom_ctrl_ast_rom_cfg) do not have any indication it is a connectivity test in the name. Upon reading the description field for a test point it becomes clear if a test should be a connectivity test or not, but perhaps a common prefix like chip_fpv_ (since connectivity tests are run with the formal flow) would make this distinction more clear.

CC @cindychip @sriyerg @davebwil
Just an FYI (I can make this change). Filing an issue to track.

As discussed offline, @sriyerg will make updates to the testpoint names in the testplan to resolve this.

[Side note] Tests not prefixed with chip_sw are not necessarily all connectivity tests. We have SystemVerilog-only tests that keeps the CPU held in suspended animation while our SV-based TL agent actuates the chip pretending to be the CPU.


This works for the vite dev server but how to you enable this for vite preview?

This works for the vite dev server but how to you enable this for vite preview?
Originally posted by @delebash in https://github.com/vitejs/vite/issues/3909#issuecomment-951482918

I actually don't use preview in my workflow. Perhaps a better way is to issue this in the Vite repo or ask Vite community.


First javadoc commit, representing current working-decisions

Of course, don't review the contents of docs/javadoc-snapshot-nolink... but comment on whether you like this approach (commit generated html together with source changes), as well as the directory name I chose for now (it's trying to be clearly temporary, until we explicitly decide to commit to a location).
There is still one change pending in the temporary doc, which I can do now if requested, but otherwise will just do as a follow-on PR.

Yep, I broke the build. Just thought to actually gradle build after sending this.
spotless wants to rewrap javadoc. I'm just trying to remember whether GJF makes that optional.

It would seem that when I run ./gradlew I get some newer JDK than 11. I was delighted that @ signs in javadoc were fixed, but now I see that they hadn't been fixed yet in 11.
It would be really really nice if we could just always use 17 for generating javadoc? At least for now? I cringe at the thought of hacking all these things, and in some cases like {@link Nullable @Nullable} I am not sure there's even a way to fix it at all?

Building Javadoc only when running under JDK17 sounds fine to me for now.
I'm going to hope that someone reads this and tells us exactly how to do that :)

Building Javadoc only when running under JDK17 sounds fine to me for now.

Maybe JDK 17+ for a bit more testing?

I'm going to hope that someone reads this and tells us exactly how to do that :)

We would need to tweak the GitHub Actions config a small bit; not too difficult.  I can put up a PR if that's helpful.

@msridhar I would greatly appreciate any quick fix that makes this PR green! I'll file an issue now about the right long-term arrangement.

Looks like that change fixed it.  Only downside of this approach is that running ./gradlew build on JDK 11 will fail for now due to the Javadoc failures on that version; ./gradlew build -x javadoc passes.

Thanks so much!!  I filed #271 about the rest.

I am not chuffed by checking in built HTML. I'd rather publish that HTML somewhere like jspecify.dev.

I am not chuffed by checking in built HTML. I'd rather publish that HTML somewhere like jspecify.dev.

I believe that's what this is accomplishing!

I am not chuffed by checking in built HTML. I'd rather publish that HTML somewhere like jspecify.dev.

I believe that's what this is accomplishing!

I see that now. I would like to explore the possibility of HTML changes being automatically checked in by robot following Java changes so that PRs don't get noisy like this, and so that we avoid the possibility of someone failing to rerun the Javadoc tool after making changes within a PR, or running the tool with different parameters, etc.

git mv docs/javadoc-snapshot-nolink docs/static/

gracias for spelling it out precisely.

Aside from that, I'm torn between "It seems kind of useful to link to these, so 'nolink' seems strong" and "No one is going to listen to 'nolink' anyway, as you know from experience" :)

We can change it soon, I just want to get a proper decision made about what we want our javadoc permalink to be.

@netdpb filed #276


Implement span queries

In favor of https://github.com/vinted/elasticsearch-dsl-rs/pull/141
Closes https://github.com/vinted/elasticsearch-dsl-rs/issues/100

Codecov Report

Merging #207 (642a2e1) into master (289be44) will increase coverage by 0.32%.
The diff coverage is 89.14%.

:exclamation: Current head 642a2e1 differs from pull request most recent head 7da7f2c. Consider uploading reports for the commit 7da7f2c to get more accurate results

@@            Coverage Diff             @@
##           master     #207      +/-   ##
==========================================
+ Coverage   84.78%   85.10%   +0.32%
==========================================
  Files         147      157      +10
  Lines        8979     9550     +571
==========================================
+ Hits         7613     8128     +515
- Misses       1366     1422      +56

Impacted Files
Coverage Δ

src/search/queries/mod.rs
75.00% <ø> (ø)

src/search/queries/span/mod.rs
12.50% <12.50%> (ø)

src/search/queries/span/span_term_query.rs
92.85% <92.85%> (ø)

src/search/queries/span/span_near_query.rs
95.23% <95.23%> (ø)

src/search/queries/span/span_containing_query.rs
100.00% <100.00%> (ø)

...rc/search/queries/span/span_field_masking_query.rs
100.00% <100.00%> (ø)

src/search/queries/span/span_first_query.rs
100.00% <100.00%> (ø)

src/search/queries/span/span_multi_query.rs
100.00% <100.00%> (ø)

src/search/queries/span/span_not_query.rs
100.00% <100.00%> (ø)

src/search/queries/span/span_or_query.rs
100.00% <100.00%> (ø)

... and 2 more

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


How to redirect to the request initiator?

Describe the bug
Currently, regardless of where i enter the page from, I get redirected through the okta chain and i end up in the login sucessful page. How can i then request redirect to the page that initiated the request?
Current behavior is
go to myapp/menu/dinner => okta redirect => myapp/login-callback
what i want is myapp/menu/dinner => okta redirect => myapp/login-callback => myapp/menu/dinner
I'm using the implicit flow

seems like there is a state parameter in the options that i can use to keep track of the initiator.


Add test for Map::dump_as_list

PR #266 added the test for Map::dump_as_array, this PR adds the same for dump_as_list.

Codecov Report

Merging #275 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #275      +/-   ##
==========================================
+ Coverage   83.43%   83.44%   +<.01%
==========================================
  Files         282      282
  Lines       23858    23867       +9
==========================================
+ Hits        19906    19915       +9
  Misses       3952     3952

Flag
Coverage Δ

#data_tests
60.55% <ø> (ø)
:arrow_up:

#examples
56.56% <ø> (ø)
:arrow_up:

#unit_tests
79.91% <100%> (+0.02%)
:arrow_up:

Impacted Files
Coverage Δ

test/t/index/test_dump_and_load_index.cpp
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks. Could you use lambdas instead of std::bind? Bind is rather magic with those placeholders and isn't needed any more now that we have propert lambdas.

I will replace std::bind by lambdas tomorrow.

done


Number requirement list

Hi,
It could be useful to have a numbered list instead of unordered list of requirements.
This would be easier for everybody to refer to a specific point.

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

ID: 12379f43-c827-669f-6aeb-4b4d8650cfdf
Version Independent ID: fadedb99-8dfe-7371-105a-2944bc8d9766
Content: Prepare to package a desktop application (MSIX) - MSIX
Content Source: msix-src/desktop/desktop-to-uwp-prepare.md
Product: msix
GitHub Login: @Huios
Microsoft Alias: tajimha

Thanks for the feedback. At some point we will be going through some of the documentation to make it easier to digest. We'll put this in our backlog as a documentation to look through.


TB-04: Add repository layer

Add repository layer to the project.
Acceptance Criteria:

Flyway added
Schema for database added
Spring Data added
Entities added
H2 database for testing purposes added
Integration tests for with h2 added

Added with #19


Check-In

Hi Professor,
I hope you are safe!  Ethen, Will, and I are locked together in the dining hall along with several other students. Are you okay?

I am just seeing this now, @jadensschrock. I’m so touched that you checked in and even used GitHub to do so like I asked.


Add FSXlogics to the Windows images

To manage users sessions and use an azure file share for that

Windows Desktop no linger supported


[Bug]: CaptchaChallenge: User needs to solve CAPTCHA to continue.

Is there an existing issue for this?

[X] I have searched the existing issues and checked the recent builds/commits

What happened?
Trying to use GPT, I get an error message: CaptchaChallenge: User needs to solve CAPTCHA to continue.
Steps to reproduce the problem

Go to ....
Press ....
...

What should have happened?
Script should've ran
Version where the problem happens
0.4.4
What Python version are you running this with?
3.9
What is your operating system ?
Linux
Command Line Arguments
none

Console logs
CaptchaChallenge: User needs to solve CAPTCHA to continue.

Additional information
No response

Hmm, seems to work on latest 0.5.0 version

Might be a cookie thing

This error happens when you haven't chatted with Bing Chat once (or at least my users reported that). So chat at least one time with Bing Chat and then export your cookies.

all accounts had chatted before exporting cookies, strangely enough error came when rumored API changes happened. Issue seemed to go away after I upgraded to new version, which doesn't use cookies anymore.

Hmm, seems to work on latest 0.5.0 version

Closing then...

Same issue here....

Exception: CaptchaChallenge: User needs to solve CAPTCHA to continue.
I have deployed my app on streamlit and it was previously (till now) working great!
Though recently i saw this Error on the app.... I executed the same code on my local pc and the error was no longer showing up... The error shows up (most probably) when you login from a different ip /location.
How do i deal with this?
Thanks 😀
FULL BACKTRACE:
`INFO:httpx:HTTP Request: GET https://edgeservices.bing.com/edgesvc/turing/conversation/create "HTTP/1.1 200 OK"
2023-06-08 13:24:15.607 Uncaught app exception
Traceback (most recent call last):
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
exec(code, module.__dict__)

File "/app/inta2/aa.py", line 931, in
data2 = chat2(title,modded)

File "/app/inta2/aa.py", line 529, in chat2
asyncio.run(run_main_with_timeout())

File "/home/appuser/venv/lib/python3.9/site-packages/nest_asyncio.py", line 35, in run
return loop.run_until_complete(task)

File "/home/appuser/venv/lib/python3.9/site-packages/nest_asyncio.py", line 90, in run_until_complete
return f.result()

File "/usr/local/lib/python3.9/asyncio/futures.py", line 201, in result
raise self._exception

File "/usr/local/lib/python3.9/asyncio/tasks.py", line 256, in __step
result = coro.send(None)

File "/app/inta2/aa.py", line 524, in run_main_with_timeout
await asyncio.wait_for(main(), timeout=6000)

File "/usr/local/lib/python3.9/asyncio/tasks.py", line 479, in wait_for
return fut.result()

File "/usr/local/lib/python3.9/asyncio/futures.py", line 201, in result
raise self._exception

File "/usr/local/lib/python3.9/asyncio/tasks.py", line 256, in __step
result = coro.send(None)

File "/app/inta2/aa.py", line 506, in main
async for final, response in bot.ask_stream(prompt=name,conversation_style=modded,wss_link="wss://sydney.bing.com/sydney/ChatHub"):

File "/home/appuser/venv/lib/python3.9/site-packages/EdgeGPT/EdgeGPT.py", line 132, in ask_stream
async for response in self.chat_hub.ask_stream(

File "/home/appuser/venv/lib/python3.9/site-packages/EdgeGPT/chathub.py", line 170, in ask_stream
raise Exception(

Exception: CaptchaChallenge: User needs to solve CAPTCHA to continue.`

IP based. Can't fix


Layout is called with wrong height value on Mac OS after disabling fullscreen with green button

I am running a game in fullscreen using ebiten.SetFullscreen(true). Layout method is called with width=1919 and height=1200. Then I use green window button to exit fullscreen and Layout method keeps getting called with the same width and height. The game looks squeezed vertically. After I resize the window dragging the corner it looks normal and width and height change to 1920 and 1073 respectively.
func (g *Game) Layout(outsideWidth, outsideHeight int) (int, int) {
	fmt.Println("LAYOUT", outsideWidth, outsideHeight)
	return outsideWidth, outsideHeight
}

// App starts
LAYOUT 1920 1073
// SetFullscreen is called
[1535] LAYOUT 1919 1200
// Green button is used to disable fullscreen
[2643] LAYOUT 1919 1200
// Start changing window size
LAYOUT 1907 1073
LAYOUT 1906 1073
LAYOUT 1905 1073
LAYOUT 1907 1073
LAYOUT 1908 1073
LAYOUT 1909 1073
[14105] LAYOUT 1920 1073

7be00d79e864f8475ae96ec7ece2fc273459bdad
The a-little-smaller width for fullscreen is intentional to avoid a mysterious FPS drop.


Improperly running jobs on frontend changes

Slow backend jobs are triggered when only frontend/ files were touched. See https://github.com/CodaProtocol/coda/pull/6114

Unable to access example branch though the triggered job list appears correct with a replicated changeset (note: Fast Lints run on changes to everything).
Observed buggy behavior could have been the result of testing on a separate branch like Release...?


chore: Add blackduck scans to our pipeline

This PR adds blackduck to our pipeline, check out my fork to see how it works.
In Blackduck, each version is determined by the module version in Lerna and the github_ref_name, aka. the branch name.
So the main branch will look like 1.57.2-main while branches may look like 1.57.2-my-branch.
Additionally, it doesn't scan devDependencies.
Closes SAP/cloud-sdk-backlog#549.

I guess the PR number is just as sufficient, so no problem imo.

Have you created some negative tests so we know the PRs can be blocked when positive findings are detected?

Before I excluded the dev dependencies the pipeline on my fork was failing, I guess I could try out another productive dependency to make sure it also fails on regular dependencies.

While testing blackduck on my fork, I've had 3 findings:

After adding a vulnerable dependency, which had a severity of high according to dependabot alerts, was not deemed a security risk in blackduck
After adding my own test package with a proprietary license, it wasn't always detected by blackduck, so somewhat flaky
Blackduck sometimes had performance issues, roughly 3-4/66 so about 5% were stuck.


Add upgrade guide for v0.16.x

Adds an upgrade guide to ease the transition from v0.15.x.
@ianobermiller would you mind glancing over this? I wanted to provide something more detailed than the notes in the Changelog (which were excellent). I'm a bit unsure about the part about keyframes since I've not used that feature in the past.
I didn't include React.createClass style syntax examples. Do you think I should add them?
Thanks!
cc @alexlande @paulathevalley

References:

https://github.com/FormidableLabs/radium/commit/3cf12b7ec165dab5b11364f21748b9c212dcb051
https://github.com/FormidableLabs/radium/tree/master/docs/guides#media-queries
https://github.com/FormidableLabs/radium/tree/master/docs/api#keyframes
https://github.com/FormidableLabs/radium/commit/5877813170163deabb51d98a228bdf9143dbec93
https://github.com/FormidableLabs/radium/commit/aa06477e33bd5d053c69b1dadc3d3585b205537a

You rock!

:fire:

:fire_engine:

:shipit:

this is awesome! great work @coopy


Add basic string to console log workflow.

Add basic string to console log workflow.

typo in foldername, "worf"


[SOLUTION] Here's how to login with this plugin.

Hi, This is how you can sign in using cookies. I'm on Linux and this works perfectly, and I'm not so sure about windows.
Ping me if you face any issues.
https://github.com/user-attachments/assets/6a530529-389d-431b-b564-83efcdff0540
P.S: Visual Studio Code version 1.91.1
Installed from https://aur.archlinux.org/visual-studio-code-bin.git

Apologies for poor quality of video.

Thank you @BETTlM for checking it I will try similar way in windows.
Just a question, how to grab that login cookie

Thank you @BETTlM for checking it I will try similar way in windows. Just a question, how to grab that login cookie

Open leetcode.com
Open inspect tab and switch to networks tab.
Refresh the page without closing the inspect tab.

Then click on any domain that has 'www.leetcode.com' on it.
LIKE:

Then scroll down to request headers and you will find cookie that starts like ''csfrtoken=xxx....."
Copy the value (by right clicking on top of the text) and that is your cookie.

If this doesn't work, try with any other domain tab.

Cookie sign in worked for me, Thanks @BETTlM

@BETTlM  Which extension version are you using? And the cookie do we need to add csfrtoken= or simply the value?

@BETTlM Which extension version are you using? And the cookie do we need to add csfrtoken= or simply the value?

v1.18.1 is required to login via cookies. You can install the latest version after logging in as shown in the video.
Yes you have to include csfrtoken = xxxx

I don't think this works on Windows, I tried to do this some time back.

Somehow this worked now. I tried the possible ways to sign in before but this tutorial made it work.

@BETTlM I tried the above steps but this does not work for me :( ,
https://github.com/user-attachments/assets/f21c7947-bc1d-407c-81ec-f0a01defefb7

@BETTlM I tried the above steps but this does not work for me :( ,
https://github.com/user-attachments/assets/f21c7947-bc1d-407c-81ec-f0a01defefb7

You are just pasting the csfr token, not the cookie.

Now we have another update. It seems that the login issue is resolved for good. It works that is good but it is still confusing. I see that the login and logout buttons are both present at the same time. There is no confirmation of login inside the console although there is a popup in the VSCode window which doesn't appear when the login happens by default in the VSCode because of starting of the application.


fixed #310 energy and deuterium mine production

I've reviewed all of these, and it seems that they have all been resolved with this pull request :)

Additionally, I checked the formulas from the source code of this site and verified them through the OGame forums.

LGTM, thanks for implementing the improved formulas! The dynamic solar satellite energy production also seems to work fine on my local environment. Merging! 🚀


chore: add prettier and eslint configuration, format files and update CI to check lint and format

When developing other PR on this project I've found some improvements to propose to project's linting and formatting configuration to ensure consistency across future contributions.
What
Added Prettier configuration file: This ensures that the expected formatting rules are clearly defined and will not rely on Prettier's default values, which may change in future updates.
Updated ESLint configuration for v9 upgrade:
Lint and Prettier checks added to CI: The CI pipeline has been updated to include both lint and Prettier checks. This ensures that all future pull requests will comply with the defined coding standards and formatting, preventing unintentional formatting changes.

This PR includes too many changes. Can we split it up somehow?

Hi @VaiTon, most of the changes if about file format because the prettier and eslint configs are now take into account. I can separate eslint and prettier but one of both will contain lots of changes too

@bengeois there is a commit about GH workflows, then commits about changes in packages.json, then actual formatting. We can at least split this in 3 PR if you don't mind


how to set http request header

What versions are you running?

$ go list -m github.com/chromedp/chromedp
github.com/chromedp/chromedp v0.5.3
$ google-chrome --version
81.0.4044.122
$ go version
go version go1.12.6 darwin/amd64

What did you do? Include clear steps.
how to set request header param (accept-language) ? The chromedp/example header demo is out of  date
What did you expect to see?
set accept-language
What did you see instead?

Why is it out of date? It works for me at cb21abae103c3e9a5ad08f35e2ec516b6053a17e. Note that Ken updated the examples with a newer chromedp and cdproto in January.

No response, closing.

The headers example gives compile error because network.Headers(map[string]interface) now expects network.Headers(easyjson.RawMessage).

The headers example gives compile error because network.Headers(map[string]interface) now expects network.Headers(easyjson.RawMessage).

Yeah, that's right. Just wonder maybe you can showcase an example here how to construct that easyjson.RawMessage object with some 'foo':'bar' header?

The headers example gives compile error because network.Headers(map[string]interface) now expects network.Headers(easyjson.RawMessage).

@danneu Yeah, that's right. Just wonder maybe you can showcase an example here how to construct that easyjson.RawMessage object with some 'foo':'bar' header to pass it to network.Headers()?

Fixed in https://github.com/chromedp/cdproto/commit/82dd5aea4c2632bc151af34551b999438b5d08db commit
See example here: https://github.com/chromedp/examples/blob/master/headers/main.go


When re-creating cropper the new crop keep last crop height

I got an ajax uploader, when it completes I call $('element').cropper on the image element, but, if I cancel my crop action and re-upload the image and call $('element').cropper again, it keeps the old image height on the cropper box.
Is there a way to do a total reset/destroy on cropper?
I tried $().cropper('destroy'), $('element').cropper('destroy'), reset, clear and even removing the image from node and re-inserting, but the cropper always get the last height cropper area.
I think it's getting the last settings from the last init cropper.
Any ideias?

It's a cache problem, solved. Anyway, if anyone got this problem, try to put at the end of image file src a timestamp, e.g:
var image = '


ENH: Build historydict every time there are new commits in master

This will build a conda package for all versions of python except "nightly" that are specified in .travis.yml after new code is merged into master and travis is triggered.  I am defaulting the upload to the development channel of anaconda.org/lightsource2.  The dev version of historydict can be installed with conda install -c lightsource2/channel/development historydict.
This is ready to go if someone could give it a look

Rebased to remove a number of unnecessary commits

Self-merging so that I can continue my crusade to auto-build all the things. Next target: filestore


[Paper+1] Probabilistic Programming and PyMC3, Peadar Coyle

My submission of my paper.

After an initial review of the paper here are some comments. I hope they are helpful.
Line 41: single sentences are not paragraphs. The introduction section is not very coherent, and is just a selection of rugby facts. For example, I'm not sure why the average player information is relevant. I recommend reworking the introduction to make it more readable, and better introduce the subject.
Line 41: The tilde ~ symbol is more conventional as a symbol for "distributed as" than an equal sign; its not clear why you would choose an unconventional symbol.
Line 44: not sure what "there is no need of the bivariate Poisson modelling." means. Please clarify.
Line 44: replace "We use here the result proved in" with "Here, we present the results shown by"
Line 44: I don't think this exposition will be clear for someone who is not very familiar with hierarchical models.
Line 44: Suggest changing "Moreover, as we are framed in a Bayesian context, prediction of a new game under the model is naturally accommodated by means the posterior predictive distribution." to "Moreover, since we are employing a Bayesian framework, the prediction of the outcome of a new game under the model is provided by the posterior predictive distribution."
Line 51: Since you are the only author, should be "My model"
Line 51: These sentence are non-coherent, and sections appear to be missing; please edit.
Line 56: "Let me introduce"
Line 110: Place "home" in inline code block. Same goes for all Python variables in the text. This makes it easier to read and follow.
Line 110: These three sentences should be combined into a paragraph. Avoid one-line paragraphs.
Line 131: Suggested re-wording: "Team strength is decomposed into attacking and defending strength components."
Line 139: Merge with line above into single paragraph.
Line 170: These three lines should be merged into a single paragraph and made more coherent. You say "important things", but then mention only one thing.
Line 179: Change "From the above we can start to understand" to "We can use the model above to help us estimate"
Line 189: Change "Here we in :ref:egfig can see an example of the figures you can generate, we are looking at the credibility intervals" into ":ref:egfig is an example of the type of figures that can be generated, which in this example is a forest plot of credible intervals."
Line 190: Change "The list of teams is" to "the estimated rankings of teams is"
Line 192: This paragraph is not very coherent. I suggest revising it, simplifying to include the major take-home message(s) of the paper.

Hi Chris, I'll implement these changes soon

Ok I made those changes - let me know your view @fonnesbeck

@springcoil These changes look good to me. No further suggestions or edits.

Let me know @NelleV when this gets merged :)


Expose dataset export in UI

Done on the backend, but not visible to the user.

Closed in c154e38f130a017f9694d207b334e8b69a8f9065


Testing: Sanbox should be My Profile

The My Profile page is incorrectly titled Sandbox in the header navigation

Sandbox has been removed, we are changing "My Profile" to a "Family" Icon and using the header "Profiles" as the page contains not only the user's profile, but all added (family or patient) profiles.


Upgrade GCP Library Versions

Upgrades the GCP Library versions.
Had to manually override the version of spanner to 4.0.0 because it includes a bug fix for user-agent headers. Once the libraries-bom catches up to the latest spanner version we can remove the override.
Will cherrypick to new repo and create an issue to track the dep override if satisfactory.
Also com.google.api-client no longer needs to be managed manually, so removed.
<dependency>
	<groupId>com.google.api-client</groupId>
	<artifactId>google-api-client</artifactId>
	<version>${google-api-client.version}</version>
</dependency>

Do we have any versions to update in root pom.xml as well?

Yeah, I will upgrade Spring versions in a separate PR. I'll keep this one GCP dependencies only so it can easily be cherrypicked to the new repo.

Hm ended up not being able to get version 16.4.0 to work. I decided to upgrade to version 16.2.0 which is the latest version that does not have that breaking change with the headers. Let's see if this works.


migrate db data

I want to migrate the level db data, I used the DBImpl::NewIterator.
The first round , it will  migrate the sequence less than  the versions_->LastSequence() ,
But in the second round ,I don't know how to migrate the increment data?

Please ask developer questions on the leveldb discussion group.


translation source set to database, still translating from the files

I set TRANSLATION_SOURCE to database
and when I do this
trans('pagination.previous');
it get's translation from the file instead of database.
I made a video to show the bug
https://www.youtube.com/watch?v=xrtmxldUvcs
Laravel Framework version 5.3.22
"waavi/translation": "2.1.x"

solved

I have this problem too. how did you solve it?

By flushing laravel config cache


add strong rec for ts playground

This PR updates README.md to reflect latest commit on master branch from the typescript-cheatsheets repository:
https://github.com/typescript-cheatsheets/react-typescript-cheatsheet/commit/ac018eb0e19f49b90a30fc052c3a6769a2ba1975

@laurosilvacom

nice! is this automatic?

No, I wish. We're just keeping an eye on all the new commits from the main repo.


Docker build logs

Make it less frustrating for people who are waiting for docker to build the image. Might also help with debugging.
cc @jpata

fixed by #45


(DOCS) Update help for puppet-device

Prior to this commit, the help for puppet-device ...
contained language and syntax errors
did not document all of the available device.conf properties
included specific device configuration that should be documented in device.conf
See also: https://github.com/puppetlabs/puppet-docs/pull/756
Refer to (DOC-1967) for more information.

CLA signed by all contributors.

This is the last of a set of updates to the documentation for puppet device.
Could we consider this to close the loop? :)


resubmit is not working on one leetcode problem[238 number problem] . other problems are ok.

see only empty attach note updated not code.
the code says 20 days ago [first submit]

for all other problems the tiq sign is green.
but for 238 the tiq sign is red in my case .


allowUnfree issue with allowUnfree = true

Hello, i have trouble upgrading my flake using nix flake update, it started saying that one plugin requires "allowUnfree" (copilot-vim) and it doesnt seem to register that that one is already there. I am using nix-darwin and home-manager that loads nixvim module.
And i cant get throught this error
       error: Package ‘vimplugin-copilot.vim-2024-07-10’ in /nix/store/9qq0zf30wi74pz66rr05zmxq0nv17q1p-source/pkgs/applications/editors/vim/plugins/generated.nix:2687 has an unfree license (‘unfree’), refusing to evaluate.

       a) To temporarily allow unfree packages, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_UNFREE=1

          Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
                then pass `--impure` in order to allow use of environment variables.

       b) For `nixos-rebuild` you can set
         { nixpkgs.config.allowUnfree = true; }
       in configuration.nix to override this.

       Alternatively you can configure a predicate to allow specific packages:
         { nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
             "copilot.vim"
           ];
         }

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowUnfree = true; }
       to ~/.config/nixpkgs/config.nix.

Its saying really clearly what the issue is but the point is i already have nixpkgs.config.allowUnfree = true;. Also prefixing rebuild with env doesnt seem to fix it either. Can you give me some suggestion what to do? I am unable to upgrade :(
My entire config is here:
https://github.com/nagy135/nix-darwin/blob/master/flake.nix

I was able to workaround this bug by setting
nixpkgs.config.allowUnfreePredicate = _: true;

in my home.nix.
I was following the advice from this thread and it ended-up working for me:
https://discourse.nixos.org/t/unfree-packages-on-flake-based-home-manager/30231

It's saying really clearly what the issue is but the point is I already have nixpkgs.config.allowUnfree = true;.

This sounds like you may have multiple instances of nixpkgs, some with allowUnfree and some without.
I.e. by default nix-darwin and home-manager will each create their own instance of nixpkgs.
Nixvim currently uses the "host"'s instance, but we'll likely change that in the future.
Home-manager can be configured to re-use the host's pkgs, by setting:
home-manager.useGlobalPkgs = true;

Home-manager can be configured to re-use the host's pkgs, by setting:
home-manager.useGlobalPkgs = true;

I can confirm it also works for me and feels a lot less like a dirty hack. Thank you good sir!


Avoid overhead for synthesized nodes lookup

Summary
After #12550 a hash implementation was added to the implementation of DAGOpNode to be able to have identical instances of dag nodes used be usable in a set or dict. This is because after #12550 changed the DAGCircuit so the DAGOpNode instances were just a python view of the data contained in the nodes of a dag. While prior to #12550 the actual DAGOpNode objects were returned by reference from DAG methods. However, this hash implementation has additional overhead compared to the object identity based version used before. This has caused a regression in some cases for high level synthesis when it's checking for nodes it's already synthesized. This commit addresses this by changing the dict key to be the node id instead of the node object. The integer hashing is significantly faster than the object hashing.
Details and comments

Thank you for this addition! This makes more sense. Is this improvement noticeable when benchmarking runtime?

I did a quick asv run and it didn't flag anything as an improvement or a regression. But it is noticeable in some benchpress benchmarks it has a noticeable improvement for example running qiskit_gym/abstract_transpile/test_hamiltonians.py::TestWorkoutAbstractHamiltonians::test_hamiltonians[ham_ham_JW-18-all-to-all] it went goes from 5.5106774509768 sec with 1.3.0rc1 to 3.2585 sec with this PR.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
15 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.01%) to 88.922%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/expr.rs
1
94.02%

crates/qasm2/src/parse.rs
6
97.62%

crates/qasm2/src/lex.rs
8
91.48%

Totals

Change from base Build<PHONE_NUMBER>9:
-0.01%

Covered Lines:
79053

Relevant Lines:
88902

💛  - Coveralls


What difference FROM node:4.6.2 as builder VS FROM node:4.6.2-alpine as runner?

What difference FROM node:4.6.2 as builder VS FROM node:4.6.2-alpine as runner?
Could I use the same
// Example
FROM node:4.6.2-alpine as builder
..........
FROM node:4.6.2-alpine as runner
------------- OR ----------
// Example
FROM node:4.6.2 as builder
..........
FROM node:4.6.2 as runner

No, it's that way for a reason. The first FROM line is for the builder image, which needs to have more "stuff" in it than the alpine image provides. But the alpine image provides everything needed to run the server, so it's used in the second image, which starts from the second FROM line, in order to result in a smaller final image. Look up "multistage Dockerfiles" to learn more. One could use the standard image in both (stripping -alpine from the second From line) but there's no reason to and it would result in a larger final image size.

Thanks


Expose package:flutter/foundation as package that can be used without importing Flutter

Goal is that dart command line applications can import the package and reuse useful functionality from flutter/foundation instead of duplicating it.
https://github.com/flutter/flutter/pull/32464 is a step towards making this possible by enabling the foundation code to run on the web. This CL may be sufficient or we may need a follow on CL that enables flutter/foundation to work when both dart:ui is and dart:html are not present (server).
Suggested implementation:

Write a script which we can put in the dev/bots directory, that takes the foundation directory, massages it into the shape of a package that imports flutter/foundation if it's available.
Creates a pubspec.yaml with a version matching the current flutter version (from the /version file probably)
Publishes it
Call that from the LUCI infrastructure.

This may be a duplicate of https://github.com/flutter/flutter/issues/29230


Disconnect on-chain flow is not allowing to connect to a new one

Describe the bug
When I try to disconnect from one wallet address and switch to another one, I can´t do that.
To Reproduce
Steps to reproduce the behavior:

Go to 'Homepage
Click Get Started > Connect Wallet
(Address 1 connected, now I want to connect to another one)
Click Disconnect
Click Get Started > Connect Wallet
It connects me to the Address 1!

Expected behavior
I would expect a Metamask popup to select which wallet I want to get started with.
Screenshots

Additional context

I don´t know if this is relevant after SIWE after Milestone 3.
Is this connected to clearing the cache?

This particular issue has been solved with SIWE.


Pubsub notificaiton setup for low downtime migration

Creates pubsub topic, subscription and notification for each migration and for each Datashard(physical shard) in case of sharded migration.

Sets up pubsub resources automatically during Stream setup
Displays the resources in the prepare migration page along with Dataflow and Datastream resources.
Cleansup the resources created when finish migration is clicked.

[x] Tests pass
[x] Appropriate changes to README are included in PR

Documentation changes preview -- https://darshan-sj.github.io/harbourbridge/


New symbols UI autoscrolls back to selection every 5 seconds

Version and Platform (required):

Binary Ninja Version: 3.4 (based on 2763525)
OS: macOS
OS Version: 12.5
CPU Architecture: M1

Bug Description:
When I've got a row selected in the new symbols ui (components), and try to scroll around to look at other functions, it jumps back to my selection after a few seconds of trying to read the other symbols. This basically makes it impossible to scan the symbols list as it keeps jumping around when I stop scrolling to actually read some text.
Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

Open a binary with a bunch of symbols
Double click one to navigate
Try to scroll around the symbols list to see the other symbols
Nope, Chuck Testa. You're back at your selection

Expected Behavior:
I expected the UI to not jump around when I'm not interacting with it (and the file is not analyzing either).
Screenshots:
Have a video: https://user-images.githubusercontent.com/711973/232265724-fc15bb24-11a0-4309-a61d-e312ad354eb3.mov
Additional Information:
Might be related to search queries? I tried clearing the query and it still did it, but I opened a different binary and it didn't reproduce.

Fixed in 3.6.4661-dev.


Unable to retrieve child resources

Storage Explorer Version: 1.14.2
Build Number: 20200715.2
Platform/OS:  Windows 10
Architecture:  x64
Regression From:  First time to use
Bug Description
Unable to retrieve child resources.
Details:
["FetchError:request to http://<IP_ADDRESS>:10000/devstoreaccount1/?include=metadata&comp=list failed, reason: tunneling socket could not be established, statusCode=403"]
What I tried
I have add access rights of my account to the folder of azurite
Strange thing is, I switch network to my hotspot of my phone, It pop up an error says timeout to connect <IP_ADDRESS>, which is our company's proxy. I have reset my internet options. And I also close proxy settings of the explorer. The question is where is the proxy setting from?

@lhf552004 can you check your Windows environment variable setting and see if you have a environment variable/s called HTTP_PROXY or HTTPS_PROXY?

Closing due to lack of response. Please open a new issue if you are still having problems.


Br lewis/dcos 50764

High-level description
Switch dcos-check-runner to be built with go mod instead of dep
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS-50764

Checklist for all PRs

[X] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change:
[X] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[X] Read the DC/OS contributing guidelines
[X] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and review process
What is the review process and when will my changes land?
All PRs require 2 approvals using GitHub's pull request reviews.
Reviewers should be:

Developers who understand the code being modified.
Developers responsible for code that interacts with or depends on the code being modified.

It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner. Once a PR has 2 ship-it's, no red reviews, and all tests are green it will be included in the next train.

@mesosphere-mergebot label Ready for review

@janisz @makkes @drewvanstone can you review?


Bumping node version

@viniciusalmeida do you think bumping the node version would cause problems?
I'm getting this on the CI server:
Message:
    Missing binding /home/ubuntu/firebase-queue-ui/node_modules/gulp-sass/node_modules/node-sass/vendor/linux-x64-48/binding.node
Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 6.x

Found bindings for the following environments:
  - Linux 64-bit with Node.js 4.x

Not sure if this will fix it.

Yup


Zoom problem with HTC EVO

I don't know if there is anything that can be done with this but the zoom doesn't work properly with an HTC default browser.  After some checking it looks like the default browser doesn't pay attention to this line
meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"
As a result the native zoom functions aren't disabled.  When you zoom it zooms everything and then starts acting strange.  I'm not sure how to handle this.
Thanks

Maybe is the same as issue #212 ?

I believe that it is the same problem.
This link may help
http://stackoverflow.com/questions/3460525/disable-pinch-zoom-in-android-2-1-browser-on-htc-devices


mesa: unbreak on darwin

Description of changes
Unbreaks mesa on macOS, cc #233265
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] 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

[x] Fits CONTRIBUTING.md.

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

There's actually already an upstream patch on mesa's main; see https://gitlab.freedesktop.org/mesa/mesa/-/commit/4ef573735efc7f15d8b8700622a5865d33c34bf1

That patch does not apply to the release and looks functionally different. However, taking the commit after the next works: #272732. Thanks for your pointer.


Additional rule features.

Is it possible at this time, or would it be possible to add rule conditions for things like source IP or other features in this list?

The use case is that we have a master rule for Cognito auth and we'd like to disable auth for a specific IP address, but I don't see a way to do this as configured. Thoughts?

Hi, It's not supported for now.
These are three alternative design for add support for this feature, would you help vote one in https://github.com/kubernetes-sigs/aws-alb-ingress-controller/issues/909?

+1


Handle difference in allowed_audiences field in GoogleOauth2 connection

🔧 Changes
allowed_audiences can be null, an empty string, or an array of strings. In order to handle this we have to implement a custom marshaller that will map to the expected value to avoid errors.
📚 References
Fixes #14
🔬 Testing
Unit tests and tested setting the connection to have the listed values and using Connection.List() and Connection.Read("<id>") are able to return these values correctly
📝 Checklist

[x] All new/changed/fixed functionality is covered by tests (or N/A)
[x] I have added documentation for all new/changed functionality (or N/A)

Codecov Report
Patch coverage: 92.10% and project coverage change: -0.02 :warning:

Comparison is base (029568a) 94.75% compared to head (a305e75) 94.74%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #174      +/-   ##
==========================================
- Coverage   94.75%   94.74%   -0.02%
==========================================
  Files          38       38
  Lines        6578     6616      +38
==========================================
+ Hits         6233     6268      +35
- Misses        276      278       +2
- Partials       69       70       +1

Impacted Files
Coverage Δ

internal/client/client.go
65.00% <ø> (ø)

management/connection.go
75.00% <92.10%> (+3.35%)
:arrow_up:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


why we don't upload this to pypi

we can upload this to pypi and it will be easier to download and install through pip install

Hi @xiaopeng163 ,
Due to organization policy we decided it will be published at our github account only.
See our README to learn how to install our SDK.
You can use: pip install git+https://github.com/CheckPointSW/cp_mgmt_api_python_sdk
If you don't have git, you can:

Download the SDK by using the ‘Download ZIP’ button
unzip it.
Navigate to .../cp_mgmt_api_python_sdk/ directory and run: pip install .

thanks. if so, could we add version to the repo, we don't want to install master branch code each time
but tag it
with git
$ pip install<EMAIL_ADDRESS>
or from source bundle
$ pip install https://github.com/CheckPointSW/cp_mgmt_api_python_sdk/archive/v2.1.0.tar.gz

Thank you for your suggestion!
You can try it with version v1.1
We will update the releases with new fixes and new features.
Regards,
Yael

@chkp-yaelg I am not able to figure out what could be the reasons for not publishing the library in the standard Python repository PyPI. Could you please explain them?
Using PyPI allows the software to work even if GitHub decides to change something of if you decide to move to a different source code repository. PyPI allows much more flexibility operating with software versions in the dependencies.


Help

I get this error:
]$ python admingpt.py
Traceback (most recent call last):
File "/home/sady/AdminGPT/admingpt.py", line 159, in
run(email_platform="outlook", debug=True)
File "/home/sady/AdminGPT/admingpt.py", line 58, in run
assistant = client.beta.assistants.create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sady/.local/lib/python3.12/site-packages/openai/resources/beta/assistants/assistants.py", line 108, in create
return self._post(
^^^^^^^^^^^
File "/home/sady/.local/lib/python3.12/site-packages/openai/_base_client.py", line 1200, in post
return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sady/.local/lib/python3.12/site-packages/openai/_base_client.py", line 889, in request
return self._request(
^^^^^^^^^^^^^^
File "/home/sady/.local/lib/python3.12/site-packages/openai/_base_client.py", line 980, in _request
raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - {'error': {'message': "The requested model 'gpt-4-1106-preview' does not exist.", 'type': 'invalid_request_error', 'param': 'model', 'code': 'model_not_found'}}

Thanks for using AdminGPT @Wnde! To use the Assistant API, you need access to GPT-4. The error tells us that the required model "gpt-4-1106-preview", doesn't exist and therefore is not available to you. I just double checked, and I had access to it.
Please find below a link to OpenAI's documentation on how to access GPT-4.
How can I access GPT-4?
https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4
Please follow the steps and let me know if it fixes your error.

Hey @Wnde, did you get this figured out? I wanted to see if I could help with anything, or if I should close the issue. Let me know!

Closing due to lack of feedback from the user.


focus and tabbing on split panes is unintuitive

Windows Terminal version (or Windows build number)
1.8.1521.0
Other Software
No response
Steps to reproduce
Open up four split panes, in a 2 by 2 fashion. For ease of use, and to ensure everyone has the same set up, use the command below.
 Start-Process wt "nt ; sp -V ; mf left ; sp -H ; mf right ; sp -H"
Should look like this:

Now, move focus to the bottom left pane. This can be done by mousing over the bottom left pane.
With the default action configured, press alt + right arrow.
If you have reconfigured your actions, press the keybind to move pane focus to the right. { "action": "moveFocus", "direction": "right" }
Expected Behavior
The active pane is now the one on the bottom right.
Actual Behavior
The active pane is the one on the upper right.

Yep, currently we move focus to the first pane on the other side of the separator. We are tracking the issue over at /dup #2398


How to add new icon in bagisto admin panel?

Hello,
How to add a new icon in bagisto admin panel. Please guide me on how to add a new icon.
Thanks.

Hello @testforpostman7
please let us know where do you want to add a icon? share the screenshot as well.

Hello @vaishaliwebkul
I have to add icons in bagisto admin panel. Please check the screenshot where we have to add a new icon. Please suggest me a solution.

Thanks

@testforpostman7 a article on the dev docs explains this.

@testforpostman7
Yes, solution provided by @ghermans is right.

@testforpostman7
No reply since last 10 days so we are assuming that your issue has been resolved.
Please feel free to reopen this issue.

@ghermans the link give is expired.  do you have another reference?

@aaccxxyy99
You may check this link https://devdocs.bagisto.com/1.x/packages/add_menu_in_admin.html

@vishal-webkul  can we add our own icon to admin panel?

Add icon in shipments methods how can we do it.

If you need to use a new Icon, listen to the bagisto render event "bagisto.admin.layout.head" and hook your admin styles to it
Event::listen('bagisto.admin.layout.head', function($viewRenderEventManager) {
            $viewRenderEventManager->addTemplate('template::admin.layouts.style');
  });


Add tiles over indicies

Hi,
I'm working with Agency on a school project.  One thing I've found that could be useful is to allow tiling over indices instead of the data itself.  Specifically, having a construct like agency::experimental::tile_evenly(start_idx, end_idx, num_agents).  This would be helpful in situations where there are many input vectors and thus would have a lot of boilerplate code for using tiles as they are now.  Additionally, it would make converting loops that use numerical indices simpler.  Let me know how this sounds/if I've overlooked something from the source code now that would allow this.

Hi, thanks for the feedback. I agree a facility to create ranges of indices would be useful, but I don't believe anything like that exists yet.
Suppose something like this was possible:
using namespace agency::experimental;

auto tiled_indices = tile_evenly(something(start_idx, end_dx), num_agents);

Where something(begin, end) creates the half-open interval [begin, end). In other words, tile_evenly() wouldn't necessarily work on indices directly, but could indirectly tile a range of indices just like it can for data.
Do you think that would serve your use case?

Yep, thats exactly what I'm looking for!

Great - there's a new experimental::interval() function that should produce what you're looking for.

By the way, I didn't test interval() with tile_evenly(), so let me know if you run into problems.

Sorry for the long hiatus; when I try to use interval with tile_evenly, I get template errors; still trying to make a minified example, but here's an example error from the line where I call tile_evenly(interval(...), NUM_AGENTS):
agency/agency/experimental/ranges/all.hpp:63:51: error: no matching function for call to 'all(agency::experimental::iota_view<int>)'
 using all_t = agency::detail::decay_t<decltype(all(std::declval<Range>()))>;