text:
BatchUpdate failed for string.Replace update operation

BatchUpdate method is failed for case:
BatchUpdateAsync(a => new T { Name = a.Name.Replace("OldStr", "NewStr") });

Replace method is not supported in Batch.

@borisdj Is it possible  to make use of EF core related functions to implement this kind of expression functions?

Not sure.
Maybe to make a custom parser (add extra parameter), or special method, since required sql is:
UPDATE myTable SET somelCol = REPLACE(somelCol , 'desc', '.info2').`

authors: borisdj yeyisxp


text:
update threejs/three-transformcontrols

detach() takes no arguments

@gyohk please review this PR.

This fix is correct.
Thank you for pointing it out.

thanks mate!

source: gharchive/pull-request

authors: gyohk qszhusightp vvakame

repo: borisyankov/DefinitelyTyped

license: mit

license_type: permissive

license_source: bigquery


text:
ci: ensure that the build is run on pull requests

For whatever reason, our CI was only running when commits landed on master. This change just ensures that it's run for pull requests as well. :exploding_head:
Signed-off-by: Lance Ball lball@redhat.com

@lance  I see the publish images job is not being run for last few CI builds, thinking something related to github release please ? I see SpringBoot images are not yet there quay.io though the merges are done.  Can we look into that ?

@kameshsampath yeah, I can see that, the publish step was skipped in the last release, not sure why, investigating now.

Thanks @zroubalik , @mattmoor ^^

PRs aren't going to have access to secrets, so you'll need to do something else to get this to pass.  You can use a few tricks to predicate the auth setup and pass the info between predicated steps and the main flow.

IMHO the PR workflow should do only tests, validations etc and merge to master should kickin release.  I also saw make images failing, I hit couple of bugs with release-please-action with this version, so version bump might be a good option as well.
@lance @zroubalik as we have the push only place where we use the secrets, shall we split the workflow into two one that runs on PR without any secrets and other the existing one that does publish?

@mattmoor hmm - I thought the restriction on secrets was limited to PRs from forked repositories. This failure seems different.
ERROR: failed to add buildpacks to builder: fetching image: connect to repo store 'quay.io/boson/faas-nodejs-bp:tip': unsupported MediaType: "application/vnd.docker.distribution.manifest.v1+prettyjws", see https://github.com/google/go-containerregistry/issues/377

However, locally...
❯ docker pull quay.io/boson/faas-nodejs-bp:tip
tip: Pulling from boson/faas-nodejs-bp
12d9f6a1f81a: Already exists
Digest: sha256:97a23d3b476668ddfb7f134b15b417dd2da3126fdf4e46e4b2c9682f3a57a771
Status: Downloaded newer image for quay.io/boson/faas-nodejs-bp:tip
quay.io/boson/faas-nodejs-bp:tip

@kameshsampath I manually pushed those SpringBoot images, so you should see them there now.
Regarding release-please, I will submit a PR to update it and we'll see how it goes.

IMHO the PR workflow should do only tests, validations etc and merge to master should kickin release.

@kameshsampath - that's mostly how it works already. The image push only occurs if a release has been created.
https://github.com/boson-project/buildpacks/blob/f6b4e6c908e7c1e351837ee796e3ed7adc512680/.github/workflows/ci.yaml#L47-L51

@lance you should make sure that the images being published are schema 2.  the library sitting under buildpacks doesn't support schema 1, and Quay was extremely late to the game with schema 2 support.

@mattmoor thanks for pointing that out. That did appear to be the problem, but it's very unclear as to why v1 images ever got published. :shrug:

IMHO the PR workflow should do only tests, validations etc and merge to master should kickin release.

@kameshsampath - that's mostly how it works already. The image push only occurs if a release has been created.
https://github.com/boson-project/buildpacks/blob/f6b4e6c908e7c1e351837ee796e3ed7adc512680/.github/workflows/ci.yaml#L47-L51

This could be replaced with docker-login-action https://github.com/docker/login-action

authors: kameshsampath lance mattmoor zroubalik

repo: boson-project/buildpacks

license_source: github-api


text:
Feature push dockerhub

So many changes.
Not even funny (lol).
Lots of changes involve s6-overlay, permissions, speeding up apt-get installs w/ apt-fast, and other things.

Merging, lets go forward with this badboy.
More cleanup will happen in near future.


text:
integrations: PDF segmentation and ingest via Aryn model / Sycamore

I'm fired up about a rust implemented document parsing / embedding engine for my code and documents.  Sadly, I don't see a good PDF ingestion in the code.
Ideally, I'd like to import PDFs from academic papers, webpage printouts, or even long screenshots right out of a headless chrome instance.  To do this effectively, the image(s) need to be segmented, classified, and then each segment handed to the best LLM for OCR / interpretation.
I've looked at Sycamore, which has published their segmentation LLM on HF.  Sadly, it's python all the way down.  I'm looking for something more production-ready, and default-safe with untrusted data

Hey @jac-cbi,  We haven't done much yet with non text data. If the PDFs are well formed and don't need ocr, a more simple reader could be added faster.
That said, processing non-text / binary data is super interesting. An llm would then generate context on the segment, which would then be stored in a database?

Potential reason to continue with #66

Hah, quite a nerd snipe, sounds like a cool project. If I understand correctly, that means there's two parts to this. Multimodal support, i.e. via mistral rs, and supporting binary data in Swiftide?
Right now te latter doesn't have priority for me. That said, it sounds very cool. If you're interested in picking it up, I'd love to think along.

@jac-cbi I'm still interested in picking this up further and gave it a bit more thought. Previously, I got mistral-rs to work in Swiftide, but I can't release it in Swiftide itself because the library isn't released as a crate. Although I'd much prefer to do it that way, an alternative solution could be a separate repository with git dependencies.
As for the having non-textual data in the pipeline, I think this can be very valuable in general. The solution we came up with is to make a Node generic over its internal chunk value, which would have the added benefit of having transformers that only work with specific kinds of data. I'll create an issue for that in a bit, as it basically opens the door to multimodel processing, which I think is a must have.
Could you let me know if you're still interested in setting this up? I'd be happy to take a look at setting up mistral rs in a separate repository if that is the case.

source: gharchive/issue

authors: jac-cbi timonv

repo: bosun-ai/swiftide

license: MIT


text:
Why use UTC, rather than a Local？

We in China, the bosun's time zone display is not correct。
example：
moment.utc() and time.Now().UTC()
Can remove the UTC? or Add timezone to dev.conf ?

Non UTC support isn't of any use to use at Stack - so we won't be working on this any time soon. However if there is a well tested pull request for this feature I think we would be happy to accept it.

thks，i know。
We try to modify。
change time.Parse() to time.ParseInLocation in *.go（funcs.go, expr.go, web.go, tsdb.go ... ...)
change moment.utc to moment.local in bosun.js
and TZ=Asia/shanghai ./bosun
After the success, wish to join configuration in dev.conf。
What you suggest?
We have 3000+ machines。2W+ qps moniting data.
We'd like to try to use the bosun：）

We would want the all js to use whatever timezone is in the config for now
(and maybe eventually users can configure it). That way the interface can
be in UTC still (or the local time).
Also be aware that we use typescript to (all the tsc files) to generate .js
and don't edit the js directly.
On Fri, Jan 30, 2015 at 5:58 PM, wkshare notifications@github.com wrote:

thks，i know。
We try to modify。
change time.Parse() to time.ParseInLocation in *.go（funcs.go, expr.go,
web.go, tsdb.go ... ...)
change moment.utc to moment.local in bosun.js
and TZ=Asia/shanghai ./bosun
After the success, wish to join configuration in dev.conf。
What you suggest?
We have 3000+ machines。2W+ qps moniting data.
We'd like to try to use the bosun：）
—
Reply to this email directly or view it on GitHub
https://github.com/bosun-monitor/bosun/issues/680#issuecomment-72285482.

just linking to whshare's PR from here: #685
big +1 from me, I would like this feature a lot :)

One this I will want to make sure is that this settable my people (or at least a whole instance). I don't want to view things in localtime, rather see them in UTC. So I don't want the web interface restricted to localtime of the client machine.

@kylebrandt   The web page, use the best Localtime，I 'm sure :)

We have servers and employees in many different time zones and want everything displayed in UTC. If you have a pull request to allow local time on bosun that is fine, but we still want to be able to configure UTC for all our users.

UTC is fine, considering the requirement, but it would be nice if it was labeled as UTC. Otherwise (in other time-zones) it just looks wrong.

@nickman i got it

closed, why? i think some good points were brought up here :?

Want to get to a more manageable length of issues. Supporting local time is
a pretty big project with no contenders to do the work any time soon.
On Jul 25, 2015 2:08 PM, "Dieter Plaetinck" notifications@github.com
wrote:

closed, why? i think some good points were brought up here :?
—
Reply to this email directly or view it on GitHub
https://github.com/bosun-monitor/bosun/issues/680#issuecomment-124868586
.

authors: Dieterbe gbrayut kylebrandt nickman wkshare

repo: bosun-monitor/bosun


text:
Cannot start service Mongo: network not found

Hello,
I installed a Linux Mint OS on vitualBox machine.
I installed docker, docker-compose, node js without problems.
Execute the command : sudo npm install -g botfront
In my folder project, execute sudo botfront and sudo botfront init
I receive an error from mongo : IMAGE
My log only content 'Attaching to'
Do you have some tips to fix it?
Thanks for helps
Valentin

Did you install node with nvm (https://docs.botfront.io/setup/#mac-linux)?. It should avoid having to use sudo
This error can happen if another project didn't shut down correctly. So I suppose you had another project running or that you upgraded from a previous version?
Anyways. Try this: botfront killall --remove-containers
If it doesn't work, restart your docker daemon.

Node was already install with sudo apt-get install nodejs. Did I already do again with nvm ?
No, it's the first time I was launch botfont. I use your command and try it again.
Same error with ne log : IMG
I restart the docker service and lauch again. Same error.
Duging this operation, I losted two time my network. I use a NAT connexion until my host and my vm.
valentin

A few ideas:

from your project folder, run botfront down (it wraps docker-compose down so it should remove all resources and expected dependencies)
did you do run botfront killall --remove-containers?

I already try to use botfront down and botfront killall --remove-containers.

Ok. did botfront down help?
Otherwise, can you remember exactly all the steps so we can try to repro?
Can you try creating another project without using sudo(not sure if it's related but you shouldn't have to sudo npm

You have my process in my first message. nothing else.
I need to use sudo, I'm in Linux Mint OS and my user don't any privileage.

I uninstall from dockers all containers, volumes, images, networks.
I came back on my folder project and execute botpress init.
I started the project, but always same problem with mongo.

Hi @znat ,
Thank you very much for your help.
I couldn't find a solution with my other VM.
I decided to create a new virtual machine with ubuntu lxde 18.10. I followed these commands and Botfront starts...
📂{USER}
sudo apt update
#docker
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update
apt-cache policy docker-ce
#docker-ce
sudo apt install docker-ce
sudo systemctl status docker
sudo apt install
#docker-compose
sudoo apt install docker-compose
#nodejs
sudo apt   install nodejsr
#npm
sudo apt install npm

#botfront
npm install -g botfront
sudo botfront
cd {PROJECT}
📂{PROJECT}
sudo botfront up

Thank you again.
Valentin
ps:  I really like the UI

Thanks :) So is it working now?

Hmm... Not really ^^
I'm on the Chitchat project.
I have examples in the NLU section, not in the answer.
I have created a new story "Greetings".
In two scenarios:
# Hi
* chitchat.greet
- utter_hi

* chitchat.greet
- utter_bye

I trained the model. I would like to test it, click on the bubble at the bottom left. The conversation interface is displayed without the answer area.

Valentin

We have an issue with Firefox. Can you try with Chrome?
@pheel @MattJoannon
Le ven. 12 juill. 2019 16 h 29, valdu02100 notifications@github.com a
écrit :

Hmm... Not really ^^
I'm on the Chitchat project.
I have examples in the NLU section, not in the answer.
I have created a new story "Greetings".
In two scenarios:
Hi

chitchat.greet

utter_hi

chitchat.greet

utter_bye

I trained the model. I would like to test it, click on the bubble at the
bottom left. The conversation interface is displayed without the answer
area.
[image: Botfront Error]
https://camo.githubusercontent.com/5fb33d2d2c82920a0f201c70ffba07fd45018f0f/68747470733a2f2f7a7570696d616765732e6e65742f75702f31392f32382f723334342e706e67
[image: Botfront Error]
https://camo.githubusercontent.com/8f14001fd7c51282e72b4362775bcf0613505bde/68747470733a2f2f7a7570696d616765732e6e65742f75702f31392f32382f727066702e706e67
Valentin
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/botfront/botfront/issues/95?email_source=notifications&email_token=AA4GAKUNOIPPWENT4Q3XXS3P7DST5A5CNFSM4H47G3S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ2ZRBQ#issuecomment-511023238,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA4GAKVXRYPMRIC456MY4ZTP7DST5ANCNFSM4H47G3SQ
.

Yeah @znat
Indeed with Chrome it works.
Thank you. Thank you.

repo: botfront/botfront


text:
Async functions can't return Void type

My code:
  @async private function myAsyncFuncReturningVoid(): Void {
    // do something
    // line 244 is here
  }

  @async private function test() {
      @await this.myAsyncFuncReturningVoid(); // line 264 is here
  }

Compiler output:
ex.hx:244: characters 5-38 : Dynamic should be Void
ex.hx:244: characters 5-38 : Dynamic should be Void
ex.hx:264: characters 14-33 : Void should be hxasync.Awaitable<Void>
ex.hx:264: characters 14-33 : ... For function argument 'arg'

This is a known limitation of Haxe, which I did not find a way to workaround.
I will not close the issue, but you should not expect a fix anytime soon :)

repo: botsman/hxasync


text:
Use SLD_BODY for styling

and only use REST interface after pressing Save button

Coverage decreased (-0.03%) to 70.264% when pulling 555ad03c5e50a14a4815ffa3311bb1feb24da061 on SLD_BODY into 7e33bd831c22fa3491ba19f716685c5af5f15475 on master.

Coverage decreased (-0.05%) to 70.247% when pulling 6615c4494d1b8438ca86fcaebb89b13da765bad5 on SLD_BODY into 7e33bd831c22fa3491ba19f716685c5af5f15475 on master.

authors: bartvde coveralls

repo: boundlessgeo/sdk


text:
Use batch-loader for Box.location field

Add batch-loader for Box.location field
Remove BOX_WITHOUT_LOCATION_FIELDS_FRAGMENT

 2.0 Bug: Follow-up fix box-field fragment for shipment overview query

repo: boxwise/boxtribute


text:
workflows: End-to-end test

This new workflow will run on a schedule to validate the linus and bpf-next trees. It will both generate the encodings for those trees and run the verification.
Successful run: https://github.com/bpfverif/agni/actions/runs/10374722808. To test it, I changed the triggers so that it triggers on a PR push.

Apart from the comments above, it looks good to me. Please feel free to merge it.

authors: harishankarv pchaigno

repo: bpfverif/agni


text:
ColorAxis does not display on Map Mark if tick_format is empty

See the sample code from the example notebooks:
from bqplot import *
sc_geo = Mercator()
sc_c1 = ColorScale(scheme='YlOrRd')
map_styles = {'color': {643: 105., 4: 21., 398: 23., 156: 42., 124:78., 76: 98.},
              'scales': {'projection': sc_geo, 'color': sc_c1}, 'colors': {'default_color': 'Grey'}}

axis = ColorAxis(scale=sc_c1, tick_format='.2f')
chloro_map = Map(map_data=topo_load('map_data/WorldMap.json'), **map_styles)
Figure(marks=[chloro_map], axes=[axis],title='Choropleth Example')

Seems to actually be the same issue as #1345?

This issue seems to be fixed by https://github.com/bqplot/bqplot/pull/1341 although this PR needs to be rebased

authors: kaiayoung martinRenou

repo: bqplot/bqplot


text:
Max input resolution?

So I have everything setup right (as far as I can tell). I've been able to test on a few of my own small images with pretty good results.
However when I tried an image that had a 700x700 resolution my cpu usage would go up indicating that everything is working, then after a minute or so when the usage dropped nothing would be output, with no errors being indicated.
Tried lots of things, but the only way I successfully got the image to work in this was to shrink the image down to 500x500, then everything worked fine and it was up scaled to 2000x2000.
So my question is, is there a maximum input image resolution? If so, is it an actual limitation of the program, or is there a variable I can change to allow for a larger input?

I am unable to use inference.sh in colab having some errors.How did you test??

Hi @Sol-OS, @Pamulapati13
As we know, memory consumption is always an issue in all deep learning methods. You should check you computer whether it's actually swapping (that means you don't have enough memory). I have to say that's the best I can do haha (If I could solve the issue, it would be another CVPR paper)
For colab, I think you shouldn't run shell script. you should run the python file directly
Best,
brade31919


text:
🛑 mouse.place (redirect) is down

In 5ceff0c, mouse.place (redirect) (https://mouse.place) was down:

HTTP code: 0
Response time: 0 ms

Resolved: mouse.place (redirect) is back up in e4129b7.

repo: bradp/uptime


text:
[Color Shades Generator] -> [Colors]

Color Shades Generator
With that we can quickly generate color shades of our favorite colors or any colors, to create templates or CSS components with multiple color shades and more useful tools available on the same site
Link: www.linkToResource
Checklist:

[x] I have performed a self-review of the submitted resource and it follows the guidelines of the project.

Very good! Congratulations!

Thanks @lusacramento

authors: KarthickMathesh lusacramento


text:
[CSS Gradient] -> [CSS Frameworks]

CSS Gradient
CSS Gradient is a little website and free tool that lets you create a gradient background for websites
Link: https://cssgradient.io/gradient-backgrounds/
Checklist:

[x] I have performed a self-review of submitted resource and its follows the guidelines of the project.

@Alaev MY PR IS  https://cssgradient.io/gradient-backgrounds/

@Alaev MY PR IS https://cssgradient.io/gradient-backgrounds/

yep I saw your pr. however if you look at the link you can see that the website and the link I sent you its the same resource as its pulls the background from my link :)
https://cssgradient.io/gradient-backgrounds/

https://www.grabient.com/

Do you see it?

:+1:

@varghesejose2020 you can change the link as I suggested and we can add it to the list as its own resource if you like.

@varghesejose2020 you can change the link as I suggested and we can add it to the list as its own resource if you like.

changed

@varghesejose2020 Great, can you just move it to Colors section?

Never mind, Closing as we have it in our list under Colors.


text:
Localhost

VirtualHost
Make localhost routes better. System can not "understand" when the project is accessed directly from http(s)://localhost
baseUrl
Make visible a variable $baseUrl to be used in layout and views. This variable is the path to the root of project URI.
Module
May be $baseUrl should include module name.

Resolved with SuitUp version 2+

authors: braghimsistemas marcobraghim

repo: braghimsistemas/suitup-php


text:
Explain how to add a new model

Closes #525

It's ok for me @PierreGtc. But as this is core, related to what you have recently implemented, and involves an important part of the contributor part, I'm also asking Alex and Robin to review it as well.

And @sliwy and @martinwimpff :)

Thanks already for the explanations. In general, I think we need to try to make braindecode usage as simple and transparent and possible. Some concrete questions:

is each and every of these mandatory parameters necessary?
is it necessary that each of these is specified via ... =None?
there are use cases where one wants a model that outputs batch_size,n_times,n_targets, e.g. n_targets maybe number of classes to predict or variables to regress. This explanation seems in conflict with that? What is n_outputs exactly meant to be?

is each and every of these mandatory parameters necessary?
It won’t fail if the class doesn’t have all the parameters but I think it’s simpler for the users if all the models allow for all these parameters.
is it necessary that each of these is specified via ... =None?
They can have a not-None default value.
there are use cases where one wants a model that outputs batch_size,n_times,n_targets, e.g. n_targets maybe number of classes to predict or variables to regress. This explanation seems in conflict with that? What is n_outputs exactly meant to be?.
Hmmm I did not know we had this case with 3D outputs.
Is this the cropped decoding?
Which models can have a 3D output?

n_outputs replaced  n_classes. I changed it to also make sense if the model is used for regression.

In general one may want to have a temporal dimension in the output for segmentation-like tasks and we do that as well e.g., here https://braindecode.org/dev/auto_examples/advanced_training/plot_bcic_iv_4_ecog_cropped.html#sphx-glr-auto-examples-advanced-training-plot-bcic-iv-4-ecog-cropped-py.
To me this is not only in case one does cropped decoding way we do it, in general, you can have scenarios where you want a time dimension in your output, like if you want to temporally segment the signal.

Do you have ideas on how to explain this n_outputs parameters @robintibor?

Thanks for the work and great explanations. I feel might be more sensible to put this at the end of the CONTRIBUTING.md file rather than somewhere in the middle... if you want to make it more visible you could add a pointer at the point it is currently written to say this part (how to add a model) comes at the end... Otherwise to me in current form it breaks a bit the structure as it is quite long and specific to one type of contribution. Also felt it might be nice to add a bit more info about the mandatory parameters meaning, maybe copy their docstring there and make clear that some of them may not be used/needed by the model and that that is fine. What do you think?

Yes I agree, it's much longer than the other sections. I put it at the end and added the definitions of the parameters.

For me, it looks good, and we already have two approvals. As this document is in GitHub only and still needs to be incorporated into the documentation (in another PR). I will apply the merge for now and work on adjusting it further in another PR that I will do. I hope you don't mind @robintibor.

Thank you @PierreGtch!

authors: PierreGtch bruAristimunha robintibor

repo: braindecode/braindecode


text:
Rework generate to be yocto friendly

Rework generate to be yocto friendly
Add missing License file for crx3
Extend README with Brainlab notes.
ATTENTION: this is a public repo, keep this in mind during review!

looks good nice clean up

Due to changes please re-review the PR 😆

repo: brainlab-vied/chrome-virtual-keyboard


text:
GitUtil: Add try-catch block when resolving Git repo

GitUtil: Add try-catch block when resolving Git repo

Added simple try-catch around simpleGit() initialization - If anything error'ed out, null will be returned.

Confirmed that our internal tests passed!

Would need some help pushing out a new version once it's merged 🙏

Just published 0.0.87

authors: ankrgyl wong-codaio

repo: braintrustdata/braintrust-sdk


text:
Remove protocol from external script tags

This is only for the Github Pages demo.
Allows external resources to be loaded if you're on http and https.
Screenshot

Note blocked JS in the console.

Thanks, I've since fixed this by defaulting everything to https.

authors: bramp jgillman

repo: bramp/js-sequence-diagrams


text:
set timestamp format for set downtime

Timestamp format appears to differ from version to version of Nagios. The following was found to work in v 3.3.1:
-NOW=$(date +"%m-%d-%Y %H:%M:%S")
The next string was reported to work under 3.2.1:
+NOW=$(date +"%Y-%m-%dT%H:%M:%S")
I'll need to determine how string formatting correlates to version and modify the code accordingly. Alternatively, formatting could be flexibly specified by an argument if necessary.

I've added a new variable to the globals section:
DATE_FORMAT='%m-%d-%Y %H:%M:%S'
and changed the following inside the script:
NOW_ADD_MINS=$(date +"$DATE_FORMAT" -d "+$MINUTES minute")
NOW=$(date +"$DATE_FORMAT")
NOW=$(date +"$DATE_FORMAT")
Nagios Version 3.0.6 on SLES 11 SP4

authors: brandoconnor stephanwehr


text:
Tags from Bitbucket repository

Please add to this repository the tags that were in the Mercurial repository at Bitbucket.

The tags went away! I had not noticed that. I have gone in and added them back by hand. Thanks for noticing so that I could get them restored!

Thanks for attending to this.
The resulting commits now look strange. Mercurial's weird insistence on a separate commit to merely add a tag, means you now have some commits that claim to add a tag but don't; and the ones which do, claim a different hash in the commit message.
[…]
4d6c2289 * 1.3 Added tag 1.3 for changeset 7059f3f9f166
ff7e2551 * Added tag 1.3 for changeset bb64adc9cd14
[…]
5f49f179 * 1.1 Added tag 1.1 for changeset 3aa4ba805e55
4762f669 * Updated version number and released.
5511c3aa * Added tag 1.1 for changeset be26fdf30b49
[…]

Don't know whether that's worth fixing, by removing the “added a tag” commits and just applying the tags to the actual code-changing commits.

Removing the commits would re-hash all subsequent history and invalidate all checked out, and all forked, versions of the repository, so I am inclined to leave things as they are — it would look even more wrong, at least to my eyes, if the "1.3" tag were on something earlier than the very last mention of 1.3 in the history. Thanks for pointing out the awkwardness, though — I had not noticed it myself yet after the transition, and would have been confused!

authors: bignose-debian brandon-rhodes

repo: brandon-rhodes/python-adventure


text:
🛑 Charite gateway-iop-connection is down

In 6610aa9, Charite gateway-iop-connection (https://ids.health-x.charite.de/health/4) was down:

HTTP code: 500
Response time: 107 ms

Resolved: Charite gateway-iop-connection is back up in c779131 after 25 minutes.

repo: braunma/dataloft-endpoint-monitor


text:
Add TimestampStyle enum

Add a TimestampStyle enum containing all the types of Discord timestamps
Refactor format_dt to take a TimestampStyle value instead of a string
Modify test_has_style test to use a TimestampStyle enum instead of a string
Remove unnecessary test_invalid_style test

Note: This is a breaking change
Let me know if there is any changes you would like me to make.

just make sure tests pass

It seems that the tests that failed were not caused by the code in this PR.

I will fix the tests for this

Thanks for the PR!

authors: HyperGH Lunarmagpie owenwastaken

repo: brazier-dev/hikari-toolbox


text:
BASIC programs saved as BAS which contain empty lines do not load properly into Agon BASIC.

A saved BASIC program listing which resembles the following ...
     5 :::::::::::::::
    10 : REM Hello W :
    15 :::::::::::::::
    20
    25 PRINT "Hello there, World!"
    30 GOTO 25

... will currently load into Agon BASIC as the following instead:
     5 :::::::::::::::
    10 : REM Hello W :
    15 :::::::::::::::

This gives the impression that when the LOADer encounters a blank line, such as in Line 20 above, the LOADer believes that the EOF has been reached.
Currently, such BASIC program listings could only be authored outside of Agon BASIC (such as in Nano or in the BBC BASIC IDE), since it is not possible within BBC BASIC to enter a line number without any keywords or tokens and press Enter without it being interpreted as manually deleting a line of BASIC code (whether it exists or not in the listing.
Interestingly, a BBC tokenized program with an empty line does LOAD into Agon BASIC without issue, which leads me to believe that support for BAS program listings with empty lines is merely a limitation of the text loading support of the LOAD command.
SIDE NOTE: If folks wish to be able to enter empty lines of code within Agon BASIC, then the BASIC/MOS editor would need to be enhanced to support the entry of empty line numbers, but it should only support that behavior when the line number does not already exist, otherwise support for manually deleting a line of BASIC code by entering its line number would be broken.  An alternative way to support this behavior within Agon BASIC might be to enforce a definition that an empty line of BASIC is a line number followed by at least one space.

Note, you can use a statement separator : on its own to space out listings, eg:
     5 :::::::::::::::
    10 : REM Hello W :
    15 :::::::::::::::
    20 :
    25 PRINT "Hello there, World!"
    30 GOTO 25

The examples in the BBC BASIC (Z80) manual use this technique for empty lines but it doesn't explicitly recommend it as a convention for making a more readable listing. I can add a note to that effect.

Fixed bug in ONEDIT1 - it would reset to command line (CLOOP) rather than returning if a line with only a line number was entered.

repo: breakintoprogram/agon-bbc-basic

license: Zlib


text:
可否告知免费版模型训练数据量级

对于公式识别任务（MFR），免费版模型较later_ocr有明显的效果提升，可否方便告知模型在训练时大约用了多少量级的数据量？
以及免费版和收费版的差异在什么？是模型更大了还是用的数据更多了？

基础模型的训练数据大概是 2M，付费版的训练数据里包含了一些 P2T 用户真实上传的图片。模型是一样大的，只是训练数据更多。

authors: ManiiXu breezedeus


text:
Support multiple COPR repos

now it supports:
reqwise --copr some_repo1
would be nice to have:
reqwise --copr some_repo1 some_repo2

Done

repo: bregman-arie/reqwise


text:
Allow passing content-type header to GitHubAPI.POST

When the content-type is passed, the raw body is used in the request.
The default content-type is json, and the body would be parsed to JSON format.
Updated documentation and changelog.
Closes https://github.com/brettcannon/gidgethub/issues/115

I've tested by uploading a zip file to my test repo's release :
        with aiohttp.MultipartWriter("mixed") as mpwriter:
            mpwriter.append(open("/Users/mariatta/Downloads/old-release.zip", "rb"))
        upload_response = await gh.post(
            upload_url,
            url_vars={"name": "my test name", "label": "my label"},
            data=mpwriter,
            content_type="application/zip",
        )

repo: brettcannon/gidgethub


text:
Hikari might not recover from state "Unusual system clock change detected"

The Housekeeper checks  for unusual system clock changes. If such a change has been detected the previous variable is not updated because of the return statement. It could happen that Hikari does not recover from this state because the value previous has become too old.
Currently we have a development VM which evicts connections every 30 seconds.
final long now = clockSource.currentTime();
final long idleTimeout = config.getIdleTimeout();

// Detect retrograde time as well as forward leaps of unacceptable duration
if (now < previous || now > clockSource.plusMillis(previous, (2 * HOUSEKEEPING_PERIOD_MS))) {
      LOGGER.warn("{} - Unusual system clock change detected, soft-evicting connections from pool.", poolName);
      softEvictConnections();
      fillPool();
      return;
}

previous = now;

Nice catch.

authors: brettwooldridge jnehlmeier

repo: brettwooldridge/HikariCP


text:
Temp Item Duping Client Side

When I test this on my server, i frequently have items I equip to cosmetic slots reappear under my cursor as though I've clicked them, but they are also in the cosmetic slot. It's much like a type of server lag where you put an item in an inventory but it remains attached to your cursor for a second, except that the item both in the cosmetic slot and attached to the cursor. Disconnecting and reconnecting puts the item back in my inventory.
I have the mod installed on client and server with Fabric 0.4.8 build 158 on MC 1.14.4

I'm about to release v1.1.5 that fixes a crash on startup for dedicated servers. Could you try it out? I've been poking at networking code trying to get the mod to work as intended and I don't know if the new changes will mess with what you're experiencing.
If you can still reproduce the issue, could you give me server and client logs?

Updated to 1.1.5 and same thing's happening. I tested with no other mods or datapacks running.
Client log:
latest.log
Server log:
latest.log

Apologies, I was having an issue unrelated to this mod that was causing it to not actually load server-side.

authors: briansemrau supersaiyansubtlety

repo: briansemrau/Cosmetic-Armor-Slots


text:
Support for System.Threading.Thread using workers.

Workers
Threads
Though there is the Thread class.
It has no constructor with more than one argument and I'm not sure if it's implemented at all.

There is a chance we will include it into 1.13

Multiple threads can access shared variables concurrently, but workers are completely independent. Would it be possible to implement threads with workers?

@TriEdgeAI, You can communicate between the workers so it is possible.

@michaelcheers
Yes, but it cannot happen concurrently.
In a regular multi-threaded environment you can do the following:
bool shouldBreak = false;

void SpinForever()
{
    while(!shouldBreak)
    {
        Console.WriteLine("haha");
    }
}

And expect that another thread will break you out. With workers that is not possible. You will be forever stuck. Now, if you are certain that the following method will be invoked on another thread, you can insert additional JavaScript which will regularly tear the execution apart to check if new messages came from another thread, but in practice there is no way to know that.

@TriEdgeAI, well it is hard but I think it might be possible with some work around because workers can communicate.

Here are some Web Worker resources that might be helpful for future implementations:

https://dassur.ma/things/when-workers/
https://github.com/WebReflection/workway
https://github.com/developit/workerize
https://github.com/GoogleChromeLabs/comlink

authors: LeonidVeriga TriEdgeAI geoffreymcgill michaelcheers

repo: bridgedotnet/Bridge


text:
Is the PryBinding hook necessary?

It's already handled by RuboCop and if I want to disable it, I need to disable both the RuboCop cop and the PryBinding hook.

I didn't realize rubocop had a cop which reported these sorts of issues when I merged the original pull request in #48. I've removed this hook in 00fba92238ad44d17a6a8575bc7bce62e57a8aac.
As discussed in https://github.com/brigade/overcommit/issues/122#issuecomment-87114806, starting with Overcommit 0.24.0 we'll be disabling almost all hooks by default, so this should no longer become an issue either way.

Thanks @sds !

authors: deivid-rodriguez sds

repo: brigade/overcommit


text:
Add linear-gradient() to NameFormat whitelist.

This change adds the CSS function linear-gradient() to the NameFormat whitelist. Since it's not a Sass function it shouldn't be throwing a lint warning.

Thanks!
Merged in 5cb125bc60cba34c8cad409f6061a0e869a50799

authors: abea sds

repo: brigade/scss-lint


text:
change zar/microindex code path to use pullers instead of readers

The archive/microindex code paths should use pullers instead of readers.  This would allow indexer, for example, to spin through a batch of records, do something with each one, then unref the batch without having to make an extra copy of each zng.Record to flow through the zbuf.Reader API.

zed lake deprecates zar

repo: brimdata/zed


text:
Move space file operations inside package space

We need to move the local file operations outside of package ingest, and into package space:

Unexport AllZngFile and the other filenames in space.go
Unexport DataPath
Change the operations in pcap and log ingest so that the work to index or prepare the tmp files happens in package ingest, but that the final act of moving the new zng file or equivalent happens in side package space.
We will need new exported methods to be used by the ingest operations. For example:

func (s *Space) ReplaceAllData(newZngFile string) error {
        // update any cached span info...
	return os.Rename(newZngFile, s.dataPath(allZngFile))
}

These new operations will be points for concurrency protection, and eventually handle spaces not backed by local files.

@mattnibs has some good ideas about how to implement this via a storage interface that a Space would present to operations for ingest & searching.

repo: brimsec/zq


text:
structlog

hi, how does the performance compare to structlog?

structlog ist rather complicated. I've tried to extend the benchmark.py to also measure performance of structlog. Results are that structlog is slower than the standard logging module. In some cases more than 20% slower.


text:
Tolerate images_directory_gsurl values with a final slash

I was passing a GCS URL with a final slash and that caused the workflow to fail. See https://job-manager.dsde-prod.broadinstitute.org/jobs/e67da343-7a05-454d-aa53-6479e1a481d8
Suggestion: consider updating the workflow to be tolerant of a final slash if users include it.
Thanks very much for these great workflows!

Actually I realized I didn't do this quite right...
It works fine, but the caveat is that now there are two visible inputs to the WDL for the input directory, for example:
one is required

and one is optional

The second optional one should not exist!  It exists because I did the String manipulation inside the input block, when I should do it after the input block.  I will fix this.

authors: deflaux sjfleming

repo: broadinstitute/cellprofiler-on-Terra


text:
Repo set up updates

Major update:

Added pyproject.toml file so that we can add this repo as a Python package when starting Hail clusters (requires either setup.py or pyproject.toml file). (Copied format of the pyproject.toml file in gnomad_qc)

Minor updates:

Created requirements-dev.in, which will automatically update requirements-dev.txt
Ran pip-compile command to update requirements-dev.txt
Updated gnomAD dependency in requirements.txt
Update precommit version and added autopep8 to .pre-commit-config.yaml

I opened an issue in that repo (https://github.com/broadinstitute/gnomad-constraint/issues/13) but let's just add gnomad_qc here for now

we are ignoring the workflow errors because the mypy error is fixed in https://github.com/broadinstitute/regional_missense_constraint/pull/291 (and we will reformat the other files afterwards)


text:
Giving "active" class to a link when location matches link path?

Has anyone tried this? A google search gives nothing.

I haven't, but if I would, I would first look at the props that I can pass through to Gatsby Link, especially GatsbyLinkProps.

Unless GatsbyLink supports this - you'd have to write your own className logic for this.

authors: Hahlh Mites88 brohlson

repo: brohlson/gatsby-plugin-anchor-links


text:
对 json 存储类型 字段的同步支持

当前并不支持 同步拥有 json  存储类型的数据

v1.3.x 版本开始支持了 对 mysql json 类型字段的解析

repo: brokercap/Bifrost


text:
[v2 Feedback request] Mime class API

With v2, I wanted to revisit the mime API which, frankly, has never felt great to me. So to that end I'm looking for feedback on https://github.com/broofa/node-mime/blob/v2/Mime.js
Notable differences:

mime.lookup -> mime.getType
mime.extension -> mime.getExtension
mime.charset.lookup -> deleted (this has never added all that much value)
mime.define -> similar, but now throws if there's an extension conflict.  Takes a force param to suppress the error and override.
mime.load -> deleted (Relic of when node-mime straight from apache's mime.types file, introduced dependencies on path and fs that have been problematic as this module has moved into new spaces (Electron, react-native, etc)

Also of interest ...

require('mime/Mime') gets you the Mime class for creating new instances
new Mime(require('mime/types/standard')) will get you a light version of the module with only "standard" types (i.e. types not on a .vnd, .x, or .prs facet)

v2 released

repo: broofa/node-mime


text:
ImGUI window not responding in Vulkan render for Cemu emulator

Hey everyone,
I'm having an issue with UniversalHookX and I could really use some help. I'm trying to hook my ImGUI window into the Vulkan render for the Cemu emulator, and I've enabled the Vulkan backend and everything seems to be working properly. When I inject my DLL into Cemu.exe, my window shows up just fine and I can add buttons, sliders, progress bars, etc. But when it comes to actually interacting with the ImGUI window, I'm having trouble - I can't move the window, resize it, or click on any buttons (although hovering seems to work).
I noticed that the callback function WndProc in the hook.cpp file takes a window (HWND) as an argument, but what's being passed into the loop doesn't seem to correspond to the Cemu window - although g_hWindow seems to be working fine.
I've tried printing the name of the window (hWnd in WndProc), but it seems to return an empty string.
I'm not familiar with ImGUI and Vulkan, so I'm not quite sure where to start troubleshooting. I've also tried testing this repo on a DirectX11 game (Black Ops 3), but I'm running into the same problem.
Any help or explanations would be greatly appreciate!

show your wndproc hook

oWndProc = reinterpret_cast<WNDPROC>(SetWindowLongPtr(g_hWindow, GWLP_WNDPROC, reinterpret_cast<LONG_PTR>(WndProc)));

static WNDPROC oWndProc;
static LRESULT WINAPI WndProc(const HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) {
    if (uMsg == WM_KEYDOWN) {
        if (wParam == VK_INSERT) {
            Menu_Console::bShowMenu = !Menu_Console::bShowMenu;
            return 0;
        } else if (wParam == VK_HOME) {
            HANDLE hHandle = CreateThread(NULL, 0, ReinitializeGraphicalHooks, NULL, 0, NULL);
            if (hHandle != NULL)
                CloseHandle(hHandle);
            return 0;
        } else if (wParam == VK_END) {
            H::bShuttingDown = true;
            U::UnloadDLL( );
            return 0;
        }
    } else if (uMsg == WM_DESTROY) {
        HANDLE hHandle = CreateThread(NULL, 0, ReinitializeGraphicalHooks, g_hWindow, 0, NULL);
        if (hHandle != NULL)
            CloseHandle(hHandle);
    }

    LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
    if (Menu_Console::bShowMenu) {
        ImGui_ImplWin32_WndProcHandler(g_hWindow, uMsg, wParam, lParam);

        // (Doesn't work for some games like 'Sid Meier's Civilization VI')
        // Window may not maximize from taskbar because 'H::bShowDemoWindow' is set to true by default. ('hooks.hpp')
        //
        // return ImGui_ImplWin32_WndProcHandler(hWnd, uMsg, wParam, lParam) == 0;
    }

    // return CallWindowProc(oWndProc, hWnd, uMsg, wParam, lParam);
    if (!Menu_Console::bShowMenu)
        return CallWindowProc(oWndProc, g_hWindow, uMsg, wParam, lParam);
    return ImGui_ImplWin32_WndProcHandler(g_hWindow, uMsg, wParam, lParam);
}

often times when click do not register/etc you may have a flaw in your code and ImGui_ImplWin32_WndProcHandler is not being called so that being said does it get called?

In my own cpp program that uses OpenGL the function is called and there is no problem, Cemu seems to ignore the inputs...


text:
Update uglifyjs to 3.0

Closes #40
Tested with:

[x] ostio-exim
[x] ostio-chaplin

It seems UglifyJS v3 doesn't support ES2015+ out of the box yet, as all the related work is on harmony branch. Is there any way to use harmony branch with Brunch without making raw CLI logic?

@evenfrost, thanks for pointing that out. Changed to uglify-es: it is considered stable.

Without this pull request merged, babel-brunch with babel-preset-env is useless as it can produce ES6+ code which is not supported by uglify-js.

Status on this?

authors: evenfrost nest-aka-swan shvaikalesh sn3p

repo: brunch/uglify-js-brunch


text:
Tip: use doctoc to generate automatically Table of Content

The link https://github.com/brunofacca/zen-rails-security-checklist#sensitive-data-exposure is broken in your ToC
I recommend https://github.com/thlorenz/doctoc which does a good job to automate this tedious task. Especially when it's in git hook 😉
Thanks for sharing to the 🌍 ! 😸

Fixed it in f9b6c4ce15240abda673f0c723b1b35dee5887ff using doctoc.
Thanks!

Good job guys:)

On Apr 22, 2017, at 3:58 PM, Bruno Facca notifications@github.com wrote:
Closed #11.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

authors: AArONnn12357999 brunofacca jmgarnier

repo: brunofacca/zen-rails-security-checklist


text:
ESS queries not working

I'm running on Ubuntu 14 using Splunk 7.0.1.
When I run indices-list, I get the following (using the Collective Intelligence Framework's Elastic instance):

_time
mappings
number_of_replicas
aliases
number_of_shards
creation_date
uuid
name

2018-01-20 13:38:39
tokens
1

5
1516475310127
85PhRO_QQVq-4Vaw_leSkA
cif.tokens

2018-01-20 13:38:39
observables
1

5
1516476414154
jrsH4eNBRE2vqfDhue_VeQ
cif.observables-2018.01

When I run the following command line query, I see results:
curl -XGET 'http://localhost:9200/cif.observables-2018.01/_search?pretty=1&otype=fqdn' | more
When I run | ess eaddr="http://localhost:9200" index="cif.observables-2018.01" query="otype:fqdn", I get:
External search command 'ess' returned error code 1.
I tried to enable INFO level logging in the logging.conf file, but I never see any kind of log file show up in /opt/splunk/var/log/splunk.
How do I go about troubleshooting this?

Hi,
This issue is because of elasticsearch version. ess query is not working with version elasticsearch 6.1.1.
It would be really great if this issue can be fixed,

We probably can handle it by updating the elasticsearch python library.
I’ll check and update.
Thanks for investigating this!
On Wed, 7 Feb 2018 at 16:32, vishnuSE notifications@github.com wrote:

Hi,
This issue is because of elasticsearch version. ess query is not working
with version elasticsearch 6.1.1.
It would be really great if this issue can be fixed,
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/brunotm/elasticsplunk/issues/10#issuecomment-363827010,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGCQDrNrHV64OOwduN99RiCNPXT2FPXvks5tSdALgaJpZM4RlmOs
.

--
Bruno Moura
+351 932 518 676

Hi Bruno,
Please ignore my comment. i  have downloaded the latest version of this app and it working fine with elasticsearch 6,1,1 as well. you need not apply any fix for the version change.

Thanks! Closing!

authors: brunotm craigm-didata vishnuSE

repo: brunotm/elasticsplunk


text:
Sensor doesn't gets updated

Before you submit a new bug report, please check that

[X] I have read frequently asked questions and limitations
[X] I'm running the newest version of Garbage Collection, or the next pre-release.
[X] I have enabled debug logging for my installation.

Describe the bug
Created few sensors but non of them gets other values than null. What am I going wrong?

Configuration
{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.3.7",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.9.9",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Warsaw",
    "os_name": "Linux",
    "os_version": "5.10.108",
    "supervisor": "2022.03.5",
    "host_os": "Home Assistant OS 7.6",
    "docker_version": "20.10.9",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "daikin_residential": {
      "version": "2.2.0",
      "requirements": [
        "oic==1.2.1"
      ]
    },
    "dahua": {
      "version": "0.5.0",
      "requirements": []
    },
    "tauron_amiplus": {
      "version": "v2.0.4",
      "requirements": [
        "requests"
      ]
    },
    "webrtc": {
      "version": "v2.2.0",
      "requirements": []
    },
    "solis": {
      "version": "2.2.0",
      "requirements": []
    },
    "hacs": {
      "version": "1.24.3",
      "requirements": [
        "aiogithubapi>=21.11.0"
      ]
    },
    "garbage_collection": {
      "version": "4.6",
      "requirements": [
        "python-dateutil>=2.8.2"
      ]
    }
  },
  "integration_manifest": {
    "domain": "garbage_collection",
    "name": "Garbage Collection",
    "version": "4.6",
    "documentation": "https://github.com/bruxy70/Garbage-Collection/",
    "issue_tracker": "https://github.com/bruxy70/Garbage-Collection/issues",
    "iot_class": "calculated",
    "dependencies": [],
    "config_flow": true,
    "codeowners": [
      "@bruxy70"
    ],
    "requirements": [
      "python-dateutil>=2.8.2"
    ],
    "is_built_in": false
  },
  "data": {
    "entity_id": "sensor.bio",
    "state": "",
    "attributes": {
      "next_date": null,
      "days": null,
      "last_collection": null,
      "last_updated": null,
      "device_class": "garbage_collection__schedule"
    },
    "config_entry": {
      "entry_id": "fbbb0b24cdc1bcd1a7c52c7ffd6a805b",
      "version": 4.5,
      "domain": "garbage_collection",
      "title": "bio",
      "data": {
        "unique_id": "11855286-ca51-4505-9b88-3fb700b1a566",
        "frequency": "even-weeks",
        "icon_normal": "mdi:trash-can",
        "icon_today": "mdi:delete-restore",
        "icon_tomorrow": "mdi:delete-circle",
        "manual_update": true,
        "first_month": "jan",
        "last_month": "dec",
        "collection_days": [
          "fri"
        ],
        "verbose_state": true,
        "verbose_format": "on {date}, in {days} days",
        "date_format": "%d-%b-%Y"
      },
      "options": {},
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "user",
      "unique_id": null,
      "disabled_by": null
    }
  }
}

Debug logs
.

You have configured it for manual update. I suppose you either did not configure the manual update automation, or it does not work.

Please advise how to proceed to autoupdate sensors, thx

I suppose you enabled the manual update for a reason? If yes, check the documentation. If not, disable the manual update.


text:
v0.9.1: xchacha20poly1305 always unwraps (missing error propagation)

Hi, sorry in advance if this is a dumb question. I'm using the default API for encrypt/decrypt. The docs mention that these operations return a Result.
However, looking at the implementation, one can see that these functions will panic on Error, as they're calling .unwrap() on the xchacha20poly1305::{encrypt,decrypt} functions.
https://github.com/brycx/orion/blob/04a0db6d2a2fa387d4499068c0087ef941c2da6a/src/default.rs#L373-L379
https://github.com/brycx/orion/blob/04a0db6d2a2fa387d4499068c0087ef941c2da6a/src/default.rs#L424-L430
As far as I'm aware, this makes it impossible to handle errors in the caller, and will make the application panic.
Is there any way to handle the error, or should unwrap() be changed to use the ? operator?

Hi @ergl.
This is definitely not a dumb question but instead a pretty basic error that I should not have overlooked.
You are indeed right that this makes it impossible to handle errors by the caller. This should be fixed in e0b3e9d and 850f836.
The fix will be included in v0.10, which is planned to be released later today or tomorrow (I'm testing it right now). Note that v0.10 has many changes, including how the high-level API is used.

No worries! I'm happy to help. You know the code, so it's only fair, I'd probably have missed some cases.

v0.10 has just been released, so I'm closing this issue.
Note that the previous default API functionality encrypt/decrypt is now located in orion::aead. There have been quite a few changes so I suggest skimming the changelog.
Anyway, I really appreciate you reaching out, let me know right away if you run into any problems(or questions) with the new release.

Missing error propagation in macro type-definitions: func_generate, construct_secret_key_variable_size and construct_salt_variable_size.
This cannot be done for the Default trait implementation because of the trait pattern.

authors: brycx ergl

repo: brycx/orion


text:
皮肤站安全问题堪忧

Blessing Skin 版本
6.0.0
PHP 版本
7.3
出现问题时所使用的浏览器
Chrome
您正在使用的 Web Server
Nginx
您正在使用宝塔吗？

[ ] 是

出现了什么问题？
皮肤站即使在已配置https访问的情况下任然明文传输用户密码和用户邮箱等隐私信息
错误日志
其中一个抓包（登陆时），用户名均为测试用：
POST /auth/login HTTP/2
Host: skin.mcore.top
Cookie: locale=zh_CN; XSRF-TOKEN=eyJpdiI6IktTNE43bUlCeWVVTDVvR1UvYkFLMUE9PSIsInZhbHVlIjoibjhick0xZHEzQXQzYzZKb051TzQ4MFV2d3JwVkh2eHNRSEo0dWEzbSszUzVINDBqNzFraUVpSVc0cUxHaVJ6MDRjUGcyRzdQRFBzTzVlTDNWRkM2K2lvZllYQmNMR0RUOWdGenBlaTV1Y3R6eVJpQ0xsYUJ3aW1udlZZTnhjakgiLCJtYWMiOiIzNzdiNDE4N2M5OWM4ZjUzOGI1YzFlZDYwNWI4YTBmOWFkNTM0MjRiZDFhZThhYTM5ZWE1MGIxMGIwNDQxNzliIiwidGFnIjoiIn0%3D; BS_SESSION=eyJpdiI6IkdlSXFIZVpiUzFDU2hNYzM5RGc2WVE9PSIsInZhbHVlIjoiVXo0aStNMituWEZnMDhleXlLQUVkMVQwMEFGYVJmaEhlTWN5TTlJQ2w0UVFBQjhyYThFWkc2TStlWjkycjMySTFPKy9RK3Jmb2FDbmVkWVpqSVU0SFZTZlZ5VDVUK0kwbFdjdFAvM1JQR1BBb0FKOUE4a3ZCWWVlYlhBZDdkUHIiLCJtYWMiOiI2OTE5NDFiNTM5ZWFkOTAwYmM2ZTMxZTQzYjUwYTMyNmFhMjdjNzIzNDJmODY4OGEwOTc2ZDVlMWI0NzlkZDlmIiwidGFnIjoiIn0%3D
Content-Length: 66
Sec-Ch-Ua: "-Not.A/Brand";v="8", "Chromium";v="102"
Accept: application/json
Content-Type: application/json
X-Csrf-Token: mtbROlF1OxiUeUiqp7l0SO5XzVLMrgfB9cWAtPrI
Sec-Ch-Ua-Mobile: ?0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.63 Safari/537.36
Sec-Ch-Ua-Platform: "Windows"
Origin: https://skin.mcore.top
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://skin.mcore.top/auth/login
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9

{"identification":"aaa@qq.com","password":"aaaaaaaa","keep":false}

重现步骤
使用Burp对皮肤站的访问进行抓包，包括登录及注册

「我MITM我自己」
年輕人不要見得風就是雨。

什么逆天言论

repo: bs-community/blessing-skin-server


text:
Model cleanup

I noticed some duplicated/unnecessary code in the postgres models. This patch deletes a bunch of code without changing behavior.

A few other questions about the models:

Would you be open to switching table and column names to lower-case? We have to quote upper-case table and column names now, which is a little annoying.
Is the mongodb backend still in use? It looks like all the docs reference postgres. It might make the code a bit simpler to drop mongodb entirely.

repo: bschoenfeld/va-court-scraper


text:
Update Docs

Update documentation to describe the device name block and how it's related to the advertised name.

Docs updated, but videos could use an update too.

repo: bsiever/microbit-pxt-blehid


text:
BTCPay Server 1.2.0 blog post and related images

This PR is the 1.2.0 release blog post including related images.
The in-post images are in dark-mode from the testing server.

We're good to go I believe, final 👀 in case anyone wants to @Kukks @Zaxounette @NicolasDorier

I have a nit in the placement of some paragraphs in the bottom. Give me 5 minutes to push the change.

We're good on my end!
PUSH THE RED BUTTON! \o/

authors: Zaxounette pavlenex

repo: btcpayserver/blog


text:
Any plans to add support for SLIP-0132 version bytes?

https://github.com/satoshilabs/slips/blob/master/slip-0132.md
It appears you can pass in version bytes when constructing a master key and this will work for serializing private keys, but you cannot serialize public keys.
I was able to cobble together this hackey code, is there a better way to do this? Posting in case it helps others with the same issue.
package main

import (
	"bytes"
	"fmt"

	"github.com/btcsuite/btcd/chaincfg"
	"github.com/btcsuite/btcutil/hdkeychain"
)

func i32tob(val uint32) []byte {
	b := make([]byte, 4)
	// https://golang.org/pkg/encoding/binary/
	binary.BigEndian.PutUint32(b, val)
	return b
}

func NeuterWithVersion(xkey *hdkeychain.ExtendedKey, version []byte) (*hdkeychain.ExtendedKey, error) {
	// Already an extended public key
	if !xkey.IsPrivate() {
		return xkey, nil
	}

	pubkey, err := xkey.ECPubKey()
	if err != nil {
		return xkey, err
	}

	xfp := xkey.ParentFingerprint()
	xfp_bytes := i32tob(xfp)

	return hdkeychain.NewExtendedKey(version, pubkey.SerializeCompressed(), xkey.ChainCode(), xfp_bytes,
		xkey.Depth(), xkey.ChildIndex(), false), nil
}

func main() {
	net := chaincfg.MainNetParams
	// SLIP132 version bytes
	// https://github.com/satoshilabs/slips/blob/master/slip-0132.md
	net.HDPrivateKeyID = [4]byte{0x02, 0xaa, 0x7a, 0x99} // Zpriv
	net.HDPublicKeyID = [4]byte{0x02, 0xaa, 0x7e, 0xd3}  // Zpub

	// Insecure wallet:
	master, err := hdkeychain.NewMaster(bytes.Repeat([]byte{0x00}, 32), &net)
	if err != nil {
		panic(err)
	}
	fmt.Println("master", master)

	xpub, err := NeuterWithVersion(master, []byte{0x02, 0xaa, 0x7e, 0xd3}) // Zpub
	if err != nil {
		panic(err)
	}
	fmt.Println("xpub (NeuterWithVersion)", xpub)

	// This will fail
	xpub, err = master.Neuter()
	if err != nil {
		panic(err)
	}
	fmt.Println("xpub (regular)", xpub)

}

$ go run main.go
master ZprvAhadJRUYsNgeANg593xPYvpJjBZoVyAfhMr43wqnhYRZieBp1JwiBkNDmfvvLmjfTs9zhZfVKaX3oHVMsyqDAiVPm4fTPADaUHKxM5cd47s
xpub (NeuterWithVersion) Zpub6vZyhw1ShkEwNrkYF5VPv4m3HDQHuRtX4amerLFQFsxYbSWxYrFxjYghcyYFUteKDEbbLUKq7o3m16BXww5ALJ9coC76L9PJpryReNjP2hi
panic: unknown hd private extended key bytes
...

You can compare this here to confirm it is indeed correct:
https://iancoleman.io/bip39/

Note that I'm running github.com/btcsuite/btcutil v1.0.3-0.20200713135911-4649e4b73b34 as there were some recent changes that are not included in 1.0.2

The cleanest approach I can think of is to provide a new method called RegisterHDKeyID, in the chaincfg package of btcd. Here's a rough implementation (untested):
// RegisterHDKeyID registers a public and private hierarchical deterministic
// extended key ID pair.
//
// Non-standard HD version bytes, such as the ones documented in SLIP-0132,
// should be registered using this method for library packages to lookup key
// IDs (aka HD version bytes).
// Reference:
//   SLIP-0132 : Registered HD version bytes for BIP-0032
//   https://github.com/satoshilabs/slips/blob/master/slip-0132.md
func RegisterHDKeyID(hdPublicKeyID []byte, hdPrivateKeyID []byte) error {
	if len(hdPublicKeyID) != 4 || len(hdPrivateKeyID) != 4 {
		return ErrInvalidHDKeyID
	}

	var keyID [4]byte
	copy(keyID[:], hdPrivateKeyID)

        hdPrivToPubKeyIDs[keyID] = hdPublicKeyID

        return nil
}

Using the above solution, you don't need to modify the chaincfg.MainNetParams in-place. Your code would then look something like this:
hdKeyIDZprv := []byte{0x02, 0xaa, 0x7a, 0x99}
hdKeyIDZpub := []byte{0x02, 0xaa, 0x7e, 0xd3}

if err := chaincfg.RegisterHDKeyID(hdKeyIDZprv, hdKeyIDZpub); err != nil {
        panic(err)
}

masterZpub, err = masterZprv.Neuter()  // assuming masterZprv is already defined
if err != nil {
        panic(err)
}

fmt.Println("serialized master Zpub", masterZpub.String())  // this should work!

I can do a PR if the above works for you.

That makes sense, thanks!
Would it be easy to switch version bytes on an existing MasterZprv or would this have to be registered at instantiation? There are use-cases where you might want to switch between (all of) them on the fly:

Generate xpriv from some seed
Calculate child xpub (using the standard MainNetParams)
Display that xpub from step 2 with SLIP132 version bytes (say as a Ypub & zpub).

You can see there's some demand for step 3 as there exists a popular tool just to perform this step:
https://jlopp.github.io/xpub-converter/
If it's not easy to switch version bytes on an already-derived child key, I could still make this work in a hackey way: just do step 1 n times (once for each version byte I'd like to encode with), perform step 2 on each of those keys, and then calculate the .String() value of each of those instances of the key.

You can see there's some demand for step 3 as there exists a popular tool just to perform this step:
https://jlopp.github.io/xpub-converter/

That's quite useful indeed. I don't think it's too hard to implement this feature. We just need to export the version field of ExtendedKey so that it's possible to set values as needed:
key, err := hdkeychain.NewKeyFromString("xpub67uA5wAUuv1ypp7rEY7jUZBZmwFSULFUArLBJrHr3amnymkUEYWzQJz13zLacZv33sSuxKVmerpZeFExapBNt8HpAqtTtWqDQRAgyqSKUHu")
if err != nil {
	panic(err)
}

key.Version = []byte{0x04, 0xb2, 0x47, 0x46}  // set the Version field for zpub from SLIP-0132
fmt.Println(key)  // zpub6mZghGWKDH6wXQW5uFgytjNa7sYLMaEU15Ncse5cobXZ5yNvjrr7eSJH6QFkcPDss9gXTGgtaBXfQpU62D1QUbf1uXHK4LUBwsHykyMwZ3t

I'll try to consolidate what we discussed in this issue, and do some PRs soon. :)

That sounds awesome!
I want to open-source a CLI multisig and BIP39 RNG helper tool I've written which currently uses NeuterWithVersion and my hackey implementation at the beginning of this thread (ugh), so I'll just wait until you have this PR and switch to that much cleaner interface before publishing my confusing code.
Nit/Q: you're using key.Version in your latest example, but what if NewKeyFromString took in an xpriv (not an xpub), then how could I get both zpub and zpriv out of your code snippet?
key.Version seems ambiguous, because it's not clear if it applies to hdPrivateKeyID or hdPublicKeyID. I want to update key.Version to use 0x04b2430c for zprv and 0x04b24746 for zpub (at least in this case where we're P2WPKH, most of what I'm working on is Multi-signature P2WSH in P2SH or Multi-signature P2WSH, which have their own pub/private version bytes for mainnet/testnet).

@mflaxman I did two PRs to add support for this feature.

https://github.com/btcsuite/btcutil/pull/181: lets you convert from xpub to zpub
https://github.com/btcsuite/btcd/pull/1617: lets you convert from zprv to zpub

Check out the unit-tests of #181 for a sneak peek.

Looks great!
Nit: could you add a test of xprv to zpub (and zprv to xpub)? It's not strictly needed for functionality, but will help others who use the tests as documentation.

could you add a test of xprv to zpub (and zprv to xpub)?

We'll need https://github.com/btcsuite/btcd/pull/1617 for that, which won't be available in a stable btcd version until v0.22.0
(too late for v0.21.0, which will be out today). Provided the mappings have been registered in advance, it'll just be a matter of calling Neuter() after CloneWithVersion().
You should still be able to use it in your code by pointing to a development release of btcd, but I can only add a unit-test once btcd v0.22.0 is out.

With https://github.com/btcsuite/btcd/pull/1617 and https://github.com/btcsuite/btcutil/pull/181 merged, we now have a flexible API to support custom HD version bytes (including SLIP-0132)! 🚀
I let you close the issue after verifying the recent updates. Thanks for your constant feedback. 🙂

authors: mflaxman onyb

repo: btcsuite/btcutil

license: isc


text:
Trade().create_order: Ability to use floats as trade amounts or prices

The Kraken create_order API only allows string amounts and volumes, since it strictly enforces how many decimal points can be used in a way that is different per trade pair.
Python-Kraken-SDK's create_order on the other hand, says it allows float arguments, which is really nice as it seems to abstract away this pesky detail.  However, if you try to use it with arbitrary float arguments, for example float(1/9), the Kraken API gives an error that there is an invalid number of decimal places provided.
So, we "kinda" support float arguments, but not really because they have to be a specific subset of float arguments that have the precice number of decimal places provided.
I'm not entirely sure what the "best" behavior would be.  On one hand, I would like to be able to pass .5000000001 to create_order, and it knows to truncate it to .500000000.  On the other hand, it might be considered "wrong" to place any order that isn't precicely what was asked for.
Maybe there can be a 'truncate' flag to create_order that truncates the amounts appropriately?  Maybe by default it's not enabled, just so we don't confuse anyone, but a simple truncate=True would truncate the amounts to the correct number of decimal places.
I'm using this code currently as a work-around.  It could be adapted pretty easily to create this Truncate feature, but before I offer a pull request, I want to make sure we agree this is an improvement.
truncate.py
from math import floor

def truncate(amount, amount_type, pair):
    '''
    Kraken only allows volume and price amounts to be specified with a specific number of decimal places, and these
    varry depending on the currency pair used.

    This function converts an amount of a specific type and pair to a string that uses the correct number of decimal
    places.

    Inputs:
        amount          - The floating point amount we want to represent.
        amount_type     - What the amount represents.  Either ('price'|'volume')
        pair            - The currency pair the amount is in reference to.

    Outputs:
        amount_str      - A string representation of the amount.
    '''

    tradeable_asset_pairs=tradeable_asset_pairs_get()['result']

    #Extract the data we need for this from the tradeable_asset_pairs:
    pair_decimals=tradeable_asset_pairs[pair]['pair_decimals']
    lot_decimals=tradeable_asset_pairs[pair]['lot_decimals']

    if amount_type=='price':
        decimals=pair_decimals
    elif amount_type=='volume':
        decimals=lot_decimals
    else:
        assert 0, f'Invalid {amount_type=}.'

    amount_rounded=floor(amount*10**decimals)/10**decimals

    #Convert with the right number of decimal places:
    amount_str='{:.{}f}'.format(amount_rounded, decimals)

    return amount_str

tradeable_asset_pairs_get.py ( this is referenced by another issue too)
from .timed_lru_cache import timed_lru_cache
import requests

@timed_lru_cache(seconds=120, maxsize=100)
def tradeable_asset_pairs_get():
    'Gets information about all of the currency conversions we can do.'

    response=requests.get('https://api.kraken.com/0/public/AssetPairs')
    assert response.status_code ==200, 'Error getting tradeable asset pairs.'

    return response.json()

Plus, knowing how I work, I will probably get distracted by other priorities before I make a pull request, so at least you have the code don't end up doing that.

That sounds reasonable. I also had a function like this for my strategies but never thought it would be good within this module. I will adapt your example and test it out. - Thanks!

Great!  Thanks.  🫡
On Thu, May 18, 2023, 4:02 PM Benjamin T. Schwertfeger <
@.***> wrote:

That sounds reasonable. I also had a function like this for my strategies
but never thought it would be good within this module. I will adapt your
example and test it out. - Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/btschwertfeger/python-kraken-sdk/issues/94#issuecomment-1552755480,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEVLQ5UQSPEIPRSPHJLF73TXGXQRPANCNFSM6AAAAAAYGCR5LA
.
You are receiving this because you authored the thread.Message ID:
@.***>

authors: andyDoucette btschwertfeger

repo: btschwertfeger/python-kraken-sdk


text:
Godot 4.0 support

FuncRef -> Callable / lambda functions
https://docs.godotengine.org/en/latest/classes/class_callable.html
Async functions ( await )
https://docs.godotengine.org/en/latest/tutorials/scripting/gdscript/gdscript_basics.html#awaiting-for-signals

Just waiting for the new documentation for websockets.

I've made an updated version of this thats working in godot 4.3... I think there's a much cleaner way to achieve what this plugin does since godot 4, but this works well enough.
Please let me know if you'd like me to post my code here

I've made an updated version of this thats working in godot 4.3... I think there's a much cleaner way to achieve what this plugin does since godot 4, but this works well enough.

I kind of forgot about this, I'm not longer working on this project.

Please let me know if you'd like me to post my code here
@rossunger Sure, if you have a link or something I can add it on the readme file if you want.

authors: btzr-io rossunger

repo: btzr-io/pusher-websocket-godot


text:
关于预训练模型

up主的 yolo3-efficientnet-b0-voc.pth是自己训练的吗？还是从哪里找的。

是从0开始在imagenet上训练得到的吗？
感谢回复。

……目标检测啊…voc啊

好的好的，我以为这种预训练模型文件都需要在imagenet数据集上训练才能得到，抱歉。

authors: bubbliiiing godjiawen


text:
Downgrade acorn-jsx dependency to resolve conflicts with recent version of acorn

Buble is not compatible with acorn^7.0.0, as is correctly declared in the package.json. Normally this would be the end of it, but because acorn-jsx is compatible with acorn^6.0.0 || ^7.0.0, this causes Buble to fail if acorn^7.0.0 exists anywhere where acorn-jsx can grab it as then acorn-jsx is using 7 and Buble wants to use 6.
In other words, Buble claims to be compatible with acorn-jsx^5.0.1 but is actually not and should instead say acorn-jsx^4.1.1, which is the most recent version of acorn-jsx that does not claim compatibility with acorn^7.0.0.

This is what's causing https://github.com/styleguidist/react-styleguidist/issues/1321

I tried to write a PR for this, but acorn-jsx didn't start using the new acorn extending method until 5.0, so I don't know how to make it work.

Closing because this is a bug that should actually be fixed in the acorn-jsx repo.

repo: bublejs/buble


text:
fix: TypeError, we need always to 'init' unified list

Connects to #163

Coverage remained the same at 89.226% when pulling 61607e22096d9c069bf23e9f7db4eb2c35564dcc on helio-frota:lr-163 into 3c5f9ee8cd34cb501d17775c5039256dee123698 on bucharest-gold:master.

authors: coveralls helio-frota

repo: bucharest-gold/license-reporter


text:
Updated README file in JQuery example

@lance @lholmquist let me know what you think

thank you @lance for the feedback.
Updated.

Thanks for the help with this @rhoads-zach!

authors: lance rhoads-zach

repo: bucharest-gold/opossum


text:
Any s3 deployment examples

I was trying to get it up and running in my local to talk to s3 bucket, but somehow, I am not able to see the cache showing up in the S3 bucket.
docker run -u 1000:1000 -v ~/bazel-cache:/data \
  -p 9090:8080 -p 9092:9092 \
  buchgr/bazel-remote-cache --s3.endpoint=s3.us-east-1.amazonaws.com \
                            --s3.bucket=test-bucket \
                            --s3.prefix=test-prefix \
                            --s3.access_key_id=test \
                            --s3.secret_access_key="test" \
                            --s3.disable_ssl=true \
                            --s3.key_version="2" \
                            --max_size=100

here is my bazelrc setting:
 build --remote_timeout=20
-build --remote_cache=https://bazel:baz3l@bazel-cache.blt.meetup.com
+build --remote_cache=http://localhost:9090
 build --remote_accept_cached=true
 build --remote_upload_local_results=true
 build --remote_local_fallback=true

I wonder what I did wrong. Thanks!

Hi,
I don't have an AWS account to test this feature with myself, but this looks similar to the config described in cache/s3proxy/minio-test-setup.md that I test with.
Did you create "test-bucket" beforehand? And are there any warnings or errors in bazel-remote's logs when you test this?

yes, I created a test bucket, let me see the logs stuff

@chenrui333: did you ever figure this out? I'd be happy to add documentation (or just references) on how to do this.

repo: buchgr/bazel-remote


text:
Description is less optional than I thought

A lot of the data types treat description fields as optional. This seems to be incorrect, I run into errors if they don't exist.

Fixed


text:
query on date

it's sometimes quite useful to search on dates (particularly for persons), if users type a date with 4 digits we should have a special path like we do for IDs. That special path would search in the fields publicationDate, birthEvent and deathEvent (which I realize are not there yet)

still not satisfactory. I use it all the time to identify persons, see for instance the difference between
https://library-dev.bdrc.io/osearch/search?q=1975&type[0]=Person
https://library.bdrc.io/search?date="1975"&t=Person
although I suppose it's not too bad as it's still an option in the advanced search:
https://library-dev.bdrc.io/search?date="1975"&t=Person

It would find year ranges right?  greater than birth year, less than death year, etc?

Not necessarily no, it can just be a basic keyword match on the date related fields

I pushed a version that matches birthDate, deathDate, publicationDate if exact.  Can be multiple. It also matches century when typed with two zeroes like 1800.  In the 1% cases when century overlaps with birth/death, the latter is strongly boosted.
Year match does not work with AND or quotes.

Wonderful, thanks!

Forgot to say that years can be combined with keywords, like "khyentse 1800"

authors: eroux roopeux

repo: buda-base/autocomplete-prototype


text:
shorter cache period

I think we could reduce the cache (max-age) to a shorter value... maybe 4h?

Done! in ldspdi.properties file Max-age=14440 - I restarted ldspdi so it's effective.

thanks!

authors: MarcAgate eroux

repo: buda-base/lds-pdi


text:
Update README.md

typo

Thanks!

repo: buddy-compiler/buddy-mlir


text:
Feature/awesome import manager

Closes #102
Closes #100
Fixes #211

Description
Introduces ImportGroups that are grouping and ordering all imports. Adds the possibility to configure all those groups and adds a trailing comma on multi line imports (if configured).
Also removes the "new import location" since import groups are now used

Thanks you! :D

authors: buehler michaeljota

repo: buehler/typescript-hero


text:
adds documentation for passthrough options

This PR adds documentation on a frequently asked question about how "passthrough options" work with Connect-Query.

This would definitely prevent me from asking about how to add options in slack. LGTM!

authors: dimitropoulos octobocto

repo: bufbuild/connect-query


text:
Vue 3: Uncaught TypeError

I'm trying to integrate the @bugsnag/plugin-vue plugin but am getting the following console error:
Uncaught TypeError: Cannot read properties of undefined (reading 'errorHandler')
Looking at the console error details, Bugsnag is trying to access a property on a "Vue" object:
// bugsnag-vue.js Line 80
var prev = Vue.config.errorHandler;

The cause, ostensibly, is that the "Vue" object doesn't exist, since in Vue 3 we instantiate Vue using the createApp function:
import { createApp } from 'vue'
const app = createApp({
...

In Bugsnag's Vue integration documentation it incorrectly shows instantiating Vue like this:
Vue.createApp(App)

Hi @anakadote - our docs example demonstrates passing a root component to createApp. This is discussed in the Vue docs here: https://vuejs.org/guide/essentials/application.html#the-root-component.
It's a bit unclear what could be causing the TypeError you're seeing, could you share your full Bugsnag configuration code or alternatively a cut-down reproduction example that reproduces the issue - feel free to send this in to support@bugsnag.com.

Thanks, @luke-belton. Here's a barebones example which is triggering the same error:
import { createApp } from 'vue'

// START Bugsnag
import Bugsnag from '@bugsnag/js'
import BugsnagPluginVue from '@bugsnag/plugin-vue'

Bugsnag.start({
  apiKey: API_KEY_HERE,
  plugins: [new BugsnagPluginVue()],
})

const bugsnagVue = Bugsnag.getPlugin('vue')
// END Bugsnag

const app = createApp({})
app
   .use(bugsnagVue)
   .mount('#app')

Hi @anakadote - I haven't been able to reproduce this with a fresh Vue 3 project created with npm init vue@latest, using the latest version of Bugsnag and replacing the empty object you passed to createApp with the imported root component, App, i.e.:
const app = createApp(App)

What version of Vue and bugsnag-js are you using? Could you share the contents of your package.json file perhaps?

hi @anakadote, closing this off as we haven't heard from you in a while are we are currently unable to reproduce this. Happy to reopen if you can provide the information requested above.
Thanks

This is also happening to me...in my case, we have a mix of using Vue via CDN and via package.json (it is a requirement for my project).
By importing Vue via CDN, we make the Vue object available  globally. And this line in the code is then loading Vue 2 instead of Vue 3: https://github.com/bugsnag/bugsnag-js/blob/next/packages/plugin-vue/src/index.js#L19
Here's a basic example: https://codesandbox.io/p/devbox/xenodochial-bose-qvvrvp
I guess a simple solution is to update that if to check the Vue version, instead of just checking if the object exists.
load (client) {
    if (this.Vue.version[0] === '2') {
      installVue2(this.Vue, client)
      // Rest of the code...

authors: anakadote brunomonteiro-asknicely johnkiely1 luke-belton

repo: bugsnag/bugsnag-js


text:
Copy Bazel produced dSYMs in BwB mode

Part of #1477.

Thank you @CognitiveDisson!

authors: CognitiveDisson brentleyjones


text:
White background

I tried to test the beauty with my app.
Looks awesome but.. somewhy I got white backgrounds for JList and JTextField.
Here is a screenshot : http://prnt.sc/8xnx0u

My bad - it was on my side, all works perfect :)

repo: bulenkov/Darcula


text:
Icons not working as expected in super scaffolding

I used super scaffolding to generate a Project model/UI and when it got to the step asking for an icon the CLI said that it was going to open two windows, but it only opened one for Themify. I selected an icon (ti-music-alt) and entered that, but I don't get that icon in my UI.

I wondered if it was a problem with just that particular icon, so I tried using one that BT uses elsewhere (ti-home) and that renders the same thing.
It seems like maybe Themify icons aren't working at all, and the process for choosing a Font Awesome font isn't working as expected.

After poking at this some more I discovered that the music icon will work if I include ti in the icon string (doing ti ti-music-alt instead of just ti-music-alt). It's not obvious that this would be needed.
The Themify docs only mention using the actual icon string and don't say anything about needing a stand alone ti class. Is that something that's unique to the BT implementation?

Oops, I didn't mean to open this on bullet_train-base, so I moved it to bullet_train.
https://github.com/bullet-train-co/bullet_train/issues/284


text:
LoadError when trying to invoke bundle exec from ruby script after bundler/setup

Bundler Version: 1.16.0
Ruby Gems: 2.7.0
Trying to run
require 'bundler/setup'
system('bundle exec whatever')

fails with
/home/travis/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `load': cannot load such file -- /home/travis/.rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/exe/bundle (LoadError)

