text:
withProtocol stips host when input is in {host}:{post} format

Environment
Node.js 20 and Bun 1.1
packages:

Nuxt: 3.11.2
ufo: 1.5.3

Reproduction
I'm sufficiently secure this is more than enough
import { withHttp, withHttps, withProtocol } from 'ufo'

export default eventHandler(async (event) => {
  const host = 'localhost:9000'
  console.log(withHttp(host))
  console.log(withHttps(host))
  console.log(withProtocol(host, 'ftp://'))
})

Describe the bug
The reproduction outputs:
http://9000
https://9000
ftp://9000

Additional context
Discovered this while building a small app that will be containerized and deployed within a docker stack.
The host (picked from the runtimeConfig) is used to define the container hostname for the backend, and since they could bind or edit the default port I wanted to let them include into the env variable that overrides the runtimeConfig, but with my surprise that it also deletes the host part.
Logs
No response

Hi. This is an annoying issue and edge-case indeed but the reason is that at least by spec, localhost: can be a valid protocol and ufo cannot make a distinguish when input is in the form of host:port alone and ufo utilities do not throw an error like new URL('localhost:3000') does to require protocol.
One possible solution is that we make regex to be stricter and require at least :// for host:port pattern but it is tricky and needs to be in a major version release of ufo.

I would suggest that you change your application to either accept host and port separately or require that the single URL config always include a protocol itself in the meantime.

Sorry, I didn't notice I posted it on ofetch, I must have mixed up the tabs (as I was double checking the docs to be use that this issue wasn't caused by it.
In reality I didn't notice this bug with localhost: but with host.docker.internal: (a local domain inserted by Docker Desktop to simplify the connection between services and application in dev). In production it will change to backend-container-name (port 80 by default), or a domain if deployed separate.

I would suggest that you change your application to either accept host and port separately or require that the single URL config always include a protocol itself in the meantime.

Yes, currently doing:
const { host } = useRuntimeConfig(event)
let baseURL
if (hasProtocol(host)) {
  baseURL = host
}
else {
  const { hostname, port } = parseHost(host)
  baseURL = withHttp(hostname) + (port ? `:${port}` : '')
}

Although in creating this workaround I also noticed that parseHost will pick the protocol as the hostname

repo: unjs/ufo


text:
Add a VERSION.py to the top-level of the repo

right now, versions are only tracked in setup.py, which is unfortunate.

#53 implements this with a __version__ variable in orchestra/__init__.py that supports lookups like import orchestra; print(orchestra.__version__)

source: gharchive/issue

repo: unlimitedlabs/orchestra

license_type: permissive

license_source: bigquery


text:
[SIS-048] Preview featured activity cards from the home page

Description
added ExpandedCard screen, integrated navigation functionality with Home. Touching a card on Home opens ExpandedCard.

