It is difficult to restore lora features on the face

Hello,
I think your work is great,
Your plugin is very efficient,
Face detection is also very good,
Of course when the face is tilted,
poor repair ability,
But its present repaired face,
It is difficult to restore lora's facial features,
I also used other repair software for comparison,
For example adetailer,
It can restore the characteristics of lora very well,
Can you try to do this?
Even if I increase the weight of lora to 1.5,
It is also difficult to restore the characteristics of lora,
The faces it generates seem to have fixed beautification effects,
It seems to have a lora effect,
Instead of what I want to emphasize,
Maybe I didn't express clearly enough,
You might be able to try adetailer,
You can understand what I want to express,
It can restore lora's facial features very well,
It is hoped that this capacity can be increased

@k52252467
Sorry.  I tried to follow your advice, but could not find out about a clear difference and its cause. This is probably due to my lack of understanding of lora and my lack of technical skills.
As you said, there were some images that made me think that this software might have more of a beautification effect than a lora effect.
However, it may be rather good news for you. Because you can use other software when you want lora effects and use this software when you want beautification effects.
In any case, thank you so much for trying this extension :heavy_heart_exclamation:

Thank you very much for your answer


[Bug]: can't display the data and time of the conversation

What happened?
I modified the blade file to display the user and assistant name but I can't display the data and time of the conversation, can you help me?
How to reproduce the bug
blade_file.pdf
Package Version
1.0.3
PHP Version
8.2.0
Laravel Version
10.48.17
Which operating systems does with happen with?
Windows
Notes
No response

@newtec-foggia Hey, you can upgrade to 1.0.4. I added unix label createdAt to the $message variable


From Theme to Site

The basic site structure is finished and the site has significant content. Merging!


Update es.json

Description
Update es.json
Motivation and Context
Add new missing lines.
Types of changes

[ ] 🐛 Bug fix (non-breaking change which fixes an issue)
[ ] 🚀 New feature (non-breaking change which adds functionality)
[X] 🌎 Translation (addition or update a translation)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

Update es.json
es.json


Updated Casing Consistency

Updating command and Identity casing to be consistent with rest of document

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@dstrome
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Bug with documentation

i would like to raise an issue with the documentation as it does not contain all the correct information necessary to build and start the app. when following the information provided, i am just seeing error and error and error which i assume this is because i am doing something wrong, but i am only following the guide provided.

make test, results in the following
go test -race ./...
github.com/haydenwoodhead/burner.kiwi
./config.go:3:1: syntax error: non-declaration statement outside function body
ok  	github.com/haydenwoodhead/burner.kiwi/burner	0.041s
2022/03/06 13:32:20 Could not start resource: : dial unix /var/run/docker.sock: connect: no such file or directory
FAIL	github.com/haydenwoodhead/burner.kiwi/data/dynamodb	0.025s
ok  	github.com/haydenwoodhead/burner.kiwi/data/inmemory	0.023s
2022/03/06 13:32:23 Could not start resource: : dial unix /var/run/docker.sock: connect: no such file or directory
FAIL	github.com/haydenwoodhead/burner.kiwi/data/postgresql	0.028s
github.com/mattn/go-sqlite3
sqlite3-binding.c: In function ‘sqlite3SelectNew’:
sqlite3-binding.c:125322:10: warning: function may return address of local variable [-Wreturn-local-addr]
125322 |   return pNew;
|          ^~~~
sqlite3-binding.c:125282:10: note: declared here
125282 |   Select standin;
|          ^~~~~~~
ok  	github.com/haydenwoodhead/burner.kiwi/data/sqlite3	0.108s
ok  	github.com/haydenwoodhead/burner.kiwi/email	0.016s
ok  	github.com/haydenwoodhead/burner.kiwi/email/mailgunmail	0.033s
ok  	github.com/haydenwoodhead/burner.kiwi/email/smtpmail	4.029s
ok  	github.com/haydenwoodhead/burner.kiwi/emailgenerator	0.023s
ok  	github.com/haydenwoodhead/burner.kiwi/notary	0.024s
ok  	github.com/haydenwoodhead/burner.kiwi/stringduration	0.022s
make: *** [Makefile:21: test] Error 2

make build, results in the following
rm ./burner/static/.min.css || true
rm: cannot remove './burner/static/.min.css': No such file or directory
Makefile:8: *** github.com/tdewolff/minify is required to build burner.kiwi.  Stop.
Even after a "go get" and "go install" minify the error persists.
Even after placing the minify binary in the burner.kiwi directory, the error persists.

running "apt install minify" seems to help get passed the minify error
make build, then results in this error
rm ./burner/static/.min.css || true
rm: cannot remove './burner/static/.min.css': No such file or directory
minify -o ./burner/static/styles.b5e838db0bd325facd6af140bb89d294.min.css ./burner/static/styles.css
Static assets done
GOOS=linux GOARCH=amd64 GO_ENABLED=0 go build -ldflags "-X github.com/haydenwoodhead/burner.kiwi/burner.version=b775738 -X github.com/haydenwoodhead/burner.kiwi/burner.css=styles.b5e838db0bd325facd6af140bb89d294.min.css" -o "./burnerkiwi"
github.com/haydenwoodhead/burner.kiwi
./config.go:3:1: syntax error: non-declaration statement outside function body

./config.go:3:1: syntax error: non-declaration statement outside function body

Not sure what's going on here. Works fine on my computer.

2022/03/06 13:32:20 Could not start resource: : dial unix /var/run/docker.sock: connect: no such file or directory

These test spin up docker containers for their dependencies (postgres and dynamodb) you need docker on your system and running.

running "apt install minify" seems to help get passed the minify error

Not sure if that's the correct way to install minify. See https://github.com/tdewolff/minify
I think the sqlite stuff is fine, it's just warnings.

i would like to raise an issue with the documentation as it does not contain all the correct information necessary to build and start the app.

This is definitely something that needs work. Happy to work with anyone who wants to PR docs.

i am happy to fix the docs, but i need to know how to build the app first.
can you help me with that?

clone git repo
https://github.com/haydenwoodhead/burner.kiwi.git

build the app
i was under the impression you use go build to build the app, no?

I'll write some documentation tonight NZ time. In the meantime, if you have cloned the repo and have minify installed correctly (following the docs I linked) make build or make build-sqlite should work as expected.

thanks !!
I will rebuild my VM and try again

would you also include information about DNS config too please?

I've started some work to produce and publish binary releases as well as document some things a bit better. Going to take a few days so bear with me.

would you also include information about DNS config too please?
Sure thing.


Software License?

Hello Tegola-Team,
thanks for the great job and the contribution to the OSM World. I noticed that this repository doesn't contain a license. I guess it should be licensed under MIT as your main repository (https://github.com/go-spatial/tegola/blob/v0.15.x/LICENSE.md). Am i right? Can you add a license to clarify this?

@SebastianDa thanks for bringing that up. I have added a MIT license file.


Fix NavigationRail examples overflow alignment

Fix the NavigationRail examples overflow alignment by replacing it with the SegmentedButton widget.
Before
Example 1:

Example: 2:

After
Example 1:

Example 2:

Pre-launch Checklist