Minimal example:
https://github.com/tf/bundler-executable-not-found
https://travis-ci.org/tf/bundler-executable-not-found/builds/296324791
If Gem.activate_bin_path('bundler', 'bundle', '>= 0.a') (which is what is loaded in the bundle executable) is called for the first time after bundler/setup, it reports the missing path .rvm/rubies/ruby-2.1.7/lib/ruby/site_ruby/exe/bundle. If it is called before bundler/setup, the correct value is already cached. The above Travis build contains examples of both cases for different Ruby versions.
In my case this causes all invocations of the form system('bundler exec ...') to fail that come from a binstub since binstubs include the bundler/setup line.

Also happens after downgrading to Rubygems 2.6/Bundler 1.15:
https://travis-ci.org/tf/bundler-executable-not-found/builds/296337874
Even though this combination used to work some builds back in the real project where I originally encountered the issue today: https://travis-ci.org/tf/pageflow/jobs/291487846
So far only reproduced on Travis. Maybe its Travis specific?

I have similar problems on Teamcity Ci. Did you try to remove bundler 1.16 from your system?

I tried removing Bundler 1.16 and downgrading to 1.15, but it did not help:
https://travis-ci.org/tf/bundler-executable-not-found/jobs/296355343/config

Since re-running passed Travis jobs also leads to failures now, either something could be broken on Travis or it might be an issue with the new Rubygems version. Still, downgrading Rubygems does not help either. But since I have not found a way yet to prevent rvm from installing a current Rubygems version first. So Rubygems 2.7 might still break something that is not fixed by downgrading.

