Compiling back LLVM IR

Hi there and congratulations with open-sourcing such a useful tool. :)
As an experiment, I tried to compile back generated *.bc file. And got many undefined reference errors on _asm_smth(), pseudo_smth() calls and many unknown_smth symbols. Is there any future possibility to recompile binaries?

Hi. Good question :-). If I understood you correctly, you would like to decompile a binary file, take the LLVM IR representation of it that RetDec generates (.ll/.bc), and compile that LLVM IR back into a binary file via e.g. Clang?
Unfortunately, I think that the answer is that this is generally not possible, mainly because the front-end part of RetDec (bin2llvmir) may generate a lot of function declarations without definitions. This happens e.g.

when there is no body of the function in the input binary file (= the function comes from a shared object or DLL),
when we remove the body through our statically linked code detection (= it is a function from a known static library),
or we even generate many internal function declarations without definitions ourselves to circumvent some LLVM optimizations to e.g. prevent the removal of variables that we want to keep no matter what.

You can try to insert the bodies of missing functions manually, but I am not sure whether this will work as expected because LLVM's whole-program optimizations may optimize calls to such empty functions away.
Frankly, we never thought of recompiling LLVM IR as the LLVM IR that we generate serves only as a middle layer in the whole decompilation process (binary to C). As for recompilation of the generated C source code, this is a whole other topic :-). In short, producing recompilable C source code is very hard and it is not our main goal. Nevertheless, in some cases, the C source code that RetDec produces is recompilable, which we sometimes utilize in our tests (e.g. this one, which checks that a program doing FPU computations is correctly decompiled, then recompiled, and produces correct output when run).
We hope to provide more information on the whole decompilation process in the future.

Thanks for providing additional details on this topic. I'd also be very interested in having the LLVM IR being self contained to include all necessary information for other tools to make use of (one related issue #38). It would be really cool to use it in combination with symbolic execution tools (e.g. klee), plug it into other static analysis tools, etc.
Specifically for the function declarations missing function bodies, such that linking fails, a few of the bullets you mentioned could be resolved at link time, and others by bin2llvmir.

when there is no body of the function in the input binary file (= the function comes from a shared object or DLL),

For these cases it should be possible to link against said library.

when we remove the body through our statically linked code detection (= it is a function from a known static library),

Similar to the above bullet, it should be possible to link the binary dynamically against the original library for which functions had been statically linked (e.g. clang -o foo foo.c -lc).
As a side note, my friends and I have played with this specifically, to remove statically linked libraries (e.g. libc) from existing binaries and relinking them dynamically (by injection entries  into the .idata section) to the corresponding shared libraries. This approach has proved successful, so it is definitely possible :)

or we even generate many internal function declarations without definitions ourselves to circumvent some LLVM optimizations to e.g. prevent the removal of variables that we want to keep no matter what.

This is the only case where bin2llvmir would need to be updated, to support later linking of the LLVM IR, and that would be done by allowing the function bodies of these internal functions to be emitted; perhaps guarded by a command line flag to bin2llvmir or something along those lines.
@a1batross Thanks for submitting this issue, I think it is a great aspirational goal for bin2llvmir to become usable in a wider sense than specifically as a front-end to the retdec decompiler pipeline. With this in mind, the capstone2llvmir could be further developed by other members of the open source community, as more people would be using bin2llvmir when it supports further use cases.
It should be noted that MC-Semantics, aka mcsema, has the capability of recompiling the LLVM IR to fully functional binary executables, so the idea is not entirely crazy, just a bit out there!
For those who haven't seen it yet, this is a really great presentation of MC-Semantics, which showcases some of its capabilities: https://www.youtube.com/watch?v=nW9bE5tUVYg
I think both bin2llvmir (with capstone2llvmir as backend) and mcsema (with remill as backend) have a lot they may learn from one another. It is very exciting for the reverse engineering and static analysis community to have these great tools now being open source!
Cheerful regards,
/u

@s3rvac @mewmew
Thanks for such detailed answer! :)
Yes, I meant this. My goal is to dissamble into LLVM IR(or decompile to C code) to bring the same well-written but abandoned code to newer platform. It's mostly Windows x86 libraries compiled by MSVC6. So I want them on Linux x86 or even on Linux ARM, as x86 and ARM have pretty comparable data type sizes. And it's kinda possible, which reminds me to notaz's work on porting the StarCraft from Windows x86 and Linux ARM.
Most of this code just depends on standard C and C++ functions, so removed static library code is a problem solved by linking libc and libm.
I just thought that working with LLVM IR should be easier, but it seems that generated C code is valid. Nice work here! :)
Yes, I heard about mcsema, but not tried it yet. If I will have any success with recompiling IR, I will post an update here maybe.

I tried to compile the C code and have two question. It seems that __pseudo_call(x) is just a calling a function by it's pointer in x.  And that __pseudo_cond_branch(x, y) is a if( x ) jmp y;. It's created by decompiler and am I right with their purpose?

My two cents ...
As @s3rvac wrote, so far, it has never been our goal to produce LLVM IR or C that could be recompiled. The goal was to produce something, that could be analyzed by a human. State at the moment:

RetDec's output quality is nowhere good enough to be even thinking about working recompilation.
As @mewmew wrote, even if quality was not an issue, bin2llvmir does not currently produce the kind of output that could be recompiled.

I think the second point could be decently solved in the future. We would certainly like to make it possible to hook the output to klee (or other LLVM tools) and try to do something like Ponce on LLVM IR.
The first point will be an ongoing issue forever. Yes, we will be continually improving the output quality. No, I'm not sure static analysis will ever be good enough to really reliably recompile reasonably complex real world programs. But who knows.
@a1batross, definitely check out already mentioned mcsema. rev.ng might be even better for your purpose -- I would be interested how/if it worked, so if you try it out, please write your feedback here or to my email.

Sadly, but mcsema depends on IDA or Binary,Ninja. These two tools are paid and I don't want to talk about piracy, at least publicly. If I understood it right, mcsema just need a real disassembler. I don't know why developers don't tried radare2, maybe it just doesn't fit for their needs.
Thanks for pointing me to rev.ng, I will try it out in my free time.

Sadly, but mcsema depends on IDA or Binary,Ninja. These two tools are paid and I don't want to talk about piracy, at least publicly. If I understood it right, mcsema just need a real disassembler. I don't know why developers don't tried radare2, maybe it just doesn't fit for their needs.

MC-Semantics had implemented their own recursive descent disassembler that could be used in place of the IDA plugin. However, bindecent was removed as they could not allocate enough resources to keep up with both implementations.
That being said, the control flow graph is stored in a Protocol Buffers format, and it would be easy to output the disassembly as protobuffers, if you already have a working recursive descent disassembler.
Oh, and rev.ng is definitely worth giving a shot!

Hi.
Is there a tool or reference of translation arm aasembly code to llvm-ir?
best regards.

@mewmew
Thanks very much. I'll check out them.

Ask more thing. Actually, I want to translate arm to RISC-V, but I don't look anything about this.So I just prepare to do it by two step. Does arm to RISC-V be tried now?

This issue tracks precisely this. To translate a binary to LLVM IR, and then back again to a binary.
So:

ARM -> LLVM IR

use any of the tools listed above for lifting LLVM IR to ARM

LLVM IR -> RISC V

use Clang to compile from LLVM IR to RISC V. I think Clang targets RISCV, but not sure.

@mewmew
Thanks.If I want to translate arm to llvm-it bymyself for a try, is it possible? Is this job  easy and is there some reference about this job? Now I just learn a little by llvm-ir langguage reference.

Thanks.If I want to translate arm to llvm-it bymyself for a try, is it possible? Is this job easy and is there some reference about this job? Now I just learn a little by llvm-ir langguage reference

@chlizheng When you write arm to llvm-ir by myself do you mean by hand? If so, that would take ages. The tools listed above are written specifically for this task, and especially to take corner cases into consideration (e.g. side effects such as the setting of flags, etc).
If you are asking whether the above tools are easy to use, I would have to leave that answer up to someone else. My personal experience with these kind of tools is that they are great when they work, and quite annoying when they don't. You can spend hours (or days/weeks/months) tracking through aspects of the code, trying to implement those parts that are not yet implemented. This is more of a heads up than a warning. If you want a quick easy fix to a problem, this is not it. If you want to learn more of how things work underneath. Then by all means, you are warmly invited. Down here, there is joy enough to share :)
Cheers,
Robin

@mewmew
HI.
I try to use the clang and llvm tools. Then I use ‘clang -S -emit-llvm hello.c’ to get hello.ll. And then use 'clang -c -emit-llvm hello.ll' to get hello.bc. Finally, I use 'llc -march=arm -mcpu=cortex-m3 -mattr=v7' to translate it to arm assembly code.
But llc can't do it and make a error. The error is "llc : hello.bc : error:Invalid type for value". Do my method have problem or the tools have problem. Do oyu know about this?
best regards.

Now it's possible to compile it back, but not link.

RetDec fails to decompile pointers to functions. For example, I have a global structure filled with pointers to functions. Just simple interface in C. But RetDec leave them as unknown_%i.

Seems that RetDec's disassembler or other part of RetDec doesn't work with statically allocated data. I don't think it's even possible to know how much memory should be allocated. So it will not work. For example, some global buffers like T buf[size] just left as pointers. They are not initialized, so you cannot work with that.

If you are recompiling something was compiled by MSVC on Linux, you may encounter that Linux linkers doesn't like MSVC mangling. However, you can just replace all '@' with something else, like '_' and it will work.

The LLVM code emitted by retdec is incomplete and doesn't reflect the asm code, it often skips the whole sequencies of instructions.


Prebuilt for node 8

Could you please publish for ABI 57? https://github.com/nodejs/node/commit/ec7cbaf266

Yeah, thanks for the reminder. I had started working on that a bit ago but CI gave me headaches; the builds seem to be passing now so I’ll push 2.0.3 out in ~2 hours (because, yes, that’s how long CI takes).

+<EMAIL_ADDRESS>Let me know if you have any trouble.

$ node --version

v8.1.2

yarn add lzma-native

Actually I see that compilation is performed on my macOS.
But, on clean Win10 machine (without dev env, visual studio and so on) I see " is installed via remote" and all is ok. Thanks!


Resurrect dead buttons

Buttons lost to time:

Dedicated deploy button

App Service
Functions
Storage

Functions Create Project
Create new Mongo scrapbook
Attach to Storage Account/Database Account

Still working on some other PoCs, but here's a screenshot dump:

https://user-images.githubusercontent.com/12476526/181128579-83d7927a-2e2d-46cd-9e3a-05928bd416a2.mov

Demo of the Tabs idea PoC:
https://user-images.githubusercontent.com/12476526/181365783-cc762b74-ba1c-4e22-a2e2-6609bbe7e1f7.mov

100% hacky, and pretty clunky. However if we had a pro do the icons we might be able to make it work.
https://user-images.githubusercontent.com/12476526/181384210-9a8f4d1a-9598-47fe-ba33-679d532e6431.mov

I say we fire Alex and re-hire him as a UX Designer 🚀🚀🚀

Screenshots from a recent, simpler version:

The actions area looks nice (though our documentation will need to get updated again). I wonder if there'd then be two ways to Deploy to Web App, one by right-clicking under resources and one under actions? That's probably fine if they do the same thing.


Improvement on molecule standardization steps

Changelogs

Refactored _standardize_mol by simplifying the removal of salt, metal etc, standardized for both tautomeric and protomeric forms.
Fix the activity cliff detection and exclude irrelevant rows.
Minor changes on syntax and chemical space visualization.

Checklist:

[x] Update the API documentation if a new function is added, or an existing one is deleted.
[x] Write concise and explanatory changelogs above.
[x] If possible, assign one of the following labels to the PR: feature, fix or test (or ask a maintainer to do it for you).

This PR is for updating the standardization steps in molecule curation steps.

Thanks @stwhitfield !


mWeb/Safari - Chat - Extra blank space in header on tapping '+' icon in composer

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: .1.3.45-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Tap FAB >> Start Chat
Navigate to 1:1 DM conversation
Enter a message with more than 2 lines until expand button is displayed in compose box
Tap on arrow button to expand composer
Tap on '+' icon (Note : blank space appears in header)
Dismiss the opened modal (Note : blank space in header)

Expected Result:
No visual issues show in conversation history page. No blank space appears in header on tapping '+' icon in composer
Actual Result:
Extra blank space in header on tapping '+' icon in composer
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[x] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/ffb1a501-a217-439a-a7ef-3f6ef5ef2219
View all open jobs on GitHub

Production:
https://github.com/Expensify/App/assets/78819774/dcba9a78-5050-445c-8065-ed0603a676d5

We think that this bug might be related to #vip-vsp
CC @quinthar

It's also happening even without typing a message first, just by clicking the + button.
https://github.com/Expensify/App/assets/2229301/b247bdd1-697e-4a21-8707-3c8308a325aa

I can't repro in dev on the 1.3.45-2 tag though for some reason, @arosiclair are you able to?

A fix is being worked on as part of https://github.com/Expensify/App/issues/35591 already, no need for new contributions. Thanks!

Thanks for handling this @francoisl! Closing this out


Resubmit any operations not yet in "Pending" state when an idempotency key clash is detected

Fixes https://github.com/hyperledger/firefly/issues/1219

Codecov Report

Merging #1230 (dd32659) into main (f6c590c) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

:exclamation: Current head dd32659 differs from pull request most recent head d58a270. Consider uploading reports for the commit d58a270 to get more accurate results

@@            Coverage Diff             @@
##             main    #1230      +/-   ##
==========================================
- Coverage   99.98%   99.97%   -0.01%
==========================================
  Files         306      307       +1
  Lines       20112    20255     +143
==========================================
+ Hits        20108    20249     +141
  Misses          3        3
- Partials        1        3       +2

Impacted Files
Coverage Δ

internal/multiparty/manager.go
100.00% <ø> (ø)

internal/operations/context.go
100.00% <ø> (ø)

internal/txcommon/txcommon.go
100.00% <ø> (ø)

internal/assets/token_approval.go
100.00% <100.00%> (ø)

internal/assets/token_pool.go
100.00% <100.00%> (ø)

internal/assets/token_transfer.go
100.00% <100.00%> (ø)

internal/broadcast/manager.go
100.00% <100.00%> (ø)

internal/contracts/manager.go
100.00% <100.00%> (ø)

internal/database/sqlcommon/transaction_sql.go
100.00% <100.00%> (ø)

internal/operations/manager.go
100.00% <100.00%> (ø)

... and 1 more

... and 14 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Seeing a test coverage drop in nextpin_sql.go which I'm not sure anything in this PR has affected, but looking into it

