text:
Error in compiling the final file to exe

when i try to make the dropper i got this error

Traceback (most recent call last):
File "Dr0p1t.py", line 185, in
main()
File "Dr0p1t.py", line 174, in main
make_copy( os.path.join("temp","dist",file_name),os.path.join("output",file_name) )
File "Dr0p1t.py", line 43, in make_copy
old_file = open( old,"rb" )
FileNotFoundError: [Errno 2] No such file or directory: 'temp\dist\Your_daily_malware_50.exe' <

i'm running windows 10 and i used it with administrator privileges

That's because pyinstaller didn't compiled the script for some reason
You can try removing "--noconsole" from the varaible command in the main script "Dr0p1t.py" or wait for my fix I will handle this and let you know
In meanwhile if you want to help, you can replace the lines 164,165,166 in Dr0p1t.py with the following line and show me the output :
        p  = subprocess.call( command.format(file_name+".py") )
Best regards

Traceback (most recent call last):
File "c:\users\pitns\appdata\local\programs\python\python36-32\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "c:\users\pitns\appdata\local\programs\python\python36-32\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\PiTnS\AppData\Local\Programs\Python\Python36-32\Scripts\pyinstaller.exe_main.py", line 9, in
File "c:\users\pitns\appdata\local\programs\python\python36-32\lib\site-packages\PyInstaller_main.py", line 90, in run
run_build(pyi_config, spec_file, **vars(args))
File "c:\users\pitns\appdata\local\programs\python\python36-32\lib\site-packages\PyInstaller_main_.py", line 46, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "c:\users\pitns\appdata\local\programs\python\python36-32\lib\site-packages\PyInstaller\building\build_main.py", line 788, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File "c:\users\pitns\appdata\local\programs\python\python36-32\lib\site-packages\PyInstaller\building\build_main.py", line 734, in build
exec(text, spec_namespace)
File "", line 16, in
File "c:\users\pitns\appdata\local\programs\python\python36-32\lib\site-packages\PyInstaller\building\build_main.py", line 212, in init
self.postinit()
File "c:\users\pitns\appdata\local\programs\python\python36-32\lib\site-packages\PyInstaller\building\datastruct.py", line 161, in postinit
self.assemble()
File "c:\users\pitns\appdata\local\programs\python\python36-32\lib\site-packages\PyInstaller\building\build_main.py", line 317, in assemble
excludes=self.excludes, user_hook_dirs=self.hookspath)
File "c:\users\pitns\appdata\local\programs\python\python36-32\lib\site-packages\PyInstaller\depend\analysis.py", line 560, in initialize_modgraph
graph.import_hook(m)
File "c:\users\pitns\appdata\local\programs\python\python36-32\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1509, in import_hook
source_package, target_module_partname, level)
File "c:\users\pitns\appdata\local\programs\python\python36-32\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1661, in _find_head_package
target_module_headname, target_package_name, source_package)
File "c:\users\pitns\appdata\local\programs\python\python36-32\lib\site-packages\PyInstaller\depend\analysis.py", line 209, in _safe_import_module
module_basename, module_name, parent_package)
File "c:\users\pitns\appdata\local\programs\python\python36-32\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2077, in _safe_import_module
module_name, file_handle, pathname, metadata)
File "c:\users\pitns\appdata\local\programs\python\python36-32\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2167, in _load_module
self._scan_code(m, co, co_ast)
File "c:\users\pitns\appdata\local\programs\python\python36-32\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2585, in _scan_code
module, module_code_object, is_scanning_imports=False)
File "c:\users\pitns\appdata\local\programs\python\python36-32\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2831, in _scan_bytecode
global_attr_name = get_operation_arg_name()
File "c:\users\pitns\appdata\local\programs\python\python36-32\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2731, in get_operation_arg_name
return module_code_object.co_names[co_names_index]
IndexError: tuple index out of range
Traceback (most recent call last):
File "Dr0p1t.py", line 183, in
main()
File "Dr0p1t.py", line 172, in main
make_copy( os.path.join("temp","dist",file_name),os.path.join("output",file_name) )
File "Dr0p1t.py", line 43, in make_copy
old_file = open( old,"rb" )
FileNotFoundError: [Errno 2] No such file or directory: 'temp\dist\Your_daily_malware_2.exe'<

The reason of the error is you are using python 3.6 and it's not supported by pyinstaller yet ! See.
As you can see the error is not from the framework ,so you have two solutions :

Switch back to python 3.5 and the framework will work fine.
Wait until pyinstaller support 3.6 version :smile:

Thank you for your concern

Thanks :) gonna try switching back

Thank you, its workin good with python 3.5.3

You are welcomed, have fun ;)


text:
Random Crashers With Skyrim Together

I use this mod with skyrim together and a lot of the times it crashed on loading (i think i needed a save without any other mods) but i managed to fix this, the main problem is that when i pick up some items it just crashes, i don't get what it is

it seems to crash whenever i take an item that is worn by a corpse, mainly in the moment where an item should be removed from the actual in game corpse

Thanks for the report. Could you be a bit more specific about reproducing the bug? Is the item added to the wheel before it's removed from the corpse?

ok, so those sare the prerequisites:

Install mod skyrim together reborn (i'm usually the host of the server too but even if i don't run it it still crashes)
Install mod the v0_0_5 of the mod menu linked in the last patreon post (it also happens with the older versions)
Install mod address libraries for SKSE
Install mod skyui 5_2_SE (i can't seem to assign the slots of the wheel menu without this mod, but i like skui so it's fine)
Install mod skse 64_2_02_03
don't know if this matters but i'm playing in italian

how to replicate:
my specific case

i'm in whiterun
go up to the vendor or a guard
kill them
loot them: either with r-key (loot all) or by selecting the single items
crash
in this case it seems a bit random the crash, it always happens whenever i loot, but it's inconsistent the problem is only when i loot otherwise it works perfectly.
i know it's the wheeler because i have tried to replicate without the mod installed and it doesen't crash

generic case

go up to any npc
kill them
loot them
crash
as i said before the crash seems a bit random but it always happens on the looting screen immediatly when i loot an item

i would give you a more detailed crash log but all the mods i've installed for a crash log don't really give much info
also i've tried to build the mod but the tutorials i found online don't work with this repo, could you link me a guide on how to build and debug your mod? i'm a software developer but i don't really have any experience with modding skyrim.
also when i shift the mods around (adding or removing them) i need a fresh save to load (without any mods) if i want to play with the wheel menu (i will open up another issue for this as it's a bit off topic even tho it's still a crash) but this has a simple and consistent workaround so it's not a big deal.
hope to be helpful, and thank you for your work, time, and attention

i usually use other mods too but those are the bare minimum to make wheeler work

any luck reproducing the bug?

any luck reproducing the bug?

Hi, thanks for the detailed report. I'm busy implementing other features for wheeler now; but your report should give me a really good head start. I need some other information if you could:

Does the crash happen when you take items from chests, or buy items from vendors?
Does the crash happen when you pick items from the ground?
Does the crash happen if you loot an already dead body?
It could be really helpful if you provide a .NET script crash log.

I'm still not really sure where Wheeler could cause the CTD. None of its functions interacts with the loot menu IIRC.
If you wish to build the plugin, look for the setup instruction under https://github.com/D7ry/TemplateProject_NG but use this repository for building.

I've installed the new pre release version, and the problem still stands
the crash also happens when:

Buy items from vendors
loot from dead body

the  crash does not happen when:

i take items from chests
i take phisical items from the world (like baskets, plates, cups, ect)

doesen't seem to happen when i steal but it could be the random factor, i've not tested it a lot since i always get caught.
Does the mod have any other requirement i need to install?
I'm trying to get you a .NET report but i'm having some trouble  with the installation of the NET script framework mod

i managed to get a papyrus crash log, here you go
https://pastebin.com/PFDpVhcL
I'm still trying to get a .NET log for you

source: gharchive/issue

license_type: permissive

license_source: github-api


text:
Add ability to mark function outputs as unserializable

Is your feature request related to a problem? Please describe.
In Parallel & Collect blocks, there could be a process boundary. Inputs that are invariant to each chunk of the block need to be serialized and deserialized -- but for things like clients (e.g. openai, db client) those objects aren't serializable and things break.
Describe the solution you'd like

@unserializable
def client() -> object:
   """Some client, e.g. openai, etc"""
   return ...

Then Hamilton will know that for each parallel block, we rerun this function, versus trying to run it once and trying to serialize and deserialize it.
Describe alternatives you've considered
You can get around this by making the client() function depend on some part of the parallel block (client(some_dep: object)) thereby forcing it to be run each block.
Additional context
This would be a quality of life improvement.

Similar to this: https://github.com/DAGWorks-Inc/hamilton/issues/90

Another alternative is to create a wrapper object and use that instead:
class SerializeableOpenAIClient:
    def __init__(self):
        self.client = OpenAI()

    def __getstate__(self):
        return {}

    def __setstate__(self, d):
        self.client = OpenAI()

def client() -> SerializeableOpenAIClient:
    return SerializeableOpenAIClient()

.take

authors: elijahbenizzy parthrastogicoder skrawcz

repo: DAGWorks-Inc/hamilton


text:
是否提供基于ziya的inference code？

想load一个基于ziya的video-llama模型跑video caption任务，目前是否提供类似的inference脚本。或者直接从demo.py里去改吗？

目前只有VL-only Video-LLaMA (也就是只有视觉分支的Video-LLaMA)支持中文, 可以尝试修改demo_video.py和video_llama_eval.yaml来运行本地demo并进行推理
需要注意的是，我们只是在第二阶段训练中加入了11K翻译后的指令微调数据，可能训练得不是很充分

repo: DAMO-NLP-SG/Video-LLaMA


text:
Internal Server Error - Accept a Non-Existent Federation Request

Your Environment

Versions of your services : 2.0.0-alpha
Operating System : windows 11 Docker

Describe the current behavior
Returns Internal Server Error
Describe the expected behavior
Return request not found
Standalone steps to reproduce the issue

Run the docker-compose-example-two-nodes example.
Attempt to accept a request with an id that does not exist.

Other info / logs:
accept-non-existent-fed-req.log

Same behavior exists for reject request

These edge cases are now handled and are updated in both the micro-services:

chainsource-gateway
database-agent

Examples can be found in Postman Collection

authors: irajeshegde mathisonryan

repo: DBOMproject/chainsource-gateway


text:
Add support for X509 mutual authentication/authorization

Pull request checklist
Please check if your PR fulfills the following requirements:

[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build was run locally and any changes were pushed
[x] Lint has passed locally and any fixes were made for failures

Pull request type
Please check the type of change your PR introduces:

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

What is the current behavior?
Addresses feature request for X509 mutual authentication/authorization (Resolves #43)
What is the new behavior?
The database-agent now supports X.509 mutual authentication where the mongodb server's certificate is validated to establish a TLS connection, followed by the client presenting a certificate to authorize to the mongodb instance.
In addition this PR contains the following changes:

Addition of a new test suite for the X509 authentication scenario
Refactoring/reformatting of certain files to align with linting rules
Addition of new environment variables MONGO_CONNECTION_TIMEOUT and MONGO_SERVER_SELECTION_TIMEOUT for setting tolerances in a production environment
Exit by default behaviour when initial database connection fails (to maintain parity with audit-watcher)

Does this introduce a breaking change?

[ ] Yes
[x] No

There are no breaking changes as these features are only enabled if the environment variable MONGO_TLS_MODE_ENABLED is set to 1 (which is not the default behaviour)
Other information
All the environment variables that are used to control the new functionality are documented in the README

Pull Request Test Coverage Report for Build 848750409

67 of 67 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 816912584:
0.0%

Covered Lines:
151

Relevant Lines:
151

💛  - Coveralls

source: gharchive/pull-request

authors: amithkk coveralls

repo: DBOMproject/database-agent


text:
We should change the path to the Fields and Content Description page

Flagging a discrepancy between Old and NewCantus...note the Jump to Source and Articles widgets at /field-descriptions. Also note that OldCantus hosts this page at /description rather than /field-descriptions. Also note that on NewCantus, the Manuscript Reading (MS Spelling) has "TO DO" (this section is populated in OldCantus.
OldCantus

NewCantus

I've updated the content of these pages on Staging and on Production. These are flat pages, saved in the database, so if we're going to update the path from field-descriptions to descriptions, we need to change the <a> tag in base.html, and then manually change the path associated with the page when we roll the changed code out to staging and to production.
In order to update the content of these, I basically copied and pasted the code from the relevant OldCantus page. But NB in case others need to do this - a bunch of the urls pointed to pages within cantus.uwaterloo.ca, so I had to tweak these to use local paths (also note that several other pages have different paths too - OC uses office where NC uses offices, OC uses page/637811 where we use about/id-numbers/, etc.)

And I think it's fine that these sidebar links are displayed here. Since this page is a flatpage, and the homepage is a flatpage, it will be a non-trivial to remove on this page without removing it from the homepage/etc.

I've updated the [to do] that used to be in the content of the page, on Production. We still need to change this path.

authors: dchiller jacobdgm

repo: DDMAL/CantusDB

license: MIT


text:
🛑 Catchment Scale Land Use is down

In ff43ef0, Catchment Scale Land Use (https://gis.environment.gov.au/gispubmap/rest/rest/services/abares/CLUM_50m/MapServer) was down:

HTTP code: 403
Response time: 1142 ms

Resolved: Catchment Scale Land Use is back up in bfae1ee after 2 hours, 5 minutes.

repo: DELWP-DTV/santa


text:
🛑 Catchment Scale Land Use is down

In 7038e64, Catchment Scale Land Use (https://gis.environment.gov.au/gispubmap/rest/rest/services/abares/CLUM_50m/MapServer) was down:

HTTP code: 403
Response time: 880 ms

Resolved: Catchment Scale Land Use is back up in 028e224 after 2 hours, 34 minutes.


text:
🛑 Catchment Scale Land Use is down

In 81e1ce6, Catchment Scale Land Use (https://gis.environment.gov.au/gispubmap/rest/rest/services/abares/CLUM_50m/MapServer) was down:

HTTP code: 403
Response time: 849 ms

Resolved: Catchment Scale Land Use is back up in a7ded45 after 44 minutes.


text:
🛑 vicmap-planning-api is down

In 2b38fe0, vicmap-planning-api (https://services6.arcgis.com/GB33F62SbDxJjwEL/arcgis/rest/services/Vicmap_Planning/FeatureServer) was down:

HTTP code: 411
Response time: 52 ms

Resolved: vicmap-planning-api is back up in 34f5478.


text:
ci: Mattb/set cosign installer version v3.4.0

Set version of installer back to v3.4.0 and added command line switch to suppress need for user input when signing

:tada: This PR is included in version 3.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

repo: DFE-Digital/childrens-social-care-cpd


text:
Dummy PR to test triggers

dummt pr

test


text:
Update ukraine.md

Updated deadline for ITT application
Trello card
Context
Changes proposed in this pull request
Updates to:
Ukraine page – applications deadline
Returners page – Covid guidance removed
Guidance to review

Hi @EllieNodder there is no one date for the application deadline and that's the link Apply gave me – however, I think you are right it might be very confusing to land on. So have left as just September 2023.
Hopefully this version works for both of us :)

repo: DFE-Digital/get-into-teaching-app


text:
🛑 Get into teaching is down

In 0a60f7d, Get into teaching (https://getintoteaching.education.gov.uk/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Get into teaching is back up in e15b32d after 6 minutes.

repo: DFE-Digital/teacher-services-upptime


text:
[2909] Change course to support ordering of subjects

Context
Secondary courses can have multiple subjects that have to be stored in the correct order to ensure that bursaries are calculated correctly.
To solve this, we are adding a position value on the course_subject in order to keep the original order they are given.
Changes proposed in this pull request

Add an integer field :position  to CourseSubject
Assign position when course subjects are added to a secondary course
Assign position based on the order of the params given when updating/building a new course

Guidance to review
Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

 Change course to support ordering of subjects.

Rebasing + Merging :tada:

authors: danielburnley dankmitchell

repo: DFE-Digital/teacher-training-api


text:
[3681] - Create sites update notification

Context
We want to let subscribed users know when a course's locations have changed.
Changes proposed in this pull request
When a user updates the sites (locations) for a course this will trigger a new notification indicating which sites have changed.
Guidance to review

You will need to have a Notify api key configured locally.
Run locally against publish, and update the sites for a course. The sites updated notification should be sent.
View an example notification here - https://www.notifications.service.gov.uk/services/022acc23-c40a-4077-bbd6-fc98b2155534/notification/abf23bd6-4732-4121-bcd4-193f5e0b8ace

Checklist

[ ] Make sure all information from the Trello card is in here
[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

 Basic detail notification: Location


text:
WIP: add filters to start page

Draft PR as I'm on holiday tomorrow.
Branching off https://github.com/DFE-Digital/teacher-vacancy-service/pull/1866
Jira ticket URL
https://dfedigital.atlassian.net/browse/TEVA-1132
Changes in this PR:

Add one checkbox group under a govuk-details section.

Screenshots of UI changes:
After

Closing - taking different approach and git cherry-picking some of these

repo: DFE-Digital/teacher-vacancy-service


text:
Auto plot size detection is broken

Describe the bug
Basically joining a plot thats above (basic I think?) size will make it so you cant properly use your codespace
To Reproduce
Steps to reproduce the behavior:

Join a plot you have dev on (I suggest a massive)
Try flyying from one end of the codespace to the other

Expected behavior
You can
Actual behaviour
You get stopped at a certain point
Checks
Please check all these for more infomation with the bug.

[ ] I am using the latest version.
[X] I am using the latest gihub actions build
[ ] I have tried disabling various options to see if they cause the issue, such as new ones or ones I have recently enabled.
Note: I havent tried disabling options, but afaik no new ones were added and i didnt change anything recently

cannot replicate this, does this consistently happen on your plot?

@GeorgeRNG happens on all plots for me, idk why.

try latest version then

repo: DFOnline/CodeClient


text:
send generated currency amounts to chat

Would be good to see how much currency is generated when either macro is run, so that GM can read off to the player(s) when they are looking, instead of having to open sheets to see. (also to make sure that generate currency happened since there is no feedback atm since no field on the default/tidy npc sheets)
Process:
1) select token(s)
2) run generate currency macro
   2b) or when gen loot sheet macro run
3) output to chat the amount of currency on each

Correct me if I'm wrong, but I believe the intent of your ask was to know how much money was on an NPC. With the release of 3.0.0, you can now view how much money they have directly from their sheet. So I'm not sure if this request is still valid to you... Let me know.

Yes, but the outputting the result as blind gm so that I know without having to click into the sheets is convenience option, and is a nice indicator that the macro did something without having to open multiple actors (with the gen currency macro specifically, but figure do both since they're prob using the same function).

Okay, just checking. I can still add that feature

Added this in v3.1.0

authors: DFreds sharkbruhaha

repo: DFreds/dfreds-pocket-change


text:
Main-screen is updated with video and sound

A video and necessary classes for loading the video were added.
Background music was added
It is now possible to get help from the main menu
The Apps Main Screen now displays the appropriate amount of evilness for Tank

Solves 3 of the mentioned points in #76

Changed the icon to the right of the text and made it the same size as the lowercase letters

Changed the icon to the right of the text and made it the same size as the lowercase letters

Looks much better!

authors: hannahshiels lucasnordic


text:
results on partial fine tuning for PTB?

Thank you for sharing your great work!
The paper only reports the partial fine-tuning results on AD task. Does the author have results on PTB task as well?
I really appreciate any help you can provide. Thank you once again.

Hi, according to some preliminary tests, we observed that partial fine-tuning on the PTB dataset did not outperform the baselines. Since partial fine-tuning is less important, we spent little time parameter-tuning it and only tried to maintain good performance on full fine-tuning.
However, if your task necessitates partial fine-tuning, I suggest considering using baseline TS2Vec. Based on our experiences, TS2Vec has shown promising results in partial fine-tuning scenarios.

Thank you for sharing! I appreciate it :)


text:
Add ethical issues section to project details

The RDA common metadata standard for DMPs provides the following fields new fields:
{
  "dmp": {
    "ethical_issues_exist": "yes",
    "ethical_issues_description": "We will collect personal information from human test subjects. This data should be anonymized prior to publication and preservation.",
    "ethical_issues_report": "https://dmproadmap.org/path/to/my/ethical_compliance_report.pdf"
  }
}

We need to determine how best to capture this information within a DMP. I can see 2 possible solutions:

As fields on the Project Details page (see screenshot).

The data in the common standard is at a high level so I think this may be a good place to record the information

As a question type/format that can be added to a template.

The common standard only requires the ethical_issues_exist flag to be present, and the default if 'unknown', so any templates that do not use this new question type would still be compliant.
We could make use of the conditional question logic: user tics the ethical_issues_exist box and the description and report fields get displayed

Regardless of which route we take, we will need to come up with appropriate labels and tooltip text that will help researchers understand what type of information they should provide.

will drop the new columns from the plans table. Placing this back into Pending was it will rely on the conditional question code.

repo: DMPRoadmap/roadmap

license: mit

license_source: bigquery


text:
API - issue reported by the user for API v0 and V1

@briri When trying to get the full list of plans through API V0 or V1, I do not seem to be able to collect the most recent plans, even when processing through all pages as suggested in the documentation. V1 provides the most comprehensive list of plans (330 entries) but the latest plan I seem to be able to read was created back in mid-February, and the number of items in this list has been stable since I first tried the API in February.

The logic as to which plans are returned is slightly different between the two APIs. Below is an explanation of each. I'm not sure why your numbers/counts would be static.
The logic behind which plans you see for API V0 can be found here in it's plans_controller
To summarize it:

Get all plans for the current user's Org (where one of the Org's users is an owner or coowner of the plan)
it then restricts the results based on criteria you specify (if applicable)

specific users (where the user is an owner, coowner or editor for the plan)
date range
specific templates
specific plan ids
whether or not tests should be included (they are by default)

The logic behind which plans you see for API V1 is different can be found here in it's plans_policy
To summarize this one:

it always returns publicly visible plans
if the requestor is an Api Client (using their client_id and client_secret to authenticate) then the following applies:

all plans created by that Api Client
all plans associated with the Api Client's Org (assuming the Api Client was assigned an Org)

if the requestor is a User (using their email and api_token to authenticate) then the following applies:

all of the User's Org's organizationally visible plans (where one of the Org's users is an owner or coowner of the plan)
all of the plans the User is associated with regardless of their role
if the user is an Org Admin then it will include all plans associated with that Org (where one of the Org's users is an owner or coowner of the plan)

@briri apologies i forgot to change 'i' this was reported by one of the users

thank you for the clarification though - I have shared the link for this ticket with the user, closing this here for now

Hi,
Thanks for these explanations.
We are using powerBI to send GET requests to the API V0 to get plan data and answers to the questions.
From your answers, a GET to the target URL :
https://dmp.npl.co.uk/api/v0/plans?created_after=2019-11-01
should return all test plans created by users from our organisation after the 1st of November last year.
It does not return anything, except the following error message when using python's requests instead of powerBI:
ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
I am using these headers as well:
headers = {"Authorization": f"Token token=tk1lCDdT5Tvy7-rolkcHgQ","Content-Type":"application/json"}
and turn off SSL verification .

@briri we got further comment above - do you have any further thoughts there? thank you!!!

Its hard for me to tell @magdalenadrafiova. I do not have access to that server's logs.
@FredericBrochu do you receive a response if you leave the query parameter off? (e.g. https://dmp.npl.co.uk/api/v0/plans)

Yes, we are getting a normal json dump with 10 plans' data  and no error (status code 200 )

And if we go through the pages using the ?page=X parameter, we get more data, until eventually we get this error again . This way, we only get plans up to November 2020 but not after.

Hi @FredericBrochu try escaping the question mark character. I just tried it with curl and had to add a '' before the '?' to get it to work. I'm on OSX using zsh. I don't recall having to do this in the past (perhaps a change in the recent OSX patch?) but your powerBI may be having a similar issue.
> curl -vL -H "Authorization: Token token=12345" http://localhost:3000/api/v0/plans?created_after=2019-11-01
zsh: no matches found: http://localhost:3000/api/v0/plans?created_after=2019-11-01

> curl -vL -H "Authorization: Token token=12345" http://localhost:3000/api/v0/plans\?created_after=2019-01-01
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 3000 (#0)
> GET /api/v0/plans?created_after=2019-01-01 HTTP/1.1
> Host: localhost:3000
> User-Agent: curl/7.64.1
> Accept: */*
> Authorization: Token token=nghB62S25dmi2TzGCubIGA
>
< HTTP/1.1 200 OK
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< X-Download-Options: noopen
< X-Permitted-Cross-Domain-Policies: none
< Referrer-Policy: strict-origin-when-cross-origin
< Content-Type: application/json; charset=utf-8
< X-bullet-footer-text: ["user: briley  USE eager loading detected    Plan =\u003e [:funder]\n  Add to your query: .includes([:funder])","user: briley  AVOID eager loading detected    Plan =\u003e [:phases, :users]\n  Remove from your query: .includes([:phases, :users])"]
< X-bullet-console-text: ["user: briley\nUSE eager loading detected\n  Plan =\u003e [:funder]\n  Add to your query: .includes([:funder])\nCall stack\n  /Users/briley/Documents/workspace/roadmap/app/views/api/v0/plans/index.json.jbuilder:20:in `block (2 levels) in _app_views_api_v__plans_index_json_jbuilder___2453906840107351138_70282306606400'\n  /Users/briley/Documents/workspace/roadmap/app/views/api/v0/plans/index.json.jbuilder:19:in `block in _app_views_api_v__plans_index_json_jbuilder___2453906840107351138_70282306606400'\n  /Users/briley/Documents/workspace/roadmap/app/views/api/v0/plans/index.json.jbuilder:8:in `_app_views_api_v__plans_index_json_jbuilder___2453906840107351138_70282306606400'\n  /Users/briley/Documents/workspace/roadmap/app/controllers/api/v0/plans_controller.rb:99:in `index'\n\n","user: briley\nAVOID eager loading detected\n  Plan =\u003e [:phases, :users]\n  Remove from your query: .includes([:phases, :users])\nCall stack\n\n"]
< Cache-Control: no-store, must-revalidate, private, max-age=0
< Set-Cookie: _dmp_roadmap_session=0mpF9yJsYQH76AIv98IZhsvBCEOsehbzuq1NBkG%2FvpeA76MFIziwUBk%2Buq4Jp6mrsJoeGFU7otnPjcAMOTA%2FGaSbp%2FbJEOAxkWR2ELLlee7DWfQdn1bKbInoZmCUbqKfUYnMVFhqRr%2Ft--zmbleEfXeHuj0r7C--FIPa0OUUjUYdjGWLMY6gYw%3D%3D; path=/; HttpOnly; SameSite=Lax
< Set-Cookie: __profilin=p%3Dt; path=/; HttpOnly
< X-Request-Id: 9bd93a55-d3c8-433e-86c6-58f7e7671153
< X-Runtime: 0.249032
< X-MiniProfiler-Original-Cache-Control: max-age=0, private, must-revalidate
< X-MiniProfiler-Ids: 71tz8b0t1tvl26wmxife,8cylm5yynvjxpzt0r8z7,7jkj92r3tahj7gbvkgq2,c6wdsljv9hqu60ask139,64rrv0osvkkstktmew1n,c3kriz7wg7qaoglfatbg,q14ejuskfdy889tpnont,uj081fh4c3uaegu189j6,6huuhpybth0qrcwky61q,nqrwns5z2odikxw4j7sk,ovx9tiu1uurq0yeyd26m,rjwcd2s0f842so3z3gwu,fzgxxp3dptiyvbepkirg,5yje8dkfqjlsn5soe1z9,vww159vbfuekrxz62v1x,f6bzdxcmgpt47qjebrv,cj8u5rx462mta6gl405v
< Transfer-Encoding: chunked
<
[
  {
    "id": 38646,
    "title": "Federal Road Charge Tax Administration Process",
    "grant_number": "",
    "last_updated": "2020-04-24 22:27:33 UTC",
    "creation_date": "2019-01-12 08:48:18 UTC",
    "test_plan": false,
    "template": {
      "title": "National Center for Sustainable Transportation - Project Data Management Plan",
      "id": 1950908230
    },

   ...

The question mark worked fine for requests with the page parameter (...?page=1 for instance) .
I tried anyway:
https://dmp.npl.co.uk/api/v0/plans\?created_after=2019-11-01
I got a cleaner answer: status_code 404, reason="Not found", but we do have a few test plans generated after this date.

Hmm. page=n doesn't work for me without escaping the question mark when using curl.
@magdalenadrafiova I think someone on your side will need to check the logs to see if its reporting an error and why it's not returning any results.

Making some progress, it is true, but closing is premature. We have test plans up to May 2021 (see attached snapshot), yet I can't get anything past November 2020:

Using:
target_url = "https://dmp.npl.co.uk/api/v0/plans?created_after=2021-01-01"
with the same headers as before:
r = requests.get(target_url, headers=headers, verify=False)
C:\Users\fb10\AppData\Local\Continuum\anaconda3\lib\site-packages\urllib3\connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
Traceback (most recent call last):
File "", line 1, in
r = requests.get(target_url, headers=headers, verify=False)
File "C:\Users\fb10\AppData\Local\Continuum\anaconda3\lib\site-packages\requests\api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "C:\Users\fb10\AppData\Local\Continuum\anaconda3\lib\site-packages\requests\api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Users\fb10\AppData\Local\Continuum\anaconda3\lib\site-packages\requests\sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\fb10\AppData\Local\Continuum\anaconda3\lib\site-packages\requests\sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "C:\Users\fb10\AppData\Local\Continuum\anaconda3\lib\site-packages\requests\adapters.py", line 498, in send
raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

Hi,
I just wanted to check on progress on this issue, and see if there was anything I can do to help, like providing more information?

@FredericBrochu nothing on our end at the moment. We have not start picking up the API issues/bug yet we will update the information once we look into this

@magdalenadrafiova @briri @raycarrick-ed Like for https://github.com/DigitalCurationCentre/DMPonline-Service/issues/505 and https://github.com/DigitalCurationCentre/DMPonline-Service/issues/462. I can replicate issue locally. With the fix in branch bug_462_api_not_possible_to_get_plans which was fix for bug #462 (comment) I can retrieve Plans for 2021 in a query like this
http://uoe.lvh.me:3000/api/v0/plans?created_after=2019-11-01

authors: FredericBrochu briri johnpinto1 magdalenadrafiova


text:
Gubbins issue - RuntimeError: cannot cache function 'seq_to_int': no locator available for file

Description of the bug
Creating separate issue for problem described in issue 4. Will update Gubbins containers once problems with Python/Numba are resolved by Bioconda/Gubbins developers.
References:
Gubbins Issue 396
Bioconda pull 46713
Command used and terminal output
No response
Relevant files
No response
System information
No response

Hi @DOH-JDJ0303
On the Nextflow side, I think this might be semi-related to Nextflow no longer mounting home directories by default with Singularity. Here's a related issue over on Bactopia https://github.com/bactopia/bactopia/issues/500
From nextflow docs:
Changed in version 23.07.0-edge: Nextflow no longer mounts the home directory when launching a Singularity container. To re-enable the old behavior, set the environment variable NXF_SINGULARITY_HOME_MOUNT to true.
Exporting NXF_SINGULARITY_HOME_MOUNT will make things play nicely.
export NXF_SINGULARITY_HOME_MOUNT=true

On the Bactopia side, I'm going to play around with some more elegant approaches then asking users to add a variable to their ENV.
Cheers,
Robert

Hi @rpetit3, this looks like the fix! I will share any elegant methods if they come my way. Thanks!

Hello!
I tried your suggested solution with export NXF_SINGULARITY_HOME_MOUNT=true, but this did not work for me. I am using nextflow version 23.10.1. Any suggestions?

Hi @hkaspersen. Sorry to hear this is still an issue. Can you provide more info about your compute environment? Is your error also caused by Numba? Are you able to test a different containerization platform like docker or podman?

Hello again, sorry this was an error from my side. I completely forgot that I had switched over to Apptainer from Singularity, so I simply had to change it from export NXF_SINGULARITY_HOME_MOUNT=true to export NXF_APPTAINER_HOME_MOUNT=true, which worked perfectly. Thanks!


text:
Continue plain language for manual testing blog

Finish revisions, put spreadsheet on wiki, get it in the publication queue.

I will put this blog in dev once the one currently in dev is live.

repo: DOI-ONRR/blog-nrrd


text:
🛑 Fakultas IKP is down

In cc73bc9, Fakultas IKP (https://fikp.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas IKP is back up in 499c05b after 5 minutes.


text:
🛑 SSO Unhas is down

In 95f3251, SSO Unhas (https://sso.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSO Unhas is back up in 7d38f89 after 5 minutes.


text:
🛑 Apps is down

In 5e56e48, Apps (https://apps.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Apps is back up in 5cbf90c after 6 minutes.


text:
🛑 Fakultas Vokasi is down

In 1d07153, Fakultas Vokasi (https://vokasi.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Vokasi is back up in 7bdfe82 after 10 minutes.


text:
🛑 Unhas Main is down

In 256f5ef, Unhas Main (https://unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Unhas Main is back up in 9372729 after 6 minutes.


text:
🛑 Dikmawa is down

In db2d100, Dikmawa (https://dikmawa.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dikmawa is back up in 9f91b50 after 8 minutes.


text:
🛑 Fakultas IKP is down

In 7f5bf95, Fakultas IKP (https://fikp.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas IKP is back up in ede9ea3 after 45 minutes.


text:
🛑 Fakultas Ilmu Budaya is down

In 4dc8516, Fakultas Ilmu Budaya (https://ilmubudaya.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Ilmu Budaya is back up in 629840c after 6 minutes.


text:
Backend logs almost useless

Describe the bug
The rest logs are almost useless there are tons of page of
2021-04-21 23:50:02,216 WARN  org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice @ An exception has occurred (status:404)

sometimes there are error stack trace but most of time there is no reference to which endpoint have generated the stack trace. In previous versions it was possible to identify/guess at the least the Servlet that was invoked as an INFO entry was prosent somewhere before. It was not ideal because with high load concurrent request was hard to distinguish but better than nothing.
In the current main branch the logs don't contain any information about the invoked endpoint, so the only chance is to check the dspace log together with the apache/web log side by side
To Reproduce
Browse a dspace 7 repository and check the dspace.log file
Expected behavior
The ideal solution would be to have

an anonymous and automatic generated request ID included in each log line to keep them together. Each rest call should at least log one entry to note that the call happened;
at least in the first entry a reference to the page from where the request was generated so that we can quickly identify which page of our angular application use the endpoint. This would apply only to our angular app but maybe could be a suggestion for all the rest client (include a referrer header or something like that)
expected 404 response as in the case of the configuration endpoint should be identified and reported at info level.

@abollini : Assigning this back to your team to investigate / estimate further.  Your suggestions sound reasonable to me.
Here's a possibly resource I found in logging every incoming request in a Spring / Spring Boot app: https://www.baeldung.com/spring-http-logging
I like the idea of a unique request ID, though we'd have to figure out how to "store" that (or accurately regenerate it) to ensure the same request ID is used in each request from the same person.  I know Apache & Tomcat logs just use the IP address for this purpose, but I realize that can be a privacy issue...so, I'd be interested to better understand what you'd suggest here.  I'd also recommend we not go overboard. If adding the IP address to logs is "good enough" we may just want to do that (and provide a way to anonymize the logs via a commandline script which can be run regularly to anonymize the real IP, similar to our anonymize statistics tool added in #2693).
In any case, the direction here sounds good. So, let me know what you feel is achievable for 7.0.

@abollini : Just a reminder that this high priority ticket is waiting on an estimate / recommended solution.

My idea is to have the rest client to randomly generate an uuid to include for all the request in a specific "session". For our angular application this would mean an uuid generated when the app state is created. In addition angular should send a referrer header with the url of the page that has generated the REST request.
This information are mainly to help debugging, in the rare case the same identifier would be generated / spoofen there are no security risk or implication.
@tdonohue thanks for point to the Spring Interceptor documentation it is very useful and we can try to use it to accomplish "Each rest call should at least log one entry to note that the call happened;". The out-of-box logging interceptor from Spring seems to provide richer details and are put to DEBUG level, we should have minimal information available at INFO level. Adding some traditional logging in the org.dspace.app.rest.repository.DSpaceRestRepository<T, ID> that proxy all the common call to a Rest Repository should be also a good addition.

A few notes after the discussion in today's meeting:

The need for the Referrer header coming from Angular makes perfect sense. We should add that, as we definitely want to know which Angular page generated the REST API request.
The randomly generated UUID to represent the "session" also does make some sense...though, it sounds like we'd be dependent on the client generating this identifier, and we'd need some sort of fallback when the identifier is not passed.  This means that the logs may lack information if the client doesn't send this identifier.

Another option here is to just use IP address and/or X-Forwarded-For (which most Proxies use to pass the original client IP).  It may not be perfect, but it'd avoid our having to create a custom solution for our logs.  (Obviously, for GDPR, we may need to provide a script to anonymize logs by removing the last digits of the IP). In addition, this is more similar to how Tomcat & Apache identify individuals in their logs...so it'd be easier to follow a "session" across several log files, as you can match it based on client IP address.

the session client side generated uuid is also required by https://github.com/DSpace/DSpace/issues/3257
I would prefer to lack information in the dspace.log instead than adding extra complexity to deal with anonymization. Anonymize Web server logs is a common need for hosting providers that usually (or at least this is the case in 4Science) is managed in a general not dspace specific way.
In the case an additional rest client is not so friendly to follow what we will document as a best practice we can always look back also to the web server logs.

I don't understand why we allow Spring Boot to suppress the JSESSIONID.  (TBH I don't understand why Boot does this, except that the Boot developers seem determined to reinvent every wheel in sight.)

@mwoodiupui : The simple answer is that we are attempting to make the backend completely "stateless".  So, ideally, we never use a HttpSession object and never generate a JSESSIONID (and that's why Spring Boot supports disabling JSESSIONID, for stateless apps).  (That said, as a sidenote, I think there are still a few instances of HttpSession hanging around that need cleanup.) The reason for "statelessness" is to allow for DSpace to scale more horizontally (potentially run one frontend with multiple backends).  But, this does mean that we need a different, "stateless" identifier for a user's "session", and @abollini is proposing that be achieved via a client-side session UUID, which can be passed to whatever backend you are currently using.

Oh, clustering?  That has been around in Tomcat since forever.  https://tomcat.apache.org/tomcat-8.5-doc/cluster-howto.html

@mwoodiupui : We're trying to align with core REST principles, and a key part of REST is statelessness as a requirement...where the "session" is on the client side, not on the server side (see this similar SO question/answer).  Statelessness also means that you can more easily spin up an extra backend if one gets overwhelmed. So, yes it's somewhat similar to clustering, but in a more dynamic way...think of something like spinning up a new backend dynamically in AWS (or similar), without needing to predefine several "nodes" of a cluster in a more complex Tomcat setup (or your servlet container of choice).

OK, I give up.

authors: abollini mwoodiupui tdonohue

repo: DSpace/DSpace


text:
Can't authenticate with ORCID/OIDC from HAL browser

Describe the bug
The ORCID and OIDC authentication providers determine redirect URLs based on a configuration property, which makes it impossible to support logging in via Angular and the HAL browser.
You can only configure the redirect URL to point to the backend or the frontend.
I haven't confirmed this, but it's likely that this is also the case for other authentication methods.
To Reproduce
Steps to reproduce the behavior:

Go to https://api7.dspace.org/server/login.html
Click the "ORCID" button and log in via ORCID Sandbox (create a dummy account if you don't have one)

Once authenticated in ORCID Sandbox, you will be redirected to DSpace Angular instead of the HAL browser
If you go back to https://api7.dspace.org/server you will not be authenticated in DSpace

Expected behavior
All supported authentication methods should work when attempting to login via Angular and the HAL browser.
Proposed solution
Like for Shibboleth, the redirect URL should point to ${dspace.server.url}/api/authn/oidc?redirectUrl=... where the redirectUrl is based on the referer of the login request
Related work
https://github.com/DSpace/DSpace/pull/2651
https://github.com/DSpace/DSpace/pull/8088
https://github.com/DSpace/DSpace/pull/8263

While I agree this is nice to have, I don't see it as high priority to ensure all forms of authentication work via the Hal Browser.  The Hal Browser is meant more as a development / advanced tool.  That said, I'd be supportive of this general concept...but we should be aware that adding this support to ORCID and OIDC would require redirecting through the REST API back to the UI (like Shib does).  This can complicate the login process, as each redirect is a chance for a failure (e.g. we have a number of Shibboleth specific refresh bugs and similar which seem to be the result of how Shibboleth authentication differs from all others.)
That said, I see the argument for making these external authentication processes all work similarly...and having them all work via the Hal Browser is a nice bonus.
Flagging as needs volunteer, medium priority for now.

authors: tdonohue ybnd


text:
[Accessibility] Avoid repetition of identical link text on same page

Describe the bug
This relates to items that have a number of different download options. For each option, the Download Link currently says "Download". According to Success Criterion 2.4.4 Link Purpose (In Context), the user should be able to determine the purpose of each link from the link text alone. In this example, users with screen readers would hear the word "Download" read numerous times but not know the context, purpose and destination of each download link.
To Reproduce
Steps to reproduce the behavior:

Visit https://sandbox.dspace.org/items/cd374806-70ac-4541-a711-559c9bb60a76/full
See list of Download Links at the right side of each file description

Expected behavior
A clear and concise description of what each link does, e.g. "Download the PDF...".
Related work

Good morning @tdonohue, my name is Andrea. I'm part of the Neki-it company. We'd like to take on this activity.

Good morning @tdonohue! I hope you're well
We've provided a PR with a possible solution to this problem https://github.com/DSpace/dspace-angular/pull/3264. We look forward to your feedback.

repo: DSpace/dspace-angular


text:
[frontend] remove icomoon

This PR isn't associated with a story.  This PR aims to continue the cleanup of the project.  As far as I can tell, icomoon isn't being used for anything important.  It can be safely removed.

Check out a preview of your pull request here: https://alphasite-appservice-dev-pr-preview-1.azurewebsites.net

repo: DTS-STN/Service-Canada-Labs


text:
Make the case study dropdowns clickable

ADO-XXX
Description
List of proposed changes:

Made the case study dropdowns clickable

What to test for/How to test
Additional Notes

The hover state (in mobile view) and focus state (mobile and desktop) have this ellipse shape:

Would you prefer it rectangular?

Would you prefer it rectangular?

I'd personally make it more rectangular.  This is happening because of the MUI ripple effect. You can hopefully see some fixes here as a start:  https://stackoverflow.com/questions/54296070/material-ui-icon-button-highlights-with-an-elliptical-background-when-cursor-is

oh, I figured out this fix for it yesterday. I'll take a look at SO now though.

authors: Fbasham lhr-git

repo: DTS-STN/senior-journey


text:
[Feature Request]: 将运行时从 antlr4ts 切换到 antlr4ng

Topic
Any Others
Description
https://github.com/mike-lischke/antlr4ng

antlr4ng 问题跟踪：

https://github.com/mike-lischke/antlr4ng/issues/38
https://github.com/mike-lischke/antlr4ng/issues/39

repo: DTStack/dt-sql-parser


text:
Feature request: Fixed height/width stacks

When adding a layer to a stack, the over-all stack grows to accommodate the new layer. This is expected and works well.
I would like to request the ability to optionally lock the height/width of a stack. Layers inside are evenly distributed inside a predefined size (but not distributed on the sub-pixel if it cannot be evenly divided!)
Thank you, and amazing work on this plugin :)

Just to go one more level of complicated here… In poking around Framer X I found these options when stacking layers. "Start" is how Paddy stacks layers today. Starting from the left-most pixel, it spaces out layers in a stack with a predefined number of px. Changing this to "Space Between" allows me to stack icons within a predefined width.


text:
Switch to flake8 linter and fix warnings

The flake8 linter is a wrapper around pep8 and pyflakes. In addition to checking for PEP style compliance, flake8 will also find bugs with an essentially zero false positive rate.
As such, it's well worth running the flake8 linter instead of pep8. A full listing of the issues that flake will detect can be found here.

Recreated from a well-named branch (as per contribution guidelines) in #59

repo: DaKnOb/TorPaste


text:
renderer: introduce IF_FITSCREEN and RSF_2D

Introduce IF_FITSCREEN to rescale image to the smaller size larger than screen.
The idea behind this feature is that we have images that should not be rescaled smaller than screen to look good:

minimaps,
UI background,
levelshot,
etc.

So for them we use IF_PICMIP, either directly in code, either with material keyword nopicmip.
But then this stupid thing happen, let's imagine someone playing on a low end device with not a lot of GPU memory and a 800×600 screen:
]/listImages
------------------------------------------------------------------
num   width heigth layers mm  type format   wrap.t   wrap.s   name
------------------------------------------------------------------
63      100   2230      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/bg
64       20   1200      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/black
65     2082   1371      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/duel
66       20   1200      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/black2
67     2500   1667      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/circles1
68     2500   1667      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/circles2
69     3500    886      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/fog
121    3840   2160      1 no  2D   DXT1     t.clmp   s.clmp   meta/chasm/chasm

The 4K levelshot is fully loaded in GPU memory just to display it on a 800×600 screen!
Here is what happens once this feature is implemented AND (not done yet) the related images are configured to use IF_FITSCREEN:
]/listImages
------------------------------------------------------------------
num   width heigth layers mm  type format   wrap.t   wrap.s   name
------------------------------------------------------------------
63       50   1115      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/bg
64       20   1200      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/black
65     1041    685      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/duel
66       20   1200      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/black2
67     1250    833      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/circles1
68     1250    833      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/circles2
69      875    221      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/fog
121     960    540      1 no  2D   DXT1     t.clmp   s.clmp   meta/chasm/chasm

This is far better!
So this feature scales down images flagged with IF_FITSCREEN to the smaller size larger than (or equal to) the screen, this way the image is never underscaled compared to the screen, while not being too much large for nothing.
Made for:

https://github.com/Unvanquished/Unvanquished/pull/2999

Example with the chasm map being loaded, with lowest preset and 640×480 screen size:
]/listImages
…
41669771 total texels (not including mipmaps)
52.98 MB total image memory (estimated)
666 total images

I just tested it with a very old card (ATi R300 family) with limited memory and other resources.
Before:

After:

It works well. So I'll start to clean-up things to make it ready.

I added a cvar named r_imageFitScreen.
Values:

0: do nothing
1: downscale “fitscreen” images until it is not smaller than the screen size.
2: downscale “fitscreen” images to never be larger than screen size.

The 1 value is enabled by default.
The 2 value is meant to be used in lowest preset, where it's OK to take the risk to not look that good while not being that bad. In practice this is good enough: most UI images don't fill the whole screen, and the one that does are usually background images that can suffer a bit of downscaling.
The following examples are done with the game running on a 640×480 screen, on main menu.
Feature disabled with value 0 (same behavior as in current master):
]/listImages ui/assets/background
------------------------------------------------------------------
num   width heigth layers mm  type format   wrap.t   wrap.s   name
------------------------------------------------------------------
66      100   2230      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/bg
67       20   1200      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/black
68     2082   1371      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/duel
69       20   1200      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/black2
70     2500   1667      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/circles1
71     2500   1667      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/circles2
72     3500    886      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/fog
------------------------------------------------------------------
14561422 total texels (not including mipmaps)
13.88 MB total image memory (estimated)
129 total images
------------------------------------------------------------------

Feature enabled with default 1 value:
]/listImages ui/assets/background
------------------------------------------------------------------
num   width heigth layers mm  type format   wrap.t   wrap.s   name
------------------------------------------------------------------
63       50   1115      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/bg
64       20   1200      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/black
65     1041    685      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/duel
66       20   1200      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/black2
67     1250    833      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/circles1
68     1250    833      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/circles2
69     1750    443      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/fog
------------------------------------------------------------------
3674585 total texels (not including mipmaps)
3.50 MB total image memory (estimated)
88 total images
------------------------------------------------------------------

Feature enabled with 2 value:
]/listImages ui/assets/background
------------------------------------------------------------------
num   width heigth layers mm  type format   wrap.t   wrap.s   name
------------------------------------------------------------------
63       25    557      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/bg
64       10    600      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/black
65      520    342      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/duel
66       10    600      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/black2
67      625    416      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/circles1
68      625    416      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/circles2
69      437    110      1 no  2D   DXT5     t.clmp   s.clmp   ui/assets/background/fog
------------------------------------------------------------------
771835 total texels (not including mipmaps)
0.73 MB total image memory (estimated)
88 total images
------------------------------------------------------------------

Actually the game use RSF_NOMIP and the engine sets IF_NOPICMIP, in fact we would better have:

RSF_NOPICMIP and IF_NOPICMIP (do not automatically downscale the image with r_picmip) .
RSF_NOMIPMAP and IF_NOMIPMAP (do not generate mipmaps for the image).

I may also add some option to prevent the generation of useless mipmaps on such image.

In fact RSF_2D already does:
imageParams.filterType = filterType_t::FT_LINEAR;

Which already prevents the generation of mipmaps, as mipmaps are only generated with filterType_t::FT_DEFAULT.

repo: DaemonEngine/Daemon


text:
how to use css variables

you wrote in the doc that css variables can be used change the colors. But in the compiled css under daemonite-material\css\ I cannot see any color attribute is using var(--abc). Can you elaborate how to use these css variables described in the doc.
many thanks
iocast

Css vars are declared at the beginning of daemonite and bootstrap CSS files.
:root {
--amber: #ffc107;
--blue: #2196f3;
--blue-grey: #607d8b;
}
To call a CSS var in your own CSS, write
.my-class {
background-color: var(--amber);
}
This is basic CSS, please close issue.

thanks for the reply
Sadly is does not work. What i tried is to change the colors for --primary etc.
this is my css
@import 'daemonite-material/css/material.css';
:root {
  --primary: #77c565;
  --secondary: #927628;
}

What I expect is that for e.g. for the css class is-selected the new color #77c565 is used.
currently it uses the following css
.floating-label.is-focused label {
    color: #ff4081;
}

or do I miss something

CSS vars are not used to theme but to use variables ... as it implies.
To theme Daemonite, open variables/_palette.scss and change primary and secondary colors.
Then rebuild material.scss (with GUI like Koala)

So means your are not using this default principal var(--variable, fallback). Hence I have to use sass in my build process. hmmm ... ok thanks.

OK, for now, change the --amber: color declaration.
Add to your CSS : .floating-label.is-focused label {
color: var(--amber);
}
Import your CSS AFTER material.css.
Test

Yes but then I have to do it for all color's. I go with a sass plugin for postcss.
thanks

Hello, small 🆙 on this issue for a n00b who doesn't really get how scss works.
What are the steps one has to follow to be able to customize material theming?
Thanks a looot for your help and the amazing work you guys did on Material 🔥

Simple steps.

Download http://koala-app.com/ and install Koala.

Download Daemonite material UI.

Go to assets/scss/variables/

Open _palette.scss.

Replace colors

Open koala and open assets/scss folder

material.scss file is shown in gui.
Click on it,
Check options Autoprefix and Output Style compressed in side panel.
A new material.css file is generated.

Enjoy your custom theme.

To remove unncessary Bootstrap components from your theme, you can comment lines (add // in front of the line) in material.scss file.
Ex : // @import 'bootstrap/alert';

You can find tutorials online, but here is the simplest start.
Telle me if you need more info.
Or you can try my upgraded material theme.

Thank you soooo much @djibe your solution worked perfectly the first time. It's pure gold 💎 Thanks for your help and answering on a closed issue moreover 😅
Please share with me your upgraded material theme as well so I can take a look and use it as well 🙏
Thanks again you really helped me save some hours here!
Cheers from France 👋

@rashad
My material is here : https://github.com/djibe/material/tree/master/css
Still some bugs with snackbars ans switches.
Cheers from France

authors: djibe iocast rashad

repo: Daemonite/material


text:
覆盖物只提供了参数跟事件,但是没有提供方法

[功能请求] 覆盖物只提供了参数跟事件,但是没有提供方法
在线示例 URL
http://developer.baidu.com/map/jsdemo.htm#f0_7
功能描述
你好，我又来请教了,还是多边形的问题,怎么实现多边形的setPositionAt方法之类的？
我在看DrawingManager的实现方法,发现他在mousemove用了setPositionAt这个方法,
我想实现DrawingManager在鼠标移动时的效果。但我又不能直接给map的mousemove加上事件。因为这儿的事件是push进数组的.
一加上后,就会有无数个坐标点了。
麻烦大神了。实在是想不到解决方案。。请指教。。谢谢
还有能不能请求大神把DrawingManager加入到第三方库呢？

用法示例
<template>
  <baidu-map class="map" :center="{lng: 116.404, lat: 39.915}" :zoom="15" @click="addPolygonPoint" @mousemove="addPolygonPoint">
    <bm-polygon :path="polygonPath" stroke-color="blue" :stroke-opacity="0.5" :stroke-weight="2" :editing="false" @lineupdate="updatePolygonPath"/>
  </baidu-map>
</template>

<script>
export default {
  data () {
    return {
      polygonPath: [ ]
    }
  },
  methods: {
    updatePolygonPath (e) {
      this.polygonPath = e.target.getPath()
    },
    addPolygonPoint (type, target, point, pixel, overlay) {
        console.log(this.polygonPath)
        this.polygonPath.push({lng: type.point.lng, lat: type.point.lat})
    }
  }
}
</script>
<style>
.map {
  width: 100%;
  height: calc(100vh - 61px);
  position: relative;
}
</style>

让你的点跟着鼠标动不行吗，为啥非要 push 🤣

不知道你有没有看过百度那个demo,他创建第一个点后，有一个效果。就是下一个点的坐标就是当前鼠标的坐标。所有会有一个轨迹的特效。。他调用的方法就是
mask.addEventListener('mousemove', mousemoveAction);
var mousemoveAction = function(e) {
    overlay.setPositionAt(drawPoint.length - 1, e.point);
}

你所说的点跟着鼠标动，我怎么去实现呢。。这几天一直在研究这个。。头都有点晕了。。基础有点差。。第一次做地图这块。。希望能给点提示。。谢谢了。

你需要抛开所有 API，好好思考一下什么叫数据决定试图。有几个点就是几条数据，点动就是数据在变，事件负责告诉数据你要变了，仅此而已。

不好意思，昨天一直在忙。。没来得及回复,
通过splice(-1, 1, e.point)，来只改变最后一个数组元素。。达到效果了。感谢你的回复。水平比较差。。多包涵。

authors: Dafrok mythbobo

repo: Dafrok/vue-baidu-map


text:
Add a !alert-silent option

Same as !alert but with no sounds
I've moved some of the shared code into functions so we don't have two seperate alert functions doing the same thing.

The change to security: securityModOrBroadcaster, is a really interesting one. If that's your idea, you should consider setting up a PR that does that and only that, just in case the alert-silent feature doesn't get accepted.

@adeydev sure I'll do that

@adeydev moved that over to #58

authors: adeydev zaccolley

repo: DaftLimmy/TwitchPopups


text:
sleep messages

one player sleep is working but none of messages are showing up in chat. nothing at all signifying anyone even slept.

is there more than one player active?

the plugin does not currently override the default sleep mechanic when there are fewer than 2 unignored players.

If there is a bug here, I am unable to replicate it on the latest version with the info available.

authors: DailyStruggle Lushanyamarie

repo: DailyStruggle/OnePlayerSleep

license: Unlicense


text:
RunTimeException DexArchiveMergerException: Unable to merge dex

I'm unable to use this library as it keeps on failing compilation with
java Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. > java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
I've tried enabling multiDex, rebuild project, deleting all my build folders, invalidate caches..nothing works.
I am using Android Studio 3.0.1, Gradle 4.1

Turns out issue was a conflict of annotations by JAVA8 and kotlin. You can reproduce said issue by adding an android animation library called Flubber by Appolica.
Fixed it by adding this in my build.gradle (app)
configurations {
    compile.exclude group: 'org.jetbrains' , module:'annotations'
}

repo: DanielMartinus/Konfetti

license: isc


text:
Change initialize_all_variables to global_variables_initializer

initialize_all_variables (from tensorflow.python.ops.variables) is deprecated
Signed-off-by: Taeho Lee smartdolphin07@gmail.com

Hi, I had it the back of my mind to do this at some point, thank you so much for getting there ahead of me :+1:

Your YouTube has been a great help to me. Next time, I would like to have a good lecture.

authors: DanielSlaterSK smartdolphin

repo: DanielSlater/AlphaToe


text:
TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/110132

@JuliaRegistrator register

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/110432

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/120539

authors: DanielVandH JuliaTagBot


text:
Update RTL-433 to 21.12

I have a device that was only added to RTL-433 in release 21.12: https://github.com/merbanan/rtl_433/releases/tag/21.12
It looks like this plugin is using rtl_433 version 21.05 (2020-05-09).  Can it be updated to the latest version (21.12)?

Updated rtl_433 to 21.12. Let me know if there's any changes needed to the config generator to accommodate your device.

authors: DanielWinks Triberg

repo: DanielWinks/HassOS-Addons


text:
Some questions about the results

Hello author, when I was replicating the code, I found that the results of the first epoch were good, and since the second epoch, the results of each epoch have remained the same.May I ask why this is?

Hi, the results look definately very weird. I have uploaded all of my training log in outputs which are normal.
Did you strictly use the code and config in the repo without any modification?  Could you please tell me the code and config you used for such result?

Hi, the results look definately very weird. I have uploaded all of my training log in outputs which are normal. Did you strictly use the code and config in the repo without any modification? Could you please tell me the code and config you used for such result?

it's ok


text:
docker.io/rustdesk/rustdesk-server:latest

IMAGE SYNC

谢谢

repo: DaoCloud/public-image-mirror


text:
Feature Request: Status Page Site

As a operator
I would like to have a single status page site that can be referenced
So that I can automatically know what actionables I need to perform within our CICD system
Acceptance Criteria:

[x] Should show status from Travis-CI jobs
[x] Should live at https://status.dapla.net/
[x] Should be publically accessable
[x] Should not expose internal systems to security issues
[x] Should automatically be updated
[x] Could have rss feed

Feature Implemented and committed as v0.0.1

repo: Daplanet/status


text:
set no-case-declaration flag

"no-case-declaration | Disallow let, class and enum in case blocks. These are visible within the whole switch statement body but not defined in other case clauses. The compiler currently doesn't warn about such uses. You should use a block to restrict the scope of the declarations"
https://github.com/microsoft/TypeScript/pull/47160

requires us to implement a linter, as its not a typescript setting

repo: DarkFlorist/TheInterceptor


text:
Add support for "group" widget type

Awesome, noticed this was crashing due to no implmentation the other day

authors: danreeves fracticality


text:
Memory allocate failure (on windows 2004 - 19041.208)

Allocating process memory causes STATUS_INVALID_HANDLE on windows 10 2004 (is: 19041.208). It will be about DEP?

I didn't figure out but updating windows to 19041.388 solves problem

repo: DarthTon/Blackbone


text:
Move the Session initialization from the ContextData object to the Context object

Only a change in the code; no API changes. Documentation doesn't have to be updated and tests don't change.

this turns out pretty difficult to do since it is very woven into the code, but more importantly; if we move it, a lot of logic in the code has to be changed. We choose to let it be for now and maybe tune it in the future (if needed).


text:
Just requesting the artifacts from the most recent 3.0.0 test build.

Using macOS to try to run 2.0.1, no matter what I try I get java errors. When I get past the javafx issue by using a version of java that has fx bundled, I still get the error: "Error: Could not find or load main class io.github.dylmeadows.eontimer.AppLauncher". I saw in other closed issues a link to a test build of 3.0.0, but it looks like all the artifacts have been deleted since the test build was run over 6 months ago.
Thanks for your time and your help!

I'll run another build so the artifacts repopulate. I'll message you when it's ready

The macOS portion of the build is failing, so I'm going to need to look at the CI/CD pipeline this weekend to figure that out. I'll keep you updated in this thread.

Sounds good. Thanks for looking into it, I really do appreciate it!

@ShilohBeeler I'm going to close this since it's no longer relevant. I recently rewrote the application in python with PySide6. You can find the alpha release artifacts here

authors: DasAmpharos ShilohBeeler dylmeadows

repo: DasAmpharos/EonTimer


text:
Connexion issue

Hello,
I am trying to connect to the dashlane cli but I have some issues trying to connect:
First I had this when entering my mail:
? Please enter your OTP code: ERROR: The OTP was already used for this user.

Then I revoked accesses of Dashlane CLI sessions via the settings of my account and now when entering my mail:
? Please enter your OTP code: ERROR: The OTP verification failed. This could be due for example to the user inputing a wrong token.

Do you have an idea on how to fix it ? Many thanks in advance 😄
EDIT :

I migrated from the dcli-1.0.0 to dcli-1.2.0 / MacOS Ventura 13.2.1 (22D68)
I removed all dashlane-cli elements from MacOS keychain

Using any other valid email address returns this message:
? Please enter the code you received by email: ERROR: Request is malformed

I don't think so, I didn't input an OTP. It's a bit complicated to troubleshoot, tell me if you need me to run some tests.

I'm a bit confused on how to repro this. You didn't enter any otp?

I have the same problem (mac os, monterey). I just installed the cli and get for the first attempt:
? Please enter your OTP code: ERROR: The OTP verification failed. This could be due for example to the user inputing a wrong token.

and since then I get
? Please enter your OTP code: ERROR: The OTP was already used for this user.

I just entered my email, and was not given time to enter any OTP

I can reproduce on the v1.2.0 from the release but I cannot reproduce on the master branch, I also tried with a packaged version of the master branch and it is fine.
It's my bad I introduced a bug but it was fixed in #64. v1.3.0 will include the fix.

authors: BenjaminOddou Mikescops markusstha

repo: Dashlane/dashlane-cli


text:
Request openid scope during authentication

For details, see https://github.com/DataBiosphere/azul/issues/3833#issuecomment-1190516562

@hannes-ucsc : "@NoopDog , we discussed this briefly in today's meeting and I said that you don't need to act on any of these token-related issues. However, this one you could work on immediately. It just needs requesting an additional scope during the auth flow."

@hannes-ucsc : "Will re-triage when @theathorn is back. Team can work on it immediately."

The openid scope is already requested.

@hannes-ucsc to specify a method to verify resolution.

To verify, steal a fresh token from the Data Browser UI in anvildev and anvilprod and use the https://www.googleapis.com/oauth2/v3/tokeninfo endpoint to determine the scope of said token. See also
https://github.com/DataBiosphere/azul/blob/98c05d254e4598277dcceba0c07e9832605fad8f/src/azul/oauth2.py#L96

anvildev:
$ curl https://www.googleapis.com/oauth2/v3/tokeninfo -H "Authorization: Bearer $anvildev_token" | jq -r .scope | tr ' ' '\n'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   456    0   456    0     0   2023      0 --:--:-- --:--:-- --:--:--  2026
https://www.googleapis.com/auth/userinfo.email
https://www.googleapis.com/auth/userinfo.profile
openid

anvilprod:
$ curl https://www.googleapis.com/oauth2/v3/tokeninfo -H "Authorization: Bearer $anvilprod_token" | jq -r .scope | tr ' ' '\n'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   458    0   458    0     0    843      0 --:--:-- --:--:-- --:--:--   843
https://www.googleapis.com/auth/userinfo.email
https://www.googleapis.com/auth/userinfo.profile
openid

@hannes-ucsc to ensure that there isn't another blockee that we can now start to work on.

authors: NoopDog achave11-ucsc hannes-ucsc melainalegaspi nadove-ucsc

repo: DataBiosphere/data-browser


text:
[TERRA-383] add comment to getAllTestTagsToRun, cleanup

Add comment to getAllTestTagsToRun (in / out)
Cleanup of compiler and IDE warnings
No functional change

Failure unrelated to current change - https://scans.gradle.com/s/ccunqtwfwcota/tests/:runTestsWithTag/unit.GcsObjectReferenced?top-execution=1

repo: DataBiosphere/terra-cli


text:
PF-228: Validate generated project id. Restrict prefix length.

Added length validation to the GCP project id generation. Check that the length is <= 30 (ref).
Moved the check for whether the project id is already in use from the CreateProjectStep to the GenerateProjectIdStep, and try to generate another id if the generated one is already in use.
Restricted the project id prefix length to 12 characters. This only applies when using the TWO_WORDS_NUMBER naming scheme. I chose 12 because on average we get a valid project id on the second try. Some prefixes will have to be shortened to meet this requirement (e.g. terra-wsm-test -> terra-wsm-t) Below are some statistics for the number of tries to get a valid project id with the given prefix length:

Prefix Length
Mean
Max
95 Percentile
99 Percentile

11
1
15
4
6

12
2
28
7
11

13
5
65
16
26

14
15
164
45
70

15
76
853
228
354

16
785
7507
2351
3629

Added a new tools project pool for WSM personal environments that uses the TWO_WORDS_NUMBER naming scheme. workspace_manager_v9 uses the prefix terra-wsm-t instead of the previous terra-wsm-test so that it meets the prefix length requirement.

The only suggestion I'd make (not nesc in this PR unless it's easy) would be to add a test to exercise the "I tried to generate a name 100 times and gave up" path.

Good idea. I'll plan to merge this PR so we have a new tools pool that I can test in my personal env. Then will investigate including the test in the follow-on PR to add a dev pool.

repo: DataBiosphere/terra-resource-buffer


text:
Create environment setup script [SATURN-1198]

After discussion offline, this doesn't register a user because in the near future test users will be parameterized.

How do I run the script? I see a new .js file that's probably it, though no new npm script config or anything.

I think I answered my own question:
node integration-tests/scripts/initializeEnvironment.js

Request: add integration-tests/README.md with something like:

Run node integration-tests/scripts/initializeEnvironment.js and follow the prompts.

Could also add some other stuff about the how to run the tests, what they depend on, etc. Just some basic info... nothing crazy.

repo: DataBiosphere/terra-ui


text:
consistently represent very low prices [SATURN-1614]

This applies the "< $0.01" terminology for prices less than 1 cent everywhere in the app.

Note that this also impacts display of prices for job submissions.

Good point. Also the runtime configuration widget (though that will likely never show < $0.01) and runtime list page (x2). I just tested all places that use Utils.formatUSD and everything looks good. 👍


text:
分类任务和回归任务时参数怎么设置

参数设置为 {'task': 'regression', 'mode': 'dl', 'timestamp': 'time', 'target': 'wendu', 'covariables': None, 'tf_gpu_usage_strategy': 0, 'tf_memory_limit': 2048.0, 'eval_size': 0.3, 'searcher': 'random', 'random_state': 99, 'cv': True, 'num_folds': 3, 'ensemble_size': None}
我在做时间序列回归时报错如下：
2023-03-31 14:13:15.998 [ERROR] 03-31 14:13:15 E hypernets.m.hyper_model.py 83 - run_trail failed! trail_no=1
2023-03-31 14:13:16.000 [ERROR] 03-31 14:13:16 E hypernets.m.hyper_model.py 85 - Traceback (most recent call last):
2023-03-31 14:13:16.000 [ERROR]   File "/usr/local/lib/python3.7/site-packages/hypernets/model/hyper_model.py", line 76, in _run_trial
2023-03-31 14:13:16.000 [ERROR]     **fit_kwargs)
2023-03-31 14:13:16.000 [ERROR]   File "/usr/local/lib/python3.7/site-packages/hyperts/hyper_ts.py", line 175, in fit_cross_validation
2023-03-31 14:13:16.000 [ERROR]     fold_est.fit(x_train_fold, y_train_fold, **kwargs)
2023-03-31 14:13:16.000 [ERROR]   File "/usr/local/lib/python3.7/site-packages/hyperts/framework/wrappers/dl_wrappers.py", line 115, in fit
2023-03-31 14:13:16.000 [ERROR]     X = self.fit_transform(X)
2023-03-31 14:13:16.000 [ERROR]   File "/usr/local/lib/python3.7/site-packages/hyperts/framework/wrappers/_base.py", line 152, in fit_transform
2023-03-31 14:13:16.000 [ERROR]     transform_X = self.transformers.fit_transform(X)
2023-03-31 14:13:16.000 [ERROR]   File "/usr/local/lib/python3.7/site-packages/sklearn/pipeline.py", line 367, in fit_transform
2023-03-31 14:13:16.000 [ERROR]     Xt = self._fit(X, y, **fit_params_steps)
2023-03-31 14:13:16.000 [ERROR]   File "/usr/local/lib/python3.7/site-packages/sklearn/pipeline.py", line 296, in _fit
2023-03-31 14:13:16.000 [ERROR]     **fit_params_steps[name])
2023-03-31 14:13:16.000 [ERROR]   File "/usr/local/lib/python3.7/site-packages/joblib/memory.py", line 352, in call
2023-03-31 14:13:16.000 [ERROR]     return self.func(*args, **kwargs)
2023-03-31 14:13:16.000 [ERROR]   File "/usr/local/lib/python3.7/site-packages/sklearn/pipeline.py", line 740, in _fit_transform_one
2023-03-31 14:13:16.000 [ERROR]     res = transformer.fit_transform(X, y, **fit_params)
2023-03-31 14:13:16.000 [ERROR]   File "/usr/local/lib/python3.7/site-packages/sklearn/base.py", line 690, in fit_transform
2023-03-31 14:13:16.000 [ERROR]     return self.fit(X, **fit_params).transform(X)
2023-03-31 14:13:16.000 [ERROR]   File "/usr/local/lib/python3.7/site-packages/hyperts/utils/transformers.py", line 211, in transform
2023-03-31 14:13:16.000 [ERROR]     transform_X = (X - self.min) / (self.max - self.min + self.eps)
2023-03-31 14:13:16.000 [ERROR] TypeError: unsupported operand type(s) for +: 'Timedelta' and 'float'
麻烦帮忙排查下是什么问题导致的报错，谢谢

当设置时间列为None时会出现如下报错信息：
2023-03-31 14:23:07.450 [ERROR] 03-31 14:23:07 E hypernets.m.hyper_model.py 83 - run_trail failed! trail_no=1
2023-03-31 14:23:07.451 [ERROR] 03-31 14:23:07 E hypernets.m.hyper_model.py 85 - Traceback (most recent call last):
2023-03-31 14:23:07.451 [ERROR]   File "/usr/local/lib/python3.7/site-packages/hypernets/model/hyper_model.py", line 76, in _run_trial
2023-03-31 14:23:07.451 [ERROR]     **fit_kwargs)
2023-03-31 14:23:07.451 [ERROR]   File "/usr/local/lib/python3.7/site-packages/hyperts/hyper_ts.py", line 175, in fit_cross_validation
2023-03-31 14:23:07.451 [ERROR]     fold_est.fit(x_train_fold, y_train_fold, **kwargs)
2023-03-31 14:23:07.452 [ERROR]   File "/usr/local/lib/python3.7/site-packages/hyperts/framework/wrappers/dl_wrappers.py", line 115, in fit
2023-03-31 14:23:07.452 [ERROR]     X = self.fit_transform(X)
2023-03-31 14:23:07.452 [ERROR]   File "/usr/local/lib/python3.7/site-packages/hyperts/framework/wrappers/_base.py", line 152, in fit_transform
2023-03-31 14:23:07.452 [ERROR]     transform_X = self.transformers.fit_transform(X)
2023-03-31 14:23:07.452 [ERROR]   File "/usr/local/lib/python3.7/site-packages/sklearn/pipeline.py", line 367, in fit_transform
2023-03-31 14:23:07.452 [ERROR]     Xt = self._fit(X, y, **fit_params_steps)
2023-03-31 14:23:07.452 [ERROR]   File "/usr/local/lib/python3.7/site-packages/sklearn/pipeline.py", line 296, in _fit
2023-03-31 14:23:07.452 [ERROR]     **fit_params_steps[name])
2023-03-31 14:23:07.452 [ERROR]   File "/usr/local/lib/python3.7/site-packages/joblib/memory.py", line 352, in call
2023-03-31 14:23:07.452 [ERROR]     return self.func(*args, **kwargs)
2023-03-31 14:23:07.452 [ERROR]   File "/usr/local/lib/python3.7/site-packages/sklearn/pipeline.py", line 740, in _fit_transform_one
2023-03-31 14:23:07.452 [ERROR]     res = transformer.fit_transform(X, y, **fit_params)
2023-03-31 14:23:07.452 [ERROR]   File "/usr/local/lib/python3.7/site-packages/sklearn/base.py", line 690, in fit_transform
2023-03-31 14:23:07.452 [ERROR]     return self.fit(X, **fit_params).transform(X)
2023-03-31 14:23:07.452 [ERROR]   File "/usr/local/lib/python3.7/site-packages/hyperts/utils/transformers.py", line 211, in transform
2023-03-31 14:23:07.452 [ERROR]     transform_X = (X - self.min) / (self.max - self.min + self.eps)
2023-03-31 14:23:07.452 [ERROR] TypeError: unsupported operand type(s) for +: 'Timedelta' and 'float'

当设置参数mode=‘stats’时会出现以下报错信息：
2023-03-31 14:26:25.754 [ERROR] Traceback (most recent call last):
2023-03-31 14:26:25.754 [ERROR]   File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main
2023-03-31 14:26:25.754 [ERROR]     "main", mod_spec)
2023-03-31 14:26:25.754 [ERROR]   File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code
2023-03-31 14:26:25.754 [ERROR]     exec(code, run_globals)
2023-03-31 14:26:25.754 [ERROR]   File "/opt/pylib/dc_runtime.zip/datacanvas/shell.py", line 134, in
2023-03-31 14:26:25.756 [ERROR]   File "/opt/pylib/dc_runtime.zip/datacanvas/shell.py", line 120, in
2023-03-31 14:26:25.757 [ERROR]   File "/opt/pylib/dc_runtime.zip/datacanvas/shell.py", line 29, in get_args_func
2023-03-31 14:26:25.758 [ERROR]   File "/opt/pylib/dc_runtime.zip/datacanvas/shell.py", line 61, in _execfile
2023-03-31 14:26:25.760 [ERROR]   File "main.py", line 138, in
2023-03-31 14:26:25.761 [ERROR]     estimator.fit(X=train_df, **params_dict)
2023-03-31 14:26:25.761 [ERROR]   File "/opt/aps/code/project/eba707ef-010b-44df-b63a-5ddfb5b9c5e3/40c677ff-737d-47fb-a9a5-f718008ee479/hyperTSEstimator.py", line 42, in fit
2023-03-31 14:26:25.763 [ERROR]     experiment = make_experiment(**params_dict)
2023-03-31 14:26:25.763 [ERROR]   File "/usr/local/lib/python3.7/site-packages/hyperts/experiment.py", line 625, in make_experiment
2023-03-31 14:26:25.763 [ERROR]     search_space = default_search_space(task=task, metrics=reward_metric, covariates=actual_covariates)
2023-03-31 14:26:25.763 [ERROR]   File "/usr/local/lib/python3.7/site-packages/hyperts/experiment.py", line 237, in default_search_space
2023-03-31 14:26:25.763 [ERROR]     'STATSRegressionSearchSpace is not implemented yet.'
2023-03-31 14:26:25.763 [ERROR] NotImplementedError: STATSRegressionSearchSpace is not implemented yet.

您给如上的信息，这里无法给出您解答。请提供更详细的使用说明，并且可以先试试阅读文档以了解使用方法【https://hyperts.readthedocs.io/en/latest/】。

时序回归和分类是没有时间列的，所以不能传数据中不能包含时间列，因此有如此错误 TypeError: unsupported operand type(s) for +: 'Timedelta' and 'float'。您可以看一下数据格式的要求。

当设置参数mode=‘stats’时会出现以下报错信息：
2023-03-31 14:26

stats模式不支持回归 NotImplementedError: STATSRegressionSearchSpace is not implemented yet.。

Time Series Classification and Regression
Required Format
Differing from the forecasting tasks, the input data for classification and regression tasks are nested DataFrame, which means the variations over a time segment are listed in one cell. See example below.
var_col_0           var_col_1           var_col_2      ...      var_col_n       target
x, x, x, ..., x     x, x, x, ..., x     x, x, x, ..., x         x, x, x, ..., x      y
x, x, x, ..., x     x, x, x, ..., x     x, x, x, ..., x         x, x, x, ..., x      y
x, x, x, ..., x     x, x, x, ..., x     x, x, x, ..., x         x, x, x, ..., x      y
x, x, x, ..., x     x, x, x, ..., x     x, x, x, ..., x         x, x, x, ..., x      y
x, x, x, ..., x     x, x, x, ..., x     x, x, x, ..., x         x, x, x, ..., x      y
x, x, x, ..., x     x, x, x, ..., x     x, x, x, ..., x         x, x, x, ..., x      y
x, x, x, ..., x     x, x, x, ..., x     x, x, x, ..., x         x, x, x, ..., x      y
x, x, x, ..., x     x, x, x, ..., x     x, x, x, ..., x         x, x, x, ..., x      y
x, x, x, ..., x     x, x, x, ..., x     x, x, x, ..., x         x, x, x, ..., x      y
Every row stands for one sample data, which has n+1 feature variables. The observations x, x, x, …, x of one variable （var_col_0） over a time period are listed in one cell (the top-left). Target y represents the label of the sample.
问：x不能只有一个吗，类似以下格式
var_col_0           var_col_1           var_col_2      ...      var_col_n       target
x                        x                          x                            x                   y
x                        x                          x                            x                   y
x                        x                          x                            x                   y

不可以，在分类或者回归中，每一个DataFrame的cell里必须是一个序列，否则不满足时间序列的定义，也无法自回归式的学习。

好的

from hyperts import make_experiment
experiment = make_experiment(train_data=train_data.copy(),
mode='dl',
task='regression',
max_trials=5,
target='y',
searcher='random',
contamination=0.1)
# covariables=['HourSin', 'WeekCos', 'CBWD'])
model = experiment.run()
Traceback (most recent call last):
File "/Applications/anaconda3/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3457, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 8, in
contamination=0.1)
File "/Applications/anaconda3/lib/python3.7/site-packages/hyperts/experiment.py", line 530, in make_experiment
metrics=reward_metric, covariates=autual_covariates)
File "/Applications/anaconda3/lib/python3.7/site-packages/hyperts/experiment.py", line 239, in default_search_space
'DLRegressionSearchSpace is not implemented yet.'
NotImplementedError: DLRegressionSearchSpace is not implemented yet.
dl模式也不支持回归吗？如果是那什么模式可以做回归和分类呢

    DL模式是一直支持分类与回归任务，从你的报错信息来看，怀疑你的安装版本过低或者你使用的方式不正确（例如数据格式），请根据文档正确使用。---- 回复的原邮件 ***@***.***>发送日期2023年04月04日 14:39 ***@***.***> 抄送人Xiaojing ***@***.***>***@***.***>主题Re: [DataCanvasIO/HyperTS] 分类任务和回归任务时参数怎么设置 (Issue #87)

from hyperts import make_experiment
experiment = make_experiment(train_data=train_data.copy(),
mode='dl',
task='regression',
max_trials=5,
target='y',
searcher='random',
contamination=0.1)
covariables=['HourSin', 'WeekCos', 'CBWD'])
model = experiment.run()
Traceback (most recent call last):
File "/Applications/anaconda3/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3457, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 8, in
contamination=0.1)
File "/Applications/anaconda3/lib/python3.7/site-packages/hyperts/experiment.py", line 530, in make_experiment
metrics=reward_metric, covariates=autual_covariates)
File "/Applications/anaconda3/lib/python3.7/site-packages/hyperts/experiment.py", line 239, in default_search_space
'DLRegressionSearchSpace is not implemented yet.'
NotImplementedError: DLRegressionSearchSpace is not implemented yet.
dl模式也不支持回归吗？如果是那什么模式可以做回归和分类呢
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.>
[
{
@.": "http://schema.org",
@.": "EmailMessage",
"potentialAction": {
@.": "ViewAction",
"target": "https://github.com/DataCanvasIO/HyperTS/issues/87#issuecomment-1495428614",
"url": "https://github.com/DataCanvasIO/HyperTS/issues/87#issuecomment-1495428614",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
@.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]

repo: DataCanvasIO/HyperTS


text:
Simulator integration (version 1)

Simulator integration. Version 1 should be designed as a task for the intern/student:

[ ] Explore KWOK as a simulator alternative. See https://kwok.sigs.k8s.io/
[ ] Install and experiment with example pipelines.
[ ] Create minimal microservice that can be integrated with SIM-PIPE.

Problem with docker-in-docker.
Docker container fails to create kwok cluster due to problems with mount paths:
ERROR: failed to create cluster: command "docker run --name kwok-kwok-control-plane --hostname kwok-kwok-control-plane --label io.x-k8s.kind.role=control-plane --privileged --security-opt seccomp=unconfined --security-opt apparmor=unconfined --tmpfs /tmp --tmpfs /run --volume /var --volume /lib/modules:/lib/modules:ro -e KIND_EXPERIMENTAL_CONTAINERD_SNAPSHOTTER --detach --tty --label io.x-k8s.kind.cluster=kwok-kwok --net kind --restart=on-failure:1 --init=false --cgroupns=private --volume=/root/.kwok/clusters/kwok/kwok.yaml:/etc/kwok/kwok.yaml:ro --publish=127.0.0.1:34251:6443/TCP -e KUBECONFIG=/etc/kubernetes/admin.conf docker.io/kindest/node:v1.28.0" failed with error: exit status 125
Command Output: a00e4ded65f64b2ba94af6cf76df854e124d91d14f862dd9c39c44843f88691e
docker: Error response from daemon: Mounts denied:
The path /root/.kwok/clusters/kwok/kwok.yaml is not shared from the host and is not known to Docker.
You can configure shared paths from Docker -> Preferences... -> Resources -> File Sharing.
See https://docs.docker.com/desktop/mac for more info.
ERROR Execute exit err="failed to start cluster \"kwok-kwok\": cmd wait: kind create cluster --config /root/.kwok/clusters/kwok/kind.yaml --name kwok-kwok --image docker.io/kindest/node:v1.28.0 --wait 1m: exit status 1"

authors: elvesater goranbs

repo: DataCloud-project/SIM-PIPE


text:
Fix compression import path in dogstatsd system test

What does this PR do?

Fix some import path.
Motivation

My IDE was complaining about it.
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge

repo: DataDog/datadog-agent


text:
[corechecks/networkpath] Add tags

What does this PR do?
[corechecks/networkpath] Add tags

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge

/merge


text:
[windows-linter] Removed clang-format check

What does this PR do?
clang-format is tested in the gitlab ci with a specific version (version 8) which is incompatible to the latest version used in github (18). As both jobs do the same things and are not compatible, removing the github one.

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

why the version difference? Why don't we upgrade clang-format used by our gitlab rather than remove it altogether?

why the version difference? Why don't we upgrade clang-format used by our gitlab rather than remove it altogether?
We'll want to do upgrade the clang-format version used in Gitlab eventually, but the order of magnitude of time this will take is higher than removing this test that has low added value (not mandatory for merges + duplicate of a Gitlab test).

/merge

authors: CelianR KSerrania clarkb7


text:
[NPM] Always enable connection protocol map cleaner

What does this PR do?
Always runs the map cleaner for the connection_protocol map even when USM is disabled, as it is used by NPM and can be leaky. Also supports USM enabled and NPM disabled.
Motivation
https://datadoghq.atlassian.net/browse/NPM-3695
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
Additional Notes

Discussed offline that is should only be an issue in UTs, which shouldn't need the map cleaner anyway

/merge


text:
datadog-agent, limit number of DCA call from Agent

What does this PR do?

instead of calling the DCA api for each Pod, the datadog-agent is
calling once the DCA api by node.
code refactoring between DCA api encode/decode function: now agent and
cluster agent use the same structs for the DCA api payload.

Motivation
Limit the number of http call from agent to cluster-agent.
Additional Notes
This PR also include a some Cluster-Agent API struct refactoring.

@CharlyF last changed to check: API token validation


text:
Tag spans with version info, add release script

What does this PR do?

Tag spans with the datadog_lambda and dd_trace version numbers, matching behavior of our other libraries.
Fixes the incorrect version number in the code (previously added as a tag on metrics, but not traces).
Add a release script that automates updating the version number in the code so it won't be wrong in the future.

Motivation

Tagging spans with version numbers can help us debug customer issues.
The previous manual release process was error prone. We forgot to update the version number and tagged metrics with the wrong version. The automated release script will hopefully prevent this issue from happening again.

Testing Guidelines

Ran integration tests
Verified the new tags were added to traces
Manually tested the release script

Additional Notes
After this is merged, I will update our internal documentation to reflect this process.
Types of changes

[x] Bug fix
[x] New feature
[ ] Breaking change
[ ] Misc (docs, refactoring, dependency upgrade, etc.)

Checklist

[x] This PR's description is comprehensive
[ ] This PR contains breaking changes that are documented in the description
[ ] This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
[ ] This PR impacts documentation, and it has been updated (or a ticket has been logged)
[x] This PR's changes are covered by the automated tests
[ ] This PR collects user input/sensitive content into Datadog

Codecov Report

Merging #70 (ea05d8d) into main (a8b3ccb) will increase coverage by 0.37%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #70      +/-   ##
==========================================
+ Coverage   81.14%   81.51%   +0.37%
==========================================
  Files          12       12
  Lines         631      633       +2
==========================================
+ Hits          512      516       +4
+ Misses         97       95       -2
  Partials       22       22

Impacted Files
Coverage Δ

internal/metrics/listener.go
74.41% <100.00%> (ø)

internal/trace/listener.go
58.49% <100.00%> (+1.62%)
:arrow_up:

internal/metrics/processor.go
100.00% <0.00%> (+2.56%)
:arrow_up:

Continue to review full report at Codecov.

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

authors: codecov-commenter nhinsch

repo: DataDog/datadog-lambda-go


text:
Can't connect (native) resource type with (Xhr) resource type for the same call

Thanks for taking the time for reporting an issue!
we need to link the traces with the resources that we sent as shown in the screens the traces is sent empty so we did a work around to send the traces in a native resource type in session obj using "interceptor: DDRequestInterceptor(), eventMonitors: [DDEventMonitor()] " but we need a way to link them together or send traces with resources.
Steps to reproduce the issue:
start resource and send custom attributes with it using "startResourceLoading" method and then stop resources using stopResourceLoading method with the same attributes

Attributes are sent normally but the Traces for that call not sent

Hello @Toba999! It seems your issue is related to our iOS SDK, so please open it the respective repository instead, this repository is for the Android SDK.

Hi @0xnm the same is happening in the android app

repo: DataDog/dd-sdk-android