What does bundle install installed?
Bundle complete! 0 Gemfile dependencies, 1 gem now installed.

Good question. I just added the empty Gemfile to be able to run bundle exec.

Could you add some gems?

It looks that i have different problem

Maybe Bundler is counting itself as a gem? Listing gems after bundle install, does not reveal anything interesting:
https://travis-ci.org/tf/bundler-executable-not-found/jobs/296361910
Here's a build with some rails gems installed:
https://travis-ci.org/tf/bundler-executable-not-found/jobs/296362939
It does not change much really.

Was able to reproduce on local machine using Rubygems 2.7 and Bundler 1.16 with BUNDLE_DISABLE_SHARED_GEMS: true.
On the other hand, installing without --deployment/--path fixes Travis build:
https://travis-ci.org/tf/bundler-executable-not-found/builds/296490703
Looks a bit like https://github.com/bundler/bundler/issues/4602#issuecomment-249274930.
Could this be related to bundler being vendored in recent Rubygems versions?

I'm currently unable to reproduce this in a test:
diff --git a/spec/commands/exec_spec.rb b/spec/commands/exec_spec.rb
index ae3148793..3ce1542be 100644
--- a/spec/commands/exec_spec.rb
+++ b/spec/commands/exec_spec.rb
@@ -746,6 +746,18 @@ __FILE__: #{path.to_s.inspect}
         file.chmod(0o777)
         bundle! "exec #{file}", :system_bundler => true
         expect(out).to eq("foo")