[X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[X] I read the Tree Hygiene wiki page, which explains my responsibilities.
[X] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[X] I signed the CLA.
[X] I listed at least one issue that this PR fixes in the description above.
[X] I updated/added relevant documentation (doc comments with ///).
[X] I added new tests to check the change I am making, or this PR is test-exempt.
[X] I followed the breaking change policy and added Data Driven Fixes where supported.
[X] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@yaostyle Thanks for your contribution! It is a good practice to link an issue in the PR description. If the issue doesn't exist, please file one describing the bug.


Get server list on module install rather than on NPM publish

This module looks pretty stable... maybe more stable than the CM server list. In which case, might make sense to pull the current list on module install rather than when publishing to NPM?

I'd rather not include any postinstall scripts, to keep things simple. The WebAPI has far from 100% uptime and I'd rather not break npm installs when it's down/slow/having issues. The CM list is pretty stable and as long as the majority of addresses are valid, the module will find a good one and get connected. Once connected, a new batch of addresses is sent down and saved for future use.

logOn needs to exist here as that's where the protocol version is sent.

sorry I shouldn't have put in a merge request on my master, I'm branching way off now :)
logOn doesn't need to exist in here for that purpose, you have that hacky section which adds protocol version - the logOn method has redundant code unless I'm reading that wrong?


How to get this working?

I copied the code to my local . Now none of the documentation talks about how we connect my code to Lex Service I created in my AWS account. The readme says "the code provided can easily connect to any chatbot created with Amazon Lex, and deployed to the web by changing just three configuration options."
What are those three config options?
Am I missing something?
Thanks
SJ

Will do more research and come back.


Add magnetometer plugin to robot model

Description
The robot is missing a magnetometer plugin in the robot model. On swervi, this was done with the hector gazebo plugin, which is now available in ros2. However, there is no ros humble branch for the plugin.
This can probably be solved by including the foxy devel branch of the plugin as an external git submodule in the urc repo, and then adding the magnetometer plugin to the robot model from there.
Link to plugin

Magnetometer data would only be a marginal improvement to our localization at best. Closing this issue because our effort would be better spent in other areas.


Federation switch is not work

Bug Report
Version of OpenNebula

[ ] 5.2.2
[ ] 5.4.0
[X] 5.4.1 (from ubuntu repo)
[ ] 5.4.2
[ ] 5.4.3
[X] Development build

Component

[ ] Authorization (LDAP, x509 certs...)
[X] Command Line Interface (CLI)
[ ] Contextualization
[ ] Documentation
[ ] KVM
[ ] Networking
[ ] Orchestration (OpenNebula Flow)
[X] Sunstone
[ ] Storage
[ ] Scheduler
[ ] vCenter

Description
Can not select another zone from top menu.

Expected Behavior
Switched to the new zone
Actual Behavior
Not switched to the new zone
No errors in log
No errors in console
How to reproduce
I used sunstone packages from the ubuntu repo,
and installed federation master and slave nodes using this guide:
https://docs.opennebula.org/5.4/advanced_components/data_center_federation/federationconfig.html

I just checked CLI, and I've got same problem, can not change zone there.
I just see:
$ onezone set 100
Endpoint changed to "http://<IP_ADDRESS>:2633/RPC2" in /home/kvaps/.one/one_endpoint

$ cat /home/kvaps/.one/one_endpoint
http://<IP_ADDRESS>:2633/RPC2

but nothing changed, no error output, how to debug it?

Please check that you are actually pointing to different opennebula instances in your zone configuration (i.e. output in onezone show). You can also look at the oned.log of each OpenNebula to see the API queries.
Please note that there are some federated information like users, those would be the same. (oneuser list should be the same onehost list should be different).
Also please review that the replication process have been properly done (you may have ended to just clone the master DB).

Hi @rsmontero, I spent a lot of time for find where is problem.
I found that CLI switch is not work if you have ONE_XMLRPC variable set in your environment.
If you unset it zone switching will working fine, But you need to have direct access XMLRPC interface from both zones from the client. So probably it's OK.
Next, Sunstone is not requeres direct connection from client to XMLRPC interface, but requeres on server side, this is fine too.
I found bug that sunstone can not be switched to another endpoint if it is run behind nginx proxy server.
So, please move bug from Core & System to Sunstone category.

In order to reproduce this, do you have both sunstone-server proxy'ed or just the master or just the slave? Also can you comment on your nginx configuration, is it using SSL, for example?

Hi, I have one susntone-server on separated os, sunstone connected to the master oned.
I have tried to install another one directly on the master and found out that switch is working there.
Then I switched down the proxy, and tried on old one - it's started working too.
Then I have tried to run sunstone directly on :80 - working too.
Today I have tested to run it behind https proxy - same problem, is not switching.
Configuration:
https://forum.opennebula.org/t/vnc-with-sunstone-behind-nginx-proxy/426/11?u=kvaps

Can you post your onezone list output? Does the endpoint point to xmlrpc or http proxy?

# onezone list
C    ID NAME                      ENDPOINT
*     0 OpenNebula                http://opennebula:2633/RPC2
    100 opennebula2-db            http://opennebula2-db:2633/RPC2

Does the endpoint point to xmlrpc or http proxy?
I have proxy only only for proxing sunstone interface, not xmlrpc so entpoints is set directly to opennebulas.

OK, thank you we'll try to reproduce your setup to solve this issue

Hi, I ran into the same problem with the zone not changing in sunstone interface. I serve the interface with apache2 and mod-passenger. It looks like the problem occurs, because passenger drops the header ZONE_NAME in recent versions, as there were some security issues with underscores in header-names. Could this also be the issue here?
Docs state, that when using nginx as proxy "underscores_in_headers on;" must be set. I guess, this addresses the same issue, as nginx defaults to dropping headers with underscores in its name.
I couldnt find a way to configure passenger to allow underscores.
Would it be possible to change the used header to ZONE-NAME?
It looks like sunstone-server.rb already tries to use ZONE-NAME and only falls back to ZONE_NAME because sunstone sends it clientside.
Thanks
Andreas

We cannot reproduce this. Is it also happening in 5.6?

I can not say for sure, right now I have no federation.

Thanks, closing this issue until someone can aids us in reproducing the problem.


Model selection and validation set

Dear authors,
It seems that the training uses no validation set. Instead, it uses test data for test performance in every epoch. However, it seems that the best model is maintained via comparing the certified error on the test data.

https://github.com/shizhouxing/Fast-Certified-Robust-Training/blob/281f6d15e0f2ea4208be57746d060b314949c615/train.py#L222-L228

As far as I am concerned, this causes a fit to the test data, and a separate validation set should be used for this model selection. It could be that I misunderstood your intension, so could you please give some hints on this?
Thanks!

I think it is fine as long as different methods (including baselines) are compared under the same evaluation. Previous works such as IBP and CROWN-IBP don’t seem to use a validation set either. If you prefer to use one, you may add it in your own work.


controlling

The controlling dosent work for me in win 10,phone is redmin note 12c

https://github.com/Genymobile/scrcpy#prerequisites

Thanks so much!

https://github.com/Genymobile/scrcpy#prerequisites


Add Support for Thanos Ruler

I would like to use prometheus-engine frontend component as a datasource for Thanos Ruler. Unfortunately, Thanos Ruler always sends 2 extra params dedup and partial_response which results on a 400 error on GCP side:
read query instant response: expected 2xx response, got 400. Body: {
  "error": {
    "code": 400,
    "message": "Invalid JSON payload received. Unknown name \"dedup\": Cannot bind query parameter. Field 'dedup' could not be found in request message.
Invalid JSON payload received. Unknown name \"partial_response\": Cannot bind query parameter. Field 'partial_response' could not be found in request message.",
    "status": "INVALID_ARGUMENT",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.BadRequest",
        "fieldViolations": [
          {
            "description": "Invalid JSON payload received. Unknown name \"dedup\": Cannot bind query parameter. Field 'dedup' could not be found in request message."
          },
          {
            "description": "Invalid JSON payload received. Unknown name \"partial_response\": Cannot bind query parameter. Field 'partial_response' could not be found in request message."
          }
        ]
      }
    ]
  }
}

The change in this PR mutates the request body by removing those extra params before forwarding them to GCP.
@bwplotka your feedback is welcome (maybe you have a different way of doing it).

Are there features that thanos-ruler provides that our self-deployed rule evaluator doesn't? If this request is due to a feature gap, maybe we should address that as well.

Hi @lyanco. Thanks a lot for the quick reply.

Are there features that thanos-ruler provides that our self-deployed rule evaluator doesn't?

Thanos Ruler is already part of our self-managed monitoring infrastructure and the generated series are pushed to Cloud Storage (in raw Prometheus format) instead of sending them to Cloud Monitoring via the CreateTimeSeries API.
In our setup, the extra round trip to Cloud Monitoring doesn't make sense.
The workflow using rule-evaluator is like this:

generate the recording rules
push them to GCP (cloud monitoring - custom metrics)
download them via Stackdriver-exporter
push them again to GCP (cloud storage) via Thanos Sidecar

But with GMP+Thanos Ruler it will look like this:

generate the recording rules (Thanos Ruler)
push them to GCP (Thanos Ruler - shipper functionality).

Got it, thanks for the context. And what metrics are you recording over? System metrics or custom (user-defined) metrics?
If system metrics, why is exporting the raw metrics via stackdriver-exporter not sufficient?
If custom metrics, why are you paying us at all instead of writing these in your oss stack? Are these log-based metrics or some other type of metric that can only be computed within GCP?

And what metrics are you recording over? System metrics or custom (user-defined) metrics?

@lyanco system metrics (http LBs, PubSub, etc).
I have had issues before yielding wrong results with Stackdriver-exporter, but when I try the same query on Cloud Monitoring it returns correct results ... deltas are not easy to translate and the histograms can start returning weird results. I even have an open support ticket with GCP for more than a week now.
When something is wrong the answer is always "stackdriver exporter is not something supported by GCP" and I have to spend lots of time proving that stackdriver-exporter is fine and the problems is on GCP side.
Another reason why I like GMP Frontend is that I don't have to pull high cardinality metrics (histograms) when I am interested in the aggregation only. So doing the aggregation GCP side is more efficient for our needs.

I have pushed a new commit to make the code more readable and also cover all Thanos parameters, but I am not sure why it's not reflected in this PR.

Just an update from my side, I opened another PR for Thanos to allow disabling sending those parameters altogether: https://github.com/thanos-io/thanos/pull/6560. I believe dropping them from the source would be better and will keep prometheus-engine-frontend cleaner.

Commented on https://github.com/thanos-io/thanos/pull/6560#pullrequestreview-1550159133 nevertheless

Thanks @bwplotka for the feedback. I personally think the PR I opened on Thanos repo is a better way of supporting my use case. If it gets merged, then I will close this PR.

sgtm!

closing this in favor of https://github.com/thanos-io/thanos/pull/6560


Create contributing.md

Summary:
Created the contributing.md file to detail the current rules of the repo.

#2 Attaching an issue for the task.


catch exception due to subgraph removal

Potential fix to issue #19

Thanks! This fixes a pretty big omission indeed.
However, it doesn't look like it's going to help with #19 , as that one is related to https://github.com/semiotic-ai/autoagora/blob/9bb4903db4922a53b013d1cb8e98394d03129d37/autoagora/query_metrics.py#L60 not being caught by the backoff: https://github.com/semiotic-ai/autoagora/blob/9bb4903db4922a53b013d1cb8e98394d03129d37/autoagora/query_metrics.py#L54-L56

I was working on setting up contribution conventions, and finally got them merged in #24 . Sorry if I catch you off guard here :/
Could you amend your commit to have a conventional message (it would be a fix: [...] in this case), and --signoff if you agree with the DCO.
There's some more details you might be interested in in the new CONTRIBUTING.md.
Otherwise LGTM!

should be good to go now

added the missing raise and import


Add the cgroup memory track

We continue the plan to refactor graph related tracks and add / update memory tacks proposed in https://github.com/google/orbit/pull/2474.
And this PR is for the STEP 5 -- Add the MemoryTrack for process & cgroup memory usage.
In order to add the MemoryTrack for process & cgroup memory usage which takes the information provided by both ProcessMemoryInfoProvider and CGroupMemoryInfoProvider, we need to synchronize the service-side memory events.
The related discussion can be found in a doc mentioned in http://b/185107593.
Bugs: http://b/185107371, http://b/185107593
Test: Integration tests are updated. And you can run orbit with the --enable_cgroup_memory flag to try this feature.
Screenshots for the collapsed and uncollapsed versions.

Trata benchmark, collapsed:

Trata benchmark, uncollapsed:

Another example which show all the colors:

sysmon collapsed

sysmon uncollapsed

@vickyliu-go4it Would you also like me to take a look at this change? There are already many reviewers here so it's probably not necessary. But I can also totally have a look.

@vickyliu-go4it Would you also like me to take a look at this change? There are already many reviewers here so it's probably not necessary. But I can also totally have a look.

If it is convenient to you, I would be happy to have your reviews and suggestions.

Trata benchmark, collapsed:

Trata benchmark, uncollapsed:

It doesn't seem to be a straight line in top of the graphics, but I don't understand why. Could you explain me?

Trata benchmark, collapsed:

Trata benchmark, uncollapsed:

It doesn't seem to be a straight line in top of the graphics (all the stacked graphs added together), but I don't understand why. Could you explain me?

The MultvariateTimeSeries stores time series value as double type, however the y position (computed from the time series value) is float type. Due to the loss of precision, the top of stacked graphs are lot flat.

Trata benchmark, collapsed:

Trata benchmark, uncollapsed:

It doesn't seem to be a straight line in top of the graphics (all the stacked graphs added together), but I don't understand why. Could you explain me?

The MultvariateTimeSeries stores time series value as double type, however the y position (computed from the time series value) is float type. Due to the loss of precision, the top of stacked graphs are lot flat.

Are you sure that it is related with precision? If this is the case, I would like to round them. As an user I will expect the top part of the graphics to be flat.

Trata benchmark, collapsed:

Trata benchmark, uncollapsed:

It doesn't seem to be a straight line in top of the graphics (all the stacked graphs added together), but I don't understand why. Could you explain me?

The MultvariateTimeSeries stores time series value as double type, however the y position (computed from the time series value) is float type. Due to the loss of precision, the top of stacked graphs are lot flat.

Are you sure that it is related with precision? If this is the case, I would like to round them. As an user I will expect the top part of the graphics to be flat.

Thanks for the suggestion. I just added one commit to round the precision of memory usage data. Now when you check the sum of numbers listed in the white label, the sum is fixed. And the  top of system track becomes flat now.
But the top of cgroup tracks still looks not very flat. I checked that the sum of numbers listed in the white label is fixed now. So I guess the problem is caused by the loss of precision when converting the time series value to the graph y position.

Thanks for addressing my comments. I've made a question and also I would be interested in solving the issue with the top part of the stacked graph not being flat. Could be a round solve the issue there also if it is related with precision?

It becomes flat now https://screenshot.googleplex.com/4254FNZVMUpr4ZW! Thanks for the suggestion!

I'm still not a big fan of how TimerInfo's registers are abused, but apart from that it looks good. I'm not too familiar with Tracks and TrackManager, maybe you want to wait for someone else's review.

We will need to do something for the next steps, as we won't use timer_info anymore. I won't think this should be part of this PR, but this bug should be addressed shortly in the next months.


Convert [0-9]alpha -> [0-9]α

For name and iupac_name fields, we should do some limited "Greek replacement"
[0-9]alpha, etc. should be converted to the appropriate Unicode entity.
I'd like to leave the JSON in ASCII for now.

@JoshuaRogan Can you make a filter for this?

Yes, I'll get that tonight.
On Sun, Jul 12, 2015 at 3:24 AM Ritwik Gupta<EMAIL_ADDRESS>wrote:

@JoshuaRogan https://github.com/JoshuaRogan Can you make a filter for
this?
—
Reply to this email directly or view it on GitHub
https://github.com/pittquantum/PittQuantumRepository/issues/45#issuecomment-120698530
.

--
Josh Rogan
JoshuaRogan.com

@ghutchis Besides alpha. What other Greek replacements. I am having a hard time finding examples in the files.

beta, gamma, delta

They are all lower case greek letters correct?

Yep!

http://pqr.pitt.edu/mol/FPIPGXGPPPQFEQ-OVSJKPMPSA-N/
Replacements like this shouldn't occur. @ghutchis we need better rules on greek replacement.


Add a shortcut for setting download format in a view

It makes it possible to just paste a string into a View for the download option.
import lumen
import panel as pn
import yaml
from lumen.layout import Layout
from lumen.pipeline import Pipeline
from lumen.sources import FileSource
from lumen.views import Table

pn.extension("tabulator")

data_url = "https://datasets.holoviz.org/penguins/v1/penguins.csv"

pipeline = Pipeline(source=FileSource(tables={"penguins": data_url}), table="penguins")
pipeline.add_filter("widget", field="species")

view = Table(pipeline=pipeline, download="csv")
# Before: Table(pipeline=pipeline, download=Download(format="csv")) and this import from lumen.views.base import Download

specification = lumen.state.to_spec(
    config={"title": "test"},
    layouts=[Layout(views=[view])],
)

print(yaml.dump(specification))

Looks good to me!


InitialData does not work with TextArea (Input multiline)

Description of bug
When passing inicialData object, all inputs are filled, except textinput

To Reproduce
const inicialData = {
  id: 2,
  title: 'New',
  description: 'Description of new Meetup',
  location: 'Here',
  date: '2019-07-10T13:00:00.000Z',
}

<Form initialData={meetup}>
  <Input type="text" name="title" placeholder="Título" />
  <Input multiline name="description" placeholder="Descrição" />
  <Input type="date" name="date" placeholder="Data" />
  <Input type="text" name="location" placeholder="Localização" />
</Form>

The result: textarea does not have the value

Expected behavior
Textarea with value of the inicialData

Exception or Error
Does not have
Environment:

OS: Windows 10
Browser: Firefox (68.0.2)

I'm getting the same error on OSX, Chrome.

Same thing here on Windows 7 and Chrome Versão 77.0.3865.90 64 bits

Unform released version 2.0 🎉
Now it does not include visual components inside the library, so you cannot import Input, Select or any other element from unform package.
Instead of that, you can now easily create your own custom input sources using the useField API.
Check this guide for an easy example.
I recommend you creating an input for textearea apart from the simple input, so you can have more control of the styles between both of them.


Fix click drag&drop area

:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add line number to parsers callback function

I already did this to the file but I thought other people might like to see this feature added. In the _dss.parse function I added the following.
After the index = block.indexOf(line); variable, inside the parser function I added this.
var endOfBlockRegex = /\n\s*#{{(\d*)}}/,
    endOfBlock = block.match(endOfBlockRegex)[1],
    block = block.replace(endOfBlockRegex, "");

Then added endOfBlock to line 205
line[name] = (variable) ? variable.apply(null, [index, description, block, file, endOfBlock]) : '';

Then on line 314 inside if statement that stores the current block if done. I added .concat("\n #{{" + lineNum + "}}") to the current_block
_blocks.push(_dss.normalize(current_block.concat("\n #{{" + lineNum + "}}")));

The reason why I added this is so that I can easily get the css directly after the block so I don't have to duplicate scss that is already after the current block. Things like variables, functions, mixins, and placeholders.

Better block and line management is coming soon, with from and to line numbers for both.

For reference: block implies the entire comment block a variable was found within whereas line referrers to the content associated with that variable.

Should be in now: https://github.com/DSSWG/DSS/commit/9971cfd527ad3d3715e9d8ad4c9690d2dbbe5e2c


Update code for Django 1.10 compatibility

Thanks for this, very useful. I'm going to move your changes in manually as it will be a bit simpler for me.


RC1 Test

I'm just seeing what parts of the UI files to add to the Raycast branch

I got a version of the UI branch working with the raycast branch. I'll make another branch for that and delete this one.


new games_lineup not on kaggle

hi sorry for bothering, i'm not able to fetch the games_lineups alone can you put it on Kaggle?

Hi @Gigioscala.
Sorry for the late reply. I'm able to download the data from Kaggle, but if you have trouble with that you can try some other frontend.

Thank you very much
Il mar 2 apr 2024, 19:07 David @.***> ha scritto:

Hi @Gigioscala https://github.com/Gigioscala.
Sorry for the late reply. I'm able to download the data from Kaggle, but
if you have trouble with that you can try some other frontend
https://github.com/dcaribou/transfermarkt-datasets?tab=readme-ov-file#-frontends
.
—
Reply to this email directly, view it on GitHub
https://github.com/dcaribou/transfermarkt-datasets/issues/288#issuecomment-2032594935,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4WOAHO476HMLIGJHIAYGPTY3LQTLAVCNFSM6AAAAABFHFWK4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZSGU4TIOJTGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Indirizzo istituzionale di posta elettronica
degli studenti e dei laureati dell'Università di TorinoOfficial University
of Turin email address for students and graduates


Encrypt and Compress Options

What's the Problem?
No response
Solution/Idea
Basically, in Window's built-in File Explorer, if you go to the properties of a file/folder, you can go to general and under file attributes, there's an advanced button. If you press that advanced button, there will be a pop-up giving you some more options, including the options to encrypt and/or compress the file/folder. When I checked the Files app, I couldn't find it. So, if you could add the option to encrypt and/or compress a file/folder, it would be nice.
Alternatives
Instead of making a separate advanced button, you could just add 2 more checkboxes for encrypt and compress.
Priorities

Capability
Priority

This feature must have at least the encrypt and compress options.
Must

This feature should have the advanced button to open up the encrypt and compress options.
Should

Files Version
<IP_ADDRESS>
Windows Version
10.0.22000.258
Additional comment
No response

This was recently implemented and will be included in the next update.


Implement authentication support

The template should have pre-baked routes and views for authentication crud:

account creation
second device linking
login / logout

@therealjeffg I removed "recovery kit creation" from the list. I changed "login / logout" to "connect" to reflect what is currently in the mockups.
If you would like to consider a "disconnect" option, we'll need to discuss how it would work and where it should live in the mockups.

Need to fix the link when you click "I have an existing account" before we can close this.


[Event Formatting Agent | Liquid] Iterate through an array

Hi everyone !
I'll do it fast enough:
I'm new to Huginn and Liquid, but I'm not too bad (I think è_é). I'm using the event formatting agent and ... An example is better than an explication :

WHAT I HAVE (JSON build through several agents)

{
  "login": "login",
  "password": "password",
  "id": "surperLongHashCode",
  "response": [
    {
      "name_value_list": {
        "name": {
          "name": "name",
          "value": "Mr. A"
        },
        "account_name": {
          "name": "account_name",
          "value": "SUPER_A"
        },
        "email1": {
          "name": "email",
          "value"<EMAIL_ADDRESS>        },
        "phone_work": {
          "name": "phone_work",
          "value": "0123456789"
        }
      }
    },
    {
      "name_value_list": {
        "name": {
          "name": "name",
          "value": "Mr. B"
        },
        "account_name": {
          "name": "account_name",
          "value": "SUPER_B"
        },
        "email1": {
          "name": "email1",
          "value"<EMAIL_ADDRESS>        },
        "phone_work": {
          "name": "phone_work",
          "value": "0123456788"
        }
      }
    }
  ]
}

WHAT I WANT

{
  "login": "login",
  "password": "password",
  "id": "surperLongHashCode",
  "response": [
    {
      "name": "Mr. A",
      "account_name": "SUPER_A",
      "email1"<EMAIL_ADDRESS>      "phone_work": "0123456789"
    },
    {
      "name": "Mr. B",
      "account_name": "SUPER_B",
      "email1"<EMAIL_ADDRESS>      "phone_work": "0123456788",
    }
    ]
}

You should know that the array contained in "response" can be any size.
I know how to read a single element of it, but not how to iterate through them to get this cleaned new array ...
Have a nice day ;)

The idea is to write something like that :

(it doesn't work : "Sorry, there appears to be an error in your JSON input. Please fix it before continuing.")

Hi @TOrfevres,
in general your idea is correct, however the problem is that the Liquid template needs to be a string. You can put it in instructions message, but even if that works it will return a string and not an object. I think for transformations like this a JavascriptAgent works best:
Agent.receive = function() {
  var events = this.incomingEvents();
  for(var i = 0; i < events.length; i++) {
    var event = events[i];
    event.payload.response = event.payload.response.map(function (res) {
      return {name: res.name_value_list.name.value,
              account_name: res.name_value_list.account_name.value,
              email1: res.name_value_list.email1.value,
              phone_work: res.name_value_list.phone_work.value};
    })
    this.createEvent(event.payload);
  }
}

Oh god, it's solve so many problems >_<"
Thank you so much !
very huginn
much dsander
wow


Remove version: SmartSoft.SmartFTP version 10.0.3226.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://static.smartftp.com/static/Products/Client/10.0.3226.0/x64/SmartFTP.msi
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 912)