Ticket # (issue/ticket number)
SIS048
https://github.com/uoftblueprint/sistema/issues/48
Type of change
New feature (non-breaking change which adds functionality
Checklist:

[x] My PR title is formatted as [SIS-]  (eg. [SIS-010] Create UI button)
[x]  I have linked my issue/ticket on the project board to this PR
[x] I have sent my PR to #team-sistema-prs on Slack and requested two people to review
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (if required)
[x] My changes generate no new warnings
[x] I have tested that my feature works as expected on Android and iOS. If you are a Windows dev, please request a Mac dev to run your branch. If it's a front-end change, I have attached screenshots of what the result looks like on both platforms.

@kurtislaw don't forget to review! :D

hey! it's all looking pretty good! i think the design is just missing the title of the activity card in the activity card preview page though? unless that was something u discussed w/ emily or the designers!

It's passed in as a prop that's commented out atm (@harmitgoswami has confirmed). I'm gonna go ahead and merge this!

source: gharchive/pull-request

authors: harmitgoswami ramyzhang yuemily24

repo: uoftblueprint/sistema

license: MIT

license_source: github-api


text:
🛑 Paris, France is down

In 0cc7fc6, Paris, France ($PARIS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Paris, France is back up in bc6e0c9.


text:
Add tags to VPC to improve usage ergonomics of the network composition

Description of your changes
This is the first of many small PRs to address some of the ideas from #45.

added myself as a secondary maintainer to the repo
added 3 tags to the vpc in /network/composition.yaml to help finding it among other VPCs in the AWS console

Partially Fixes #45
I have:

[x] Read and followed Upbound's contribution process.
[ ] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR, as appropriate.

How has this code been tested

Network composition and definition were installed on the cluster and a network claim was created.
VPC name platformref-vpc was visible in the name column of the VPCs as well as in the tags
2 remaining tags were also present in the tags list

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

repo: upbound/platform-ref-aws


text:
BeforeDelete hook is not called!

I think I found a bug!
I'm using this code:
type Player struct {
	ID uint64 `bun:",pk,autoincrement"`
	CreatedAt time.Time `bun:",nullzero,notnull,default:current_timestamp"`
	CompanyID uint64 `bun:",pk"`

	Name string
}

var _ bun.BeforeSelectHook = (*Player)(nil)

func (*Player) BeforeSelect(ctx context.Context, query *bun.SelectQuery) error {
	query.Where("company_id", GetCompanyID())

	return nil
}

var _ bun.BeforeInsertHook = (*Player)(nil)

func (*Player) BeforeInsert(ctx context.Context, query *bun.InsertQuery) error {
	query.Value("company_id", GetCompanyID())

	return nil
}

var _ bun.BeforeUpdateHook = (*Player)(nil)

func (*Player) BeforeUpdate(ctx context.Context, query *bun.UpdateQuery) error {
	query.Where("company_id", GetCompanyID())

	return nil
}

var _ bun.BeforeDeleteHook = (*Player)(nil)

func (*Player) BeforeDelete(ctx context.Context, query *bun.DeleteQuery) error {
	query.Where("company_id", GetCompanyID())

	return nil
}

BeforeSelect, BeforeInsert, BeforeUpdate are working.
BeforeDelete NOPE!
Am I wrong or this is a bug?

Please provide the code that reproduces the problem. You can use https://github.com/uptrace/bun/blob/master/internal/dbtest/model_hook_test.go#L198-L210 as a template.

It works. I was using another model with the same name in _, err = db.NewDelete().Model((*User)(nil)).Where("id = ?", 1).Exec(ctx).
It works! Thanks!

authors: frederikhors vmihailenco

repo: uptrace/bun


text:
Listen on a different ip on the same server

Hi,
I have a setup where i run node js on the same server with 2 ip's.
Socket IO needs to run on port 80, so i want to attach my second ip to this instance?
Without a cluster i did it like this.
  var server = https.createServer(options, function (req, res) {     }); server.listen(port,'xxxx');
How can i achieve this with your wonderfull module ? :)

Well, currently sticky-cluster has only an option to configure port, not host in server.listen() call, but it can be changed quite easily, PR's are welcome )

Thx, do you know in what file i can make the modification?

lib/index.js -- list of options
lib/master.js -- listen() call
README.md -- docs
package.json -- version

repo: uqee/sticky-cluster

license: mit


text:
Instrument Query for loading times

Another old idea from @bitprophet, from discussions back in tessera's infancy: if we instrument the loading of graphite queries, we could optionally display information on how much cumulative time a dashboard takes talking to graphite. This can be used to display and rank dashboards by how expensive they are (and possibly discourage people from building the kind of dashboard that throws hundreds of every possible metric from a given service on a single page).
With marks and measures from the window.performance API, this is pretty straightforward.

Instrument ds.models.data.Query to mark start/end times
Record the measure between them
Add a panel to the dashboard page which can be opened from the toolbar to display query times (and anything else we want to instrument - rendering time would be another one)
Optionally store most recent load times in a dashboard's metadata, so we can indicate it in the dashboard list

We had a requirement for this, so we turned to New Relic Browser Monitoring. It does very similar stuff to what you're saying. Then we use New Relic APM to optimise graphite.
Not trying to be a New Relic ad.

:+1: to storing the results in metadata - maybe even a ring buffer to calculate an average over the last, like, dozen loads or whatever.

This turns out to be pretty easy with the new user-timing API. Work started in this branch - https://github.com/urbanairship/tessera/tree/issue-370-instrumentation

Instrumentation is checked in (although it has some limitations due to asynchronous processing). I'm going to leave this open until there's a way to expose it.

authors: aalpern barthoda bitprophet

repo: urbanairship/tessera


text:
ahmed30mara2018@gmail.com

What

repo: urbandroid-team/dont-kill-my-app


text:
|serve should detect changes between branches and refresh pages

In the same way that updating a file refreshes the page, |server %branch should refresh pages where the backing assets have changed.

But I'm not sure if this is still relevant

Closing, as neither am I.

authors: joemfb jtobin

repo: urbit/arvo


text:
v2 branch status

It seems some fix/features in the v1 branch are not merged in the v2 branch which is then diverging.
Do you have a status or a plan regarding the switch to the v2 branch?
I can help a bit in this process if required.
Thx

Hi @nlewo,
The merge up has been mostly adhoc and as-needed, but you are correct that it is a bit stale -- I'll merge up now.
As for the v2 release -- I think it is pretty close; there was only one other major change I wanted to get in (which had previously just existed in my head, but now exists as https://github.com/urfave/cli/issues/554). I'll do another survey to make sure there isn't anything else we can clean up for this initial backwards incompatible release (further ideas welcome!).
Thank you for your continued interest in the project!

#555 is the merge up

@jszwedko ok, cool. Thanks for the status;)

:+1: I'll close this this out, but feel free to open new issues of this sort in the future!

authors: jszwedko nlewo

repo: urfave/cli


text:
Fixes urfave/cli#1648

Remove trim of whitespace in StringSliceFlag values, matching the behavior of StringFlag.

What type of PR is this?

bug

What this PR does / why we need it:
See #1648
Which issue(s) this PR fixes:
Fixes #1648
Special notes for your reviewer:
I'm uncertain if the trim behavior was intentional or not as there was no tests covering it.
Testing
Added test that verifies that parsing the same value usingStringFlag and StringSliceFlag  results in equal values.
Release Notes
`StringSliceFlag` no nonger trims space from values, matching the behavior of `StringFlag`.

@palsivertsen Thanks for the excellent PR. Do you think we should add an option whether to trim space or not ?

Do you think we should add an option whether to trim space or not ?
No. Users can call strconv.TrimSpace directly if needed.

Do you think we should add an option whether to trim space or not ?

No. Users can call strconv.TrimSpace directly if needed.

This PR broke any code, including mine that was relying on strings to be trimmed by default.

@skelouse @palsivertsen Can one of you submit a PR to include the option ? Thanks

@skelouse @palsivertsen Can one of you submit a PR to include the option ? Thanks

IMO the option should be NoTrimSpace
I'll leave it to @palsivertsen as he is relying on the default functionality to not trim.

@skelouse @dearchap I'll play around with some designs. Should we open a separate issue for this, or reuse #1648 ?

@palsivertsen just reuse, it's still the same issue.

@skelouse Thanks!
Any idea where to put such a flag? My first instinct was to add it to the StringSliceFlag struct so that one could use it like so:
StringSliceFlag{Name: "slice", NoTrimSpace: true}

But the StringSliceFlag struct is generated.

@palsivertsen I had the same issue with v2, I'm not exactly sure how they are generated.  Maybe someone else can provide input @urfave/cli on how to edit the generated structs for v2.

@skelouse I figured out how to add the field to generated structs. Here's what I've got so far:
https://github.com/palsivertsen/urfave-cli/commit/12b6187e7f5a91cfbaaa123ff2debdc7da4c76e9

authors: dearchap palsivertsen skelouse


text:
Timeline on next release?

Hello,
Thanks for the project! There are a couple of features in main I was hoping to use. Do you have any idea when the next release will be?

Hi @david-welch,
I hope to release a new version in 1-2 weeks

Hi!
Thanks for the project!
I would also like to start using the cursor when it will be released?

Hi @qvntz
Sorry, was busy with my main job. I am planning to do it this weekend.

Hi @david-welch @qvntz
New version 0.11.0 has been release

authors: david-welch qvntz uriyyo

repo: uriyyo/fastapi-pagination


text:
Standard Commons Logging discovery in action with spring-jcl

using docker image urlaubsverwaltung/urlaubsverwaltung:5.0.0-M6 running the application i receive this issue:
Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts

Not that easy, liquibase brings opencsv that brings common-logging.
We do also directly use opencsv, which could/should be replaced with fastcsv I think.

authors: derTobsch grafjo

repo: urlaubsverwaltung/urlaubsverwaltung


text:
Correction: Specify the source

URI of the page with the mistake
https://usaybia.net/person/2288
What should be corrected on the page?
the information that the person is actually mentioned in the appendix is not included in the page.
How should it be corrected?
An abbreviation for the appendix may be added.
Citation
No response
Citation URL
No response
Public Acknowledgement
Yes
Comments
No response

https://usaybia.net/person/2044

https://usaybia.net/person/1829

https://usaybia.net/person/2389

https://usaybia.net/person/1673

https://usaybia.net/person/1634
https://usaybia.net/person/1497

https://usaybia.net/person/1306

https://usaybia.net/person/1212

evtl. https://usaybia.net/person/1130

https://usaybia.net/person/1125

https://usaybia.net/person/1122

https://usaybia.net/person/1118

evtl. https://usaybia.net/person/970

https://usaybia.net/person/511

https://usaybia.net/person/465

https://usaybia.net/person/44 (source underneath without A2)

repo: usaybia/usaybia-data


text:
Show charts for ACLED, PITF and FEWS IFPs

For IFPs with resolution_source in [ACLED, PITF or FEWS], do the following,

[ ] 1. extract events, country, actor_description and actor_title from the IFP
[x] 2. compose a query into the knowledge_graph using key/values
[x] 3. create an iframe url for kibana using (2)
[x] 4. date range on the query in (2) should be at most -1 years
[x] 5. create labels for x and y axis for the Kibana chart
[ ] 6. ensure that the kibana charts are not interactive
[x] 7. return null if
[x] a.  IFP not found
[x] b. resolution source not in [ACLED, PITF or FEWS]
[x] 8. also ensure the charts are showing up in sage-platform gui

The solution to 4 above, is to define index pattern as a time related dataset and use the knowledge_graph.event_date.key as date field. The now-12M in the kibana url filters applies to this only

Changed the etk config on sage01 to extract actor_description, we do not extract actor_title from IFPs.

Possible solution to 6 is creating a unclickable div overlay on top of iframe ala https://stackoverflow.com/questions/18504955/div-overlay-for-blocking-clickable-events-iframe-not-working-in-ie
Will discuss with Tigran


text:
sometimes properties not created depending on order of annotation

annotated a spreeadsheet in full.
then, deleted property from textbox and added property column.
properties were not auto-created

this was on version 2.8.0

this was the same problem as #408


text:
Credentials

Twilio
Zapier
Squarespace
Airtable
Inbox/Front?
Notion

not enough context

authors: mindymon neelamsaboo

repo: usdigitalresponse/neighbor-express


text:
Followup/cleanup after switching production to Render

This cleans up some immediate leftovers from the DNS switch that made Render our production deployment. It:

Removes a test DNS record and CloudFront distribution
Removes the schedule for the daily data snapshot task, since we don’t want snapshots from AWS to overwrite or interfere with what Render is writing to S3.
Makes it possible to disable loaders, but does not yet disable them (except for one, which was already effectively disabled via use of a wonky schedule).

These are needed for tonight. Tomorrow (Wednesday) or Thursday I’ll disable the loaders in AWS, and then start to actually remove AWS resources from existence!

Looks better in the Terraform plan this time! :shipit:

repo: usdigitalresponse/univaf


text:
Tiles disappear after zoom 11

Describe the bug
Map data disappears as you zoom in past zoom level 11. We should be using overzoom so theoretically zoom levels 12 and above should still work, but for some reason this is not working. Overzoom should be enabled by default - maybe we are not implementing overzoom correctly.
To Reproduce
Steps to reproduce the behavior:

Open the map page in the app
Zoom in past zoom level 11.99 (you can see the zoom level in the URL)
Tiles disappear.

Expected behavior
At step 3 above, data should still be visible.
Screenshots

Desktop (please complete the following information):

OS: MacOS Mojave
Browser: Firefox
Version: 89

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

We should note that in our style file we are setting minzoom and maxzoom , but even if these are removed, or the source maxzoom is set to be less than the layer maxzoom, we're still seeing that the tiles disappear at these higher levels

Our current tippecanoe command is as follows:
docker run --rm -it -v ${PWD}:/data mikegiddens/tippecanoe tippecanoe --force -Z 5 -z 11 -l tl_2010_bg -o /data/tl_2010_bg/mbtiles/tl_2010_42_bg10.mbtiles -l blocks /data/tl_2010_bg/geojson/tl_2010_42_bg10.json
thus the stopping after 11 (the -z 11 arg above) - that said, with overzoom this shouldn't be a problem, so I suspect something is up in our mapbox style config

@NatHillardUSDS  try setting maxzoom on the source to the maxzoom in the layer style and see if that helps. overzoom should still happen beyond where tiles are available

Check this out here:
https://d2zjid6n5ja2pt.cloudfront.net/justice40-tool/be0256/en/cejst/?flags=mb

The overlay disappears at zoom level 22, but I don't think that's a problem as most people will not need to zoom in that far.
Looks great!

authors: NatHillardUSDS janelien mikelmaron switzersc-usds


text:
Add updater for app

this PR makes it easy to install new versions of the application automatically parses the github for new versions and shows it in the sidebar also provides a modal window with a list of changelogs and a button to upgrade to a new version.
TODO:

[x] Show parsed version from electron in sidebar
[x] Colorized version in sidebar
[x] Parse github releases via api
[x] Build modal for changelogs
[x] Add button for download latest release and update

@helloanoop Ready for review
Preview for this PR
click

@helloanoop
Look at my pr. I think it makes it a lot easier to deal with updates.

There is a 1.0.0 release being planned on Oct 28th. Until then stability of the platform is important.
Only bug fixes and minor features will be merged till then.
We will be reviewing this PR after Oct 28th.
see https://github.com/usebruno/bruno/issues/643

@helloanoop

Hey @qweme32 I appreciate your patience. Will look into getting this merged once OAuth 2 support is out.

@helloanoop ?

@qweme32 I think you need to resolve the conflicts? :)
@helloanoop Any update on this? it's to be ready (after resolving the conflict)

can this PR be resolve and be merged? @qweme32 @helloanoop

We are working on the auto update functionality and we hope to have it delivered by end of Sep 2024

authors: helloanoop hi-reeve mohamedgomran qweme32

repo: usebruno/bruno


text:
2.15.4 hotfixes

Checklist

[ ] Affected Issues have been mentioned in the Closing issues section
[ ] Documentation has been written/updated
[ ] PR title is ready for inclusion in changelog

Explain the details for making this change. What existing problem does the pull request solve?

Closing issues
Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).

Closed, as 2.16.0 has a lot of these fixes

authors: Schnitzel shreddedbacon

repo: uselagoon/lagoon


text:
Sync monorepo state at "Change compositeunion and compositeintersection to be composite_or and composite_and, fix reversal of these on frontend"

Syncing from userclouds/userclouds@1472a46dfb23e5c7326e42de4addc79590b83f65

not merging without changelong

authors: james-uc uc-build-user

repo: userclouds/sdk-golang


text:
Change ESC

Hi ,
can anyone change the ESC for exit app in player version to other button?

In need for the same

why the player doesnt open on my pc, anyone knows ?

or an option to diable it. its interfering with some games, closes the player and stop controller input...

Чому плеєр не відкривається на моєму комп'ютері, хтось знає?

https://github.com/ViGEm/ViGEmBus/releases

why the player doesnt open on my pc, anyone knows ?

right click and run as admin

hello, I noticed that you also have a problem like me and that is shutting down on ESC, that's why I downloaded this projeck and I moved ESC to * but I don't know where to upload it, here is why I am sending the link via mediafire and if the admin will be nice so he could add it as an official thing, in the project there is nothing added I edit the codes with the help of AI so I am not able to make some virus, here is the link: https://www.mediafire.com/file/rzgwozia2nvazhn/NetInput.Capture.exe/file

i already did it
El sáb, 8 jun 2024 a las 13:35, ArinLP @.***>)
escribió:

hello, I noticed that you also have a problem like me and that is shutting
down on ESC, that's why I downloaded this projeck and I moved ESC to * but
I don't know where to upload it, here is why I am sending the link via
mediafire and if the admin will be nice so he could add it as an official
thing, in the project there is nothing added I edit the codes with the help
of AI so I am not able to make some virus, here is the link:
https://www.mediafire.com/file/rzgwozia2nvazhn/NetInput.Capture.exe/file
—
Reply to this email directly, view it on GitHub
https://github.com/usertoroot/NetInput/issues/4#issuecomment-2156115013,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6X4S2BGRXKKRUKC56755QLZGM6HNAVCNFSM6AAAAABDA7E7SKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGEYTKMBRGM
.
You are receiving this because you commented.Message ID:
@.***>