+
+        create_file(file, <<-RB)
+          #!#{Gem.ruby}
+          require "bundler/setup"
+          puts `bundle exec #{Gem.ruby} -e 'puts :foo'`
+        RB
+        file.chmod(0o777)
+        sys_exec! "'#{Gem.ruby}' #{file}"
+        expect(out).to eq("foo")
+
+        sys_exec! "BUNDLE_DISABLE_SHARED_GEMS=true '#{Gem.ruby}' #{file}"
+        expect(out).to eq("foo")
       end
     end

So I think I tracked it down. Here's what is happening:
When bundler/setup is loaded, it patches Rubygems and overrides activate_bin_path to return the contents of ENV["BUNDLE_BIN_PATH"] when we are looking for the bin path of the bundler executable:
https://github.com/bundler/bundler/blob/d17f2e43236ba53f05b70e7317d218ba94e293c8/lib/bundler/rubygems_integration.rb#L472-L483
This environment variable is set by first trying to look up the bin path via rubygems, but falls back to a fixed relative path to Bundler's exe directory:
https://github.com/bundler/bundler/blob/d17f2e43236ba53f05b70e7317d218ba94e293c8/lib/bundler/shared_helpers.rb#L294-L300
When gems have been installed with bundle install --deployment, this rescue case kicks in, because apparently Bundler does not include its own sources in the vendor/bundle directory.
In the presence of Rubygems 2.7, shared_helpers.rb is loaded from .rvm/rubies/ruby-2.3.1/lib/ruby/site_ruby/2.3.0/bundler/shared_helpers.rb. But there simply is no ../../../exe/bundle directory in the vendored version of Bundler.

