fatal error: runtime: out of memory

c.OnHTML("a[href]", func(e *colly.HTMLElement) {
e.Request.Visit(e.Attr("href"))
})
This recursion will cause memory overflow. It should be that the content crawled before has not been dropped by gc. How to solve this problem?

Maybe it's because a URL corresponds to too many html, and the parsing speed doesn't keep up with the crawling speed (using two C. OnHTML)?
Ps: crawl a web with less data, such as a video site, without memory overflow. But when crawling news websites, there will be memory overflow.
My English is very poor.Only relying on translation, sorry.

Could you please add an example to reproduce it?

		// root is a url
		c := colly.NewCollector(
			func(c *colly.Collector) {
				c.AllowedDomains = []string{root}
			},
		)

		c.OnHTML("a[href]", func(e *colly.HTMLElement) {
			defer func() {
				if e := recover(); e != nil {
					fmt.Println(e)
				}
			}()

			req := e.Request
			href := e.Attr("href")
			e = nil    // gc？

			if !stop.off {    // stop.off := bool
				req.Visit(href)
			}
		})

		c.OnHTML("html", func(e *colly.HTMLElement) {
			defer func() {
				if e := recover(); e != nil {
					fmt.Println(e)
				}
			}()

			// handle result
			rs, err = DB.Exec("insert into info(taskId) values (?)", taskId)
			if err != nil {
				return
			}
			id, err := rs.LastInsertId()
			if err != nil {
				return
			}

			item := webInfo{}
			item.logType = int32(parChan.LogType)
			item.Channel = channel
			item.SecChannel = secChannel
			item.Url = e.Request.URL.String()
			item.Title = coverGBKToUTF8(e.DOM.Find("title").Text())
			text := coverGBKToUTF8(e.DOM.Find("p").Text())
			item.Summary = text
			item.Time = time.Now().Unix()
			currWoker := &idworker.IdWorker{}
			currWoker.InitIdWorker(1000, 1)
			item.Appid = id

			if client != nil {
				_ = client.SendWithPops(item.logType, item.Summary, item.Title, item.Appid, item.Channel, item.SecChannel, item.Url, taskId)
			}

		})
		c.Visit("http://" + root)

@miandou
In practice，you should use colly.Async(true) in most of case. And set the rate limit. eg:
var root = "your.domain.com"
c := colly.NewCollector(
	colly.Async(true),
	colly.AllowedDomains(root),
        // colly.MaxDepth(10),  // set max depth if needed
)
c.Limit(&colly.LimitRule{
	DomainGlob:  "*",
	Parallelism: 1,
})

c.OnHTML("a[href]", func(e *colly.HTMLElement) {
	req := e.Request
	href := e.Attr("href")
	req.Visit(href)
})

c.Visit("http://" + root)
c.Wait()
fmt.Println("completed...")

@nange
thanks，谢谢啦🙏

.You are welcome. If it works, you can close the issue. 😃

It has been solved with the help of nange. I should read more source code to understand the principle.

@nange
I used Async and limit in your way. Although there was some improvement, memory was still rising slowly, from 10MB to 800MB and then fatal error. Is there no better way to limit crawling memory?

@miandou
maybe you crawl too much url, or you can try to decrease the MaxDepth.  Please add my wechat(id:nange880820) if you have further problem.

Why does not use queue instead of spawning goroutines recursively?

queue use large memory, when I add 100,000,000 url, it crash @mikefaraponov

queue use large memory, when I add 100,000,000 url, it crash @mikefaraponov

Add urls in smaller chunks. storing 100M url in the memory isn't a viable solution, or use a storage backend like redis or boltdb.

@asciimoo thanks for your help
but I meet something with redis, it can only store 162280 url

no error with redis, nor with colly
I set 2g memory with redis

@asciimoo
sorry for trouble you
It's ok with colly to visit 100000000 urls
I did a mistake with our server, it calculates too low, and connecting counts too much

@mankeheaven no problem, thanks for the feedback.


Lock users out after 6 months

In order to control the number of users and access to the system, can CM App automagically lock users out after six months of inactivity? CMDs could unlock their accounts if they become active again (see #626).
CMs are supposed to work at least one shift per quarter.

Doable, and a very good idea. We could probably write a task here as part of the nightly cleanup job that disables CM accts that have had too much time go since last login.
How should we prioritize this @mebates ?

Let's do it in about six months! Backlog. :)

I'm interested in revisiting this! @vtmeghan what do you think?

I am not @vtmeghan but I def support.

yes, definitely support - as long as there's a simple way to reactivate accounts (since we do have folks take hiatuses, etc...), I'm in favor.

We'll roll this out after #1098 , so we can toggle CM lock/unlock. 6m it is, part of the nightly rake task.


Prometheus not recovering from no space left on device

What did you do?
I am running Prometheus using Prometheus Operator Helm chart.
Prometheus ran out of space and after increasing both pv and pvc nothing has changed
What did you expect to see?
Expected pod to recover. Even after deleting it and letting a new pod come to life and attach to the pvc it sill has the same error
What did you see instead? Under which circumstances?
Pod is stuck on opening storage failed: open /prometheus/wal/00000500: no space left on device and is crash looping
Environment
AKS

System information:
AKS  1.17.11

Prometheus version:
Pod is crash looping so I can't run the commend.
This is the pod image quay.io/prometheus/prometheus:v2.18.2

Alertmanager version:

alertmanager, version 0.21.0 (branch: HEAD, revision: 4c6c03ebfe21009c546e4d1e9b92c371d67c021d)
  build user:       root@dee35927357f
  build date:       20200617-08:54:02
  go version:       go1.14.4

Prometheus configuration file:
Default configuration

Logs:

level=info ts=2020-10-29T07:03:21.695Z caller=main.go:337 msg="Starting Prometheus" version="(version=2.18.2, branch=HEAD, revision=a6600f564e3c483cc820bae6c7a551db701a22b3)"
level=info ts=2020-10-29T07:03:21.695Z caller=main.go:338 build_context="(go=go1.14.4, user=root@130a411dd4ff, date=20200609-09:05:58)"
level=info ts=2020-10-29T07:03:21.695Z caller=main.go:339 host_details="(Linux 4.15.0-1096-azure #106~16.04.1-Ubuntu SMP Thu Sep 10 18:51:54 UTC 2020 x86_64 prometheus-prometheus-prometheus-oper-prometheus-0 (none))"
level=info ts=2020-10-29T07:03:21.695Z caller=main.go:340 fd_limits="(soft=1048576, hard=1048576)"
level=info ts=2020-10-29T07:03:21.695Z caller=main.go:341 vm_limits="(soft=unlimited, hard=unlimited)"
level=info ts=2020-10-29T07:03:21.697Z caller=web.go:523 component=web msg="Start listening for connections" address=<IP_ADDRESS>:9090
level=info ts=2020-10-29T07:03:21.697Z caller=main.go:678 msg="Starting TSDB ..."
level=info ts=2020-10-29T07:03:21.697Z caller=repair.go:59 component=tsdb msg="Found healthy block" mint=1603045927503 maxt=1603087200000 ulid=01EN08GEFWD14GDSNSGH5CHEAZ
level=info ts=2020-10-29T07:03:21.697Z caller=repair.go:59 component=tsdb msg="Found healthy block" mint=1603087200000 maxt=1603152000000 ulid=01EN1Z9C8E3Y9EFPGRKMCFJE3J
level=info ts=2020-10-29T07:03:21.697Z caller=repair.go:59 component=tsdb msg="Found healthy block" mint=1603152000000 maxt=1603173600000 ulid=01EN2M0JZ91492RQC10HEXPM5S
level=info ts=2020-10-29T07:03:21.697Z caller=repair.go:59 component=tsdb msg="Found healthy block" mint=1603195200000 maxt=1603202400000 ulid=01EN38CBFC6M2D3G646X9SKM8G
level=info ts=2020-10-29T07:03:21.697Z caller=repair.go:59 component=tsdb msg="Found healthy block" mint=1603173600000 maxt=1603195200000 ulid=01EN38F579HKYHM2C7RMWBWS0J
level=info ts=2020-10-29T07:03:21.697Z caller=repair.go:59 component=tsdb msg="Found healthy block" mint=1603202400000 maxt=1603209600000 ulid=01EN3F82QA6PH30XZN9WS20TMW
level=info ts=2020-10-29T07:03:21.699Z caller=main.go:547 msg="Stopping scrape discovery manager..."
level=info ts=2020-10-29T07:03:21.699Z caller=main.go:561 msg="Stopping notify discovery manager..."
level=info ts=2020-10-29T07:03:21.699Z caller=main.go:583 msg="Stopping scrape manager..."
level=info ts=2020-10-29T07:03:21.699Z caller=main.go:557 msg="Notify discovery manager stopped"
level=info ts=2020-10-29T07:03:21.699Z caller=main.go:543 msg="Scrape discovery manager stopped"
level=info ts=2020-10-29T07:03:21.699Z caller=manager.go:882 component="rule manager" msg="Stopping rule manager..."
level=info ts=2020-10-29T07:03:21.699Z caller=manager.go:892 component="rule manager" msg="Rule manager stopped"
level=info ts=2020-10-29T07:03:21.699Z caller=main.go:577 msg="Scrape manager stopped"
level=info ts=2020-10-29T07:03:21.699Z caller=notifier.go:601 component=notifier msg="Stopping notification manager..."
level=info ts=2020-10-29T07:03:21.699Z caller=main.go:749 msg="Notifier manager stopped"
level=error ts=2020-10-29T07:03:21.699Z caller=main.go:758 err="opening storage failed: open /prometheus/wal/00000500: no space left on device"

We look at this in the bug scrub, and you haven't shared any information here that indicates a bug. In general all bets are off once you run out of disk space, in addition you still appears to lack free disk space.
It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.


Docs/loadbalancing dns clarifications

Summary
Clarify DNS and loadbalancing configuration - inspired by https://discuss.konghq.com/t/seeking-additional-details-around-dns-resolution/1997/2
Checklist:

[x] Commit message & atomicity checked
[ ] Documentation N/A
[x] Spellchecked my updates
[ ] Ready to be merged

Not quite ready to be merged - first needs comments from @Tieske or others, then needs to be applied to earlier versions of Kong's docs.

@Tieske I'd suggest you make the next round of edits to this PR - you should have the permission to add commits to this branch. Thanks!


Adding chemical ID: 157846

What is the chemical's pubchem ID?
157846
What is its formula?
"isosmiles": "CCCCCCCCCCCCCCCCCCCCCCN+(C)C.COS(=O)(=O)[O-]",
This is the Json from pubchem:
[
{
"cid": "157846",
"cmpdname": "Behentrimonium methosulfate",
"cmpdsynonym": ["Behentrimonium methosulfate","81646-13-1","Docosyltrimethylammonium methyl sulphate","docosyl(trimethyl)azanium;methyl sulfate","5SHP745C61","Behenyl trimethyl ammonium methosulfate","UNII-5SHP745C61","EINECS 279-791-1","EC 279-791-1","SCHEMBL126381","DTXSID00231231","BEHENTRIMONIUM METHOSULPHATE","behenyltrimethylammonium methyl sulfate","BEHENTRIMONIUM METHOSULFATE [INCI]","N,N,N-Trimethyl-1-docosanaminium methosulfate","BEHENYL TRIMETHYL AMMONIUM METHOSULPHATE","1-Docosanaminium, N,N,N-trimethyl-, methosulfate","Q27262812"],
"mw": "479.800",
"mf": "C26H57NO4S",
"polararea": "74.800",
"complexity": "344.000",
"heavycnt": "32",
"hbonddonor": "0",
"hbondacc": "4",
"rotbonds": "21",
"inchi": "InChI=1S/C25H54N.CH4O4S/c1-5-6-7-8-9-10-11-12-13-14-15-16-17-18-19-20-21-22-23-24-25-26(2,3)4;1-5-6(2,3)4/h5-25H2,1-4H3;1H3,(H,2,3,4)/q+1;/p-1",
"isosmiles": "CCCCCCCCCCCCCCCCCCCCCCN+(C)C.COS(=O)(=O)[O-]",
"canonicalsmiles": "CCCCCCCCCCCCCCCCCCCCCCN+(C)C.COS(=O)(=O)[O-]",
"inchikey": "QIVLQXGSQSFTIF-UHFFFAOYSA-M",
"iupacname": "docosyl(trimethyl)azanium;methyl sulfate",
"exactmass": "479.401",
"monoisotopicmass": "479.401",
"charge": "0",
"covalentunitcnt": "2",
"isotopeatomcnt": "0",
"totalatomstereocnt": "0",
"definedatomstereocnt": "0",
"undefinedatomstereocnt": "0",
"totalbondstereocnt": "0",
"definedbondstereocnt": "0",
"undefinedbondstereocnt": "0",
"pclidcnt": "0",
"gpidcnt": "3818",
"gpfamilycnt": "1390",
"neighbortype": "2D",
"annothits": ["Classification","Patents","Safety and Hazards","Use and Manufacturing"],
"annothitcnt": "4",
"cidcdate": "2005-08-08",
"sidsrcname": ["A2B Chem","AA BLOCKS","ABI Chem","Alfa Chemistry","BenchChem","ChemIDplus","Chemieliva Pharmaceutical Co., Ltd","ChemSpider","ChemTik","Cooke Chemical Co., Ltd","CymitQuimica","DiscoveryGate","Egon Willighagen, Department of Bioinformatics - BiGCaT, Maastricht University","EPA DSSTox","FDA Global Substance Registration System (GSRS)","Google Patents","Hairui Chemical","J&H Chemical Co.,ltd","labseeker","NextBio","NORMAN Suspect List Exchange","PATENTSCOPE (WIPO)","RR Scientific","Smolecule","SureChEMBL","THE BioTek","Thomson Pharma","ToxPlanet","Wikidata","Yick-Vic Chemicals & Pharmaceuticals (HK) Ltd."],
"depcatg": ["Chemical Vendors","Curation Efforts","Governmental Organizations","Journal Publishers","Legacy Depositors","Research and Development","Subscription Services"]
}
]
Is there a procedure to do this manually and create a local list of extra chemicals not present in the library?
would be nice to have a method to import from pubchem json format but not sure how complex would be.
Happy to help if you can give me some guidance.
thanks
Marco

Hello,
It has been quite some time but I have the scripts for adding/removing/editing chemical metadata working again (ported to python 3, working with new versions of pubchem & common chemistry integration)
I have resolved the issue. The chemical metadata has been added for this chemical. It is in the new chemicals release 1.3.1.
Sincerely,
Caleb


Opening extensions in a popup windows as Yandex Browser does. [FEATURE REQUEST]

Some extensions doesn't work on Kiwi Browser because they can't manage tabs when they opened in new tab. Sync Watch for instance, It works on Yandex Browser but doesnt on Kiwi.
If we can see extensions as a popup instead of new tab, that would give us a lot of easier extension control and I believe broken extensions on Kiwi would work with this way. . I don't know how Yandex handling popup windows for extension but It's great! It can be the reference model cause it's also chromium based like Kiwi.

Firefox for Android (the new one, under the internal name "Phoenix") also apparently opens the popup in a popup.


Clean up TargetInfo

The main motivation here is to provide a better error message when collecting information from rustc fails (it now shows the command and the output).
Remove has_cfg_and_sysroot. I think this dates back to when it was introduced in #2328, as a guard for older versions of rustc that did not know about --print=cfg. Unless I'm missing something, I don't think we need to retain this backwards compatibility.
Add some documentation.
Demote the rustc cache log messages to debug level. I haven't really seen any caching issues, so I don't think it needs to be info level.
Some other misc cleanup (remove unused function, etc.).

r? @Eh2406
(rust_highfive has picked a reviewer for you, use r? to override)

@bors: r+
👍

:pushpin: Commit c5a6f06ff3e7aceb0da6cc432ea48e26e44ac568 has been approved by alexcrichton

:hourglass: Testing commit c5a6f06ff3e7aceb0da6cc432ea48e26e44ac568 with merge 137a36f07004c33eaf742b85c04abe296aa4aa17...

:sunny: Test successful - checks-azure
Approved by: alexcrichton
Pushing 137a36f07004c33eaf742b85c04abe296aa4aa17 to master...


Search completely not working

I am on the latest version of the app on an M2 Pro Mac Mini, Ventura 13.2.
When I type any city into the Search bar and press enter, I get nothing, no error, no response, it just blanks out the Search field.

@troelshartmann
fixed

Fixed, as in a new version or am I doing something wrong?

@tarutin Just installed it and it's not working for me either

@parasshah195 @troelshartmann Hi! Fixed. Its just a database problem.


Extend peer dependencies to Angular 7

Issue description
running npm install throws the following warning:
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^6.0.0 but none is installed. You must install peer dependencies yourself.

Steps to reproduce and a minimal demo of the problem
npm install with Angular 7
Current behavior
npm install shows a couple of warning due to peer dependencies.
Expected/desired behavior
No warnings should be shown

please upgrade :)

