text:
Ensure that OpenAIRE database is fetched by default

documentation should mention that the cron job must be enabled

@vidiecan This was already done in January with import of the old wiki. It's mentioned in OpenAIRE in bold (though that page is bit outdated)
Also this section ends with adding cronjobs using make add_cronjobs if you do that update_openaire_cache will be run via cron

authors: kosarko vidiecan

repo: ufal/lindat-dspace


text:
Add inverse_sigmoid_decay and piecewise_function

Add inverse sigmoid decay and piecewise (constant) function, e.g. for varying objective weights during training.
I put them in neuralmonkey.functions but maybe they should rather be in (a submodule of) neuralmonkey.learning_utils?
Example use:
[global_step]
class=config.utils.variable
name="global_step"

[decoder2_weight]
class=functions.inverse_sigmoid_decay
param=<global_step>
rate=300
max_value=1.0e-2

[trainer]
class=trainers.cross_entropy_trainer.CrossEntropyTrainer
decoders=(<decoder1>,<decoder2>)
decoder_weights=(1.,<decoder2_weight>)
global_step=<global_step>

I'd maybe put this module inside the nn sub-package.. And later on, think about renaming the nn package

@jindrahelcl On tf.case potřebuje, aby ty funkce vracely tensory. Ale jinde ta konverze potřeba nebyla.

source: gharchive/pull-request

authors: cifkao jindrahelcl

repo: ufal/neuralmonkey

license_type: permissive

license_source: bigquery


text:
source name was not shown

   96         sources = cmp.config.sources({
   97             { name = "nvim_lsp" },
   98             { name = "luasnip" },
   99             { name = "path" },
  100             { name = "buffer" },
  101             { name = "nvim_lsp_signature_help" },
  102             { name = "dictionary", keyword_length = 3 },
  103         }),
  104
  105         diagnost
  106        ┌──────────────────────────────────┐
  107        │ diagnostic       Variable [LSP] │
  108        │ diagnostics      Variable [LSP] │em)
  109        │ diagnostics      Variable [LSP] │at("%s %s", kind_icons[vim_item.kind], vim_item.kind)
  110        │ diagnostics      Variable [LSP] │
  111        │ diagnostic       Variable [LSP] │
  112        │ diagnostics      Variable [LSP] │
  113        │ diagnosticls     Variable [LSP] │
  114        │ diagnostic       Text           │
  115        │ diagnostics      Text           │
  116        │ diagnosticate    Text           │
  117        │ diagnostician    Text           │
  118     }) │ diagnostically   Text           │
  119        │ diagnostication  Text           │
  120     -- └──────────────────────────────────┘s

the text was not shown with dictionary, how should I config for that purpose, here was my config:
  147     use({
  148         "uga-rosa/cmp-dictionary",
  149         config = function()
  150             require("cmp_dictionary").setup({
  151                 dic = {
  152                     ["*"] = { "/usr/share/dict/words" },
  153                 },
  154             })
  155         end,
  156     })

A part of my setup
cmp.setup({
    ...
    formatting = {
        format = function(entry, vim_item)
            vim_item.kind = lspkind[vim_item.kind] .. " " .. vim_item.kind
            vim_item.menu = ({
                buffer = "[Buffer]",
                path = "[Path]",
                nvim_lsp = "[LSP]",
                nvim_lua = "[NvimLua]",
                luasnip = "[LuaSnip]",
                dictionary = "[Dict]",
            })[entry.source.name]
            vim_item.dup = ({
                buffer = 0,
                nvim_lua = 0,
                dictionary = 0,
            })[entry.source.name] or 1
            return vim_item
        end,
    },
    ...
})

that works, thanks.

source: gharchive/issue

authors: uga-rosa zanglg

repo: uga-rosa/cmp-dictionary

license: MIT

license_source: github-api


text:
Add phone number to contact page

Story
Add phone number so people can call Biblio on https://biblio.ugent.be/contact
Screenshot

Implementation suggestion

09 264 95 72

oops

Anniek mentioned she did not remember this; and she was fine trying it out and seeing whether people would still be misdirected, or if it is correct now. Is this okay to try it, or would we rather not take the risk to repeat the same problem?

authors: mietcls nics

repo: ugent-library/biblio-backoffice


text:
Fix useObjectState typing

useObjectState accepts a partial object to update a property state, but the type definition was expecting the whole object to be updated.

This is turbo annoying that this bug exist. Tried to use hook today, but left it for simple useState, just because this TS error.

authors: karolfalkiewicz-dss leonardobazico

repo: uidotdev/usehooks


text:
more and more backslashes when repeatedly dump and load

When I dump something contains backslash to file and then load it, there are double backslashes. Like the below:
import toml

with open('test.toml', 'w', encoding='utf-8') as f:
    toml.dump({"c:\\test": {}}, f)

for _ in range(5):
    with open('test.toml', encoding='utf-8') as f:
        contents = toml.load(f)
    print(contents)
    with open('test.toml', 'w', encoding='utf-8') as f:
        toml.dump(contents, f)

This will print:
{'c:\\\\test': {}}
{'c:\\\\\\\\test': {}}
{'c:\\\\\\\\\\\\\\\\test': {}}
{'c:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\test': {}}
{'c:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\test': {}}

I don't know if this is a bug or just a feature. If this is a feature, how can I avoid this?

I've just bumped into this--or something much like it--myself.
Specifically, it looks to me like TOML, when presented with a backslash (whether alone or escaped), outputs two backslashes in its place.
For example, the following program:
import toml

mew = "cat = 'this is a \ test'"
result = toml.loads(mew)
print (result)

produces the following output on my machine:
{'cat': 'this is a \\ test'}
Note that the single backslash has become a double backslash.
TOML version: 1.10.2, I believe
OS: Ubuntu Linux 22.04.5

authors: ArsThaumaturgis Difocd

repo: uiri/toml

license: mit


text:
add actindi

http://www.actindi.com/recruit/programmer
お願いします :pray:

:+1:

ありがとうございます！ :tada:

authors: nomnel uiureo

repo: uiureo/remote-in-japan


text:
Doesn't work on Rasperry Pi 3