So it's more or less a bug with the way Rubygems unpacks its vendored version Bundler if I understand correctly. Or a bug in Bundler making too concrete assumptions about the way it is installed.

A temporary workaround is to invoke the script with bundle exec (or in my original bin stub case, call bundle exec rake instead of bin/rake in .travis.yml).
This makes Rubygems load and cache Bundler's gemspec (including bin paths) before the monkey patch is activated, causing the non-vendered, gem version of Bundler to be used.

@tf
I have the same issue on Circle CI, my bundle install works, but when running rails test it cannot find rake.
Did you find anyway to solve it? Even running bundle exec rails test gives me the same issues.

@davidwessman in my case rails test fails  only because of 'spring'
the line https://github.com/rails/spring/blob/v2.0.2/lib/spring/client/binstub.rb#L39
Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path

in bin/spring makes it fail.
If you remove/comment out the line then it works fine (in my case)

I'm seeing the same failure in our Circle CI builds after upgrading to 1.16.0. Downgrading to 1.15.4 is a successful workaround.
As mentioned in #6147, for me it has to do with the --path option.
If I install using --path, then I see an error:
$ bundle install --path vendor/bundle --jobs=4
$ bin/rake --version
Could not find rake-12.1.0 in any of the sources
Run `bundle install` to install missing gems.

