text:
Do you plan to implement the function of free sorting in the Datacore view.

For example, in a table, the order can be adjusted by dragging table rows and columns. In the card, you can move it up, down, left, and right.

Column sorting (i.e., re-ordering columns) will be supported; implementing it via drag and drop is actually surprisingly hard so that may not be available immediately, but some way to move columns around will be.
Row-level sorting will not be drag-and-droppable probably, at least not now. Datacore supports sorting, but it is always on data in the actual rows. That being said, this can probably be kind of simulated by adding a "priority" or "order" field to the table which you can change to specify custom orderings.

i can vouch for drag and drop being difficult to implement without a heavyweight library or reinventing the wheel 😭

source: gharchive/issue

authors: GamerGirlandCo blacksmithgu chiusuan

repo: blacksmithgu/datacore

license: MIT

license_type: permissive

license_source: github-api


text:
Display a subtag only (without parent tags)

Hello,
Is there any way to display a subtag only in a dataview table ?
E.g. :
#Type/Subtype/Status → Display only “Status” in the dataview table, to not clutter the view with "Type/Subtype".

While a bit clunky, you can do that with help of dataview's functions:
LIST map(file.etags, (x) => split(x, "/")[length(split(x, "/")) - 1])
WHERE file = this.file

I hope that's a sufficient solution for you. Since there is a way to do this with DQL and the feature is already implemented, I'll close the ticket as completed. Please comment if you disagree.

authors: Elaws s-blu

repo: blacksmithgu/obsidian-dataview


text:
[Feat Req] Food processor appliance

I would like to suggest an automatic food processor that can sit on counters.  You could place upto three items in it, and it would autocraft from items in the kitchen (probably upto a configuable stacksize, 6 maybe?) and it would prevent the last from being used up.
This way some things like salt or dough could be kept in stock.
Also, perhaps adding a "fuse box" block would allow the kitchen multiblock to recieve power for all components (so the food processor can use power with the RF stove upgrade).
Loving the mod, thank you!

I don't see wich kitchen appliance they would pass as...
That being said, the ability to automatically to every sub craft needed for a recipe could be added to the cooking table just like the fridge and oven add-on works.
I see this being useful to many, even if most of the times, I personally like having to manually do them all.

authors: Ichirou-Tomoe Kremnari

license: mit

license_source: bigquery


text:
Crash on modpack loadup

http://pastebin.com/v6PAG1Rr
Using the Project Ozone modpack.
Also, just before this happened, I was able to play Project Ozone, but then my power went out. I have a UPS power supply, so the PC stayed on, but the router did not. Reinstalling the pack did not help, either.

#43


text:
Add GroupBy.get_group

import pandas as pd
import dask.dataframe as dd

df = pd.DataFrame({'a': [1, 2, 3, 4, 5, 6],
                   'b': ['X', 'Y'] * 3})
ddf = dd.from_pandas(df, 2)
ddf.groupby('b').get_group('X').compute()
#    a  b
# 0  1  X
# 2  3  X
# 4  5  X

+1

source: gharchive/pull-request

authors: mrocklin sinhrks

repo: blaze/dask


text:
git@github.com: Permission denied (publickey)