i already did it El sáb, 8 jun 2024 a las 13:35, ArinLP @.>) escribió:
…
hello, I noticed that you also have a problem like me and that is shutting down on ESC, that's why I downloaded this projeck and I moved ESC to * but I don't know where to upload it, here is why I am sending the link via mediafire and if the admin will be nice so he could add it as an official thing, in the project there is nothing added I edit the codes with the help of AI so I am not able to make some virus, here is the link: https://www.mediafire.com/file/rzgwozia2nvazhn/NetInput.Capture.exe/file — Reply to this email directly, view it on GitHub <#4 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6X4S2BGRXKKRUKC56755QLZGM6HNAVCNFSM6AAAAABDA7E7SKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGEYTKMBRGM . You are receiving this because you commented.Message ID: @.>

okay okay I'll share it for other people who have the same problem as me ;)

okay okay I'll share it for other people who have the same problem as me ;)

this app working for only xbox controller. anyone know the app for ps controllers?

repo: usertoroot/NetInput


text:
nuget package depends on Avro.FSharp.Annotations, which doesn't exist

In the new version 1.0 the lib depends on two additional packages, one of them is
Avro.FSharp.Annotations
But this one isn't in nuget, therefore it is not possible for me to install that version.
https://www.nuget.org/packages/Avro.FSharp/#dependencies-body-tab

fixed. see version 1.0.1

Thank you!


text:
Add optional conditions to chat commands

Right now every command class has a "code" property, which is compiled when command is issues by player.
Need to implement "condition" property. which will be compiled and must return true/false. "Condition" code is called also when command is issued by player, but "code" gets executed only when "condition" returns 'true'.
It will also allows to introduce some basic privilege separation, handled by mission maker.

hello, I would like to put the code on my server but impossible to make it work ...

ussr, the code that someone makes your chatcom execute could easily add conditions to their own code to make sure the right person is using the code themselves. Also is there anyway to have it so that it catches a second word? My intention is to have someone selected through name and it would be nice to see if that's possible?

authors: Grim5667 lefevre-remy ussrlongbow

repo: ussrlongbow/chatcom


text:
TypeError: list indices must be integers or slices, not str

Hi,
I try to query
import osrm
result = osrm.simple_route([50.843920, 4.369253], [50.845794, 4.372178],output='route', overview="full", geometry='wkt')
result['geometry']

but the answer is an error TypeError: list indices must be integers or slices, not str
When i tried directly on OSRM server with
http://127.0.0.1:5000/route/v1/driving/polyline(yjtYomiuHiQuJ)?overview=full&steps=false&alternatives=false&geometries=polyline&annotations=true&continue_straight=default
I get a right answer.
What should i change ?
Thanks

The result of simple_route is a list (the error is telling you that you are trying to index that list with geometry).
You should try result[0]["geometry"] ie the geometry of the first route.

Please make sure the issue you report is about this library, not python related nor OSRM engine related.

authors: alex6H mthh zifeo

repo: ustroetz/python-osrm


text:
Compatibility with SQLeet

I have tried to encrypt a database with SQLite3MC and then decrypt it with SQLeet, but failed.
Tried to read the docs on https://utelle.github.io/SQLite3MultipleCiphers/, but well, they are not very detailed in this very issue.
So, is it possible to configure SQLite3MC to be compatible with the SQLeet format? What options should be set and how?

I have tried to encrypt a database with SQLite3MC and then decrypt it with SQLeet, but failed.

I assume you mean with decrypt with SQLeet that you used the original SQLeet library to decrypt the database file you encrypted with SQLite3MC.
That you failed is actually not surprising. By default SQLite3MC uses the so-called non-legacy mode to encrypt/decrypt database files unless told otherwise, but the original SQLeet library operates in legacy mode. So, you have to tell SQLite3MC that it should use legacy mode, too.

Tried to read the docs on https://utelle.github.io/SQLite3MultipleCiphers/, but well, they are not very detailed in this very issue.

The SQLite3MC documentation has a complete chapter about legacy modes which explains in detail the differences between legacy modes and non-legacy modes.

So, is it possible to configure SQLite3MC to be compatible with the SQLeet format? What options should be set and how?

Yes, of course it is possible to configure SQLite3MC to be compatible with other legacy encryption schemes like SQLeet. Simply use PRAGMA legacy=1; in SQLite3MC to activate legacy mode.

Thanks. The keyword here was "legacy", while I have searched for "compatibility" or like. Now everything is clear.

authors: johnfound utelle


text:
Google Cloud Storage Adapter

Closes appwrite/appwrite#3994

Please sync your branch with main . It has fixes for the failing CI tests

Thank you so much for the PR 🤩. We're adding the hacktoberfest-accepted label to ensure this PR counts towards your Hacktoberfest contributions count. With that said, please stay active on this PR to address any comments once you receive a review. Happy Hacktoberfest! 🎃

@eigengravy is this PR ready for review? Also, would you be able to provide some screenshots of the adapter working?

no, i haven't gotten the adapter working yet.

@eigengravy closing the PR for now. Feel free to reopen it when you're ready to work on it again

repo: utopia-php/storage


text:
Update config.yml

Change added

Complete


text:
Change Sign-in button to make very clear it is github oauth login

Realized when interacting with someone that they didn't realize the comments were powered by GitHub issues. Would be great if the login button could have minor tweaks to make it very clear it was GitHub auth. This might increase engagement from folks, rather than them thinking they have to sign-up for another system.
Example of how this could look:

GitHub OAuth Buttons
My favorite - very easy to see immediate

The code sample the second link provided was:

   Sign in with Github

#479

Looks great, thanks for doing this 💯

authors: jdanyow sheldonhull

repo: utterance/utterances


text:
Digits and symbols support

Hey!
Awesome work! How can I add digit and symbols support to this?

Thanks!!

Thanks @systems-rebooter .
nice feature, i will try to add that.

Thanks much @uttesh ;-) Impatiently waiting..

@systems-rebooter  Added the feature now digits and special character will be support and have dynamic color apply as well.
all changes are updated in the bower package, do "bower update" or re-install the ngletteravatar.

That's so nice :)

authors: systems-rebooter uttesh

repo: uttesh/ngletteravatar


text:
basenc, base64 and base32 have an ABOUT that's formatted differently than the other utils.

For example:
static ABOUT: &str = "
 With no FILE, or when FILE is -, read standard input.

 When decoding, the input may contain newlines in addition to the bytes of
 the formal alphabet. Use --ignore-garbage to attempt to recover
 from any other non-alphabet bytes in the encoded stream.
";

should be:
// Note the backslash here to remove the first newline
//                    |
//                    V
static ABOUT: &str = "\
With no FILE, or when FILE is -, read standard input.

When decoding, the input may contain newlines in addition to the bytes of
the formal alphabet. Use --ignore-garbage to attempt to recover
from any other non-alphabet bytes in the encoded stream.
";

The difference is the backslash and leading spaces.
Discovered here: https://github.com/uutils/coreutils/pull/3014#issuecomment-1027175034

so we have to just add the backslash?

And remove the leading spaces, but yes, it's very straightforward!

@tertsdiepraam can you assign me , I would like raise PR for this?

You can just open the PR with the text "Closes #3022" in the description and it will show up as a PR that closes this issue

@tertsdiepraam i cannot see any leading space here in the code , which space you are talking about

static ABOUT: &str = "
 With no FILE, or when FILE is -, read standard input.

The spaces at the start of each line. The static and With don't line up. The same goes for the other lines.

Ah you already got it, nice!

thanks,  got it , please review this PR @tertsdiepraam

authors: RishiKumarRay tertsdiepraam

repo: uutils/coreutils


text:
who freebsd build fix unsupported RUN_LVL option only for other platf…

…orms.