But if I instead use --system, it works:
$ rm -rf vendor/bundle
$ bundle install --system --jobs=4
$ bin/rake --version
Running via Spring preloader in process 13465
rake, version 12.1.0

In my case bin/rake is the spring-enabled binstub that comes with Rails:
#!/usr/bin/env ruby
begin
  load File.expand_path('../spring', __FILE__)
rescue LoadError => e
  raise unless e.message.include?('spring')
end
require_relative '../config/boot'
require 'rake'
Rake.application.run

I hope this info is helpful!
Again, downgrading to 1.15.4 solves this problem.

Same here. Our CI systems started failing after 1.16.0. Running
bundle exec rails runner -e test "puts 1" --trace
bundle exec bin/rails runner -e test "puts 1" --trace

fails.
We install using bundle install --path vendor/bundle --jobs=4 as well.

@mshytikov That did not work for me :/

Turns out, the error I was seeing (mentioned above) was not due to upgrading to Bundler 1.16.0, but was due to Circle CI introducing the BUNDLER_APP_CONFIG environment variable. I can't speak for the other commenters in this thread, but my issue is actually a problem with Spring (specifically the way the binstubs interact with BUNDLER_APP_CONFIG) and not Bundler itself. See https://github.com/rails/spring/issues/545.

Also happens after downgrading to Rubygems 2.6/Bundler 1.15:
https://travis-ci.org/tf/bundler-executable-not-found/builds/296337874
Even though this combination used to work some builds back in the real project where I originally encountered the issue today: https://travis-ci.org/tf/pageflow/jobs/291486495
So far only reproduced on Travis. Maybe its Travis specific?