[1/4]` Resolving packages... [2/4] Fetching packages... error Command failed. Exit code: 128 Command: git Arguments: ls-remote --tags --heads git@github.com:blaze33/ShaderParticleEngine.git Directory: /home/arpu/Work/githubsources/droneWorld Output: git@github.com: Permission denied (publickey). fatal: Konnte nicht vom Remote-Repository lesen.
looks like better use the normal https://github.com/blaze33/ShaderParticleEngine.git#d2df4b8a9ee97af8f282daa61911e47cff86d488
link

https://github.com/blaze33/droneWorld/pull/3

Closed by PR #3


text:
Vanilla blazor SSB

A blazor project template for server-side blazor without bootstrap/other styling.
I would also think the default sample pages (Counter, FetchData etc) should be removed.

Draft: https://github.com/blazor-templates/VanillaServer

https://github.com/blazor-templates/blazor-templates/tree/main/templates/VanillaServer

repo: blazor-templates/blazor-templates


text:
Math Magicians: tests

In this project We;

Set up React Testing Library.
Write unit tests for the files operate.js and calculate.js using Jest.
Create unit tests for all React components.
Ensured there are no linter error.

@Esmatullah12, please kindly add to the logic also. Adding only to the README file is not a valid pair programming conribution please.

Hi @blessing-michael, @Esmatullah12
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project where one partner has only contributed to the README file without making real contributions to the codebase during a pair-programming activity. Our guidelines explicitly state that both partners should collaborate substantively on the codebase. Editing only the README file doesn't qualify as a valid contribution, and as such, your Code Review Request is invalid.
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you've made the necessary corrections 🙏.
Cheers and Happy coding! 👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear. Please, remember to tag @topeogunleye in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

authors: blessing-michael topeogunleye

repo: blessing-michael/Math-Magicians


text:
Ignore specific main files.

When I install slick-carousel, it installs css, scss and less files.
Is there a way I can ignore specific main files, as I only want the scss file.
Thanks!

I've figured out how to do this with sources

repo: blittle/bower-installer


text:
Demo page no longer working?

Tried on Windows: Chrome, Firefox, IE. After loading my assets, the UI sits there waiting for me to open a world. No matter what I attempt to upload as a world file, the UI spins for a moment and does nothing. Am I doing something wrong?

Same issue

Yep sorry guys, the version doesn't support 1.0. The good news is that I've started dabbling in the new file formats and will hopefully get it up and running soon!

Looking forward and waiting in anticipation!

It still doesn't seem to work, safe to assume you haven't been updating it?

authors: TheHeroBilly amckinley blixt mystus vnvizitiu

repo: blixt/starbounded


text:
If it could support any anime website on chrome..

To be honest lots of people watch anime online these days, if these's a anime4K extensions on chrome to support any anime website will be nice..

mpv + youtube-dl should suffice.

authors: SolitudeSF yeezylife


text:
Verifyでpresentationを送った際にエラーが発生している原因の究明

https://block-base.slack.com/archives/C02VDFPGYFR/p1643448248554029

ふじえさんが解明してくれました
https://block-base.slack.com/archives/C02VDFPGYFR/p1643463511695109?thread_ts=1643452735.257109&cid=C02VDFPGYFR

repo: block-base/openbadge-vc-converter


text:
Create "modes" for accounts

The current implementation of accounts will retrieve all history and calculate balances locally in the extension.
Implement support for an "basic-mode", where the balance is retrieved from indexers and history is retrieved for a limited time, e.g. one month or last 100 items.
This will make it possible to restore very large wallets in seconds.
UTXOs will not be calculate on the extension in this mode, but retrieved from the indexers.

The basic mode has been implemented and verified to work really well. It enables extremely large wallets to perform quick balance check and sending transactions with hundreds (possibly thousands) of inputs in few seconds.

repo: block-core/blockcore-extension


text:
Create a Social Post About Creating Custom Plans with plan.md in Goose 🦢

Create a Social Post About Creating Custom Plans with plan.md in Goose 🦢
Goose is your on-machine developer agent, automating engineering tasks seamlessly within your IDE or terminal. Guided by you, it can intelligently assess your project's needs, generate code modifications, and implement changes on its own.
Learn more about Goose in our documentation.
Once your content is merged, it will be featured on our Community Content site!
Example clips
https://github.com/user-attachments/assets/0217fc29-3b0b-4ab5-8a60-2dc53eb2b293
https://github.com/user-attachments/assets/5497112f-7ebb-4e73-9611-191be6d1934f
🚀 Goal
Create an engaging social media post or thread (Twitter/X, LinkedIn) sharing a tip, trick, or experience with plan.md files in Goose.
🤝 How You Can Contribute
Share things like:

A quick tip about plan.md files
A screenshot of your plan setup
A specific feature highlight
An example plan you've created
A creative use case
A planning tip

🔑 Tasks and Acceptance Criteria

[ ] Create a social media post about plan.md files
[ ] Post on your preferred social platform
[ ] Add your content to the content/content.json file
[ ] Create a pull request with your changes

Your contribution in content.json must include:
{
    "type": "social",
    "thumbnail": "./img/your-thumbnail.png",
    "title": "Your Post Title",
    "link": "https://platform.com/your-post",
    "contributor": "Your Name"
}

🌟 Resources

Goose Documentation
Goose repo
plan.md Documentation
How to use toolkits
How to create toolkits

Full episodes on Goose to understand more

Getting Started

Comment ".take" on this issue to get assigned
Fork the repository and create a new branch
Create your social post
Submit a PR with your content.json addition
Wait for review and address any feedback

Questions?
If you have any questions or need clarification, please comment on this issue!
Happy posting! 🦢
Would you like me to create the short version next?

Kind reminder that Loose Goose November ends November 20 at 11:59 pm ET, so if you wanted to be eligible for prizes, you only have a few hours left, but if you just want to work on this for fun after the deadline then let me know!

@blackgirlbytes Yes I would like to work on it! besides my timezone is ahead of ET so I got like 20 hrs or less considering Nov 20th or is it 20th today! anyways, happy to work on it :-)

authors: KiranBaliga blackgirlbytes

repo: block-open-source/goose-plugins


text:
Create Your Own Toolkit for Goose! 🛠

Here's the revised issue template for creating toolkits:
Create Your Own Toolkit for Goose! 🛠
Goose extends its capabilities through toolkits. Share your custom toolkit to help other developers automate their workflows!
🎯 Goal
Create a custom toolkit for Goose and contribute it to our community plugins.
🔑 Tasks and Acceptance Criteria

[ ] Design and implement your toolkit
[ ] Test your toolkit locally
[ ] Write tests for your toolkit -- see here for an example
[ ] Add your toolkit to the goose-plugins repository
[ ] Create a pull request with your changes

Your toolkit should:

Solve a specific development workflow challenge
Include clear documentation
Follow Goose's toolkit structure
Include tests where appropriate

🎓 Resources

Goose Documentation
Goose repo
How to use toolkits
How to create toolkits

Getting Started

Comment ".take" on this issue to get assigned
Fork the repository and create a new branch
Develop your toolkit
Submit a PR adding your toolkit to the /src/goose_plugins/toolkits directory
Wait for review and address any feedback

Questions?
Need help or clarification? Comment on this issue!
Happy coding! 🦢

I heard y’all need some Python toolkits! On it’

.take

YAY let me know if you need help. It took me awhile to figure out. Here's the toolkit I made: https://dev.to/blackgirlbytes/how-to-extend-your-ai-agent-for-custom-developer-workflows-4fld
Here's other toolkits made by people in our company: https://github.com/block/goose/tree/main/src/goose/toolkit
Here's what each of them do: https://block.github.io/goose/plugins/available-toolkits.html
Here's some documentation on creating toolkits: https://block.github.io/goose/plugins/creating-a-new-toolkit.html
You are the best @adalundhe
Also if you see me create duplicate issues of this..it's just to see if other people want to create toolkits as well

.take

Kind reminder that Loose Goose November ends November 20 at 11:59 pm ET, so if you wanted to be eligible for prizes, you only have a few hours left, but if you just want to work on this for fun after the deadline then let me know!

authors: Talesconnect adalundhe blackgirlbytes


text:
Unable to create network : invalid cross-device link on chainkit start

I have been trying to start the Chainkit application on my localhost.
The build is working okay so far. But when I do chainkit start, it throws an error:
✗ unable to create network:
link /home/shikhar/go/src/github.com/fbchain-app/chainkit.yml /tmp/chainkit-network087127657/chainkit.yml:
invalid cross-device link

Is this an issue with application path or something else while building?
Because i don't see any file named as chainkit.yml in /tmp/chainkit-network087127657

Can you give some more data about what you use?
Local system, version of docker, command you type.
I think the file in /tmp is inside the container, that's why you don't see it.

Hey, thanks.
It was in the container itself.

I am facing the same issue. I tried copying the chainkit.yml file to the  tmp/chainkit-networkxxxxxx but it doesn't work because every time I execute chainkit start it spins up a new container which is again missing the 'chinkit.yml'.

authors: samalba shikharfb yash-fb

repo: blocklayerhq/chainkit


text:
Login wasn't working

Login wasn't working because PHP hash function generates sha256 using lowercase, while most sha256 encoders use uppercase (including the suggested one https://convertstring.com/Hash/SHA256). I just wrapped the php hash function inside a strtoupper function.

Why doesn't it been merged yet?

Thank you @roccons

authors: blocknotes plellmarton roccons


text:
error while building 'smart contract verification' from source

HI any help will be appreciated,
getting following error while building 'smart contract verification' from source.
cargo install --locked --git https://github.com/blockscout/blockscout-rs smart-contract-verifier-server
error: failed to run custom build command for smart-contract-verifier-proto v0.1.0 (/root/.cargo/git/checkouts/blockscout-rs-1329d74b8bb8dea8/745db1d/smart-contract-verifier/smart-contract-verifier-proto)
Caused by:
process didn't exit successfully: /tmp/cargo-install0o5gOI/release/build/smart-contract-verifier-proto-23e2d19bf207ae04/build-script-build (exit status: 1)
--- stdout
cargo:rerun-if-changed=proto/
--- stderr
Error: Custom { kind: Other, error: "protoc failed: Unknown flag: --openapiv2_opt\n" }
warning: build failed, waiting for other jobs to finish...
error: failed to compile smart-contract-verifier-server v0.1.0 (https://github.com/blockscout/blockscout-rs#745db1d0), intermediate artifacts can be found at /tmp/cargo-install0o5gOI
Using protoc v3.0.0, need protoc upgrade?
thanks in advance.

@ZebroTech To build the verification service manually you have to update the protobuf to be 3.15.0 where the optional fields has been added to be default.
Regarding the docker-compose issue: @vbaranov I believe there are some problems with blockscout database initialization. Could you please help?

authors: ZebroTech rimrakhimov

repo: blockscout/blockscout-rs


text:
Theme pages missing H1 tag

Some pages in the mistral theme are missing a H1 tag. This tag is used by search engines to understand the page.
Bing - NOTICE : H1 tag missing:

The <h1> tag is missing. The <h1> tag is an indicator to Bingbot and web visitors of what the body copy's primary theme or topic is. The <h1> tag reinforces the core keyword(s) found in the title, description and the body copy. We recommend that the <h1> tag includes keywords that reflect the contents of the page and that it is not longer than approximately 150 characters in length.

Examples

https://mistral.bloggrify.com

layouts/themes/mistral/home.vue

https://mistral.bloggrify.com/archives

layouts/themes/mistral/archive.vue

Potential Fix

Replace h2 tag with h1 on /archives page.
Add h1 tag to / (home) page

Suggested title of h1 tag on / (home) page: "Posts"

thanks for the report :)

authors: IO-Fire hlassiege

repo: bloggrify/bloggrify-mistral


text:
🛑 Maxthon API is down

In 521d816, Maxthon API (https://api.maxthon.com) was down:

HTTP code: 500
Response time: 516 ms

Resolved: Maxthon API is back up in 7edeafe after 10 minutes.

repo: bloodchen/upptime


text:
🛑 Maxthon API is down

In 377935c, Maxthon API (https://api.maxthon.com) was down:

HTTP code: 500
Response time: 281 ms

Resolved: Maxthon API is back up in dda63b3 after 24 minutes.


text:
Option to enable/disable Jolokia agent to collect JMX stat

Since Jolokia agent is used to collect JMX stats from kafka, want to use the same for the ZooKeeper processes on the Kafka clusters. By default enabling Jolokia agent is set to false so that jmx-agents will be used. When enabled, jmx-agents need to be disabled.
Note: Not tested yet. Raised this to get early feedback.

Looks good to me.

Thanks Biju; please update once tested.

Do we need to use force_override in the 3-ish places I think I saw it being used? Shouldn't force_default suffice?

Updated PR to download Jolokia agent jar instead of using maven.

I would rather not add anything new to the "bins" tarball.  In a perfect world, the "bins" tarball would not exist.  It is one of the major obstacles to getting rid of "bootstrap" hosts and using shared infrastructure.
Besides, Jolokia is itself distributed as a jar file via maven central.  The maven cookbook is the natural and obvious way to distribute it to our hosts.  Why would we go out of our way to re-host this and do it in an awkward way?

@http-418 , as discussed offline, the code to re-host was done due to concerns raised about not being able to build VM clusters being a proxy which seem to be the cause of this removal earlier. Once we are able to build a VM cluster behind the proxy with out re-hosting Jolokia jar, will remove the last commit from the PR.

It appears the hdfsdu PR added a lot of the necessary SSL stuff for maven:
https://github.com/bloomberg/chef-bach/blob/master/cookbooks/bcpc-hadoop/recipes/maven_config.rb
I'm still not sure how it works -- are SSL certs downloaded from the bootstrap?

The code will setup Maven using the SSL certs if available. (E.g. as we setup on the bootstrap.) But today, no Maven commands are run on the cluster nodes, so no infrastructure yet exists to ship the certs from bootstrap to cluster nodes for them to run Maven.

Closing in favor of #1149

repo: bloomberg/chef-bach


text:
Modify automated_install to chef all vms in parallel

This PR enables chef'ing all the VM nodes in parallel instead of serially in a for loop. Refer issue #92

Tested this on OSX and Ubuntu.

OSX:
** Sometimes the VIP doesn't come up correctly on VM1 after the initial chef, and so all services do not start.
** Had to rechef the cluster by running cluster-assign-roles again. After this, the cluster was happy (verified using [Verification Steps|https://gist.github.com/bijugs/e01bfbd81f8d09f7e8c2]).

Ubuntu:
** The VIP was up, but had to rechef twice: the first time hdfs came up and the second time hbase came up.
** Post this verified that the cluster functions using the above mentioned verification steps.

@kiiranh , the VIP not coming up is consistent from past observations when cluster-asign-role is run to chef all the nodes in parallel. Some time this requires manual intervention i.e. stop start keepalived, haproxy manually by logging on to the head nodes. In the previous approach the state was consistent for a user even though they need to run cluster-assign-roles multiple times. We need to weigh which one to follow if we are not able to resolve the VIP issue.

@bijugs It is not consistent. As noted above, on ubuntu VM cluster, VIP was up. So we can observe this during our runs and then see how it works out. We've been using the previous approach for about a year now. Lets use this approach for a few weeks and then decide what is to be done.
Also, even in this parallel approach, I'm seeing that we need to rechef twice. I haven't had luck getting all services up in just a single run.

@kiiranh, I meant my past observations. :-).

On the VM cluster, I see that with a single parallel chef run on all the 3 nodes, the /etc/hosts entries are made for the 3 IPs for the 3 interfaces (float, storage, management)

authors: bijugs kiiranh


text:
remote monitoring is not working

Bug Report
Remote monitoring is not working :(
I use two ways for remote monitoring on my local machine. I am using ubuntu 20.04 with python3.8
1 - Use Socket Destination in code
I use this sample code:
main():
    while True:
        print("DO JOB")

if __name__ == '__main__':
    socket_dist = SocketDestination(server_port=<port>, address='127.0.0.1')  # or even 0.0.0.0
    with Tracker(destination=socket_dist):
        main()

two issues are happening here :
1- the code is not working (printing) until I run memray3.8 live 35907 in another shell
2- when I run memray3.8 live 35907 nothing shows this image
2 - Use Live Remote in the shell and use the port in another shell
I use memray run --live-remote test-memary.py
and use memray live <port>
two issues are happening here :
1- the results are fixed values! I used memray run --live test-memary.py for comparing the results and its completely different! memray run --live test-memary.py shows different locations and they are changing and updating but in the remote running as I described above all the values are fixed and not changing at all!
2- the code is not working (printing in this code) until I run memray live <port> and it seems that this code trigger to run! and after killing the memray live <port> and rerun again it shows nothing! seems that it should be run from the first place and this issue is not good for long-running monitoring!
so that any kind of remote monitoring is not working!
Environment

python3.8

Hi @FullDataAlchemist and thank you for the report. Let me cover your points:

I'm closing this issue as it seems is not a bug but some misconceptions regarding how to use the tool, but please, feel free to continue the discussion.

authors: FullDataAlchemist pablogsal

repo: bloomberg/memray


text:
Email field denied @ charachter

Describe your problem
The email field in the profile and add the new user do not accept @ character.
Expected behavior
It should behave as an email field and validate the form before saving.
Actual behavior
It acts like the text filed and it's not a required filed.
Steps to reproduce the problem
Add the new user or edit the user profile
Bludit version
v3.8.1

Hi,
I improved the profiles and users in Bludit v3.9.0 beta 1. Please take a look.

authors: abdulhalim dignajar

repo: bludit/bludit


text:
livenet module fix

The livenet module had some errors in the dnf commands that did not allow the creation of livenet images.

Thank you @btravouillon for your review, i will add the modifications soon.

repo: bluebanquise/bluebanquise


text:
changing filenames

I have successfully changed filenames on upload for security by setting file->temp to a generated name and then using that as the filename portion on the upload method. But i need to return both the original name (file.name) and the new name (file.temp) to the fileuploaddone binding so that the proper name is displayed in the UI box but I can call an ajax function to save the new filename in a database. It appears as though the data contstruct that is returned only includes the parts name, type and size.  Wouldn't it be far more useful if the entire file object was returned? Or is it and I am just missing something?
// process files after upload is complete
$('#fileupload').bind('fileuploaddone', function (e, data) {
$.each(data.files, function (index, file) {
   alert(file.name or file.size or file.type only!!!) I'd like the entire file object from the returned $info array

});

});

Fixed it. The data I wanted was in the object element result, not file. Result contains all of the data in the info array.

i'm interested in this issue. i want to change the thumbnail name with this format (random string-thumbnail-name of the file) and also the file itself with this format(random string-name of the file).... do you have any idea of doing this?

Here is what I did...
First, I made a codeigniter controller from the demo class file 'uploadhandler' but that is neither here nor there. I then added a private function to it called _generate_guid. You can replace this with whatever algorithm you want to generate a random character sequence. Here is mine.
private function _generate_guid() {
return sprintf('%04X%04X-%04X-%04X-%04X-%04X%04X%04X', mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(16384, 20479), mt_rand(32768, 49151), mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(0, 65535));
}
Then , up in the 'handle_file_upload' method, I added a new item to the $file object with the following line:
$file->temp = $this->_generate_guid();
Note that I chose to call the item 'temp' but again, choose whatever you like.
Then, just below that line you'll see the definition of $file_path. Change this to:
$file_path = $this->options['upload_dir'].$file->temp;
The end result is that you will save a file with the name corresponding to the guid you generated. I don;t even bother putting an extension on the file, but you can.
Note that in javascript, if you use the fileoploaddone option, the 'temp' value will not be available in the file object, but in the results object.  I use the following to save the temp file and the original filename to a database:
// process files after upload is complete
$('#fileupload').bind('fileuploaddone', function (e, data) {
$.each(data.result, function (index, item) {
$.ajax({ url:"/save_data/"+item.name+"/"+item.temp+"/"+item.size });
});
});
Hope this helps!

i already solved this problem but the problem now that i'm encountering is that i want to preview the original file name AFTER UPLOADING even thou i already renamed it.

i got it.....
here are the changes i've made so that if anyone would like what are the things to be change just give a message.
-single upload(not only removing the multiple in the form)
-renaming file name(different file name with the original file being uploaded and the thumbnail) and still preview the original file  name
-using div tag rather than table in the index.html(if you want to manipulate the design)
-removing some unnecessary button if single upload being used

The original file is still there under file.name or result.name

Hi all
I am not able to upload images , which image name having space :(
ex. "this is my first img.jpg"
its not returning any PHP/ JS error.
can anyone help me to resolve this issue ??
Thanks

i tried the issue that you mentioned and seems that everything is fine.. it will still upload the image.

repo: blueimp/jQuery-File-Upload


text:
Support server-side requests

When I connect the camera, every 30 seconds, send OPTIONS request to keep alive, however, the camera will send response:
RTSP/1.0 200 OK......
but camera also send a request：
OPTIONS*RTSP/1.0.........
An error occurred while parsing this request in the code pkg\base\response.go line144
proto := string(byts[:len(byts)-1])   //  this proto value is "OPTIONS"

if proto != rtspProtocol10 {
	return fmt.Errorf("expected '%s', got '%s'", rtspProtocol10, proto)
}

logs:
c->s OPTIONS rtsp://192.168.35.108/media.sdp/ RTSP/1.0
CSeq: 6
Session: 0
User-Agent: gortsplib
s>c RTSP/1.0 0
c->s TEARDOWN rtsp://192.168.35.108/media.sdp/ RTSP/1.0
CSeq: 7
Session: 0
User-Agent: gortsplib
s>c RTSP/1.0 0

I am using ffplay to play this camera  stream and it is no problem, ffplay responds to this request:

Hello, this is related to #56 - at the moment the client library doesn't support cameras or servers that sends requests back. It may in the future.

fixed by #93

repo: bluenviron/gortsplib


text:
ALF confirmation dialogs (Dialogs Pt. 3)

This PR builds off of https://github.com/bluesky-social/social-app/pull/3144
We need to fix a good number of our dialogs for cases where accessible font sizes are used. Some dialogs that need to be scrollable are not, which results in some users not being able to do things like delete posts. In an effort to fix a number of accessibility problems with the old Modals, this PR creates a "Confirmation Prompt" that can be re-used.

Recorded a little video of all of this stuff combined 👀
https://github.com/bluesky-social/social-app/assets/153161762/d231d5b6-9a8f-4243-949c-301f74511a71

repo: bluesky-social/social-app


text:
Link cards

Caught a brain worm last night, felt these link cards and such were kinda wacky and not "clean". Played around and ended up here. This also adds a hover state on web, which is pretty nice.

Also adjusted the remove button, didn't want to retake all screenshots

Updated fallback for failed link previews

It seems that the ability to remove videos on the web composer has broke with this change

Nice thanks, this seems to fix it https://github.com/bluesky-social/social-app/pull/5887

authors: estrattonbailey mary-ext


text:
Client cache exception

I have a tiled server that is serving tiff series data using https://github.com/bluesky/tiled/blob/6b1ee862e571a6e6493f5446652996600ec98638/tiled/adapters/tiff.py#L199.
Code that animates each 2D image eventually encounters a client cache exception, listed below. I will try also with similar data that's in h5 and see if I can reproduce there:
Traceback (most recent call last):
  File "/opt/miniconda3/envs/tiled_client/lib/python3.11/site-packages/tornado/ioloop.py", line 919, in _run
    val = self.callback()
          ^^^^^^^^^^^^^^^
  File "/opt/miniconda3/envs/tiled_client/lib/python3.11/site-packages/matplotlib/backend_bases.py", line 1226, in _on_timer
    ret = func(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/envs/tiled_client/lib/python3.11/site-packages/matplotlib/animation.py", line 1426, in _step
    still_going = super()._step(*args)
                  ^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/envs/tiled_client/lib/python3.11/site-packages/matplotlib/animation.py", line 1119, in _step
    self._draw_next_frame(framedata, self._blit)
  File "/opt/miniconda3/envs/tiled_client/lib/python3.11/site-packages/matplotlib/animation.py", line 1138, in _draw_next_frame
    self._draw_frame(framedata)
  File "/opt/miniconda3/envs/tiled_client/lib/python3.11/site-packages/matplotlib/animation.py", line 1767, in _draw_frame
    self._drawn_artists = self._func(framedata, *self._args)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/folders/gt/96zz11ls51542p5f9_cwq9w40000gn/T/ipykernel_11304/583051564.py", line 11, in updatefig
    im.set_array(spiral[i])
                 ~~~~~~^^^
  File "/opt/miniconda3/envs/tiled_client/lib/python3.11/site-packages/tiled/client/array.py", line 176, in __getitem__
    return self.read(slice)
           ^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/envs/tiled_client/lib/python3.11/site-packages/tiled/client/array.py", line 256, in read
...
  File "/opt/miniconda3/envs/tiled_client/lib/python3.11/site-packages/tiled/client/cache.py", line 198, in load_content
    f"{len(content):_}",
       ^^^^^^^^^^^^
TypeError: object of type 'NoneType' has no len()```