Would it be possible to add a test?
(that the feature isn't available on freebsd)

Fails on

---- test_who::test_too_many_args stdout ----
current_directory_resolved:
run: /Users/runner/work/coreutils/coreutils/target/x86_64-apple-darwin/debug/coreutils who am i u
thread 'test_who::test_too_many_args' panicked at 'Command was expected to fail.
stdout = Warning: No such file or directory (os error 2)

 stderr = ', tests/common/util.rs:155:13

authors: devnexen sylvestre


text:
Allow restarting individual nodes

The title says it all really.  There are reported occasions when a node can go wobbly and needs a restart.  The functionality, albeit cumbersome to get to, is possible in the web UI.

Fixed by #67


text:
Use <a> element with the button classes

I would like to use an <a> element with href instead of the <button>, but it not currently possible. Is there a way for you to add that option?

Would you please post the complete snippet where you would like to see the  element instead of the . I'll look into it.

Sorry, I forgot to add it. It would be for the [button] shortcode.

I added a "tag" option to the [button] shortcode, along with parameters "link" and "target":
[button tag="a" link="https://wordpress.org/plugins/complete-bootstrap-4-shortcodes/" target="_blank"]Hyperlink[/button]
Please update to version 4.5.6 and let me know if that works for you.

It is working well. Thank you!

authors: reddo uwejacobs


text:
can't install neptune when i click the button when standalone tidal is closed then open it i don't get neptune settings

can't install neptune when i click the button when standalone tidal is closed then open it i don't get neptune settings

can't install neptune when i click the button when standalone tidal is closed then open it i don't get neptune settings

wasn't working for me on version 2.34.3 works fine on 2.34.2

how do i get version 2.34.2

If you have a old version of your tidal folder C:\Users\Inrix\AppData\Local\TIDAL then you need to delete it as the Neptune patcher will only patch the oldest version while Tidal launches the newest version.
It works on 2.34.3, you just need to make sure its the only version folder there.
This should be fixed in the new installers

I'll ensure this gets fixed, I've just been busy with work.

No rush its not a big issue.
Thankfully didn't block me finishing off the latest changes to my plugins over at https://github.com/Inrixia/neptune-plugins
Thanks again for the framework, its been awesome working with it.

so do i just have to wait for a new neptune update if the only thing that was in my tidal folder was the new version

Should work fine with the latest version. Maybe try reinstalling the tidal app and then Neptune.

I did uninstall it using Windows control panel it still didn't work maybe I have to uninstall it using bcuninstaller to clear registry and all folder associated with tidal

even bcuinstaller does not help

couldn't you just mod it like you do with discord app.asar file is and is there way to have a installer that shows what its doing and does not use web browser

okay this fixed it https://github.com/uwu/neptune-installer/actions/runs/5927990886

authors: Inrixia Pickymarker fuzziion77 twnlink

repo: uwu/neptune

license: MS-PL


text:
🛑 Third Party is down

In 14983aa, Third Party ($THIRD_PARTY_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Third Party is back up in 102ce42 after 19 minutes.


text:
Support life cycle management for external blobs

What do these changes do?

Related issue number

Fixes #667

Merged. Thank you @septicmk!

authors: septicmk sighingnow


text:
doc: Use Maven Wrapper in README

Description
The simple usage of Maven Wrapper ensures consistency throughout the branches. Furthermore, devs can use Maven Wrapper without installing Maven on their machine.
Type of change

[ ] Bugfix
[ ] Feature
[x] Documentation

Checklist

[x] I have read the contribution guide: https://vaadin.com/docs/latest/guide/contributing/overview/
[x] I have added a description following the guideline.
[ ] The issue is created in the corresponding repository and I have referenced it.
[ ] I have added tests to ensure my change is effective and works as intended.
[x] New and existing tests are passing locally with my change.
[x] I have performed self-review and corrected misspellings.

Additional for Feature type of change

[ ] Enhancement / new feature was discussed in a corresponding GitHub issue and Acceptance Criteria were created.

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

Should be vaadin:v23 branch, not vaadin:native-image.

I understand the concern. This change is however relevant to vaadin:native-image; the change with the usage of Maven Wrapper makes it more similar to vaadin:v23.

authors: CLAassistant felix-seifert

repo: vaadin/base-starter-flow-quarkus

license: Unlicense


text:
Theme attribute doesn't propagate to the sub-menus / items

Theme attribute on the host element should propagate to the sub-menus / items so they can be exclusively styled.

Fixed by #68

authors: tomivirkki web-padawan

repo: vaadin/vaadin-menu-bar


text:
Chat Timeout does not seem to work

I am trying to use Watson on our, server were we use logblock.
When doing a lookup, and there are not to many pages, then i works great.
But if there are "to many" pages, then the server then see the commands from autopage as spam.
I have tried to set the "chatTimeoutSeconds" to its higest value of 5.0, but it look like Watson does not actually use this setting.

This is what i look like on the server, where i can see that it does not wait the configured 5 seconds

Am i missing something to make the "chat timeout" function work ?
Here is my config
{
  "Generic": {
    "actionReverse": false,
    "annotationShown": true,
    "billboardBackground": "#A8000000",
    "billboardForeground": "#7FFFFFFF",
    "chatTimeoutSeconds": 5.0,
    "debugWatson": false,
    "displayed": true,
    "enabled": true,
    "ssDateDirectory": "yyyy-MM-dd HH:mm:ss",
    "ssKeyCustom": false,
    "ssPlayerDirectory": true,
    "ssPlayerSuffix": true,
    "teleportCommand": "tppos {x:d} {y:d} {z:d} {world}",
    "watsonPrefix": "watson"
  },
  "Messages": {
    "disableCPMessages": false,
    "disableJoinMessages": false,
    "disableLBMessages": false,
    "disablePRMessages": false
  },
  "Outlines": {
    "onlyOreBlock": true,
    "oreLinewidth": 3,
    "oreOutlineThicker": true,
    "outlineshown": true
  },
  "Plugin": {
    "amountRowes": 5,
    "autopage": true,
    "coreprotectCommand": "co",
    "maxAutoPages": 100,
    "maxAutoPagesLoop": 100,
    "pagelines": 50,
    "plugin": "LogBlock",
    "recolourQueryResults": true,
    "reformatQueryResults": false,
    "regionInfoTimeoutSeconds": 5.0
  },
  "Highlights": {
    "highlightCaseSensitive": true,
    "highlightSound": "",
    "highlightSoundEnable": false,
    "highlightSoundVolume": 1.0,
    "useChatHighlights": false
  },
  "Edits": {
    "groupingOresInCreative": true,
    "labelshown": true,
    "linkedcreation": false,
    "linkeddestruction": true,
    "postCount": 45,
    "precount": 45,
    "selectionShown": true,
    "timeOrderedDeposits": true,
    "vectorFloat": 0.0,
    "vectorShown": true
  },
  "Analysis": {
    "cp busy": "^CoreProtect - Database busy. Please try again later.$",
    "cp details": "^(?:\\s+)?(\\d+[.,]\\d+\\/[mhd] ago|\\d{1,2}-\\d{1,2} \\d{1,2}:\\d{2}:\\d{2}) - #?(\\w+) ((?!.*logged).*?) ((?:x(\\d+) )?\\w+(?::\\w+)?)\\.$",
    "cp details session": "^(\\d+[.,]\\d+\\/[mhd] ago|\\d{1,2}-\\d{1,2} \\d{1,2}:\\d{2}:\\d{2}) - (\\w+) (logged \\w+)\\.$",
    "cp details sign": "^(\\d+[.,]\\d+\\/[mhd] ago|\\d{1,2}-\\d{1,2} \\d{1,2}:\\d{2}:\\d{2}) - (\\w+): ([\\s\\w+\\W]+)",
    "cp inspector coords": "^-{5} \\w+(?:\\s\\w+)* -{5} \\(x(-?\\d+)\\/y(-?\\d+)\\/z(-?\\d+)\\)$",
    "cp lookup coords": "^ +\\^ \\(x(-?\\d+)\\/y(-?\\d+)\\/z(-?\\d+)\\/([^\\)]+)\\)(?: \\(.+\\))?$",
    "cp lookup header": "^----- CoreProtect Lookup Results -----$",
    "cp no result": "^CoreProtect - No results found.$",
    "cp page": "^(?:.\\s)*Page (\\d+)\\/(\\d+) (?:.\\s)*",
    "cp search": "^CoreProtect - Lookup searching. Please wait...$",
    "duty mode disable": "^\\[Duties\\] Duty mode disabled.*",
    "duty mode enable": "^\\[Duties\\] Duty mode enabled.*",
    "lb data": "(?:\\((\\d+)\\) )?\\[((?:\\d{2,4}-)?\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2})?] (\\w+) (\\w+\\s?\\w) ((?:(\\d+)x )?[A-Z_]+)(?:(?: with)? (\\w+[A-Z]))?(?:(?: to )? \\[(.*[^\\[\\]])] \\[(.*[^\\[\\]])] \\[(.*[^\\[\\]])] \\[(.*[^\\[\\]])])?(?: at (-?\\d+), (-?\\d+), (-?\\d+)| (?:from|into) \\w+)?(?: with (\\w+))?",
    "lb header block": "^(?!STONE and DIAMOND_ORE)(?: |,|\\w)+ from player \\w+ (?:in the last \\d+ minutes |between \\d+ and \\d+ minutes ago |more than -?\\d+ minutes ago )?(?:within \\d+ blocks of you )?in .+ summed up by (?:players|blocks):$",
    "lb header blocks": "^\\d+ blocks? found\\.$",
    "lb header changes": "^\\d+ changes? found\\.$",
    "lb header no results": "^No results found\\.$",
    "lb header ratio": "^STONE and DIAMOND_ORE changes from player \\w+ between (\\d+) and (\\d+) minutes ago in .+ summed up by blocks:$",
    "lb header ratio current": "^Stone and diamond ore changes from player \\w+ in the last (\\d+) minutes in .+ summed up by blocks:$",
    "lb header searching": "^Searching Block changes from player \\w+ in the last \\d+ minutes (?:within \\d+ blocks of you )?in .+:$",
    "lb header sum blocks": "^Created - Destroyed - Block$",
    "lb header sum players": "^Created - Destroyed - Player$",
    "lb header time check": "Block changes from player \\w+ between (\\d+) and \\d+ minutes ago in .+:",
    "lb page": "^Page (\\d+)/(\\d+)$",
    "lb position": "^(?:[\\w ]+) in the last \\d+ \\w+ (?:at (-?\\d+):(-?\\d+):(-?\\d+) |within .+ blocks of location )?in (.+):$",
    "lb sum": "^(\\d+)[ ]{6,}(\\d+)[ ]{6,}((?:\\w| )+)$",
    "lb tp": "^Teleported to (-?\\d+):(\\d+):(-?\\d+)$",
    "modmode disable": "^You are no longer in ModMode!$",
    "modmode enable": "^You are now in ModMode!$",
    "prism data": ".*?[-+] \\[([0-9]+)\\]\\s+(?\u003cinstigator\u003e.*) (?\u003ccause\u003egrew|killed|picked up|placed|grew|ignited|set a fire|used|threw potion|sheared|dispensed|blew up|formed|poured|broke|filled a|accessed|ate|(?:un)?leashed|launched|hung|wrote|entered|exited|removed|dropped|inserted|ran command|said|spawned|quit|joined)\\s+(?\u003ctarget\u003e.*)\\s+(?\u003cwhen\u003ejust now|(?:\\d+d)?(?:\\d+h)?(?:\\d+m)?\\sago) \\(a:(?\u003caction\u003e.*)\\)\\s-\\d+- (?\u003cdate\u003e\\d+\\/\\d+\\/\\d+) (?\u003ctime\u003e\\d+:\\d+:\\d+\\w+) - (?\u003cworld\u003e\\w+) @ (?\u003cx\u003e-?\\d+) (?\u003cy\u003e-?\\d+) (?\u003cz\u003e-?\\d+).*?",
    "prism page": "Showing\\s+\\d+ results\\. Page\\s+(?\u003ccurrent\u003e\\d+) of\\s+(?\u003cmax\u003e\\d+)",
    "prism pagination": "(?:\\s+\\[\u003c\u003c Prev] \\|)?\\s+\\[Next \u003e\u003e\\]",
    "wg regions": "^Applicable regions: ([a-zA-Z0-9_-]+(?:, [a-zA-Z0-9_-]+)*)$"
  },
  "Lists": {
    "highlight": [],
    "overriding actions": [],
    "Smaller render box": [],
    "watson blocks": []
  },
  "Hotkeys": {
    "autopage": {
      "keys": ""
    },
    "coreInspect": {
      "keys": ""
    },
    "cursornext": {
      "keys": ""
    },
    "cursorprev": {
      "keys": ""
    },
    "queryafter": {
      "keys": ""
    },
    "querybefore": {
      "keys": ""
    },
    "screenshot": {
      "keys": "F12"
    },
    "tpcursor": {
      "keys": ""
    },
    "tpnext": {
      "keys": ""
    },
    "tpnextanno": {
      "keys": ""
    },
    "tpprev": {
      "keys": ""
    },
    "tpprevanno": {
      "keys": ""
    },
    "watsonClear": {
      "keys": "O"
    },
    "openGuiMainMenu": {
      "keys": "J"
    },
    "openGuiSettings": {
      "keys": "J,C"
    }
  }
}

Thanks for reporting this bug, this is an oversight of the original implementation, this will be fixed in next version

Fixed in 1.20.2

authors: vacla zicy

repo: vacla/Watson


text:
Preserve Analyzer Include in Unity-genereated csproj?

The readme.md states that it is possible to install UnityEngineAnalyzer as a nuget and everything will work. But next time Unity regenerates csproj files reference to Analyzer will be lost. Am I missing something?
Something like https://github.com/JetBrains/resharper-unity/pull/577
might be useful to ensure that Analyzer Include is added to generated csproj.
I think we will not merge the PR mentioned above in Rider, but I may contribute a separate AssetPostProcessor strait to this repo or separate gist. What would be better?

While you wait for a reply from the maintainer, maybe you could publish your gist and paste the link here. It's a start!
It would be great to have an event directly in the Rider plugin where we could plug extra post-processors (to avoid having to read each project file, modify, and save them back. This gets expensive in projects with many projects due to having a lot of asmdef files).
I would love to see this in Rider, but I noticed it didn't get much attention. Maybe Unity developers in general aren't aware of Roslyn analyzers yet, since there's no official support.

Providing an event is an interesting idea, but it would require committing EditorPlugin to vcs, which we do not suggest.
I keep asking here and there about the custom roslyn analyzers setup because I want to avoid adding a new way of doing a thing, which probably is already supported. The only feedback I got from Unity team is that a way proposed in https://github.com/JetBrains/resharper-unity/pull/577 is definitely not their way.

using System;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using UnityEditor;
using UnityEngine;

namespace Editor
{
  public class CsprojAssetPostprocessor : AssetPostprocessor
  {
    public override int GetPostprocessOrder()
    {
      return 20;
    }

    private static string[] GetCsprojLinesInSln()
    {
      var projectDirectory = Directory.GetParent(Application.dataPath).FullName;
      var projectName = Path.GetFileName(projectDirectory);
      var slnFile = Path.GetFullPath($"{projectName}.sln");
      if (!File.Exists(slnFile))
        return new string[0];

      var slnAllText = File.ReadAllText(slnFile);
      var lines = slnAllText.Split(new[] {Environment.NewLine}, StringSplitOptions.RemoveEmptyEntries)
        .Where(a => a.StartsWith("Project(")).ToArray();
      return lines;
    }

    public static void OnGeneratedCSProjectFiles()
    {
      try
      {
        // get only csproj files, which are mentioned in sln
        var lines = GetCsprojLinesInSln();
        var currentDirectory = Directory.GetCurrentDirectory();
        var projectFiles = Directory.GetFiles(currentDirectory, "*.csproj")
          .Where(csprojFile => lines.Any(line => line.Contains("\"" + Path.GetFileName(csprojFile) + "\""))).ToArray();

        foreach (var file in projectFiles)
        {
          UpgradeProjectFile(file);
        }
      }
      catch (Exception e)
      {
        // unhandled exception kills editor
        Debug.LogError(e);
      }
    }

    private static void UpgradeProjectFile(string projectFile)
    {
      XDocument doc;
      try
      {
        doc = XDocument.Load(projectFile);
      }
      catch (Exception)
      {
        Debug.LogError(string.Format("Failed to Load {0}", projectFile));
        return;
      }

      var projectContentElement = doc.Root;
      XNamespace xmlns = projectContentElement.Name.NamespaceName; // do not use var
      SetRoslynAnalyzers(projectContentElement, xmlns);

      doc.Save(projectFile);
    }

    // add everything from RoslyAnalyzers folder to csproj
    //<ItemGroup><Analyzer Include="RoslynAnalyzers\UnityEngineAnalyzer.1.0.0.0\analyzers\dotnet\cs\UnityEngineAnalyzer.dll" /></ItemGroup>
    private static void SetRoslynAnalyzers(XElement projectContentElement, XNamespace xmlns)
    {
      var currentDirectory = Directory.GetCurrentDirectory();
      var roslynAnalysersBaseDir = new DirectoryInfo(Path.Combine(currentDirectory, "RoslynAnalyzers"));
      if (!roslynAnalysersBaseDir.Exists)
        return;
      var dllFilesRelPaths = roslynAnalysersBaseDir.GetFiles("*.dll", SearchOption.AllDirectories)
        .Select(x => x.FullName.Substring(currentDirectory.Length+1));
      var itemGroup = new XElement(xmlns + "ItemGroup");
      foreach (var dllFile in dllFilesRelPaths)
      {
        var reference = new XElement(xmlns + "Analyzer");
        reference.Add(new XAttribute("Include", dllFile));
        itemGroup.Add(reference);
      }
      projectContentElement.Add(itemGroup);
    }
  }
}

Interesting. I'm watching the development of the Incremental Compiler, since it has an option related to analyzers, but it seems to be just a stub for now.
I wonder why they don't like the idea of supporting Roslyn analyzers the same way we're all used to.
Thanks for pasting the code here. I'm sure it will help others!

Hey @vad710! Do you confirm that currently custom analyzers effectively can't be used in any IDE (Rider/VS), because Unity regenerates csproj thus removing the 'Analyzer Include="RoslynAnalyzers...' line?
I propose to put the CsprojAssetPostprocessor above in your repo somewhere and make a note in Readme.md, that if anyone wants your roslyn analysers results directly in IDE:

Add script to Editor folder
Add dlls with custom analysers to "RoslynAnalyzers" in the solution root.

There is a need for also ruleset support
..\path\to\myrules.ruleset

Updated 22.08.2018
using System;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using UnityEditor;
using UnityEngine;

namespace Editor
{
  public class CsprojAssetPostprocessor : AssetPostprocessor
  {
    public  override  int GetPostprocessOrder()
    {
      return 20;
    }

    private static string[] GetCsprojLinesInSln()
    {
      var projectDirectory = Directory.GetParent(Application.dataPath).FullName;
      var projectName = Path.GetFileName(projectDirectory);
      var slnFile = Path.GetFullPath(string.Format("{0}.sln" , projectName));
      if (!File.Exists(slnFile))
        return new string[0];

      var slnAllText = File.ReadAllText(slnFile);
      var lines = slnAllText.Split(new[] {Environment.NewLine}, StringSplitOptions.RemoveEmptyEntries)
        .Where(a => a.StartsWith("Project(")).ToArray();
      return lines;
    }

    public static void OnGeneratedCSProjectFiles()
    {
      try
      {
        // get only csproj files, which are mentioned in sln
        var lines = GetCsprojLinesInSln();
        var currentDirectory = Directory.GetCurrentDirectory();
        var projectFiles = Directory.GetFiles(currentDirectory, "*.csproj")
          .Where(csprojFile => lines.Any(line => line.Contains("\"" + Path.GetFileName(csprojFile) + "\""))).ToArray();

        foreach (var file in projectFiles)
        {
          UpgradeProjectFile(file);
        }
      }
      catch (Exception e)
      {
        // unhandled exception kills editor
        Debug.LogError(e);
      }
    }

    private static void UpgradeProjectFile(string projectFile)
    {
      XDocument doc;
      try
      {
        doc = XDocument.Load(projectFile);
      }
      catch (Exception)
      {
        Debug.LogError(string.Format("Failed to Load {0}", projectFile));
        return;
      }

      var projectContentElement = doc.Root;
      XNamespace xmlns = projectContentElement.Name.NamespaceName; // do not use var
      SetRoslynAnalyzers(projectContentElement, xmlns);

      doc.Save(projectFile);
    }

    // add everything from RoslyAnalyzers folder to csproj
    //<ItemGroup><Analyzer Include="RoslynAnalyzers\UnityEngineAnalyzer.1.0.0.0\analyzers\dotnet\cs\UnityEngineAnalyzer.dll" /></ItemGroup>
    //<CodeAnalysisRuleSet>..\path\to\myrules.ruleset</CodeAnalysisRuleSet>
    private static void SetRoslynAnalyzers(XElement projectContentElement, XNamespace xmlns)
    {
      var currentDirectory = Directory.GetCurrentDirectory();
      var roslynAnalysersBaseDir = new DirectoryInfo(Path.Combine(currentDirectory, "RoslynAnalyzers"));
      if (!roslynAnalysersBaseDir.Exists)
        return;
      var relPaths = roslynAnalysersBaseDir.GetFiles("*", SearchOption.AllDirectories)
        .Select(x => x.FullName.Substring(currentDirectory.Length+1));
      var itemGroup = new XElement(xmlns + "ItemGroup");
      foreach (var file in relPaths)
      {
        if (new FileInfo(file).Extension == ".dll")
        {
          var reference = new XElement(xmlns + "Analyzer");
          reference.Add(new XAttribute("Include", file));
          itemGroup.Add(reference);
        }

        if (new FileInfo(file).Extension == ".ruleset")
        {
          SetOrUpdateProperty(projectContentElement, xmlns, "CodeAnalysisRuleSet", existing => file);
        }
      }
      projectContentElement.Add(itemGroup);
    }

    private static bool SetOrUpdateProperty(XElement root, XNamespace xmlns, string name, Func<string, string> updater)
    {
      var element = root.Elements(xmlns + "PropertyGroup").Elements(xmlns + name).FirstOrDefault();
      if (element != null)
      {
        var result = updater(element.Value);
        if (result != element.Value)
        {
          Debug.Log(string.Format("Overriding existing project property {0}. Old value: {1}, new value: {2}", name,
            element.Value, result));

          element.SetValue(result);
          return true;
        }

        Debug.Log(string.Format("Property {0} already set. Old value: {1}, new value: {2}", name, element.Value, result));
      }
      else
      {
        AddProperty(root, xmlns, name, updater(string.Empty));
        return true;
      }

      return false;
    }

    // Adds a property to the first property group without a condition
    private static void AddProperty(XElement root, XNamespace xmlns, string name, string content)
    {
      Debug.Log(string.Format("Adding project property {0}. Value: {1}", name, content));

      var propertyGroup = root.Elements(xmlns + "PropertyGroup")
        .FirstOrDefault(e => !e.Attributes(xmlns + "Condition").Any());
      if (propertyGroup == null)
      {
        propertyGroup = new XElement(xmlns + "PropertyGroup");
        root.AddFirst(propertyGroup);
      }

      propertyGroup.Add(new XElement(xmlns + name, content));
    }
  }
}

The use of the namespace 'Editor' can cause compilation errors because 'Editor' is a class in the 'UnityEditor' namespace.
using UnityEngine;
using UnityEditor;

namespace MyNamespace
{
	public class MyCustomEditor : Editor // <-- Causes compilation error 'namespace is used like a type'
	{
        }
}

Update: Rider package 1.1.3+ brings support for this using csc.rsp arguments.
See more here https://github.com/JetBrains/resharper-unity/issues/1337#issuecomment-543572527

Late to the party but why can't you just add your analyzer package reference with Directory.Build.props like this https://rider-support.jetbrains.com/hc/en-us/community/posts/360002398539/comments/360001394920

@danielakl That may actually work. Have you tried?

@van800 Yes, I am using it now and it seems like it works. I have only tried this with JetBrains Rider. The only issue so far is that changing the ruleset doesn't seem to apply until reloading the solution.

I have added your concern about change in Directory.Build.props is not instantly applied to this request: https://youtrack.jetbrains.com/issue/RIDER-24559#focus=streamItem-27-3948862.0-0
Please follow up there.

@danielakl Did you find a way to make it only showing up in Rider? I've added a .props file and now all the errors are showing up in Unity, too. We don't want that because it delays compile time a lot.

@marcelwooga No, did not find a good way to do this.
Also my solution doesn't really work when you add certain dependencies. The analyser will start to find errors in external libraries that are added as projects.

@danielakl if you are using msbuild you can create a .editorconfig file to exclude folders from the analysis during build time. I use the generated_code settings to first exclude all C# files and then only include my script folder. The only problem is that Rider doesn't seem to respect those files and still scans the whole solution when doing "live analysis".

authors: SugoiDev danielakl marcelwooga sindrijo van800


text:
Linux基本指令

系统方面指令
查询系统版本 lsb_release -cs 与 uname -r
List the versions available in your repo: apt-cache madison docker-ce
卸载 sudo apt-get purge docker-ce
文件传输
将 文件/文件夹 从远程 Ubuntu 机拷至本地(scp)
scp -r username@192.168.0.1:/home/username/remotefile.txt .
将 文件/文件夹 从本地拷至远程 Ubuntu 机(scp)
scp -r localfile.txt username@192.168.0.1:/home/username/
将 文件/文件夹 从远程 Ubuntu 机拷至本地(rsync)
rsync -v -u -a --delete --rsh=ssh --stats username@192.168.0.1:/home/username/remotefile.txt .
将 文件/文件夹 从本地拷至远程 Ubuntu 机(rsync)
rsync -v -u -a --delete --rsh=ssh --stats localfile.txt username@192.168.0.1:/home/username/
常用工具
curl 常用指令
https://www.cnblogs.com/gbyukg/p/3326825.html
linux 各目录的作用以及各目录名称的意义

解压
做自己的系统镜像

repo: vagabondize/learn


text:
License says "all rights reserved" which isn't open source

Are we allowed to use this package? Is it only published for educational purposes?
If not, please choose an open source license.

Apologies for responding to this issue so late. If this blocked any of your work or made it impossible for you to use this library, then I apologize for that.
I had actually put that copyright file without even doing the least of research to understand what it means and just put it there as I saw a similar file in another project's repo. Your issue actually made me go ahead and read about it.
This project exists in public domain. It is open source and it is for everyone to use. I have removed the copyright and have added a TLDR in the License section in README.

Thanks once again for pointing this out and making sure that this project is legally correct.

Thanks!

MIT license != public domain.
MIT does provide some sensible requirements. Public domain means that the users are not required to do anything.

authors: thedrow vaidik

repo: vaidik/sherlock


text:
Translation function same as ScalarFunction

This will reduce the if & else statements in every function class for all the methods
Basically, if b is not None return TranslatedFunction with all the methods defined accordingly

for most of the functions like L1Norm, L2NormSquared we implement everything with either a b = data  or not.
However, we can produce the same result with the TranslateFunction and using centered_at

repo: vais-ral/CCPi-Framework


text:
Create Main.xaml

State machine example(Guess game)

Statemachine


text:
Build fail 6.4

It also does not build on Qt 6.5.2, it tries to include a file that doesn't exists on 6.5.2:
..\..\..\..\Projects\Labs\QtMultimediaLab\QtAVPlayer\qavhwdevice_d3d11.cpp(15): fatal error C1083: Cannot open include file: 'private/qwindowsiupointer_p.h': No such file or directory

It also does not build on Qt 6.5.2, it tries to include a file that doesn't exists on 6.5.2:
..\..\..\..\Projects\Labs\QtMultimediaLab\QtAVPlayer\qavhwdevice_d3d11.cpp(15): fatal error C1083: Cannot open include file: 'private/qwindowsiupointer_p.h': No such file or directory

https://github.com/valbok/QtAVPlayer/pull/391

It really fails on 6.4, but works in 6.5.

authors: TyrasNistru valbok

repo: valbok/QtAVPlayer


text:
Cannot add a Service with the same UUID as another Service in this Accessory without also defining a unique 'subtype' property.

This was after removing the bridge from Homekit. I tried restarting the plugin, then restarting homebridge, and finally a fresh install of Homebridge. The error remains the same. There is no bridge or device visible in Homekit any more, so nothing else to do.
The orbit plugin keeps reconnecting with b-hyve, fetches the device list and shows this error in a never-ending loop.
Error: Cannot add a Service with the same UUID '00000049-0000-1000-8000-0026BB765291' as another Service in this Accessory without also defining a unique 'subtype' property.
    at Accessory.addService (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:552:17)
    at PlatformAccessory.addService (/usr/lib/node_modules/homebridge/src/platformAccessory.ts:98:41)
    at /usr/lib/node_modules/homebridge-orbit-irrigation/orbitplatform.js:215:28
    at Array.forEach (<anonymous>)
    at /usr/lib/node_modules/homebridge-orbit-irrigation/orbitplatform.js:210:24
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[4/21/2023, 3:27:01 PM] [B-Hyve] Child bridge process ended
[4/21/2023, 3:27:01 PM] [B-Hyve] Process Ended. Code: 1, Signal: null

are you installing this new or has you been using this for a while now?
Based on the section of log you attached, this is coming from a section of code that is trying to add a switch for each schedule. You must has more than one schedule and the plugin is trying to add one with the same UUID it previously created, might have something to so with how they are named, you would not see this it crashed before it can add them. I will fix plugin crashing on this error and I will fix the error. I am pretty sure I can reproduce.
If you un check the option to show addition switches for schedule or set the config line "showSchedules": false.  This should boot up fine.

This is not a new installation, but yes I am trying to expose schedules as switches. I wanted to have control of the individual zones for automation. But the zones are not exposed as switches. So I created inactive schedules from B-hyve (each having an individual zone) and wanted to expose those as switches. This problem started after that.

Can you share what those scheduled look like?
What kind of automation are you looking for, and is it something that is not available if uncheck show as irrigation system? I am working on an option that would show each zone as an individual valve accessory.

No matter what I try I cannot replicated the crash. The plugin UUID is the schedule id that get returned when the zones are queried, not matter what I try they always comeback with a unique value. Where did you build these programs, the IOS app, tech support.orbitbhyve.com or my.orbitbhyve.com?

The watering programs were created in iOS app. I have now deleted those and it is now working fine. I have 5 zones named Z1, Z2.. Z5. Previously I created programs for 4 of them with the names like Side Z2, Back Z3, Back 4 and Side 5. I have one more program which is actually active and the rest were inactive.

I figured out how to reproduce the issue.
In B-Hyve iOS app, there are program slots labeled as A, B, C and D.
If I create a program outside of those slots, it gets hidden under the "Saved Programs" menu.

If I create any program outside of these slots, no matter how it is named or whatever zone it contains, it brings up the error loop after restarting Homebridge.
The "Test" program below creates the issue.

Thanks, this is helpful. I was able to reproduce the error identically by replacing the program name with a null value, which make sense. Orbit starts a program based on name, I need to figure out that part.

I was able to reproduce this for myself, you can only add a disable zone like this in the IOS app and I am not sure how long that ability has been there. I was able to correct this. I have some other changes that I need to finish up before I publish the update.  The next update may have the support for automation you're looking for without this.
Thank you

Fixed in latest release.
HomeKit will not allow any direct automation for water.

authors: pramitr valiquette

repo: valiquette/homebridge-orbit-irrigation


text:
parsing the valkey command JSON files (draft only)

Description
Initial work to parse the command json files from Valkey. Lots more to go, but sharing as draft for more 👀
Draft notes:

_data/commands/latest/bitpos.json will be removed and all the json files will be pulled in from the valkey repo
_includes/commands/bitpos.md will be removed and all the markdown files will be pulled in from the docs repo

Issues Resolved

Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

I fail to see why we have to reinvent this wheel, when there is an existing way to do it that we can just clone.
Redict have their website up and running using Hugo: https://redict.io

@zuiderkwast redict-io is GNU Free Documentation License, this repo is BSD-3 Clause.

They cloned it from https://github.com/redis/redis-website apparently. That one is Apache 2.
Our website can be Apache 2 I guess? I can't see a reason we must stick to a BSD for the website. Do you?

@zuiderkwast The best place to discuss the license of this repo is probably not in this draft PR.

I missed the fact the top comment said draft only, so probably shouldn't have clicked merge.

@madolson lol - that was my bad. What a comedy. 😓
I switched it out of draft mode this afternoon and didn't change the PR. I think it's fine to merge (or remerge).

As long as you don't mind, I looked through everything and the conversation and looked OK to me. I wanted to see it on the temp website.

Hard to say, but looks like the submodules didn't get pulled in to the preview site. I can see the commands page (which should be a list of commands) and the individual commands pages, but they don't have anything on them.
They should look something like this:

@AMoo-Miki Can you take a look workflow that is building the preview site?

authors: madolson stockholmux zuiderkwast

repo: valkey-io/valkey-website


text:
AOT Timepicker error

I am getting this error when building AOT
Error: Error at C:/Projects/NeilKellyClient4/aot/node_modules/ng2-bootstrap/timepicker/timepicker.component.ngfactory.ts:650:35: Supplied parameters do not match any signature of call target.
Error at C:/Projects/NeilKellyClient4/aot/node_modules/ng2-bootstrap/timepicker/timepicker.component.ngfactory.ts:668:35: Supplied parameters do not match any signature of call target.
    at check (C:\Projects\NeilKellyClient4\node_modules\@angular\tsc-wrapped\src\tsc.js:31:15)
    at Tsc.typeCheck (C:\Projects\NeilKellyClient4\node_modules\@angular\tsc-wrapped\src\tsc.js:86:9)
    at C:\Projects\NeilKellyClient4\node_modules\@angular\tsc-wrapped\src\main.js:33:23
    at process._tickCallback (internal/process/next_tick.js:103:7)
    at Module.runMain (module.js:606:11)
    at run (bootstrap_node.js:394:7)
    at startup (bootstrap_node.js:149:9)
    at bootstrap_node.js:509:3
Compilation failed

Is there something I need to do in order to make this work for timepicker? Here is what my timepicker template code looks like: (I tried both (ngModelChange) and (change) but both didn't work)
<timepicker [(ngModel)]="date2" (change)="timeChanged()" [hourStep]="1" [minuteStep]="15"></timepicker>

fix published as 16-8

@valorkin  Still getting same error with 16-8
Error: Error at C:/Projects/NeilKellyClient4/aot/node_modules/ng2-bootstrap/timepicker/timepicker.component.ngfactory.ts:650:35: Supplied parameters do not match any signature of call target.
Error at C:/Projects/NeilKellyClient4/aot/node_modules/ng2-bootstrap/timepicker/timepicker.component.ngfactory.ts:668:35: Supplied parameters do not match any signature of call target.
    at check (C:\Projects\NeilKellyClient4\node_modules\@angular\tsc-wrapped\src\tsc.js:31:15)
    at Tsc.typeCheck (C:\Projects\NeilKellyClient4\node_modules\@angular\tsc-wrapped\src\tsc.js:86:9)
    at C:\Projects\NeilKellyClient4\node_modules\@angular\tsc-wrapped\src\main.js:33:23
    at process._tickCallback (internal/process/next_tick.js:103:7)
    at Module.runMain (module.js:606:11)
    at run (bootstrap_node.js:394:7)
    at startup (bootstrap_node.js:149:9)
    at bootstrap_node.js:509:3
Compilation failed

http://stackoverflow.com/questions/34405301/detect-change-to-ngmodel-on-a-select-tag-angular-2
it is nothing to do with timepicker
in worst case wrap date2 with {get;set;}

you forget to provide $event
(ngModelChange)="onChange($event)"

@valorkin I know you merged my PR. I updated but it's still error'ing on the same lines? Was the change in 16-8?

it should be... please check
https://unpkg.com/ng2-bootstrap@1.1.16-8/timepicker/

@valorkin nope hoursOnBlur($event) is inside https://unpkg.com/ng2-bootstrap@1.1.16-8/timepicker/timepicker.component.js and probably the other files too

may be publishing at 4am was not so good idea

@philjones88 what versions do you using for AoT compilation?
demo pages build without such issues

@valorkin latest. 2.4.0

mm

@philjones88 try 1.1.16-9

@valorkin works :) 👍

awesome
just in case, DM in slack if something urgent
https://ngx-slack.herokuapp.com/

authors: philjones88 quiringk valorkin


text:
upgrades

why tournament is it not a priority to upgrade, in 2 days I am on the first level

and why bot always send to rocky rabbit this message Started to play with bot!

broooo i need upgrade leagues, can you please answer????

repo: vanhbakaa/Rocky-Rabbit-Bot


text:
Render the same scene with more composers and cameras

Hello! I'm sorry to open a new issue but I haven't found a solution among the previous issues
Description of the bug
The scenario is as follows:

1 scene
2 composer: one that renders the scene directly to the screen, the other is used with lower resolution (512x512) to save the scene seen from a virtual camera (in order to create a reflector)
2 camera: the main camera, and the virtual camera for the reflector

The postprocessing pipeline is therefore as follows:
    const composer = new EffectComposer(renderer, { frameBufferType: HalfFloatType, multisampling: 0 })
    composer.setSize(screenWidth, screenHeight)

    const targetComposer = new EffectComposer(renderer, { frameBufferType: HalfFloatType, multisampling: 0 })
    targetComposer.autoRenderToScreen = false
    targetComposer.setSize(512, 512)

    targetComposer.addPass(lambdaPassBefore) // <- someMesh.visible = false
    targetComposer.addPass(renderPass)
    targetComposer.addPass(savePass)
    targetComposer.addPass(lambdaPassAfter) // <- someMesh.visible = true

    composer.addPass(renderPass)

    function render(now) {
        requestAnimationFrame(render);
        targetComposer.render(clock.getDelta());
        composer.render(clock.getDelta());
    }

I have three significant cases:
1 - Use only the main composer (no targetComposer.render(clock.getDelta()))
The scene is perfect and it renders at 60fps, but obviously there is no reflector

2 - Use both composers (ideal case)
Render everything perfectly but at 10fps, if not less

3 - Use both composers, but adding an EffectPass after the main composer RenderPass
    composer.addPass(renderPass)
    composer.addPass(effectPass)

in this case I easily reach 60fps with the reflector but the colors are wrong, it would seem almost a mapping with fewer bits, I don't really know...

Am I doing something wrong?
To Reproduce
Here is the csb file where postprocessing is used:
https://codesandbox.io/s/r3f-ibl-envmap-simple-forked-jfrl5?file=/src/use-postprocessing.js:507-554
Library versions used

Three: 0.124.0
Post Processing: 6.20.0

The HalfFloatType constant is not exported by postprocessing. It must instead be imported from three. I modified the example to remove the additional composer as this approach can lead to lots of issues. For instance, using setSize() on a composer will also change the render size of the associated renderer. If this renderer is shared between composers, you'll get undesired results. I also recommend implementing the reflector logic as a custom pass.
https://codesandbox.io/s/r3f-ibl-envmap-simple-forked-d8c7w?file=/src/use-postprocessing.js
This comment explains the performance drop you mentioned.

@vanruesc we're trying to figure out a way to use pp for textures only, so that it won't take over rendering of the scene. i almost have it: https://codesandbox.io/s/r3f-ibl-envmap-simple-forked-9nqus?file=/src/use-postprocessing.js but for some reason the second pass-chain (reflector) runs very, very slow, although the buffers should be tiny - but in your box above it's 60ps. could take a quick look?
and is it correct that after execute effectcomposer with autorendertoscreen=false i have to do: gl.setRenderTarget(null) ? or else i just see a black screen.

@vanruesc we're trying to figure out a way to use pp for textures only, so that it won't take over rendering of the scene. i almost have it: https://codesandbox.io/s/r3f-ibl-envmap-simple-forked-9nqus?file=/src/use-postprocessing.js but for some reason the second pass-chain (reflector) runs very, very slow, although the buffers should be tiny - but in your box above it's 60ps. could take a quick look?
and is it correct that after execute effectcomposer with autorendertoscreen=false i have to do: gl.setRenderTarget(null) ? or else i just see a black screen.

ps. i did what you did above, simply adding renderpass+savepass, then letting it take over render (which i'd like to avoid) and suddenly 60fps: https://codesandbox.io/s/r3f-ibl-envmap-simple-forked-v1v36?file=/src/App.js i don't how this can be possible

ps. i did what you did above, simply adding renderpass+savepass, then letting it take over render (which i'd like to avoid) and suddenly 60fps: https://codesandbox.io/s/r3f-ibl-envmap-simple-forked-v1v36?file=/src/App.js i don't how this can be possible

and is it correct that after execute effectcomposer with autorendertoscreen=false i have to do: gl.setRenderTarget(null) ?

This is not how the composer is supposed to be used so I can't tell you what's going on there.

letting it take over render (which i'd like to avoid)

There are plans to make postprocessing behave more like a plugin rather than a replacement renderer, but that's not yet the case.

suddenly it's faster: [...] i don't how this can be possible

This performance issue is caused by three's outputEncoding system which bakes color conversion codecs into shaders based on the render target. If renderer.outputEncoding is set to sRGBEncoding, then rendering the same scene into an offscreen render target and to screen will trigger shader recompilations for all involved object materials because render targets use LinearEncoding. This causes constant recompilation churn.
This is a known issue: mrdoob/three.js#19056

and is it correct that after execute effectcomposer with autorendertoscreen=false i have to do: gl.setRenderTarget(null) ?

This is not how the composer is supposed to be used so I can't tell you what's going on there.

letting it take over render (which i'd like to avoid)

There are plans to make postprocessing behave more like a plugin rather than a replacement renderer, but that's not yet the case.

suddenly it's faster: [...] i don't how this can be possible

This performance issue is caused by three's outputEncoding system which bakes color conversion codecs into shaders based on the render target. If renderer.outputEncoding is set to sRGBEncoding, then rendering the same scene into an offscreen render target and to screen will trigger shader recompilations for all involved object materials because render targets use LinearEncoding. This causes constant recompilation churn.
This is a known issue: mrdoob/three.js#19056

that one tiny bit , encoding: gl.outputEncoding made all the difference! thank you!

that one tiny bit , encoding: gl.outputEncoding made all the difference! thank you!

Closing this as it seems to be resolved.

Closing this as it seems to be resolved.

authors: drcmda emmelleppi vanruesc

repo: vanruesc/postprocessing

license: Zlib


text:
Pub/sub support

Does Redbird or redis-provider support pub/sub functionality?

Added in #14

repo: vapor/redis-provider


text:
functionality Sample Pic

Sample info pic

repo: varunjohn/Audio-Recording-Animation


text:
Time Out for all user input sessions

/bus,/fault , etc... functions that require user input should have a time out to remind the user that the session is active

Issue resolved in new update

Issue resolved in new update

repo: varunpatro/cinnabot


text:
BMI Calculator

Calculator Functions
This calculator will help to calculate BMI and it will show the result.
Contribution Event
GSSOC22
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

/assign

@SO1ee good go ahead !!!!!


text:
Multiplication table Calculator

Calculator Functions
I want to make the multiplication table calculator.
Please assign me!
Contribution Event
GSSOC22
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


text:
Support for arbitrary map key types serialisation and deserialisation

currently vavr-gson only supports Maps with java.lang.String keys, this update allows for completely arbitrary key types including complex or nested keys.

Codecov Report

Merging #8 (9a8da5b) into master (af6c02c) will decrease coverage by 2.04%.
The diff coverage is 91.22%.

@@              Coverage Diff              @@
##              master       #8      +/-   ##
=============================================
- Coverage     100.00%   97.95%   -2.05%
- Complexity       101      107       +6
=============================================
  Files              9        9
  Lines            209      245      +36
  Branches           8       12       +4
=============================================
+ Hits             209      240      +31
- Misses             0        3       +3
- Partials           0        2       +2

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/io/vavr/gson/MultimapConverter.java
88.88% <0.00%> (-11.12%)
6.00 <0.00> (ø)

...c/main/java/io/vavr/gson/TraversableConverter.java
100.00% <ø> (ø)
4.00 <0.00> (ø)

src/main/java/io/vavr/gson/MapTypeConverter.java
84.61% <84.61%> (ø)
10.00 <10.00> (?)

src/main/java/io/vavr/gson/ArrayTypeConverter.java
100.00% <100.00%> (ø)
7.00 <1.00> (?)

src/main/java/io/vavr/gson/MapConverter.java
100.00% <100.00%> (ø)
8.00 <5.00> (+2.00)

src/main/java/io/vavr/gson/OptionConverter.java
100.00% <100.00%> (ø)
9.00 <1.00> (ø)

src/main/java/io/vavr/gson/TupleConverter.java
100.00% <100.00%> (ø)
7.00 <1.00> (ø)

src/main/java/io/vavr/gson/VavrGson.java
100.00% <100.00%> (ø)
50.00 <1.00> (+1.00)

Continue to review full report at Codecov.

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

any chance this might get merged soon?

authors: codecov-io mitchelladam

repo: vavr-io/vavr-gson


text:
FEATURE: 集成microapp微前端框架

Version
Vben Admin V5
Description
能否与microapp微前端框架进行集成，这样能够适应更加复杂的项目
Proposed Solution
通过微前端框架，能够实现跨平台的整合
Alternatives Considered
No response
Additional Context
No response
Validations

[X] Read the docs
[X] Ensure the code is up to date. (Some issues have been fixed in the latest version)
[X] I have searched the existing issues and checked that my issue does not duplicate any existing issues.

我对前端技术不太精通，能否帮忙集成一下。谢谢~

我对前端技术不太精通，能否帮忙集成一下。谢谢~ @anncwb

这个和作者没啥关系  直接引入qiankun.js 就行了啊

同求 前端菜鸟+1 中型后台项目一般有各个业务模块 每个模块希望能独立发布

我对前端技术不太精通，能否帮忙集成一下。谢谢~ @anncwb

这个和作者没啥关系 直接引入qiankun.js 就行了啊

直接引用加载不出来子应用，不知道哪里出现冲突

repo: vbenjs/vue-vben-admin


text:
Fixes tests and removing rocketry logs from github

More cruft from merge:

Removes tasks.csv from github (rocketry log)
Adds tasks.csv to top level .gitignore
Fixes dangling tests from plugins / cli
Removes deprecation warnings.

Not sure why this isn't passing the tests I thought I deleted tests/test_vcon_cli.py
platform linux -- Python 3.8.17, pytest-7.4.0, pluggy-1.2.0 -- /opt/hostedtoolcache/Python/3.8.17/x64/bin/python
cachedir: .pytest_cache
rootdir: /home/runner/work/vcon/vcon
configfile: pytest.ini
plugins: asyncio-0.21.1, dependency-0.5.1
asyncio: mode=strict
ERROR: file or directory not found: tests/test_vcon_cli.py
collecting ... collected 0 items

repo: vcon-dev/vcon


text:
⚠ Spryr has degraded performance

In fcdab0d, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3503 ms

Resolved: Spryr performance has improved in abef322 after 8 minutes.

repo: vcsphere/upptime


text:
⚠ Spryr has degraded performance

In 2b1df9d, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 5375 ms

Resolved: Spryr performance has improved in 34e1eb4 after 4 minutes.


text:
⚠ Spryr has degraded performance

In 0b358f4, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3638 ms

Resolved: Spryr performance has improved in d49fe1b after 13 minutes.


text:
⚠ Spryr has degraded performance

In 85b6625, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3419 ms

Resolved: Spryr performance has improved in 9e55ff4 after 7 minutes.


text:
Location update

Hi. I've updated my location, but not updated on website. Could you update it please.

Also, clicked 'refresh details' button, but not any result.

updated.

repo: vdaubry/github-awards


text:
Rename 'kick' as 'remove from chat'

as 'kick' is needlessly aggressively

I was about to open this issue. "Kick" is actually very insulting in my language. I was unable to find a suitable word for kick in bn-IN while translating. Glad that it has been opened.

Maybe rename it to "temporarely remove from chat" to make a clear distinction to "banning"/"permanently remove from chat"

I think "yeet" works out to be a good middle ground.

I found some precedent for using "remove from group" over "kick".

Facebook Messenger: https://u.teknik.io/l6hKo.jpg
Slack: https://u.teknik.io/pnAqL.jpg
Mattermost: https://u.teknik.io/gAhJS.jpg
WhatsApp: https://u.teknik.io/x5QHl.png

They may also have /kick as an alternative for /remove - I know Slack in particular does have this, so people who are used to "kick" can still use it.

authors: ara4n biswasab expectocode jdreichmann udf

repo: vector-im/riot-android


text:
Server-side scenario > Select2 dataArray > templateResult/-Selection icon

Hi Daniel,
first, thanks for providing and supporting this plugin!
This is less an issue, than a feature request.
Background:
1.) I´am in server-side paged scenario using the 0.8.9.beta.21 version.
2.) I am disaplaying a bunch of records that got an status icon (red, blue, green ball).
3.) In order to save column width I decided to choose a Select2 filterdropdown reflecting 4 icons to filter from for the users (grey = all records, green = records in status green, red... and so forth)
To solve that, I had to do small changes to source. It could also be, that I missed something in usage. But for now, it solves my problem, but doesn´t propably play with all usages of the plugin.

In Line 2338 I commentet the injected default option with value=-1 out. The grey icon is for that purpose.
In front of Line 2370 I rescued the 'column_data' in another variable in order to append the server given 'original' data array for the select2 to the 'columnObj.select_type_options' => columnObj.select_type_options.data = rescued_column_data;  before the initializeSelectPlugin() functio is called at line 2400. This triggers the select2 templateResult function of the select2 (see Tempalting example https://select2.github.io/examples.html) where I then be able to return a span/img html snippet for the text value shown and everything works fine.

In summary: This is perhaps a feature request to support Selet2´s static data Array using templating.
Best wishes
Orca11

Hi,
So eventualy you are asking for a way to feed yadcf select filter with your own string containing the list of <option></option> tags?

Hi,
this would be sufficient too, if Html is rendered in the select dropdown and the default option is configurable.
I used select2 instead the normal select because HTML images weren´t shown respectively rendered.
At this time my code for the adapted yadcf select2 ColumnDef looks like this:
function getColumnImageDropDownDef(columnNumber) {
    return {
        column_number: columnNumber,
        select_type: 'select2',
        filter_default_label: '',
        sort_as: 'numerically',
        sort_order: 'asc',
        select_type_options: {
            width: '28px',
            multiple: false,
            escapeMarkup: function(m) {
                return m;
            },
            createTag: function() { return null; },
            allowClear: false,
            templateResult: formatState,
            templateSelection: formatState,
            minimumResultsForSearch: -1
        }
    }
};

function formatState(state) {
    if (!state.id) { return state.id; }
    var path = window.rootUrl + 'res/images/status_' + state.id + '.png';
    var $state = $('');
    return $state;
};

I tried to pass the static data array to the yadcf colDef and to the select_type_options, but that didn´t worked since the static data array of course came from server. They were rendered double or yadcf took its fallback to get the html from current datatable page only in server-side scenario (what is not sufficient) and the current selected option was always overruled by the default option value -1 injected by yadcf...  Perhaps I overlooked something...
Result is:

Added data_as_is attribute (in 0.8.9.beta.24) to use when you want to define your own  for the filter,
use it like this:
{
    column_number : 0,
    data: '<option>One</option><option>Two</option>',
    data_as_is: true
}

repo: vedmack/yadcf


text:
Wireguard VPN in docker

Wireguard and Deluge torrent clinet

There are some problems to deploy this setup on docker swam
No container linking support!

https://github.com/moby/moby/issues/33055

So there are 3 options

Route deluge torrent traffic through wirequard vpn container with ip routes and iptable rules. But there is no static ip address assigment to assign ips and configure routes during stack bring up.

https://github.com/moby/moby/issues/31860

Deploy this stack as plain docker-compose. But traefik can't allow both docker standalone and docker swam at same time

https://github.com/traefik/traefik/issues/6063

Find or build all-in-one docker image which has wireguard, deluge (jacket, sonarr and radarr)

Example: https://hub.docker.com/r/binhex/arch-delugevpn/

4th options

Deploy stack in docker swarm. Make sure torrent client not directly connect to external network i.e. internal: true and configure proxy in torrent client

Deluge ---------------------------> Wireguard -----> Internet
(Proxy configured to wireguard)

It is required to run socks proxy. One of the socks proxy server is dante-server. Example: https://github.com/kizzx2/docker-openvpn-client-socks

https://github.com/jesec/flood

https://www.reddit.com/r/unRAID/comments/lhilzu/qbittorrent_run_external_program_on_torrent/


text:
How to use complex state values?

How can/should I use complex state values (like custom struct?) other than the following ones? Thanks.
/// State describes a component state
#[derive(Debug, PartialEq, Clone)]
pub enum State {
    One(StateValue),
    Tup2((StateValue, StateValue)),
    Tup3((StateValue, StateValue, StateValue)),
    Tup4((StateValue, StateValue, StateValue, StateValue)),
    Vec(Vec<StateValue>),
    Map(HashMap<String, StateValue>),
    Linked(LinkedList<State>),
    None,
}

Thanks for your suggestions. Can you give some more information about method 1?

Send an event to your component and just return a Msg::Something(MyData) as the return type for that event.
There is a full explanation on how the library works in the documentation: https://github.com/veeso/tui-realm/blob/main/docs/en/get-started.md

Thanks!

authors: liebkne veeso

repo: veeso/tui-realm