@tf I just reviewed that link and I think the problem is that you're installing the new bundler 1.15, then reverting back to Rubygems 2.6.  The newly installed bundler may be referencing the old Rubygems, so the Rubygems 2.6 install should come before the Bundler 1.15 install.
From what I've seen of this bug, this issue should be Rubygems 2.7.1 specific. Can you update your test run and try again?

Hi all, Can anyone try this issue with RubyGems 2.7.3? I couldn't reproduce this.
see. https://travis-ci.org/hsbt/bundler-executable-not-found/builds/309343716

RubyGems 2.7.3 appears so have fixed the problem. I can also no longer reproduce the problem in the project where I originally encountered the issue.

authors: WozniakMac davidwessman eric-hu hsbt mattbrictson mshytikov segiddins tf vipulnsward

repo: bundler/bundler


text:
[Fetcher] Chunk API requests to stay under the request limit

\c @TimMoore

I think all of the failures are due to a change in SSL certs?

@segiddins were you able to try it against any of the Gemfiles that were reported as not working?

@TimMoore this is the error message certificate /CN=you/DC=example not valid after 2015-02-05 14:11:06 UTC

@segiddins yeah my comment wasn't related to the test failures... André already pushed a fix for those. Just wondering whether you were able to reproduce the original problem and confirm that this change fixes it.