GlobalDDE fails remove dead functions and axioms involving bitvector functions

This issue was report by @akashlal
Here's an example program that triggers the bug
function {:bvbuiltin "bvadd"} BVADD32(bv32,bv32) returns (bv32);

// GlobalDDE fails to remove this dead function and axiom because
// it conservatively assumes that the used BVADD32 is related to
// ADD_ONE and because BVADD32 is used that the axiom might constrain
// BVADD32's behaviour in someway
function ADD_ONE(bv32) returns (bv32);
axiom (forall x:bv32 :: ADD_ONE(x) == BVADD32(x, 1bv32));

procedure main() {
    var x:bv32;
    var y:bv32;

    x := BVADD32(x, y);
    assert x == BVADD32(x, y);
}

Fixed by 24cab969a1ff90e9eaebc591e3a6978ee5066b78


Args returns any[][]

With the following code
const {  args } = await new Command()
  .name("redirector")
  .version("0.1.0")
  .description("Create your own redirector service 🚀")
  .arguments("<...urls>")
  .parse(Deno.args);

console.log(args)

And executing it like this
deno run src/cli/redirector.ts build jeje

I got
[ [ "build", "jeje" ] ]

Why is the reason for this? Is not a big problem but is this the intended behavior?
What I would spect is
 [ "build", "jeje" ]

Looks like this is intended<EMAIL_ADDRESS>arguments can include explicit positional arguments, with a variadic option at the end. The resulting args array will have exactly one value for each item in the list – the variadic argument is expressed as a nested array.
For example, consider this command:
const { args } = await new Command()
  .arguments("<arg1> <arg2> <...extras>")
  .parse(Deno.args);

console.log(args)

When you run:
deno run rhyme.ts one two buckle my shoe

it outputs:
[ "one", "two", [ "buckle", "my", "shoe" ] ]

And the type of args is actually [string, string, string[]]


added links to example of using overlay network in swarm mode

What's changed

explained that overlay networks create a named network across multiple nodes, e.g., for a swarm

added links to labs example about working with overlay networks and services in swarm mode

Related issues
https://github.com/docker/docker.github.io/issues/444, https://github.com/docker/docker.github.io/pull/675
Reviewers
@Bartman250 @dnephin @shin- @ManoMarks
Signed-off-by: Victoria Bialas<EMAIL_ADDRESS>

LGTM, merging. If you all have comments please ping me and I'll update these docs further.
Thanks!


Use Brotli as Compression Method for Webpack

Since Microsoft embraced Brotli into net standard, I suggest adding brotli-webpack-plugin to compress ClientApp for production in this repo to keep up with that.
I'm starting this issue to discuss if we should include it in this repo or not. If it's OK I'll create a new PR for this issue.

Thanks for the suggestion. In general our goal is to keep the number of concepts small where possible, so I don't think we'd add an extra plugin by default. As long as it's easy enough for people who want it to put it in their own Webpack configs that's great. If it's more complex, would you be interested in writing up a wiki page to explain how to do it? Thank!


dask.array.linalg.svd leaks memory for large dataset

Describe the issue:
I have a test dataset (~6GB) with 4 dimensions {'time': 2000, 'field': 3, 'x': 512, 'y': 512}. I load the dataset with (42, 3, 512, 512) [~126MB] chunks (i.e. I only chunk in the time direction).
As a first step, I flatten the data along the ('field', 'x', 'y') axes into an array with {'time': 2000, 'dims': 786432} with chunks (42, 786432) [~126MB].
On this array, I run _, s, basis = dask.linalg.svd(data) to get the singular values and right singular vectors, ie. s.shape = (2000,), basis.shape = (2000, 786432). Of the basis, I want the 100 first elements, ie. basis[:100].shape = (100, 786432).
When I call dask.compute() I get the following warning:
distributed.worker.memory - WARNING - Unmanaged memory use is high. This may indicate a memory leak or the memory
may not be released to the OS; see
https://distributed.dask.org/en/latest/worker-memory.html#memory-not-released-back-to-the-os for more information.
-- Unmanaged memory: 27.61 GiB
-- Worker memory limit: 37.66 GiB

It seems like this should not happen if my dataset is only 6GBs and my chunk only ~126MB.
Minimal Complete Verifiable Example:
Unfortunately, I cannot share my dataset, it is too large. If necessary I can try to reproduce my problem with random data:
import dask
from dask.distributed import Client
import xarray as xr

client = Client()

fh = xr.open_dataset(..., chunks={'time': 'auto', 'field': 3, 'x': 512, 'y': 512})

X = fh['data'] # loads and wraps dask array with size {'time': 2000, 'field': 3, 'x': 512, 'y': 512}
X = X.stack(dims=('field', 'x', 'y'))

_, s, v = dask.linalg.svd(X)
basis = v[:100]

basis, s = dask.compute(basis, s)

Environment:

Dask version: '2023.1.0'
Python version: Python 3.10.8
Operating System: some linux (code is run on a compute node)
Install method (conda, pip, source): conda

Internally, Dask uses np.linalg.svd from numpy. These might be related:
https://github.com/numpy/numpy/issues/9516
https://github.com/numpy/numpy/issues/3722
https://github.com/numpy/numpy/issues/7646

Internally, Dask uses np.linalg.svd from numpy.

Isn't this only true if my data is in a single chunk? Otherwise dask uses their QR decomposition tsqr.

https://github.com/numpy/numpy/issues/9516

I tried to confirm this behavior, but at least in my case, my input data preserves the correct data type (float32)

Is it possible, that my chunking is wrong? If I use chunks={'time': -1, 'dims': 'auto'}, I get chunks with (2000, 8388) entries and computing the SVD on those doesn't overflow.
However, this seems to contradict the documentation:

Warning
SVD is only supported for arrays with chunking in one dimension. This requires that all inputs either contain a single column of chunks (tall-and-skinny) or a single row of chunks (short-and-fat). For arrays with chunking in both dimensions, see da.linalg.svd_compressed.


Don't extract model if model is not loaded

I'm concerned this will prevent certain asynchronously loaded models from being batched. If this gets merged, another issue should be created to address such a scenario.


docs: Could not load dynamic library 'libcublas.so.10'

URL(s) with the issue:
https://www.tensorflow.org/install/gpu#install_cuda_with_apt
Description of issue (what needs changing):
I followed the Ubuntu 18.04 (CUDA 10.1) instructions and have installed cuda-10-1, libcudnn7=<IP_ADDRESS>-1+cuda10.1, libcudnn7-dev=<IP_ADDRESS>-1+cuda10.1 as per the instructions.
When I train I'm seeing
Could not load dynamic library 'libcublas.so.10'; dlerror: libcublas.so.10: cannot open shared object file: No such file or directory

In context:
2020-10-26 01:41:57.018284: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1
2020-10-26 01:41:57.018526: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcublas.so.10'; dlerror: libcublas.so.10: cannot open shared object file: No such file or directory
2020-10-26 01:41:57.119177: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcufft.so.10
2020-10-26 01:41:57.144040: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcurand.so.10
2020-10-26 01:41:57.274656: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcusolver.so.10
2020-10-26 01:41:57.292466: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcusparse.so.10
2020-10-26 01:41:57.619082: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudnn.so.7
2020-10-26 01:41:57.619159: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1753] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...

I'm running Ubuntu 18.04.5 LTS (Bionic Beaver)

@tekumara
Please, fill issue template.Please, let us know which tensorflow version you are using?
Please, see tested build configurations from here.
Please, see link1, #26182 an see if it helps you. Thanks!

Thanks @ravikyram I used the docs template rather than the issue template.
I'm using tensorflow 2.3.1 - I'm presume it's compatible with the install docs.

@tekumara
Can you install in a fresh environment and see if you are facing issue?
You can try below commands and see if you are still getting the issue.
1. sudo apt install --reinstall libcublas10
2. add this to ~/.bashrc:
3. export LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda-10.1/lib64:/usr/local/cuda/extras/CUPTI/lib64:$LD_LIBRARY_PATH
4. Reboot once and check

Thanks!

apt-get install libcublas10 installed cuda 10.2 versions:
$ dpkg -L libcublas10
/.
/usr
/usr/local
/usr/local/cuda-10.2
/usr/local/cuda-10.2/targets
/usr/local/cuda-10.2/targets/x86_64-linux
/usr/local/cuda-10.2/targets/x86_64-linux/lib
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libcublas.so.<IP_ADDRESS>
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libcublasLt.so.<IP_ADDRESS>
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libnvblas.so.<IP_ADDRESS>
/usr/share
/usr/share/doc
/usr/share/doc/libcublas10
/usr/share/doc/libcublas10/changelog.Debian.gz
/usr/share/doc/libcublas10/copyright
/usr/local/cuda-10.2/lib64
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libcublas.so.10
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libcublasLt.so.10
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libnvblas.so.10

I can add /usr/local/cuda-10.2/targets/x86_64-linux/lib/ to LD_LIBRARY_PATH and it works. But if feels like I am mixing and matching cuda 10.1 and cuda 10.2 file versions, and there might be a better way.

@tekumara
Please, see this SO link and see if it helps you. Thanks!

Yes that's what I did (see above). Perhaps the docs should be updated to reflect this?

Ok. I also had this problem and here was my solution.
Info: Of Remote
Ubuntu 18.04 LTS
Cuda 10.1
Tensorflow 2.3.1
Accessed with Pycharm Professional 2020.2 (remote interpreter)
NOTHING in this thread worked for me. The problem was the environment variables were not correctly set due to PyCharm. If you are using PyCharm and using a remote host, you should add the LD_LIBRARY_PATH variable to your environment variables in PyCharm, editing .bashrc will not solve the problem, nor will editing the .profile:
In PyCharm

Run > Edit Configurations....
Click on the list icon for Environment Variables
Add the LD_LIBRARY_PATH variable with the value /usr/local/cuda/lib64:/usr/local/cuda-10.1/lib64:/usr/local/cuda/extras/CUPTI/lib64:$LD_LIBRARY_PATH (as given previously in this thread).

I'm sorry if this is the wrong place for this, but this may help others. I was not aware of this issue with PyCharm.

