text:
Error on runtime: Tracer.Log4net 0.0.0.0 assembly not found

Hi! I'm trying to use this to add some logging to all my service methods in a WCF project. Am I being stupid, or why would I be getting the error above? I tried adding a reference manually to the file in the net46 folder, but it didn't work. Does this work with .Net 4.0?

I tried version 1.3.3 and that worked on my .Net 4.0 project. Thanks anyway!

source: gharchive/issue

repo: csnemes/tracer

license_type: permissive

license_source: bigquery


text:
Removes Newtonsoft.Json dependency

Removes Newtonsoft.Json package dependency in CatApi and CatApi.Test projects #17

It doesn't look like there is an equivalent to Newtonsoft.Json's ReferenceLoopHandling setting in the JsonSerializerOptions configuration, but it doesn't seem like it would cause issues with the current data source. Just thought I should bring it up just in case.

Merged, thanks.
And yes, ReferenceLoopHandling is not particulary problematic with our data source. I am even not sure why it has been used here, probably some artifact from older codes or some samples.
Closes #17

source: gharchive/pull-request

authors: DaemonErrors ktos

repo: csplb/CatApi

license_source: github-api


text:
Doesnt work on update

Hi,
this plugin doesnt work on update. However it does work if i m using gencss and helper-stylize plugins. Any idea ?
thanks

Thank you for the report. If gencss worked, the problem should be in cssom plugin. I'm in the plan of refactoring some code of cssom, there's also add some enhancement of nested at-rules.
But now I'm in a project and don't have the time, after the project I'll bump some version both in core and cssom
However, If you can debug the problem, contribution is welcome! I feel very lonely for the cssobj project :)

ok i will try, thank you

authors: JohnsNikolai futurist

repo: cssobj/cssobj-plugin-extend

license: MIT


text:
Konzept für Embeds (Bilder etc.)

Kein cross-linking. Wir sollten die alle ins Repo holen.
Todo:

[ ] Automatisierung
[ ] Lizenz-Probleme?
[ ] Wir brauchen einen Standard für Minimum Quellenangaben

Oder: PR blockieren, wenn externe Bilder da sind.

Werfe in die Diskussion:
https://github.com/envygeeks/jekyll-assets
https://nhoizey.github.io/jekyll-postfiles/

Vorschlag wäre ähnlich zu dem jekyll-postfiles Plugin ansatz assets pro Post zu pflegen. Das Plugin geht leider nicht, weil Assets unter _posts automatisch zur Page werden.
Also wäre eine Möglichkeit:
csz-academy/
├── _posts/
│   ├── 2022-01-03-hello-world.md
└── assets/
		└── posts/
  	    	    └── 2022/
					    └── 01/
							    └── 03/
										 └── hello-world.zip

Find persönlich immer noch den Ansatz von jekyll-postfiles besser. Würde also lieber da noch bisschen zeit reinstecken, bevor wir uns da auf was stürzen

Ok betrifft nur _drafts mit --drafts switch. Also alles tutti.
Der Teil ist umgesetzt in 1ec0d0b6c0bae611d6e45f53a809a17f2354f157


text:
no coverage reported since 1 year

Since we updated the ci to run in a tmp dir, codecov didn't find the coverage report but failed only silently resulting in a passed CI without coverage checks

Reopening. Merging #2458 did not fully fix the issue.
Neither codecov nor coverage.py seem to be able to match the code filenames of the src code and are only reporting coverage for the python files included in the docs/ directory.

repo: cta-observatory/ctapipe


text:
create configuration for the chosen source

New Prod config
Self check-list:

[x] I have checked the lstchain config, in particular for:

[x] az_tel instead of sin_az_tel if data to be analyzed have been produced with lstchain <= v0.9.7
[x] "increase_nsb" and "increase_psf" are provided in "image_modifier" (if used)

[x] I have checked the environment in the lstmcpipe config and it is the one used to analyse DL>1 data
[x] I have provided the command (in README), or script (in additionnal .py file) used to produce the lstmcpipe config

Prod_ID
20230315_src_dec2276_tuned_nsb
Short description of the config
Config for a galactic source with dec 22.47 and specific NSB tuning.
Why this config is needed
Processing of data taken from a galactic source which has a particular NSB level.

Hi
Thank you for the PR and for the detailed README!
Are you sure you want to process with lstchain-v0.9.9, which is not the latest env available? (see lstmcpipe config).
The cluster seems down at the moment, I will let you know when these can be processed.

Hi @vuillaut, sorry for the late reply.
Thank you, I updated the requested lstchain to v0.9.13. I don't know why there was v0.9.9, I run the script in the v0.9.13 environment.
I have some questions on the procedure to get the appropriate configuration files for the simulations. I got them by running
lstmcpipe_generate_config PathConfigAllSkyFullDL1ab --dec_list dec_2276 --prod_id 20230315_src_dec2276_tuned_nsb --kwargs source_prod_id=20230315_src_dec2276_tuned_nsb

is this the proper way to get them?

I am not sure about the difference between --prod_id and --kwargs source_prod_id.
I can see on the cluster real DL1 data are processed with a configuration file named lstchain_config_v0.9.4_from2022onwards, which is slightly different in some fields from the file produced by lstmcpipe_generate_config. Which one should we use for simulations?
In lstmcpipe_config.yml I got the fields dl1_to_dl2 and dl2_to_irfs are empty. Is this normal?

Hi,

Hi @vuillaut, sorry for the late reply. Thank you, I updated the requested lstchain to v0.9.13. I don't know why there was v0.9.9, I run the script in the v0.9.13 environment.

This is independent, as you can choose to run the production in the environment you like.
Nevertheless, lstmcpipe config proposes one env (but was not up to date in this case).

I have some questions on the procedure to get the appropriate configuration files for the simulations. I got them by running
lstmcpipe_generate_config PathConfigAllSkyFullDL1ab --dec_list dec_2276 --prod_id 20230315_src_dec2276_tuned_nsb --kwargs source_prod_id=20230315_src_dec2276_tuned_nsb

is this the proper way to get them?

For the lstmcpipe config, yes.
Note that you are here following this workflow:
https://cta-observatory.github.io/lstmcpipe/pipeline.html#dl1ab

I am not sure about the difference between --prod_id and --kwargs source_prod_id.

The prod_id is the one you want to produce.
The source_prod_id is the one you want to start from (the base one). See the doc and let me know if that is still not clear.

I can see on the cluster real DL1 data are processed with a configuration file named lstchain_config_v0.9.4_from2022onwards, which is slightly different in some fields from the file produced by lstmcpipe_generate_config. Which one should we use for simulations?

What are the differences ?
In lstchain_config_v0.9.4_from2022onwards, only the config for the R0 to DL1 processing is important and should be the same for the MC production. Other parameters (DL1-->DL2) are up to you, but the standard config from lstchain is a good start.

In lstmcpipe_config.yml I got the fields dl1_to_dl2 and dl2_to_irfs are empty. Is this normal?

No.
But since you try to start from a non-existing source prod 20230315_src_dec2276_tuned_nsb, you probably got an error when trying to generate the config?
You probably want to start from something like 20230127_v0.9.12_base_prod_az_tel

You probably want to start from something like 20230127_v0.9.12_base_prod_az_tel

Thank you, now the lstmcpipe_config.yml makes sense.

What are the differences ?

Regarding the lstchain_config.ymland the differences with  lstchain_config_v0.9.4_from2022onwards there are differences such as:

lstchain_config_v0.9.4_from2022onwards in the various "random_forest_\*_\*_args"  has "max_depth": 50 or 100, "min_samples_leaf": 2, "n_jobs": 4,"min_samples_split": 2. The lstmcpipe script produces (30,10,-1,10)
lstchain_config_v0.9.4_from2022onwards lacks "n_training_events", which is included by the lstmcpipe script
lstchain_config_v0.9.4_from2022onwards in the various "\*_regression_features" lacks "sin_az_tel","alt_tel", which are included by the lstmcpipe script
lstchain_config_v0.9.4_from2022onwards in "LocalPeakWindowSum" and "GlobalPeakWindowSum" uses "apply_integration_correction": false, the lstmcpipe script uses true.

As it is the first time I request models, I have no idea if they are important or not.

What are the differences ?

Regarding the lstchain_config.ymland the differences with lstchain_config_v0.9.4_from2022onwards there are differences such as:

lstchain_config_v0.9.4_from2022onwards in the various "random_forest_\*_\*_args"  has "max_depth": 50 or 100, "min_samples_leaf": 2, "n_jobs": 4,"min_samples_split": 2. The lstmcpipe script produces (30,10,-1,10)
lstchain_config_v0.9.4_from2022onwards lacks "n_training_events", which is included by the lstmcpipe script
lstchain_config_v0.9.4_from2022onwards in the various "\*_regression_features" lacks "sin_az_tel","alt_tel", which are included by the lstmcpipe script
lstchain_config_v0.9.4_from2022onwards in "LocalPeakWindowSum" and "GlobalPeakWindowSum" uses "apply_integration_correction": false, the lstmcpipe script uses true.

As it is the first time I request models, I have no idea if they are important or not.

For everything related to RF models, you should use the lstmcpipe config (which comes from the lstchain standard MC config).
The apply_integration_correction should indeed be set to True for MC analysis.

Perfect, thank you so much! Then the current commit and files seems to be okay and ready.

authors: gabriele-panebianco-inaf vuillaut

repo: cta-observatory/lstmcpipe


text:
fixed a problem with non agreeing table sizes causing crash of the DL…

…2 generation script
in multiplicity calculation division by 2 was missing in one place
I also changed float division to integer division, since those values should be always even

Thank you @jsitarek for catching the cause of the error, I'm generally fine with your pull request, but I pushed a commit to define a new group_size variable, since the line length was larger than the black limit of 88 characters. I will merge it now.

authors: YoshikiOhtani jsitarek

repo: cta-observatory/magic-cta-pipe


text:
help enable source link in ReSharper Go to Definition

Thanks @shaynevanasperen for opening up this issue:
https://youtrack.jetbrains.com/issue/RSRP-464202

The Fix Version was changed to 2017.2 EAP1.

repo: ctaggart/SourceLink

license: mit


text:
Suggestion: Whisper and Permissions

First off, thank you for making this tool for the community!
I think it would be a good idea to add an option in the settings to toggle the results to be whispered to chat. Or perhaps have the queries whispered by default, and DMs can opt to have them shown publicly with a setting? Either way, it would be great to have that option.
Another thing that, admittedly I haven't had the chance to test as a player, but I'm also worried about players being able to use this module '?rule/stat/item/etc.' and potentially abusing the owner's api key. Is it set to only be usable by those with DM/GM permissions by default? If not, could we get those settings as options?
Please and once again, thank you!

These are great ideas, thank you. I'll see what I can do with it.


text:
代码如何修改apollo的值

java api方式动态修改已经配置好的值，看了下有openapi的方式，需要做 修改配置 + 发布二个接口吗 ？
有没有更便捷的方式，
另外openapi做的修改与发布是否可以被其他带有ApolloConfigChangeListener 客户端感知到 ？

open api提供了修改配置和发布两个接口，至于接入open api后是分成两步还是一步，可以由你们自己决定。
open api做的修改和发布，等同于用户在portal做修改和发布，所以客户端也是会感知到变化的。

@nobodyiam 测试下来如你所说。

authors: changealice nobodyiam

repo: ctripcorp/apollo


text:
Issue with Java Script

When I try to run the Java Script in the Console in Developer Tools, this error pops up and won't extract comments. Could you explain why and how to fix this? Thank you!
VM2732:28 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'children')
at getAllComments (:28:55)
at :64:37
at :156:3