Yes, I can confirm that I can resolved the linked-to Gemfile with these changes.

Thanks, @segiddins!

This was included in 1-7-stable as a35a5bdfce632b38e123bc6626692b91cdbcbf0a and will be merged up to 1.8 and master soon. :smile:

authors: TimMoore segiddins


text:
[CLI] Warn when running an outdated bundler version

Closes https://github.com/bundler/bundler/issues/4683.
The sends are super hacky but ¯_(ツ)_/¯

@bundlerbot r+

Isn't it a bit too much to get notifications for pre releases?

see #6004

@colby-swandale Thanks

authors: agorf colby-swandale indirect segiddins


text:
Update cats-effect, cats-effect-kernel, ... to 3.5.6

About this PR
📦 Updates

org.typelevel:cats-effect
org.typelevel:cats-effect-kernel
org.typelevel:cats-effect-std

from 3.5.4 to 3.5.6
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.typelevel" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #267.


text:
Questions and request about CURL implementation

Hi,
Thank you for your great work and the kind release of your implementation!
Please note that this is not necessarily an issue, but a set of questions and requests.
While trying to carefully reproduce results in the paper, I have some questions regarding CURL experiment setup in the multi-view setting.
Specifically, I have the following 4 questions (and requests) in your CURL implementation:

Did you replace SAC with PPO in CURL, the same as other baseline methods?
Are image augmentation techniques independently applied to query and key observations?
Did you use the momentum encoder to encode key observations?
Can you provide your own CURL implementation? (it would be best to resolve all of my questions!)

Thank you!

Hi HyeongJoo,
Can you send me an email and cc co-authors with the same content? I will provide answers and assistance over email for questions about the paper.

I answered ytour questions through email. Let's keep github to repo questions only.


text:
Problem loading DEMO9990.ROM with TNCROM

I made the following test.
I have two WonderTANGs (WTs). I built one tnCartWonder bitstream A with just V9990 and nothing else, and another bitstream B with all except V9990. I flashed WT A with bitstream A and WT B with bitstream B.
I inserted WT A (V9990) in slot 1 and WT B (Nextor, RAM, SCC, FM, SD, ...) in slot 2 of one of my MSX.
I turned on the MSX and it booted correctly, and I tried to load DEMO9990.ROM from Tiny Yarou with tncrom using:
TNCROM /T KONAMI /R DEMO9990.ROM

The tncrom tool loaded the rom, rebooted the computer and the rom executed.
But on the welcome screen where you can press [1] or [2] to launch any of the two demos included, when you press [1] or [2] instead of lauching the demos, the welcome screen appears again and again (allowing you to press [1] or [2] but behaving in the same way).
If instead of using tncrom I use SofaRun, the DEMO9990.ROM loads correctly and I can launch the demos without problems by pressing [1] or [2].
I'm using TNCROM 0.0.6.
I tested with the same results both my Omega Home Computer and my Panasonic FSA1-WSX.
I tested too using a FlashJack cartridge instead of the WT B, and loading the DEMO9990.ROM with FROM (the native tool to load ROMs using a FlashJacks) worked correctly too.
So it seems there is still some problem with TNCROM.

What is your intention in using "KONAMI"?
This demo works in "ASCII16K".
TNCROM does not support patching for bank switching like SofaRun does.

Oh, yes, you are completely right, the rom should be loaded with an ASCII 16K rom mapper...
I verified that it works correctly using the /T ASCII16 option using TNCROM.
And I confirmed that the FROM utility of the Flashjacks reports that it uses an ASCII16K mapper, and SofaRun reports that it is using an ASCII16W mapper.
I suppose I got fooled because the rom loaded (and kind of worked) in the first place without noticing that I was using the wrong mapper.
I guess it is not easy nor reliable to automatically detect which mapper type uses each rom.
For what I've read, some solutions use an external database to determine the mapper type (mapping a rom checksum to a mapper type), others try to guess the mapper type by looking at some signatures or by looking at the potential number of writes the rom does to the mapper address registers like in openMSX.
Maybe the latter could be incorporated into TNCROM to reduce mistakes like mine.
Thanks!

Yes, it would be. It would be useful to have a function to detect it automatically.
It would be sure to refer to a database from hash values like OpenMSX, but it is difficult to create a database for TNCROM from scratch, and it is also difficult to use database references from other software due to licensing reasons.
In this case, although it is not a reliable method, searching for “LD (nnnn),A” while transferring the ROM image file would be more realistic.

Thanks for your comments.
I'm closing this issue, as it is solved/clarified.
I'll play a bit with the autodetection of megarom mappers for tncrom.


text:
Clients don't stay in sync after edits

Splinter sez:
Entry in # 2 Computer doesn't appear in #1
Two incidents entered and closed in macine #2 don't show up on machine # 1. Incident # 31 closed at 3:51 and # 30 closed at 2:44 and at 4:02 they don't show up on # 1.
Quitting and re-opening shows the correct status

As noted in #32, frequent polling in v3 seems pretty functional, if rude to the server.
So this seems to be a non-issue now even without fixing #32.

Fixed in Incidents 3.0b2

repo: burningmantech/ranger-ims-mac


text:
extra observations in appended dataset?

in recollect.R the check that the appended dataset number of observations matches the original number is not true. Consider:

if the data file n_rides is pulled from is updated correctly with the new data
if there are duplicate id's in the appended dataset. Code hasn't checked for them yet

resolved, file path was out of date

repo: buscandoaverroes/bikeshare


text:
invoice.expiration_in() equals the expiry block rather than the amount of blocks until expiry

It does this until the invoice is queried again and it corrects itself.
For example, I set expiry to 250 blocks, and .expiration_in() was 2867261 while creation_height was 2867011.
After using .expiration_in() function a second time, its value was set to 250.

Thanks for making this issue!
I was able to reproduce this by making the first expiration_in() call before any new blocks have arrived. Definitely counterintuitive behavior. Looks like it should be an easy fix though

The fix is on master, so you can point your project at latest master for now and I'll get this out in the next patch release.

Great 🫡

authors: busyboredom ogcatt

repo: busyboredom/acceptxmr


text:
Mobile responsive: Avatar doesn't show in comment conversation

Expected behavior
Avatar shows next to each comment.

Actual behavior
Avatar shows only next to the first comment in comment conversation for each user on mobile (screen/window width smaller than 768px).

How to reproduce

Go to /travel/@sam.hsuu/sunscreen-is-for-the-weak-and-that-incident-at-a-strip-club or /utopian-io/@elear/utopian-now-pays-moderators-in-steem-power-profit-by-assuring-quality on mobile
See comments
Check on desktop that avatars show next each comment

Browser: Brave
Operating system: Android 7.1.2
Model: Moto G3 2015

This has been fixed in #969.

authors: Sekhmet espoem

repo: busyorg/busy


text:
Add Stories

Story component:

On the top right arrow you can do a popover with this in menu:

Follow/unfollow guest123
Report post
Save post
Similar to FB

Great work so far!
Here some inputs:

Can we have tooltip on these buttons:
 With "Like", "Dislike", "Comment" and "Reblog"
Avatars should link to user profile
Inline story should not have full content by default. It should follow a logic that has been implemented by @nil1511 here https://github.com/busyorg/busy/blob/828dc4b57b5ea4343b91c83d92838923bdebc208/src/post/Feed/PostFeedCard.js#L88-L123 . Its probably better to separate this logic into a PreviewStory component.

It can just render it children's and children will contain text and image in the needed order.

Looks good! Just for full story, can you move the topics between StoryFull__content and StoryFooter like this:

authors: Sekhmet adcpm nil1511


text:
Updated package.json Contributor list

This is to update the package.json file's contributor array to correctly mention Contributors since Github is not listing Contributors properly.

could you please rebase of master

I have resolved the conflicts of that file. One thing though, previously it was sorted in alphabetical order which was nice but you changed it, so there must be some purpose which I couldn't understand.

The list was autogereated and ordered my number of commits I believe.
Could you please squash all your commits manually to ensure the right contributor is credited

repo: butlerx/wetty


text:
Implement Ping Timer

We don't actually pay attention to ping timing in server. We should probably do that, though I'm not particularly sure what to do about it, as it'll mean we've frozen our JS context and won't be able to do anything anyways.

buttplug-js will soon be part of buttplug-wasm in https://github.com/buttplugio/buttplug-rs-ffi, closing this bug as it relates to implementation that will be taken care of in buttplug-rs.

repo: buttplugio/buttplug-js