https://github.com/bleenco/ngx-uploader/commit/b423316cebc0f0a1089595e2ef825cba832e057e


support some kind of dicom-archives style?

In heudiconv, and reproin heuristic in particular we not only convert to BIDS datasets, but also "archive" original DICOMs under the sourcedata/ in mirroring converted to BIDS data hierarchy. See e.g. https://datasets.datalad.org/?dir=/dbic/QA/sourcedata/sub-emmet/ses-20180531/fmap which accompanies nii.gz's in http://datasets.datalad.org/?dir=/dbic/QA/sub-emmet/ses-20180531/fmap .
Since bids analytics are limited to metadata fields extracted, I thought it would have been cool for mrQA to just operate on those original DICOMs which we have.  (BTW heudiconv can convert from DICOMs being wrapped in such tarballs -- comes handy) . But I do not think that mrQA is supporting that as part of the dicom style:
bids@rolando:/inbox/BIDS/Wager/Wager/1076_spacetop$ ~/.local/bin/mr_proto_compl --data_root ./sourcedata/sub-0001/ses-01/ --output_dir .heudiconv/mrQA --style dicom
/home/bids/singularity_home/.local/lib/python3.9/site-packages/mrQA/cli.py:84: UserWarning: Expected a unique identifier for caching data. Got NoneType. Using a random name. Use --name flag for persistent metadata
  dataset = import_dataset(data_root=args.data_root,
Traceback (most recent call last):
  File "/home/bids/singularity_home/.local/bin/mr_proto_compl", line 8, in <module>
    sys.exit(main())
  File "/home/bids/singularity_home/.local/lib/python3.9/site-packages/mrQA/cli.py", line 84, in main
    dataset = import_dataset(data_root=args.data_root,
  File "/home/bids/singularity_home/.local/lib/python3.9/site-packages/MRdataset/base.py", line 82, in import_dataset
    dataset = dataset_class(
  File "/home/bids/singularity_home/.local/lib/python3.9/site-packages/MRdataset/dicom_dataset.py", line 70, in __init__
    self.save_dataset()
  File "/home/bids/singularity_home/.local/lib/python3.9/site-packages/MRdataset/base.py", line 351, in save_dataset
    raise EOFError('Dataset is empty!')
EOFError: Dataset is empty!

if you just name it reproin, then you can find the top of bids dataset as you do for bids and then go under ./sourcedata.

datalad install -g ///dbic/QA/ would get you at least one such dataset with all of its content.  Unlikely you would find one with real human data since we do not anyhow sanitize those dicoms and advocate not to share them openly.

but I have a good number of them locally  to try on.

that reminds whether we fixed the issue of our library getting stuck or having problems with with recursive symbolic links inside datalad. Probably not as I ended up making a hard copy of the dataset for our intern! Actually, if your time permits, helping us support datalad datasets would be a great contrib from your side. We can walk you through our internal setup and I am confident this is child's play for you :)

more specifically, it would be a minor modification of https://github.com/Open-Minds-Lab/MRdataset/blob/cfd26e38735665d80dbf9e052bf8adf70ed0b0bd/MRdataset/dicom_dataset.py#L77
after creating a class DicomArchiveDataset or ReproInDataset from
class DicomArchiveDataset(Project):

and some testing on a few examples. We are working on a deadline at the end of this week, but will look into it after.


Add missing Itunes Tags

Add Support for the following iTunes tags
Podcast Level
itunes:type
Episode Level
itunes:episodeType
itunes:title
itunes:episode
itunes:season

I've done a good bit of research on this today.
I see that as of April 2019, iTunes flipped over half of their tags upside down (no longer lists them).
In addition, they now list these "Situational" type tags.
I have started on a pretty large update of all of these tags.  However, some changes will cause a breaking change as I am not able to upgrade without certain changes.  :(
With that said, these changes will be added to the 2.x branch for breaking changes.


Allow the plugin to only speak filtered messages that go through the spam filter plugin

it would be a big improvement and make it so that every time I go to GE its not just spamming gambling bots

The gambling bots should be filtered automatically by the "Ignore spam" option the plugin has. You can also manually set words to be filtered with "Blacklisted words".
But your right it would be useful if it implemented the filter from the other plugin into this automatically


General reordering, comments and corrections

Let me know if you have any question

Sorry, wrong branch.


New item locations form

Please use this form to submit new herb locations or new item locations altogether. Feel free to report anything you find interesting.
Click here to go the the Google Form!
Any responses can be found at the submissions page.

All plants are added. Nothing more to report.


Added function id into database/sql traces (start info's) + Fix of breaking changes

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Other information

Codecov Report
Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (13c5744) 66.78% compared to head (c3217ea) 66.61%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #889      +/-   ##
==========================================
- Coverage   66.78%   66.61%   -0.18%
==========================================
  Files         257      257
  Lines       24266    24272       +6
==========================================
- Hits        16207    16169      -38
- Misses       7222     7261      +39
- Partials      837      842       +5

Flag
Coverage Δ

53.34% <80.76%> (-0.06%)
:arrow_down:

go-1.17.x
64.88% <80.76%> (-0.41%)
:arrow_down:

go-1.20.x
53.26% <80.76%> (-13.36%)
:arrow_down:

go-1.21.x
52.95% <80.76%> (-13.60%)
:arrow_down:

integration
53.34% <80.76%> (-0.06%)
:arrow_down:

macOS
?

ubuntu
?

unit
38.74% <0.00%> (-0.32%)
:arrow_down:

windows
38.74% <0.00%> (-0.31%)
:arrow_down:

ydb-22.5
53.11% <80.76%> (+0.02%)
:arrow_up:

ydb-23.1
52.74% <80.76%> (-0.20%)
:arrow_down:

ydb-23.2
52.78% <80.76%> (-0.26%)
:arrow_down:

ydb-23.3
52.61% <80.76%> (-0.45%)
:arrow_down:

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

Files
Coverage Δ

internal/xsql/conn.go
56.67% <100.00%> (+0.29%)
:arrow_up:

internal/xsql/connector.go
59.86% <100.00%> (+0.55%)
:arrow_up:

internal/xsql/stmt.go
63.15% <100.00%> (ø)

internal/xsql/tx.go
55.10% <100.00%> (-2.05%)
:arrow_down:

internal/xsql/tx_fake.go
0.00% <0.00%> (ø)

... and 11 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Create LICENSE

@all-contributors please add @wei for code, docs, design, and ideas

@all-contributors please add @zeke for docs and ideas


Update aliases.json

Hi! What is your PR about?

[1] Add levinswap.eth to Snapshopt
[2 ] Adding Levin image
[ 3] Adding custom domain to our space

There is a conflict in your PR, can you resolve it?

I think you are doing a space creation and not a space migration, you may not need to edit aliases.json

If I understand correctly, I've created new space via UI on Snapshot and now I need to migrate existing space?

If I understand correctly, I've created new space via UI on Snapshot and now I need to migrate existing space?

Do you have an existing space? If so can you give me the url?

If I understand correctly, I've created new space via UI on Snapshot and now I need to migrate existing space?

Do you have an existing space? If so can you give me the url?

Yes we do - https://snapshot.org/#/levinswap.eth

Yes we do - https://snapshot.org/#/levinswap.eth

This is your new space, you don't need to edit the aliases file.
You can, however, add images https://docs.snapshot.org/spaces/add-avatar or a subdomain https://docs.snapshot.org/spaces/add-custom-domain.
I'm closing this PR for now, feel free to reopen it if you want to add elements or open another one.


Downloading as an mp4 with audio works but gives an error

Checklist

[ ] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2<IP_ADDRESS>
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[ ] I've read bugs section in FAQ

Verbose
Unsure of how to paste the verbose link as I am using python

Description
Hey! so I was trying to get youtubedl to download an mp4 file with audio merged and I ran the code and the file is playable with video and audio, but in the console an error is sent and for the life of me i cannot figure out what is causing it. Some help would be much appreciated.
My Code:
ydl_options_mp4_merge = {
    'format': 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4',
    'outtmpl': '%(title)s-%(id)s.%(ext)s',
    'ffmpeg_location': "ffmpeg/bin/ffmpeg.exe",
    'postprocessors': [{
        'key': 'FFmpegMerger',
    }]
}

with youtube_dl.YoutubeDL(ydl_options_mp4_merge) as ydl:
      ydl.download([link])

Error:
Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Users\RandomTomato\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner
    self.run()
  File "C:\Users\RandomTomato\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "e:/Start Menu Folders/Coding/Youtube downloader/youtube-downloader.pyw", line 61, in download
    ydl.download([link])
  File "C:\Users\RandomTomato\AppData\Local\Programs\Python\Python37-32\lib\site-packages\youtube_dl\YoutubeDL.py", line 2010, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "C:\Users\RandomTomato\AppData\Local\Programs\Python\Python37-32\lib\site-packages\youtube_dl\YoutubeDL.py", line 807, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "C:\Users\RandomTomato\AppData\Local\Programs\Python\Python37-32\lib\site-packages\youtube_dl\YoutubeDL.py", line 861, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "C:\Users\RandomTomato\AppData\Local\Programs\Python\Python37-32\lib\site-packages\youtube_dl\YoutubeDL.py", line 1642, in process_video_result
    self.process_info(new_info)
  File "C:\Users\RandomTomato\AppData\Local\Programs\Python\Python37-32\lib\site-packages\youtube_dl\YoutubeDL.py", line 1991, in process_info
    self.post_process(filename, info_dict)
  File "C:\Users\RandomTomato\AppData\Local\Programs\Python\Python37-32\lib\site-packages\youtube_dl\YoutubeDL.py", line 2056, in post_process
    files_to_delete, info = pp.run(info)
  File "C:\Users\RandomTomato\AppData\Local\Programs\Python\Python37-32\lib\site-packages\youtube_dl\postprocessor\ffmpeg.py", line 512, in run
    self.run_ffmpeg_multiple_files(info['__files_to_merge'], temp_filename, args)
  File "C:\Users\RandomTomato\AppData\Local\Programs\Python\Python37-32\lib\site-packages\youtube_dl\postprocessor\ffmpeg.py", line 210, in run_ffmpeg_multiple_files
    os.stat(encodeFilename(path)).st_mtime for path in input_paths)
  File "C:\Users\RandomTomato\AppData\Local\Programs\Python\Python37-32\lib\site-packages\youtube_dl\postprocessor\ffmpeg.py", line 210, in <genexpr>
    os.stat(encodeFilename(path)).st_mtime for path in input_paths)
FileNotFoundError: [WinError 2] The system cannot find the file specified: "Vance Joy - 'Riptide' Official Video-uJ_1HMAGb4k.f137.mp4"

You must not use FFmpegMerger on your own.


Research Windows Service integration

We need to research Windows Service integration and create an easy way for end users to leverage Nano in a Windows Service. TopShelf is a very popular and common Windows Service hosting framework that seems like it might fit the bill. It would be nice to offer either out of the box integration with TopShelf or working examples for developers to follow.

As part of the initial rewrite commit I've created a demo project named 'Nano.Demo.TopshelfSelfHost' that satisfies the intent of this feature request: 27c58ecc653ebe86cf192d104da079303e71a788
Here is the commit of the demo project named 'Nano.Demo.TopshelfSelfHost' : https://github.com/AmbitEnergyLabs/Nano/blob/27c58ecc653ebe86cf192d104da079303e71a788/src/Nano.Demo.TopshelfSelfHost/Program.cs
I was thinking about creating a NuGet package for integrating Nano and Topshelf together but the code is so minimal that I think it would be best to just point people to the demo project. I may reconsider in the future but for now I'm closing this feature request.


Add patches/resources via kustomize deployment

Is your feature request related to a problem?
Would be nice to support patches and referencing additional resources directly in kustomize deployment spec.
Which solution do you suggest?
Temporary kustomization.yaml file can be created as an overlay, this file can absorb orginal kustomize settings plus additional patches and resources from devspace.yaml to prevent inconsistency of original kustomization.
deployments:
- name: my-deployment
  kubectl:
    kustomize: true
    manifests:
    - .
    patches:
    - path: ingress_patch.json
      target:
        group: networking.k8s.io
        version: v1beta1
        kind: Ingress
        name: my-ingress
    - target:
        kind: Deployment
        name: deploy
      patch: |-
      - op: replace
        path: /spec/template/spec/containers/0/image
        value: nginx:latest
    resources:
    - https://github.com/lukasmrtvy/kustomize//raw.yaml?ref=master

Which alternative solutions exist?
hooks:
- command: kustomize
  args:
    - edit
    - add
    - patch
    - --group=networking.k8s.io
    - --version=v1
    - --kind=Ingress
    - --name=${INGRESS_OBJECT_NAME}
    - --patch=[{...}]
  when:
    before:
      deployments: all

There is a chance that users can commit modified version of kustomization.yaml ( even with hook which will remove patch ), beacuse kustomize edit add patch command actualy modifies kustomization.yaml file itself.
Additional context
Thanks

/kind feature

@lukasmrtvy thanks for creating this issue! Yes thats a good idea, we should add support for patches with kustomize

@FabianKramm - any update on this issue? We are currently moving some of our apps from Helm to Kustomize and utilise the features in Devspace to interpolate the values/variables to amend the Image Repository value but we cannot do this at present in Kustomize unless we use the Hooks suggestion above.


Import Postgres into the project

Objective
We will be using Postgres as the database for the project.
Steps

Install node-postgres

Run the following command in your terminal to install node-postgres.

 npm install pg

##Connecting to PostgreSQL

The node-postgres module requires the following values to connect to a PostgreSQL database.

[ ] - PGUSER - PostgreSQL username to connect as.
[ ] -  PGHOST - The name of the server host to connect to.
[ ] -  PGPASSWORD - The password of the PostgreSQL server.
[ ] -  PGDATABASE - The name of the database you are connecting to.
[ ] -  PGPORT - The port number to connect to at the server host.

Create a .env file and add these variables, substituting the corresponding values from your database:

PGUSER=
PGHOST=
PGPASSWORD=
PGDATABASE=
PGPORT=
Install the dotenv package to access the .env file.

npm install dotenv

In server.js, import and configure dotenv.
const dotenv = require("dotenv")
dotenv.config()

Connect to a PostgreSQL Database Using a Single Client

The code below shows how you can connect Node to a PostgreSQL server using a single client.
const { Client } = require("pg")
const dotenv = require("dotenv")
dotenv.config()

const connectDb = async () => {
    try {
        const client = new Client({
            user: process.env.PGUSER,
            host: process.env.PGHOST,
            database: process.env.PGDATABASE,
            password: process.env.PGPASSWORD,
            port: process.env.PGPORT
        })

        await client.connect()
        const res = await client.query('SELECT * FROM some_table')
        console.log(res)
        await client.end()
    } catch (error) {
        console.log(error)
    }
}

connectDb()

Using a Connection Pool

As already mentioned, a connection pool allows you to make multiple connection requests to your server.
const { Pool } = require("pg");
const dotenv = require("dotenv");
dotenv.config();

const connectDb = async () => {
    try {
        const pool = new Pool({
            user: process.env.PGUSER,
            host: process.env.PGHOST,
            database: process.env.PGDATABASE,
            password: process.env.PGPASSWORD,
            port: process.env.PGPORT,
        });

        await pool.connect()
        const res = await pool.query('SELECT * FROM clients')
        console.log(res)
        await pool.end()
    } catch (error) {
        console.log(error)
    }
}

connectDb()

The above examples let you control the database configuration via a .env file. However, you can also supply these config values using standard environment variables. This approach lets you easily vary the configuration at start-up time.

I have successfully imported the dependencies of Postgres into the project.

I will be testing the results before merging with main. Once the merge with main has occurred I will resolve this issue.


[Event Request] Codeunit 426 "Payment Tolerance Management" - OnBeforeRunModalPmtTolWarningCallPmtDiscTolWarning

Can you add event OnBeforeRunModalPmtTolWarningCallPmtDiscTolWarning in procedure CallPmtDiscTolWarning?
        if SuppressCommit then
            exit(true);

        // >>>>>>>>>>>>>>
        OnBeforeRunModalPmtTolWarningCallPmtDiscTolWarning(PostingDate, No, DocNo, CurrencyCode, Amount, AppliedAmount, PmtDiscAmount, RemainingAmountTest, AccountType, ActionType, IsHandled);
        if IsHandled then
            exit(ActionType = 2);
        // <<<<<<<<<<<<<<
        PmtDiscTolWarning.SetValues(PostingDate, No, DocNo, CurrencyCode, Amount, AppliedAmount, PmtDiscAmount);
        PmtDiscTolWarning.SetAccountName(GetAccountName(AccountType, No));
        PmtDiscTolWarning.LookupMode(true);
        if ACTION::Yes = PmtDiscTolWarning.RunModal then begin

    [IntegrationEvent(false, false)]
    local procedure OnBeforeRunModalPmtTolWarningCallPmtDiscTolWarning(PostingDate: Date; No: Code[20]; DocNo: Code[20]; CurrencyCode: Code[10]; Amount: Decimal; AppliedAmount: Decimal; PmtDiscAmount: Decimal; var RemainingAmountTest: Boolean; AccountType: Option Customer,Vendor; var ActionType: Integer; var IsHandled: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


[Quantum] Do not allow “Credits For All” auto-add feature to duplicate providers in a workspace

Extension name
quantum
Related command
az quantum workspace create
Description of issue
When creating a workspace, do not add add multiple SKUs (Plans) for a given Provider.  When a Provider/SKU is specified in the command line -r parameter, and that Provider also offers a different Credits For All (C4A) SKU, only the -r parameter SKU should be added to the workspace.
To repro, create a workspace adding a Provider that offers a C4A plan, but specify a different plan in the -r parameter, for example:
az quantum workspace create -r rg-v-wjones2 -l eastus -w bug-repro-ws-2 -a bugreprostorage2 -r ionq/aq-internal-testing
The following error may occur:
"code": "ProviderDeploymentFailure", "message": "Failed to create plan for provider: ionq. More details: '{\"error\":{\"code\":\"CannotUpdatePlan\",\"message\":\"Resource plan can not be changed for Resource id: . . .

Fix is included in PR 5290 (See change in workspace.py)


Configure and load pyenv

It's being installed by Homebrew but we're not configuring it. Definitely need it for work, but we may want to include it for personal too.

I can see myself still using Python a little bit personally and it's useful to just have pyenv. I'll add it to Scoby.


Create aemm.txt

@rodrigovalentim First stage of verification passed, official domain for Agrupamento de Escolas Morgado de Mateus is aemm.pt as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@rodrigovalentim Thank you for your patience while waiting for a review and processing your request. Pull request merged.

Thank you for your response. What are the next steps?
Rodrigo Valentim
Em seg., 20 de mai. de 2024 às 17:15, Philip Torchinsky <
@.***> escreveu:

@rodrigovalentim https://github.com/rodrigovalentim Thank you for your
patience while waiting for a review and processing your request. Pull
request merged.
—
Reply to this email directly, view it on GitHub
https://github.com/JetBrains/swot/pull/20862#issuecomment-2120769971,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABNEAT5A53ZVEXMAW43IZTZDIORHAVCNFSM6AAAAABHJVFO7SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRQG43DSOJXGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

@rodrigovalentim Please open the page https://www.jetbrains.com/shop/eform/students, fill in the form there and get your free license. Thank you!


Update testcontainers-scala to 0.39.7

Updates com.dimafeng:testcontainers-scala from 0.39.3 to 0.39.7.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.dimafeng", artifactId = "testcontainers-scala" } ]

labels: library-update, semver-patch

Superseded by #256.


$AWS_PROFILE/$AWS_DEFAULT_PROFILE env vars not being honored

As per issue #21
@brikis98 looks like I'm still having this issue.
[karl.barbour@xxx tf_poc]$ terragrunt apply
[terragrunt] 2016/12/21 15:04:13 Reading Terragrunt config file at .terragrunt
[terragrunt] 2016/12/21 15:04:13 Initializing remote state for the s3 backend
[terragrunt] 2016/12/21 15:04:13 Error finding AWS credentials (did you set the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables?): NoCredentialProviders: no valid providers in chain. Deprecated.
	For verbose messaging see aws.Config.CredentialsChainVerboseErrors
[karl.barbour@xxx tf_poc]$ echo $AWS_DEFAULT_PROFILE
poc-account
[karl.barbour@xxx tf_poc]$ echo $AWS_PROFILE
poc-account

As you can see, the env vars are working.
Versions:
terragrunt 0.7.1
aws-cli 1.10.47
Darwin 15.5.0
Any ideas?
With these ENV vars set, I can use the CLI fine (i.e. aws ec2 describe-instances), so it doesn't appear to be a credential issue.

Out of curiosity, what happens if you run terraform plan directly with the exact same env vars and profile?

@brikis98 yes, it worked fine at the time (apologies - I should have mentioned).
This may be environmental (to me) as I have now managed to make it work by creating a completely new OS X profile. I'll mark this as closed again but if anybody else sees the issue in future please do raise a new issue.
For reference, https://www.terraform.io/docs/providers/aws/index.html mentions the following:

Shared Credentials file
You can use an AWS credentials file to specify your credentials. The default location is $HOME/.aws/credentials on Linux and OS X, or "%USERPROFILE%.aws\credentials" for Windows users. If we fail to detect credentials inline, or in the environment, Terraform will check this location. You can optionally specify a different location in the configuration by providing the shared_credentials_file attribute, or in the environment with the AWS_SHARED_CREDENTIALS_FILE variable. This method also supports a profile configuration and matching AWS_PROFILE environment variable:
Usage:
provider "aws" {
region                   = "us-west-2"
shared_credentials_file  = "/Users/tf_user/.aws/creds"
profile                  = "customprofile"
}


Fix key error

Attempt to fix #173. Latest version of the code preferentially runs a single test at a time rather than a set of tests. Change makes the code check whether the result of the required test is in memory.

Merging this as it fixes the build. However, as the part of the code that was changed was not running before, it seems unlikely that this will fix #173.


Rename get_next_sub_number and get_next_ses_number.

Straight CTRL+R rename of get_next_sub_number and get_next_ses_number to get_next_sub and get_next_ses as these functions actually return by default the key-value pair (e.g. sub-001).
Performed on both .py files and .md files so should cover docs. Checked with hypen separators instead of underscore (but did not find any as we don't have CLI anymore).

No I completely forgot about this function / did not catch in searches 😆  thanks!!


Add all_measurement_keys method to circuit

Fixes https://github.com/quantumlib/Cirq/issues/2863

yay


Implement a build of artichoke that can be used to bootstrap the build with no Ruby dependency

Once Core is complete, it should be possible to produce a Core-only build of artichoke that can be used to bootstrap artichoke-core and mruby-sys.

This ticket is obsolete as of https://github.com/artichoke/artichoke/pull/1756.


[Feature Request]: Improve frontend/src/components /SingleChat.js file

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
hi @kartikayasijaa !! I saw your code for the SingleChat.js and it was amazing but it needs some changes for dealing with some problems :-
consolidating imports, using useCallback for memoization, adding a showToast helper function for better error handling, and ensuring socket connections are cleaned up properly.
I also wanted to add aria labels to the code to improve readability.
Please assign me this issue. I will improve the code and submit as soon as possible.
Thanks,
Yash Vashishth
(Contributor, GSSoC'24 and Hacktoberfest)
Record

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

Also pls add hacktoberfest (not hacktoberfest-accepted) , gssoc-ext and level 2 tag to this issue


Code style problem

var is deprecated, use const/let

Next construction is wrong:

if (canvas == null) // TypeError if canvas was not set!!!!!

if (typeof canvas === 'undefined') // The correct method!

Use classes

class Normalmap {
    constructor (options) {
        this.options = Object.assign({
            metalness: 1,
            roughness: 1,
            ambient: 1,
            baseColor: new Float32Array([0.5, 0.5, 0.5])
        }, options)

        if (typeof options.canvas === 'undefined') {
            throw new Error('normalmap() canvas is required')
        }

        if (typeof options.normalMap === 'undefined') {
            throw new Error('normalmap() normalMap is required')
        }

        this.canvas = options.canvas
        this.defines = new Defines(options)
    }
}

class Defines {
    constructor (options, defines = {}) {
        Object.assign(this, defines)

        this.USE_BASE_COLOR_MAP = +options.baseColorMap
        this.USE_MATERIAL_MAP = +options.materialMap
        this.USE_AMBIENT_MAP = +options.ambientMap
        this.USE_SSS = +options.subSurfaceScattering
        this.USE_FXAA = +options.antiAliasing || undefined
        this.USE_SINGLE_PASS = +options.singlePass || undefined
    }
}

Choose yourself:

'canvas repeat singlePass'.split() // ['canvas repeat singlePass']
'canvas repeat singlePass'.split(' ') // ['canvas', 'repeat', 'singlePass']

To be continued...

Hello Piterden,
Thank you for having a look at my code, I'm always open for suggestions but please don't tell me what to do.
This code is generally written to be ES5 compatible in order to run in all browsers that support WebGL.
I'm not entirely sure why I used the const declarations in there but I guess it didn't hurt since it's supported by all browsers which support WebGL.

Again, this is ES5 code. But out of curiosity can you point me to the spec which marks var as deprecated? I can't recall reading that.
I guess you refer to line 23. In that case var is always defined by line 21. So I'd argue that this is correct.
It's ES5 code. It's not intended to be particularly object oriented.
That does look wrong. I'll have a look.


Expose tcp connection count

<EMAIL_ADDRESS>commented:

This is an enhancement to expose the number of new tcp connections used to complete the page load.
Diffed against 1.6
Patch attached.

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #642.
:star2:   3 people had starred this issue at the time of migration.

Due to the lack of a concrete follow-up possibility, this issue will be closed.


Add .NET 5 support

@slang25 @spboyer RFC on .NET 5 support (please ignore failing tests, it looks like GitHub workflows are having some issues running atm)
I have previously thought, for this and other tools I maintain, that only LTS versions of .NET should be supported. But I don't really want to go 2 years and have to make the jump from 3.1 to 6. So I'm proposing that supported versions should be current LTS and latest.

LGTM


I need to use fusictr2.0+for DIN/DIEN benchmark testing. How should I write the run_expid.py file

You can refer to https://github.com/reczoo/BARS/tree/main/ranking/ctr/DIEN/DIEN_amazonelectronics_x1#code

What is the reason for the error message when introducing RankDataLoader？
import os
os.chdir(os.path.dirname(os.path.realpath(file)))
import sys
import logging
import fuxictr_version
from fuxictr import datasets
from datetime import datetime
from fuxictr.utils import load_config, set_logger, print_to_json, print_to_list
from fuxictr.features import FeatureMap
from fuxictr.pytorch.dataloaders import RankDataLoader
from fuxictr.pytorch.torch_utils import seed_everything
from fuxictr.preprocess import FeatureProcessor, build_dataset
import src
import gc
import argparse
import os
from pathlib import Path
This is a specific error message：
Traceback (most recent call last):
File "/home/dyy/Prediction-Cache/FuxiCTR/model_zoo/DIEN/run_expid.py", line 35, in
from fuxictr.pytorch.dataloaders import RankDataLoader
ImportError: cannot import name 'RankDataLoader' from 'fuxictr.pytorch.dataloaders' (/home/dyy/miniconda3/envs/deepCtr/lib/python3.7/site-packages/fuxictr/pytorch/dataloaders/init.py)

Please use the exactly the same version specified in the above running steps. In your case, you use run_expid.py in mater but use an old version fuxictr package installed.

The. py file requires the version of fusictr to be>=2.2.0, but currently the highest version that can be installed is 2.1.3. How should I solve this problem?
And there will be an error when installing fusictr2.0+version. Is there a lot of missing files in the package now?


Making general conversations

I think it'll be good if Jarvis can make conversations with us. Say I'm bored and neither of my close friends are online, so I'll text Jarvis like "Hey", " Hi" or "Hello" and so begins the conversation.

Totally agree! This is one of the main focus right now, i.e. remembering the previous context. Can you list some sample conversations to be included?

Hi
if(string contains "Hello". toupper())
Sup?
How are you?
Hey Jarvis
every type of conversation starters can be included

What would be the logic to implement this?? (technical detail)

I've found a Python program named ChatterBot which can generate conversations. Their "How to" section says:
An untrained instance of ChatterBot starts off with no knowledge of how to communicate. Each time a user enters a statement, the library saves the text that they entered and the text that the statement was in response to. As ChatterBot receives more input the number of responses that it can reply and the accuracy of each response in relation to the input statement increase. The program selects the closest matching response by searching for the closest matching known statement that matches the input, it then returns the most likely response to that statement based on how frequently each response is issued by the people the bot communicates with.

The limitation to that approach is that the bot wouldn't know to be always polite even though negativity or sarcasm is introduced by the user.
It would just become another Microsoft's bot that went good to super bad in less than 24 hrs.

I'll look into this tonight and (hopefully) have an alpha version ready.

All the best bro :)

@swapagarwal Have you managed to progress with this?
in regards to the negativity, we could have a smart counter to the response and increment it with more of that response you get. Then in a response you have a sorted list of most common responses. This should (hopefully) prevent Jarvis from mutating into an evil version of Vision, especially since you only have testers working on it at the moment and it isn't in the public domain...We can build on the smarts as we progress.

Hi I am new to the OSS community. Is this resolved? I suggest that we can use wit.ai to build a chat bot model. Basically we can train the ai to give responses according to the input. However, it is different from the Microsoft Bot as we get to select the responses. It is more of parsing the user input. I have tried it before and it is not bad.

@MaxKusnadi Welcome Max! 😄
This is yet to be done.
Jarvis currently uses wit.ai to understand the intent. This requires keeping a context in a conversation. Feel free to experiment with some ideas!

Jarvis conversation in all languages ??


Stub library unavailable

I would like to use the stub library because we also distribute our app on the Play Store, but the dependency "com.microsoft.appcenter:appcenter-distribute-play" doesn't seem to exist (anymore).

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 40294974-bc6b-45af-f1bd-3bd8187153ac
Version Independent ID: 21420d35-1e72-a8b8-d587-40b2913120ba
Content: App Center Distribute for Android - Visual Studio App Center
Content Source: docs/sdk/distribute/android.md
Service: vs-appcenter-sdk
Sub-service: app-center-distribute
GitHub Login: @elamalani
Microsoft Alias: emalani

Apparently you must add the following maven repository, but it's not documented anywhere:
maven {     url "https://dl.bintray.com/vsappcenter/appcenter/" }

Hi! Thanks for getting in touch with us! I checked this behavior on an empty app with the latest version of App Center follow this guideline and all works well for me. Could you please clarify what version of App Center do you use? Is it happens on an empty app?

Hi! Thanks for getting in touch with us! I checked this behavior on an empty app with the latest version of App Center follow this guideline and all works well for me. Could you please clarify what version of App Center do you use? Is it happens on an empty app?

Hi! Thanks for getting in touch with us!
This was a known issue and already fixed. Now the appcenter-distribute-play module can be used without this workaround.
I’m closing this issue but feel free to reopen this issue if it isn’t resolved or you have additional questions.

Hi! Thanks for getting in touch with us!
This was a known issue and already fixed. Now the appcenter-distribute-play module can be used without this workaround.
I’m closing this issue but feel free to reopen this issue if it isn’t resolved or you have additional questions.


Extract jam into dedicated repository

jam is being extracted into its own repository in accordance with RFC 0001.
TODO:

[ ] Move jam into its dedicated repo
[ ] Cut release
[ ] Updating tooling to point at the new destination
[ ] Remove jam from  cargo and add a message to the README

@ForestEckhardt will the version of the first jam release be starting from whatever the current version is? Or do you plan to start from v0.0.0?

@sophiewigmore I was planning on maintaining that version and just letting them drift but we could also do a major bump @ryanmoran thoughts?

I think you should start over with something like v1.0.0 in the jam repo. Then we can cut a major version of packit when we remove its jam code.

I think that jam has been completely successfully extracted. I am going to close this issue. Will reopen if I notice anything missing.


@function not working as expected

#{$all-buttons}

this is within bitters buttons sass which goes all the way back to an @function called _assign-inputs
@function _assign-inputs(
    $inputs,
    $pseudo: null
  ) {

  $list: ();

  @each $input in $inputs {
    $input: unquote($input);
    $input: if($pseudo, $input + ":" + $pseudo, $input);
    $list: append($list, $input, comma);
  }

  @return $list;
}

whats the error message? it might be that bitters requires ruby so can't work with scssphp...

might be, I don't know enough about this library to answer that, but I just switched to node sass within the php project. I wasn't getting an error message directly from scssphp sorry.


ensure #[pallet::constant] is actually constant

It is possible to annotate a field with #[pallet::constant] which is actually not a constant and causing unexpected behaviour.
We should have a way to assert the pallet constant are actually constant at compile time. Not exactly sure how it can be implemented but there must be some way.
Related: https://github.com/paritytech/polkadot/issues/4015 https://github.com/AcalaNetwork/Acala/issues/2184

We actually (ab)use the fact that it isn't actually a constant (at least in a sense that we can have different values without updating runtime) for implementing dynamic cost of storage (our LengthToFee is not constant, it is derived from consensus and changes every block).
Otherwise we'll need to refactor and make LengthToFee non-constant and that has significant implications.

In that case it should not be annotated with #[pallet::constant] and provide a different way to expose the value.

Well, Bastian suggested that it is fine as long as value stays the same for the duration of a particular block, so we went with that.
I did find it counter-intuitive as well.

Well, Bastian suggested that it is fine as long as value stays the same for the duration of a particular block, so we went with that. I did find it counter-intuitive as well.

Did I? :D I can not remember :P
To the issue, I'm with you @xlc, but it will maybe also be hard to solve.Using the example of @nazar-pc, we may would need to introduce LengthToFeeStatic and a LengthToFeeDynamic. While one needs to be set and the other one could be None or something. However, I think there are more of these things hidden in the code base.
A trick to check if constants are really constant could be to get each constant and return an error if we accessed the storage while doing so.

I guess the short term solution will be have #[pallet::constant] generate an integrity test that calls get and ensure it doesn't access storages.

But in our protocol it does for LengthToFee and will break our codebase,

It is not a constant so you should be fine
https://github.com/paritytech/substrate/blob/a0a40adbf57b47b445012c6cbca940c991c94197/frame/transaction-payment/src/lib.rs#L287-L288

I can totally see this breaks a lot of chains, so it could be an opt-in feature to start with.

pallet::constant in its current form should really be renamed pallet::metadata foremost, as it does not imply being constant and instead is about just being exposed in metadata.

Metadata should be constant within a version. Otherwise, it won't play nicely with features like https://github.com/paritytech/substrate/issues/10478

Metadata should be constant within a version. Otherwise, it won't play nicely with features like #10478

Yeah, I think to ensure this I would introduce some kind of "no state access" runtime api calls. Then we could move the metadata to use this. If there would be a state access, it would fail.


[fix](inverted index) Fix errors caused by enable_need_read_data_opt #42064

cherry pick from #42064

run buildall


Fix for GHC 9.0

From release notes:

Breaking change: Template Haskell splices now act as separation points between constraint solving passes. It is no longer possible to use an instance of a class before a splice and define that instance after a splice.

Thanks!

Thank you. Could we maybe get a Hackage release with this?

I've added you as a maintainer for elm-syntax on Hackage. You are welcome to upload a new version. :)


bug( ): Data Portal UI Displays Dataset Version ID as title instead of Dataset ID when an empty dataset is initialized by Curation API

Describe the bug
bug( ): Data Portal UI Displays Dataset Version ID as title instead of Dataset ID when an empty dataset is initialized by Curation API
To Reproduce
Steps to reproduce the behavior:

Create Empty Dataset via Curation API in a Private Collection
Check Collection in Data Portal UI, and look at list of Datasets

Expected behavior
Dataset Name Column should display Dataset ID, not Dataset Version ID when initialized and empty
Environment
N/A

Triaging with @metakuni - closing since this is not a significant fit and finish issue with the curators. CC: @jahilton .


Update microsoft-365-network-connectivity-principles.md

Fixed typo

@JohanFreelancer9  Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/3502

@Kateyanne Please merge this PR. Thanks


Better error handling when a repo is already registered

From @WernerMairl on November 18, 2016 8:27
Hi
Working with Register-PSRepository i have found some behavior that was really unexpected.
Probably we are not talking about bugs but about usability....

Repository uniqueness
All the functions around PSRepository (Get, Register, Unregister) are using the Name Property/Argument to identify a Repo.

Seeing this API-Surface i'm assuming that the property Name is the one that implements the "unique" Key for Repos => expected behavior at the first look....
after playing a few hours with the api, i find out that internally NOT the Name must be unique but the property "SourceLocation" enforces uinqueness.

That means i'm not be able to register the same package Source with different Names
Means in different Powershell-Codebases that should run on the same server i must synchronize Repository NAMES....

To solve problems like that must select/filter my Repos by SourceLocation BUT the Get-PSRepo function doesn't implement filter for SourceLocation.... usability Issue, a property that is used as primary key should have some easy access....(yes i can do that with pure Powershell, but we are talking about API-Usability)

ErrorActionPreference is ignored!
If i call "Register-PSRepository" with a unique/random Name but a SourceLocation that is used in another Repo then the Function writes Error output.

PackageManagement\Register-PackageSource : The repository could not be registered because there exists a registered repository with Name 'XXXXX' and SourceLocation 'http://xxxxxxx.y.z.a:8080/api/odata'. To register
another repository with Name 'XXXXX', please unregister the existing repository using the Unregister-PSRepository cmdlet
I found the following unexpected behavior here:
$ErrorctionPreference value is "Stop" in the calling script => assuming that a exception can be catched with try catch
Register-PSRepository writes the error record but it does not FOLLOWS the STOP behavior.. it IGNORES!
To enforce the "expected" behavior i must expplicitely use
Register-PSRepository ......-ErrorAction Stop
I'm not a expert in all the coding and behavior rules for PS but
in 99% of my PS-Code i'm able to catch exceptions by using $ErrorActionPrefence on the global level
so i think that can be behavior issue inside Register-PSRepository
regards
Werner
Copied from original issue: PowerShell/PowerShell#2717

Resolved repository uniqueness in 3.0.0-beta10.

@alerickson why does "3.0.0-beta10" link to PowerShellGet/<IP_ADDRESS> ? Typo?

This will be resolved with the release of Preview 11.


WIP: Add Jobs API

Description
Add Jobs API
Issue reference
Please reference the issue this PR will close: #1101
Checklist

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

@cicoyle I have added scheduleJob API, can you please review once If my approach is right

@charan2628 I've added more feedback here.. let me know if that makes sense.

Gentle ping @charan2628 - did you address the above? Do you need any assistance?

Gentle ping @charan2628 - did you address the above? Do you need any assistance?
I doing the changes, will push this week

@salaboy @artur-ciocanu I have done the changes mentioned for ScheduleJob API and implemented Delete and GetJob APIs, please review it.


Initial database setup failing with weird error

I'm starting a new plandex server using:
DATABASE_URL='postgres://plandex@localhost/plandex?sslmode=disable' plandex-server

and get the following output:
2024/07/20 14:27:51 connected to database
2024/07/20 14:27:51 Error running migrations: error creating migration instance: open .: no such file or directory

There's no more output available for a better context unfortunately.
The migration table itself (schema_migrations) gets created correctly.
Version 1.1.1

It looks like it's related to https://github.com/golang-migrate/migrate/issues/1112
The path in the source points to some relative migrations directory which may not exist unless the app is run directly from the development location.
It would be great if plandex supported installation.

Hey @viraptor, currently the server isn't designed to run as a standalone binary outside the context of the repo or a docker container, partly due to requiring the migrations directory. Check out the self-hosting docs for the various options.


VAL3 version compatibility wtih versions lower than 7.3

I will be purchasing a used Staubli TX-90L and the seller has informed me that the VAL3 version supported by that controller goes up to version 7.3
This is my first time working on a Staubli arm and on VAL3.
I wanted to know if there is any kind of compatibility between the val3_driver and older versions of VAL3 as the Readme mentioned that the VAL3 version needs to be 7.7.2 atleast.
If it is not compatible, could you guide me on how I should go ahead to solve this issue?

Wanted to add to this and ask if anyone knows how to update the version of VAL3? Or is that something that has to go through Staubli?

I wanted to know if there is any kind of compatibility between the val3_driver and older versions of VAL3 as the Readme mentioned that the VAL3 version needs to be 7.7.2 atleast.

We've only tested it with the version of VAL3 mentioned in the readme.
That version was needed as it comes with some of the required socket communication primitives the driver needs.
I cannot say anything about compatibility with older versions of VAL3.

If it is not compatible, could you guide me on how I should go ahead to solve this issue?

I would suggest to contact Staubli about this, or post your question on a forum dedicated to talking about Staubli robots and controller hardware.
We try to reserve this issue tracker for issues with the staubli_val3_driver package hosted here.

Wanted to add to this and ask if anyone knows how to update the version of VAL3? Or is that something that has to go through Staubli?

I would indeed suggest to contact your local Staubli branch office.

As this is not something actionable here, I'm going to close this issue.
Feel free to keep commenting on it of course.

I wanted to know if there is any kind of compatibility between the val3_driver and older versions of VAL3 as the Readme mentioned that the VAL3 version needs to be 7.7.2 atleast.

The readme gives the reason that "this implementation uses return values of sioGet() only available from s7.7.2 onwards". I am not sure that this is accurate since the release notes for VAL3 s7.7.2 do not mention anything about sioGet() and such a major change would not usually occur in a minor revision number. The driver passes a syntax check for s7.3 but I cannot confirm that it works at the moment (I will try to get around to it).
@rishabhgks what type of controller does the arm use? There isn't really a way to update the VAL3 version without contacting your local Staubli branch.

@marshallpowell97 I also didn't see any changes in functionality between sioGet() in Version 6 vs Version 7.
I did notice the addition of brackets in the sioGet() definition in the documentation (reference manuals from tech support database):
v6: num sioGet(sio siInput, num& nData)
v7, v8: num sioGet(sio siInput, num& nData[])
as well as the call to the serial connection is also different:
v6: nb = sioGet(io:TcpServer, nByteIn[i])
v7: nb = sioGet(siTcpServer, nByteIn[i])
Not sure if these are significant enough changes to make the older versions incompatible though...

It's been a while (the original code was contributed in 2015), but I believe the issue was that the behaviour of sioGet(..) an sioSet(..) was different between the two versions we tested (one 7.7.2 and the other an older one). I've tried to find my emails about this, but I can't find a single one which really explains what we did or why any more.
If it turns out older versions of VAL3 also work, great. We'll just update the readme.


build: the latest npm package 1.1.4 contains .git folder

Steps:

npm i<EMAIL_ADDRESS>check node_modules/md-picker/ directory

It has .git folder which breaks the builds.
more details:

npm ERR! code EISGIT
npm ERR! git /Users/sasideep/github/proj/node_modules/md-pickers: Appears to be a git repo or submodule.
npm ERR! git     /Users/sasideep/github/proj/node_modules/md-pickers
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.

Could you please remove the .git folder and publish again to npm?
Thanks.

Thanks for the notice!


Warning (treesit): Cannot activate tree-sitter, because language grammar for nix is unavailable (not-found)

Warning (treesit): Cannot activate tree-sitter, because language grammar for nix is unavailable (not-found): (libtree-sitter-nix.so libtree-sitter-nix.so.0 libtree-sitter-nix.so.0.0 libtree-sitter-nix.dylib libtree-sitter-nix.dylib.0 libtree-sitter-nix.dylib.0.0) No such file or directory
macOS 12.7.1
Emacs Version 29.1 (9.0)

Thanks, I think that unnecessary warning should be resolved now.


fix Kafka consumer subscribe topics from pattern

fix Kafka consumer subscribe topics from pattern
#4865

Tests are failing, please check the logs and fix.

Once all CIs passed, please add the plugin tests to cover this case.

@amwyyyy Any update? Or are you clear what you should do?

@wu-sheng I don’t know what to do, I’m groping

When you are changing the plugin source codes, we would request you to add plugin tests.
https://github.com/apache/skywalking/blob/master/docs/en/guides/Plugin-test.md
The point is this, we can't run your case locally, so we request you to add in the process of CI testing. Please read the document.

It seems tests fail. Could you try to run the tests locally?

Merged, welcome and congrats.


Frontend Project 'TRAVEL-SITE-Home' ABOUT Heading Alignment Enhancement

Title and Issue number
Frontend Project "TRAVEL-SITE-Home" ABOUT Heading Alignment Enhancement
Close #3275
Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md

@MohitGupta121


Use indexer to extract farming from indexer-rs

Split our big ol' indexer to extract farming part to that repository

Not needed anymore


Replace copy_to_clipboard code with arboard

arboard seems to do the right thing when it comes to X11 clipboard handling. Should allow replacing the current very ugly xclip/pbcopy hack in utils.rs. Also, replacing clipboard with arboard in tests/cli.rs should allow copy tests to run on Linux CI as well, which is ideal.

I started to work on this, just for fun, but I'm having some problems getting unrelated tests to pass, even before any changes:

failures:

---- add_two_cmd_snippets stdout ----
thread 'add_two_cmd_snippets' panicked at 'assertion failed: add_two_cmd_snippets_rexpect(config_file).is_ok()', tests/cli.rs:231:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- change_snippet stdout ----
thread 'change_snippet' panicked at 'assertion failed: change_snippet_rexpect(config_file).is_ok()', tests/cli.rs:240:5

---- add_two_snippets stdout ----
thread 'add_two_snippets' panicked at 'assertion failed: add_two_snippets_rexpect(config_file).is_ok()', tests/cli.rs:222:5

Additionally, the change_snippet test does not appear to be deterministic, and only sometimes fails.
Do you have any idea of what may be going on?  Is there some special setup that I need first?  I'm having a hard time understanding how these tests work, so I'm haven't been able to figure out what's missing.

Back to the clipboard issue itself, the changes are very straightforward, but I noticed and just reported a small issue with arboard on Linux (ArturKovacs/arboard#4).

Hi, thanks for looking into this! The tests need to be run with a single thread (cargo test -- --test-threads=1) since the same environment variable is changed separately for each test. I'll add a contributing file with this info.

I figured this could be it but, err, got the options wrong and was trying --jobs :facepalm:

Haha yeah cargo test has an unbelievable number of options

Doesn't look like there's much happening here for the last year, @jonasmalacofilho, are you still on this?
Was there a reason for choosing arboard over the more widely used copypasta fork of rust-clipboard?

Was there a reason for choosing arboard over the more widely used copypasta fork of rust-clipboard?

So with copypasta there's this issue (or expected behavior I suppose) that clipboard contents are cleared after the program exits (https://github.com/alacritty/copypasta/issues/5). arboard solves this without the need for integrating another clipboard manager.
An additional point to add to this issue is Android support - right now it's done with termux-clipboard-set, would be nice to keep this while changing the others to arboard

Hello, I would like to work on this issue but it seems that the maintainer of arboard plans to stop maintaining this repository soon and archive it. Do you have any ideas/preferences for a replacement ?

Thanks @Jarsop. It seems like there won't be a one size fits all library here so maybe it makes most sense to continue the way it is now and shell out to external programs.
In that case, the program used should be a config variable (as requested here) and should support xclip, pbcopy, xsel, termux-clipboard-set, and wl-copy for now. Would be good if it's organized in a way that makes it easy to add more such programs if people request them.
Thoughts?

Thanks @Jarsop. It seems like there won't be a one size fits all library here so maybe it makes most sense to continue the way it is now and shell out to external programs.
In that case, the program used should be a config variable (as requested here) and should support xclip, pbcopy, xsel, termux-clipboard-set, and wl-copy for now. Would be good if it's organized in a way that makes it easy to add more such programs if people request them.
Thoughts?

I suggest adding an array of CopyWrapper structures that could be selected by a variable in the configuration file. What do you think about it?

Yes, sounds good. The default value can be set using conditional compilation on the detected OS (so these lines would move here)

Yes we are aligned :)

I have a first implementation here. If you have any suggestions, they are welcome.


Remove superfluous close/cancel buttons

Fixes #4378

ping @josecruz

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

bump!

:+1:!
Thanks for the button color change!<3


Prettier doesn't work with pnpm

Describe the bug
Prettier doesn't format svelte files when using pnpm.
Reproduction
Skeleton project created today using pnpm create svelte@latest my-app
Logs
No response
System Info
System:
    OS: Windows 10 10.0.19044
    CPU: (2) x64 Intel(R) Celeron(R) CPU  N2830  @ 2.16GHz
    Memory: 548.25 MB / 3.89 GB
  Binaries:
    Node: 16.17.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD
    npm: 8.15.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (107.0.1418.62)
    Internet Explorer: 11.0.19041.1566
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.90
    @sveltejs/kit: next => 1.0.0-next.570
    svelte: ^3.53.1 => 3.53.1
    vite: ^3.2.4 => 3.2.4

Severity
annoyance
Additional Information
No response

That works! Is there a way to format the files automatically after saving?

It depends on your editor. If you're using VSCode you can create .vscode/settings.json and add
{
  "editor.formatOnSave": true
}

Apparently it was just a configuration error on my part. VSCode notified me about a problem with the formatter, then when I clicked on it the problem got solved.
When I am on a svelte file though, in the status bar Prettier still has a circle slash symbol next to it. But it works nevertheless.


Error on startup UDPSocket.cpp:366

On startup I get the following Error:
`

set -e,
id,
mkdir -p /factorio/saves,
uid=845(factorio) gid=845(factorio) groups=845(factorio),
mkdir -p /factorio/config,
mkdir -p /factorio/mods,
mkdir -p /factorio/scenarios,
mkdir -p /factorio/script-output,
[ ! -f /factorio/config/rconpw ],
[ ! -f /factorio/config/server-settings.json ],
[ ! -f /factorio/config/map-gen-settings.json ],
[ ! -f /factorio/config/map-settings.json ],
find -L /factorio/saves -iname *.tmp.zip -mindepth 1 -print,
grep -q .,
find -L /factorio/saves -iname *.zip -mindepth 1 -print,
grep -q .,
cat /factorio/config/rconpw,
exec /opt/factorio/bin/x64/factorio --port 34197 --start-server-load-latest --server-settings /factorio/config/server-settings.json --server-whitelist /factorio/config/server-whitelist.json --server-banlist /factorio/config/server-banlist.json --rcon-port 27015 --rcon-password Axo2se3eishalok --server-id /factorio/config/server-id.json,
0.000 2018-09-11 08:02:31; Factorio 0.16.51 (build 36654, linux64, headless),
0.000 Operating system: Linux,
0.000 Program arguments: "/opt/factorio/bin/x64/factorio" "--port" "34197" "--start-server-load-latest" "--server-settings" "/factorio/config/server-settings.json" "--server-whitelist" "/factorio/config/server-whitelist.json" "--server-banlist" "/factorio/config/server-banlist.json" "--rcon-port" "27015" "--rcon-password"  "--server-id" "/factorio/config/server-id.json" ,
0.000 Read data path: /opt/factorio/data,
0.000 Write data path: /opt/factorio [836580/922950MB],
0.000 Binaries path: /opt/factorio/bin,
0.011 System info: [CPU:         Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, 4 cores, RAM: 7936 MB],
0.011 Environment: DISPLAY=, WAYLAND_DISPLAY=,
0.011 Running in headless mode,
0.015 Loading mod core 0.0.0 (data.lua),
0.030 Loading mod base 0.16.51 (data.lua),
0.162 Loading mod base 0.16.51 (data-updates.lua),
0.202 Checksum for core: 840319042,
0.202 Checksum of base:<PHONE_NUMBER>,
0.298 Info PlayerData.cpp:65: Local player-data.json available, timestamp<PHONE_NUMBER>,
0.298 Info PlayerData.cpp:72: Cloud player-data.json unavailable,
0.299 Custom inputs active: 0,
0.299 Factorio initialised,
0.300 Info ServerSynchronizer.cpp:29: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).,
0.300 Info ServerMultiplayerManager.cpp:699: mapTick(4294967295) changing state from(Ready) to(PreparedToHostGame),
0.300 Info ServerMultiplayerManager.cpp:699: mapTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame),
0.300 Loading map /factorio/saves/_autosave1.zip: 657602 bytes.,
0.311 Loading Level.dat: 941398 bytes.,
0.316 Info Scenario.cpp:136: Map version 0.16.51-0,
0.349 Loading script.dat: 176 bytes.,
0.352 Checksum for script /opt/factorio/temp/currently-playing/control.lua: 950616531,
0.352 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({<IP_ADDRESS>:34197})),
0.352 Hosting game at IP ADDR:({<IP_ADDRESS>:34197}),
0.352 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-server-padlock-2,
0.804 Info HttpSharedState.cpp:145: Status code: 200,
0.804 Info AuthServerConnector.cpp:109: Obtained serverPadlock for serverHash (kJmwMa3Z4sInzf3p9un8IaAlGlE5Vek0) from the auth server.,
0.804 Info ServerMultiplayerManager.cpp:699: mapTick(0) changing state from(CreatingGame) to(InGame),
0.804 Info UDPSocket.cpp:39: Opening socket for broadcast,
0.804 Warning UDPSocket.cpp:366: Sendto failed: Operation not permitted; data length = 3, address = IP ADDR:({<IP_ADDRESS>:34196}),
0.824 Error InterruptibleStdioStream.cpp:54: Reading stdin failed,
0.825 Info RemoteCommandProcessor.cpp:128: Starting RCON interface at port 27015,
2.804 Warning UDPSocket.cpp:366: Sendto failed: Operation not permitted; data length = 3, address = IP ADDR:({<IP_ADDRESS>:34196}),
`

What could be the reason? How do I get rid of this?
Factoio was running on this maching a while ago wihout problems

it looks like there's an internal error occurred in factorio server itself
0.824 Error InterruptibleStdioStream.cpp:54: Reading stdin failed,

but as the warning shows above, it might be a permission issue in your environment, something about network?
0.804 Warning UDPSocket.cpp:366: Sendto failed: Operation not permitted; data length = 3, address = IP ADDR:({<IP_ADDRESS>:34196}),

It is working now, it just took a few restarts

I'm having this issue right now. Running on docker swarm.
The IP on the error is an internal swarm IP but the server IP is it's correct external IP
Help :c

Have you tried to remove the swarm and reboot? That solved the issue on my system.


ctrl.search not being cleared using angular 1.3

After entering text and choosing an option, the entered text is not being cleared from the input
Demo: http://plnkr.co/edit/6nrzYlaMEaDsLo5X3EMp

Should be fixed with https://github.com/angular-ui/ui-select/pull/703


Promises break in "real" versions of node

Promise detection isn't done before various "Promise.reject" paths are hit, meaning in real node versions (like 0.9.12, why would anyone use anything else? I mean honestly...) using most of the api functions results in reference errors. See the obviously correct example:
var giphy = require('giphy-api')();

giphy.search();

gives
                return Promise.reject('Search phrase cannot be empty.');
                       ^
ReferenceError: Promise is not defined
    at Object.GiphyAPI.search (/Users/ericlifka/test-giphy/node_modules/giphy-api/index.js:62:24)
    at Object.<anonymous> (/Users/ericlifka/test-giphy/index.js:3:7)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:891:3

This is clearly a huge blocker to using this library.

@ericlifka makes a good point. You should always maintain support Node 0.9.x. Why would you introduce promises to this library and not use callbacks? I guess I'll search for an alternative.

Honestly excepted more from a 1.x version of a library.

Fixed in caeeea0. Let me know if you have any more issues with real versions of Node. Bumped version to 1.1.14.


Figure out how to deal with versioning after migrating off TC

Now that we're migrating off TC we should figure out a new way to handle versioning of builds. Ideally the same method should also be usable for uno and fuselibs repos.
Things to consider:

Should we take our version from a tag, or use from VERSION.txt as we do today?
Should our snapshots and pre-releases be based on the previous or next version number?
Should a local build of release commit X.Y.Z have version number X.Y.Z or X.Y.Z-somesuffix?

If we get our versions from tags I know of at least two alternatives we could use:

git describe
GitVersion

Currently the way we handle versions in scripts when built locally is a bit of mess.
In pack.sh version is set to the content of VERSION.txt with -local suffix added.
In the macOS installer build.sh the version string is set to a combination of timestamp and commit hash.
Also we don't update the AssemblyInfo versions. I got a WIP branch for that here, but not yet sure about the approach.


cmake: added CONFIG_ZEPHYR_SYSTEM_INTERFACE

Added a new option in "Compiler Options" to allow including
Zephyr include paths as system headers
Signed-off-by: Pawel Bednarek<EMAIL_ADDRESS>

Unable to solve compliance checks, closing. New pull request will be created on a new branch.


Consider use GLTextureView or TextureView.

GLTextureView: https://github.com/romannurik/muzei/blob/master/main/src/main/java/com/google/android/apps/muzei/render/GLTextureView.java

awesome, thx very much! Will impl soon.

It seems that setPreserveEGLContextOnPause is not supported of this code.

Sorry for my shallow description for GLTextureView. You can create a GLTextureView by yourself.
Maybe is link could solve your problem:  http://stackoverflow.com/questions/12061419/converting-from-glsurfaceview-%20*%20to-textureview-via-gltextureview
It's worked fine in our project.

I have implement it in the MD360 project.
https://github.com/ashqal/MD360Player4Android/blob/09d413f33ade86a1b682914350801e388395b36c/vrlib/src/main/java/com/asha/vrlib/MDGLScreenWrapper.java
But, the function of setPreserveEGLContextOnPause is not worked correctlly, do you have any idea of fixing it?

I have made a mistake, it worked fine!


Twint crashing?

I'm running the following command to get all tweets from Frankfurt;
twint -g="50.212945,8.715222,10km" --hashtags --csv -o f1.csv --stats -ho  --location &
I periodically get the following in the console:
CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0)
I'm running on ubuntu 18.04 and python 3.6
The issue is that the processes dies after a while. Is there anything that I could do to catch all live tweets?

Issue already reported

#604

I don't think that was the issue, the same problem persists. Oddly, I'm scrapping tweets from various cities around the world, and always twint stops very quickly (after less than 3-4 thousand tweets) in Frankfurt
twint -g="50.212945,8.715222,10km" --hashtags --csv -o f1.csv --stats -ho --location &

May you post here or on PasteBin the content of twint-last-request.log, please?


Update the BridgeDb webservice to 2.3.4

Currently it makes the /xrefsBatch/ API method fail: https://github.com/bridgedb/swagger-webservice/issues/12

Depends on these two to be closed first:

[ ] https://github.com/bridgedb/BridgeDb/issues/140
[ ] https://github.com/bridgedb/BridgeDb/issues/141

We gave it a shot, but the /xrefsBatch/ is not working with BridgeDb 2.3.4. Apparently, the backported patches are not enough :(


MathView didn't fit in screen size

Images, tables or graph rendered by MathView didn't fit in screen size. They are trimmed from right side. Can I show them fit into device width and may be option to zoom on single tap or something like that. My MathView xml is as
            <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:paddingLeft="8dp"
                    android:paddingRight="8dp">

                    <io.github.kexanie.library.MathView
                        android:id="@+id/tv_question"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        auto:engine="Katex" />
          </LinearLayout>

Screen shot

Did you find a solution for this?

Try to set horizontal scrolling


pull request for e2e test at 12/12/2016 09:26:02

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Make use of new job summary markdown feature for actions

For GitHub the following was released:

To summarize the result of a job, users can generate Markdown and publish the contents as a job summary. For example, after running tests with GitHub Actions, a summary can provide an overview of passed, failed, or skipped tests, potentially reducing the need to review the full log output. For more information, see "Workflow commands for GitHub Actions."
<EMAIL_ADDRESS>
It would be really grad if this extension would make use of it as soon as possible. I think it makes your action much more powerfull and easier to use in many places. I am using your action for our Azure DevOps PowerShell modules VSTeams to make summaries. But I had problems with permissions when running on pull requests (not running as a user but technical user which has no rights to do what your actions is doing. But this makes it independent from that).
Here are the docs for this:
<EMAIL_ADDRESS>It was literally released a few hours ago.

Seems like no maintance is done here anymore.

Yep, in the past year or more, the maintenance was close to zero. I'm trying to avoid total burnout and I had to skip all non-essential worktime (i.e. paid job & family-related stuff). I stopped reacting to issues a while ago, but seeing this open for a year makes me sad. I still hope I can get back to this at some point, so let's keep it open.

It is fine. Just stated the obvious. I know what it means. Sometimes it is also fine to cut things. That means also more focus on other.


Next.js framework guide for worker is outdated and does not work.

Existing documentation URL(s)
https://developers.cloudflare.com/workers/frameworks/framework-guides/nextjs/
What changes are you suggesting?
The Existing Next.js apps item is out of date and does not work.
Update the content to align with the OpenNext documentation.
wrangler.toml
- main = ".worker-next/index.mjs"
+ main = ".open-next/worker.js"
name = "my-app"
compatibility_date = "2024-09-23"
compatibility_flags = ["nodejs_compat"]
- assets = { directory = ".worker-next/assets", binding = "ASSETS" }
+ assets = { directory = ".open-next/assets", binding = "ASSETS" }

package.json
- "build:worker": "cloudflare",
+ "build:worker": "opennextjs-cloudflare",
"dev:worker": "wrangler dev --port 8771",
"preview:worker": "npm run build:worker && npm run dev:worker",
"deploy:worker": "npm run build:worker && wrangler deploy"

Additional information
No response

Hi @t0m0120, thanks a lot for flagging the outdated guide! 🫶
We've made some breaking change in our open-next adapter (without a major bump since it's still in beta) and forgot to update the guide here as well as the respective C3 template (which I am addressing in https://github.com/cloudflare/workers-sdk/pull/7638).

@dario-piotrowicz
Thanks for the confirmation and correction :bow:


Remove unused comment-based configuration

Codecov Report

Merging #25 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master     #25   +/-   ##
======================================
  Coverage    97.7%   97.7%
======================================
  Files          52      52
  Lines        2834    2834
  Branches      127     127
======================================
  Hits         2769    2769
  Misses         63      63
  Partials        2       2


[FEATURE] ChatOpenAI can support adding options to set stream mode switches

Describe the feature you'd like
ChatOpenAI can support adding options to set stream mode switches
Additional context
Add any other context or screenshots about the feature request here.

@HenryHengZJ  When will this feature be added?


registerReceiver error after Android 33.

Android 12 and later (API 31 and above): The RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED flag has become mandatory in these versions. If BroadcastReceiver will only be used within the application, Context.RECEIVER_NOT_EXPORTED is used. If exporting is required, Context.RECEIVER_EXPORTED can be used.

u have this check:
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
                    context.registerReceiver(appDeviceAdminReceiver, intentFilter, Context.RECEIVER_NOT_EXPORTED)
                }else {
                    context.registerReceiver(appDeviceAdminReceiver, intentFilter)
                }

so we can keep in build.gradle compileSdkVersion 31 instead of 33 ?
android {
    compileSdkVersion 31
    //compileSdkVersion 33
   ...

what do u think ?

If the Context.RECEIVER_NOT_EXPORTED statement does not give an error, that parameter can remain as 31 at build time.


docs are missing a "how to install hklpy" section

Yikes!  The pip install did not install the additional requirements.
python3 -m venv try-hklpy
source try-hklpy/bin/activate
python3 -m pip install hklpy pygobject


[Azure Linux 3.0] Support for SPDK (Storage Performance Development Kit) for writing high performance, scalable, user-mode storage applications.

https://spdk.io/


Implement Gensim doc2vec

Hi,
In both spacy model and mitie model, to represent a sentence only an average of word embeddings was implemented in the code. I know this gives decent accuracy, but how can we improve this ? Can we define some rule-based approximations to achieve better accuracy ?
Do you have any plan to add more complex structures to represent sentence in future ? Why not use genism doc2vec which are better?
Thank you.

Why not use genism doc2vec which are better?

You know how overabused the word "better" is in the (software) engineering world 😄
Thought vectors or doc2vec may perform "better" than mean average of word embeddings (we need figures!) but it will also increase the complexity cost to parse a sentence (adding another ML layer) thus reducing the number of parse requests a http server could handle (especially a Python one).
So even if it could improve (a lot?) intent classification, I don't think it is a priority for the dev team. I'm not speaking for them so I may be completely mistaken.
Intent classification can also be improved a lot by increasing your data quality (simple utterances, specific and well identified vocab for each domain/intent...) at no performance cost.
But as you are now acquainted with the source code, feel free to try it for yourself and make a PR. I'm sure the Rasa dev team will be glad to have another great contribution 😉

I agree with @PHLF given the broadness of what the Rasa team has to work on at the moment seems like we need to quantify better before asking them to do it. That being said I'll add the help wanted label to this one and if someone has time to implement it as an alternative or configurable pipeline option, then great!

Unsupervised sentence representations like skip-thought, doc2vec, etc, are an interesting avenue, but as already guessed, not a priority right now. Classifying intents is something that works quite reliably, there are other areas where we'd like to improve performance more urgently.
Also, we already provide a lot of options with the current set of components, and adding more options always comes with a cost for new users who don't know what to pick.

Hi,
I'm having problems with  classification of intents using (mitie+sklearn) and mitie pipelines. For example consider my training set consists of "search nearby shop", and user inputs some synonym for search like "locate shop" , the classifier is unable to recognise them. There are also instances which are getting wrongly classified like "I would like to search for nearest shop". I want know is there any method by which i can elevate preference to some words and suppress others(This should have already done by the feature vector). I have around 20 examples for each intent. Hence i was looking for different approaches to represent words or sentences.
Thank you.

If you'd be willing to provide your training data in a gist or e-mail we'd be happy to make suggestions on how to improve it.
No there is currently not a way to boost the importance of specific words. Have you tried a non-mitre based intent classifier?

To boost the importance of certain words, you can use the pattern features, e.g. lets assume shop is an important word, an added regex feature can improve the intent classification performance (as part of the training data):
{
  "rasa_nlu_data": {
    "regex_features": [
      {
        "name": "important_shop_word",
        "pattern": "shop"
      }
    ],
    ...
  }
}

i'm gonna close this, as this is not something we're going to implement


Show notification on system tray when app is in foregroud

Is there a way to put a notification on tray when onMessageReceived callback is invoked?

I implemented using a local notification plugin, however I would like to show the notification like WhatsApp or text messages show it


Update whatsonchain.py

change self.chain to self.chain.value

Codecov Report
Patch and project coverage have no change.

Comparison is base (3840770) 100.00% compared to head (2b16f22) 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff            @@
##            master        #9   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           23        24    +1
  Lines         1291      1296    +5
  Branches       127       127
=========================================
+ Hits          1291      1296    +5

Impacted Files
Coverage Δ

bsvlib/service/whatsonchain.py
100.00% <ø> (ø)

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Fix call to Item#complete?

I was calling Item.state#complete?, which isn't implemented.

@danmcp

@dobbymoodge The rest of the code is using: item.state == 'complete'
Please make them consistent.

@danmcp fixed


Bahasa Indonesia (Indonesian) translation

I started translating this to Bahasa Indonesia (indonesian) since no one already did it. Anyway nice explorables as always.

how is your progress with this? I would really love to help if you need any assistance.

how is your progress with this? I would really love to help if you need any assistance.

Because there is no reply by initiator, i've started my own Indonesian translation.. Feel free to help :) Currently it's around 50% translated (line 667 from 1200++ of words.html)
https://github.com/drionix/trust

How's it now @drionix ? Just stumble upon this.. this is a gem. The 'amal jariyah' will be a lot!

I've got no time to continue the translation since my last update. Currently, it's still only about about halfway done (50%) in words.html
Take a look and fork it if you wish to.
https://github.com/drionix/trust/tree/master

Hi @drionix @rizkysyaiful are you guys still working on this one?

Since there's no response, I'll fork the one from @drionix https://github.com/chairulakmal/trust
Feel free to conctribute :)

Hi @chairulakmal! I'm pretty busy with my other project and could not continue this. However, I just check your fork. You incorrectly forked the gh-pages branch, which does not contains any changes. Should have forked the master branch so you could just continue the rest of ~50%. https://github.com/drionix/trust/tree/master

Hi @drionix I did download the master branch and working on it locally now. You can check my repo again, the master branch is updated. Cheers.

The draft is complete. You can check it out here https://chairulakmal.github.io/trust/
You can commit changes if you want guys.