This entire module was erased and rewritten from scratch so I feel confident that this exact bug is gone. It would be still be useful for @dylanmcreynolds to confirm that the new cache interacts OK with his TIFF series.

This is in v0.1.0a99 now. Note that the cache is (still) off by default, so to exercise it and test this you have to do something like:
from tiled.client.cache import Cache

c = from_uri("...", cache=Cache())

It's been about a year and this hasn't come up again so I will assume that the cache rewrite resolved the issue.

authors: danielballan dylanmcreynolds

repo: bluesky/tiled


text:
From(ctx, err) does not return expected result when err is an ErrorContext{}

in v0.2.0 the following does not behave as expected:
err := errorcontext.Wrap(ctxa, somerr)
ctx := errorcontext.From(ctxb, err)

Expected result:
ctx == ctxa
Actual result:
ctx == ctxb
playground

Fixed in v0.2.1
https://go.dev/play/p/Wn2EvJBGTQd

repo: blugnu/errorcontext


text:
🛑 Skytalks SSL Website (v4) is down

In 0de9ab4, Skytalks SSL Website (v4) (https://skytalks.info) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Skytalks SSL Website (v4) is back up in 07e9119 after 6 minutes.

repo: bluknight/skytalks-monitor


text:
🛑 Skytalks SSL Website (v4) is down

In 4794427, Skytalks SSL Website (v4) (https://skytalks.info) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Skytalks SSL Website (v4) is back up in 78da083 after 7 minutes.


text:
Problem in specifying server

//Blynk.begin(auth, wifi, ssid, pass, IPAddress(192,168,1,100), 8442);
Arduino: 1.8.3 (Windows 10), Board: "Arduino/Genuino Uno"
C:\Users\kartiksingh00013\Documents\Arduino\New_WIFI_code\New_WIFI_code.ino: In function 'void setup()':
New_WIFI_code:25: error: 'IPAddress' was not declared in this scope
Blynk.begin(auth, wifi, ssid, pass, IPAddress(192,168,1,100),  8442);
                                                          ^

exit status 1
'IPAddress' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

@kartik00013 which exactly sketch did you use? can you provide sketch link?

@kartik00013 for ESP8266, you can only specify it like Blynk.begin(auth, wifi, ssid, pass, "your ip or domain address", 8442);

Thanks for your help. Can you also tell which IPAddres I need to define, if I am using local server

so that's IP of your local server

repo: blynkkk/blynk-sketch-generator


text:
small performance improvement by using unsafe code

⚠ NOTE: Use notes like this to emphasize something important about the PR.
This could include other PRs this PR is built on top of; API breaking changes; reasons for why the PR is on hold; or anything else you would like to draw attention to.

Status
Type
⚠ Core Change
Issue

Ready
Optimization
No
NO

Problem
A  tiny performance gain in serialization utility ( see this).
Solution
using unsafe code without explicit converting and also removing branching.
Before & After Performance
BenchmarkDotNet=v0.13.1, OS=pop 21.10
Intel Core i7-8700 CPU 3.20GHz (Coffee Lake), 1 CPU, 12 logical and 6 physical cores
.NET SDK=6.0.102
  [Host]     : .NET 6.0.2 (6.0.222.6406), X64 RyuJIT
  DefaultJob : .NET 6.0.2 (6.0.222.6406), X64 RyuJIT

|                    Method |     Mean |   Error |  StdDev | Allocated |
|-------------------------- |---------:|--------:|--------:|----------:|
| explicit_branching_assign | 504.0 ns | 2.01 ns | 1.78 ns |         - |
|             unsafe_assing | 205.7 ns | 0.99 ns | 0.92 ns |         - |

Benchmark Code

using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;

namespace Benchmark
{
    [MemoryDiagnoser]
    public  class Benchmark
    {
        private static byte _dummy;
        [Benchmark]
        public void explicit_branching_assign()
        {
            byte result = 0;
            var _the_bool = DateTimeOffset.Now.ToUnixTimeMilliseconds() % 2 ==0;
            for (var i = 0; i < 500; i++)
            {
                result = _the_bool ? (byte) (1) : (byte) 0;
            }
            _dummy = result ;
        }

        [Benchmark]
        public  unsafe void unsafe_assing(){
            byte result = 0;
            var _the_bool = DateTimeOffset.Now.ToUnixTimeMilliseconds() % 2 ==0;
            for (var i = 0; i < 500; i++)
            {
                result = *((byte*)(&_the_bool));
            }
            _dummy = result ;
        }
    }
    public static class MainClass
    {
        public static void Main()
        {
            var result = BenchmarkRunner.Run<Benchmark>();
        }
    }
}

The change looks good.
Just one minor thing: please revert the line ending changes.
ps: also, bump the version to 6.0.4 and I'll merge, the github actions will do the rest :)

I am a bit confused here!
Files in Utilities namespace are LF ending, while some others like SystemPorgram.cs is CRLF
Now I changed it back to CRLF i think.
is it ok or I change it to LF ?

The idea was to revert just this file in order to keep the PR simple.
We wanted to do a global reformat in our v1, but we forgot about it.
Regarding the line endings, is there any way to force a specific line ending per project? Been looking into it, but so far I can't find anything. We're using windows, linux and macos and it would be great to have a way to force line endings to be equal across

probably the best way would be to let everyone works with their own native line ending.but configure git to do autocrlf.
You can also configure .gitattributes like this:
*.cs text eol=crlf

to force line ending. but  the IDE on Mac and Linux should support CRLF.
Read more here

Just found out something:
dotnet format doesn't respect .editorconfig parameter end_of_line if run under Windows, but does using MacOS.
I'll open a new PR later to run dotnet format and force crlf on all files :)

Good!
That's another way to do it!
Can you please merge this now?!

repo: bmresearch/Solnet


text:
Add Trails Page

Trails will be one of the most involved aspects of the site, and hopefully one of the most used. As a result, prior to coming up with requirements we should first explore use-cases for people using this page.
Uses cases for a page dedicated exclusively to trails are:

As a new mountain biker, where can I find specific trails or routes that I will have fun and comfortable on?
As an experienced mountain biker, what trails are new or have new features that I can go ride?
As a person new to the city and comfortable biking, what parks are around that I can mountain bike at?
As a person just visiting to the city, given my skill level where should I travel and what trails should I ride?

Trail-building related use-cases are:

As a part-time trail-builder, what trails exist that could use trimming, raking, etc.?
As someone who would like to learn how to trail-build, or contribute in a group format, when are the next trail-building days?
As someone on the fence about trail-building when is SIMBS going to work on the trails I love (and when should I come to trail maintenance days)?

Yeah, we were also talking about having trail forks connected.

Also maybe some recommended loops

Any notices about trails

Complete

authors: SIMBS-HJ bndnio

repo: bndnio/simbs


text:
License file

It would be nice if you would add a license file. MagicMirror and most other modules use the MIT license, here is an example: https://github.com/MagicMirrorOrg/MagicMirror/blob/master/LICENSE.md :slightly_smiling_face:

Sure! I can do that.

Nice. Thanks! :smiley:

authors: KristjanESPERANTO bnitkin

repo: bnitkin/MMM-transitfeed


text:
Estudar HTTPS

Criptografia e HTTP versões 2 e 3.
Material de apoio: os capítulos sobre TLS, HTTP/2, WebSocket e WebRTC do livro High Performance Browser Networking.
Depende de #33.

Visto na prática em aula.


text:
Fix warnings from compiler to do with brackets please

Here are the following warnings to fix please:
c:\Users\chris\OneDrive\Documents\Arduino\libraries\Bolder_Flight_Systems_SBUS\src\sbus.cpp: In member function 'bool bfs::SbusRx::Parse()': c:\Users\chris\OneDrive\Documents\Arduino\libraries\Bolder_Flight_Systems_SBUS\src\sbus.cpp:112:68: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]   112 |         data_.ch[0]  = static_cast<int16_t>(buf_[1] | buf_[2] << 8 & 0x07FF);       |                                                       ~~~~~~~~~~~~~^~~~~~~~ c:\Users\chris\OneDrive\Documents\Arduino\libraries\Bolder_Flight_Systems_SBUS\src\sbus.cpp:113:73: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]   113 |         data_.ch[1]  = static_cast<int16_t>(buf_[2] >> 3 | buf_[3] << 5 &       |                                                            ~~~~~~~~~~~~~^   114 |                                             0x07FF);       |                                             ~~~~~~                        c:\Users\chris\OneDrive\Documents\Arduino\libraries\Bolder_Flight_Systems_SBUS\src\sbus.cpp:116:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]   116 |                                             buf_[5] << 10 & 0x07FF);       |                                             ~~~~~~~~~~~~~~^~~~~~~~ c:\Users\chris\OneDrive\Documents\Arduino\libraries\Bolder_Flight_Systems_SBUS\src\sbus.cpp:117:73: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]   117 |         data_.ch[3]  = static_cast<int16_t>(buf_[5] >> 1 | buf_[6] << 7 &       |                                                            ~~~~~~~~~~~~~^   118 |                                             0x07FF);       |                                             ~~~~~~                        c:\Users\chris\OneDrive\Documents\Arduino\libraries\Bolder_Flight_Systems_SBUS\src\sbus.cpp:119:73: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]   119 |         data_.ch[4]  = static_cast<int16_t>(buf_[6] >> 4 | buf_[7] << 4 &       |                                                            ~~~~~~~~~~~~~^   120 |                                             0x07FF);       |                                             ~~~~~~                        c:\Users\chris\OneDrive\Documents\Arduino\libraries\Bolder_Flight_Systems_SBUS\src\sbus.cpp:122:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]   122 |                                             buf_[9] << 9 & 0x07FF);       |                                             ~~~~~~~~~~~~~^~~~~~~~ c:\Users\chris\OneDrive\Documents\Arduino\libraries\Bolder_Flight_Systems_SBUS\src\sbus.cpp:123:74: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]   123 |         data_.ch[6]  = static_cast<int16_t>(buf_[9] >> 2 | buf_[10] << 6 &       |                                                            ~~~~~~~~~~~~~~^   124 |                                             0x07FF);       |                                             ~~~~~~                         c:\Users\chris\OneDrive\Documents\Arduino\libraries\Bolder_Flight_Systems_SBUS\src\sbus.cpp:125:75: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]   125 |         data_.ch[7]  = static_cast<int16_t>(buf_[10] >> 5 | buf_[11] << 3 &       |                                                             ~~~~~~~~~~~~~~^   126 |                                             0x07FF);       |                                             ~~~~~~                          c:\Users\chris\OneDrive\Documents\Arduino\libraries\Bolder_Flight_Systems_SBUS\src\sbus.cpp:127:70: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]   127 |         data_.ch[8]  = static_cast<int16_t>(buf_[12] | buf_[13] << 8 & 0x07FF);       |                                                        ~~~~~~~~~~~~~~^~~~~~~~ c:\Users\chris\OneDrive\Documents\Arduino\libraries\Bolder_Flight_Systems_SBUS\src\sbus.cpp:128:75: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]   128 |         data_.ch[9]  = static_cast<int16_t>(buf_[13] >> 3 | buf_[14] << 5 &       |                                                             ~~~~~~~~~~~~~~^   129 |                                             0x07FF);       |                                             ~~~~~~                          c:\Users\chris\OneDrive\Documents\Arduino\libraries\Bolder_Flight_Systems_SBUS\src\sbus.cpp:131:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]   131 |                                             buf_[16] << 10 & 0x07FF);       |                                             ~~~~~~~~~~~~~~~^~~~~~~~ c:\Users\chris\OneDrive\Documents\Arduino\libraries\Bolder_Flight_Systems_SBUS\src\sbus.cpp:132:75: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]   132 |         data_.ch[11] = static_cast<int16_t>(buf_[16] >> 1 | buf_[17] << 7 &       |                                                             ~~~~~~~~~~~~~~^   133 |                                             0x07FF);       |                                             ~~~~~~                          c:\Users\chris\OneDrive\Documents\Arduino\libraries\Bolder_Flight_Systems_SBUS\src\sbus.cpp:134:75: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]   134 |         data_.ch[12] = static_cast<int16_t>(buf_[17] >> 4 | buf_[18] << 4 &       |                                                             ~~~~~~~~~~~~~~^   135 |                                             0x07FF);       |                                             ~~~~~~                          c:\Users\chris\OneDrive\Documents\Arduino\libraries\Bolder_Flight_Systems_SBUS\src\sbus.cpp:137:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]   137 |                                             buf_[20] << 9 & 0x07FF);       |                                             ~~~~~~~~~~~~~~^~~~~~~~ c:\Users\chris\OneDrive\Documents\Arduino\libraries\Bolder_Flight_Systems_SBUS\src\sbus.cpp:138:75: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]   138 |         data_.ch[14] = static_cast<int16_t>(buf_[20] >> 2 | buf_[21] << 6 &       |                                                             ~~~~~~~~~~~~~~^   139 |                                             0x07FF);       |                                             ~~~~~~                          c:\Users\chris\OneDrive\Documents\Arduino\libraries\Bolder_Flight_Systems_SBUS\src\sbus.cpp:140:75: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]   140 |         data_.ch[15] = static_cast<int16_t>(buf_[21] >> 5 | buf_[22] << 3 &       |                                                             ~~~~~~~~~~~~~~^   141 |                                             0x07FF);       |                                             ~~~~~~