I do see this error in the E2E, which suggests a panic:
        	Error:      	Received unexpected error:
        	            	unexpected EOF
        	            	```

There's one E2E test failure that shows a 404 where the test expects a 409 that needs digging into:
    restclient.go:119: Headers: map[Content-Length:[37] Content-Type:[application/json] Date:[Tue, 28 Mar 2023 19:31:16 GMT] Vary:[Origin]]
    restclient.go:811:
        	Error Trace:	/home/runner/work/firefly/firefly/test/e2e/runners/restclient.go:811
        	            				/home/runner/work/firefly/firefly/test/e2e/runners/ethereum_contracts.go:231
        	Error:      	Not equal:
        	            	expected: 409
        	            	actual  : 404
        	Test:       	TestEthereumMultipartyE2ESuite/TestFFIInvokeMethod
        	Messages:   	POST /namespaces/default/contracts/invoke [404]: {"error":"FF00164: No result found"}

Here's the relevant section of logs:
�[34mfirefly_core_0_1  |�[0m [2023-03-28T19:31:16.498Z] ERROR SQL insert failed: UNIQUE constraint failed: transactions.namespace, transactions.idempotency_key sql=[ INSERT INTO transactions (id,ttype,namespace,created,idempotency_key,blockchain_ids) VALUES ($1,$2,$3,$4,$5,$6) ]: UNIQUE constraint failed: transactions.namespace, transactions.idempotency_key dbtx=naHfZ4Wu httpreq=d361Qotq pid=1 req=7rVqxwVL
�[34mfirefly_core_0_1  |�[0m [2023-03-28T19:31:16.498Z] DEBUG SQL-> query transactions dbtx=naHfZ4Wu httpreq=d361Qotq pid=1 req=7rVqxwVL
�[34mfirefly_core_0_1  |�[0m [2023-03-28T19:31:16.498Z] DEBUG SQL<- query transactions dbtx=naHfZ4Wu httpreq=d361Qotq pid=1 req=7rVqxwVL
�[34mfirefly_core_0_1  |�[0m [2023-03-28T19:31:16.498Z] DEBUG SQL-> query operations dbtx=naHfZ4Wu httpreq=d361Qotq pid=1 req=7rVqxwVL
�[34mfirefly_core_0_1  |�[0m [2023-03-28T19:31:16.498Z] DEBUG SQL<- query operations dbtx=naHfZ4Wu httpreq=d361Qotq pid=1 req=7rVqxwVL
�[34mfirefly_core_0_1  |�[0m [2023-03-28T19:31:16.498Z]  WARN SQL! transaction rollback dbtx=naHfZ4Wu httpreq=d361Qotq pid=1 req=7rVqxwVL
�[34mfirefly_core_0_1  |�[0m [2023-03-28T19:31:16.499Z]  INFO <-- POST /api/v1/namespaces/default/contracts/invoke [404] (0.86ms): FF00164: No result found httpreq=d361Qotq pid=1 req=7rVqxwVL

Think e2e is now fixed @peterbroadhurst

Hmm, I'm seeing build failures with

OK, all good.  Build & e2e tests now passing green @peterbroadhurst


[chore] prepare release 0.18.0

Should we run make gotidy before releasing?

Should we run make gotidy before releasing?

good catch, I will also add a note about this to the release check list so we don't forget it in the future


replace "#ifdef _WIN32" with "#ifdef _MSC_VER"

this shall resolve issue 220.
https://stackoverflow.com/questions/15127522/how-to-ifdef-by-compilertype-gcc-or-vc
Fixes #220

One downside here is that mingw declares long as 32-bit so this will mean files over 2GB can’t be loaded. My recollection is that on mingw ftello64 must be used instead but this could be done separately, since compiling on mingw seems better than not :)

According to https://stackoverflow.com/questions/30867831/portable-support-for-large-files ftello64 will not work with Cygwin.
Therefor it would need another ifdef like here.
Repaired my broken liks btw.


Proposal: Signal connected to method with incorrect number of arguments should break application

Godot version:  84401e8cdf4f41fc0e804bf5410622e75a08c0f5
Issue description:
Currently there is only message thrown in Godot's console "ERROR: Object::emit_signal: Error calling method from signal 'completed': 'Sprite(GameBoard.gd)::_on_quest_compleated': Method expected 0 arguments, but called with 1.
At: core\object.cpp:1242"
but it can be unnoticed. Maybe application should break to debbuger instead.
This issue should be considered also: #21844

No, in general we do everything so that Godot does not crash. Because in a game, you don't want the game to crash if there is a little bug somewhere forgotten in the  code.
It's up to the developper to fix those issue when they appear.


Add sections for My Classes documents and My Network documents

This PR adds sections in the left panel for the My Classes and My Network teacher network documents.  Changes include:

add new sections
fix spacing and colors to match spec

NOTE: this might get refactored again when we add the actual network content.  But for now, we can show the new layout in a planning/demo meeting.
PT Story:
https://www.pivotaltracker.com/story/show/179755300
Deployed branch for testing:
https://collaborative-learning.concord.org/branch/my-classes-my-network/?demo

👍 Looks good -- seems like there's the potential for a new component here that would eliminate the redundant code, however. Plus, the PR with the getNetworkResources() functionality has been merged so you can actually hook this up to real data once the function is deployed.

Yeah, I was leaning towards doing that once we had access to the data, but I might as well do it now since we're about ready to get the needed data.


⚠ Hartman Foundation has degraded performance

In 6c2b809, Hartman Foundation (https://gordonhartman.com/) experienced degraded performance:

HTTP code: 200
Response time: 2465 ms

Resolved: Hartman Foundation performance has improved in 7a26213.


Fix deprecated setters.

Adds actual implementation for deprecated setters, and re-adds the accidentally removed resource_collection= setter. Fixes #3585.
Ping @jdmundrawala for inclusion in next build.

Also ping @jkeiser if you want to sanity check.

:+1:

Looks good. :facepalm:

:+1:

Can one of y'all please push the actual merge button on this?

was this a 12.4.1 regression?

To echo from IRC, this is not needed for 12.4.1, change was master-only.


Bounds calculations - mask not included at parent level

I have a display-object that has children, and one child's bounds fall partially outside of the parent. However, the parent is masked so that the part of the child outside of parent's content bounds aren't visible.
Expected Behavior
Now, I would expect pixi.js to mask the parent's bounds. However, Container#calculateBounds only masks child bounds, but not the parent's bounds.
Possible Solution
I think we should add another bounds-mask intersection in calculateBounds for the top-level node via addBoundsMask.
@ivanpopelyshev This could be an easy fix if you think that this behavior is indeed incorrect.

I think its correct, however we have to check if Flash does that. Just in case.

This is a visual representation of the layout.


How can reqwest::ClientBuilder.resolve used with wasm-bindgen?

Summary
reqwest::ClientBuilder has a resolve method https://github.com/seanmonstar/reqwest/pull/1277 that enables custom DNS resolution, that resolves the domain to an IP without making DNS queries, and it is pretty simple, it can be used like:
 let client = reqwest::ClientBuilder::new()
    .resolve("cloudflare-dns.com", "<IP_ADDRESS>:443".parse().unwrap())
    .build()?;

BUT when I try to use it with wasm-bindgen, it throws an error
  |         .resolve("cloudflare-dns.com", "<IP_ADDRESS>:443".parse().unwrap())
  |          ^^^^^^^ method not found in `ClientBuilder`

My question is:

is it possible to use reqwest's resolve method with wasm-bindgen?
if not, is there another way to define the IP address to which I want to make an HTTPS request for a specified hostname?

eg.

CURL also has a --resolve parameter
node-fetch can also have a custom DNS resolver agent
but V8 fetch doesn't have any option to do this

is it possible to use reqwest's resolve method with wasm-bindgen?

No, that's only supported when running natively.

if not, is there another way to define the IP address to which I want to make an HTTPS request for a specified hostname?

Not that I'm aware of. That's more of a question about the web in general, though.

Thank you, you have just saved me a long weekend of trying to figure this
out 😅 I really appreciate your expertise and willingness to assist. Thanks
again!
On Sun, Dec 18, 2022 at 1:37 AM Liam Murphy @.***>
wrote:

is it possible to use reqwest's resolve method with wasm-bindgen?

No, that's only supported when running natively.

if not, is there another way to define the IP address to which I
want to make an HTTPS request for a specified hostname?

Not that I'm aware of. That's more of a question about the web in general,
though.
—
Reply to this email directly, view it on GitHub
https://github.com/rustwasm/wasm-bindgen/issues/3202#issuecomment-1356576623,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWCK7IN56X6FHZDUECC6S3WNZMDRANCNFSM6AAAAAATCGHG2Y
.
You are receiving this because you authored the thread.Message ID:
@.***>


Scrape all pages, not only level 1 navigation

Gitbook's server-side rendering means that when we fetch the contents of the index page
the sub-menu items are not rendered and thus are invisible to $('nav a').
This patch makes the loader use sitemap.xml which has an index of all pages.
Inspired by the Python version.

This is a fairly simple change that fixes the shouldLoadAllPaths parameter. Is it possible for it to be reviewed? The python version uses the same logic to make sure all pages are scraped.

This should match the behaviour found in the original Python version, lgtm :)

Thank you David.

I can't push to your branch, but this change breaks the canonical example in the docs. Can we make sure both are supported? Maybe use both sources and dedupe?
I added this short integration test:
langchain/src/document_loaders/tests/gitbook.int.test.ts
import { test } from "@jest/globals";
import { GitbookLoader } from "../web/gitbook.js";

test("Test GitbookLoader", async () => {
  const loader = new GitbookLoader(
    "https://docs.gitbook.com/product-tour/navigation"
  );

  const docs = await loader.load();
  console.log(docs);
})

test.only("Test GitbookLoader with shouldLoadAllPaths", async () => {
  const loader = new GitbookLoader("https://docs.gitbook.com", {
    shouldLoadAllPaths: true,
  });
  const docs = await loader.load();
  console.log(docs);
});

Playson
On Mon, May 22, 2023 at 9:48 AM Emil Sedgh @.***> wrote:

Thank you David.
—
Reply to this email directly, view it on GitHub
https://github.com/hwchase17/langchainjs/pull/1191#issuecomment-1556804853,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYKSQTLT33KVLN6NKLRNVI3XHMR6DANCNFSM6AAAAAAX37YK2E
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@jacoblee93 Thank you for the test. I pushed it to the branch.
How does this break the example?

@jacoblee93 Thank you for the test. I pushed it to the branch.
How does this break the example?

It doesn't return any links, while the old code does.

Thank you!


chore(deps): update dependency @types/express to v4.17.17

This PR contains the following updates:

Package
Type
Update
Change

@types/express
devDependencies
patch
4.17.13 -> 4.17.17

Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box.

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you check the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@typescript-eslint/parser
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS>|| ^6.0.0-alpha" from<EMAIL_ADDRESS>npm ERR!   node_modules/@typescript-eslint/eslint-plugin
npm ERR!     dev<EMAIL_ADDRESS>from the root project
npm ERR!   1 more (eslint-config-next)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@nx/eslint-plugin
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@nrwl/eslint-plugin-nx
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/@typescript-eslint/parser
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@nx/eslint-plugin
npm ERR!     dev<EMAIL_ADDRESS>from the root project
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!     node_modules/@nrwl/eslint-plugin-nx
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /var/folders/6v/c06plt297s75l4yjpgd_zfvr0000gn/T/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR!


spiram: Fix corrupting 1 kB of noinit data in spiram in 2T mode

The function psram_2t_mode_check() in esp_psram_impl_quad.c overwrites the first kilobyte of every megabyte with 0xff upon startup which may overwrite noinit data which should be preserved over reboots.
This patch fixes this by saving/restoring the tested memory.
The test size has been reduced from 41024 bytes to 4512 bytes just to keep the stack usage of the fuction within resonable limits (was 2048 bytes, now 1536 bytes).
Fixes #12395
(IDFGH-11231)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Overmann, Johannes seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Dump info about current track to /tmp/vkcli-tmp/current-track on SIGUSR1

For use in statusbars, like i3blocks.
$  kill -10 `pidof vk`
$  cat /tmp/vkcli-tmp/current-track
[0:31/1:40] Game of Thrones - Main theme

tyty


Explore mobile v1.0.1

Here is a follow up for minor issues outstanding, mainly visual changes
Icons

- should look like this, instead of sort there should be icon as well
- burger menu should be moved to the bottom row and have stroke and shadow
- if there is active filter we will add the same tag (count) to the icon as currently with sort by

- dont know how hard it is but maybe also stretch the other buttons so there is not gap and the screen is filled (in this case network button scaling till sort by is on the right side
Animation

add slide in animation - From left would be the best since the button is there

Menu

few visual changes here

change the title to 16px bold - when there is no distinction it could confused for filter section

remove dropshadow from reset all, it has too much contrast imo

👋

@yangwao @exezbcz @roiLeo  this icon isnt free on font awesome, how do we use it then?

@prachi00 i think we can use this icon instead for now
https://fontawesome.com/icons/filter?s=solid&f=classic
We can switch it once we've decided which icon set to use.

anyone working on this one? 👀

I'll raise a pr for whatever is done, its not fully done though

@exezbcz @yangwao this has been completed, we can close this one


[SSL: CERTIFICATE_VERIFY_FAILED]

How do I get this fixed its giving me an ssl error
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/danielcaminero/Library/Mobile Documents/com~apple~CloudDocs/SJ-000/pyda/pyda.py", line 32, in <module>
    res = client.query("hi")
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/wolframalpha/__init__.py", line 51, in query
    resp = urllib.request.urlopen(url)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 214, in urlopen
    return opener.open(url, data, timeout)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 517, in open
    response = self._open(req, data)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 534, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1385, in https_open
    return self.do_open(http.client.HTTPSConnection, req,
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1345, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1122)>

That error "self signed certificate in certificate chain" suggests that urllib.request.urlopen('https://api.wolframalpha.com') is somehow triggering the certificate validation failure in your environment. I suspect you have some service between your host and wolframalpha that's intercepting the traffic.
Are you able to able to run that command?

Probably this issue is unrelated to this library and you should search that error message in another forum. Probably, you just need to install trusted certificates or figure out why your traffic is being intercepted and disrupting the trust chain.


ModuleNotFoundError No module named 'haystack.reader'

Describe the issue
I encountered the following error while running the chatbot.py script:
Exception has occurred: ModuleNotFoundError
No module named 'haystack.reader'
  File "C:\GITREPO\File-Based-Chatbot\chatbot.py", line 7, in <module>
    from haystack.reader.farm import FARMReader
ModuleNotFoundError: No module named 'haystack.reader'

To Reproduce
Steps to reproduce the behavior:
Clone the repository: git clone https://github.com/chandru1003/File-Based-Chatbot.git
Run the script: python chatbot.py
What environment did you try to run the tutorial on?:

OS: [window 10 pro]
Processor [Intel core i3]
RAM : 4 GB
system type 64bit
editor: VS code

Additional context
I installed  pip install farm-haystack and pip install haystack
Screen Shot

The right package was farm-haystack and I can't reproduce the issue.
Now we recommend switching to Haystack 2.x.


SRVB: Service Binding object changes

Service Binding(SRVB) object changes

#3443

Nice. Could you please check that the test repo works with the changes?
https://github.com/abapGit-tests/SRVB
If it needs an update, please create a PR for it. Thanks!

Hi Shyam
I did some testing and there were a few issues. As I mentioned above, we always have to serialize the active version. Also, when deserializing, we create/update the inactive version and add the object to the activation queue. This will ensure that dependent objects can be activated together.
My changes are at https://gist.github.com/mbtools/dac02e5b5582c7d099f6d65db70311cb.
When testing with https://github.com/abapGit-tests/SRVB, the service binding deserializes properly. However, there are errors related to SUSH:

Could you please check if there's something missing in the test repo? Or is it an issue with the SUSH deserializer?

@shyambalachandran see above comment

@larshp and @mbtools. The de-serialization is not the issue. Post de-serialization the Service Binding object is in an inconsistent state and hence cannot be edited or opened. The inactive object thus created cannot be activated and will cause problems.

Is there any possibility to mark those generated objects as "generated" by SRVB? This attribute can be used to ignore such objects during pull run. The result should be a successful activation, right?

There's no "marking of objects" to skip them. You can use code (see https://github.com/abapGit/abapGit/pull/4976#issuecomment-953819396).
However, did you test the GIST I mentioned above? There's no skipping necessary. It works well for the test SRVB... except for the SUSH, which I think is not correct in the repo (or the SUSH deserializer).

Hi @mbtools .
I have created several PRs to correct the Test Repo https://github.com/abapGit-tests/SRVB. I want to delete all the objects except the Service Binding.
Skipping is necessary because the de-serialized object is in an inconsistent state. User cannot perform any CRUD operations on such an inconsistent object. We have to address that issue.
For now, I will take your changes and incorporate them into mine and make another submit. Please accept the PRs for the test repo so that I can use it again to test.

Test repo is cleared.

Dump on 7.54. -> Use the READ method for the existence check

Runtime Errors         DYN_CALL_METH_NOT_FOUND
Except.                CX_SY_DYN_CALL_ILLEGAL_METHOD
ABAP Program           ZCL_ABAPGIT_OBJECT_SRVB=======CP

 An attempt was made to call method "IF_WB_OBJECT_OPERATOR~CHECK_EXISTENCE" of
  class "CL_WB_OBJECT_OPERATOR". Method "IF_WB_OBJECT_OPERATOR~CHECK_EXISTENCE"
  could
 not be found in class "CL_WB_OBJECT_OPERATOR" however.

SRVB is not a DDIC object that is supported by mass activation (see include RADMASUTC form ma_tab_check). -> Here's what it needs to be

  METHOD zif_abapgit_object~get_deserialize_steps.
    APPEND zif_abapgit_object=>gc_step_id-abap TO rt_steps.
  ENDMETHOD.

  METHOD zif_abapgit_object~get_metadata.
    rs_metadata = get_metadata( ).
    rs_metadata-delete_tadir = abap_true.
  ENDMETHOD.

Test case -> Please update https://github.com/abapGit-tests/SRVB with a working example

@mbtools , thanks for the approval.
As for the third point, this REPO is consistent. The REPO should contain ONLY the Service Binding( and possibly Service Defintions ) but NOT the generated SUSH or Gateway Artifacts.

welcome to abapGit as a contributor 🎉


Fixing maps

Pull Request Test Coverage Report for Build 876896324

17 of 17 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 876622245:
0.0%

Covered Lines:
1136

Relevant Lines:
1136

💛  - Coveralls


[Feature Request]: adding Chatbot✨

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I want to add a chat bot to this website, which will be fine tuned to user requirements
can you please assign me this task.
Priority
High
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

I want to contribute to this issue and fix this ASAP. I will use Dialogflow or Microsoft Bot Framework for this issue and customise the bot for better productivity. Please consider.
Regards

I want to contribute to this issue and fix this ASAP. I will use Dialogflow or Microsoft Bot Framework for this issue and customise the bot for better productivity. Please consider.

Hii !!
I want to contribute to this project please assign me this issue.

I would like to work on this issue. Could you please assign me this task


supplier details editing: redirect old route for this view

https://trello.com/c/MD0JKN5Q/41-2-create-organisation-details-page
To satisfy QA

We could have a test for it... ¯\(ツ)/¯
But :+1:

We could.


Improvements on the way the string is tokenized.

Currently, the way the string input is tokenized is just using a simple split method.
Perhaps using a better tokenize library would give better results. For example here

Can I work on this?


Update Translations.md

issue #94
Replaced language flags with names in Translations.md

@ghanghavmayur
Thanks for the work you've done!

@gomzyakov
You're welcome!


Update readme for extension catalog

Is your enhancement related to a problem? Please describe
The Red Hat Image Checker extension will now appear in the Podman Desktop extension catalog.
Describe the solution you'd like
We need to:

Update the installation instructions
Make sure the readme looks good inside PD (e.g. likely means absolute paths for images)

Describe alternatives you've considered
No response
Additional context
No response

note: There is a README.md included in the extension but this one is empty
https://github.com/redhat-developer/podman-desktop-image-checker-openshift-ext/blob/main/podman-desktop-extension/README.md
so this is the one being displayed when extension is installed.
During building the extension, it should take the README of the repository, not the one from the extension folder which is empty


fix(progressbar, spinner): fix some accessibility issues with labeling

Codecov Report

Merging #274 (c116f28) into dev (7fcf8c3) will decrease coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #274      +/-   ##
==========================================
- Coverage   92.55%   92.49%   -0.06%
==========================================
  Files         119      119
  Lines        3183     3185       +2
  Branches     1073     1073
==========================================
  Hits         2946     2946
- Misses        110      111       +1
- Partials      127      128       +1

Impacted Files
Coverage Δ

...s/react-magma-dom/src/components/Spinner/index.tsx
100.00% <ø> (ø)

...act-magma-dom/src/components/ProgressBar/index.tsx
100.00% <100.00%> (ø)

...act-magma-dom/src/components/Dropdown/Dropdown.tsx
82.60% <0.00%> (-2.90%)
:arrow_down:

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 7fcf8c3...c116f28. Read the comment docs.


Unable to download 'ffmpeg-win32-v3.2.4.exe'

https://pastebin.com/h7dMdnGv

bump

manually install
##try this:
#open python3 in terminal
Python 3.6.6 |Anaconda, Inc.| (default, Jun 28 2018, 17:14:51)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import imageio
>>> imageio.plugins.ffmpeg.download()

>>> import imageio
>>> imageio.plugins.ffmpeg.download()

Worked for me in Python 3.7.4 btw. Thanks.


Feature request: save xmlhttpreqeust file to tmp directory

echo $TMPDIR shows us the temporary directory path used by many other applications. ganache-cli also may use this directory to save .node-xmlhttprequest-sync-* files instead of pwd of running ganache-cli.

Closing due to age. @4000D 	please open a new issue if this is still an issue.


Add ability to add projects to sub-directories

Example:
api/squibby.deploy:
$(SLS...)
api/nutella.deploy:
$(SLS...)
ml/rodent-classifier.deploy:
$(SLS...)
Testing:

 ICMK: Add ability to add projects to sub-directories

LGTM

@AutomationD comments fixed, anything else?

Good question. I’d say no at this point.
On Fri, Feb 5, 2021 at 8:28 PM ANDREI ANDRYIEUSKI<EMAIL_ADDRESS>wrote:

@andrei-andryieuski commented on this pull request.
Can we have the services with the same names in different subfolders?
And how can we process this occasion ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hazelops/icmk/pull/124#pullrequestreview-584599153,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANVFAV6WVH3ICPK5PQPEN3S5Q2EDANCNFSM4XBT4ARQ
.

--
*Dmitry Kireev *| Founder
HazelOps
SRE and DevOps Consulting
https://hazelops.com

Can we have the services with the same names in different subfolders?
And how can we process this occasion ?

@AutomationD @andrei-andryieuski I can't see any problems if you specify <sub-dir>/<service_name>.any_action as a target. Any objections?


Can't connect to internet without connecting to a vpn

Windows Version
Microsoft Windows [Version 10.0.22631.4037]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-microsoft-standard-WSL2
Distro Version
Debian GNU/Linux 12 (bookworm) on Windows 10 x86_64
Other Software
No response
Repro Steps
I tried Windows, WSL, and distro clean installation, so I don't know how to reproduce it.
Expected Behavior
I should be able to connect to the internet without using a VPN
Actual Behavior
I can't access the internet from WSL without using a VPN. The ping command works, but other activities don't.

Diagnostic Logs
C:\Users\elora>cmd.exe --version
Microsoft Windows [Version 10.0.22631.4037]
(c) Microsoft Corporation. All rights reserved.

➜  elora traceroute www.microsoft.com
traceroute to www.microsoft.com (<IP_ADDRESS>), 30 hops max, 60 byte packets
1  <IP_ADDRESS> (<IP_ADDRESS>)  0.744 ms  0.685 ms  0.652 ms
2  <IP_ADDRESS> (<IP_ADDRESS>)  2.113 ms  2.083 ms  2.050 ms
3  <IP_ADDRESS> (<IP_ADDRESS>)  8.268 ms  8.239 ms *
4  <IP_ADDRESS> (<IP_ADDRESS>)  2.259 ms * *
5  * * *
6  * * *
7  * * *
8  * * *
9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
strace: https://gist.github.com/eloraa/790255be43a89969e877fff1a58eebd9
network logs: WslNetworkingLogs-2024-09-06_11-42-59.zip
### Tasks
- [ ] internet doesn't work without a VPN

bump

thanks for reporting the issue and sending logs
In the windows packet capture I did not see traffic coming from WSL (I did not see traffic with source <IP_ADDRESS>, which is the IP assigned in Linux). I also did not see traffic with the IP from your screenshot (<IP_ADDRESS>)
to make sure I understand the issue correctly, does curl google.com work when the VPN is connected? and it does not work when the VPN is disconnected? could please collect a new set of networking logs where you do the following?
start networking logs
have the VPN disconnected
curl google.com in WSL, confirm it does not work
connect the VPN
curl google.com in WSL, confirm it works
stop networking logs
some other things that would be useful to know:
what is the name of the VPN product you are using?
does the problem happen when using networkingMode=mirrored?

thanks for reporting the issue and sending logs In the windows packet capture I did not see traffic coming from WSL (I did not see traffic with source <IP_ADDRESS>, which is the IP assigned in Linux). I also did not see traffic with the IP from your screenshot (<IP_ADDRESS>)

I'm not sure about this. I just ran everything described in the readme and uploaded it.

to make sure I understand the issue correctly, does curl google.com work when the VPN is connected? and it does not work when the VPN is disconnected? could please collect a new set of networking logs where you do the following? start networking logs have the VPN disconnected curl google.com in WSL, confirm it does not work connect the VPN curl google.com in WSL, confirm it works stop networking logs

I have already provided the screenshots. The top one is without a VPN, and the bottom one is with a VPN, which is working. I will include logs for both situations.

some other things that would be useful to know: what is the name of the VPN product you are using? does the problem happen when using networkingMode=mirrored?

Any type of VPN works. It doesn't matter which one. Also, no, the problem doesn't occur when using networkingMode=mirrored


Please wrap Vec in a type that implements Error

Since the FromStr impl for Value returns a Result<Value, Vec<ParserError>>, and Vec<ParserError> doesn't implement Error, it doesn't work well with try! or ?.  Please consider wrapping it in a type that implements Error (and Display and Debug), to simplify error handling.
(This represents a breaking change, like #69, and should likely occur in the same version bump.)

I'd love to do this but yeah would require a breaking change, so I'd like to postpone rethinking most of the API of this crate until that happens.

I've rewritten the parser in the serde 0.9 rewrite https://github.com/alexcrichton/toml-rs/pull/137 and this should be handled

Fixed in #137


Update index.md

Fix API link
Fix guides link

Eyh! Thanks, I thought Vitepress gave errors on these... and where have I seen you before? 😅


standardize inner thoughts terminology

Currently, there are several terms that refer to the same concept in the repo:

inner thoughts
inner monologue
internal monologue
To avoid confusion, these should be standardized to a single name eg. "inner thoughts," and we should only have different terminology if we add additional conceptual differences i.e. thoughts that are only visible to a single agent in a mult-agent system.

The current stream response should have more well defined spec . Also leverage opeai feature so that clients can building much more flexible rendering capabilities .
Example
Based on type of response (md, csv, chart, code, image, diff, data payloads etc ), one should able to design rendering plugin components... even its possible the executable plugins can be part of stream response. The UI execution sandbox within the browser can safely execute those executable plugins


Target ignores the reset of a bloc state and triggers the animation

Hey,
I'm new to flutter, bloc and flutter_animate, so I'm kind of sure that it's about me and not the nice library.  I reduced my problem into a simple example. Main parts are

a bloc that contains states an logics
a main containing the widgets with:

3 buttons (add, remove, submit)
4 rows with 4 text fields each

The submit button sets the state to unknow guess for the row and the row shakes to visualize a wrong entry. The remove function removes a letter from the guess and resets the state to initial. The row shouldn't shake but it does.

I've set a target value so it shouldn't shake and I can't figure out why.
class BoardRow extends StatelessWidget {
  const BoardRow({super.key, required this.guess});

  final Guess guess;

  @override
  Widget build(BuildContext context) {
    return Row(
      mainAxisAlignment: MainAxisAlignment.center,
      children: guess.letters
          .map(
            (letter) => BoardTile(letter: letter),
          )
          .toList(),
    )
        .animate(
          target: guess.status.isUnknown ? 1 : 0,
        )
        .shakeX(
          duration: 750.milliseconds,
          hz: 65,
        );
  }
}

I've attached all sources of the example app.
Can anybody help me to fix this?

flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.22.1, on Microsoft Windows [Version 10.0.22631.3593], locale de-DE)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2019 16.10.3)
[√] Android Studio (version 2023.2)
[√] VS Code (version 1.89.1)
[√] Connected device (3 available)
[√] Network resources

• No issues found!

- flutter doctor -v
[√] Flutter (Channel stable, 3.22.1, on Microsoft Windows [Version 10.0.22631.3593], locale de-DE)
    • Flutter version 3.22.1 on channel stable at C:\Programme_dev\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a14f74ff3a (13 days ago), 2024-05-22 11:08:21 -0500
    • Engine revision 55eae6864b
    • Dart version 3.4.1
    • DevTools version 2.34.3

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Programme_dev\AndroidStudio\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2019 16.10.3)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.10.31424.327
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2023.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)

[√] VS Code (version 1.89.1)
    • VS Code at C:\Users\Wilko\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.90.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.3593]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 125.0.6422.142
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 125.0.2535.67

[√] Network resources
    • All expected network resources are available.

• No issues found!

bloc_list_example.zip

I've created the animations on my own. Works fine now. Can be closed


Client takes ages/hangs during shutdown while displaying "Closing database..."

This seems to be a known issue with Apache's log4j v1.x deadlocking.
Fix is to migrate to log4j2!
There's a "log4j2" branch on catbref's fork under test, to be merged.

Merged into release v0.26.3


About Me

Is your feature request related to a problem? Please describe.
Am an emotional where oppositions idealogy matter's
Describe the solution you'd like
I would like to build solutions rather than complaining about them
Describe alternatives you've considered
Make it don't say
Additional context
where there is a will there is a outcome

done


ingest trait table data from

From this resource and paper:
https://github.com/bacteria-archaea-traits/bacteria-archaea-traits
https://www.nature.com/articles/s41597-020-0497-4
Specifically the output file with NCBI taxon ids:
https://github.com/bacteria-archaea-traits/bacteria-archaea-traits/blob/master/output/condensed_traits_NCBI.csv

@realmarcin is this done? also remember to assign tickets!

One of the tasks here is to provide a brief description of how each column is mapped

This is done for now, but future iterations will involve further concept and relationship modeling.


Remove direct DOM manipulation

In some components the DOM gets manipulated directly. If possible CSS variables

Every unnecassary DOM manipulation is removed except for DatePicker. The topic will be continued in ticket #93 and this ticket will be closed.


cannnot install in laravel 6

this package cannot install in laravel 6

PR #60 will fix this.

@brexis Can you please tag a new version? The 1.3.2 version seems to be created BEFORE #60 was merged.
It's still not possible to install with Laravel 6 as 1.3.2 doesn't have the updated composer.json file.

@arjanwestdorp Sorry about that. Can you try the version 1.3.3 and let me know.

Works fine now. Thanks!


Remove notifications one by one

As a user I would like to remove notifications as read one by one. At this moment, Pontoon does not support this (bug 1413912), but the add-on can hold the state for each individual notification and mark all notifications as read in Pontoon after all are marked as read in the popup.

Opening a discussion on Pontoon if such behaviour (and API on Pontoon side) is actually desired. https://github.com/mozilla/pontoon/issues/2506

Based on https://github.com/mozilla/pontoon/issues/2355 this feature is not really desired, so I am closing this for now. There is still the option for #69 to be implemented solely in Pontoon Add-on though.


update refresh token flow

i try to fixing the refresh token bug, i just replace the jrt cookie and replace them with refreshToken Header

For security proposals the refresh token should be an http-only token, not visible on local storage. I'll try to adress this issue soon.

For security proposals the refresh token should be an http-only token, not visible on local storage. I'll try to adress this issue soon.

refreshToken

Hi!
I'm having a problem with losing session with + - 5m, do you think your solution would solve this?

refreshToken

Hi!
I'm having a problem with losing session with + - 5m, do you think your solution would solve this?


ocamlPackages.mlgmpidl: 1.2.6 -> 1.2.7

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[x] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build framac

Success on x86_64-linux (full log)
Attempted: framac
Partial log (click to expand)
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
/nix/store/s039dmfdy9py58prp86iywks62mrqvbx-frama-c-20180502

Success on x86_64-darwin (full log)
Attempted: framac
Partial log (click to expand)
post-installation fixup
gzipping man pages under /nix/store/lykl5mld9r8c2wwyhg1drkv1jmb5xvmi-frama-c-20180502/share/man/
strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/lykl5mld9r8c2wwyhg1drkv1jmb5xvmi-frama-c-20180502/lib  /nix/store/lykl5mld9r8c2wwyhg1drkv1jmb5xvmi-frama-c-20180502/bin
patching script interpreter paths in /nix/store/lykl5mld9r8c2wwyhg1drkv1jmb5xvmi-frama-c-20180502
/nix/store/lykl5mld9r8c2wwyhg1drkv1jmb5xvmi-frama-c-20180502/bin/e-acsl-gcc.sh: interpreter directive changed from "/bin/sh -e" to "/nix/store/cblfnvb5rmhd2z231mqasn0brzh1hhv4-bash-4.4-p23/bin/sh -e"
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/lykl5mld9r8c2wwyhg1drkv1jmb5xvmi-frama-c-20180502/share/frama-c/analysis-scripts/parse-coverage.sh: interpreter directive changed from "/bin/bash" to "/nix/store/cblfnvb5rmhd2z231mqasn0brzh1hhv4-bash-4.4-p23/bin/bash"
/nix/store/lykl5mld9r8c2wwyhg1drkv1jmb5xvmi-frama-c-20180502/share/frama-c/analysis-scripts/cmd-dep.sh: interpreter directive changed from "/bin/bash" to "/nix/store/cblfnvb5rmhd2z231mqasn0brzh1hhv4-bash-4.4-p23/bin/bash"
/nix/store/lykl5mld9r8c2wwyhg1drkv1jmb5xvmi-frama-c-20180502

Failure on aarch64-linux (full log)
Attempted: framac
Partial log (click to expand)
builder for '/nix/store/a7br4i8030if6yd6sgfmyjd6qr5q9g8n-ocaml-4.05.0.drv' failed with exit code 2
cannot build derivation '/nix/store/3ccgqgddiy470xi1lah528c4f0dhi4ly-ocaml-findlib-1.8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/q2zvajjypi0pl87j4g1405x6xa5x6i2a-camlzip-1.07.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/40m6qa264sirywdv2zdg8xh0slhwp929-lablgtk-2.18.5.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/znq3nl5lrxf4xsrjsypjimg7snc1zpq7-ocaml4.05.0-ocplib-simplex-0.3.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/hwy70zm2js7nk2n27lf9jxs4krnhsyfw-zarith-1.7.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/yzjgflkqdaiqcqp9q5igficyx9b9nxxr-ocamlgraph-1.8.8.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/6asxqhbj63la8bvq2hnymmc3q2kjfzlf-alt-ergo-1.30.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/hsas6djlmdg800w0wf4sizmr2yabw7q4-frama-c-20180502.drv': 3 dependencies couldn't be built
error: build of '/nix/store/hsas6djlmdg800w0wf4sizmr2yabw7q4-frama-c-20180502.drv' failed

Update should be fine, could independent from this pull request also disable the ocaml version for aarch64?

@GrahamcOfBorg build ocamlPackages.mlgmpidl

Success on x86_64-linux (full log)
Attempted: ocamlPackages.mlgmpidl
Partial log (click to expand)
Installed /nix/store/lawnqlkzxzw0jmykcqls73424rl742iq-ocaml4.06.1-mlgmpidl-1.2.7/lib/ocaml/4.06.1/site-lib/gmp/META
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/lawnqlkzxzw0jmykcqls73424rl742iq-ocaml4.06.1-mlgmpidl-1.2.7
shrinking /nix/store/lawnqlkzxzw0jmykcqls73424rl742iq-ocaml4.06.1-mlgmpidl-1.2.7/lib/ocaml/4.06.1/site-lib/gmp/gmp.cmxs
shrinking /nix/store/lawnqlkzxzw0jmykcqls73424rl742iq-ocaml4.06.1-mlgmpidl-1.2.7/lib/ocaml/4.06.1/site-lib/gmp/dllgmp_caml.so
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/lawnqlkzxzw0jmykcqls73424rl742iq-ocaml4.06.1-mlgmpidl-1.2.7/lib
patching script interpreter paths in /nix/store/lawnqlkzxzw0jmykcqls73424rl742iq-ocaml4.06.1-mlgmpidl-1.2.7
checking for references to /build in /nix/store/lawnqlkzxzw0jmykcqls73424rl742iq-ocaml4.06.1-mlgmpidl-1.2.7...
/nix/store/lawnqlkzxzw0jmykcqls73424rl742iq-ocaml4.06.1-mlgmpidl-1.2.7

Success on x86_64-darwin (full log)
Attempted: ocamlPackages.mlgmpidl
Partial log (click to expand)
Installed /nix/store/yd5an5faqrv8g1pylq56138yva84w1di-ocaml4.06.1-mlgmpidl-1.2.7/lib/ocaml/4.06.1/site-lib/gmp/mpf.idl
Installed /nix/store/yd5an5faqrv8g1pylq56138yva84w1di-ocaml4.06.1-mlgmpidl-1.2.7/lib/ocaml/4.06.1/site-lib/gmp/mpq.idl
Installed /nix/store/yd5an5faqrv8g1pylq56138yva84w1di-ocaml4.06.1-mlgmpidl-1.2.7/lib/ocaml/4.06.1/site-lib/gmp/mpz.idl
Installed /nix/store/yd5an5faqrv8g1pylq56138yva84w1di-ocaml4.06.1-mlgmpidl-1.2.7/lib/ocaml/4.06.1/site-lib/gmp/gmp_caml.h
Installed /nix/store/yd5an5faqrv8g1pylq56138yva84w1di-ocaml4.06.1-mlgmpidl-1.2.7/lib/ocaml/4.06.1/site-lib/gmp/META
post-installation fixup
strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/yd5an5faqrv8g1pylq56138yva84w1di-ocaml4.06.1-mlgmpidl-1.2.7/lib
patching script interpreter paths in /nix/store/yd5an5faqrv8g1pylq56138yva84w1di-ocaml4.06.1-mlgmpidl-1.2.7
/nix/store/yd5an5faqrv8g1pylq56138yva84w1di-ocaml4.06.1-mlgmpidl-1.2.7

Failure on aarch64-linux (full log)
Attempted: ocamlPackages.mlgmpidl
Partial log (click to expand)
ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpfrf.ml
ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -a -o gmp.cmxa mpz.cmx mpq.cmx mpf.cmx mpfr.cmx gmp_random.cmx mpzf.cmx mpqf.cmx mpfrf.cmx \
-cclib -lgmp_caml -ccopt -L/nix/store/72028dlf77c6id31xf365krrfxdyyczn-ocaml4.06.1-mlgmpidl-1.2.7/lib/ocaml/4.06.1/site-lib//stublibs -ccopt -L/nix/store/72028dlf77c6id31xf365krrfxdyyczn-ocaml4.06.1-mlgmpidl-1.2.7/lib/ocaml/4.06.1/site-lib//gmp -ccopt "-I/nix/store/lcxmk641jv3vsgdv4hrypb0v7clzhq39-gmp-6.1.2-dev/lib -I/nix/store/qr0s0kifm777r9z9akl2fy7ksvi0v98n-mpfr-4.0.1-dev/lib -L/nix/store/qzsja41zxyp12x4w03djq3k3rhq8qzww-ocaml-4.06.1 -L/nix/store/qzsja41zxyp12x4w03djq3k3rhq8qzww-ocaml-4.06.1/stublibs -L -lmpfr -lgmp -lcamlidl" -ccopt -L/nix/store/qzsja41zxyp12x4w03djq3k3rhq8qzww-ocaml-4.06.1 -ccopt -L -ccopt -L/nix/store/lcxmk641jv3vsgdv4hrypb0v7clzhq39-gmp-6.1.2-dev/lib -ccopt -L/nix/store/qr0s0kifm777r9z9akl2fy7ksvi0v98n-mpfr-4.0.1-dev/lib  -cclib -lmpfr -cclib -lgmp -cclib -lcamlidl
ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -linkall -shared -o gmp.cmxs -I . gmp.cmxa
ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20  -c -o mpz.p.cmx mpz.ml
Profiling with "gprof" is not supported on this platform.
make: *** [Makefile:276: mpz.p.cmx] Error 2
rm gmp_caml.o mpz_caml.o mpf_caml.o mpq_caml.o gmp_random_caml.o mpfr_caml.o
builder for '/nix/store/cb9dci70337183aaaibgz83lpmyk17gr-ocaml4.06.1-mlgmpidl-1.2.7.drv' failed with exit code 2
error: build of '/nix/store/cb9dci70337183aaaibgz83lpmyk17gr-ocaml4.06.1-mlgmpidl-1.2.7.drv' failed


replaces all occurrences of base path

I noticed that as per this PR https://github.com/loteoo/hyperstatic/pull/21 still not all occurrences are being replaced. Using a regex will solve this issue as also proposed in the comments

Thanks @mdings :)

Thanks @mdings :)


Prompt for confirmation when removing all breakpoints.

When trying to delete a single breakpoint, it's not super uncommon for me to accidentally click the Remove All Breakpoints context menu button instead (they are right beside each other and very similarly named). Which can be really annoying when I have quite a few breakpoints set across multiple files.
This is obviously my fault, but I don't think it would be unreasonable to add a confirmation prompt to this feature to save me from myself. I'm guessing that I'm not alone in making this blunder either.
Thanks!

Sure, but do you always use the context menu to delete breakpoints? Would it be safer to click the X button on the bp row in the debug sidebar, or click the red dot in the editor gutter?

That would certainly be safer and is honestly not something I had noticed
until now. Woops. Will try to get in the habit of using that instead. Thank
you!
On Wed, Aug 24, 2022 at 6:14 PM Rob Lourens @.***>
wrote:

Sure, but do you always use the context menu to delete breakpoints? Would
it be safer to click the X button on the bp row in the debug sidebar, or
click the red dot in the editor gutter?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/159100#issuecomment-1226659795,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE6YFWNAPK7NAH2US5ICUA3V23CFTANCNFSM57QVY6MA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Update FontAwesome 5 to 5.14.0

Update Unicode values of some icons
Added deezer, edge-legacy, google-pay, rust, tiktok, and unsplash icons

Changelog: https://fontawesome.com/changelog/latest

Well, it seems I need to modify a few more files in order to fully comply. Will be doing this later today.

Updated the meta files and added the new icons to the free version files as well.
Added the new font files

Anyone to review this? I need these updates on my work project. Did I miss anything?

I am also using this in production; I would love an update! Thank you for putting in the work, @samuelpetroline 🙏

@KristenLeach if you really need this in production you can change your package.json to this:
   "react-native-vector-icons": "git://github.com/samuelpetroline/react-native-vector-icons.git#master",
Note that this is a workaround

Hey @samuelpetroline, thanks for creating this PR, ran into the same issue. Using your fork for now works as a workaround, I can confirm that my issue is fixed.

@samuelpetroline Thanks so much for bumping FontAwesome 5! My co-maintainer that did this dropped off due to personal reasons, so sorry for the slow turnaround.
When I tested this locally some of the new icons added showed up as question marks in the icon explorer, such as caravan-alt, sink and users-slash. It's possible that the font files are out of sync with the JSON glyphmaps. Would you mind running the script once again?

@samuelpetroline Thanks so much for bumping FontAwesome 5! My co-maintainer that did this dropped off due to personal reasons, so sorry for the slow turnaround.
When I tested this locally some of the new icons added showed up as question marks in the icon explorer, such as caravan-alt, sink and users-slash. It's possible that the font files are out of sync with the JSON glyphmaps. Would you mind running the script once again?

Any update on this? We ran into an issue using an icon (people-arrows) that was introduced in 5.13.0 but the mapping has changed and we are on the latest: 15.5.2
We're just downgrading to 5.13.0 in the meantime but it would be nice to stay up to date.

@oblador @hampustagerud would be super cool if someone with write access can shortly review the Fontawesome #1234 and Ionicons #1304 bump to have access to the new icons. Thx!

I'm so sorry for the late response, I totally forgot about this!
I just ran the script, can anyone review?
@oblador @flobraeuer

Any update on this? Interested in some of the icons in this version


Store vat rates in local file and add failover client

As jsonvat.com had another certificate issue today I decided to add a client that loads the vat rates from a local file (data from jsonvat.com).
As the file needs to be updated from time to time, I implemented a failover client that tries to fetch data from one client (jsonvat.com) and falls back to another one (the local client) if the first fails. So one can get the current rates, but does not need to fear outages when jsonvat.com is down (even though in that case it's possible to work with outdated data)
fixes #5 and #2
Tests are failing because I added a test case for jsonvat.com which is currently "down" (SSL certificate error) :wink:

Hey @digilist,
Just seeing this now, thanks for building it!
I'm a little afraid of this causing outdated rates if we fail to update this library in a timely manner. Would some kind of self-updating mechanism be usable here? Where each successful call to jsonvat.com updates the local data file. Just thinking out loud.
In our own projects I never rely on jsonvat.com directly but store all VAT rates in our local database and then update them periodically.

Yes, great idea. I considered the stored rates as failover only, so I accepted outdated data. But this is actually not very good, that's right.
What do you think about adding a file path to the normal client to store the fetched data and an optional parameter for the LocalJsonVat client that defaults to the saved data, but can be used to load the previously saved data?


Importing! service_worker crashes my app with CastError- 'Casting form DartObjection to MdlComponent' is not possible

I already filed a bug report here: https://github.com/isoos/service_worker/issues/3 because first I thought it's a service_worker-bug...
However - if I include!!! service_worker-lib, not function is used, only service_workers default objects are generated, it crashes my app. I'm using core:js for adding properties to browserObjects (I upgrade standard HTML Elements).
It crashes only in Chrome with the very strange error message CastError - DartObject to incompatible type MdlComponent - what the heck is going on here? It works with Dartium btw.
Do you have a solution for me? I'm not really sure if this is a bug or if I'm just missing something.
Here is the GH-Repo: https://github.com/MikeMitterer/dart-sunshine
Master works but the test_cast_error branch fails: https://github.com/MikeMitterer/dart-sunshine/tree/test_cast_error
This video shows the crash. (0:58)
dart_bug-service_worker.mp4.zip

I believe package:js would be required for doing this, unfortunately.


Report Bug

This is my Enchantment.yml
I do not know why it is defective
Help me!!!
I from Vietnam
https://pastebin.com/1V7esJ7u

It was just a simple broke YML format.
The issue was you removed a '

Fixed File: https://pastebin.com/NtPAYtMr


Accept large integer values in JSON decoders

In 0.17, decoding integer values larger than<PHONE_NUMBER> from JSON fails:
UnexpectedPayload "Expecting an Int at _.foo.bar but instead got:<PHONE_NUMBER>"
This change seems to fix the issue. It's basically reverting to the logic used in 0.16 with the return values changed to match the API used in 0.17.

Here's the commit where this was changed FYI

I guess I failed at De Morgan's Law. Thanks for the fix!


Implement Spork 2 InstantSend Signing signaling

This PR implements a new Spork, SPORK_24_INSTANTSEND_SIGNING_ENABLED
Previously, the Dash network has seen InstantSend fail under extremely high load. These IS failures have resulted in diminished or non-operational chainlocks. We have worked to heavily optimize IS creation and propagation with the implementation of Concentrated Recovery as well as just pure optimization, however even with that, so much CPU can only do so much. It is likely that in order to massively scale InstantSend masternodes will need to upgrade their hardware. However, with current average usage, it makes almost no sense for masternodes to upgrade, as current hardware easily handles average load.
To mitigate these InstantSend failures further, there are a number of improvements we should investigate.

Implementation of Dynamic Fees based on mempool usage
Implementation of Dynamic Fees based on transaction throughput
Implementation of Dynamic Fees based on average InstantSend Lock creation time

There are also some future optimizations to look into (I haven't thought TOO much about these options so :shrug: )
4. Implementation of Input Lock batch creation & / or InstantSend Lock batch creation
5. Implementation of Input Lock batch propagation
I propose that even in the case that IS becomes overloaded, potentially in a sustained attack lasting a week or more, ChainLocks should remain operational. In order to achieve this, I propose that InstantSend be disabled in the case of InstantSend failures resulting in diminished or non-operational ChainLocks.
We could achieve this currently by simply disabling Spork 2, however I think that this has a couple of problems. After we disable spork 2, transactions that had previously been locked will no longer retain the protections of instantsend. Additionally, normal miners will no longer only include "safe" transactions. By introducing this Spork24, we can first disable spork24, at this point MNs will stop creating new input locks or instantsend locks for transactions only in mempool (however we keep creating islocks for transactions included in a block such that that block can be CLed ASAP). Once no transactions on the network are ISlocked, then Spork 2 can safely be disabled. At this point, miners can include any valid transactions (not just "safe" txes), and those blocks will be CLed.
LMK if you think of a better way to achieve this, it may be possible to just modify the behavior of Spork2, but I think this approach may be safer.
EDIT: Changed to using spork2 value 1 as indicating no mempool signing

See latest


Program Hangs When a Thread is not an image

RCW hangs on setting a background if the thread it selected is not an image thread, this is an issue because the reddit i want to use also contains other forms of media such as albums and videos (r/eveporn)
included log
RWC.txt

i looked into the code, an easy fix would be to do a check to see if the URL ends in a supported image format in the setwallpaper fucntion

Thanks for the info. I'll get this ironed out for the next release. :)

Added a check to ensure URL is for an image in <IP_ADDRESS>


Init the contributing.md for ot/spec.

Add a statement about How about the contribution and governance model from gitter. Although the OpenTracing Team Members List is out-of-date.

at this point I have a reasonable sense of which people typically care about which sorts of things
maybe it’s time to do something more formal… /shrug, open to opinions.

I think this is the first step. And we should set a formal OpenTracing Team Members List.
If there is any English-language issue, please help me fix them. 😝

Thanks for kicking this off... rather than nit-picking your English, I will just write a parallel version and send it out as a separate PR.

@bensigelman , It's  up to you.😎

These were two issues https://github.com/opentracing-contrib/meta/issues/2 and https://github.com/opentracing/specification/issues/30, which are related to the contributing and formal members ( or reviewer team ).
I think we should deal with these things. Last time, I and @pavolloffay bring this up, is one month ago. :p
@bensigelman @yurishkuro @michaelsembwever thoughts?

See #39... they are not exactly the same thing, though.


Mass Differences... Are they a transitive property?

Hi All,
A Specific Example:
MOD:00394 is "acetylated residue" with a mass difference of ~42... however, MOD:00648 is for N,O-diacetylated L-serine, which points up MOD:00394 (through MOD:00647, acetylated L-serine) ... the mass difference of MOD:00648 is ~84 (2x42)... All of the other children of MOD:00394 have a Mass difference of 42... should we address this?
More generally, is it understood/accepted that mass difference is transitive through the is_a relationship? If MOD_A is_a MOD_B MUST DiffMassA==DiffMassB? further... if MOD_B is_a MOD_C, MUST DiffMassA==DiffMassC?
@rfellers is working on a mapping project with the new ProForma standard and this question sort of came up while we were trying to hash identical proteoforms...
Thoughts?

I am uncertain, but I would lean yes. Maybe the top parent term should be "acetylated residue" without a mass, and then abstract children "monoacetylated residue" and "diacetylated residue" would be the first to carry a mass and have MOD:00647 et al. as children as appropriate?

I agree with Eric's suggestion.
Sylvie.
Le 14/12/2020 à 22:41, Eric Deutsch a écrit :

I am uncertain, but I would lean yes. Maybe the top parent term should
be "acetylated residue" without a mass, and then abstract children
"monoacetylated residue" and "diacetylated residue" would be the first
to carry a mass and have MOD:00647 et al. as children as appropriate?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/HUPO-PSI/psi-mod-CV/issues/47#issuecomment-744728128,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJD23Z7LTXHW2TKPYSXHT3TSU2A75ANCNFSM4U3G5LAQ.

So, I'll add that disambiguation in the next PR candidate... but what about the general case... MUST parent term mass differences be identical to their children to ensure the transitive nature of the is_a relationship?  I think they MUST... based on this paper from Barry Smith.

Given this, I think we need to look at all of the is_a relationships and determine if is_a is the right way to go... For instance... there are some PTMs that are both hydroxylated and methylated... those, by rule shouldn't be related by the "is_a" relationship to methylated residue and/or hydroxylated residue, because those are just partial relationships and should probably be reclassified to "part_of" instead.

I think the answer is probably yes, but I am uncertain. Perhaps examining some more examples is a good way to get comfortable with it. Using part_of seems reasonable in the way that you describe, although I'm not certain I understand. part_of seems useful for a subcomponent. But what about a superset? Are you contemplating a single PTM that is hydroxylated and methylated that is a parent to a hydroxylated PTM or a child of a hydroxylated PTM?

I need to read that paper a bit more fully (and maybe email with a couple of folks I know in the ontology community) and see what the best relationship would be... Maybe the better one would be "has_part" instead of "part_of" or "derives_from"

It seems tidier to me to always list parents, rather than sometimes parents and sometimes children.

agreed, I would want to keep the directionality one-way "up the tree" (and let people use conventional logic to reason down the tree) it's just a matter of selecting the correct relationships.  In the current PR for the di-acetyl, it's just one-way.  I simply deleted the unmatched is_a's.

ah, okay, I just brought it up because "has_part" goes the other way?

@rfellers, being the awesome guy he is, wrote a script to look for these issues of transitivity and I'm addressing them in the next push. Fun fact, just over 100 issues existed across all of the 3000+ is_a relationships, so knocking them out shouldn't be too hard.

awesome! Many thanks to you both for really tidying PSI-MOD up!


Cleanup OpenCensus usage.

Remove unnecessary registration of the grpc methods for grpcz.
Add unknown status for BigtableTable methods that can throw exceptions.
Fix 2 issues in getScanner related to closing the spans when an exception throws.

@bogdandrutu, is this PR ready to be merged?

@sduskis now it is.

FWIW, Beam upgraded its dependencies, so the move away from Closeable should work once a new Beam release is performed.


Setup & Deploy to Staging Server

Every commit to master, the code should be auto-deployed to staging (after/if tests pass).

first part of this issue is done in #45 - building deployment package automatically on every commit to master and upload this package to slack
next step is to do the actual deployment of this pacakge (simple bash script can do it..)

this is a duplicate of #31


Introducing Platform implementation for react-native

This PR introduces the platform implementations for react-native (at least partially).
Included is:

ble
crypto
network (UDP)
As storage we use the StorageBackendMemory, so nothing is persisted as of now. A Storage backend would still be needed mid-term

I also marked it "experimental" for now.
Iwould like to merge after review and then have a nightly to try it out by a dev.

@lauckhart This test fail is because of the chip changes for 1.4 which will be integrated as fix in #961 ... so after merging #961 we can update this here and it should work


<EMAIL_ADDRESS>update converts dashes to underscores by default

With https://github.com/twolfson/gulp.spritesmith/commit/b4fb6bd085f6978b232588798b72ac39dfa77a77 our build script started putting wrong variable names on stylus outputs for sprites. (temporarily fixed it by using an earlier version)
I have a basic transform for variable names as below:
gulp = require 'gulp'
spritesmith = require 'gulp.spritesmith'

nameHelper = (folder, pixelRatio, sprite) ->
  sprite.name = "#{pixelRatio}x_#{folder}_#{sprite.name}";
  return sprite

module.exports = (folder, pixelRatio) ->

  stream = gulp.src "./#{folder}/lib/sprites/#{pixelRatio}x/**/*.png"
    .pipe spritesmith
      imgName<EMAIL_ADDRESS>      cssName<EMAIL_ADDRESS>      imgPath<EMAIL_ADDRESS>      algorithm : 'binary-tree'
      padding   : 5
      cssFormat : 'stylus'
      cssVarMap : nameHelper.bind stream, folder, pixelRatio

  return stream

when my folder is main-app and the sprite.name is nice-icon-16 the output styl file this provides becomes like this:
$1x_main_app_nice_icon_16_name = '1x_main_app_nice_icon_16;
$1x_main_app_nice_icon_16_x = 60px;
$1x_main_app_nice_icon_16_y = 0px;
...

where main-app becomes main_app and nice-icon-16 becomes nice_icon_16 .
It looks like now dashes are converted to underscores by default, and digging more took me here https://github.com/twolfson/spritesheet-templates/issues/37 but unfortunately couldn't see the commit causing this, so reporting here.

Ah, sorry about that. I didn't mean for it to be a breaking change but that is an upcoming one to make casing consistent and fully mutable. I will revert gulp.spritesmith and grunt-spritesmith in a minor patch and re-introduce it via a major release.
I will perform the revert some time before the end of the weekend. In the interim, using<EMAIL_ADDRESS>should maintain the previous behavior.

:+1:

I have reverted the changes and released<EMAIL_ADDRESS>

The changes have been re-introduced as a major release in<EMAIL_ADDRESS>and<EMAIL_ADDRESS>I hope the upgrade doesn't cause too much trouble =/

thanks for the notice :+1: I'll let you know once I test.


404 on JSON field

I have Froala working via a JSON column in MYSQL and Froala is throwing a 404 when trying to upload to that JSON column. http://laravel.test/nova-vendor/froala-field/pages/image-manager?field=content->features->features_description

Show an usage example please


chore(stages/total-difficulty): make header cursor ro

As title, the TD stage only reads headers, wonder how we can catch these?

Codecov Report

Merging #1174 (71dc00c) into main (533e7c9) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main    #1174      +/-   ##
==========================================
- Coverage   75.29%   75.28%   -0.02%
==========================================
  Files         335      335
  Lines       36428    36428
==========================================
- Hits        27429    27423       -6
- Misses       8999     9005       +6

Flag
Coverage Δ

unit-tests
75.28% <100.00%> (-0.02%)
:arrow_down:

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

Impacted Files
Coverage Δ

crates/stages/src/stages/total_difficulty.rs
95.27% <100.00%> (ø)

crates/stages/src/stages/bodies.rs
91.57% <0.00%> (-1.56%)
:arrow_down:

crates/net/eth-wire/src/capability.rs
63.10% <0.00%> (+0.97%)
:arrow_up:

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


Explore improving sci or fi handling

With structured outputs being released: https://openai.com/index/introducing-structured-outputs-in-the-api/
It's possible that we could get detailed SoF information back from GPT.

https://platform.openai.com/docs/guides/structured-outputs


master

Added possibility of a postprocessor to the reconstructor.

Hello,
Here is the pull request for adding reconstructor post-processors! As of now reconstruct() accepts a function as a postprocessor; would you prefer it to be a class with a process method, similarly to the postlexer option?
(I am not too sure why so many commits are appearing...I think I did something wrong in my rebase of my github fork. Apologies for that--I am still a bit new to git. Please do let me know if you know how I could fix it!)
-Julien

I don't know, it's a bit of a mess.
Can you try to rebase your branch over recons_work2 and the send a pull request? That might solve it.

Just tried rebasing... any better?
Very sorry about that.

Don't know. I think I'll just copy-paste the change.
I'll be stealing your credit, so sorry about that ;)

Hello,
No problem! :) Thank you very much for your patience with my Git complications.
(By the way, I think I finally fixed it, if it helps for the next pull request.)
-Julien


User sign up is broken because of activation email not working/not communicated properly to the user

Now it's really confusing. If you sign up, you get redirected to the login page saying 'you need to sign in/ sign up'. If you type in your credentials again you get the cryptic:

get rid of the activation requirement
sign in when you sing up immediately.

cc @ChaelKruip

:+1:

get rid of the activation requirement

Ok.

sign in when you sing up immediately

Which song should they sing? :smile:

Knocking on heavens door?


found an API port with unlimited calls

Hi~We may be able to connect this API port as a free endpoint to use。Can we？
Endpoint : https://v1.apigpt.cn/log/
Doc : https://api.aa1.cn/doc/chatgpts.html
Hope this project can develop better

I tried it and it just gives me a network error

I tried it and it just gives me a network error

sorry,i posted a wrong endpoint.that's the correct site and the math
addr：https://v1.apigpt.cn/
Return Format：JSON
Request method：GET
Request parameters：https://v1.apigpt.cn/?q=你好&apitype=sql
i tried it before but still can not,but their domo site still can use,i cannot figure it out.

that is the domo json.
// 暂无层级展示，仅供参考
{
"code": "Status code",
"msg": "Get Status",
"Questions": "Question",
"ChatGPT_Answer": "Answer from ChatGPT"
}

Is there anyone who can answer my question？@ztjhz @ayaka

This interface has been tested and is currently usable. I am the maintainer of this interface. If you still have any questions, please provide feedback to my email address in a timely manner. Email address<EMAIL_ADDRESS>finally, thank you for providing the public welfare project

It doesn't work for me. How to use it properly?


Use limited ABI to reduce number of required wheels

This has progressed, and now works except for the polymer extension (calc_g_zs_cex.c)
That extension is using a fixed version of the numpy API, and cannot be compiled as-is with py_limited_api.
@richardsheridan  - it has been suggested that we consider numba as an alternative to the compiled extension.  Would you be opposed to that?

Hi Brian, good to hear from you!
I think numba is a fine idea, I was already experimenting with it at the time on my private repo of self-consistent field theory code: sf_nscf.
You can lift as much code as you need or just use it as an inspiration for what functions to write.  This was back before you were allowed allocate memory inside a jitted function, so they are a bit awkward looking, but profiling showed the jitted numba functions were just as fast or better than the c extensions... I just didn't want to ask Paul to make numba a dependency just for my little addition.
In that code, fastsum and compose are faster simply because I'm iterating naturally over a Fortran-ordered 2D array, I think. Some profiling might be in order to see if they still make a difference.
Just @ me if you have questions or want a code review or whatever.

Hi, Richard - glad to hear back from you, too!
The way you've written the functions in sf_nscf, the numba dependency is optional.  I think we can stick with that.  Will your tests catch it if I don't implement this correctly?
Thanks - Brian

From: richardsheridan<EMAIL_ADDRESS>Sent: Monday, February 8, 2021 2:37 PM
To: reflectometry/refl1d<EMAIL_ADDRESS>Cc: Maranville, Brian B. (Fed<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [reflectometry/refl1d] Use limited ABI to reduce number of required wheels (#97)
Hi Brian, good to hear from you!
I think numba is a fine idea, I was already experimenting with it at the time on my private repo of self-consistent field theory code: sf_nscfhttps://github.com/richardsheridan/sf_nscf/blob/3e72e5f3777928e8eb844f93bd48549bca8c9041/util.py#L185.
You can lift as much code as you need or just use it as an inspiration for what functions to write. This was back before you were allowed allocate memory inside a jitted function, so they are a bit awkward looking, but profiling showed the jitted numba functions were just as fast or better than the c extensions... I just didn't want to ask Paul to make numba a dependency just for my little addition.
In that code, fastsum and compose are faster simply because I'm iterating naturally over a Fortran-ordered 2D array, I think. Some profiling might be in order to see if they still make a difference.
Just @ me if you have questions or want a code review or whatever.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/reflectometry/refl1d/issues/97#issuecomment-775391993, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAFHT2U6FB6W3FFPK4G2HJLS6A4N7ANCNFSM4TZINQBA.

The tests are quite sensitive numerically, they might catch it even if you implement it correctly 🤷

@richardsheridan I didn't see fastsum being used anywhere so I didn't include it.
I didn't see any speed increase from compose when I timed it against your polymer test functions in tests/refl1d/test_polymer.py so I didn't include that either. Maybe it makes a difference in real world cases but not in the tests? Less code is better, so unless there is a significant benefit I prefer to leave it out.
I did some sensitivity testing on SCFCache, and yes, it is really non-linear. Is that because of this particular parameter set, or is that generally true? The optimizers are stepping on the order of 1e-6, but I noticed significant differences when stepping your function by 1e-15. I fear that the fitting results aren't going to be reliable.
I've posted my branch on PR #103

Hi @pkienzle! I left a code review on the PR, I don't know if you use those much. Anyway it was just minor points.
That test was created at a particularly nonlinear point of parameter space to challenge the cache walk algorithm. There is a point beyond which the layer is just a step function and the thing won't converge; I think it is up to the users to switch models at that point. The rest of the parameter space is more well behaved.
Which optimizers do you mean? I was using DREAM for my project.  The other solvers seemed well behaved with the limited testing I did on them, but I never really challenged them.

Oh and I have no complaint about leaving compose out, especially if you have tested it and the difference is marginal.

This has been implemented (after converting the polymer extension code to numba) with d9ae39eb294d95fd3c1dba301d0919dbb285bda8


Pip implementation

@govindmaheshwari2 Check the conflicts in the PR

@govindmaheshwari2 Check the conflicts in the PR

@Decoder07 @govindmaheshwari2 Check the Conflicts in Meeting Store file


Changing Right Click Navigation

There are a lot of functions that can only be used by right clicking that need to be changed.

We can enable the menu, but we need to decide if we want to. This essentially a non-issue at this point due to hotkeys. This should be a minor change after everything else has been completed.

We have keystrokes to complete all the functionality in the right-click dropdown menu.


Guides

Guide detailing how to get started with Marisco on Windows
Guide detailing how to get started  with Marisco using Windows with Ubuntu sub system.

Thanks for that Niall. Very useful. I think this is relevant (later) to put everything into a single readme.md though.
Actually, the main README.md file you see in the root folder is auto-generated by nbdev from the nbs/index.ipynb notebook.
Let's do it later.


feat!: Prefer title attributes when naming Python parameters/properties.

Closes #602
@jselig-rigetti will you give this a try to ensure it fixes the issue you bumped into? And also give it a review please 😄

Thanks for this! Looks good to me, might be overkill but I can see it being desirable to have an exclude/include configurability for this behavior akin to something like #560 - I can take a look at doing this myself if that makes sense (probably doesn't have to be part of this PR)
I saw a the following error in both of the below situations, which is to be expected:
Warning(s) encountered while generating.
Client was generated, but some pieces may be missing

Titles collide, previously not an error but will be one now.
properties:
  b:
    title: a
  c:
    title: a

Title collides with property key, previously and still an error.
properties:
  _a:
    title: a
  a: {}

I don't see a way to solve for the second case—there is always going to be some risk of collision, I think the best we can do is give as many tools as possible to avoid them (e.g., change/set title). Maybe in the case of the first example, we fall back to using the key for both? So it would generate b and c instead of conflicting.

@jselig-rigetti thinking about this again, I think the better move is going to be to swap around the behavior. So, instead of always preferring title, we go back to the previous behavior of using the property's key as the name. Then, only in cases on conflicts, we switch to using the title. The good news is that means this is no longer a breaking change—it will just support generating code in more cases. The bad news is that it'll be a lot more work I think 😬

Closing in favor of an override for property names via config (@jselig-rigetti is that somewhere you can upstream it?)


♻ Remove unnecessary draft fields from database

What does this pull request do?
Removes unnecessary draft fields from the database, removing the potential to misuse them.
Queries against the 25 September 2022 snapshot of the database show that these fields were last updated on 25 August 2022: they have not been set since the live/draft split.
Consequently, they are safe to drop.
What is the intent behind these changes?
These columns are not used in the draft data processing.
They are unused and unreferenced but still appear in the data with values until 25 August 2022. This is unsafe as it can lead to misuse. (E.g. the analytical platform could build a DBT model on top of these fields.)
Zero-downtime behaviour

Dropping a column requires an exclusive lock on the table to update
the catalog but does not rewrite the table. As long as the column
isn’t in current use you can safely drop the column.

The draft referral code (already) does not use these columns.

It’s also important to confirm that the column is not referenced by
any dependent objects that could be unsafe to drop.

No indices and views exist that reference these columns.

Drat, forgot reference_number