Ok. I also had this problem and here was my solution, since nothing in this thread did.
Info: Of Remote
Ubuntu 18.04 LTS
Cuda 10.1
Tensorflow 2.3.1
Accessed with Pycharm Professional 2020.2 (remote interpreter)
The problem was the environment variables were not correctly set due to PyCharm. If you are using PyCharm and using a remote host, you should add the LD_LIBRARY_PATH variable to your environment variables in PyCharm, editing .bashrc will not solve the problem, nor will editing the .profile:
In PyCharm

Run > Edit Configurations....
Click on the list icon for Environment Variables
Add the LD_LIBRARY_PATH variable with the value /usr/local/cuda/lib64:/usr/local/cuda-10.1/lib64:/usr/local/cuda/extras/CUPTI/lib64:$LD_LIBRARY_PATH (as given previously in this thread).

I'm sorry if this is the wrong place for this, but this may help others. I was not aware of this issue with PyCharm.

even though I'm in the exact same situation this didn't , I still got:
W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcublas.so.10'; dlerror: libcublas.so.10:cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/lib64:/usr/local/cuda-10.1/lib64:/usr/local/cuda/extras/CUPTI/lib64:$LD_LIBRARY_PATH
what do you think I should do ?

even though I'm in the exact same situation this didn't help , I still got:
W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcublas.so.10'; dlerror: libcublas.so.10:cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/lib64:/usr/local/cuda-10.1/lib64:/usr/local/cuda/extras/CUPTI/lib64:$LD_LIBRARY_PATH
what do you think I should do ?

Are you pointing to the correct folder on your system? E.g. did you check that libcublas.so.10 is in the above path. Some people have complained that CUDA 10.1 also installed files from 10.2 and that their libcublas.so.10 was in the CUDA 10.2 folder. Maybe check this.
Also maybe double check how you've added the variables. LD_LIBRARY_PATH is the name of the variable and the path is the value. They are two different columns, which is somewhat difficult to see.

@hdubbs the problem was that the file was in the 10.2 version ,
and eventually I followed this https://stackoverflow.com/a/64472380/10255757
and added the export LD_LIBRARY_PATH=/usr/local/cuda-10.2/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
in the .bashrc file and the problem was solved .
thanks 👍

Closing as requested Please reopen if it's a mistake

I would like to provide how I solved this issue after a long term.
Just I saw that  this file was not inside of my directory libcublas.so.10. I do not know why.
I had installed CUDA-10.0, CUDA-10.1 and CUDA-10.2 but I called for CUDA-10.1. My solution was to pass the libcublas.so.10.0 and rename it from CUDA-10.0 to CUDA-10.1 and it worked! I verified that my GPU is running! I am so happy!


[api-minor] Support search with or without diacritics  (bug 1508345, bug 916883, bug 1651113)

get original index in using a dichotomic seach instead of a linear one;
normalize the text in using NFD;
convert the query string into a RegExp;
replace whitespaces in the query with \s+;
handle hyphens at eol use to break a word;
add some \s* around punctuation signs

The PR is almost ready but highlights are wrong with RTL languages.

For now it doesn't work with RTL languages and I'll do that in an other patch.

remove pdf_find_utils.js.

You probably want to remove this from the commit message (and PR description) now :-)

Given that this implementation uses a lot more, and more complex, regular expressions during both initial text-parsing and subsequent searching: What sort of performance impact, if any, does this patch have for larger and/or more complex documents?
For example, what about e.g. the pdf.pdf document (in the test-suite) or perhaps kjv.pdf (which is even longer)?

Good questions.
I used some perfomance.now calls at the beginning and at the end of functions normalize and _calculateRegExpMatch and I used file kjv.pdf (and set privacy.reduceTimerPrecision to false):
Normalization (ms): 69, 63, 78, 60,
Search for "a" (ms): 316, 296, 306, 253
Normalization (ms): 71, 63, 77, 77
Search for "and  thou  wast  not  spoiled;" (ms): 32, 32, 36, 33
And the same in master with normalize and _calculatePhraseMatch:
Normalization (ms): 25, 25, 22, 20,
Search for "a" (ms): 41, 41, 40, 40
Normalization (ms): 29, 29, 27, 20
Search for "and  thou  wast  not  spoiled;" (ms): 7, 7, 7, 7
From a user pov, I don't see any differences with both searches and so I think that this perf regression is acceptable.
I added some code to remove the diacritics stuff in the query regexp when there are no diacritics on the page (which is the case in kjv.pdf) and there are no significant difference in time for both searches, so in the search part we pay for the use of regexp instead of  indexOf and not so much because of diacritics.
One big advantage of regexp over indexOf is that it's very simple to search for foo\s+bar (because the pdf can contain multiple spaces between foo and bar) and we don't have to re-normalize pageContent when matchDiacritics is turned on/off or to change pageContent case when caseSensitive is turned on/off.
And as usual, I'm open to any good idea to improve this.

@timvandermeij, @Snuffleupagus do you have any objections for landing that stuff ? or any idea to improve perf or whatever ?

do you have any objections for landing that stuff ?

I've been a little bit short on time to really review this properly, and have only looked briefly at the implementation, so it'd probably be very good idea to actually do a "full" review before landing it since this is pretty fundamentally change to the find implementation.

Same here. I think it would be good to, aside from the full review, wait until #13418 is done before merging since it's quite a change to the implementation and it would be good to get the release out first to avoid any risks. (We usually do this for significant changes, such as the text layer and struct tree PRs.)

Is this related to #10036 anyhow?
I look foward regex search for multiple terms, and also advanced highlight with custom html tags.
Is there any PR or roadmap improvments on that way?
thanks

/botio unittest

/botio unittest

I just changed the commit message.

/botio integrationtest

/botio-windows integrationtest
/botio-linux preview

a="-"; new RegExp(`\\${a}`, "u").test("-")

doesn't really work as I expected. Anyway in removing the minus from the regex of the chars to escape it's fine.
Since the minus is only for range and between brackets, I think we don't have to escape it.
Anyway I'll add a test for that.
About the "col-":

in Acrobat, "col" leads to highlight "Col-laboration",
in Chrome, it leads to highlight "Col-" and "collaboration" leads to highlight "Col-laboration"
in Foxit, it leads to hightlight "Col" but "collaboration" doesn't produce anything.

So we have the same behaviour as in Chrome and almost the same as in Acrobat.

/botio-linux preview

And for information, neither Acrobat nor Chrome finds something for "col-".

@Snuffleupagus, do you see something else to fix ? or do you have any other concern ?
For your information, we'd like to have this feature in the next nightly cycle (the soft freeze is next week) and we'll ask to QA to check that everything is fine. If the quality is not good enough we'll backout and it I'll work on it to improve what is needed.

/botio-linux preview

/botio unittest

/botio integrationtest


"Hereclean" is listed in the drop-down menu

Description:
"Hereclean" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Hereclean" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Hereclean, SĂLAJ".


applied a fix to hubmap_translator.py that caused 'files' to not prop…

Replaced by PR #555 with more fixes


Cannot load datasets

Description
Loading a dataset (tested with "GSE100040") fails with an error code 500. This error occurs in >90% of tries.
Tested using the ReactomeGSA datasets deployment, as well as grein_loader installed on a fresh python:3.9 docker container.

Stack trace
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/grein_loader/load_dataset.py", line 161, in load_dataset
    description_r.raise_for_status()
  File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://www.ilincs.org/apps/grein/session/cf9a5a4196c1d66bc6a5814b57ed1990/dataobj/geo_summary?w=&nonce=rGseESBLxe

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/logging/__init__.py", line 1083, in emit
    msg = self.format(record)
  File "/usr/local/lib/python3.9/logging/__init__.py", line 927, in format
    return fmt.format(record)
  File "/usr/local/lib/python3.9/logging/__init__.py", line 663, in format
    record.message = record.getMessage()
  File "/usr/local/lib/python3.9/logging/__init__.py", line 367, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/site-packages/grein_loader/load_dataset.py", line 163, in load_dataset
    LOGGER.error(f"Dataset description for {gse_id} not received: ", err)
Message: 'Dataset description for GSE100040 not received: '
Arguments: (HTTPError('500 Server Error: Internal Server Error for url: http://www.ilincs.org/apps/grein/session/cf9a5a4196c1d66bc6a5814b57ed1990/dataobj/geo_summary?w=&nonce=rGseESBLxe'),)
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/grein_loader/load_dataset.py", line 161, in load_dataset
    description_r.raise_for_status()
  File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://www.ilincs.org/apps/grein/session/cf9a5a4196c1d66bc6a5814b57ed1990/dataobj/geo_summary?w=&nonce=rGseESBLxe

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/site-packages/grein_loader/load_dataset.py", line 164, in load_dataset
    raise GreinLoaderException(f"Dataset description for {gse_id} not received: ", err)
grein_loader.exceptions.GreinLoaderException: ('Dataset description for GSE100040 not received: ', HTTPError('500 Server Error: Internal Server Error for url: http://www.ilincs.org/apps/grein/session/cf9a5a4196c1d66bc6a5814b57ed1990/dataobj/geo_summary?w=&nonce=rGseESBLxe'))

The error is related to something like this: https://github.com/rstudio/shiny-server/issues/454


signalr connection stop

@wintercooled You are using js file instead of ts (status-client.js). Question: why?
In there you create a connection: connection = new signalR.HubConnection('http://localhost:37120/daemonHub');
Then start it:
connection.start().then(function () {
    console.log("Connected to SignalR on Daemon");
    connection.invoke('GetTorStatusAsync');
}).then(function () {
    console.log("Tumbler Status Request");
    connection.invoke('TumblerStatusBroadcastRequestAsync'); //Request that the status is broadcast
}).catch(error => {
    console.error(error.message);
});

However you never stop the connection.
I think the proper thing to do would be to call the connection.stop() function inside cleanup.ts's Cleanup() function.
However, since you are using js file, instead of ts, my front end skills failed me on how to expose the connection variable to globally.
Could you fix it?
This may be important, because as you can see we have a "hide" button, not only a "close" button. The hide button actually exits the Gui and keeps the Daemon running. And when next time the Gui is started, it simply connects to the Daemon, that was running in the background.
And in fact the status bar is broken now, when the Gui is being started. I'm not sure if the unsubscription causing it.

Will do. I'll expose the js function in the definition file and call
accordingly.
On 9 Dec 2017 20:06, "nopara73"<EMAIL_ADDRESS>wrote:

@wintercooled https://github.com/wintercooled You are using js file
instead of ts (status-client.js). Question: why?
In there you create a connection: connection = new signalR.HubConnection('
http://localhost:37120/daemonHub');
Then start it:
connection.start().then(function () {
console.log("Connected to SignalR on Daemon");
connection.invoke('GetTorStatusAsync');
}).then(function () {
console.log("Tumbler Status Request");
connection.invoke('TumblerStatusBroadcastRequestAsync'); //Request that the status is broadcast
}).catch(error => {
console.error(error.message);
});
However you never stop the connection.
I think the proper thing to do would be to call the connection.stop()
https://github.com/SignalR/SignalR/wiki/SignalR-JS-Client#connectionstop
function inside cleanup.ts's Cleanup() function.
However, since you are using js file, instead of ts, my front end skills
failed me on how to expose the connection variable to globally.
Could you fix it?
This may be important, because as you can see we have a "hide" button, not
only a "close" button. The hide button actually exits the Gui and keeps the
Daemon running. And when next time the Gui is started, it simply connects
to the Daemon, that was running in the background.
And in fact the status bar is broken now, when the Gui is being started.
I'm not sure if the unsubscription causing it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nopara73/HiddenWallet/issues/99, or mute the thread
https://github.com/notifications/unsubscribe-auth/AYgLfYTZT4_QUw37MIBuqZxP9sBnKOKpks5s-uhIgaJpZM4Q8OpX
.

Done here: https://github.com/nopara73/HiddenWallet/commit/63490058864adae61b2adcfa4ec3657ef890a845


ImagePullBackoff with helm chart 0.1.24

Hello there,
I've tried installing the bpdispatcher to a demo flux setup an I recieve an ImagePullBackOff error.
Here's the description of my pod.
`Name:             bpdispatcher-5c5bc9fc7f-kzgrj
Namespace:        flux-system
Priority:         0
Service Account:  bpdispatcher
Node:             flux-hub-control-plane/<IP_ADDRESS>
Start Time:       Mon, 02 Sep 2024 14:07:57 +0200
Labels:           app.kubernetes.io/instance=bpdispatcher
app.kubernetes.io/name=bpdispatcher
pod-template-hash=5c5bc9fc7f
Annotations:      checksum/secret: e186e0b2ca868a8e753606765d48290d79acf4b88c7f65162a0621da8f45181d
Status:           Pending
IP:               <IP_ADDRESS>
IPs:
IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/bpdispatcher-5c5bc9fc7f
Containers:
bpdispatcher:
Container ID:
Image:          brainfair/bpdispatcher:v0.0.29
Image ID:
Port:           8000/TCP
Host Port:      0/TCP
State:          Waiting
Reason:       ImagePullBackOff
Ready:          False
Restart Count:  0
Liveness:       http-get http://:http/healthz delay=0s timeout=1s period=10s #success=1 #failure=3
Readiness:      http-get http://:http/ready delay=0s timeout=1s period=10s #success=1 #failure=3
Environment Variables from:
bpdispatcher-secret  Secret  Optional: false
Environment:
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-n4w6p (ro)
Conditions:
Type                        Status
PodReadyToStartContainers   True
Initialized                 True
Ready                       False
ContainersReady             False
PodScheduled                True
Volumes:
kube-api-access-n4w6p:
Type:                    Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds:  3607
ConfigMapName:           kube-root-ca.crt
ConfigMapOptional:
DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type     Reason     Age                  From               Message

Normal   Scheduled  10m                  default-scheduler  Successfully assigned flux-system/bpdispatcher-5c5bc9fc7f-kzgrj to flux-hub-control-plane
Normal   Pulling    9m17s (x4 over 10m)  kubelet            Pulling image "brainfair/bpdispatcher:v0.0.29"
Warning  Failed     9m15s (x4 over 10m)  kubelet            Failed to pull image "brainfair/bpdispatcher:v0.0.29": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/brainfair/bpdispatcher:v0.0.29": no match for platform in manifest: not found
Warning  Failed     9m15s (x4 over 10m)  kubelet            Error: ErrImagePull
Warning  Failed     9m4s (x6 over 10m)   kubelet            Error: ImagePullBackOff
Normal   BackOff    50s (x42 over 10m)   kubelet            Back-off pulling image "brainfair/bpdispatcher:v0.0.29"
`

Hi @toriath, I guess you are trying to run it on an ARM instance. Currently, only Linux/AMD64 images are available.

I have added the ARM build, try the latest version now (0.1.25) with image v0.0.30


BLOB/TEXT column * used in key specification without a key length

Bug description
When I run npx prisma migrate dev or npx prisma migrate reset, I get this error:
Error: P3006

Migration `20210928235531_schema_admin` failed to apply cleanly to the shadow database.
Error code: P3018
Error:
A migration failed to apply. New migrations cannot be applied before the error is recovered from. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve

Migration name:<PHONE_NUMBER>5531_schema_admin

Database error code: 1170

Database error:
BLOB/TEXT column 'uniqueIdentifier' used in key specification without a key length

Please check the query number 81 from the migration file.

This is because I have this index:
    @@unique([uniqueIdentifier])

that refers to this fields:
    uniqueIdentifier Bytes?

How to reproduce

Write a Prisma schema that uses a Bytes field.
Create an index on that field.
Observe the error above.

Note that I am using MySQL 8.0.26.
Expected behavior
No response
Prisma information

Environment & setup

OS: Windows 10 x64 Professional
Database: MySQL 8.0.26.
Node.js version: 16.6.0

Prisma Version
prisma                  : 3.1.1
@prisma/client          : 3.1.1
Current platform        : windows
Query Engine (Node-API) : libquery-engine c22652b7e418506fab23052d569b85d3aec4883f (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli c22652b7e418506fab23052d569b85d3aec4883f (at<EMAIL_ADDRESS>Introspection Engine    : introspection-core c22652b7e418506fab23052d569b85d3aec4883f (at<EMAIL_ADDRESS>Format Binary           : prisma-fmt c22652b7e418506fab23052d569b85d3aec4883f (at<EMAIL_ADDRESS>Default Engines Hash    : c22652b7e418506fab23052d569b85d3aec4883f
Studio                  : 0.423.0

I think this could be solved with the upcoming 3.5.0 version and the extendedIndexes preview feature. So your data model would then be like:
generator client {
  provider = "prisma-client-js"
  previewFeatures = ["extendedIndexes"]
}

model Test {
  id Int @id
  uniqueIdentifier Bytes?

  @@unique([uniqueIdentifier(length: 16])
}

Can you please try with 3.5 and the mentioned preview feature @JonathanWilbur? Thanks.

Ping @JonathanWilbur

This works now with that preview feature. Thank you.

Awesome, thanks for the confirmation!


Nightly build failure 2024-01-24

Data validation failure
The utility and balancing authority service territories derived from EIA-861 have significantly more records than expected.

All of the real code changes between nightly-2024-01-21 and nightly-2024-01-24 seem to be related to the PHMSA extraction.
However, the conda environment was also re-locked on Monday. Maybe something there changed the behavior of the service territory assets?

test/validate/service_territory_test.py::test_minmax_rows[compiled_geometry_balancing_authority_eia861-108436]
-------------------------------- live log call ---------------------------------
2023-08-15 14:53:49 [    INFO] catalystcoop.pudl.validate:194 compiled_geometry_balancing_authority_eia861: found 112507 rows, expected 108436. Off by 3.754%, allowed margin of 0.000%
FAILED                                                                   [ 99%]
test/validate/service_territory_test.py::test_minmax_rows[compiled_geometry_utility_eia861-237872]
-------------------------------- live log call ---------------------------------
2023-08-15 14:53:52 [    INFO] catalystcoop.pudl.validate:194 compiled_geometry_utility_eia861: found 247705 rows, expected 237872. Off by 4.134%, allowed margin of 0.000%

Build script success criteria:

In addition to the above issue, despite the fact that the build failed the script seems to think it succeeded in some ways.
The nightly branch was updated.
The success file was created in the output bucket
The /nightly outputs were updated with last night's outputs.
It seems like we aren't correctly capturing the exit status of the chain of commands in the run_pudl_etl() funciton. Maybe we should break them up into individual commands each with their own success variable, and have the function return the AND of all of them?

Datasette doesn't match?
Curious whether the datasette deployment had taken place given the above combination of failure and perceived success, I counted the rows in the two affected tables, and to my surprise, it matched neither the expected or observed row counts above:
SELECT COUNT(*) FROM out_eia861__compiled_geometry_utilities;
-- 248987

SELECT COUNT(*) FROM out_eia861__compiled_geometry_balancing_authorities;
-- 112853

ETL Logs:
pudl-etl.log

I'll note here that the pudl_codes_datasources table does include a pudl_version column which appears to point at the right git hash:

I'm surprised that the pytest ... && touch $PUDL_OUTPUT/success led to touching if pytest failed...

I think the logs you're looking at are for the wrong day, actually! 😌  See the timestamp:
2023-08-15 14:53:52 [    INFO] catalystcoop.pudl.validate:194 compiled_geometry_utility_eia861: found 247705 rows, expected 237872. Off by 4.134%, allowed margin of 0.000%

I can't find any test failures in the 2024-01-24 logs.

Okay, so this was just a network hiccup in attempting to publish the data release to the Zenodo Sandbox, and actually everything is materially fine.


Moved crashLogger.logCrash off the main thread.

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#4814  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @anikiki and the rest of your teammates on  Graphite


could not login in pypi.org - session invalidate

Hi,
I'm experiencing the same issue #14881
I've sent an email to<EMAIL_ADDRESS>no answer.
How to resolve?
thanks

Hi, I see a response from our support staff on Aug 21, please see that email.

I do not get that email. Can you reply here?


Build failure: xpadneo

Steps To Reproduce
Steps to reproduce the behavior:

build xpadneo

Build log

Build Log
sudo nixos-rebuild switch --flake .
warning: Git tree '/home/user/personal/nix/nixos-config' is dirty
building the system configuration...
warning: Git tree '/home/user/personal/nix/nixos-config' is dirty
evaluating derivation 'git+file:///home/user/personal/nix/nixos-config#nixosConfigurations."derror: builder for '/nix/store/6k4b8p88lhc2k3b92gpsw5n1a9xy2vjp-xpadneo-0.9.6.drv' failed with exit code 2;
       last 20 log lines:
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/05jj42j9d24b8shwl5dx99r98739z5wa-source
       > source root is /build/source/hid-xpadneo/src
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > no configure script, doing nothing
       > Running phase: buildPhase
       > build flags: SHELL=/nix/store/0irlcqx2n3qm6b1pc9rsd2i8qpvcccaj-bash-5.2p37/bin/bash O=\$\(buildRoot\) CC=/nix/store/3ix5h74n7ar9950vwzp4dxmil70pmx0k-gcc-wrapper-13.3.0/bin/cc HOSTCC=/nix/store/3ix5h74n7ar9950vwzp4dxmil70pmx0k-gcc-wrapper-13.3.0/bin/cc HOSTLD=/nix/store/9bacph866qhmr2zfib1h49jixq5hhd01-binutils-wrapper-2.43.1/bin/ld ARCH=x86_64 -C /nix/store/lacdcr5zi7w59f8xsq4cfi41mzgc6dcn-linux-6.12-dev/lib/modules/6.12.0/build M=\$\(sourceRoot\) VERSION=0.9.6 modules
       > make: Entering directory '/nix/store/lacdcr5zi7w59f8xsq4cfi41mzgc6dcn-linux-6.12-dev/lib/modules/6.12.0/build'
       >   CC [M]  /build/source/hid-xpadneo/src/hid-xpadneo.o
       > /build/source/hid-xpadneo/src/hid-xpadneo.c:1266:25: error: initialization of 'const __u8 * (*)(struct hid_device *, __u8 *, unsigned int *)' {aka 'const unsigned char * (*)(struct hid_device *, unsigned char *, unsigned int *)'} from incompatible pointer type 'u8 * (*)(struct hid_device *, u8 *, unsigned int *)' {aka 'unsigned char * (*)(struct hid_device *, unsigned char *, unsigned int *)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Werror=incompatible-pointer-types8;;]
       >  1266 |         .report_fixup = xpadneo_report_fixup,
       >       |                         ^~~~~~~~~~~~~~~~~~~~
       > /build/source/hid-xpadneo/src/hid-xpadneo.c:1266:25: note: (near initialization for 'xpadneo_driver.report_fixup')
       > cc1: some warnings being treated as errors
       > make[2]: *** [/nix/store/lacdcr5zi7w59f8xsq4cfi41mzgc6dcn-linux-6.12-dev/lib/modules/6.12.0/source/scripts/Makefile.build:229: /build/source/hid-xpadneo/src/hid-xpadneo.o] Error 1
       > make[1]: *** [/nix/store/lacdcr5zi7w59f8xsq4cfi41mzgc6dcn-linux-6.12-dev/lib/modules/6.12.0/source/Makefile:1936: /build/source/hid-xpadneo/src] Error 2
       > make: *** [/nix/store/lacdcr5zi7w59f8xsq4cfi41mzgc6dcn-linux-6.12-dev/lib/modules/6.12.0/source/Makefile:224: __sub-make] Error 2
       > make: Leaving directory '/nix/store/lacdcr5zi7w59f8xsq4cfi41mzgc6dcn-linux-6.12-dev/lib/modules/6.12.0/build'
       For full logs, run 'nix log /nix/store/6k4b8p88lhc2k3b92gpsw5n1a9xy2vjp-xpadneo-0.9.6.drv'.
error: 1 dependencies of derivation '/nix/store/p9lqb04mzb1997n0hpjli6014f7yahz6-linux-6.12-modules.drv' failed to build
error: 1 dependencies of derivation '/nix/store/dvbl38c8nc3s4jhrvpdrszqqb186crj9-nixos-system-user-d-25.05.20241119.23e89b7.drv' failed to build

Additional context

Metadata

system: "x86_64-linux"
host os: Linux 6.11.8, NixOS, 25.05 (Warbler), 25.05.20241115.5e4fbfb
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.24.10
channels(root): "nixos"
nixpkgs: /nix/store/hfz1qqd0z8amlgn8qwich1dvkmldik36-source

Notify maintainers
@kira-bruneau

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

This has been reported upstream as well https://github.com/atar-axis/xpadneo/issues/505


How to prevent @sentry/vite-plugin from injecting Sentry to every file?

Looks like Sentry injects this to every file:
(function() {
    try {
        var r = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}
          , t = new Error().stack;
        t && (r._sentryDebugIds = r._sentryDebugIds || {},
        r._sentryDebugIds[t] = "6af1d399-83b0-4d2d-8d81-2b50af19ad83",
        r._sentryDebugIdIdentifier = "sentry-dbid-6af1d399-83b0-4d2d-8d81-2b50af19ad83")
    } catch {}
}
)();

How do I disable this?

Hey @lilouartz would you mind letting us know why you want to disable debug id injection? This snippet is injected so that we can better associate the minified stack frames with the correct source maps to show you the unminified stack frames in the Sentry UI.

How do I disable this?

You can give our legacy source maps uploading strategy a try. This won't inject debug id snippets into your code but you'll need to more carefully set up source maps upload

Feels lame that I have to use something named "legacy" for what seems like a basic ask.

I gave you an alternative. Without having more context as to why you want to achieve this, we cannot prioritize work on this.

Hey @lilouartz would you mind letting us know why you want to disable debug id injection?

I am having the same issue, the issue is Sentry config on vite is injecting an import to my web worker. We should have an ignore list or a way to prevent Sentry from importing on specified files.

@chadgauth you can use the sourcemaps.ignore option to disable injecting the debugId snippet into specific files. Vice verca, you can also specify assets to limit the injection of debugIds and source map upload to specific file paths (glob patterns work for both).


[Suggestion] Repopulation

Plants aren't the only thing in an ecosystem, there are also the animals!
Can a check be run to see if the passive mob cap is reached, and if it isn't, spawn an additional passive mob, perhaps giving priority to ones entities that have already spawned.
This will ensure that if all the animals get killed off in an area regrowth will still occur, because there will be new mobs to plant the saplings and grow the grass.

It's possible to do this but SpawnCapUtility can be used to raise the creature cap from 10 (to 20 or 40) so it is redundant.
But it should be easy to add to regrowth so I may add it while I'm in the code anyway.

Just feels like it fits the theme of the mod well


Stop spamming libnotify.

Does what it says on the lid. :smile:

Coverage remained the same at 91.088% when pulling 994373b40a3163808ea6ace412c567a243e5ff2d on huba:shut-up-guard into f3a20844fe16efb030ef3b3354ebc4b782c11707 on ioquatix:master.

Coverage remained the same at 91.088% when pulling 994373b40a3163808ea6ace412c567a243e5ff2d on huba:shut-up-guard into f3a20844fe16efb030ef3b3354ebc4b782c11707 on ioquatix:master.

Coverage remained the same at 91.088% when pulling 994373b40a3163808ea6ace412c567a243e5ff2d on huba:shut-up-guard into f3a20844fe16efb030ef3b3354ebc4b782c11707 on ioquatix:master.


DBZ-7066 The DefaultDeleteHandlingStrategy couldn't add the rewrite "__deleted" field to a non-struct value

https://issues.redhat.com/browse/DBZ-7066

@harveyyue  I think we dropped the ball on testing of this change a bit. Could you please make a copy of ExtractNewDocumentStateTestIT, ExtractNewRecordStateTest and ExtractNewDocumentStateTest and modify it so it uses the new config option? Ideally there should be no change in asserts, only in config. Only after that we can be sure everything has been caught.

@harveyyue I think we dropped the ball on testing of this change a bit. Could you please make a copy of ExtractNewDocumentStateTestIT, ExtractNewRecordStateTest and ExtractNewDocumentStateTest and modify it so it uses the new config option? Ideally there should be no change in asserts, only in config. Only after that we can be sure everything has been caught. Or more precisely make a copy that will test the legacy setting and modify the original ones.

@jpechane OK

@harveyyue Applied, thanks a lot!


Not sure if this is a Bug, or problem with my Text Editor (VS Codium)

Describe the bug
I'm trying to comment out a line for series in my hugo.toml file, per the hugo-liftoff Wiki section, "Taxonomies". Here is the link to that particular paragraph: https://github.com/wjh18/hugo-liftoff/wiki/3.-Config-&-Params#taxonomies
In the hugo.toml file, I've tried putting a # (just one on the entire beginning of the line) and save it. But the Hugo Server gives errors until I remove the comment. This is the section I'm referring to: Please disregard the spacing, as it pasted strange here in the box I'm typing this in:
[taxonomies]
tag = 'tags'
category = 'categories'
series = 'series' # Allows you to create an organized series of posts (e.g. multi-part tutorial)
project-type = 'project types' # Categorize projects by type (e.g. client work, personal, open source, etc.)

Expected behavior
I expected the Series option to go away from posts that have it included.
Screenshots

Desktop (please complete the following information):
Windows 11
Edge Version 114.0.1823.82 (Official build) (64-bit)
No Add-ins or extensions installed
Smartphone (please complete the following information):
Not using smartphone for this site, but I do have a Galaxy s23 Ultra
Additional context
Problem goes away if I remove the comment and allow the series to exist.
I'd like to add that I believe this is the best Hugo Theme I've ever seen and It needs more recognition than the other "best themes" out there. This one is superior, in my opinion.

Yes, I see the issue. Two example site posts (what you copied over from themes/hugo-liftoff/exampleSite into your own project) have a series frontmatter param and the open graph see_more tag is still trying to index any post with a series param even if the series taxonomy is disabled in the config. I will add an additional check to determine if the taxonomy exists before trying to add the OG tag for posts with series frontmatter.
In the meantime, to get the error to go away you can remove that series param from your project's content/posts/subsection2/* (should be two posts causing the issue).
Thanks for bringing this to my attention! Will fix in the next release and add clarification to the docs.

I'd like to add that I believe this is the best Hugo Theme I've ever seen and It needs more recognition than the other "best themes" out there. This one is superior, in my opinion.

Thank you so much! That's great to hear as I worked really hard on it. I only recently added it to the showcase which is why it's not as popular. Slowly gaining traction though, so fingers crossed. If you can find the time to share it on socials or anywhere else that would be a huge help.

You're the best, thank you so much!


Add PartitionHeadChecker interface

Add an interface to check whether the given packet is the beginning of a new frame partition.
OpusPartitionHeadChecker and VP8PartitionHeadChecker are implemented.
Intended to be used in https://github.com/pion/webrtc/pull/932.
If there is better interface naming for this, please comment.

Codecov Report

Merging #26 into master will increase coverage by 0.6%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master      #26     +/-   ##
=========================================
+ Coverage   79.75%   80.35%   +0.6%
=========================================
  Files           9        9
  Lines         326      336     +10
=========================================
+ Hits          260      270     +10
  Misses         57       57
  Partials        9        9

Impacted Files
Coverage Δ

codecs/vp8_packet.go
100% <100%> (ø)
:arrow_up:

codecs/opus_packet.go
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@Sean-Der please take a look this when you have time!

@at-wat
Hey! Sorry reviews have been taking so long, I made you an Administrator of Pion. You can merge things without me now. You are a really great developer and I agree with all the development decisions you have made. If you ever have things you want to discuss please send them my way. You have equal control over the project (no pressure though!) I don't want things to slow down because of me.
I have just been focused on turn + dtls recently. I do plan on shifting back into WebRTC more, but for me the 'grand vision' of Pion needs all these parts :)

@Sean-Der thank you!

Adding a tag v1.2.0.


PURLs on stdin

Read package urls line by line on the Stdin, this allows the user flexibility to connect up their own parser (e.g. for formats we don't support) for their manifest files and pipe the results directly into osv-scanner.

Closing this for now in favor of a more generic version using the format of our batch API queries coming in a future PR.


CSV w/ Empty Last Line causes ECONNRESET for short files.

We have been using v1.0.3 without issue, upgraded to 1.1.3 and have been having issues.
On a really short CSV file, if there is a trailing line break (i.e. last line empty), it will throw a ECONNRESET error.
From digging into it, it looks like the csvLineBuffer gets set to empty (via setPartial) and because of this when _flush is called it doesn't wait until everything is done processing.  I think this is because it could be a partial new line, but essentially any buffer that happens to end on a line break will trigger this, as well as a file that ends on it.
This is a sample CSV we were using
code,name
C,Cinema
D,Direct Mail
B,Mobile
O,Online Display
E,Online Video
M,Opt-In Email
X,Outdoor
P,Print
R,Radio
S,Social
T,Television
V,Viral
M,Opt-In Email
X,Outdoor
P,Print
R,Radio
S,Social
T,Television
V,Viral

Edit: it seems to work without issue on longer files.  Our current highWaterMark is 10,000.  It also only happens with workerNum > 1

Thanks for the feedback.
If it is possible, could you paste the code you have the problem with as
well?
Thanks,
Keyang
On 2 February 2017 at 20:33, Eric Byers<EMAIL_ADDRESS>wrote:

We have been using v1.0.3 without issue, upgraded to 1.1.3 and have been
having issues.
On a really short CSV file, if there is a trailing line break (i.e. last
line empty), it will throw a ECONNRESET error.
From digging into it, it looks like the csvLineBuffer gets set to empty
(via setPartial) and because of this when _flush is called it doesn't wait
until everything is done processing. I think this is because it could be a
partial new line, but essentially any buffer that happens to end on a line
break will trigger this, as well as a file that ends on it.
This is a sample CSV we were using
code,name
C,Cinema
D,Direct Mail
B,Mobile
O,Online Display
E,Online Video
M,Opt-In Email
X,Outdoor
P,Print
R,Radio
S,Social
T,Television
V,Viral
M,Opt-In Email
X,Outdoor
P,Print
R,Radio
S,Social
T,Television
V,Viral
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Keyang/node-csvtojson/issues/137, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABCs97QNrIjCq-vJtmhXOaaDve9gzUG-ks5rYj2fgaJpZM4L1mi7
.

Is this still an issue?

Yes

I'm experiencing this issue too...
completed READCTED.csv
events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at _errnoException (util.js:1022:11)
    at Pipe.onread (net.js:628:25)
/app #

Not using the CLI, neither the webServer, just the node API. The strangest is that we are only experiencing it inside docker containers (alpine image) and not at MacOS.

Close due to no activity


How to collect memory information for a process on non-Mac OS?

Hey!
This library is great, but unfortunately I ran into an issue where to collect process memory, apparently I need to use libproc::pid_rusage? But that seems to be only available on Mac OS?
The docs say this "was added in Mac OS X 10.9" but it wasn't clear to me it was not available on other OSs.
What I want is probably just "resident memory" (in lay terms, how much RAM the process is using). Is there a way to get that which works on all Windows, Linux and Mac OS?
Thanks.

There maybe a way to get it on Linux (adding a Linux implementation for that method), such as parsing /procfs or similar...I'd have to look into that.
On Window I have no idea, and I haven't done any windows support and don't have a windows machine to do so (or any knowledge) I'm afraid.

Maybe this is the easy way to do it, similar to some of the other methods I already have on linux, reading procfs:
https://unix.stackexchange.com/questions/224015/memory-usage-of-a-given-process-using-linux-proc-filesystem

So, I have added GitHub action to re-establish CI (migration to travis-ci.com a disaster) and could do this issue, if you could share what you think is the best implementation regarding some of those ambiguities about RAM usage that are mentioned in that article.
(https://unix.stackexchange.com/questions/224015/memory-usage-of-a-given-process-using-linux-proc-filesystem)

@andrewdavidmackenzie will have a look. I noticed that procs uses your crate and it seems to support memory on Linux (from a brief look at it). I couldn't manage to find how they do it, but you might understand their code better, maybe have a look?

Ah, just needed to look a bit more :) they seem to use procfs on Linux, and your crate on MacOS!
I will do the same :) maybe this will help you make this crate a bit more OS-agnostic!

If you share what they do, I can wrap the parsing of procfs in that method,
as I already do for other things
On Mon, 9 Aug 2021, 12:42 Renato Athaydes, @.***> wrote:

Ah, just needed to look a bit more :) they seem to use procfs
https://crates.io/crates/procfs on Linux, and your crate on MacOS!
I will do the same :) maybe this will help you make this crate a bit more
OS-agnostic!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/andrewdavidmackenzie/libproc-rs/issues/61#issuecomment-895121632,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKF4LHVL3MIPMEKVZMVLC3T36WKVANCNFSM5BTTNF2A
.

It seems they collect all information about the process here:
https://github.com/eminence/procfs/blob/master/src/process/stat.rs#L244
Virtual memory size is here:
https://github.com/eminence/procfs/blob/master/src/process/stat.rs#L283
Basic text parsing :D easy to use this for Linux.

Will look at doing this, reading VRAM at least as a starter
who is "they" that use this crate and procfs BTW?

I noticed that procs uses your crate...

they seem to use procfs on Linux, and your crate on MacOS!

OK, I will parse:
"/proc/[pid]/status"
and use the "VmSize" line


etcd cluster is unavailable or misconfigured

I occasionally get the error "etcd cluster is unavailable or misconfigured" from the etcd client library. The etcd server is up and reachable and a retry solves the problem. From the etcd logs this appears to happen when an etcd snapshot is in progress.
My problem is that if this happens for an update operation where PrevExist==client.PrevNoExist, the client returns an error but the key is actually created in the server. Retry operation obviously fails.
How do I handle this - How can I retry an operation, something akin to a TCP retransmit?

Single Etcd server: /usr/bin/etcd -version
etcd version 2.0.9
Etcd client library:
version: "v2.3.0-92-g92a73e7",
"Rev": "92a73e727b28de00cf9ebb5a40204901f927663b"

Do you have logs? Was there any leader election?

This is a single node etcd deployment; no leader election. I have all the logs, I am just including a small snippet, lemme know if you want it in its entirety. This is not a one time occurrence so I can even enable any debug you need.
The log has this repeated many many times (note, this instance of etcd has stayed up > 6 months with constant use: kudos!)
Apr 20 16:48:51 ip-172-31-29-80 etcd[778]: 2016/04/20 16:48:51 filePurge: successfully removed file /var/lib/etcd/default.etcd/member/wal/0000000000001b6d-00000000042f6d40.wal
Apr 20 16:48:53 ip-172-31-29-80 etcd[778]: 2016/04/20 16:48:53 filePurge: successfully removed file /var/lib/etcd/default.etcd/member/snap/0000000000000003-00000000042f6d3f.snap
Apr 20 17:55:07 ip-172-31-29-80 etcd[778]: 2016/04/20 17:55:07 etcdserver: start to snapshot (applied: 70277029, lastsnap: 70267028)
Apr 20 17:55:11 ip-172-31-29-80 etcd[778]: 2016/04/20 17:55:11 etcdserver: compacted log at index 70277029
Apr 20 17:55:16 ip-172-31-29-80 etcd[778]: 2016/04/20 17:55:16 etcdserver: saved snapshot at index 70277029

@coozy The log seems right. etcd was doing internal snapshotting. It seems like the problem is the client-server communication part. Can you try to get the detail of the error?
if cerr, ok := err.(*client.ClusterError); ok {
   log(cerr.Detail())
}

I added that and ran a test that just does update in a loop. That caused the server to oom destroying the 6 month uptime! You might have a memory leak somewhere. So the 'Detail' I got was EOF which I suspect isn't useful.
Apr 20 18:32:05 ip-172-31-29-80 etcd[778]: fatal error: runtime: out of memory
Apr 20 18:32:05 ip-172-31-29-80 etcd[778]: runtime stack:
Apr 20 18:32:05 ip-172-31-29-80 etcd[778]: runtime.SysMap(0xc293770000, 0x127d0000, 0xc208001900, 0xa564f8)
Apr 20 18:32:05 ip-172-31-29-80 etcd[778]: /usr/lib/golang/src/runtime/mem_linux.c:149 +0x98
Apr 20 18:32:05 ip-172-31-29-80 etcd[778]: runtime.MHeap_SysAlloc(0xa5bbe0, 0x127d0000, 0x42c782)
Apr 20 18:32:05 ip-172-31-29-80 etcd[778]: /usr/lib/golang/src/runtime/malloc.c:284 +0x124
Apr 20 18:32:05 ip-172-31-29-80 etcd[778]: runtime.MHeap_Alloc(0xa5bbe0, 0x93e2, 0x10100000000, 0x0)
Apr 20 18:32:05 ip-172-31-29-80 etcd[778]: /usr/lib/golang/src/runtime/mheap.c:240 +0x66
Apr 20 18:32:05 ip-172-31-29-80 etcd[778]: goroutine 8 [running]:
Apr 20 18:32:05 ip-172-31-29-80 etcd[778]: runtime.switchtoM()

@coozy Can you try to upgrade your etcd cluster to 2.3? We fixed tons of bugs in these 6 months.

we do have a cluster that runs that. I was trying to avoid doing that because that means we need to tell everyone that we can't work with etcd 2.0.
Also this problem happens over time and I am suspecting data. If you look at the amount of time it took to snapshot it is in the order of 10s of seconds. That's a lot.
Is the system available when it's taking a snapshot?

Is the system available when it's taking a snapshot?

It is not for 2.0.9. We improved it since 2.1. You probably have to upgrade to get the new features.

I think we can close this now. The best solution here is to upgrade your etcd cluster.


Changing language does not correctly change the default comment

Steps to reproduce:

Go to Source Academy Playground
Default language should be JS and there should be a comment "// Type your program in here!". Change language from JS to Python
The comment stays the same, which causes a syntax issue.

Expected behaviour upon language change should be to automatically change the default comment as well. I believe the same issue will also happen if the language is changed from JS to Scheme.

Part of larger #2463 efforts in general. The placeholder comment should be part of this language config object. I'll take note of this.

Thanks @RichDom2185!