Please use the newest version of this library, downloaded directly from GitHub - those errors have been addressed.

I am using 8.1.4 from the arduino library manager which is the newest version, if things have changed since then maybe push a 8.1.5 version?

authors: MoveElectricMobility flybrianfly

repo: bolderflight/sbus


text:
Wrong checkboxes grey out subsequent options in Particles dialog

A couple of the checkboxes grey out the wrong subsequent dialog boxes in the Particles dialog.
It's a cosmetic and usability problem because the logic presented to the user is broken, but it can be worked around by turning on all the checkboxes.

Fixed by #149 67e2c62


text:
Filter model based on a field from one of its relations

I must be missing something very basic, because it looks to me that this has to be a very common use case and I cannot figure out how to do it.
Let's say I have a User and a Client models like this:
var User = bookshelf.Model.extend({
  tableName: 'users',
  client: function() {
    return this.belongsTo(Client);
  }
});

var Client = bookshelf.Model.extend({
  tableName: 'clients',
  users: function() {
    return this.hasMany(User);
  }
});

Client has a field called "is_active". Now I want to get all users whose Client is active. Using raw knex I would do something as simple as this:
knex('users AS u')     .join('clients AS c', 'c.id', 'u.client_id')     .where({       'c.is_active': true,     }).then(function(users) {});
How would I do this using bookshelf?  I only seem to find ways to filter the relation, but not to filter the model itself using fields from the relation.
Thanks.