I've been using the module on my computer (Windows 10 Intel x86) and it worked fine. But when I deployed it to a Rasperry Pi 3 requiring this module makes it crash with the following exception:
Unhandled exception at line 234, column 9 in Unknown script code (1) 0x800a1624 - JavaScript runtime error: Reflect.apply: argument is not an array or array-like object
The code part its breaking on (which is somewhere in a module):
var currentStackTrace; function ensureStackTrace() {   if (!currentStackTrace) {     currentStackTrace = parseStack(       Reflect_apply(oldStackDesc.get, e) || '', // Call saved old getter       skipDepth, startFuncName);   }       return currentStackTrace; }
The code is running in a BasicNodejsWebserver template from VisualStudio (a UWP app that runs node code). The Rasperry Pi is running Windows 10 IoT with Node v7.0.0

Seems like it's coming from a different module, and not directly related to "wait-for-stuff".
That said - can you maybe share more details on the error:

The full error callstack
The code that you're running that triggers this error

I might be able to figure out why this is happening (and maybe even apply a fix in "wait-for-stuff").
Thx!

Maybe it has to do with Windows IoT itself, I've reached a similar issue in a Microsoft forum but failing with Express.

I couldn't get the full callstack 😞 I swear I'll try again tomorrow.
Believe it or not, the program crashes when use const wait = require('wait-for-stuff'); I don't even need to call it to make it happen.

As I promised: Here is the callstack:
TypeError: Reflect.apply: argument is not an array or array-like object    at ensureStackTrace (Unknown script code:234:9)    at stackGetter (Unknown script code:244:9)    at getFileName (C:\Data\Users\DefaultAccount\AppData\Local\Packages\NodejsWebServer1_9bmdm54xz1gf2\LocalState\node_modules\bindings\bindings.js:127:3)    at bindings (C:\Data\Users\DefaultAccount\AppData\Local\Packages\NodejsWebServer1_9bmdm54xz1gf2\LocalState\node_modules\bindings\bindings.js:55:5)    at Anonymous function (C:\Data\Users\DefaultAccount\AppData\Local\Packages\NodejsWebServer1_9bmdm54xz1gf2\LocalState\node_modules\deasync\index.js:34:3)    at Anonymous function (C:\Data\Users\DefaultAccount\AppData\Local\Packages\NodejsWebServer1_9bmdm54xz1gf2\LocalState\node_modules\deasync\index.js:9:2)    at Module.prototype._compile (module.js:560:3)    at Module._extensions[.js] (module.js:569:3)    at Module.prototype.load (module.js:477:3)    at tryModuleLoad (module.js:436:5)

Closing this for now, as I don't have a Raspberry Pi 3 available for testing this further.
Please do open a new issue if you think there's anything else I can assist with on this.

Don't worry. I don't even work on that project anymore

authors: Xeoneid ujc

repo: ujc/wait-for-stuff


text:
[Question] Add pypi.org and Fedora Linux RPM updates

Describe the issue you are having
Is is possible for me to add not game related content? I am interested on caching Docker images, Fedora Linux RPMs and Python packages, since we are developers, we usually need to download the same content every docker build, tox tests, etc.
I know there are other solutions, like Lancache pointed out in the FAQ -WSUS,
Describe your setup?
Undaid lancache-bundle
Are you running sniproxy
N/A
DNS Configuration
N/A
Sniproxy output
N/A

Docker Hub and PyPI both serve their content via HTTPS so this would not be possible for those I believe
Fedora RPMs may be possible but it's pretty niche and not useful for "most LANgoers"
There would be nothing stopping you running a lancache pointed at a fork of this repo, or in fact any other repo with the same structure though.

Thanks for the fast response, I was thinking about forking the repo in order to adjust lancache to my needs, thank you!

authors: riconnon robertpro

repo: uklans/cache-domains


text:
Add GREAT profile existence info to Company model

Description of change
A new read-only field was added to company model, great_profile. Values for this field are imported from Data Science platform, as a separate exercise. It can have one of the constant values out of published, unpublished and null.
This will help front end to show a link to GREAT profile when appropriate.
Checklist

[x] Has a new newsfragment been created? Check changelog/README.md for instructions
[ ] Do any added or updated endpoints appear in the API documentation? See docs/Maintaining the API documentation.md for more details
[ ] Have any relevant search models been updated?
[ ] Have any relevant fixtures (fixtures/test_data.yaml) been updated?
[ ] Have any relevant select-/prefetch-related field lists in the views and search apps been updated?
[ ] Has the admin site been updated (for new models, fields etc.)?
[ ] Has the README been updated (if needed)?

Would be nice to keep the first line of commit messages to 72 characters – it will avoid this:

One other thing – we should also add a db news fragment as the database schema has changed (as a new column has been added to the company_company table).
An example of one from the change log for a different column is:

A nullable "theme" varchar(255) column was added to the interaction_interaction table with possible values 'export', 'investment', 'other' and NULL.

authors: reupen sekharpanja

repo: uktrade/data-hub-leeloo


text:
fixes typos and some formatting

Hi @ukutaht and @felipesere !
I finished the koans now and found a few typos along the way, so I thought I'd raise a PR to fix those.
I'll have a think on what else I can improve and might even try to add a koan once I understand the language a bit better...
Overall I thought they were really good though. Everything made sense and I only found "Processes" and "Tasks" a bit difficult to figure out (although maybe that was just me...).
I hope this PR is ok - let me know if you want me to change anything back...

Awesome, thanks @RabeaGleissner ! 👍

authors: RabeaGleissner ukutaht

repo: ukutaht/elixir-koans


text:
models.py razstavljen v več datotek

Models je sedaj razstavljen v več datotek, za lažje dodajanje novih tipov nalog in novih nalog že obstoječih tipov.

Super!

authors: LenartBucar jureslak

repo: ul-fmf/nadlogar


text:
Reversed chronoligical order is better?

I suggest order list in a way that most recent ones appear first. Then people don't have to scroll to the end of each section to get new papers.

make sense cc @Kunlun-Zhu

Thank you for your suggestion, @PengjuYan . We understand the convenience of having the most recent papers appear first, but we believe that maintaining a chronological order (from oldest to newest) offers several key benefits:
##Historical Context:
Chronological order helps readers understand the development and progression of ideas over time. By following the sequence in which papers were published, readers can see how research has evolved, which methodologies were built upon, and what foundational work has influenced more recent studies.
##Structured Learning:
For new readers or those unfamiliar with the topic, starting from the beginning provides a structured learning path. It allows for a gradual build-up of knowledge, starting with fundamental concepts and leading up to the latest advancements.
##Citation and Reference:
Often, newer papers cite older research. Reading in chronological order allows for a smoother understanding of these references, as readers encounter the foundational work first and then see how it is applied or built upon in later studies.
##Consistency:
Chronological order is a widely accepted standard in academic and research contexts. It aligns with how bibliographies, literature reviews, and historical analyses are typically structured, ensuring consistency and ease of use for a broad audience.
While we appreciate the efficiency that reversed chronological order offers for finding the latest updates, we feel that chronological order ultimately supports a deeper and more comprehensive understanding of the research landscape.
Thank you for your feedback, and we hope this explanation clarifies our reasoning.

Thanks for the suggestion. In each subsection, we now display only around 20 selected impactful papers discussed in our survey. Therefore, I believe it is easy to find the most recent papers at the end.

Thank you guys! Looks like I have no reason not to close this issue.

authors: Kunlun-Zhu PengjuYan chuanyangjin lwaekfjlk

repo: ulab-uiuc/AGI-survey


text:
Add low poly hands with arms

Pull Request Templates
Switch template by going to preview and clicking the link - note it not work if you've made any changes to the description.

default.md - for contributions to stable packages.
lightweight.md - for contributions to pre-release/preview packages use the lightweight merge request template. The quality threshold for reviewing is lower - it prioritizes a lean review process.
release.md - for release merge requests.

You are currently using: default.md
Note: these links work by overwriting query parameters of the current url. If the current url contains any you may want to amend the url with &template=name.md instead of using the link. See query parameter docs for more information.
Summary
Adding low poly hands with arms and adding them to the standard rigged hands example scene
Contributor Tasks
These tasks are for the merge request creator to tick off when creating a merge request.

[ ] Pair review with a member of the QA team.
[ ] Add any release testing considerations to the MR for the next release.
[ ] Check any relevant CHANGELOG files have been updated.
[ ] Ensure documentation requirements are met e.g., public API is commented.
[ ] Consider any licensing/other legal implications for this MR e.g. notices required by any new libraries.
[ ] Add any relevant labels such as breaking to this MR.
[ ] If this MR closes a Jira issue, make sure the fix version on the JIRA issue is set to the correct one.

Reviewer Tasks
Add any instructions or tasks for the reviewer such as specific test considerations before this can be merged.
Use emojis in review threads to communicate intent and help contributors.

[ ] Code reviewed.
[ ] Non-code assets e.g. Unity assets/scenes reviewed.
[ ] Documentation has been reviewed. Includes checking documentation requirements are met and not missing e.g., public API is commented.
[ ] Checked and agree with release testing considerations added to MR for the next release.

Closes JIRA Issue
If this MR closes any JIRA issues list them below in the form Closes PROJECT-#

Lack of a face on the end of the arm feels wrong?

mesh scaling doesn't seem to be working for them - my finger tips are quite far apart when I touch them together
https://user-images.githubusercontent.com/17143693/179464181-7e2bee10-2f11-4103-9331-d20bf0086ef2.mp4

The material assigned to the mesh is a different one to Low Poly Hands

URP & HDRP scenes should be fine with the old low poly materials :)

Testing that I have done:

new hands work

elbow follows elbow tracking data
the hand model looks right from all sides and in different poses

hands are part of the example scenes and work there

all three rigged hands example scenes include the new hands
hands look good in URP and HDRP

hand scaling works

the standard tests we do for hand scaling pass (eg. changing the scale offset, changing fingertip offsets, enabling / disabling scale)

@Greg-UL  Is there anything else that you think needs to be tested before this is merged?

Testing that I have done:

new hands work

elbow follows elbow tracking data
the hand model looks right from all sides and in different poses

hands are part of the example scenes and work there

all three rigged hands example scenes include the new hands
hands look good in URP and HDRP

hand scaling works

the standard tests we do for hand scaling pass (eg. changing the scale offset, changing fingertip offsets, enabling / disabling scale)

@Greg-UL Is there anything else that you think needs to be tested before this is merged?

Is this working alright across Unity versions too?
Can we activate deactivate the elbow tracking whilst using the arm models?
What's the interaction like for switching showArm like? Pre editor preview mode switch on/off, during editor preview mode on/off.
How does the model react to losing elbow tracking?
Model in different positions - Elbows close to the face, outstretched arms, arms close to body.

@Greg-UL

Is this working alright across Unity versions too?

tested on Unity 2020 and Unity 2021

Can we activate deactivate the elbow tracking whilst using the arm models?

You can toggle showArm while using the model, and the arm will disappear / reappear

What's the interaction like for switching showArm like? Pre editor preview mode switch on/off, during editor preview mode on/off.

Video here: https://ultrahaptics.box.com/s/okldmyjl9k633sjx5aumqtgzhdeav5rw

How does the model react to losing elbow tracking?

I don't think it's possible to lose elbow tracking? The elbow will be tracked if the hand is tracked. And if the hand isn't tracked anymore, the HandEnableDisable script will disable the hand model

Model in different positions - Elbows close to the face, outstretched arms, arms close to body.

Can also be seen on video here: https://ultrahaptics.box.com/s/okldmyjl9k633sjx5aumqtgzhdeav5rw

@Greg-UL

Is this working alright across Unity versions too?

tested on Unity 2020 and Unity 2021

Can we activate deactivate the elbow tracking whilst using the arm models?

You can toggle showArm while using the model, and the arm will disappear / reappear

What's the interaction like for switching showArm like? Pre editor preview mode switch on/off, during editor preview mode on/off.

Video here: https://ultrahaptics.box.com/s/okldmyjl9k633sjx5aumqtgzhdeav5rw

How does the model react to losing elbow tracking?

I don't think it's possible to lose elbow tracking? The elbow will be tracked if the hand is tracked. And if the hand isn't tracked anymore, the HandEnableDisable script will disable the hand model

Model in different positions - Elbows close to the face, outstretched arms, arms close to body.

Can also be seen on video here: https://ultrahaptics.box.com/s/okldmyjl9k633sjx5aumqtgzhdeav5rw

Thanks Julia - that's brilliant.
All good from my perspective.

authors: Dwarph Greg-UL JuliaRonnebergerUL

repo: ultraleap/UnityPlugin


text:
Average Visit Time Calculation

I'm testing on a site where users load a web page with inline video and often stay for long periods of time.
Running Umami and Google Analytics in parallel has Visitor and Page counts in the same general ballpark but Visit Duration in Umami is 1-2 minutes where Google Analytics shows as 40min to over 1 Hours averages. The longer duration is more correct for this site.
Is there a default timeout or delta between page views that can be tweaked in code or possible exposed in configuration?
To experiment, I added client side code to register an event every minute to see if that had any effect on average visit duration and it did not appear to even though Umami did track thousands of events.

The visit time calculation is based on the delta between page visits. So if a user comes to a page, watches a video, and doesn't visit any other pages, we can't tell where there visit ended. We would probably have to come up with a solution to "ping" umami with the updated time while the user sits on the page.

Totally makes sense.
Thoughts/questions:
Can an event be taken into account or act as that "ping" vs just the  page view?
Or could there be a configuration setting that exposes that max delta time? I'm taking a wild guess that it's around 5 minutes just looking at some of my reports.

I'm not completely familiar with the analytics script. But couldn't we use the visibilitychange event and Navigator.sendBeacon() in the Analytics script to send information to the analytics server once the user leaves a page?
MDN provides following example:
document.addEventListener('visibilitychange', function logData() {
  if (document.visibilityState === 'hidden') {
    navigator.sendBeacon('/log', analyticsData);
  }
});

To add to @gnarlex's suggestion, initial page load and visibilityState's 'visible' and 'hidden' values can be used to track when the page enters and leaves focus. I think it could be feasible to send this delta server-side. This should handle the elapsed time of each view when only visiting one page, navigating between site pages, or navigating between browser tabs.

One possible concern is that the tracker's current XMLHttpRequest appears to cache the server's response whereas Navigator.sendBeacon() would only be able to respond true or false to show if the request was queued.

Are there any plans to update the method for calculating the visit time in the near future? We're in a similar situation as we have a web app that people can use for long periods without navigating between different pages. We use events for various actions on the page so taking these into account for the visit time would be useful. Thanks

I have been playing around with this a bit. I think the solution is,

Create a new column in the database, in the session table, called ended_at.
Then a new collection type, called sessionend.
In the tracker, add an event listener for visibility change and send a sessionend request if the visibility state is hidden. (mentioned previously by @gnarlex, but using fetch keepalive).
When sessionend request is received, change the session table to update the ended_at for the particular session.

Then the visit time can be calculated using the delta between created_at and ended_at for the particular session.
@mikecao, could this be a possible solution?

Doesn't the visibility change event also fire when a tab gets inactive? I wonder if it would duplicate views or something in cases where the user leaves the tab then comes back.

@jakobbouchard, I don't think that will be a problem, since every time the visibility change occurs (hidden), a request will be fired. And each time the timestamp will be updated in the database. The last timestamp value will only be in the record, the other values will be discarded.

@rohandebsarkar Oh yeah that makes sense!

authors: Sammy-T gnarlex jakobbouchard mikecao rohandebsarkar ryancanzo talthanas

repo: umami-software/umami


text:
ClassNotFoundException when unmarshalling

Hello,
I noticed that when I change the language of my device, I get following error when I resume my app, which uses the SlidingUpPanel in one of its fragments:
"ClassNotFoundException when unmarshalling:
com.sothree.slidinguppanel.SlidingUpPanelLayout$SavedState"
Is it only me, or is it a known bug (couldn't find anything on that)?

It still happens if use SlidingUpLayout with SupportMapFragment as a first view.

Yes it still happens with map view on the second swipe of the tablayout

Hi, @valeryDenivip : Follow this, this helped me solving the above error. http://stackoverflow.com/questions/13900322/badparcelableexception-in-google-maps-code/24651246#24651246

authors: deimos1988 valeryDenivip varunpappu

repo: umano/AndroidSlidingUpPanel


text:
releaseIdentifier -> releaseKey

A more distinct release identifier naming.
releaseIdentifier -> releaseKey
Ref: https://umccr.slack.com/archives/C03F7BHNJ3X/p1678147647203069

Your search/replace skills are on point

authors: andrewpatto williamputraintan

repo: umccr/elsa-data


text:
Consider multiple buckets support

Context:

At the mo; htsget-rs support single bucket configuration as follows.

export HTSGET_S3_BUCKET=my-primary-data

Desirable:

It would be good; if we can configure it to multiple buckets as data may sparsely located across multiple locations/buckets

Related:

This may also related to Htsget REST API endpoint resource ID mapping; currently is with regex pattern .* matching all keys under a bucket
Hence, in-turn, this request indirectly refer to consider include bucket as part of its REST endpoint resource ID mapping
i.e.

s3://my-bucket1/subject/key/to/data1.bam
s3://my-bucket2/another/subject/key/to/data1.bam

Then, Htsget REST endpoint resource ID will become
https://htsget-rs.my.org/my-bucket1/subject/key/to/data1.bam
https://htsget-rs.my.org/my-bucket2/another/subject/key/to/data1.bam

(or without extension suffix is fine)
https://htsget-rs.my.org/my-bucket1/subject/key/to/data1
https://htsget-rs.my.org/my-bucket2/another/subject/key/to/data1

Or, with htsget URI scheme (on-going discussion #581 https://github.com/umccr/data-portal-client/pull/88)
htsget://data.my.org/my-bucket1/subject/key/to/data1
htsget://data.my.org/my-bucket2/another/subject/key/to/data1

Thanks for opening this one, Victor, it taps into a related discussion in https://github.com/umccr/htsget-rs/pull/88#issuecomment-1148221436. If we implement this multi-storage backend feature we should also support multiple data sources from within the same storage backend, transparently.
/cc @mmalenic

authors: brainstorm victorskl

repo: umccr/htsget-rs


text:
checkbox修改字体问题

2.0 h5 checkbox 修改css无法修改字体大小，发现页面会自动添加font-size等属性。
难道要一个个checkbox去修改labelsize 和 labelcolor吗？不能通过css统一修改吗？如果要增加important才能修改，那岂不是会增加维护难度？

发现是我代码问题。


text:
Estudo sobre a importância e o funcionamento dos testes

Esta issue tem como objetivo aprofundar o entendimento sobre os testes no contexto do projeto.

[x] Investigar e documentar a importância dos testes no contexto de projetos de desenvolvimento de software.
[x] Identificar e descrever os diferentes tipos de testes que podem ser aplicados no desenvolvimento do site extrator
[x] Criar um guia detalhado sobre como implementar os testes.
[x] Pesquisar sobre a automatização dos teste.

Investigar e documentar a importância dos testes no contexto de projetos de desenvolvimento de software.
No universo do desenvolvimento de software, a prática de realizar testes é vital para garantir a qualidade, robustez e confiabilidade dos sistemas. Por isso o nosso projeto necessita ter um investimento maior na área de testes.
Motivos para se realizar testes:

Identificação Precoce de Bugs: Os testes possibilitam a identificação precoce de bugs e falhas no código-fonte.
Melhoria da Qualidade do Código: Testes bem elaborados pode nos ajudar a manter as boas práticas de programação a medida em que desenvolvermos o extrator e o front. Consequentemente, é facilitada a compreensão e a manutenção do nosso trabalho.
Garantia de Funcionamento Esperado: Com os testes, é possível verificar se os requisitos estão sendo atendidos e se as funcionalidades estão operando corretamente.
Manutenibilidade e Evolução do Software: Eles fornecem uma rede de segurança ao realizar alterações ou adições no código, o que garante que novos desenvolvimentos não introduzam regressões ou quebras nas funcionalidades existentes.

Influência no nosso trabalho:
A aplicação de testes desempenhará um papel crucial no desenvolvimento do nosso projeto de extração de dados ambientais na Amazônia. Isso porque, ao implementar uma estratégia abrangente de testes, podemos assegurar a confiabilidade e a precisão das informações extraídas, além de garantirmos que o nosso site está funcionando corretamente.
Referências Bibliográficas:

Teste de Software: Conheça o que é e a sua importância. Disponível no site: https://studiosilver.com.br/teste-de-software-conheca-o-que-e-e-sua-importancia/
Importância dos testes de software na qualidade do sistema. Disponível no site: https://www.treinaweb.com.br/blog/importancia-dos-testes-de-software-na-qualidade-do-sistema

Pesquisar sobre a automatização dos teste
Porque automatizar:
A automação permite a execução rápida e repetitiva dos testes, reduzindo o tempo necessário para validação e garantindo que todas as partes do sistema sejam testadas de maneira abrangente. Além disso, a automação contribui para a identificação imediata de regressões.
Automatizando os testes:

Ferramentas: Utilizar frameworks de teste adequados à linguagem de programação do projeto.

Escrita dos Testes: Escrever casos de teste que avaliem as unidades de código, simulando diferentes condições e cenários.

Execução Automática: Integrar os testes ao fluxo de integração contínua, garantindo que sejam executados automaticamente sempre que houver uma alteração no código.

Referências Bibliográficas:

Quais os tipos de testes de software e por que automatizá-los? Disponível em: https://www.monitoratec.com.br/blog/tipos-de-testes-de-software/
Diferentes tipos de testes de software. Disponível em: https://www.atlassian.com/br/continuous-delivery/software-testing/types-of-software-testing

Caso alguém tenha alguma dúvida, pode vir falar comigo! :D


text:
Runs - not displaying runs after unchecking option

pluto runs
1- all options checked
2- go to page 2
3- uncheck Show Errors
Expected: Warnings displayed
Actual: nothing displayed
Oct16 showing blank.pdf

Fixed as part of reset to page 1 on filter change

Fix verified

authors: Maunique lcorrigall

repo: unchartedsoftware/PLUTO


text:
Register UbikLoadPack Video Streaming plugin to JMeter-Plugins

Hello @undera ,
This PR is to register our UbikLoadPack Video Streaming plugin so that it's available through jmeter-plugins-manager.
We think we have provided required elements, but let us know if anything is missing.
Kudos to all your OSS work for the JMeter community.
Thanks
Regards

Looks like you forgot to change the descriptor...

Looks like you forgot to change the descriptor...

Bad copy paste, fixed. Sorry

Thanks for merging.
What is the delay for plugin to appear on jmeter-plugins.org ?
Thank you

~30 mins

Thanks, it's available now in JMeter through plugins-manager, but does not appears on website yet when searching for it.
Regards

Probably it was your browser cache at the moment. It works for me now.

Yes it works now.
Thanks

authors: ubikloadpack undera

repo: undera/jmeter-plugins


text:
🛑 Piped API is down

In ceb7609, Piped API (https://pipedapi.unforest.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Piped API is back up in 371f66f after 19 minutes.

repo: unforest/uptime


text:
Update to Chromium 123.0.6312.86

This PR updates to Chromium 123.0.6312.86.
There were no changes needed on our end.

Change log
Blog post

Builds and runs fine on my end!  I'll rerun the task once the tarball is available.
They added an assignment operator that isn't supported until python 3.8+
if val := GIT.rev_parse_cache.get(cache_key): could be updated to
val = GIT.rev_parse_cache.get(cache_key)
if val:

but I think this is a sign I need to spend some time updating the tasks to use a newer version of python.

portable linux build works fine and result is running at least on Manjaro and ubuntu 20.04  upwards

Builds and runs fine for windows as well.

authors: Ahrotahn clickot networkException teeminus

repo: ungoogled-software/ungoogled-chromium


text:
Setup CI for static code analysis with Axivion Suite version 7.6

We want to check our code with Axivion Suite version 7.6.
We used an earlier version of it. Unfortunately, the installation was deleted. We need to revive it and possibly make adjustments as part of a migration to version 7.6.

@koschke Is this resolved now, since Axivion Suite analyses are integrated into the CI again?

It is resolved. I am closing it.

repo: uni-bremen-agst/SEE


text:
crash (line ending issue and crash)

OS: macOS 10.14.6 (Mojave)
java version "12.0.2" 2019-07-16
Java(TM) SE Runtime Environment (build 12.0.2+10)
Java HotSpot(TM) 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing)
sbt version in this project: 1.3.12
sbt script version: 1.3.12

When I run an individual pipeline scala script, (e.g., sbt -mem 5000 "fitting.experiments.QualitativeLFW" or sbt "run-main preprocessing.ConvertBu3DRawData" I get [error] Expected ';' aka it expects a selmicolon at the end of the command, e.g.,:

$ sbt -mem 5000 "fitting.experiments.QualitativeLFW"
[info] Loading settings for project basel-face-pipeline from build.sbt ...
[info] Set current project to basel-face-pipeline (in build file:/.../basel-face-pipeline/)
[error] Expected ';'
[error] fitting.experiments.QualitativeLFW
[error]                                   ^
Or,
$ sbt "run-main preprocessing.ConvertBu3DRawData"
[info] Loading project definition from /.../project
[info] Loading settings for project basel-face-pipeline from build.sbt ...
[info] Set current project to basel-face-pipeline (in build file:/.../basel-face-pipeline/)
[error] Expected ';'
[error] run-main preprocessing.ConvertBu3DRawData
[error]                                          ^
I learned that this is a known scala issue (I'm new to scala) where scala needs a semicolon at the end of every line if line endings in the file are \r (like in an old Mac) (as opposed to \n or \r\n). REFs: https://stackoverflow.com/questions/5748451/why-do-i-need-semicolons-after-these-imports;   https://stackoverflow.com/questions/21355908/scala-semicolon-inconsistency
I changed all line ending to \n in all scala files in Basel Face Pipeline's subdirectories. The same error persists. Any clue/suggestions?
I also tried sbt -mem 5000 "fitting.experiments.QualitativeLFW;" Same error.

Alternatively when I run the pipeline via sbt run, I get the following error:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.jogamp.common.os.NativeLibrary$3 (file:/var/folders/31/n5c0nh4j3v39m_f2rst6jxj00000gn/T/sbt_7621b066/target/3604376f/513389d3/scalismo-native-stub-4.0.0.jar) to method java.lang.ClassLoader.findLibrary(java.lang.String)
WARNING: Please consider reporting this to the maintainers of com.jogamp.common.os.NativeLibrary$3
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2020-06-08 03:21:29.386 java[55582:12237943] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
*** First throw call stack:
(
0   CoreFoundation                      0x00007fff5162e9a9 __exceptionPreprocess + 256
1   libobjc.A.dylib                     0x00007fff7bd36a17 objc_exception_throw + 48
2   CoreFoundation                      0x00007fff51648509 -[NSException raise] + 9
3   AppKit                              0x00007fff4ebed5ca -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 317
4   AppKit                              0x00007fff4ebea9f7 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1479
5   AppKit                              0x00007fff4ebea42a -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45
6   libnativewindow_macosx.dylib        0x0000000109a0ef9e Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
7   ???                                 0x0000000112363b70 0x0 + 4600511344
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
I know this is not specifically related to the pipeline but I'm new to scala and would appreciate any input. Thanks a lot for your time

Hey, I am also new to scala and desperately need help. I have the same errors. Were you able to find out how to resolve it? Thanks!

Hi, I am also new to scala and was trying to use scalismo package. I have the same errors. Do you have the solution to this now? Thanks a lot!

Hey so I contacted the scalismo team. Here's their response:
Unfortunately, there are issues with the combination MacOS, OpenGL and Java, as the latter two are poorly supported on MacOS. We managed to run it on Catalina (and also previous versions) with openjdk 11.
As OpenGL is officially deprecated on MacOS, we currently take no action and wait how other libraries such as vtk (on which we depend for visualization) will address that issue.

A late addition to this issue:
I finally got my hands on a Mac and played with Scalismo on MacOS. It seems what is causing the crash is an issue in many versions of openjdk (see this issue. It turns out that the zulu builds of openjdk are not affected by this issue. Hence the solution is to use a zulu build of openJDK.
I updated the documentation on the scalismo website to include details on how to set this up properly.

authors: WxComeon dongwonoh marcelluethi xiaozhi-alan-zhu

repo: unibas-gravis/basel-face-pipeline


text:
Unify Direct Display and Embedded questionnaire rendering

The Direct Display, Embedded Display and dedicate page display of questionnaires is done separately. We should ideally unify the code block that renders these so that any change in the business logic is unified

The render_questionnaire_form template tag can be used for unifying the rendering logic. Once we've done that, we'd need to verify if the skip logic and template tags within the render_questionnaire_form

repo: unicef/iogt


text:
Logo and image scaling issues

1024 and above width: logo is clear and article image is clear

768 to 320 width: logo is pixelated and article image is clear

320 width: logo is pixelated and article image is pixelated

I'm noticing that the logo is stored as a 60px width image, even though it's always displayed wider than 60px.

For the IoGT logo, serve it at 120px rather than 60.
Ensure only one size per image is loaded (this should already be the case).
For bandwidth reduction: Serve full width images (top) as they are right now, but images that are displayed at half (or less) width (bottom) in a lower quality:

360 px full width / 180 px half width.
This will look bad on desktop, see #1030


text:
When start is invalid (no video) it errors

Is it possible to start downloading from the first available start time for a given date?

In version 1.x it's not directly supported – but version 2.x will use the given start date/time or the first available date/time of recordings available for each camera, whatever comes first. This functionality has been partially implemented as part of the new 'sync' command in v2.0.0: https://github.com/unifi-toolbox/unifi-protect-video-downloader/pull/18/
It will also be available as part of the download command.
As long as you're using v1.x, you can add the --ignore-failed-downloads option to skip non-existing segments.

v2.0.0 has been merged into the master branch: #37

v2.0.0 has been merged into the master branch: #37

authors: danielfernau sirtastic


text:
Make union-ibc-light-client enforce Encode<EthAbi> for the ConsensusState

Although union-ibc-light-client is generic over encoding, it should still enforce EthAbi to be used for ConsensusState. This will enable a single encoding, and make it easier to do state lenses.

Closed by #3301

repo: unionlabs/union


text:
Create Potatos collection

Create Potatos collection

close


text:
feat(vercel, netlify): introduce isr route rule

🔗 Linked issue
Resolves #946
❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
We had been experimenting vercel ISR and netlify Builders feature via an implicit cache route rule.
Introducing a new isr flag, unblocks to combine nitro native cache (SWR) with platform native rules and giving the flexibility to use the most effective caching mechanism. (Currently, on these platforms nitro cache/storage cannot be used)
Note: This is a semi-breaking change for this platforms however switching swr to built-in behavior still preserves in memory cache so caching keeps working only can be changed to either isr or permanent by mounting /storage for production.
This PR also drops (almost unused) static cache rule.
📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

But maybe worth (if not using vercel/netlify) setting native nitro cache options if isr is enabled?

It would be indeed a nice idea if we could emulate isr functionality for other production platforms. Let's iterate over this. I think one main difference that swr lacks is to invalidate/segment cache based on deployment id.
Feel free to make PR for both ideas btw.

It should be possible to implement ISR for the cloudflare providers by leveraging the Cloudflare cache API like here. The isr value can be forwarded to the cache-control header as well.
This would be very neat 👌

repo: unjs/nitro


text:
feat: implement runtime package manager detection

This PR adds a detectRuntimePackageManager api function to detect the current package manager in runtime using the npm-config-user-agent environment variable. It also adds a refactor so that argv parsing can be a safe fallback in the event that the environment variable is not set.
The possible usecases for this API include

Allowing scripts that contain a package manager selector to default to and/or suggest the package manage currently in use
Enabling silent scripts that don't require user input for package installation (for use in CI environments)

I'm currently marking this as a draft because I'd appreciate suggestions on how to implement tests for this new API.
References

pnpm/pnpm#4317
npm/cli#1919
yarnpkg/yarn#7127

This is nice idea!

Can you please add tests to make sure pnpm and yarn (v1 and berry+) are detected?
We shall also implement logic for arv0 (runtime binary as package manager: bun/deno)

repo: unjs/nypm


text:
UniFi Network Application 6.5.51

Official UniFi Network Application 6.5.51
Install command: fetch -o - https://git.io/JXyg5 | sh -s
install at your own risk, back up your DB first

Upgrade from 6.5.50 to 6.5.51, successful
OPNsense 21.7.4-amd64
FreeBSD 12.1-RELEASE-p19-HBSD
OpenSSL 1.1.1k 25 Mar 2021
CPU type Intel(R) Core(TM) i3-7100U CPU @ 2.40GHz (4 cores)
Clean install, successful
OPNsense 21.7.4-amd64
FreeBSD 12.1-RELEASE-p19-HBSD
OpenSSL 1.1.1k 25 Mar 2021
CPU type Intel(R) Core(TM) i3-7100U CPU @ 2.40GHz (4 cores)

repo: unofficial-unifi/unifi-pfsense


text:
Add Let's Encrypt Support

A better way to deal with supporting Let's Encrypt than Issue #72. Added an option to enable or disable per users preference.

Let’s Encrypt is a free, automated, and open Certificate Authority. Since this tool is related to passwords the connection should always be secure.
Explaining Let's Encrypt should not be needed. It is a well know CA and they have extensive documentation on how to get a certificate from them. It could be an automated setup on the local server or you can even get it from sslforfree.com

Maybe just a link?

@geoperez per the work in our other pull request, this one may need improvement. @zippy-man would need to add a config flag to turn off the IIS mode in the ASP.NET setup part of the program; so it'd act as a self-hosted server. Otherwise, you'd setup IIS to do LE certs. https://letsencrypt.org/docs/client-options/

@zippy-man if this was cleaned up against the new 3.1 codebase; you might have something useful for #26

authors: geoperez unquietwiki zippy-man

repo: unosquare/passcore


text:
feat(NavigationMenu): expose item position to MenuContent

Similar to https://github.com/unovue/radix-vue/pull/1481 where I'd like to have the item position and size exposed, I'd like to have it available for Content.
This allows to position the content overlay underneath the active item, rather than only relative to the overall component.
Example

If you find this useful, I could also add an example story?

Actually you can achieve this easily by not using NavigationViewport
https://stackblitz.com/edit/epoeew?file=src%2FApp.vue,package.json

Thanks, I had not though about this and will try it out! Maybe this would make another nice example, because I'd think it is a common use-case? I you want I could try and create one.

Works like a charm. Thanks @zernonia. In case you'd like me to add an example let me know.

Yeah would love to have an example for this 😁 Could you help with that?

authors: gu-stav zernonia

repo: unovue/radix-vue


text:
[Model] Pilot-Girl-A01

I am the submitter of this model, and unfortunately, I only realized after submitting that it relies on another file that is not packaged with it. So, it doesn't work properly.
I since then submitted this with the fixed files ( piloteris-1-1zip_45e27e32 #3761 ).
Can this one be removed? Thank you.

URL: https://unrealarchive.org/unreal-tournament-2004/models/P/pilot-girl-a01_9d38b76b.html
Hash: 9d38b76b6cdebed0e77098cd4a77e152203b1532
Current name: Pilot-Girl-A01

Done, removed (link still valid, but removed from listing etc).
Replaced with the new submission.
https://unrealarchive.org/unreal-tournament-2004/models/P/pilot-eris_e95461c2.html

repo: unreal-archive/unreal-archive-data

license: Unlicense


text:
Interrupting Video Transitions on HBO Max

Hello
Really love the SoundFixer, so I want to first off thank you very much for making it.  Sound on movies in Firefox is now really great for me.
I have noticed that from the beginning of using it though, whenever I have it active on a video in HBO Max, if there is a transition from the main title to another section like upcoming trailers or a "inside the episode" section, I suddenly get an internal error message from HBO Max saying "the title cannot be played."  While we all know that the UI on HBO is fairly cruddy, this issue is directly tied to the SoundFixer running.
If I disable it, I have never once had this issue come up.  If I do enable it again, the issue will consistently happen at the end of streaming any episode on any series.  If you allow HBO Max auto forward to next episode, the SoundFixer settings are lost and so you have to put them up again, being mindful NOT to do this before the previous episode re-cap section runs or you get the error message again.
All of this is easily duplicated so I hope someone looks into at some point.  I can hang with manually resetting it of course, but it would be nice to not have to keep going back over the settings throughout the viewing of multiple episodes in a series.
Thanks for all you do.
PS: not sure why this is being marked as spammy -  I have never posted a single thing here before.

Various players not liking "being messed with" is kind of expected. I wonder if they use client-side audio processing themselves or something.

Various players not liking "being messed with" is kind of expected. I wonder if they use client-side audio processing themselves or something.

I posted the issue in May and I got a reply in August, and then you close it?? Yeah ok.  Thanks.  Won't be back here.  Sorry to have even bothered.

authors: mtoalla unrelentingtech

repo: unrelentingtech/soundfixer


text:
Error when calling the google.colab

AttributeError: module 'IPython.utils.traitlets' has no attribute 'Unicode'
I think there are lots of error when using this unsloth with the google-colab.
Anyone has this problem too?

I just ran it through Colab, and it seems to be fine? Could you take a screenshot thanks

same problem here, checked stackoverflow and was told to modify the data_table.py file, any other solutions?

Maybe this might be helpful? https://github.com/unslothai/unsloth/wiki#notimplementederror-a-utf-8-locale-is-required-got-ansi

repo: unslothai/unsloth


text:
Add Glue crawler, connection resources

Description of your changes
Implements the following AWS glue resources

glue_connection
glue_crawler

Fixes #92
I have:

[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

/test-examples="examples/glue/catalogdatabase.yaml,examples/glue/connection.yaml,examples/glue/crawler.yaml,examples/glue/role.yaml"

/test-examples="examples/glue/catalogdatabase.yaml,examples/glue/connection.yaml,examples/glue/crawler.yaml,examples/glue/role.yaml"

/test-examples="examples/glue/catalogdatabase.yaml"

/test-examples="examples/glue/catalogdatabase.yaml"

/test-examples="examples/glue/catalogdatabase.yaml,examples/glue/connection.yaml,examples/glue/crawler.yaml,examples/glue/role.yaml"

This is ready for review.

repo: upbound/provider-aws


text:
Ordering of drop-downs

Drop-down lists should be ordered as on the existing site (mainly alphabetical but with some potted searches at the top)

same as #26

authors: ZacharyLesser apjanco

repo: upenndigitalscholarship/deep


text:
Add SRE Game blog post

Adding a request to include the article  The SRE Incident Response Game and Level Up Your Incident Response With Gameplay

Thanks @brucedvgw 🙌

authors: brucedvgw upgundecha

repo: upgundecha/howtheysre


text:
Observation dictionaries take too long to deserialise

The get_observation() method of SpineInterface takes too long to deserialize the observation dictionaries (even longer when the observations are extended with additional fields) when run with make run_xxx_balancer (make run_wheel_balancer in my case, as I run an older version of upkie).
The profiling result from a quick run (2752 steps in 27.559 seconds) reveals that get_observation() takes around ~5 milliseconds (n.b. the method actually runs in ~3 milliseconds without the profiler) and that a method was called recursively 704472 times in fallback.py of msgpack-python. As the file name suggests, this is not the optimal "backend", as the default implementation is in Cython, and this pure-Python implementation only exists for compatibility reasons.
My first guess is that Bazel cannot pull the correct wheels (TBC), as the msgpack-python installed directly on the RasPi gives:
>>> import msgpack
>>> msgpack.Unpacker
<class 'msgpack._cmsgpack.Unpacker'>

whereas the Bazel one gives:
>>> import msgpack
>>> msgpack.Unpacker
<class 'msgpack.fallback.Unpacker'>

Profiling results (truncated):

ncalls
tottime
percall
cumtime (↓)
percall
filename:lineno(function)

1
0.100
0.100
27.559
27.559
main.py:43(run)

1
0.000
0.000
27.559
27.559
:1()

3/1
0.000
0.000
27.559
27.559
{built-in method builtins.exec}

2752
0.025
0.000
13.914
0.005
spine_interface.py:109(get_observation)

2752
0.067
0.000
10.107
0.004
spine_interface.py:163(_read_dict)

5503
0.034
0.000
9.940
0.002
fallback.py:623(next)

704472/5503
3.144
0.000
9.894
0.002
fallback.py:543(_unpack)

2750
0.116
0.000
8.981
0.003
servo_controller.py:84(cycle)

704472
3.291
0.000
6.226
0.000
fallback.py:441(_read_header)

2750
0.437
0.000
4.857
0.002
contact_models.py:108(cycle)

8255
1.034
0.000
3.868
0.000
spine_interface.py:183(_wait_for_spine)

2750
0.026
0.000
3.351
0.001
spine_interface.py:134(set_action)

2751
0.039
0.000
3.200
0.001
spine_interface.py:212(_write_dict)

101749/82499
0.624
0.000
3.184
0.000
{built-in method numpy.core._multiarray_umath.implement_array_function}

2751
0.024
0.000
3.122
0.001
fallback.py:881(pack)

294296/2751
1.409
0.000
3.095
0.001
fallback.py:755(_pack)

2750
0.043
0.000
3.080
0.001
_spectral_py.py:617(spectrogram)

33008/2751
0.377
0.000
3.033
0.001
fallback.py:964(_pack_map_pairs)

2750
0.024
0.000
2.604
0.001
contact_models.py:47(cycle)

747113
1.498
0.000
2.595
0.000
spine_interface.py:156(_read_request)

2750
0.032
0.000
2.580
0.001
contact_models.py:34(get_contact_probability)

2750
0.078
0.000
2.548
0.001
_rgi.py:516(interpn)

2750
0.381
0.000
2.090
0.001
_spectral_py.py:1634(_spectral_helper)

1276853
1.343
0.000
1.688
0.000
fallback.py:407(_reserve)

327469
0.919
0.000
1.391
0.000
fallback.py:399(_read)

2750
0.112
0.000
1.279
0.000
wheel_controller.py:297(cycle)

2750
0.216
0.000
1.277
0.000
_rgi.py:274(call)

2750
0.135
0.000
1.211
0.000
_spectral_py.py:1928(_fft_helper)

2750
0.049
0.000
1.178
0.000
rate_limiter.py:100(sleep)

2750
0.033
0.000
1.076
0.000
init.py:2070(warning)

2750
0.024
0.000
1.042
0.000
init.py:1444(warning)

2750
0.026
0.000
1.007
0.000
init.py:1561(_log)

5500
0.048
0.000
0.965
0.000
_spectral_py.py:1978(_triage_segments)

2750
0.014
0.000
0.907
0.000
base_pitch.py:111(compute_base_pitch_from_imu)

5500
0.309
0.000
0.826
0.000
_rgi.py:14(_check_points)

2750
0.070
0.000
0.814
0.000
_windows.py:2261(get_window)

2750
0.538
0.000
0.742
0.000
_windows.py:807(tukey)

5500
0.026
0.000
0.673
0.000
<array_function internals>:177(mean)

2750
0.011
0.000
0.648
0.000
init.py:1587(handle)

2750
0.019
0.000
0.630
0.000
init.py:1641(callHandlers)

5500
0.047
0.000
0.623
0.000
fromnumeric.py:3345(mean)

2750
0.016
0.000
0.611
0.000
init.py:935(handle)

11000/5500
0.027
0.000
0.595
0.000
<array_function internals>:177(roll)

27503
0.578
0.000
0.578
0.000
{method 'reduce' of 'numpy.ufunc' objects}

5500
0.218
0.000
0.576
0.000
_methods.py:164(_mean)

2750
0.024
0.000
0.571
0.000
init.py:1067(emit)

2108203
0.566
0.000
0.566
0.000
{built-in method builtins.len}

11000/5500
0.387
0.000
0.564
0.000
numeric.py:1147(roll)

2750
0.072
0.000
0.538
0.000
_rgi.py:364(_prepare_xi)

2750
0.015
0.000
0.510
0.000
_spectral_py.py:1842(detrend_func)

2750
0.045
0.000
0.505
0.000
_rgi.py:232(init)

2750
0.062
0.000
0.494
0.000
_signaltools.py:3510(detrend)

11000
0.044
0.000
0.482
0.000
<array_function internals>:177(all)

16500
0.110
0.000
0.473
0.000
fromnumeric.py:69(_wrapreduction)

1628403
0.469
0.000
0.469
0.000
{built-in method builtins.isinstance}

2750
0.151
0.000
0.467
0.000
base_pitch.py:76(compute_base_orientation_from_imu)

2750
0.183
0.000
0.426
0.000
base_pitch.py:26(compute_pitch_frame_in_parent)

758119
0.415
0.000
0.415
0.000
{method 'seek' of 'mmap.mmap' objects}

758120
0.399
0.000
0.399
0.000
{method 'read' of 'mmap.mmap' objects}

2750
0.006
0.000
0.396
0.000
_rgi.py:503(_find_indices)

2750
0.164
0.000
0.391
0.000
{scipy.interpolate._rgi_cython.find_indices}

11000
0.053
0.000
0.388
0.000
fromnumeric.py:2432(all)

2750
0.029
0.000
0.382
0.000
_backend.py:17(ua_function)

143022
0.247
0.000
0.372
0.000
fallback.py:970(_pack_raw_header)

2750
0.015
0.000
0.364
0.000
init.py:912(format)

2750
0.042
0.000
0.349
0.000
basic.py:40(r2c)

2750
0.033
0.000
0.349
0.000
spdlog.py:48(format)

2750
0.313
0.000
0.324
0.000
_rgi.py:506(_find_out_of_bounds)

749871
0.305
0.000
0.305
0.000
{built-in method from_bytes}

327469
0.286
0.000
0.286
0.000
{built-in method sys.intern}

8250
0.024
0.000
0.269
0.000
<array_function internals>:177(norm)

733355
0.261
0.000
0.261
0.000
{built-in method time.perf_counter_ns}

2750
0.017
0.000
0.260
0.000
init.py:1546(makeRecord)

2750
0.111
0.000
0.243
0.000
init.py:278(init)

2750
0.034
0.000
0.231
0.000
init.py:646(format)

5500
0.025
0.000
0.225
0.000
<array_function internals>:177(any)

8250
0.118
0.000
0.219
0.000
linalg.py:2342(norm)

327469
0.214
0.000
0.214
0.000
{method 'decode' of 'bytearray' objects}

2750
0.012
0.000
0.200
0.000
<array_function internals>:177(moveaxis)

244912
0.195
0.000
0.195
0.000
{built-in method _struct.unpack_from}

294294
0.191
0.000
0.191
0.000
{built-in method _struct.pack}

2749
0.124
0.000
0.185
0.000
stride_tricks.py:38(as_strided)

2750
0.059
0.000
0.173
0.000
numeric.py:1411(moveaxis)

5500
0.016
0.000
0.171
0.000
<array_function internals>:177(diag)

5500
0.025
0.000
0.163
0.000
fromnumeric.py:2333(any)

437318
0.156
0.000
0.156
0.000
{method 'write' of '_io.BytesIO' objects}

5500
0.018
0.000
0.156
0.000
{method 'sum' of 'numpy.ndarray' objects}

2750
0.013
0.000
0.154
0.000
<array_function internals>:177(zeros_like)

11000
0.039
0.000
0.153
0.000
<array_function internals>:177(empty_like)

2852
0.150
0.000
0.150
0.000
{method 'write' of '_io.TextIOWrapper' objects}

2750
0.058
0.000
0.145
0.000
rotations.py:23(rotation_matrix_from_quaternion)

5500
0.008
0.000
0.138
0.000
_methods.py:47(_sum)

11000
0.094
0.000
0.136
0.000
numeric.py:1348(normalize_axis_tuple)

5500
0.084
0.000
0.136
0.000
twodim_base.py:240(diag)

2750
0.134
0.000
0.134
0.000
{built-in method scipy.fft._pocketfft.pypocketfft.r2c}

2750
0.016
0.000
0.132
0.000
<array_function internals>:177(cumsum)

5500
0.018
0.000
0.130
0.000
fromnumeric.py:51(_wrapfunc)

2750
0.026
0.000
0.123
0.000
numeric.py:77(zeros_like)

2750
0.011
0.000
0.122
0.000
<array_function internals>:177(diff)

2750
0.066
0.000
0.115
0.000
wheel_controller.py:241(update_target_yaw_velocity)

5500
0.032
0.000
0.115
0.000
<array_function internals>:177(copyto)

2750
0.035
0.000
0.114
0.000
init.py:578(formatTime)

33008
0.069
0.000
0.112
0.000
fallback.py:955(_pack_map_header)

2750
0.013
0.000
0.104
0.000
fromnumeric.py:2523(cumsum)

2750
0.093
0.000
0.099
0.000
function_base.py:1320(diff)

2750
0.021
0.000
0.098
0.000
numeric.py:150(ones)

2750
0.024
0.000
0.094
0.000
wheel_controller.py:400(get_wheel_velocities)

2750
0.021
0.000
0.090
0.000
_rgi.py:264(_check_fill_value)

5500
0.017
0.000
0.090
0.000
<array_function internals>:177(dot)

5500
0.089
0.000
0.089
0.000
{built-in method scipy.interpolate.interpnd._ndim_coords_from_arrays}

46749
0.086
0.000
0.086
0.000
{built-in method numpy.asarray}

5500
0.077
0.000
0.086
0.000
_methods.py:67(_count_reduce_items)

5500
0.085
0.000
0.085
0.000
contact_models.py:104(logistic)

I'm not able to reproduce this issue. What commit of Vulp is your upkie repository using? (Located in tools/workspace/vulp/repository.bzl.)
With an up-to-date version of Vulp the BUILD file uses the system msgpack on the raspi:
    deps = select({
        # Selecting the right CPU architecture for the Raspberry Pi is
        # currently a tough nut to crack for Bazel. We only enable compiled
        # dependencies on the host side for now.
        # Followed in: https://github.com/upkie/upkie/issues/1
        "//:pi64_config": [],
        "//conditions:default": [
            requirement("msgpack"),
            requirement("posix_ipc"),
        ],
    }),

Hmm, that version should have had the fix :thinking: I'm curious why you ended up with a fallback msgpack then (but as long as you made it work it's not so important).
Vulp v2.1.0 has a check for this now:
def vulp_repository():
    """
    Clone repository from GitHub and make its targets available for binding.
    """
    git_repository(
        name = "vulp",
        remote = "https://github.com/upkie/vulp.git",
        commit = "6b547a55e100841fecda86dd094297a418c02f49",
        shallow_since = "1704302541 +0100",
    )

authors: boragokbakan stephane-caron

repo: upkie/upkie


text:
The assets folder isn't being moved to gh-pages

Describe the bug
It looks like the contents of the assets folder (as described here https://upptime.js.org/docs/configuration#theme) isn't being moved in to gh-pages.
To Reproduce
Steps to reproduce the behavior:

Add something to the assets folder
Look for it on the gh-pages branch

Expected behavior
The content of the assets folder would be there
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Looking at the code here https://github.com/upptime/uptime-monitor/blob/master/src/site.ts I don't see where this would be happening.

same problem

We do the copying here, not sure why it's not working! Let me debug: https://github.com/upptime/status-page/blob/master/post-process.ts#L25

We do the copying here, not sure why it's not working! Let me debug: https://github.com/upptime/status-page/blob/master/post-process.ts#L25

Hi @AnandChowdhary, just checking in to see if there's been progress made here. I don't mind if it takes another week or month, just wanna be sure I'm aware when it is fixed :)

Looks like it works just in case you are building app from user/organization jekyll repo, but you still have to add /assets/ prefix.
In case you are building Upptime from project repo, you can upload all static files like custom-theme.css to your user/organization repo and specify links in your Upptime repo, for ex /assets/css/upptime-custom-theme.css

Can confirm it is still an issue. Is there any updates on the progress?

same problem :(

Hoping it could be something this simple, but not sure how to test this on my end, would definitely need some more time to dig.
In the post-process.ts file you linked, there is one join statement different from all of the others, it doesn't include the leading dot:
await copy(join(".", "assets"), join("__sapper__", "export"), { recursive: true });

https://github.com/upptime/status-page/blob/54f5f60938f2c6ccdeabba224a540c0de9e8adf9/post-process.ts#L27
Should that be join(".","__sapper__","export") ?
Also, from what I see in my action logs for Generate Site this would be the line where the script is processed. Could adding some logging here provide output to the action? (i.e. "found assets folder", "copied contents", etc)

I faced the same issue and went through the discussion here. Seems like the fix mentioned here should work. Would like to raise a PR to close this issue. @AnandChowdhary

Hi, is this released? I am still running into this bug from repo created today

Is this still not merged?

today same bug

authors: AnandChowdhary Nirmitjatana alistair3149 bilalshaikh42 bullwinkle cdymlr ello-lithuania flauc jamiew0w shabeer-ali-m whoabuddy

repo: upptime/upptime


text:
Refactoring Cleanups and Interfaces for usage with Ioc Container

Hi upta,
i did some work on your fine library to use it in our current project. We make heavy use of AutoFac so, i wrote a wrapper over hub and included a possibility to use more than one hub. The exists method is moved to the hub itself.
Greetings
Bebu1985

Hey, thanks for the PR!  I haven't had the time to go over it thoroughly yet (will try to do that this weekend), but at a glance I don't see any issues.

@Bebu1985 Alrighty, I've merged the latest PR, did a little code cleanup, multi-targeted netstandard1.1 and netstandard 2.0 and updated the package on Nuget (https://www.nuget.org/packages/PubSub/2.1.0)
Let me know if you run into any issues, thanks!

repo: upta/pubsub


text:
Configuration save

I've just switched devices and have had to set up my profiles all over again. Is there a way that the config can be saved down to upload again (Transdrone does this)? Or is it there already and I've just missed it? Better yet, saving config to the cloud would be better, in the event that my phone or tablet is stolen or lost, I can recover quickly without having to access the original config file.
tl;dr:

Can we save configuration, with all server access, IP/hostname, folder configuration and everything?
Happy to start with this as a separate file to transfer, but would prefer to save to cloud, or configure a Gear Shift account to host all of my config files (limited to, say, 3, and to pay for more than that).

With android 6.0, all configuration is backed up in your google drive via the official backup method. I've been told by multiple people that it works. There are no intentions to set up anything else than the official backup method.

Understood. Wasn't aware, but I'll bear that in mind in 12 months when I get a new handset. Cheers.

authors: lincalinca urandom

repo: urandom/gearshift


text:
2 test failures on windows 8

Platform Windows 8.
C:\Users\wolski\prog\ursgal>python
Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)] on win32
Running:
C:\Users\wolski\prog\ursgal>nosetests --version
nosetests version 1.3.7
Produces the following 2 test failures.
Even with those 2 errors ursgal looks super cool (especially all those great examples) and I will dedicate it some time before Christmas on windows and Linux.
.............................................................................................................................................
.
FAIL: calc_md5_test.check_md5_test({'input': 'tests\data\test.json', 'output': '379450895e2c116886b2e92dfcd68b2b'},)
Traceback (most recent call last):
File "c:\users\wolski\appdata\local\programs\python\python35\lib\site-packages\nose\case.py", line 198, in runTest
self.test(*self.arg)
File "C:\Users\wolski\prog\ursgal\tests\calc_md5_test.py", line 33, in check_md5
out_put
AssertionError:
MD5 {'input': 'tests\data\test.json', 'output': '379450895e2c116886b2e92dfcd68b2b'} failed
output: 54c19ed069413037dc857a0130dd2527
-------------------- >> begin captured stdout << ---------------------
[ ucontrol ] Calculating md5 for test.json ....
54c19ed069413037dc857a0130dd2527 {'input': 'tests\data\test.json', 'output': '379450895e2c116886b2e92dfcd68b2b'}
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: calc_md5_test.check_md5_test({'input': 'tests\data\test_without_database.json', 'output': 'deb20d01ff369188a583decf203cf769'},)
Traceback (most recent call last):
File "c:\users\wolski\appdata\local\programs\python\python35\lib\site-packages\nose\case.py", line 198, in runTest
self.test(*self.arg)
File "C:\Users\wolski\prog\ursgal\tests\calc_md5_test.py", line 33, in check_md5
out_put
AssertionError:
MD5 {'input': 'tests\data\test_without_database.json', 'output': 'deb20d01ff369188a583decf203cf769'} failed
output: 26cc3e0850d3ab95c74e4cf680475335
-------------------- >> begin captured stdout << ---------------------
[ ucontrol ] Calculating md5 for test_without_database.json ....
26cc3e0850d3ab95c74e4cf680475335 {'input': 'tests\data\test_without_database.json', 'output': 'deb20d01ff369188a583decf203cf769'}
--------------------- >> end captured stdout << ----------------------

The md5 calculation somehow differs between Windows 8 (and above) and all other systems. However, it is consistent within Windows 8/10, so you should not have any problems with jsons you create on your system.
So we are aware of this issue in the tests but could not solve it yet.

Did you check if the change in the md5 sum on windows is due to different line endings introduced?

The line endings are indeed the problem. The respective test was adjusted to handle md5 calculation with win32 line endings. However, depending on the git settings line endings are converted or not. So this solution might not work on all setups. Maybe you check out the new version, try it and let me know if everything works.

Works on Windos 10 here, nice!

Can this be closed now? Is the issue still present on Windows 8?

authors: JB-MS StSchulze wolski

repo: ursgal/ursgal


text:
Version 2.3.4 locks up

I clicked on the red cell, and the spinners come up and it is locked.

tutorial_region_4.zip
Project files. BTW, this is an old project, so there may be something weird going on. This project did work in version 2.3.3

related to issue #207, will be fixed at same time

I've tried to replicate this bug, but didn't manage. However, when I loaded the project file, I didn;t get red data cells, I got green ones...

should be fixed in 2.3.6, close when tested

It is not locked anymore in version 2.3.7, but the issue with properties is still there

authors: devowit saggu szeke


text:
Historical processing Service: Cannot process data file with file size less than 8 bytes

Summary
Cannot process data file with file size less than 8 bytes, and no proper error messages shown on the UI, see below:

Commit
develop
Expected Behavior
Can process small files or provide some guard to file size that is not allowed.
Actual Behavior
Failed to process small file and no error information provide to users.
Steps to Reproduce the Actual Behavior
launch  historical processing service
Upload a small size mcap file
Related Work
No response

Closed due to duplicated issue: https://github.com/usdot-fhwa-stol/cda-telematics/issues/221

repo: usdot-fhwa-stol/cda-telematics


text:
unmarshal support for onvif soap response

currently there is soap xml marshaling tags only for the request structs.
for response structs there are no xml unmarshal capabilities.
planning to add that support? there is any technical limitation to have that implemented or its only  a matter of mapping each struct?

I agree. large xml file is too tedious to handle.

a little busy ，but PRs are always welcomed.😊

Hi! I used this code for unmarshalling
type ProfileResponse struct {
XMLName  xml.Name
Profiles []onvif.Profile
}
type Body struct {
XMLName             xml.Name
GetProfilesResponse ProfileResponse //xml:"GetProfilesResponse"
}
type MyGetProfiles struct {
XMLName xml.Name
Body    Body
}
	profiles := &MyGetProfiles{}
	err = xml.Unmarshal([]byte(resp), profiles)

And for getting profiles

if anybody has figured out the unmarshalling of XML requests please let me know , or if someone has started working , we can collaborate...

Any progress on this?
I have done this in a kind of hacky way :
This function will query the node from the xml body you want to extract the info from
For example , you do getStreamUri call from dev.CallMethod() and you get a xml resp which contains GetStreamUriResponse

func getXMLNode(xmlBody string, nodeName string) (*xml.Decoder, *xml.StartElement, string) {

	xmlBytes := bytes.NewBufferString(xmlBody)
	decodedXML := xml.NewDecoder(xmlBytes)

	for {
		token, err := decodedXML.Token()
		if err != nil {
			break
		}
		switch et := token.(type) {
		case xml.StartElement:
			if et.Name.Local == nodeName {
				return decodedXML, &et, ""
			}
		}
	}
	return nil, nil, "error in NodeName"
}

and then you just unmarshal into the Response struct
```
var mGetUsersResp device.GetUsersResponse
bs, _ := ioutil.ReadAll(res.Body)
stringBody := string(bs)

decodedXML, et, errorFunc := getXMLNode(stringBody, "GetUsersResponse")
if errorFunc != "" {
	log.Printf("%s", errorFunc)
}
if err := decodedXML.DecodeElement(&mGetUsersResp, et); err != nil {
	panic(err)
}

Any progress on this?

I have done this in a kind of hacky way :
This function will query the node from the xml body you want to extract the info from
For example , you do getStreamUri call from dev.CallMethod() and you get a xml resp which contains GetStreamUriResponse
func getXMLNode(xmlBody string, nodeName string) (*xml.Decoder, *xml.StartElement, string) {

	xmlBytes := bytes.NewBufferString(xmlBody)
	decodedXML := xml.NewDecoder(xmlBytes)

	for {
		token, err := decodedXML.Token()
		if err != nil {
			break
		}
		switch et := token.(type) {
		case xml.StartElement:
			if et.Name.Local == nodeName {
				return decodedXML, &et, ""
			}
		}
	}
	return nil, nil, "error in NodeName"
}

and then you just unmarshal into the Response struct

   var mGetUsersResp device.GetUsersResponse
   bs, _ := ioutil.ReadAll(res.Body)
   stringBody := string(bs)

   decodedXML, et, errorFunc := getXMLNode(stringBody, "GetStreamUriResponse")
   if errorFunc != "" {
   	log.Printf("%s", errorFunc)
   }
   if err := decodedXML.DecodeElement(&mStreamUriResp, et); err != nil {
   	panic(err)
   }

Works flawlessly, thank you 👍

thanks this does work for string, but integers are set to 0, even if there is a valid response in the body
{{VideoEncoderToken_2  0}  {0 0} 0 {0 0 0} {0 } {0 } {{  } 0 0 false} }

And the response
<tt:Name>VideoEncoder_2</tt:Name>
<tt:UseCount>1</tt:UseCount>
<tt:Encoding>H264</tt:Encoding>
<tt:Resolution><tt:Width>640</tt:Width>
<tt:Height>360</tt:Height>
</tt:Resolution>

@cedricve make sure your struct is correct for which you are unmarshalling. You will need to understand the types.
My VideoEncoderConfiguration Struct looks like this :
type VideoEncoderConfiguration struct {
	*ConfigurationEntity `json:"ConfigurationEntity"`
	Encoding             *string      `xml:"Encoding" json:",omitempty"`
	Resolution           *Resolution  `xml:"Resolution" json:",omitempty"`
	Quality              *float64     `xml:"Quality" json:",omitempty"`
	RateControl          *RateControl `xml:"RateControl" json:",omitempty"`
	MPEG4                *MPEG4       `xml:"MPEG4" json:",omitempty"`
	H264                 *H264        `xml:"H264" json:",omitempty"`
	Multicast            *Multicast   `xml:"Multicast" json:",omitempty"`
	SessionTimeout       *string      `xml:"SessionTimeout" json:",omitempty"`
}

also fields like Resolution point to another struct which is like this:
type Resolution struct {
	Width  *xsd.Int `xml:"Width"`
	Height *xsd.Int `xml:"Height"`
}

xsd Int is basically type Int int32
these structs are autogenerated from ONVIF's xsd

Hi, do we concrete solution on this issue (other than the solution mentioned above) or anybody working this and planning to release in near future.

repo: use-go/onvif


text:
Support contents in needextend

needextend currently supports add/append/removal of needs_extra_options and needs_extra_links. How about allowing to extend the contents part?
.. needextend:: SW_REQ_001
   :+derives: SYS_REQ_001

   This is extended content

needextend contents could be configured as pre, post or overwrite.
This allows to import just the meta-information as needs from external tools and then add textual content in rST.
Is this feasible?

Maybe it is doable on doctree-level, if the needextend-content can only be used to add (pre or post) or replace need-content (as you have written).
Then we could render the rst in the needextend-directive, when this directive gets read.
And later we do some direct doctree-manipulations, where we add or replace the needextend-content-node to/with the need-content-node. After that, we delete the needextend-node from the doctree.
So yes, it sounds doable :)

Hi, I want to bring my 2 cent in. In the concept we have to think how to interact with templates (they do support pre, post and change already - so how to merge it?) and needref (so all versions have to be changed).

Not sure what you mean by "merge it".
Templates work differently currently. As they get added to the content before the rst/md-content is rendered by Sphinx.
This rendering is happening very early, during reading the current need-directive.
needextend comes very late into this game, normally after all rendering is already done.
I'm not sure how we could change the current template behavior and especially what the benefits are.
@PhilipPartsch Do you have an example for me?

With my input, I want to request a definition how the different methodologies to change needs lead to a final generated output.
I believe following is what an author wants:

specify content and need attributes
change the content and need attributes with needextend
define output with templates to set use case specific rendering

I believe easy to implement:

specify content and need attributes
define output with templates to set use case specific rendering
change the content and need attributes with needextend (not be updated in above templates)

Another request I would assign to this feature.
As it is possible to change the content of a need later, it shall be possible to set a warning if this happens for elements there this is not allowed.
Use case: it is difficult to know which is the final output by only reviewing the definition of the need. So if someone has the use case to know all changes it should be possible to get informed about changes.
This is in my opinion interacting with request #685.

Agree, a check would be good.
Currently, manipulations get currently also stored and needs are filterable based on them:
https://sphinx-needs.readthedocs.io/en/latest/directives/needextend.html#monitoring-modifications
But this counter is not based on specific options or the content.
Maybe a feature request to extend this mechanism would be helpful.

Slightly offtopic, but good point.

But this counter is not based on specific options or the content.
Maybe a feature request to extend this mechanism would be helpful.

Separate modification counters or a possibility to filter counters based on modification source (options, links or contents) would be good.
We have a need_warning in our project currently to make sure that the same need is not modified with needextend more than once.
"needextend_invalid_usage": "(modifications > 1)"
Else, as the file loading order is decided by Sphinx, the last needextend will win, leading to unexpected results.

authors: PhilipPartsch danwos twodrops

repo: useblocks/sphinx-needs


text:
Feature/adds logs2webhooks

Going to be pushing this to the repo directly and reopening

repo: uselagoon/lagoon-charts


text:
The latest version 0.22 search cannot be used

Describe the bug
The latest version 0.22 search cannot be used
Searching cannot find anything, even if it already exists
Steps to reproduce
I cannot search for existing memos on the demonstration website.
https://demo.usememos.com/home?text=Memos
The version of Memos you're using
0.22.1
Screenshots or additional context

Fixed with https://github.com/usememos/memos/commit/1894ef161fd4fe9587ccfbf84f0e8a31829d021d

repo: usememos/memos


text:
Automatically discover and add new devices

Ability to create new devices automatically when added to Imou Life

Since there are limitations on the number of devices which can be attached to a developer Imou account (#77) better not to auto discover / auto add devices


text:
Unable to install cCOSMO using cygwin

$ python3 setup.py install
running install
/usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/usr/lib/python3.9/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running bdist_egg
running egg_info
creating cCOSMO.egg-info
writing cCOSMO.egg-info/PKG-INFO
writing dependency_links to cCOSMO.egg-info/dependency_links.txt
writing top-level names to cCOSMO.egg-info/top_level.txt
writing manifest file 'cCOSMO.egg-info/SOURCES.txt'
reading manifest file 'cCOSMO.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'cCOSMO.egg-info/SOURCES.txt'
installing library code to build/bdist.cygwin-3.4.6-x86_64/egg
running install_lib
running build_ext
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.1
CMake Warning at /usr/share/cmake-3.25.3/Modules/Platform/CYGWIN.cmake:15 (message):
CMake no longer defines WIN32 on Cygwin!
(1) If you are just trying to build this project, ignore this warning or
quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in
the CMake cache.  If later configuration or build errors occur then this
project may have been written under the assumption that Cygwin is WIN32.
In that case, set CMAKE_LEGACY_CYGWIN_WIN32=1 instead.
(2) If you are developing this project, add the line
set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required

at the top of your top-level CMakeLists.txt file or set the minimum
required version of CMake to 2.8.4 or higher.  Then teach your project to
build on Cygwin without WIN32.
Call Stack (most recent call first):
/usr/share/cmake-3.25.3/Modules/CMakeSystemSpecificInformation.cmake:45 (include)
CMakeLists.txt:1 (project)
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- pybind11 v2.11.0 dev1
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.9.16", minimum required is "3.6")
-- Found PythonLibs: /usr/lib/libpython3.9.dll.a
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/Prof. S.M. Waziri/cosmosac-v1.0/usnistgov-COSMOSAC-9f1a55a/build/temp.cygwin-3.4.6-x86_64-cpython-39
[ 50%] Building CXX object CMakeFiles/cCOSMO.dir/src/pybind11_interface.cxx.o
[100%] Linking CXX shared module "/home/Prof. S.M. Waziri/cosmosac-v1.0/usnistgov-COSMOSAC-9f1a55a/build/lib.cygwin-3.4.6-x86_64-cpython-39/cCOSMO.cpython-39-x86_64-cygwin.dll"
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /tmp/ccd2bDM9.ltrans1.ltrans.o::(.text+0x13): undefined reference to __imp_PyProperty_Type' /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /tmp/ccd2bDM9.ltrans1.ltrans.o:<artificial>:(.text+0x42): undefined reference to __imp_PyProperty_Type'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /tmp/ccd2bDM9.ltrans1.ltrans.o::(.text+0x2f30): undefined reference to __imp_PyExc_IndexError' /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /tmp/ccd2bDM9.ltrans6.ltrans.o:<artificial>:(.text.unlikely+0xb9): undefined reference to PyErr_Occurred'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /tmp/ccd2bDM9.ltrans6.ltrans.o::(.text.unlikely+0xde): undefined reference to `PyErr_SetString'
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/cCOSMO.dir/build.make:97: /home/Prof. S.M. Waziri/cosmosac-v1.0/usnistgov-COSMOSAC-9f1a55a/build/lib.cygwin-3.4.6-x86_64-cpython-39/cCOSMO.cpython-39-x86_64-cygwin.dll] Error 1
make[2]: *** [CMakeFiles/Makefile2:130: CMakeFiles/cCOSMO.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/cCOSMO.dir/rule] Error 2
make: *** [Makefile:137: cCOSMO] Error 2
Traceback (most recent call last):
File "/home/Prof. S.M. Waziri/cosmosac-v1.0/usnistgov-COSMOSAC-9f1a55a/setup.py", line 67, in
setup(
File "/usr/lib/python3.9/site-packages/setuptools/init.py", line 108, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1221, in run_command
super().run_command(command)
File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/usr/lib/python3.9/site-packages/setuptools/command/install.py", line 74, in run
self.do_egg_install()
File "/usr/lib/python3.9/site-packages/setuptools/command/install.py", line 123, in do_egg_install
self.run_command('bdist_egg')
File "/usr/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1221, in run_command
super().run_command(command)
File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/usr/lib/python3.9/site-packages/setuptools/command/bdist_egg.py", line 164, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/usr/lib/python3.9/site-packages/setuptools/command/bdist_egg.py", line 150, in call_command
self.run_command(cmdname)
File "/usr/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1221, in run_command
super().run_command(command)
File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/usr/lib/python3.9/site-packages/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/usr/lib/python3.9/site-packages/setuptools/_distutils/command/install_lib.py", line 111, in build
self.run_command('build_ext')
File "/usr/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1221, in run_command
super().run_command(command)
File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/S.M. Waziri/cosmosac-v1.0/usnistgov-COSMOSAC-9f1a55a/setup.py", line 35, in run
self.build_extension(ext)
File "/home/S.M. Waziri/cosmosac-v1.0/usnistgov-COSMOSAC-9f1a55a/setup.py", line 63, in build_extension
subprocess.check_call(
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'cCOSMO', '--config', 'Release', '--', '-j2']' returned non-zero exit status 2.

The short answer is use WSL or docker or something similar. I have never had good success with cygwin

Ok, thank you for the suggestion.

authors: ianhbell smwaziri

repo: usnistgov/COSMOSAC


text:
ci: Dockerfile add frontend build step

移除前端构建物
Dockerfile 添加前端构建步骤

#122

具体原因我已在 #122 回复
这个pr我先关闭了


text:
update sugoroku vsc-extention

すごろくのそれぞれの部分ごとに拡張機能で追加できるようになりました。
またそれに合わせてドキュメントを大幅に改訂しました。

プロジェクトの root で npm run format とすると、フォーマットが自動でかかるのでやってみてください。それで、コミットしたら、このエラーは消えます。

途中でなぜか正常にpushできなくなって試行錯誤していたらcommitが変に増えてしまいました。すみません。

問題があったと思われるsugorokuDescription.mdをもう一度確認してみたら、修正後のほうがなぜか表示が崩れているんですがどうしましょう

正常にプッシュできなかったのはコンフリクトを解決したことで、コミットがリモートにだけできたからです。一回プルしないとプッシュできなくなっていた感じです。

コミットが増えたことは別に大丈夫ですよ。

問題があったと思われるsugorokuDescription.mdをもう一度確認してみたら、修正後のほうがなぜか表示が崩れているんですがどうしましょう

コミットを戻すこともできますが、そうすると新しい変更を持ってこないといけなくなるので、ちょっと面倒ですね。
すぐに直せるなら、表示を直すのが早いかもです。

すごろく(追加版)を拡張機能に追加しました。あまった時間で入れた追加要素を全部含んだすごろくです。
ついでに先ほどのドキュメントも修正したんですが、どうもPrettierのチェックに必ずひっかかるみたいです。

とりあえずドキュメントの方も修正できました

一旦マージしましょう。

authors: GaiKOZAKI chvmvd

repo: ut-code/first-web-game-maker


text:
Implement FMM level set solvers

FMMLevelSetSolver2
FMMLevelSetSolver3

Completed

FMMLevelSetSolver2
FMMLevelSetSolver3

repo: utilForever/CubbyFlow


text:
Windows XP on UTM SE display does not connect following boot after installing Spice tools

Describe the issue
After installing Windows XP and installing the Spice tools using the action menu, booting and then running the installer, and then restarting, the VM fails to output to the display when next booting.
Configuration (required)

UTM Version: 4.5.4
OS Version: iOS 18
Device Model: iPad Pro M4
Is it jailbroken (name jailbreak used)? No
How did you install UTM? App Store

Crash log
None
Debug log
debug.log
Upload VM
(Optional) If possible, upload the config.plist inside the .utm. If you do not have this, you can upload the entire .utm but note this contains your personal data. Since GitHub has an attachment size limit, you may want to upload to another service such as Google Drive. Link it here.

Oh and I’m a UK user with a scanned install ISO. I set the language and locale to UK during installation.

repo: utmapp/UTM


text:
prove: Reverse the rootCandidates in calculateRoots

The roots are organized from the greatest position to the smallest in
pollard. However in calculateRoots, since we're hashing from the
smallest position to the greatest and appending calculated roots along
the way, the roots are in smallest to greatest order. Reversing makes
the roots in the same order as how the roots are organized in pollard.

Pull Request Test Coverage Report for Build 2395437060

9 of 17 (52.94%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.09%) to 69.208%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

prove.go
9
17
52.94%

Files with Coverage Reduction
New Missed Lines
%

prove.go
1
46.13%

Totals

Change from base Build 2395365839:
-0.09%

Covered Lines:
1153

Relevant Lines:
1666

💛  - Coveralls

authors: coveralls kcalvinalvin

repo: utreexo/utreexo


text:
One comment will generate two issues,it this a bug?

I like this tool very much, I use it in my personal blog.Thanks the authors.
But recently I had a problem. When someone commented on an article, there were two issues. So that comments can't be loaded into the blog.

Issues(https://github.com/yansheng836/yansheng836.github.io/issues) like this:

Blog: https://www.yansheng.xyz/article/faa5d14.html, can't loaded the comment, and the console show:

my config
<script src="https://utteranc.es/client.js"
        repo="yansheng836/yansheng836.github.io"
        issue-term="title"
        theme="github-light"
        crossorigin="anonymous"
        async>
</script>

Maybe this happened because of a bug in utterances.  This could also happen in the rare case that two people try to create the first post at the same time.
Does utterances have any feature to workaround this race condition?  Such a feature might help @yansheng836 avoid what happened to them.
An idea that comes to mind is some way for the repo owner to tell utterances to create an issue if it doesn't already exist.

What if someone creates the issue directly without using Uttranace? In this case, there could be multiple matching issue threads. When this happens, the comments should be merged when displaying and new comments through Uttranace should be posted in only one of the issues (perhaps oldest issue).

What if someone creates the issue directly without using Uttranace? In this case, there could be multiple matching issue threads.

Oh, great point.  I created a issue #348 to focus on that aspect so that this issue can focus on why two identical issues were created for you.

Actually, these two issues was generated by utterances-bot at the same time . The first one has no comment and the second one has a comment.
first:

second:

@yansheng836 Can you give a link to the post and issues also it this might help in figuring out what is happening.

In fact, I already have a link to that in my issue, please see https://github.com/utterance/utterances/issues/347#issue-648151769.
detailed
article link: https://www.yansheng.xyz/article/faa5d14.html
first issue(no comment): https://github.com/yansheng836/yansheng836.github.io/issues/15
second issue: https://github.com/yansheng836/yansheng836.github.io/issues/16

The best option would be, you be the first commenter or create the issue manually.

Alternatively, issue creation should be a part of build process for your static website. Each time you create a new article, build should create an issue for you

repo: utterance/utterances


text:
The most notable thing about this project is it allows proprietarization while GNU coreutils doesnt

You are recreating copyleft programs with a non-copyleft license. It is not unethical but it likely will be harmful to user's freedoms. It allows someone to incorporate it into a device or distribution of software, and not give them the source code and a means to install new versions so that they have the freedom to run, copy, distribute, study, change and improve the software. If you plan to carry on, please show some respect to GNU coreutils and the free software movement by adding a note in your README which says that you're using a different license than GNU Coreutils, and GNU Coreutils does not agree with your license, for reasons such as these: https://www.gnu.org/philosophy/why-copyleft.en.html

@Be-ing
Advocacy hint: arrogantly putting comments on both projects that you are not related to isn't likely to get anyone's attention.

You can probably find better place than this GH issue to exchange. Locking this issue.

authors: ian-kelling shenlebantongying sylvestre

repo: uutils/coreutils


text:
sort: Implement ignore-case

Test included.

Thanks!


text:
du: add support for --exclude and --exclude-from

And add an option --verbose (doesn't exist in GNU)
Leverages globset (by the famous @BurntSushi)

Unexpected good news. I was only focusing on exclude.sh :)
Warning: Congrats! The gnu test tests/du/exclude is no longer failing!
Warning: Congrats! The gnu test tests/du/slash is no longer failing!

Cool! I used globset before on ls and it was later removed due to binary size (https://github.com/uutils/coreutils/pull/2781). Do you think it's worth the binary size in this case?

Oh, I forgot about globset size. I will have a look

authors: sylvestre tertsdiepraam


text:
cut: add whitespace option for separating fields

TLDR: "-w" flag in cut is an extension option implemented in FreeBSD. This option proves to be useful when cutting fields separated by one or more whitespaces. GNU coreutils does not currently implement this option. This PR implements -w option and adds test cases. The performance difference compared to FreeBSD's cut implementation is about 9x.
Example use case: "ls" or "ps" returns columns separated by multiple inconsistent whitespaces. We can use -w option to select columns, e.g. "ps | cut -w -f1" to print only pids.
Implementation: For best performance, I created a new function (cut_fields_whitespace) dedicated for -w option. Performance of "cut -f" before and after this PR is essentially the same, as show below:
Before
$ hyperfine -w3 "./target/release/coreutils cut -f2-4,8 data.tsv"
Benchmark 1: ./target/release/coreutils cut -f2-4,8 data.tsv
  Time (mean ± σ):      1.126 s ±  0.006 s    [User: 1.035 s, System: 0.090 s]
  Range (min … max):    1.118 s …  1.138 s    10 runs

$  hyperfine -w3 "./target/release/coreutils cut -f2-4,8 -d' ' data.tsv"
Benchmark 1: ./target/release/coreutils cut -f2-4,8 -d' ' data.tsv
  Time (mean ± σ):      1.026 s ±  0.003 s    [User: 0.940 s, System: 0.086 s]
  Range (min … max):    1.023 s …  1.031 s    10 runs

After
$ hyperfine -w3 "./target/release/coreutils cut -f2-4,8 data.tsv"
Benchmark 1: ./target/release/coreutils cut -f2-4,8 data.tsv
  Time (mean ± σ):      1.127 s ±  0.021 s    [User: 1.037 s, System: 0.089 s]
  Range (min … max):    1.110 s …  1.169 s    10 runs

$ hyperfine -w3 "./target/release/coreutils cut -f2-4,8 -d' ' data.tsv"
Benchmark 1: ./target/release/coreutils cut -f2-4,8 -d' ' data.tsv
  Time (mean ± σ):      1.045 s ±  0.026 s    [User: 0.956 s, System: 0.088 s]
  Range (min … max):    1.025 s …  1.103 s    10 runs

The performance of "cut -w -f" compared to FreeBSD is about 9x faster:
$ hyperfine -w3 "./target/release/coreutils cut -f2-4,8 -w data.tsv" "/usr/bin/cut -f2-4,8 -w data.tsv"
Benchmark 1: ./target/release/coreutils cut -f2-4,8 -w data.tsv
  Time (mean ± σ):      1.242 s ±  0.003 s    [User: 1.153 s, System: 0.088 s]
  Range (min … max):    1.240 s …  1.249 s    10 runs

Benchmark 2: /usr/bin/cut -f2-4,8 -w data.tsv
  Time (mean ± σ):     11.529 s ±  0.089 s    [User: 11.385 s, System: 0.131 s]
  Range (min … max):   11.451 s … 11.731 s    10 runs

Summary
  './target/release/coreutils cut -f2-4,8 -w data.tsv' ran
    9.28 ± 0.08 times faster than '/usr/bin/cut -f2-4,8 -w data.tsv'

I think they're here: https://github.com/freebsd/freebsd-src/tree/373ffc62c158e52cde86a5b934ab4a51307f9f2e/usr.bin/cut/tests
Though this is not very extensive.

I think they're here: https://github.com/freebsd/freebsd-src/tree/373ffc62c158e52cde86a5b934ab4a51307f9f2e/usr.bin/cut/tests
Though this is not very extensive.

and some here too, but not much
https://github.com/freebsd/freebsd-src/tree/373ffc62c158e52cde86a5b934ab4a51307f9f2e/contrib/netbsd-tests/usr.bin/cut

Hi @sylvestre, is there anything else that needs to be addressed in the PR?

GNU testsuite comparison:
GNU test failed: tests/tail-2/inotify-dir-recreate. tests/tail-2/inotify-dir-recreate is passing on 'main'. Maybe you have to rebase?

This is not related to this PR and seems to be failing in other PRs as well

The CICD style/lint failures come from the code that I didn't modify. Not sure why they are failing in this PR but not in other PRs. As for spelling error, should I rename multispace to multi_space perhaps?

for multispace, add it to the top of the file in the ignore spell list :)

for multispace, add it to the top of the file in the ignore spell list :)

done!

Hi @tertsdiepraam just wanted to check in to see if anything else needs to be addressed with this PR to be merged.

Yeah I think it's good enough now as far as adding the feature goes. I do think cut is due for a refactor that removes some of the duplicated code though.

Oops forgot to squash again

authors: TechHara sylvestre tertsdiepraam


text:
Small question regarding atom27 vs atom14 representation

Hello. Referencing the following line of code, I was curious, "Throughout RoseTTAFold2's codebase, is the atom27 representation of a given protein structure precisely the same as the atom14 representation except for having 13 additional atoms appended to the end?". I ask because I was wondering whether it is correct to assume that one can slice the first 14 atoms from an atom27-shaped tensor to extract an equivalent tensor of atom14-shape (since such an operation would not be correct in different codebases such as that of AlphaFold 2 as the atom14 and atom37 tensors there have atoms in slightly different orders per residue).
https://github.com/uw-ipd/RoseTTAFold2/blob/a26f29bb92d4946ef8bf225edba9240c9e647747/network/train_multi_deep.py#L199

Hello,  You indeed can slice the 1st 14 columns to get a H-free structure.  Residue hydrogens always start at index 14.

Thanks for clarifying!

authors: amorehead fdimaio


text:
Created index from Carolyn's 4 datasets & created map

Addresses #118

Output to confirm this is working:


text:
change heading 'Guidance and Configuration' to 'Guidance' or similar

Heading above guidance content will only appear if guidance content is present...

...but configuration info will always appear.
Use 'Guidance' or similar, ensure new heading isn't too small + inconspicuous to see clearly when browsing HTML RTs)

Some options:

if there's another heading you want to try let me know!