I've been getting the exact same issue. I've tried using Brave, Chrome, and Firefox with adblockers enabled and disabled and it has not resolved the problem.

Basically, TikTok changed its layout and the paths from that version are no longer accurate to the site. The pull request I have up works on the most recent version.

authors: Donovan-Adams HenryBlackie katstasaph

repo: cubernetes/TikTokCommentScraper


text:
What's the difference between pulid_flux_v0.9.0.safetensors and pulid_v1.bin and ip-adapter_pulid_sdxl_fp16.safetensors?

Especially is there a difference between:

ip-adapter_pulid_sdxl_fp16.safetensors (https://huggingface.co/huchenlei/ipadapter_pulid/tree/main) and
pulid_v1.bin (https://huggingface.co/guozinan/PuLID/tree/main)
and pulid flux (https://huggingface.co/guozinan/PuLID/tree/main)
??

pulid_v1 is ... for old sd, the v0.9 is for flux and i guess the ipadapter is an ipadapter implementation of pulid for sdxl
not sure why they didnt just name them for the models


text:
Remove subrepo sync for html-formatter/javascript

In order to start moving out html-formatter from the monorepo, the synchronization of its javascript subrepo is removed. That way we can use the already-existing https://github.com/cucumber/html-formatter repository

I am ready to start working on the migration
I already have a branch ready to be forced-pushed to main once this PR is merged and if there is no strong objection: https://github.com/cucumber/html-formatter

repo: cucumber/common


text:
Cue Scripting : Simple Makefile equivalent example?

Is your feature request related to a problem? Please describe.
I have used Nix to build docker images but I'm not sure how to use Cue in a similar way. The tutorial shows how to use Cue for Kubernetes, but I'm curious if I can use it for the step before.
Describe the solution you'd like
I would like a small example documented.
Describe alternatives you've considered
Perhaps Cue's scope is currently too limited to achieve this?

Do you mean build Cue as a binary from source?
What is the step before Kubernetes?

Specifically, an example demonstrating building a docker image using Cue via the scripting layer.
Typically, at my work the desired sequence is:

we start from a git repository of source code at a particular git SHA1 commit
build docker image from it
tag the image with the git SHA1
push the image tag to a docker registry (like GCS)
update the kubernetes manifests to reference the new image tag (git SHA1)
apply the kubernetes manifests

I can perform that same sequence from Bash, Go, Makefile, or Nix scripts. I think it's possible to do this with Cue scripts, but I'm not clear on how and would appreciate an example or guidance on where to look.

Assuming you aren't looking to assemble dockerfiles from more abstract Cue designs, and are mainly looking for more complex examples for the tooling layer, check out https://github.com/hofstadter-io/jumpfiles  At this point I'm not really looking to use the scripting layer. I'd rather write Go.
I'm actually working on a new scripting lang & shell. I want the ease of bash for working with arbitrary "stuff," and the abilities we typically have to go to a real language for without needing to.

It should definitely be possible to use CUE for Docker images by using the "exec" task type to shell out to the docker binary.
The disadvantage of using Go is that it is hard to reuse workflows, whereas this is easier with CUE.

Yeah, I do this with other tools like this:

https://github.com/hofstadter-io/jumpfiles/blob/master/lib/devenv_tool.cue
https://github.com/hofstadter-io/jumpfiles/blob/master/lib/config.cue#L67
https://github.com/hofstadter-io/jumpfiles/blob/master/lib/grid.cue#L66
https://github.com/hofstadter-io/jumpfiles/blob/master/lib/k8s/gke.cue

I'm liking my Cue design, Go runtime experiment because the attributes are freaking sweet!

This issue has been migrated to https://github.com/cue-lang/cue/issues/428.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.

authors: StevenACoffman cueckoo mpvl verdverm

repo: cuelang/cue


text:
🛑 Tachidesk Server is down

In 6406f1e, Tachidesk Server (https://tachidesk.culturecloud.gq) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tachidesk Server is back up in 30ef9f9.

repo: culturecloud/status


text:
#26, #27: Show list of alerts of the specific camera; Show list of Security Guards and select the person to assign the alert to

Add popup to display alerts list; Show guards list to send alert; Add cypress test and update github actions to run e2e cypress test; Correct apis interface and response data model; Update env variable info in README

repo: cuong-ich-truong/scc-poc


text:
compile_with_cache location change

Got error at cupy/cuda/compiler.py, line 145, in compile_with_cache.
I guess the error has occurred because it attempted to access $HOME/.cupy, presumably it is a cache location.
Is there a way to change the location? Because, in the HPC system I am using, the $HOME is read-only...
Thank you very much!

You can use CUPY_CACHE_DIR environment variable to change the cache location.
https://docs-cupy.chainer.org/en/latest/reference/environment.html

authors: hongjuny kmaehashi

repo: cupy/cupy


text:
Compile without modules to reduce memory footprint

Hi.
I see that, in the latest version, minimum memory footprint is about 190MB.
Is there a way to remove some modules from compilation, like cudnn or nccl, in order to reduce this ?
I only need to do some very basic things with cupy. Barely more than resizing and reshaping. And I don't need it to be fast anyways.
Thank you in advance.

Optional libraries like cuDNN and NCCL are not built if they're unavailable at build time. You can also consider using CUPY_NVCC_GENERATE_CODE=current option to reduce fatbin size by building CuPy for your GPU only.

Please reopen.
I tried commenting lines in there and it didn't change the GPU memory size taken
https://github.com/cupy/cupy/blob/master/cupy_setup_build.py
I removed almost everything and it was still always the same size in memory.

How to reduce the memory footprint ?

Thank you.

authors: hyperfraise kmaehashi


text:
Guide/Help

How to use this when i need prefix on my queries? I have setup multitenancy with prefix, but i cannot get this to work in liveview. I keep on getting ERROR 42P01 (undefined_table) relation "users" does not exist
which makes sense because i need to look in the tenant_prefix.users table instead. I'm new to elixir so sorry for any noob questions!

Well i figured out how to do it via finalize_query, but now i think that this evolves into a change request. Because i need to return user from fetch_subject, but how can i modify the socket in fetch_subject?
it works now with this, but that is only thanks to Process.dict, which it what Vnet.Tenant.set_tenant stores tenant in.
      """
      Adds the tenant prefix to the query
      """

      @impl true
      def finalize_query(query, resolution_context) do
        prefix = Vnet.Tenant.prefix()
        query |> Ecto.Query.put_query_prefix(prefix)
      end

      @doc
      """
      Fetches the current user from the session token.
      Also sets the tenant in Process dictionary for finalize_query to use
      """

      @impl true
      def fetch_subject(socket, session) do
        Vnet.Tenant.set_tenant(session["subdomain"])
        Vnet.Users.get_user_by_session_token(session["user_token"])
      end```


text:
feat: BasePopupComponent class implementation (FM-297)

Changes

new: BasePopupComponent class implementation
update: added css styles for html popup
chore: added workbox script in package.json

How to test

import BasePopupComponent to any page

const popup = new BasePopupComponent ();
popup.show();

popup should be visible
close button should be clickale

clicking should close popup

Note: this is a base class and not meant for direct use. Actual usage would require creating a child class, extending this class.
i.e.
export class PausePopupComponent extends BasePopupComponent  {
  template = `
    ... // popup contents here
  `
}

Ref: FM-297

tracking this one https://github.com/curiouslearning/FeedTheMonsterJS/pull/1370
all changes will be merged to develop from pre-develop once all changes are ready.

repo: curiouslearning/FeedTheMonsterJS


text:
Incorrect padding

Describe the bug
After update Home Assistant to 2021.11.x I'm getting this error and the integration fails to set up. Restarts or reinstall of the component do not solve the issue.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
System details

Home-assistant (version): 2021.11
Hassio (Yes/No): Yes (Please note you may have to restart hassio 2-3 times to load the latest version of alexapy after an update. This looks like a HA bug).
alexa_media  (version from const.py or HA startup): 3.10.10
alexapy (version from pip show alexapy or HA startup):
Amazon 2FA is enabled (y/n). We will not debug login issues if unanswered: yes

Logs
Please provide logs. We'll be most likely asking for them anyway.
This error originated from a custom integration.
Logger: homeassistant.config_entries
Source: custom_components/alexa_media/init.py:303
Integration: Alexa Media Player (documentation, issues)
First occurred: 12:12:27 (1 occurrences)
Last logged: 12:12:27
Error setting up entry xxx@xxx.xx - amazon.co.uk for alexa_media
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/alexapy/alexalogin.py", line 235, in set_totp
self.get_totp_token()
File "/usr/local/lib/python3.9/site-packages/alexapy/alexalogin.py", line 259, in get_totp_token
token: Text = self._totp.now()
File "/usr/local/lib/python3.9/site-packages/pyotp/totp.py", line 51, in now
return self.generate_otp(self.timecode(datetime.datetime.now()))
File "/usr/local/lib/python3.9/site-packages/pyotp/otp.py", line 26, in generate_otp
hasher = hmac.new(self.byte_secret(), self.int_to_bytestring(input), self.digest)
File "/usr/local/lib/python3.9/site-packages/pyotp/otp.py", line 44, in byte_secret
return base64.b32decode(secret, casefold=True)
File "/usr/local/lib/python3.9/base64.py", line 235, in b32decode
raise binascii.Error('Incorrect padding')
binascii.Error: Incorrect padding
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
result = await component.async_setup_entry(hass, self)  # type: ignore
File "/config/custom_components/alexa_media/init.py", line 303, in async_setup_entry
AlexaLogin(
File "/usr/local/lib/python3.9/site-packages/alexapy/alexalogin.py", line 119, in init
self.set_totp(otp_secret.replace(" ", ""))
File "/usr/local/lib/python3.9/site-packages/alexapy/alexalogin.py", line 241, in set_totp
raise AlexapyPyotpInvalidKey(ex) from ex
alexapy.errors.AlexapyPyotpInvalidKey: Incorrect padding
Additional context
Add any other context about the problem here.

The 2FA-Key that is being provided has invalid input.

The 2FA-Key that is being provided has invalid input.

Is any way to resolve it? The component fails to startup now while it was working with 2FA flawlessly up to a year.

Remove or readd the integration or edit /config/.storage/core.config_entries and clear the entry under otp_secret.

OK, thanks. Remove/readd helped to resolve it.

authors: Molodax alandtse


text:
Feature/adds win rate on player menu stats

Please check the following

[x] Do the tests still pass? (see Run the Tests)
[x] Is the code formatted properly? (see Linting (Formatting))
For New Features:

[x] Have tests been added to cover any new features or fixes?
[x] Has the documentation been updated accordingly?

Please describe additional details for testing this change
Resolves #201

Adds win rate section on player stats menu
Renames stats menu title to  “[username] Week [week_number] Results”

@itsalaidbacklife

@itsalaidbacklife done!

repo: cuttle-cards/cuttle


text:
Error on python setup.py install

Good Morning,
When I run :"python setup.py install" I get the following error:
"error: command 'gcc' failed with exit status 1. "
I would  be grateful if you  have a direction what is the problem
The installation log:
install_log.txt
Thanks in advance,
Ortal

I have a similar problem with the pytrec_eval_ext build:
Collecting pytrec_eval
Using cached https://files.pythonhosted.org/packages/ec/ef/93ecabb71ab5c015d23b35751375a1acdce30f8fc00c4a54b4b184814b6c/pytrec_eval-0.3.tar.gz
Building wheels for collected packages: pytrec-eval
Running setup.py bdist_wheel for pytrec-eval ... error
Complete output from command c:\users\myu\appdata\local\programs\python\python35\python.exe -u -c "import setuptools, tokenize;file='C:\Users\myu\AppData\Local\Temp\pip-install-isoylhrd\pytrec-eval\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d C:\Users\myu\AppData\Local\Temp\pip-wheel-n3yrnnbi --python-tag cp35:
Fetching trec_eval from https://github.com/usnistgov/trec_eval/archive/v9.0.5.zip.
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.5
creating build\lib.win-amd64-3.5\pytrec_eval
copying py_init_.py -> build\lib.win-amd64-3.5\pytrec_eval
running build_ext
building 'pytrec_eval_ext' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

Failed building wheel for pytrec-eval
Running setup.py clean for pytrec-eval
Failed to build pytrec-eval
textract 1.6.1 has requirement six==1.10.0, but you'll have six 1.11.0 which is incompatible.
Installing collected packages: pytrec-eval
Running setup.py install for pytrec-eval ... error
Complete output from command c:\users\myu\appdata\local\programs\python\python35\python.exe -u -c "import setuptools, tokenize;file='C:\Users\myu\AppData\Local\Temp\pip-install-isoylhrd\pytrec-eval\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\myu\AppData\Local\Temp\pip-record-887ji8jd\install-record.txt --single-version-externally-managed --compile:
Fetching trec_eval from https://github.com/usnistgov/trec_eval/archive/v9.0.5.zip.
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.5
creating build\lib.win-amd64-3.5\pytrec_eval
copying py_init_.py -> build\lib.win-amd64-3.5\pytrec_eval
running build_ext
building 'pytrec_eval_ext' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
----------------------------------------

Command "c:\users\myu\appdata\local\programs\python\python35\python.exe -u -c "import setuptools, tokenize;file='C:\Users\myu\AppData\Local\Temp\pip-install-isoylhrd\pytrec-eval\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\myu\AppData\Local\Temp\pip-record-887ji8jd\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\myu\AppData\Local\Temp\pip-install-isoylhrd\pytrec-eval\

These are two separate problems.
@ortasa I suspect that you're compiler is using the Python 2 headers/libraries, whereas Python 3 is required.
@SyedMuhammadAli Support for installing pytrec_eval on Windows (outside of Cygwin) is currently not provided. If you manage to get it working, please send a PR with the appropriate fixes.
I'm closing this issue. Please feel free to re-open if you have follow-up questions.

authors: SyedMuhammadAli cvangysel ortasa


text:
error run pipeline_Aachen.ipynb

Dear author, I'm sorry to disturb you in my busy schedule. It's my runipy pipeline_ The following error occurred in aachen.ipynb. I don't know what to do. I want to ask you and look forward to your reply.[runipy pipeline_Aachen.ipynb
**runipy pipeline_Aachen.ipynb
08/23/2021 05:15:29 PM INFO: Reading notebook pipeline_Aachen.ipynb
08/23/2021 05:15:30 PM INFO: Running cell:
%load_ext autoreload
%autoreload 2
from pathlib import Path
from pprint import pformat
from hloc import extract_features, match_features, pairs_from_covisibility
from hloc import colmap_from_nvm, triangulation, localize_sfm, visualization
08/23/2021 05:15:31 PM INFO: Cell returned
08/23/2021 05:15:31 PM INFO: Running cell:
dataset = Path('datasets/aachen/')  # change this if your dataset is somewhere else
images = dataset / 'images/images_upright/'
pairs = Path('pairs/aachen/')
sfm_pairs = pairs / 'pairs-db-covis20.txt'  # top 20 most covisible in SIFT model
loc_pairs = pairs / 'pairs-query-netvlad50.txt'  # top 50 retrieved by NetVLAD
outputs = Path('outputs/aachen/')  # where everything will be saved
reference_sfm = outputs / 'sfm_superpoint+superglue'  # the SfM model we will build
results = outputs / 'Aachen_hloc_superpoint+superglue_netvlad50.txt'  # the result file
08/23/2021 05:15:31 PM INFO: Cell returned
08/23/2021 05:15:31 PM INFO: Running cell:
list the standard configurations available
print(f'Configs for feature extractors:\n{pformat(extract_features.confs)}')
print(f'Configs for feature matchers:\n{pformat(match_features.confs)}')
08/23/2021 05:15:31 PM INFO: Cell returned
08/23/2021 05:15:31 PM INFO: Running cell:
pick one of the configurations for extraction and matching
you can also simply write your own here!
feature_conf = extract_features.confs['superpoint_aachen']
matcher_conf = match_features.confs['superglue']
08/23/2021 05:15:31 PM INFO: Cell returned
08/23/2021 05:15:31 PM INFO: Running cell:
feature_path = extract_features.main(feature_conf, images, outputs)
08/23/2021 05:15:34 PM INFO: Cell returned
08/23/2021 05:15:34 PM INFO: Running cell:
colmap_from_nvm.main(
dataset / '3D-models/aachen_cvpr2018_db.nvm',
dataset / '3D-models/database_intrinsics.txt',
dataset / 'aachen.db',
outputs / 'sfm_sift')
pairs_from_covisibility.main(
outputs / 'sfm_sift', sfm_pairs, num_matched=20)
08/23/2021 05:18:52 PM INFO: Cell returned
08/23/2021 05:18:52 PM INFO: Running cell:
sfm_match_path = match_features.main(matcher_conf, sfm_pairs, feature_conf['output'], outputs)
08/23/2021 10:09:49 PM INFO: Cell returned
Traceback (most recent call last):
File "/home/hzh005/.local/bin/runipy", line 8, in
sys.exit(main())
File "/home/hzh005/.local/lib/python3.8/site-packages/runipy/main.py", line 158, in main
nb_runner.run_notebook(skip_exceptions=args.skip_exceptions)
File "/home/hzh005/.local/lib/python3.8/site-packages/runipy/notebook_runner.py", line 232, in run_notebook
self.run_cell(cell)
File "/home/hzh005/.local/lib/python3.8/site-packages/runipy/notebook_runner.py", line 151, in run_cell
msg = self.kc.get_iopub_msg(timeout=1)
File "/home/hzh005/.local/lib/python3.8/site-packages/jupyter_client/utils.py", line 25, in wrapped
return loop.run_until_complete(coro(*args, **kwargs))
File "/home/hzh005/.local/lib/python3.8/site-packages/nest_asyncio.py", line 70, in run_until_complete
return f.result()
File "/usr/lib/python3.8/asyncio/futures.py", line 178, in result
raise self._exception
File "/usr/lib/python3.8/asyncio/tasks.py", line 280, in __step
result = coro.send(None)
File "/home/hzh005/.local/lib/python3.8/site-packages/jupyter_client/client.py", line 125, in _async_get_iopub_msg
return await self.iopub_channel.get_msg(*args, **kwargs)
File "/home/hzh005/.local/lib/python3.8/site-packages/jupyter_client/channels.py", line 230, in get_msg
raise Empty
_queue.Empty
**

runipy is depreacted and unmaintained. The preferred way of running notebooks from the command line is now nbconvert with the --execute flag: https://nbconvert.readthedocs.io/en/latest/execute_api.html

repo: cvg/Hierarchical-Localization


text:
customed data creation problem according to re10k

Thanks for your great work!
I have my own dataset, it contains rgb (weight and height is W and H), intr, extr(world2cam, opencv-style) .
Easily, intr and extr are written as E and P
E =
[fx , 0, cx
0, fy, cy,
0, 0, 1]
P =
[p11,p12,p13,t1
p21,p22,p23,t2
p31,p32,p33,t3]
where the t vector is in meters.
I see that you train your model on re10k dataset. So I want to create my own dataset according to the format of re10k.
Actually, the .torch in re10k dataset is a dict, and there is a key named 'camera', it is a tensor with shape [nviews, 18].
Therefore, I fill the dim-18 of each rgb view as follows,
[fx/W, fy/H, cx/W, cy/H , 0., 0., p11, p12, p13, t1, p21, p22, p23, t2, p31, p32, p33, t3]
Is my understanding corret? or should I change the P from w2c to c2w before filling in the [nviews, 18] tensor?
I see the readme say it is c2w format,
But the dataset_re10.py claim the variable is w2c. I get confused...
Best regards,
VillardX

Hi, saving w2c is correct, you don't need to convert to c2w. The readme file means that the camera pose loaded by our data loader is c2w, and the file you mentioned completes this step.

Thanks for reply:)

authors: VillardX botaoye

repo: cvg/NoPoSplat


text:
BUG! Cant Create Slug if your Using Laravel Create Method!

I dont know if anyone ever experience this, but When you try to Use
mode::create($request->all)
BTW im using laravel 5.2
the save event is not called....
and slug is not created Hope this bug will be fix...
using that create api is kinda handy and lessen the code thanks

It's work with me... are you sure you added the slug attribute to the $fillable array?

Closing for lack of response.

authors: EssamWD cviebrock masterpowers

repo: cviebrock/eloquent-sluggable


text:
DCPError("Problem does not follow DCP rules. Specifically:\n" + append) raised when using SCS solver

Here is my code script, I'm using cvxpy and trying to solve a pseudo convex problem:
def Psi(p_j, user):  # p_j is a (4, 1) vector
    # print(np.sum(betalin[:, user]))
    psi_i = alpha[user] / (1 + np.sum(beta[:, user] * p_j))
    return psi_i

def f(p):
    w = np.ones((1, 4))
    obj = np.zeros((4, 1))
    for user in range(p.shape[0]):
        psi_i = Psi(p, user)
        obj[user] = np.log2(1 + (psi_i * p[user])) / (mu * p[user] + Pc)
        #  print(obj[user])
    obj = float(w @ obj)
    return obj

def R(p):
    rate = np.zeros((4, 1))
    for user in range(p.shape[0]):
        psi_i = Psi(p, user)
        rate[user] = np.log2(1 + (psi_i * p[user]))
    return rate

def mygradR(p):
    chp = h.T * p
    alphap = np.diag(chp)
    sumbetap = np.sum(chp, axis=-1) - alphap
    ln2 = np.log(2)
    term1 = 1 / ln2 * (1 + alphap / (1 + sumbetap)) ** (-1)  # (4,)
    term2 = (-1) * alphap * h / (1 + sumbetap) ** 2  # (4, 4)
    grad = (term1 * term2).T
    didx = np.diag_indices_from(grad)
    # print(np.diag_indices_from(grad))
    # print(term1 * (alphap / p) / (1 + sumbetap))
    grad[didx] = term1 * np.diag(h) / (1 + sumbetap)
    return grad

def mygradf(p):
    gr = mygradR(p)
    den = 1 / (mu * p + Pc)
    gr = gr * den
    didx = np.diag_indices_from(gr)
    gr[didx] = gr[didx] - (mu * R(p).reshape(4, ) * den ** 2)
    gr = np.sum(gr, axis=0)
    return gr

cnt = 0
obj = f(pt)
while True:
    cnt += 1
    grad = mygradR(pt)
    didx = np.diag_indices_from(grad)
    grad[didx] = 0

    chp = h.T * pt
    alphap = np.diag(chp)
    sumbetap = np.sum(chp, axis=-1) - alphap
    # Constants in EE tilde(pt is known, pvar is unknown)
    denominator = 1.0 / (mu * pt + Pc)

    c1 = np.sum(grad * denominator, axis=-1)
    c2 = -mu * np.log2(1 + alphap / (1 + sumbetap)) * denominator ** 2
    c = c1 + c2

    d = -c * pt

    # solve inner problem
    pvar = cp.Variable(4)
    obj_nl = cp.log(cp.multiply(1 + alphap / (1 + sumbetap), pvar)) / np.log(2) * denominator
    obj_l = cp.multiply(c, pvar)

    objective = cp.Maximize(cp.sum(obj_nl + obj_l + d))
    constraints = [0 <= pvar, pvar <= Pmax]
    prob = cp.Problem(objective, constraints)
    print("problem is DCP:", prob.is_dcp())
    try:
        prob.solve(solver=cp.SCS)
    # There are different solver we can use in CVXPY
    except cp.SolverError:
        print('SCS failed')
        try:
            prob.solve(solver=cp.CVXOPT, verbose=True)
        except cp.SolverError:
            print('cvxopt also failed')
            try:
                prob.solve(solver=cp.MOSEK, verbose=True)
            except cp.SolverError:
                print('MOSEK also failed')
                break

    # calculate gradient step
    Bpt = pvar.value - pt
    gamma = 1

    old_obj = obj  # f(pt)
    old_pt = pt
    # @ is inner product, can use np.dot(mygradf(pt), Bpt) as well
    while f(pt + gamma * Bpt) < old_obj + parm_alpha * gamma * mygradf(pt) @ Bpt:
        gamma *= parm_beta  # reduce the magnitude of gamma

    pt += gamma * Bpt
    obj = f(pt)
    # Break when the
    # Ignore when division by zero
    with np.errstate(divide='ignore'):
        # np.linalg.norm(x, np.inf) calculate the infinite norm of x. i.e. max(sum(abs(x), axis=1)
        if abs(obj / old_obj - 1) < RelTolObj and np.linalg.norm(pt - old_pt, np.inf) / np.linalg.norm(pt,
                                                                                np.inf) < RelTolVal:
            break

    if cnt > MaxIter:
        print('MaxIter')
        break

return obj, pt

It seems OK at the first few iterations, I've print out the message to see if my problem formulation follows the DCP rule.

But after I get the following error:

Version

OS: Ubuntu 16.04 LTS
CVXPY Version: 1.0.25

Thanks for help!

You can't multiply log elementwise by a mix of positive and negative values. This has unknown curvature. You need to be multiplying by all positive numbers or all negative numbers (technically non-negative and non-positive).

You can't multiply log elementwise by a mix of positive and negative values. This has unknown curvature. You need to be multiplying by all positive numbers or all negative numbers (technically non-negative and non-positive).

How should we finally solve this problem？

repo: cvxpy/cvxpy


text:
67 shortest path bounded

Fixes #67 and #94.
Now bounded length query like:
-FROM GRAPH_TABLE (pg4
    MATCH
    p = ANY SHORTEST (a:Point4)-[k:know4]->{2,3}(b:Point4)
    COLUMNS (a.id, b.id, vertices(p))
    ) tmp;

will look for the shortest path between the source and the destination with a length between 2 and 3.
To disambiguate, the effect of this syntax is consistent with choosing the shortest path between the upper and lower bounds after finding all possible paths between two nodes.

Update; closing this issue, but will use the techniques used here (two-phase path-finding) to implement correct lower-bound constrained path-finding in another PR which is more up-to-date

authors: Dtenwolde SiberiaWolfP

repo: cwida/duckpgq-extension


text:
您好，请问下这个在群辉nas中怎么安装呢？

搜了一下也没有找到相关的教程。
在docker注册表里没有搜到这个项目。

终端进nas

ssh admin@10.0.0.190
sudo su
admin=用户，10.0.0.190= nas地址

安装运行并配置

docker run -d --name=douban-api-rs --restart=unless-stopped -p **5000**:80 ghcr.io/cxfksword/douban-api-rs:latest
5000=端口号，按需修改，配置成功后api地址为：http://10.0.0.190:5000 或http://localhost:5000

我没上传到dockerhub，不过镜像加上域名也是能直接pull下来的：ghcr.io/cxfksword/douban-api-rs

authors: Huster1993 cxfksword libsu

repo: cxfksword/douban-api-rs


text:
Support for rotation is documented

Once the performance testing and XA is completed, the information that we learn should be added here so that the TWs can add content to the documentation on rotation. Primarily we need to know whether there were any errors or known issues or troubleshooting information that should be added to the docs related to rotation. It may also be helpful to provide the historic language we used in the project around rotation.
AC for the developers:

[ ] Provide errors, known limitations, or troubleshooting info for using Secretless with EPV dual account-based rotation
[ ] Use the git history to find the historical content on rotation that we used to have, and share here for the TWs to use as a baseline for how to talk about rotation in the docs again
[ ] Review the rotation documentation for technical accuracy

AC for the TWs:

[ ] Work with PM to determine where Secretless support for rotation should be documented
[ ] Add documentation on rotation (including relevant limitation or troubleshooting information)

Moved to cyberark/secretless-docs#170

repo: cyberark/secretless-broker


text:
Fixes mixed content error for jsbin script

Error in Chrome console:
Mixed Content: The page at 'https://cycle.js.org/' was loaded over HTTPS, but requested an insecure script 'http://static.jsbin.com/js/embed.js'. This request has been blocked; the content must be served over HTTPS.

Thanks :)

authors: skaapgif staltz


text:
fix: fix #274 update with fields option

att

@barretlee 不影响可读性，把这种标题当作一种风格也不赖 :-/

@JimmyDaddy 描述里的 att 含义是 as the title，attr 应该是 typo，我给改掉了哈

@JimmyDaddy 描述里的 att 含义是 as the title，attr 应该是 typo，我给改掉了哈

中文是 RT，如题👻

我之前一直用 RT🙈🙈🙈

rt 也不错 😸

authors: JimmyDaddy barretlee cyjake

repo: cyjake/leoric


text:
cython fails to compile pyx after version bump

I currently use Cython 0.17 and have a large codebase in Cython that I want to upgrade to the latest version. From that codebase I extracted the following simple example to demonstrate the failure.
example.hpp:
#include <stdint.h>

class MyBool {
public:
  MyBool(void) : m_value(0) {}
  MyBool(bool value) : m_value(value) {}
  operator bool() const { return bool(m_value); }

private:
  uint8_t m_value;
}

example.pyx:
cdef extern from "example.hpp":
    cdef cppclass MyBool_c "MyBool"

cdef class MyBoolArray(object):
    def __getitem__(self, key):
        cdef MyBool_c* my_bool = <MyBool_c*>0
        my_bool[0] = <MyBool_c>(0)
        return <bint>(my_bool[0])

Until Cython=0.20, everything works fine.
From 0.21 to 0.22 the following error occurs:
Error compiling Cython file:
------------------------------------------------------------
...

cdef class MyBoolArray(object):
    def __getitem__(self, key):
        cdef MyBool_c* my_bool = <MyBool_c*>0
        my_bool[0] = <MyBool_c>(0)
        return <bint>(my_bool[0])
                            ^
------------------------------------------------------------

example.pyx:8:29: Type 'MyBool_c' not acceptable as a boolean

Error compiling Cython file:
------------------------------------------------------------
...

cdef class MyBoolArray(object):
    def __getitem__(self, key):
        cdef MyBool_c* my_bool = <MyBool_c*>0
        my_bool[0] = <MyBool_c>(0)
        return <bint>(my_bool[0])
                            ^
------------------------------------------------------------

example.pyx:8:29: Cannot convert 'MyBool_c' to Python object

From 0.23 an on, I got a different crash:
Error compiling Cython file:
------------------------------------------------------------
...
    cdef cppclass MyBool_c "MyBool"

cdef class MyBoolArray(object):
    def __getitem__(self, key):
        cdef MyBool_c* my_bool = <MyBool_c*>0
        my_bool[0] = <MyBool_c>(0)
                    ^
------------------------------------------------------------

example.pyx:7:21: Compiler crash in AnalyseExpressionsTransform

ModuleNode.body = StatListNode(example.pyx:1:0)
StatListNode.stats[1] = CClassDefNode(example.pyx:4:5,
    as_name = u'MyBoolArray',
    class_name = u'MyBoolArray',
    module_name = u'',
    visibility = u'private')
CClassDefNode.body = StatListNode(example.pyx:5:4)
StatListNode.stats[0] = DefNode(example.pyx:5:4,
    modifiers = [...]/0,
    name = u'__getitem__',
    num_required_args = 2,
    py_wrapper_required = True,
    reqd_kw_flags_cname = '0',
    used = True)
File 'Nodes.py', line 430, in analyse_expressions: StatListNode(example.pyx:6:8,
    is_terminator = True)
File 'Nodes.py', line 4774, in analyse_expressions: SingleAssignmentNode(example.pyx:7:21)
File 'Nodes.py', line 4920, in analyse_types: SingleAssignmentNode(example.pyx:7:21)

Compiler crash traceback from this point on:
  File "/home/asaf/miniconda2/lib/python2.7/site-packages/Cython/Compiler/Nodes.py", line 4920, in analyse_types
    op = env.lookup_operator_for_types(self.pos, '=', [self.lhs.type, self.rhs.type])
  File "/home/asaf/miniconda2/lib/python2.7/site-packages/Cython/Compiler/Symtab.py", line 844, in lookup_operator_for_types
    return self.lookup_operator(operator, operands)
  File "/home/asaf/miniconda2/lib/python2.7/site-packages/Cython/Compiler/Symtab.py", line 829, in lookup_operator
    method = obj_type.scope.lookup("operator%s" % operator)
AttributeError: 'NoneType' object has no attribute 'lookup'

I also tried to read the changelog to see which change could lead for this kind of error, but I didn't find anything.
Any idea what could have happened or how the problem can be solved?

In my current project
from libcpp import bool as boolean # I'm not sure if alias is needed, just to be safe
my_bool[0] = MyBool_c(0) # Try to call the constructor explicitly, which might need to be declared in Cython also
return <boolean> (my_bool[0])

Set pointer to NULL: cdef MyBool_c* my_bool = <MyBool_c*>0
Dereference and write to null-pointer: my_bool[0] = <MyBool_c>(0)
This doesn't seem like code that should work, even if you can get it through Cython.

MyBool(bool value) : m_value(value) {} above indicates that the code's not referring to NULL by 0 I think.

No but cdef MyBool_c* my_bool = <MyBool_c*>0 creates a NULL pointer and then my_bool[0] attempts to use that pointer.
I do agree with your suggestions on how to change it so it'll compile. I just think it will crash when run.

This is just a simplified example based a more larger file, so the fixing the Cython syntax is the more important thing. I just wanted to create a small example to demonstrate the problem I'm currently facing.

In addition, after bisecting through the first error (between 0.20 to 0.20.1), I found commit 132bdcebc721819867b1a0280115dc456f5b28eb was the one from which the code breaks. When I tried to revert it I got the second traceback

Did my suggestion work for you?

I tried to do that and I got the second error both on old and new versions.
My example.pyx looks like that:
from libcpp import bool as boolean

cdef extern from "example.hpp":
    cdef cppclass MyBool_c "MyBool"

cdef class MyBoolArray(object):
    def __getitem__(self, key):
        cdef MyBool_c* my_bool = <MyBool_c*>0
        my_bool[0] = MyBool_c(0)
        return <boolean> (my_bool[0])

Did I miss something?

I think you should try to declare the constructor since IIRC Cython does not find it automatically.

I updated example.pyx to this:
cdef extern from "<stdint.h>" nogil:
    ctypedef unsigned char  uint8_t

from libcpp cimport bool as boolean

cdef extern from "example.hpp":
    cdef cppclass MyBool_c:
        MyBool()
        MyBool(boolean value)
        uint8_t m_value

cdef class MyBoolArray(object):
    def __getitem__(self, key):
        cdef MyBool_c* my_bool = <MyBool_c*>0
        my_bool[0] = <MyBool_c>(0)
        return <boolean> (my_bool[0])

This file works also on the newest version.
Pay attention - I still got the second error if call the constructor directly as you suggested before. It works only with the original usage.
Do you still think I should call the constructor directly? Should there be any difference?

authors: McSinyx asafkahlon da-woods

repo: cython/cython


text:
Enable overloading the assignment operator.

As near as I can tell, the only thing needed to enable the assignment operator was to add it to the supported operators list. Tests pending.

Thanks!

@robertwb: On second thought, I wonder if there is a reason why this wasn't done before. It might have an impact on the static analysis if we're no longer sure that an assignment really assigns to a variable. So there might be more to fix up here.

@scoder @robertwb I'm willing to help with whatever else is needed here. I'm not aware of any additional consequences, but my knowledge of the full Cython codebase is still limited. Checking that the overloaded signature matches one of the correct operator signatures in C++ could be a good idea, though it seems like it would be fine if any errors caused by incorrect signatures were raised by the C++ compiler.

authors: insertinterestingnamehere scoder


text:
Error: Module jupyter-cytoscape, semver range ^1.3.2 is not registered as a widget module

Still persist when installing with pip install ipycytoscape
Error: Module jupyter-cytoscape, semver range ^1.3.2 is not registered as a widget module
Version Info

ipycytoscape version (import ipycytoscape; print(ipycytoscape.version)) : 1.3.2

Python version: 3.8.12

Jupyter(Lab) version: 3.2.4

Originally posted by @gt-eq-1998 in https://github.com/cytoscape/ipycytoscape/issues/294#issuecomment-1068011856

Hey @gt-eq-1998, I can't reproduce this issue.
I wonder if you're having some conflicts with your environment.
Where is your python coming from?
which python
Also, do you have restrictions regarding using the conda/mamba ecosystem?
If you tell me more about your env. I can try to reproduce it better, e.g what are you using the manage your env?

Hey @gt-eq-1998, I can't reproduce this issue. I wonder if you're having some conflicts with your environment. Where is your python coming from? which python Also, do you have restrictions regarding using the conda/mamba ecosystem? If you tell me more about your env. I can try to reproduce it better, e.g what are you using the manage your env?

Hey @marimeireles , I'm using conda environment with poetry, I'm not sure about conflict stuff , but all thing in my env working.
What do you mean by restrictions?

Okay.
Is not recommended to mix two different package managers, like pip and conda, for example.
The problem is that their solvers interact and this kind of issue occurs.
My advice is that you stick with one package manager and try again, this should fix your issue.

repo: cytoscape/ipycytoscape


text:
又爬不到内容了，求指教

我修改了一部分地方，但是还是出错了。您帮忙看看。
文件已存在
开始自动登陆，若出现验证码手动验证
暂停20秒，用于验证码验证
判断页面1成功 0失败  结果是=1
超话链接获取完毕，休眠2秒
Traceback (most recent call last):
File "F:/宝洁商赛/微博爬虫/weibo.py", line 187, in
spider(username,password,driver,book_name_xls,sheet_name_xls,keyword,maxWeibo)
File "F:/宝洁商赛/微博爬虫/weibo.py", line 167, in spider
yuedu_taolun = driver.find_element_by_xpath("//[@id='app']/div[1]/div[1]/div[1]/div[4]/div/div/div/a/div[2]/h4[1]").text
File "D:\anaconda\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 394, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "D:\anaconda\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 978, in find_element
'value': value})['value']
File "D:\anaconda\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "D:\anaconda\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//[@id='app']/div[1]/div[1]/div[1]/div[4]/div/div/div/a/div[2]/h4[1]"}
(Session info: chrome=79.0.3945.130)

请问爬取的话题是什么？

请问爬取的话题是什么？

时代少年团

是微博页面布局的问题，超话布局不同导致程序点击事件出错，将报错的这一句
  elem = driver.find_element_by_xpath("//*[@class='box-left m-box-col m-box-center-a']")
引号部分修改为
elem = driver.find_element_by_xpath("//*[@id='app']/div[1]/div[1]/div[3]/div/div/div[3]/div/div/div[1]")

项目已更新，也可以重新拉取代码运行

项目已更新，也可以重新拉取代码运行
谢谢！


text:
Whitelisted IP Error not being caught

Description
When trying to scrape from a Public IP that is not whitelisted by PasteBin, the error is not being caught properly.  Since the error is not being caught, the program continues to run instead of stopping.
Steps To Reproduce
Steps to reproduce the behavior:

Have an account that is not a Pro Account.
Run the main.py example in the README.
When a request made to the PasteBin API URL, you receive a JSON parsing error since the regex (pastebin_error_pattern) in the PastbinScrapper class is not matching in the API request.

Error from Pastebin request response: Forbidden: YOUR IP: xxx.xx.xxx.xxx DOES NOT HAVE ACCESS. VISIT: https://pastebin.com/doc_scraping_api TO GET ACCESS!
Below is the error received to the console:
2023-04-01 13:40:44,193 - pastepwn.scraping.pastebin.pastebinscraper - ERROR - Expecting value: line 1 column 1 (char 0)
Expected behavior
Error to be handled and logged to the console and the program stops.
Additional context
I fixed the issue by editing the pastebin_error_pattern variable int he PastebinScraper class to the following:
pastebin_error_pattern = re.compile(r"^Forbidden: YOUR IP: ((\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})|((([0-9A-Fa-f]{1,4}:){7})([0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){1,6}:)(([0-9A-Fa-f]{1,4}:){0,4})([0-9A-Fa-f]{1,4}))) DOES NOT HAVE ACCESS.\s+VISIT: https://pastebin.com/doc_scraping_api TO GET ACCESS!")
I can submit a pull request with this fix if needed.

Hi @bellcha and thank you for raising the issue. I changed the regex. It should work now.

authors: bellcha d-Rickyy-b

repo: d-Rickyy-b/pastepwn


text:
Hydra : Mammoth Hydra is consistently doing less dps in the sim

The hydra does between 15 and 20% less in the sim than on the sheet, even with a perfect uptime and a spread of 0.
Even with only hydra as a selected/used spell, the difference remains.
Also, if you only have yellow gear without any crit or crit damage nor any gems/kanai's/skill except for hydra, the difference is "only" ~7% less dps.
I didn't find a specific factor that could explain this behavior, and as far as I know, hydra's in game are starting to DPS nearly instantaneously if casted on the mob's hitbox.

The sheet DPS is displayed as if all layers were constantly active, i.e. Hydra had an infinite duration.
In-game, however, when you cast Hydra, it starts stacking layers on the target,ramping up its damage. When the hydra expires, all its remaining layers are 'orphaned', and no longer benefit from your damage multipliers or CHC/CHD. This explains the difference between regular gear and a bunch of rares.

But If you constantly recast the hydra before it despawns, like every 10s, the layers sould be constant, no ?
20% less damage is a lot for a 100% uptime hydra over a 5mn boss fight.
Does the ramping up takes around 3s and recasting the hydra instantly removes the damage benefit for the layer casted by the previous one ?

But If you constantly recast the hydra before it despawns, like every 10s, the layers sould be constant, no ?

When you recast the hydra, it takes a while until it builds up all the layers again. And even then there might not be 100% uptime on "all" layers, but rather all except for one layer. This is why hydras deals the most damage to enemies less or equal than 5 yards away from them.
You also cannot recast it just in time, since replacing a hydra with another deletes the old hydras layers.

It doesn't instantly delete the old layers, but those remaining layers do a lot less damage. From what I understand, many effects have a static damage number, and dynamic modifiers that they inherit from the caster (to avoid snapshotting basically). But if the caster dies, they have no owner anymore and lose all these modifiers.

I looked up a little more about the hydra mechanics, and now understand exactly how it's working.
To sum it up :

once cast, the hydra will spawn a layer every FPA
each layer will tick every 0.3s, and expand by 10 yards up to 50 yards (hence why it's better to cast at close range)
after the 16th tick, the layer will despawn

So an hydra casted only once at 0 yard range will have an initial ramp-up of 4.8s, and the damage of the last layers will instantly go down by a lot once the hydra despawn if you have a high bonus multiplier like TR or FF.
So the actual average DPS of a single hydra should not be more than 84% of the sheet dps.
The question is, does recasting an hydra before the previous one expires still cancel the layer benefiting from buffs of the previous one ? This would mean that chain casting hydra would only let 1 to 3 ticks (depending on the FPA) being at full damage instead of 16, thus diving the dps by a lot.
I didn't find specific info on that, but I didn't know where to look for it. So I just tested it in game on Gom.
Result : I confirm that recasting an hydra just after another one cancel all the layer buffs from the previous one, whatever the distance from the mob. Chain casting hydra is a huge DPS loss.
So the sim is perfectly right, it was just my lack of knowledge. Thank you for your time !

Yep that is pretty much what we figured out back when I was making the hydra simulation.

authors: d07RiV dominiklohmann plopinou


text:
Squarify shouldn’t be stable by default? How to reset?

The squarified treemap layout stores the squarified layout in node._squarify. This means you can clear the metadata to recompute a non-stable layout like so:
treemap(root.eachBefore(function(d) { delete d._squarify; }));

Yet this is non-obvious and not documented.

[ ] Should the squarified layout store the metadata by default?
[ ] Should the squarified layout compute a stable layout by default if metadata is present?
[ ] How does one clear the stored metadata to compute a fresh layout?

You can always clone a hierarchy using node.copy, so I don’t think there’s a need for an explicit clear operation. And, not storing the computed metadata feels like a trivial optimization, so better to just do it by default.

license: isc


text:
🛑 Dermazone is down

In a552529, Dermazone (https://dermazone.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dermazone is back up in 881c68f.


text:
🛑 minecraft server (6365, 6366) is down

In 53977f2, minecraft server (6365, 6366) (http://sahachai.thddns.net:6366) was down:

HTTP code: 0
Response time: 0 ms

Resolved: minecraft server (6365, 6366) is back up in 08ad212 after 71 days, 24 minutes.

repo: daddybannk/uptime


text:
Node.js SDK document how to use connect's config options, including LogOutput

connect(async (client: Client) => {

  const source = await client.host().workdir().id()
  ...

}, {LogOutput: process.stdout})

I need to create a section in docs to explain how to improve debugging.
Also need to add JSDocs on reference: https://docs.dagger.io/current/sdk/nodejs/reference/interfaces/connect.ConnectOpts

authors: jpadams slumbering

repo: dagger/dagger


text:
🐞 No completion is installed when I install though homebrew

What is the issue?
When I install dagger using homebrew:
$ brew reinstall dagger
==> Fetching dagger/tap/dagger
==> Downloading https://dl.dagger.io/dagger/releases/0.12.2/dagger_v0.12.2_darwin_arm64.tar.gz
Already downloaded: /Users/rleone/Library/Caches/Homebrew/downloads/99fd18c03c229447e23557d450e1036a51b6d58dc24084bffb8d4b3c57b8df6b--dagger_v0.12.2_darwin_arm64.tar.gz
==> Reinstalling dagger/tap/dagger
🍺  /opt/homebrew/Cellar/dagger/0.12.2: 5 files, 25.9MB, built in 1 second
==> Running `brew cleanup dagger`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

I don't see any messages related to installation of the completion scripts and no completion is enabled in either shells.
Dagger version
dagger v0.12.2 (registry.dagger.io/engine) darwin/arm64
Steps to reproduce
brew install dagger
Log output
No response

What shell are you using? I just tried this and the completion is installed properly for my shell (zsh).
Alternatively you can easily generate the completion for your shell using dagger completion <shell> (check the help dagger completion --help)

I'm also using zsh on macos with homebrew. I've retried and it still does not work.
I think the reason is related to the fact that no shell completion is mentioned here: https://github.com/dagger/homebrew-tap/blob/main/dagger.rb

I tried to repro with the latest version (v0.12.4) and it works just fine, both on zsh and bash.
Note that you need to load the site-functions from homebrew explicly from your zsh config: https://docs.brew.sh/Shell-Completion#configuring-completions-in-zsh
I started blank from a zsh with no config:
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
autoload -U compinit
compinit -D

dagger <TAB>
-------> completions
call        -- Call one or more functions, interconnected into a pipeline
completion  -- Generate the autocompletion script for the specified shell
config      -- Get or set module configuration
develop     -- Prepare a local module for development
functions   -- List available functions
help        -- Help about any command
init        -- Initialize a new module
install     -- Install a dependency
login       -- Log in to Dagger Cloud
logout      -- Log out from Dagger Cloud
query       -- Send API queries to a dagger engine
run         -- Run a command in a Dagger session
version     -- Print dagger version

I'll close this but feel free to re-open if you still have the issue.

authors: remyleone samalba


text:
cloak docs authentication

Github authentication for Cloak docs.

@jpadams: Because cloak is now open, I guess this PR is not relevant anymore, right ?

@slumbering what would happen if we merge this? any issues?
Seems like it could be valuable to capture this in the codebase since you've just got it working again. WDYT?

@jpadams yep there is one issue while I try to authenticate. Even if I have access to the cloak repo, I get an error 401. Not sure why because the api that check users permission works 🤔 . It shouldn't be a problem to fix the issue thought. I was just wondering do we still want to keep cloak docs private as cloak itself is now available in dagger repo? Moreover we are working with Vikram on docs versioning implementation.


text:
Uncaught exception

'Elucidate.vshost.exe' (Managed (v4.0.30319)): Loaded 'Z:\Elucidate\Elucidate-Phase_I\Elucidate\bin\Debug\TimeSpan2.dll'
A first chance exception of type 'System.NullReferenceException' occurred in Microsoft.Win32.TaskScheduler.dll

Running on Win 7 x64, when using the editor to go through the pages that have been generated.

This is caused when clicking on the "Run Times" tab shown by the TaskEditDialog.ShowDialog()
Originally posted: 2012-01-20T13:36:56

Task that is used in the dialog is generated from this code block:
using (TaskService ts = new TaskService())
{
// Create a new task
// Create a new task definition and assign properties
TaskDefinition td = ts.NewTask();
td.Data = "Your data";
td.Principal.UserId = user;
td.Principal.LogonType = TaskLogonType.InteractiveToken;
td.RegistrationInfo.Author = "Elucidate";
td.RegistrationInfo.Description = "Performs the SnapRAID Sync command after a small delay after logon";
td.RegistrationInfo.Documentation = "http://elucidate.codeplex.com/documentation";
td.Settings.DisallowStartIfOnBatteries = true;
td.Settings.Enabled = true;
td.Settings.ExecutionTimeLimit = TimeSpan.FromHours(24);
td.Settings.Hidden = false;
td.Settings.Priority = System.Diagnostics.ProcessPriorityClass.Normal;
td.Settings.RunOnlyIfIdle = false;
td.Settings.RunOnlyIfNetworkAvailable = false;
td.Settings.StopIfGoingOnBatteries = true;
Version ver = ts.HighestSupportedVersion;
bool newVer = (ver >= new Version(1, 2));
// Create a trigger that fires 15 minutes after the current user logs on and then every 1000 seconds after that
LogonTrigger lTrigger = (LogonTrigger)td.Triggers.Add(new LogonTrigger());
if (newVer)
{
lTrigger.Delay = TimeSpan.FromSeconds(30);
lTrigger.UserId = user;
}
// Create an action which opens a log file in notepad
td.Actions.Add(new ExecAction("cmd", @"/k" + FormatSnapRaidCommandArgs("Sync"), null));
// Register the task definition (saves it) in the security context of the interactive user
return ts.RootFolder.RegisterTaskDefinition(taskName, td, TaskCreation.CreateOrUpdate, null, null,
TaskLogonType.InteractiveToken, null);
}
Originally posted: 2012-01-20T13:39:30

Using this exact code to create a task, and on Windows 7 x64, I am not able to reproduce this error with the most current source code (1.7.2).
Originally posted: 2012-01-21T00:42:41

I used the released version which is 1.7.1.
Also it is not the task creation that is the problem, it's when the user goes to the tab that is displayed by the dialogShow that causes the exception.
What is the ETA for 1.7.2 ? Can I have an Alpha style download release to test ?
Originally posted: 2012-01-21T03:13:39

I did test it against the "Run Times" tab and did not see the exception. I will attach a pre-release version of 1.7.2 here. Official release is a few weeks from now.
Originally posted: 2012-01-21T10:18:26

Thanks for the file, but this does not seems to have fixed it.
When the above task code is run (TemplateFunction) there is no SnapRAID Sync in the Task Schedule Manager.
If it run a 2nd time then it will not crash.
Follow the included AVI that show the creation of the task via the template, a large pause while the showdialog is running, then me clicking each of the shown tabs until the runtimes, then the uncaught exception handler is thrown from inside the TaskScheduler.dll.
HTH's
Originally posted: 2012-01-22T06:01:20

at Microsoft.Win32.TaskScheduler.TaskFolder.DeleteTask(String Name)
at Microsoft.Win32.TaskScheduler.TaskPropertiesControl.runTimesTab_Leave(Object sender, EventArgs e)
at Microsoft.Win32.TaskScheduler.TaskPropertiesControl.runTimesTab_Enter(Object sender, EventArgs e)
at System.Windows.Forms.TabPage.OnEnter(EventArgs e)
at System.Windows.Forms.TabControl.WmSelChange()
at System.Windows.Forms.TabControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.Control.WmNotify(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.TabControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at Elucidate.Form1.btnEdit_Click(Object sender, EventArgs e) in Z:\Elucidate\Elucidate-Phase_I\Elucidate\Form1.cs:line 283
Originally posted: 2012-01-22T06:05:25

I added some better error handling and re-uploaded the assemblies. Please try and let me know if the exception persists.
Originally posted: 2012-01-22T22:43:50

Tried the new Assemblies (They still state 1.7.2.0) and got "Error shows in tab now" (See picture).
Does not pass the exception back to the code which is better. Just need better handling in the GUI part as this is "Customer facing" :-)
Originally posted: 2012-01-23T10:39:44

One more thing to try. Remove the line:

td.Principal.UserId = user;
and change the RegisterTaskDefinition line at the end to:
ts.RootFolder.RegisterTaskDefinition(taskName, td);

Originally posted: 2012-01-23T13:51:37

Done as suggested,
Still the same result as in the "Error shows in tab now.png"
Originally posted: 2012-01-24T11:51:13

I was hoping changing those two lines would prevent the exception. To hide the error text, set the ShowErrors property to false. Try new assemblies in zip file.
Originally posted: 2012-01-25T11:05:34

This is still not working, because when the Editor is loaded and a user clicks on the OK button (Do not even have to go to other tabs for that) the exception (as already mentioned) is thrown back to the calling application, just now from a different place in the editor.dll:
at Microsoft.Win32.TaskScheduler.TaskFolder.RegisterTaskDefinition(String Path, TaskDefinition definition, TaskCreation createType, String UserId, String password, TaskLogonType LogonType, String sddl)
at Microsoft.Win32.TaskScheduler.TaskEditDialog.okBtn_Click(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at Elucidate.Form1.btnEdit_Click(Object sender, EventArgs e) in Z:\Elucidate\Elucidate-Phase_I\Elucidate\Form1.cs:line 303
Originally posted: 2012-01-25T11:36:39

I have managed to implement a workaround for this that may help you understand what variables are not being initialised (That's what your errors are stating)
Goto the following Diff [http://elucidate.codeplex.com/SourceControl/changeset/changes/73650#Elucidate-Phase_I%2FElucidate%2FForm1.cs]
and scroll down to lines 319.
There you will see that if the template function is used, then the GetTask(taskName) is called again, in order to return a fully initialised Task that will then allow the edit's and okay buttons to be used correctly
Originally posted: 2012-01-26T12:44:51

You must have missed one of my comments. If you will remove the following lines from GetTaskTemplate, you will get rid of your errors and the long delay in bringing up the editor and it will not change the functionality of your code. You cannot specify an interactive token and a user account together.

td.Principal.UserId = user;
td.Principal.LogonType = TaskLogonType.InteractiveToken;

Originally posted: 2012-01-27T00:14:36

The template function was taken from your "Complex example" where those 2 lines are together. [http://taskscheduler.codeplex.com/wikipage?title=Examples&referringTitle=Documentation]
And yes I did perform the steps you requested.
I shall try again tonight, but the long delay is still there even when editing an already existing Task.
Originally posted: 2012-01-27T01:57:22

I can confirm that commenting out

td.Principal.UserId = user;
in the template function and then using the task directly in the Edit dialog causes an exception to be thrown when pressing ok.
I can also confirm that the timings (Delay) are the same.

Originally posted: 2012-01-27T12:26:23

I have copied the task creation code from your Elucidate code exactly and put it in my test harness on Win7 x64. The dialog launches in 2.4 seconds and does not error when making changes and hitting Ok. Below is the code I'm using:
const string taskName = "Test";
TaskDefinition td = ts.NewTask();
td.Data = "Your data";
td.RegistrationInfo.Author = "Elucidate";
td.RegistrationInfo.Description = "Performs the SnapRAID Sync command after a small delay after logon";
td.RegistrationInfo.Documentation = "http://elucidate.codeplex.com/documentation";
td.Settings.DisallowStartIfOnBatteries = true;
td.Settings.Enabled = true;
td.Settings.ExecutionTimeLimit = TimeSpan.FromDays(1);
td.Settings.Hidden = false;
td.Settings.Priority = System.Diagnostics.ProcessPriorityClass.Normal;
td.Settings.RunOnlyIfIdle = false;
td.Settings.RunOnlyIfNetworkAvailable = false;
td.Settings.StopIfGoingOnBatteries = true;
Version ver = ts.HighestSupportedVersion;
bool newVer = (ver >= new Version(1, 2));
// Create a trigger that fires 30 seconds after the current user logs on
LogonTrigger lTrigger = new LogonTrigger();
if (newVer)
{
lTrigger.Delay = TimeSpan.FromSeconds(30);
lTrigger.UserId = user;
}
td.Triggers.Add(lTrigger);
// Create an action which opens a log file in notepad
td.Actions.Add(new ExecAction("cmd", @"/k", null));
// Register the task definition (saves it) in the security context of the interactive user
ts.RootFolder.RegisterTaskDefinition(taskName, td, TaskCreation.CreateOrUpdate, null, null, TaskLogonType.InteractiveToken);
// Edit task
Task t = ts.GetTask(taskName);
TaskEditDialog editorForm = new TaskEditDialog();
editorForm.Editable = true;
editorForm.Initialize(t);
editorForm.RegisterTaskOnAccept = true;
editorForm.ShowDialog();
Originally posted: 2012-01-29T21:27:15

Thanks for the reply

It will not error because you are using the workaround of finding the task [Task t = ts.GetTask(taskName);] rather than using the one generated from the RegisterTaskDefinition return.
I included a video of how long it takes on my Win7 x64 machine, and it still takes that long. What machine OS are you using ?

Originally posted: 2012-01-30T10:15:47

I just changed it so I am using the Task returned from RegisterTaskDefinition and get the same results as before: No exception and quick display of dialog. There must be something else. I'm running Windows 7 (6.1.7601) x64 on an old Centrino2 processor with 4Gb RAM. Check to make sure you aren't disposing the task instance before running the dialog. It seems there was a place where you put the Task or TaskDefinition variable in a "using" statement.
Originally posted: 2012-01-30T11:52:04

Fixed. Cause is mixing old .NET with new (>3.5) .NET assemblies.
Originally posted: 2012-08-03T09:37:06

repo: dahall/TaskScheduler


text:
[vb.net] Doesn't work in XP

Hello,
I am trying to use this library in my app. Here is the code I was testing:
Dim ts As New TaskService()
Dim td As TaskDefinition = ts.NewTask
td.RegistrationInfo.Description = "Test"
Dim dt As New BootTrigger
dt.Repetition.Interval = TimeSpan.FromMinutes(20)
dt.Delay = TimeSpan.FromMinutes(20)
td.Settings.Hidden = True
td.Triggers.Add(dt)
td.Actions.Add(New ExecAction("notepad.exe", "C:\test.log", Nothing))
ts.RootFolder.RegisterTaskDefinition("Test", td)
It's based on the provided example. It works well in Win 7 X64, I tried it on XP 32 and it didn't work. I am not sure why it's not working. Any help would be appreciated.
Thanks
Originally posted: 2012-05-20T15:42:41

You must set dt.Repetition.Duration to a value larger than the Interval under XP. You should be getting an exception that says that. Everything else looks good.
Originally posted: 2012-05-21T07:27:43

Thank you Dahall, yes I did actually, right after my post. I tried this:
Added:
dt.StartBoundary = DateTime.Now.AddMinutes(20)    ' Got from another thread with a similar issue
dt.Repetition.Duration = TimeSpan.FromDays(1)
I didn't get any errors, but the task still not added! Is there anything thing else need to be defined, in order to make work under XP.
Originally posted: 2012-05-21T08:45:25

Adding 20 minutes to the StartBoundary doesn't do anything with a BootTrigger. I'd leave that out.
You have set the Hidden property to true. If you didn't get any errors, the task may have been created and is just not visible. Under XP, you can open a Command Prompt, go to the \Windows\System32\Tasks folder and look to see if the "Test" file exists when you do "dir /ah" to view hidden files.
Originally posted: 2012-05-21T10:04:49

hi Dahall, Thanks for your replay. you're completely right. It was there but hidden. I removed the startboundary, it didn't make any difference.
The only issue now! It's not set right. if the same code is excuted under win 7 it will be triggered at start-up and then repeated every 20 min. In XP, it only starts up and it doesn't repeat. I am not sure if this option is supported under xp, but not sure.
Originally posted: 2012-05-21T10:57:32

This may be a subtle difference of the BootTrigger between versions.
Originally posted: 2012-05-23T18:55:16


text:
chore(develop): release rptest 3.0.0

:robot: I have created a release beep boop
3.0.0 (2024-04-05)
⚠ BREAKING CHANGES

update rp action

Features

update rp action (561586e)

Bug Fixes

docs: document release process (005dadd)
test: test7245245354 (621d42e)
test: test7245245354 (8ccc3f7)
test: test7245245354 (a0ed9da)
test: test7245245354 (54e952d)
test: test7245245354 (f97c7c7)
test: test72452453545 (68161df)
test: test72452453545 (a9a687b)
test: test72452453545 (a4e930f)
test: test72452453545 (870aae1)
test: test72452453545 (bcb30a3)
test: test72452453545 (8a2a15f)
test: test72452453545 (1436130)
test: test72452453545 (446b097)
test: test72452453545 (c540d66)
test: test72452453545 (3d89245)
test: test72452453545 (e950c91)
test: test72452453545 (ee54fec)
updates (d7e2a57)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/dailywraith/rptest/releases/tag/rptest-v3.0.0 :sunflower:

repo: dailywraith/rptest


text:
Null safety (+ remove redundant example subdirectory)

Simplest changes to achieve null safety, including dependency upgrades and deletion of the example subdirectory, which was just the standard outdated flutter example and would have needed pointless changes.

Thanks
Using like -
dev_dependencies:
  flutter_native_splash: ^1.0.3
  flutter_launcher_icons: ^0.9.0
  flutter_launcher_name:
    git:
      url: git://github.com:sjmallon/flutter_launcher_name.git
      ref: adcd03ac5ee7609d4e9c61c9d6b246a7a083dcf4


text:
Missing Storybook examples

We want to achieve full coverage of our components in Storybook. This means all features and design options available to users are represented by a separate story.
At the very minimum, we want to show as much as the official daisyUI docs show to demonstrate that everything has been ported over for this React wrapper.
Here are the components missing stories from the daisyUI docs:

[X] Dropdown
[X] Modal
[X] KBD
[X] Stats
[X] Input
[X] Rating
[X] Select
[X] TextArea
[X] Drawer
[X] Hero
[X] InputGroup
[X] Mask
[X] Breadcrumbs
[X] Menu
[X] Navbar
[X] Steps
[ ] Tabs

Tabs story book merged #191. Issue should be closed

authors: Spelchure benjitrosch

repo: daisyui/react-daisyui


text:
to_peer_paserk_id for k3.secret

This is a feature request because to_peer_paserk_id is working as documented.
Is there a technical reason why to_peer_paserk_id does not work on a V3 secret key?
If Yes, can we add it to the documentation?
If No, can we add support for it?

Thanks for your report. I just forgot to implement it. Please wait for a while.

@Eh2406 I've fixed this bug and released v1.6.6. Could you try the latest version?

That works well! Thank you!
Does it make sense to add a more general way to get the public key from a secret key?
So that the to_peer_paserk_id is a short hand for to_peer_key().to_paserk_id().

Yes, it does. It's good idea. Thanks.
I should have named "to_public_paserk_id()" instead of "to_peer_paserk_id()" so "to_public_key()" (or "public_key()") might be useful. I will try to find time to implement it.

repo: dajiaji/pyseto


text:
Demo page failed open

What is the expected behavior?
shows demo
What is the current behavior?
failed in "The dependencies for this project couldn't be resolved."
What are the steps to reproduce?
open demo page in browser
https://stackblitz.com/github/dalelotts/angular-bootstrap-datetimepicker-demo
Which versions of angular-bootstrap-datetimepicker, OS, TypeScript, browsers are affected?
newest version
newest chrome
typescript 2.5+
Is there anything else we should know?

Added this to existing defect for stackblitz https://github.com/stackblitz/core/issues/1099

Related issue started today https://github.com/stackblitz/core/issues/1109


text:
Pev2 vue3

This is an important update!
Now that PEV2 is even easier to use as a standalone project (See https://github.com/dalibo/pev2#all-in-one-local-no-installation-no-network), I decided to get rid of the "don't store immediately in DB" and the "share" button. Now the plans are always sent to server.
PEV2 has been updated and we're now using Vue3 + ViteJS for the build process. It's faster and requires less configuration.
Also because plans are stored in DB, localStorage usage is much less important. The issue #6 will not be relevant anymore.
I decided not to change entropy yet. I've never heard of anyone complaining of the lack of entropy in https://explain.depesz.com. Please correct me if I'm wrong.

I've never heard of anyone complaining of the lack of entropy in https://explain.depesz.com/. Please correct me if I'm wrong.

Depesz has an option to anonymize plans, which I've always used, while Dalibo doesn't. I also never felt comfortable using Depesz for anything sensitive, but I was able to use Dalibo all of the time since it didn't share my plans with the serevr. The two are not comparable. Why not just make the very simple change to increase entropy?

@nightpool thanks for your honest feedback. I'll consider adding more entropy. I left the issue you opened a while ago open.
Additional question: Are you aware that there is a standalone (browser only) version of PEV2? Do you use it?

authors: nightpool pgiraud

license: PostgreSQL


text:
Update README.md

Fix a typo in one of the code samples.

Thanks!

authors: BlakeBarrett daltoniam

repo: daltoniam/Starscream


text:
CopyProxyHttpResponse related Exception

I was catching 12 exceptions in a week that all related to this one.
System.NullReferenceException: Object reference not set to an instance of an object.
at ProxyKit.ProxyMiddleware.<CopyProxyHttpResponse>d__4.MoveNext() at offset 37
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at offset 12
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task) at offset 46
at ProxyKit.ProxyMiddleware.<Invoke>d__3.MoveNext() at offset 236
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at offset 12
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task) at offset 46
...

Is this Exception related to CopyProxyHttpResponse?  I doubted this could be related to client disconnects.  What do you think?

Are you still seeing this? Any ideas on how to reproduce?

I'm not seeing this anymore.  I have no clue what's going on that week. Closing it.

Ok thanks for letting me know. Please re-open if it occurs again. It smells like a client disconnect...

repo: damianh/ProxyKit


text:
maybe rename repository to "solitaire-pwa"

The correct spelling of the word solitair in English is solitaire, so it might make sense to rename the repository to conform to that.

Ah it seems I made a mistake. Thanks for pointing it out!

Ah it seems I made a mistake. Thanks for pointing it out!

authors: HonkingGoose damymetzke

repo: damymetzke/solitaire-pwa


text:
Hanime.TV

Addon Manifest URL
https://94c8cb9f702d-hanime-tv-addon.baby-beamup.club/manifest.json
Addon Description
Watch hentai online free download HD on mobile phone tablet laptop desktop. Stream online, regularly released uncensored, subbed, in 720p and 1080p!
Language of Content
No response
Choose Labels

[X] anime
[ ] debrid support
[X] http streams
[ ] live tv
[ ] metadata
[ ] misc
[ ] movies
[ ] music
[X] nsfw
[ ] radios
[ ] subtitles
[ ] torrents
[ ] tv shows
[ ] video games

When ever I try to add the addon it shows error
And same goes if we copy the link and do plz help regarding this
Or provide an alternative link for this

authors: Tsukeyomiii danamag

repo: danamag/stremio-addons-list


text:
Starting a new raid regex

Bot is running, he has all permissions on the discord server, he is member on the server (also online when started). but he doesn't do anything.
On starting the bot this message appears:

1 raid channel(s)
raid channel: raid-group-this-city
raid viewer role: raid-viewer
raid organizer role: raid-organizer

I write

!raid-lugia at XXX, disappears at 8pm

also

@raid-lugia at XXX, disappears at 9pm

and

raid-lugia at XXX, disappears at 7pm

do I have to trigger the raid in another way?
Maybe a better documentation for this. Do I have to implement roles for every pokemon? so raid-lugia is a role on the server? I also tried this, but doesn't work.

I'm looking forward to an answer. Can you explain pls?

@Fabio1988 I was having same issue you have to create the roles for the raids that you want available eg:raid-lugia, raid-kyogre I thought it was automatic also until I tried it.

@divnotded Hy, thanks for your answer :)
I also created a role with "raid-lugia"
This role doesn't have a member, or must the bot be a member of it?
So I write down:
@raid-lugia CITY-STREET, disappears at 1pm

no it is listening for the @role-raidboss mention no members are assigned to it I am still having issues wth time being off have you figured that out

i have a role "raid-kyogre" but I have to say "Allow Anyone to Mention This Role" for this role, so I can use @raid-kyogre... But nothing is happen when I write. Can you please explain exactly? sorry.

Are you announcing it in a channel where the bot has the following permissions:
To test the bot, you will need to enable it to announce raids on a channel-by-channel basis.

The bot requires read and manage message permissions in any channel its capable of announcing raids.

http://discord-raid-coordinator.readthedocs.io/en/latest/

The bot needs manage message permissions in the channel in which it announces raids, since it works by updating the message when the raid is complete

The bot have all permissions for reading and managing..
further for testing I gave the bot all permissions. But nothing happened.
In the channel raid-group-city he also had the permissions.
Also I tested for creating "roles" for "raid-kyogre", is this neccessary? But this also doesn't work.
How do I have to write the commands? as mentioned above, I tried those comments, but nothing happen.

I used it on Ubuntu and Windows... I don't tried it out on a server yet.. for testing I keep it on local machine

Invite me to your discord server and I can help you examine the permissions

Hello.  I just starting setting you this discord bot and see a similar issue.  Were you able to resolve this?  What did you find to be the issue?
Thanks

If people want guidance on this I can help out by adding me to a server and I can assist with debugging. Though to be honest I am about to stop maintaining the project, since I'm on the verge of launching a hosted re-written version of the bot. If people want a low dependency self-hosted version they can run this or Meowth.
Either way I'll help if I can.

https://pokenavbot.com
This is the rewritten but closed source version of the bot -- much improved and used by hundreds of servers. Closing this issue -- this project will no longer be maintained

authors: Fabio1988 dandesousa divnotded opensore

repo: dandesousa/discord-raid-coordinator

license: unlicense


text:
Blank screen if OAuth token is invalid

The /api/users/me endpoint responds with a 401 Unauthorized response if the client's OAuth access_token is invalid. The client does not properly catch this error, and instead just shows a blank white screen; right now the only way to get the UI to appear again is to manually clear the cookie from the browser.

What's the easiest way to reproduce this?

I think the easiest way is to just manually edit the cookie to invalidate it.

Log in to dandiarchive w/ github oauth
Open chrome dev tools -> Application tab -> Local Storage tab
Invalidate the access_token field of the oauth-token-xxxxx entry by modifying it (not deleting it), then refresh

loosely related to https://github.com/dandi/dandi-api/issues/331 -- as dandiarchive.org web-ui causes disabled users to end up in that api.dandiarchive.org page instead of IMHO just reporting in its web ui "Waiting approval" or "User is not enabled" or something alike.

authors: mvandenburgh waxlamp yarikoptic

repo: dandi/dandiarchive


text:
danger local crashing due to missing repo_slug

Haven't had time to look into this yet, I get the following error:
~/Developer/fastlane/danger/bin/danger local --verbose

Danger local requires a repository hosted on github.
Not a Pull Request - skipping `danger` run
/Users/fkrause/Developer/fastlane/danger/lib/danger/commands/local.rb:25:in `run': undefined method `repo_slug' for nil:NilClass (NoMethodError)
	from /Users/fkrause/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/claide-1.0.0.beta.1/lib/claide/command.rb:312:in `run'
	from /Users/fkrause/Developer/fastlane/danger/bin/danger:5:in `<main>'

    def run
      ENV["DANGER_USE_LOCAL_GIT"] = "YES"

      dm = Dangerfile.new
      dm.env = EnvironmentManager.new(ENV)

      source = dm.env.ci_source
      unless source.repo_slug

where source is nil

What is your repo origin?
On my phone, replies will be curt.
On Mar 3, 2016, at 21:30, Felix Krause notifications@github.com wrote:

Haven't had time to look into this yet, I get the following error:
~/Developer/fastlane/danger/bin/danger local --verbose
Danger local requires a repository hosted on github.
Not a Pull Request - skipping danger run
/Users/fkrause/Developer/fastlane/danger/lib/danger/commands/local.rb:25:in run': undefined method repo_slug' for nil:NilClass (NoMethodError)
from /Users/fkrause/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/claide-1.0.0.beta.1/lib/claide/command.rb:312:in run'     from /Users/fkrause/Developer/fastlane/danger/bin/danger:5:in '
—
Reply to this email directly or view it on GitHub.

Ah, that's probably it:
$ git remote -v
grill	https://github.com/fastlane/playground (fetch)
grill	https://github.com/fastlane/playground (push)

There is no origin, just a grill. I'll update danger to handle that more gracefully :+1:

:+1: - we can also do better on the messaging there

@orta would it be nice if, along with better messaging, you could specify a remote with say, --remote?

For the local command? I think that could make sense if we don't find any remotes :+1: - i this case I think it's fine to also just use any remote, but prioritise origin if there's more than oen.

If you wouldd clone and fork using hub/hub, you'd have 2 remotes, origin being the original repository and your username being the fork. Not sure which one you would want to use in that case, but I guess origin would do then, right?

in that case, we should prioritise origin, as that's the one with the pull requests anyway

OK, we have better repo checking, this issue now only corresponds to doing a proper nil check on the repo slug, so that Danger doesn't crash

@orta I can have a look at that tonight

authors: KrauseFx jeroenvisser101 orta

repo: danger/danger


text:
danger Action fails on POST

Report
What did you do?
Use the GH action thusly:
  danger:
    runs-on: ubuntu-latest
    permissions:
      contents: read
      pull-requests: write
    steps:
      - uses: actions/checkout@v2
      - uses: danger/danger@master
        env:
          DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}

What did you expect to happen?
It to work.
Note that if I do a "bundle exec danger" instead, it logs the problems to the log (but cannot write a comment to the PR), which is not optimal, but at least is useful. With the Action it just fails to run.
What happened instead?
bundler: failed to load command: danger (/usr/local/bundle/bin/danger)
/usr/local/bundle/gems/octokit-7.2.0/lib/octokit/response/raise_error.rb:14:in `on_complete': POST https://api.github.com/repos/chef/chef/issues/13976/comments: 403 - Resource not accessible by integration // See: https://docs.github.com/rest/issues/comments#create-an-issue-comment (Octokit::Forbidden)

Your Environment

Which CI are you running on? GH Actions
Are you running the latest version of Danger? Yes
What is your Dangerfile?

# Enforce our Gemfile update policy
if git.modified_files.include?('Gemfile.lock')
  if git.modified_files.include?('Gemfile')
    message "PR updates Gemfile.lock, but it also updates Gemfile, so that" +
      " is probably OK - but the reviewer should check updates are soley" +
      " from the Gemfile update"
  elsif !github.pr_body.include?('--conservative')
    if github.pr_body.include?("#gemlock_major_upgrade")
      message "PR updates Gemfile.lock, but output doesn't appear to be in" +
          " the PR Description. However #gemlock_major_upgrade does, so allowing"
    else
      failure "Gem/Bundle changes were not documented in the Description. If" +
        " this is a major update, add #gemlock_major_upgrade to the PR"
        " Description."
    end
  end
end

Hey there, I don't think we support Danger being used as an action ( https://github.com/marketplace?category=&type=actions&verification=&query=danger ) maybe it's github guessing what to do?

Uh, what? Your code and your docs disagree with you:
https://github.com/danger/danger/blob/d9fff7cbed6b0a4bfb6465709d0352e700bdd00e/lib/danger/ci_source/github_actions.rb#L4

Are you using bundler-cache: true in your workflow? Try "clearing" the cache by setting/incrementing cache-version. See setup-ruby: Dealing with a corrupted cache.

No, we are not (well, we don't specify, and my understanding is the default is false)

Ok! Got the same error and the above fix worked - perhaps it could give a clue anyway.

... there's no setup-ruby step required when using the built-in Action, it handles that itself. As I said, see:
https://github.com/danger/danger/blob/d9fff7cbed6b0a4bfb6465709d0352e700bdd00e/lib/danger/ci_source/github_actions.rb#L4

authors: andrelaszlo jaymzh orta


text:
Add VSTS Dangerfile plugin

Adds all the helpful Dangerfile properties you know and love from other sources to VSTS. You can now specify vsts in your Danger file like so warn "PR is classed as Work in Progress" if vsts.pr_title.include? "[WIP]"
VSTS does not handle adding html to comments so for now you can only use the markdown_link property to add links to files.

          1 Error

:no_entry_sign:
Please include a CHANGELOG entry.
You can find it at CHANGELOG.md.

          1 Message

:book:
@petester42 is not a contributor yet, would you like to join the Danger org?

  Generated by :no_entry_sign: Danger

Great - yeah, this looks 👍 to me - good to go on 🍏

authors: DangerCI orta petester42


text:
Support trip service

Hi,
Trip service is not implemented yet. Do you have any idea to support it?
Thanks.

I have managed to implement trip service. Let me know if you are interested to get those changes. I’m happy to open a PR.
Thanks.

Sure, happy to review. Disclaimer: I personally don't use OSRM any longer, so don't have strong feelings about adding more services or not :hugs:

repo: daniel-j-h/libosrmc


text:
Can't get md-table-pagination to work

Hello everyone!
I don't know if this is a bug or something I am missing, but I have been trying to use  with no success. I can show data, and the pagination shows up. When I click on the different pages, the "page" value changes and a request is made to the server with the correct arguments, getting back valid data from the server. However, after the first page, all pages show up empty. I don't see any errors so I have no clue about what the issue is. I haven't found any complete example including a controller and a service that requests data from an external API so I don't have a model to follow.
Can someone please have a look and see if the error is on my side (most probably):
HTML

            <md-table-container>

                            Title
                            Start Year
                            Fat (g)
                            Rating

                            {{show.title}}
                            {{show.startYear}}
                            {{show.endYear}}
                            {{show.rating}}

            </md-table-container>

            <md-table-pagination md-limit="query.limit" md-on-paginate="marvel.onPaginate" md-page="query.page" md-total="{{marvel.series.data.total}}" md-page-select="true" md-boundary-links="true"></md-table-pagination>

Controller
app.controller('marvelController', ['marvelService', '$scope', function(marvelService, $scope) {
    'use strict';

    var controller = this;
    $scope.selected = [];

    $scope.query = {
        order: 'title',
        limit: 10,
        page: 1,
        filter: ''
    };

    controller.success = function(data) {
        console.log ('Success!');
        controller.series = data;
    }

    controller.onPaginate = function (page, limit) {
        console.log ('paginate!'); // this is fired when I click the pages
        marvelService.onPaginate(page, limit, controller.success);
    }

    marvelService.getSeries($scope.query, controller.success);

}]);

Service
app.factory('marvelService', ['$resource', function($resource) {

    var apiKey = '183a5cde76132c19a818d4874fb43ada';

    var vm = this;
    vm.onPaginate = onPaginate;
    vm.checked = false;
    vm.results = [];
    vm.progress = undefined;
    vm.filterVisibility = false;

    vm.filters = {
        search: '',
        limit: '10',
        order: '',
        page: 1
    };

    var series = $resource('http://gateway.marvel.com:80/v1/public/series');

    var getSeries = function (filters, cb) {
        var params = filters || vm.filters;
        var offset = (params.page - 1) * params.limit + 1

        return series.get({
            limit: params.limit,
            offset: offset,
            apikey: apiKey
        }, cb).$promise;
    }

    var onPaginate = function (page, limit, cb) {
        return getSeries(angular.extend({}, vm.filters, {
            page: page,
            limit: limit
        }), cb);
    }

    return {
        getSeries: getSeries,
        onPaginate: onPaginate
    };
}]);

Found it: the issue was in the ng-repeat directive:
| limitTo: query.limit: (query.page - 1) * query.limit
I removed that and now it works!

repo: daniel-nagy/md-data-table


text:
🛑 DMU is down

In 34fd2fa, DMU (https://www.mobilitateurbana4.ro) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DMU is back up in b003bbc.


text:
'prettifyTitle' setting does not work as expected (or its name is misleading)

When prettifyTitle == true everything works fine. But when it's turned off I would expect the title to be equal the the project's name -- at least if there is only 1 project directory.
But instead the input is empty.
It may also be useful to specify the kind of prettification 🤔
See https://github.com/danielbrodin/atom-project-manager/blob/6b1b8350e1582355e46273308c428c5076a53d88/lib/views/EditView.js#L140-L142

Thanks! 👍

repo: danielbrodin/atom-project-manager