Last time I checked there was no way to do this since bookshelf uses subqueries rather than joins to fetch relations. So you have to use joins inside a bookshelf query yourself.

@helios1138 is correct. Currently relations do not know how to perform joins. You'll have to manually add a join in the query callback.
Something like this:
Model.query('join', 'others', 'models.id', 'others.model_id').where('others.is_active', true).fetch()

There are a lot of issues already regarding this, so if you search the issues list you'll find more information.

actually it would've been great to have some kind of query helper for this so you could do something like this:
Model
  .query('join', Model.related('others'))
  .where('others.is_active', true)
  .fetch()

Should be pretty straitforward since all the information is already there in .relatedData and there is no need for rewriting relation fetching itself.

Oh well. Thank you all!

Related issues with probably useful information: #202, #597, #655, #833 and #834.

The project leadership of Bookshelf recently changed. In an effort to advance the project we close all issues older than one year.
If you think this issue needs to be re-evaluated please post a comment on why this is still important and we will re-open it.
We also started an open discussion about the future of Bookshelf.js here https://github.com/bookshelf/bookshelf/issues/1600. Feel free to drop by and give us your opinion.
Let's make Bookshelf great again

Is there any progress on this?

authors: cuttlas dj-hedgehog helios1138 rhys-vdw ricardograca sapabg

repo: bookshelf/bookshelf


text:
Implement SSE (server Side Event) Server

I am trying to implement SSE using beast. But all the overloads on write_async() and write_some_async() takes an http message object. But I need to write raw strings on the Socket. How can I do that ?

Use Asio to write raw octets to the socket.

https://www.boost.org/doc/libs/1_73_0/doc/html/boost_asio/reference/async_write.html

authors: madmongo1 neel vinniefalco

repo: boostorg/beast


text:
[CMake] Add basic CMakeLists.txt file

The file just processes all CMakeLists.txt files
that it findes in one of the library or tool root
directories.
Further reference: https://groups.google.com/forum/#!topic/boost-developers-archive/kM4JRmyVl3M

From the ML https://groups.google.com/forum/#!topic/boost-developers-archive/kM4JRmyVl3M (From James E. King III ):

Absolutely, positively do NOT use GLOB for project build chains or for
header or source discovery.
There are well documented reasons not to do this.  You must express the
dependency chain in
linear order in libs/CMakeLists.txt.
I would have the boostorg/CMakeLists.txt call:
add_subdirectories ( libs )
after it has included all the things libs depends on.
Then have libs/CMakeLists.txt call add_subdirectories in dependency order.
That is the only way you can reasonably ensure a linear dependency chain.

So if that is what you want, I can turn the globbing into an explicit list of libraries.
However, before I do that, could soemone please explain more detailed what specifically are the problems with globbing in the particular context of this CMakeLists.txt file. I believe I know all the arguments for not globbing for source files but imho most don't really apply here.

CMake is perfectly capable of resolving dependencies it sees in reverse order. So I don't know, why the libraries need to be passed in dependency order (maintaining that order correctly seems to be even more work than maintaining the list of libraries that do have a CMakeLists.txt file - who would maintain it?)
Not globbing means that every time a new library adds a cmake file and wants
to hook up to the project wide mechanism, a new PR to the top level project
needs to be merged (in addition to any automatic update of the submodule).
I can see that this can be seen as an advantage as well as a disadvantage,
but wanted to call it out regardless.
Even if no globbing is being used, there should be a mechanism to only add
a subdirectory if the folder/CMakeFile it is actually present (often I don't
want to clone all of boost but just a defined subset).

Regardless of globbing/non-globbing I intent to implement a blacklist that lists ignored libraries (e.g. because their CMakeLists.txt file doesn't play nice - yet).

I assume the same would be true for subdirectories as well.

Imho this is a completely different situation for the reasons I explained above. Most importantly the support for partial checkout and because the person that adds the CMakeFile (the library maintainer) usually doesn't have the rights to modify this top level cmake file accordingly.
Also, if I translate above quote to the current situation it would read:

If the top level CMakeFile doesn't change when a new library CMakeFile is added or removed then the generated build system cannot know when to ask CMake to regenerate.)

In other words: cmake needs to be called again manually when a new cmake file is added orp moved (not when on changes). How is that a problem and is the alternative really preferable?
I guess what I'm asking for is a different explanation than "I've heard globbing (in a different context) is discouraged"

I'm not sure that we want to include the tools here. At some point, we want cmake --build . --target install to perform the equivalent of b2 install, and that doesn't install any tools. That's probably for the better, as their names are too generic for bin (except perhaps for boostdep :-) ).
For installing the tools, I think that we'll be fine with supporting that only from the appropriate tool's directories, one by one, without having a superproject batch tool install.
Maybe we do need to test the tools as part of cmake --build . --target check though. Without knowing what our testing setup is going to look like, it's hard to tell. We could accumulate all the tests at once, or we could ctest the libraries one by one in the check target.
In either case, it might be better to split that into libs/CMakeLists.txt and tools/CMakeLists.txt and only leave the two add_subdirectory calls here (if we even have tools/CMakeLists.txt at all).
I'm not particularly fond of the variables either. We should just have a hardcoded blacklist. We know which libraries don't work.

I'm not sure that we want to include the tools here. At some point, we want cmake --build . --target install to perform the equivalent of b2 install, and that doesn't install any tools. That's probably for the better, as their names are too generic for bin (except perhaps for boostdep :-) ).

Well, at least some tools use boost libraries, so they could profit from the targets made available via this super-project. For now I'm just deactivating tool building by default, but if you feel strongly about this I'm fine with completely removing them

For installing the tools, I think that we'll be fine with supporting that only from the appropriate tool's directories, one by one, without having a superproject batch tool install.

Maybe we do need to test the tools as part of cmake --build . --target check though. Without knowing what our testing setup is going to look like, it's hard to tell. We could accumulate all the tests at once, or we could ctest the libraries one by one in the check target.

Well, installation and testing is a whole nother can of worms that will hopefully get resolved during the cmake review on the ML. I don't really expect this file to live past that review.

In either case, it might be better to split that into libs/CMakeLists.txt and tools/CMakeLists.txt and only leave the two add_subdirectory calls here (if we even have tools/CMakeLists.txt at all).

I can do that, but personally I don't think the file is complex enough yet to warrant the splitup (People then have to look at three files instead of one to understand what is going on).

I'm not particularly fond of the variables either. We should just have a hardcoded blacklist. We know which libraries don't work.

Not really. For one, compatibility in individual libraries is currently a moving target. Having (only) a fixed black list would require a lot of PRs to the super project. Second, some libraries are in principle usable, but mutually exclusive (name collision). Third, compatibility also depends on what branches are currently checked out and which target & toolchain they are compiled for / with.
Of course that doesn't mean there shouldn't be a sensible (& conservative) default, but having a easy option to override this list without changing the actual file can be usefull during development (remember that this file currently isn't really useful for the "normal" end-user anyway, as very few libraries support CMake in the first place).

Superseded by pdimov's addition. Thanks!

authors: Mike-Devel pdimov

repo: boostorg/boost


text:
char8_t

Did you think of making the complete way strings are stored or used configurable to the underlying char type?
At least char8_t would be a pleaure to avoid mojibake on Windows Platforms with C++20.
Ofc, as argued before, this can be seen as a complete different json library, like wide boost.serialization.

One of the core decisions of this library is that json::string is not a template and stores chars. This is unlikely to change in foreseeable future.

Agreed. It should not be a template, but the char type is configurable via a define, so you either build with char -- and have the luck not to be in windows or are able to enable utf8 soure charset option -- or are within a legacy or strong typed unicode domain and like to use char8_t as a complete unambigous representation.

I don't see what the problem is. According to wikipedia, "mojibake" is "the garbled text that is the result of text being decoded using an unintended character encoding." But Boost.JSON strings are unambiguously documented as valid, UTF-8 encoded strings, which char buffers are perfectly capable of encoding. char8_t and char are not encodings, they are representations of individual characters which are not the same as code points.
Perhaps you can give a very short piece of example code which demonstrates the problem you are encountering?

The problem ist not about the json library.
Its just a requirement that constantly pops up, if you work in huge legacy codebases and need to distinguish safely between unicode encoded an non unciode encoded strings.
The common approach (by contract) to use std::string cannot ensure that a dev gets the encoding wrong. Having std::u8string solves this problem.
To support this paradigm (std:::u8string rather than std::string to store utf8 encoded strings) seamless interoperability with other libraries (including boost.json) is of major interest.

The way strings are stored internally is orthogonal to the library users' use of custom types to represent utf8-encoded string. Is using a function to convert between such a type and json::string an acceptable approach?

Using a conversion function is trivial, but not a seamless an type safe enforcment for encoding.
Thats the current use of nlohmann::json which often ends with an ANSI string not beeing encoded as utf8, before storing it into a json object. Such problems only appear at the point of deserialization, so its runtime and requires code to executed. The risc for such code to be deployed at customers is quite high.
Thats the reason to ask for having a different way to express (we expect) utf8 (not by contract), but by type. To support mixed encoding systems, storing ANSI in std::string and utf8 in std::u8string to avoid misinterpretation of encoding and reduce riscs.

As mentioned previously json::string will not become a template, and will not provide a configuration macro to store some other type of characters. I'm closing this.

I agree that putting more type safety into the string will help address that one use-case. However this comes at the expense of the other use-case. I value json::string being a closed type more than helping authors of legacy code bases avoid mistakes.

I am fine with that. We lost more than a decade with Unicode in C++, because we cannot commit to a common perspective. Its just a sad thing.
Besides I did not recommend a template solution. The idea was more like the serialization lib in boost, delivering different binaries ... there are different ways in achieving that.

I don't like having different "flavors" of library because this just creates incompatibility and link-time headaches.

authors: grisumbras igoloe ingo-loehken vinniefalco

repo: boostorg/json


text:
fix unreachable return compilation error

On Visual Studio 16.9, the return was marked as unreachable because of the throw before

@mborland Sorry for coming back so late to this, can we start the CI run again on this please?

@mborland Sorry for coming back so late to this, can we start the CI run again on this please?

The only issue was with 4.6 which has been dropped since this PR opened.

authors: mborland timmaraju

repo: boostorg/test


text:
Metadata & manifest-builder refactoring

playdate-build:

metadata & manifest-builder refactoring

add cargo-targets tables that overrides main manifest' fields (#354)
add proper support for custom manifest fields (#209)

tests, improvements, minimal validation
env resolver:

fix possible recursion
remove panic on missed var (#295, #296)

cargo-playdate:

little cargo-playdate refactoring 🥵
add sources by host cargo:  (for #362, #177)

[ ] use it instead of build-ctx by underlying cargo
unit-graph
full metadata

use new manifest builder from playdate-build

@boozook sorry for another noobish question/issue, I'd appreciate a nudge in the right direction. I tried updating my project's dependencies to point at playdate = { git = "https://github.com/boozook/playdate.git", branch = "dev/meta-assets" }, as well as manually updating playdate-tool and playdate-bindgen:
cargo install --git https://github.com/boozook/playdate.git --branch dev/meta-assets playdate-tool
cargo install --git https://github.com/boozook/playdate.git --branch dev/meta-assets playdate-bindgen

However, I still seem to be missing some part of the update, as builds give the enclosed error.
» cargo playdate run --example 01_text_2d
    Updating git repository `https://github.com/boozook/playdate.git`
   Compiling proc-macro2 v1.0.82
   Compiling unicode-ident v1.0.12
   Compiling libc v0.2.154
   Compiling glob v0.3.1
   Compiling utf8parse v0.2.1
   Compiling cfg-if v1.0.0
   Compiling is_terminal_polyfill v1.70.0
   Compiling anstyle v1.0.7
   Compiling colorchoice v1.0.1
   Compiling anstyle-query v1.0.3
   Compiling anstyle-parse v0.2.4
   Compiling memchr v2.7.2
   Compiling option-ext v0.2.0
   Compiling clap_lex v0.7.0
   Compiling heck v0.5.0
   Compiling regex-syntax v0.8.3
   Compiling strsim v0.11.1
   Compiling anstream v0.6.14
   Compiling minimal-lexical v0.2.1
   Compiling libloading v0.8.3
   Compiling bindgen v0.69.4
   Compiling clang-sys v1.7.0
   Compiling clap_builder v4.5.2
   Compiling either v1.11.0
   Compiling nom v7.1.3
   Compiling semver v1.0.23
   Compiling lazycell v1.3.0
   Compiling itertools v0.12.1
   Compiling shlex v1.3.0
   Compiling bitflags v2.5.0
   Compiling lazy_static v1.4.0
   Compiling rustc-hash v1.1.0
   Compiling arrayvec v0.7.4
   Compiling quote v1.0.36
   Compiling dirs-sys v0.4.1
   Compiling syn v2.0.63
   Compiling dirs v5.0.1
   Compiling autocfg v1.3.0
   Compiling regex-automata v0.4.6
   Compiling playdate-build-utils v0.3.2 (https://github.com/boozook/playdate.git?branch=dev/meta-assets#f23f07bb)
   Compiling libm v0.2.8
   Compiling num-traits v0.2.19
   Compiling az v1.2.1
   Compiling version_check v0.9.4
   Compiling serde v1.0.201
   Compiling cexpr v0.6.0
   Compiling ahash v0.8.11
   Compiling byteorder v1.5.0
   Compiling regex v1.10.4
   Compiling serde_json v1.0.117
   Compiling micromath v2.1.0
   Compiling zerocopy v0.7.34
   Compiling once_cell v1.19.0
   Compiling float-cmp v0.9.0
   Compiling anyhow v1.0.83
   Compiling erased_set v0.8.0
   Compiling embedded-graphics-core v0.4.0
   Compiling spin v0.5.2
   Compiling cty v0.1.5
   Compiling itoa v1.0.11
   Compiling ryu v1.0.18
   Compiling allocator-api2 v0.2.18
   Compiling cstr_core v0.1.2
   Compiling euclid v0.22.9
   Compiling embedded-graphics v0.8.1
   Compiling hashbrown v0.14.5
   Compiling clap_derive v4.5.4
   Compiling serde_derive v1.0.201
   Compiling tinybmp v0.5.0
   Compiling clap v4.5.4
   Compiling playdate-bindgen-cfg v0.1.6 (https://github.com/boozook/playdate.git?branch=dev/meta-assets#f23f07bb)
   Compiling playdate-bindgen v0.1.10 (https://github.com/boozook/playdate.git?branch=dev/meta-assets#f23f07bb)
   Compiling playdate-sys v0.4.0 (https://github.com/boozook/playdate.git?branch=dev/meta-assets#f23f07bb)
   Compiling playdate-fs v0.2.7 (https://github.com/boozook/playdate.git?branch=dev/meta-assets#f23f07bb)
   Compiling playdate-color v0.2.3 (https://github.com/boozook/playdate.git?branch=dev/meta-assets#f23f07bb)
   Compiling playdate-system v0.3.11 (https://github.com/boozook/playdate.git?branch=dev/meta-assets#f23f07bb)
   Compiling playdate-display v0.3.5 (https://github.com/boozook/playdate.git?branch=dev/meta-assets#f23f07bb)
   Compiling playdate-scoreboards v0.1.1 (https://github.com/boozook/playdate.git?branch=dev/meta-assets#f23f07bb)
   Compiling playdate-lua v0.1.0 (https://github.com/boozook/playdate.git?branch=dev/meta-assets#f23f07bb)
   Compiling playdate-menu v0.2.3 (https://github.com/boozook/playdate.git?branch=dev/meta-assets#f23f07bb)
   Compiling playdate-controls v0.3.4 (https://github.com/boozook/playdate.git?branch=dev/meta-assets#f23f07bb)
   Compiling playdate-graphics v0.4.0 (https://github.com/boozook/playdate.git?branch=dev/meta-assets#f23f07bb)
   Compiling playdate-sound v0.4.0 (https://github.com/boozook/playdate.git?branch=dev/meta-assets#f23f07bb)
   Compiling playdate-sprite v0.2.10 (https://github.com/boozook/playdate.git?branch=dev/meta-assets#f23f07bb)
   Compiling playdate v0.2.0 (https://github.com/boozook/playdate.git?branch=dev/meta-assets#f23f07bb)
   Compiling pd3d v0.1.0 (/Users/paulstraw/dev/pd3d)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.59s
        Skip drop pd3d, crate 01_text_2d, can't build staticlib targeting simulator
   Compiling dylib of pd3d v0.1.0 (/Users/paulstraw/dev/pd3d)
    Finished dylib of pd3d
        Skip drop pd3d, crate 01_text_2d, can't build rlib targeting simulator
   Packaging (single-target) pd3d:01_text_2d (source: dylib, target: dylib)
error: [package.metadata.playdate] not found in the manifest file Cargo.toml

@paulstraw,

I tried updating my project's dependencies to point at playdate = { git = "https://github.com/boozook/playdate.git", branch = "dev/meta-assets" }, as well as manually updating playdate-tool and playdate-bindgen

That's not needed. Here is just not-ready (but seems nothing is broken) version of cargo-playdate cargo plugin in this PR. I'm still working on this.
So you're only interested in the cargo-playdate tool in this brunch.
I recommend use API-crates such as playdate, playdate-sys, playdate-sound,.. from the crates.io.

error: [package.metadata.playdate] not found in the manifest file Cargo.toml

Hmmmm, and now I'm not sure that nothing is broken 🤔
Thanks, I'll try to reproduce.

Yup. Sorry, it's broken 😞
I'll fix it as soon as possible!

@paulstraw I'm think that it is impossible 🤯

However, I still seem to be missing some part of the update, as builds give the enclosed error.
   Packaging (single-target) pd3d:01_text_2d (source: dylib, target: dylib)
   error: [package.metadata.playdate] not found in the manifest file Cargo.toml

Are you sure that using this version of cargo-playdate?
I'm absolutely sure  in it because I've deleted (here) that error in this pre1 version.

But anyway I found that asset-dependencies are not works properly.

@paulstraw
Oh, seems I'v got it. May be you used one of previous commits where it still was.

Thanks for clarifying. After a cargo install --git https://github.com/boozook/playdate.git --branch dev/meta-assets playdate-tool locally, this is working for me as expected. I tried both the [package.metadata.playdate.example.my_example] and [[package.metadata.playdate.example]] + target versions, and got the expected results both ways.

I suppose there's [package.metadata.playdate.assets.options], can it be? If so - that is it. That is a breaking change, from now please use options.assets instead of assets.options.

https://github.com/boozook/playdate/pull/366/commits/6008903320b792e8b19eceaacaa1478fd4b01298 is to fix https://github.com/KyleMayes/clang-sys/issues/181

authors: boozook paulstraw

repo: boozook/playdate


text:
Parse the XML files via xmlschema and the XSD definitions

Most metadata are distributed in XML files (e.g. manifest.safe, product/swath and calibration files) and the product zip file contains part of the XSD definition to use.
As the XSD schemas are required when using xmlschema we need a way to always have a set of files. Strategy is:

allow the user to specify a set of XSD files as a mapping from namespace to path to the schema file
look for the distributed schema files based on a predefined product folder structure e.g. top_dir/support/s1-level-1-product.xsd
use a mapping from namespace to shipped schema file

is mostly closed by #6. Also #7 is related.

I think #11 close this issus.

authors: alexamici aurghs

repo: bopen/xarray-sentinel


text:
🛑 boot.bpn.su is down

In 93bff0f, boot.bpn.su (boot.bpn.su) was down:

HTTP code: 0
Response time: 0 ms

Resolved: boot.bpn.su is back up in 844bf31.

repo: boringplace/status


text:
Error when updating Entities with different column names

Hi guys,
I discovered an issues after upgrading from package version 3.3.1 to 5.0.7.
The names of the properties from the model differ from the column names of the table. This is configured in the EF Configuration.
builder.Property(s => s.PropertyA)
    .HasColumnName("ColumnB")
    .IsRequired();

builder
    .Property(s => s.PropertyB)
    .HasColumnName("ColumnB")
    .IsRequired();

Then I try to update some entities by with the given bulk config.
var bulkConfig = new BulkConfig
{
    BulkCopyTimeout = 240,
    SetOutputIdentity = true,
    PreserveInsertOrder = true,
    BatchSize = 1000,
    UpdateByProperties = new List<string>
    {
        nameof(WorkProcessToLegalUnit.PropertyA),
        nameof(WorkProcessToLegalUnit.PropertyB),
    },
    CalculateStats = true
};

await ((DbContext)_context).BulkUpdateAsync(entities, bulkConfig, null, cancellationToken).ConfigureAwait(false);

I receive this error message: Invalid column name 'PropertyA'. Invalid column name 'PropertyB'.
I fixed this error by replacing the property names in the property PrimaryKeysPropertyColumnNameDict of the class TableInfowith the column names.
PrimaryKeysPropertyColumnNameDict = AreSpecifiedUpdateByProperties ? BulkConfig.UpdateByProperties.ToDictionary(a => a, b => b)
                                                                               : (primaryKeys ?? new Dictionary<string, string>());

PrimaryKeysPropertyColumnNameDict = AreSpecifiedUpdateByProperties ? BulkConfig.UpdateByProperties.ToDictionary(a => a, b => entityType.GetProperties().First(p => p.Name == b).GetColumnName(ObjectIdentifier))
                                                                               : (primaryKeys ?? new Dictionary<string, string>());

But then I receive another SQL Error. Syntax error near output in the Merge Statement.
I can't provide any further error messages, because we already rolled back to version 3.3.1. We also tried another releases, but 3.3.1 seems to be the last working one.
Regards
Moritz

Fixed with v5.0.9
Thx for contrib.

Hi Boris,
thank you for the fast response. I updated to version 5.0.9 but still got en error:
Microsoft.Data.SqlClient.SqlException: 'Incorrect syntax near 'OUTPUT'.'
Here is the failing SQL Statement from version 5.0.9:
MERGE [Stammdaten].[ColumnAToColumnB] WITH (HOLDLOCK) AS T
USING (SELECT TOP 1 * FROM [Stammdaten].[ColumnAToColumnBTemp306f52ce] ORDER BY [ColumnA], [ColumnB]) AS S
ON T.[ColumnA] = S.[ColumnA] AND T.[ColumnB] = S.[ColumnB]
OUTPUT INSERTED.[Id], INSERTED.[ColumnA], INSERTED.[ColumnB],
(CASE $action WHEN 'UPDATE' THEN 1 Else 0 END),
(CASE $action WHEN 'DELETE' THEN 1 Else 0 END)
INTO [Stammdaten].[ColumnAToColumnBTemp306f52ceOutput];

And here is the working one from version 3.3.1:
MERGE [Stammdaten].[ColumnAToColumnB] WITH (HOLDLOCK) AS T
USING (SELECT TOP 1 * FROM [Stammdaten].[ColumnAToColumnBTemp7b0582e8] ORDER BY [ColumnA], [ColumnB]) AS S
ON T.[ColumnA] = S.[ColumnA] AND T.[ColumnB] = S.[ColumnB]
WHEN MATCHED
THEN UPDATE SET T.[ColumnA] = S.[ColumnA], T.[ColumnB] = S.[ColumnB]
OUTPUT INSERTED.[Id], INSERTED.[ColumnA], INSERTED.[ColumnB],
(CASE $action WHEN 'UPDATE' THEN 1 Else 0 END),
(CASE $action WHEN 'DELETE' THEN 1 Else 0 END)
INTO [Stammdaten].[ColumnAToColumnBTemp7b0582e8Output];

Looks like the new version misses the when matchen part.
Regards
Moritz

Can you write code of entity model in order to reproduce the issue.

I have created an small example project. https://github.com/MoritzMK/BulkExtensionsErrorDemo

This use case is somewhat specific since besides PK that is Identity there are only 2 more columns which are FKs and those are configured to be in UpdateByProperties.
Update would work if there were others columns to be updated that are not PK.
However Identity column can not be update via regular EF updates, also SQL does not permit update Identity Column.
Even if Id column would be left in Merge statement then SqlServer would throw exception:
Cannot update identity column 'Id'.'

Even the old version couldn't have make the Update, it could have only passed without exception but empty so no change would be done.
As for the exception will add that.

authors: MoritzMK borisdj


text:
chrome.extension.onRequest.addListener

add chrome.extension.onRequest.addListener()

@kk80805588 please send a PR. I'll review it.

Please add
chrome.extension.onRequest.addListener
https://developer.chrome.com/extensions/extension

@kk80805588 @vvakame  chrome.extension.onRequest is deprecated.
Check here: https://developer.chrome.com/extensions/extension#event-onRequest
Consider closing this issue.

@joaope thanks!

authors: joaope kk80805588 vvakame

repo: borisyankov/DefinitelyTyped


text:
Check precision of incomplete gamma

Following comment in incomplete gamma implementation does sound very reassuring
    -- For very large `p' normal approximation gives <1e-10 error
    | p >= 2e5           = norm (3 * sqrt p * ((x/p) ** (1/3) + 1/(9*p) - 1))

Implementation of incomplete gamma provides about 10 signiticant digits. Sometimes worse

Mostly fixed in dd10135d14a0da2a8b66da275de569490bb32442
There's still room for improvements but these will be filed as separate issues.

repo: bos/math-functions


text:
Flash: Gossip latest update alongside the Channel config

Fixes #1910

node-7_1  | 2021-08-30T08:52:40.724258704Z core.exception.AssertError@source/agora/consensus/protocol/Nominator.d(1126): utxo is Hash.init
node-7_1  | 2021-08-30T08:52:40.817886727Z ----------------
node-7_1  | 2021-08-30T08:52:40.817898027Z source/agora/node/main.d:276 nothrow void agora.node.main.handleAssertion(immutable(char)[], ulong, immutable(char)[]) [0x5558015a8230]
node-7_1  | 2021-08-30T08:52:40.817901327Z source/agora/consensus/protocol/Nominator.d:1106 _ZN9Nominator11getNodeUTXOEmm [0x555801633a90]
node-7_1  | 2021-08-30T08:52:40.817904127Z source/agora/consensus/protocol/Nominator.d:575 @trusted void agora.consensus.protocol.Nominator.Nominator.handleSCPEnvelope(in ref scpd.types.Stellar_SCP.SCPEnvelope) [0x555801631c50]
node-7_1  | 2021-08-30T08:52:40.817907027Z source/agora/consensus/protocol/Nominator.d:218 void agora.consensus.protocol.Nominator.Nominator.envelopeProcessTask() [0x555801631b10]
node-7_1  | 2021-08-30T08:52:40.817909727Z submodules/vibe-core/source/vibe/core/core.d:1212 nothrow @safe void vibe.core.core.setTimer(core.time.Duration, void delegate(), bool).__lambda4() [0x555801dc8a30]
node-7_1  | 2021-08-30T08:52:40.817912627Z submodules/vibe-core/source/vibe/core/core.d:1270 nothrow @safe void vibe.core.core.createTimer(void delegate() nothrow @safe).C.opCall(vibe.core.core.Timer).__lambda2(vibe.core.core.Timer) [0x555801dc8c00]
node-7_1  | 2021-08-30T08:52:40.817920227Z submodules/vibe-core/source/vibe/core/task.d:708 nothrow void vibe.core.task.TaskFuncInfo.set!(void delegate(vibe.core.core.Timer) nothrow @safe, vibe.core.core.Timer).set(ref void delegate(vibe.core.core.Timer) nothrow @safe, ref vibe.core.core.Timer).callDelegate(ref vibe.core.task.TaskFuncInfo) [0x555801e13450]
node-7_1  | 2021-08-30T08:52:40.817923727Z submodules/vibe-core/source/vibe/core/task.d:737 void vibe.core.task.TaskFuncInfo.call() [0x555801e10620]
node-7_1  | 2021-08-30T08:52:40.817926328Z submodules/vibe-core/source/vibe/core/task.d:403 nothrow void vibe.core.task.TaskFiber.run() [0x555801e0fbe0]
node-7_1  | 2021-08-30T08:52:40.817989429Z ??:? fiber_entryPoint [0x7fce18f4e0a0]

CC @linked0

node-7_1  | 2021-08-30T08:52:40.724258704Z core.exception.AssertError@source/agora/consensus/protocol/Nominator.d(1126): utxo is Hash.init
node-7_1  | 2021-08-30T08:52:40.817886727Z ----------------
node-7_1  | 2021-08-30T08:52:40.817898027Z source/agora/node/main.d:276 nothrow void agora.node.main.handleAssertion(immutable(char)[], ulong, immutable(char)[]) [0x5558015a8230]
node-7_1  | 2021-08-30T08:52:40.817901327Z source/agora/consensus/protocol/Nominator.d:1106 _ZN9Nominator11getNodeUTXOEmm [0x555801633a90]
node-7_1  | 2021-08-30T08:52:40.817904127Z source/agora/consensus/protocol/Nominator.d:575 @trusted void agora.consensus.protocol.Nominator.Nominator.handleSCPEnvelope(in ref scpd.types.Stellar_SCP.SCPEnvelope) [0x555801631c50]
node-7_1  | 2021-08-30T08:52:40.817907027Z source/agora/consensus/protocol/Nominator.d:218 void agora.consensus.protocol.Nominator.Nominator.envelopeProcessTask() [0x555801631b10]
node-7_1  | 2021-08-30T08:52:40.817909727Z submodules/vibe-core/source/vibe/core/core.d:1212 nothrow @safe void vibe.core.core.setTimer(core.time.Duration, void delegate(), bool).__lambda4() [0x555801dc8a30]
node-7_1  | 2021-08-30T08:52:40.817912627Z submodules/vibe-core/source/vibe/core/core.d:1270 nothrow @safe void vibe.core.core.createTimer(void delegate() nothrow @safe).C.opCall(vibe.core.core.Timer).__lambda2(vibe.core.core.Timer) [0x555801dc8c00]
node-7_1  | 2021-08-30T08:52:40.817920227Z submodules/vibe-core/source/vibe/core/task.d:708 nothrow void vibe.core.task.TaskFuncInfo.set!(void delegate(vibe.core.core.Timer) nothrow @safe, vibe.core.core.Timer).set(ref void delegate(vibe.core.core.Timer) nothrow @safe, ref vibe.core.core.Timer).callDelegate(ref vibe.core.task.TaskFuncInfo) [0x555801e13450]
node-7_1  | 2021-08-30T08:52:40.817923727Z submodules/vibe-core/source/vibe/core/task.d:737 void vibe.core.task.TaskFuncInfo.call() [0x555801e10620]
node-7_1  | 2021-08-30T08:52:40.817926328Z submodules/vibe-core/source/vibe/core/task.d:403 nothrow void vibe.core.task.TaskFiber.run() [0x555801e0fbe0]
node-7_1  | 2021-08-30T08:52:40.817989429Z ??:? fiber_entryPoint [0x7fce18f4e0a0]

These lines can be removed.
https://github.com/bosagora/agora/blob/bac5a52ecd281826f4e7b023c34d4b8b1241a6d5/source/agora/consensus/protocol/Nominator.d#L1123-L1127
@omerfirmak Can you try it? I will look into it more later.

repo: bosagora/agora


text:
Not empty array for addresses of Agora servers

Tested on the server as part of #2392 , we got an empty array. This might be due to Agora running in Docker though.
This was a blocker for the deployment of TestNet. So we solve this problem by applying the ipify API.
Fixes #2395

For caching metadata, we should not use an ad-hoc file, but rather cacheDB.

For caching metadata, we should not use an ad-hoc file, but rather cacheDB.

Ah, right. I'll apply it.

Issue is resolved with #3239


text:
Allow splitting a node into multiple nodes during Pipeline transformation steps

Is your feature request related to a problem? Please describe.
When transforming a node in a pipeline, it is sometimes useful to transform a single node into multiple nodes, e.g. if implemening a sliding window chunking, or by generating multiple embeddings for a single, larger chunk of text.
Describe the solution you'd like
There could be a function under Pipeline called then_flatten, flat_map, or similar, taking a MultiTransformer which produces an iterator of Nodes per Node.
Describe alternatives you've considered
Alternatively, I have to store the nodes in a temporary store and flatmap it there.
Additional context
The existing Transformer could provide a default implementation of MultiTransformer, using iter::once, and we'd only need one Pipeline::then-operation taking a MultiTransformer.

Hy @jespersm, thanks for opening an issue!
Do you just want to go from one node to many nodes? then_chunk does exactly that. Sliding window / chunking with overlap hasn't been implemented, but I think that's certainly possible when up to the chunker.
If you mean to merge nodes after chunking, the Swiftide pipeline is unordered, so a merge after splitting a node would need some consideration.

@jespersm Closing this issue. Feel free to respond and re-open it, I'd love to think along if I misunderstood and provide a solution!

Yes, then_chunk did the trick, even if slightly clumsy. Thanks for pointing me in the right direction.

authors: jespersm timonv

repo: bosun-ai/swiftide


text:
refactor: pool rasa instance to have a live status,

also use a subscription to update the status

[ ] I wrote tests for the feature
[ ] I documented the feature if needed

If the feature is a refactor, please explain why your way is better

It may also be a good Idea to add a status indicator to the NLU playground since it is also dependant on rasa but that can be done later.

authors: GuillaumeTech kenrilea

repo: botfront/botfront


text:
MissingHeaderBodySeparatorDefect on PUT request

Hi there!
I try to use minio and sometimes I got that warning:
612315 2019-09-25T12:40:16.+0000 WARNING Failed to parse headers (url=http://127.0.0.1:9000/project/media/sports/teams/26e36213-09dd-4e69-83b8-1bf9e35ccdcc.png): [MissingHeaderBodySeparatorDefect()], unparsed data: 'HTTP/1.1 200 OK\r\nAccept-Ranges: bytes\r\nContent-Length: 0\r\nContent-Security-Policy: block-all-mixed-content\r\nETag: "67528ce266ded257124ea9751fb16491"\r\nServer: MinIO/RELEASE.2019-09-18T21-55-05Z\r\nVary: Origin\r\nX-Amz-Request-Id: 15C7AED31D37A061\r\nX-Xss-Protection: 1; mode=block\r\nDate: Wed, 25 Sep 2019 12:40:16 GMT\r\n\r\n'

After that code freezes for specified in read_timeout seconds amount, and after retry everything is ok.
It looks like floating warning: It can happen with different files in different point of time.

@aCLr - Can you please give us some more information on this issue ? Which command are you using ? It would be helpful if you could provide us debug log. You can enable log by adding boto3.set_stream_logger('') to your code.
If you think your issue is related to the issue mentioned by @theanalyst . Then let's track this issue under the linked github issue.

authors: aCLr swetashre

repo: boto/botocore


text:
Add WAF paginators

Add paginators for the AWS WAF service:

ListByteMatchSets
ListIPSets
ListRules
ListSizeConstraintSets
ListSqlInjectionMatchSets
ListWebACLs
ListXssMatchSets

Current coverage is 97.62% (diff: 100%)

Merging #1074 into develop will not change coverage

@@            develop      #1074   diff @@
==========================================
  Files            44         44
  Lines          6936       6936
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           6771       6771
  Misses          165        165
  Partials          0          0

Powered by Codecov. Last update b32bb6f...d6e4204

I've gone ahead and added a changelog entry for this.  Merging.  Thanks again for the pull request.

authors: codecov-io ewbankkit jamesls


text:
Finalizing content creation before demo

The creation of content that will be shown during the demo should be finalized.

Content creation is finalized.


text:
Integration problem with other pytest plugins

Hi, I have an integration issue with the flexmock and pytest. Flexmock teardown hook doesn't work with flaky, because of very dirty call_runtest_hook patch. We can just change this import on this, to make flaky one that integrates with such pytest plugins:
from _pytest import runner

See this PR: https://github.com/box/flaky/pull/176

Closed by #176

authors: Jeff-Meadows OlehKyba

repo: box/flaky


text:
Some programs yield incorrect outputs

Here's the "99 Bottles of Beer" program in Brainfuck: bottles.bf.txt
Here's the expected output: bottles.expected.txt
Here's fk's output: bottles.fk.txt

I believe the parser is working correctly. I called debug_description on the FkParser instance and formatted the output to resemble actual Brainfuck syntax (every instance of IncrementExpr (1) to '+', and so on) and compared the output to the initial program. They are identical.
Which leads me to believe that there is something wrong going on with code generation. Oh well.

repo: bozbalci/fk


text:
practice lab vm extract needs password

Hello Sir, in this book author gave a for link for vm to practice that zip file needs a password to extract. Author didn't provide the password to extract in drive link and also in the book. So please provide the password to extract that file and also please rectify this issues. Thank you.

Hello,
Please use the password- MasteringNetworkForensics#2024

authors: ayan-hack bpbpublications


text:
Formatting using memory card annihilator v2 guide, 100% success rate.

I have 100% success formatting FreePSXBoot MC with MCA v2.
I follow this step to format with a ps2 without freezing it.
insert an USB with MCA V2 in it.
Run UlaunchELF
Insert  FreePSXboot MC in slot1
Insert a normal PS2 MC in slot 2 (Don't know if this step is necessary)
In uLaunch open MC1:\ (You will see nothing there)
go Back to root
In uLaunch open MC2:\ (You will see its content)
go Back to root
In uLaunch open mass:
Run MCA from the USB
The two MC will appear as options and the program will work normally.
Format MC1 using MCA.
If you go directly to MCA Skipping the first steps the PS2 will freeze.
Please test and confirm.

This doesn't work for me. I don't know if you are using FreeDVDBoot to get to Ulaunch, and if so, if that makes any difference, but for me, I use FreeMCBoot to get to Ulaunch, remove the PS2 MC (it doesn't matter if insert another PS2 MC without or without FreeMCBoot in it in slot 2), but as soon as I insert the FreePSXBoot MC in slot 1 and try to browse it, I get a soft-lock. Same if I load MCA without any MC inserted and then insert the FreePSXBoot one.
Check #39, because that's truly the only way to format without needing "luck" or any other device other than a previously successfully flashed FreeMCBoot MC and a PS1.
If you are using a FreeMCBoot .mcd image from April 14th or before that, then your "method" would work, but every release past that date incorporates changes that invariably lock up a PS2 immediately, in every context, no matter what.

This is my configuration
FMCB 1.8 test 22, 2008 (indeed a very old one)
LaunchELF v4.39
MCA V2
PS2 MODEL: SCPH-39001
Thanks, then it must be the version of FreeMCBoot.

This doesn't work for me. I don't know if you are using FreeDVDBoot to get to Ulaunch, and if so, if that makes any difference, but for me, I use FreeMCBoot to get to Ulaunch, remove the PS2 MC (it doesn't matter if insert another PS2 MC without or without FreeMCBoot in it in slot 2), but as soon as I insert the FreePSXBoot MC in slot 1 and try to browse it, I get a soft-lock. Same if I load MCA without any MC inserted and then insert the FreePSXBoot one.
Check #39, because that's truly the only way to format without needing "luck" or any other device other than a previously successfully flashed FreeMCBoot MC and a PS1.
If you are using a FreeMCBoot .mcd image from April 14th or before that, then your "method" would work, but every release past that date incorporates changes that invariably lock up a PS2 immediately, in every context, no matter what.

This is my configuration
FMCB 1.8 test 22, 2008 (indeed a very old one)
LaunchELF v4.39
MCA V2
PS2 MODEL: SCPH-39001
Thanks, then it must be the version of FreeMCBoot.

This is my configuration
FMCB 1.8 test 22, 2008 (indeed a very old one)
LaunchELF v4.39
MCA V2
PS2 MODEL: SCPH-39001
Thanks, then it must be the version of FreeMCBoot.

I'm pretty positive it has to do with the version of FreePSXBoot you are using (pre-April 14th), because after that, PS2s get locked-up even without any other PS2 MC plugged in (FreeMCBoot doesn't play any role in the lockup, so being on an earlier version wouldn't make a difference). I tested on all my PS2s (3XXXXX, 5XXXXX, 7XXXXX and 77XXXX models), they all lockup as soon as the FreePSXBoot MC is inserted without any FreeMCBoot MC being plugged in at all. FreePSXBoot is da bomb!
Either way, update your software man! :-D

This is my configuration
FMCB 1.8 test 22, 2008 (indeed a very old one)
LaunchELF v4.39
MCA V2
PS2 MODEL: SCPH-39001
Thanks, then it must be the version of FreeMCBoot.

I'm pretty positive it has to do with the version of FreePSXBoot you are using (pre-April 14th), because after that, PS2s get locked-up even without any other PS2 MC plugged in (FreeMCBoot doesn't play any role in the lockup, so being on an earlier version wouldn't make a difference). I tested on all my PS2s (3XXXXX, 5XXXXX, 7XXXXX and 77XXXX models), they all lockup as soon as the FreePSXBoot MC is inserted without any FreeMCBoot MC being plugged in at all. FreePSXBoot is da bomb!
Either way, update your software man! :-D

I used the  FreeMCBoot images from  github.com/brad-lin/FreePSXBoot/, it says "the images are updated. Older versions can be found in the images directory." I used the updated Images. After launching ulaunchELF I can put a Card with FreeMCBoot  and it will not freeze. I also own a PS2 slim, worked there too. Try Using ulaunchELF v4.39. Use mine, (https://drive.google.com/file/d/14QEU0CW3vI_T1xma1BDGk-mKDbOGKaZK/view?usp=sharing)

authors: VRtinker invaderlex

repo: brad-lin/FreePSXBoot


text:
[chore] Update default viewport to be mobile

What needs to be done
The default view should be mobile, as the extension will be roughly that size. The site will also support a larger viewpoint once its deployed at a later time.

Don't remember what this means/needs. Focusing on chrome extension first anyways.

repo: bradtaniguchi/chrome-neo-plus


text:
Fix/my mooc fix item width responsiveness

Deployed to https://beghp.github.io/gh-pages-rc-13Fixes #411 - [x] an issue linked to the PR

I checked it's fixed and nothing is broken (desktop & mobile).

@Romcol thanks for your contribution.
Your fix is published in @brainhubeu/react-carousel@1.13.47.
I invite you to work on issues funded on IssueHunt https://issuehunt.io/r/brainhubeu/react-carousel so you could earn some money. If you consider a given amount to be too low, you can request a bounty.

repo: brainhubeu/react-carousel