text:
Question about offline key management

Hi Frank,
Thank you for this software first of all! Your hard work on dnscrypt, dnscrypt-proxy, and encrypted-dns-server are much appreciated.
I am considering switching to encrypted-dns-server from other solutions but would like to have the ability to generate the short term keys from a remote system and push them to the resolver and then tell the resolver to reload the keys.
Key generation now looks to be coupled with the server itself and then written to the state file. I don't see any options to use the server to generate and manage keys independently of running a server.
Are there any plans to implement this feature? Currently we use dnsdist with addDNSCryptBind to run a dnscrypt resolver and then custom scripts on a key server to generate certs, push them, and then use some commands to have dnsdist load the new keys.
Thanks for any information you can provide on this subject!

Hi!
Indeed, key generation is directly handled by the server. The intent was to make it as simple as possible to use, as certificate management can be quite complicated to properly set up.
Adding an option to avoid keys from being generated/rotated would be trivial.
But what mechanism are you thinking of in order to import keys?
State files are not machine-specific. A machine can run the server without accepting any connections, just to update the state file. For such a use case, an option to simply update that file and immediately quit can also be added, so you can run that as a cron job.
Then, the state file can be periodically copied to the actual resolver. Right now, the proxy needs to be restarted to read the new file, but that can be avoided, either by sending a signal or by watching the file for changes (if writes are guaranteed to always be atomic).
Another way can be to leverage the fact that we already have a minimal built-in HTTP server, currently used for the Prometheus metrics API. And add an API to store a new key, only accessible from a predefined IP address.
What do you think? Any other idea?

Key management is indeed a bit tricky! I believe much of my code is from your old Docker bash script to do key rotation with dnscrypt-wrapper but I can't find the initial reference anymore (so if it was, thank you again!).
My main concern and desire for having this is because I keep wanting to spin up VPS to run this for the community, but I don't trust that anything (especially the server keys) are safe on a VPS. I wouldn't really call it a secure or trusted server if at any time, the VPS provider could snapshot the system and extract keys from disk or memory.
I hadn't thought too much about different ways to update the server with the keys but wasn't expecting anything too "fancy".
A first pass might simply be getting the server to reload certs through a signal, which may mean updating the state file externally, and then supplying it to the server.
Question: I tried to read the code a bit to understand but couldn't quite get it, are there still short term keys in use that are generated from long term keys? Generating the state file offline and transferring to the server is fine, but it defeats the purpose if the state file also has long term signing keys that we don't want to transfer to the server.
To better understand, does encrypted-dns-server still rotate keys periodically (if so how often)? Also, does it ever keep more than one cert in memory to allow for rotation issues and clients to switch to new keys?
My current setup generates a key every 12 hours, that's good for 24 hours and keeps at least 2 of those key/certs active in the dnsdist server at any given time. I'm not sure that encrypted-dns-server works the old way anymore, esp since this does more than just DNSCrypt.

To better understand, does encrypted-dns-server still rotate keys periodically (if so how often)? Also, does it ever keep more than one cert in memory to allow for rotation issues and clients to switch to new keys?

@jedisct1
thats a good question, so does encrypted-dns generate 2 keys (example 24h, 1 week)? how can we configure it in the .toml file?
greets

@ibksturm A new key is generated every 8 hour, and is valid for 24 hours.
After a new key has been generated, the previous ones are not served any more, but queries using them are still accepted until they expire.
The TTL and rotation times are hardcoded here.

Hi @jedisct1,
First of all, thank you for your time and effort on this wonderful software.
Would like to understand if there is anyway I could check the keys are rotated. Reason being I am not sure if I have configured the file permission correctly for the .state file and if the keys are indeed rotated.

Hi @NeutralGround
The easiest way would be to look at the timestamp of the .state file. If should change every 8 hour.

Thanks @jedisct1, fixed the issue with file permission and nobody user privilege, now it is working fine :)

authors: NeutralGround dapphp ibksturm jedisct1

repo: DNSCrypt/encrypted-dns-server


text:
May flowtiles build

Summary

Ran gage-conditions-gif and edited vizDates in viz_config.yml for May followed by googledrive::drive_auth() & source('helper_fxns_pipeline.R')
rebuild_gage_data().
converted outputted dv_stats.rds to flow_conditions_202305.csv (Note: use readr::write_csv() to convert from rds to csv and avoid pesky row numbers adding)
Uploaded flow_conditions_202305.csv to S3 water-visualizations-prod-website/visualizations/data (Note: need to be signed in using gs-chs-wma-prod as wma-developer)
Edited read_csv() in target to pull flow_conditions_202305.csv from S3
ran tar_make() to output flow_cartogram.png, flow_national_ig.png , flow_cartogram_ig.png.

Twitter

Instagram

Maybe this front? https://twitter.com/NWSWPC/status/1659658969038594104?s=20

source: gharchive/pull-request

repo: DOI-USGS/flow-tiles

license_type: permissive

license_source: github-api


text:
About Training

Thank you for your open source!
There is a small problem here. I read the code you wrote and found that the pre-training model was not used during training, right?

Hi, thanks for your interests. Yes, we train our network from the scratch, i.e., we donot use a Palette-style pre-trained model.

source: gharchive/issue

authors: DQiaole zideliu


text:
🛑 Fakultas Hukum is down

In 9ed5689, Fakultas Hukum (https://lawfaculty.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Hukum is back up in 9bd2b8e after 4 minutes.

license: MIT


text:
🛑 Apps is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Apps is back up in 3f2bcd3 after 5 minutes.


text:
🛑 Sister Unhas is down

In b328ad3, Sister Unhas (http://sister.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sister Unhas is back up in 15748d6 after 4 minutes.


text:
🛑 Apps is down

In 9cbba41, Apps (https://apps.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Apps is back up in e6979c3 after 5 minutes.


text:
🛑 Apps is down

In 1189b89, Apps (https://apps.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Apps is back up in 0ead31f after 1 hour, 47 minutes.


text:
쓰지 않는 MongoDB collection 제거 작업

Live로 돌고 있는 서버가 참조하는 'dms' 데이터베이스의 컬렉션 중, 이전에는 사용하다가 데이터베이스 구조를 바꾸며 현재는 쓸모 없는(CRUD가 진행되지 않는) 컬렉션이 있습니다. 제거 작업이 필요합니다.

한번 소스를 읽어보니 쓰이지 않는 컬렉션이 딱히 안보이네요 예를 들어 어떤 컬렉션이 사용되지 않고 있나요?

딱 봐도 이상한 놈들 몇가지 있습니다. meal과 meal_model이 같이 있고, report_base와 report_model이 같이 있습니다.

meal_model과 report_model 외에 불필요한 컬렉션이 없음을 확인하였고, 불필요한 컬렉션을 drop으로 확 떨궈버려따! 행보캤다!

ㄷㄷ;

authors: JoMingyu RISMME

repo: DSM-DMS/DMS-Backend


text:
Not displaying days left in natural language after 2023.4

Prior to Home Assistant release 2023.4 the sensor displayed the time remaining to next delivery in natural language, e.g. "Tomorrow" or "In three days". After updating Home Assistant to 2023.4 (and since 2023.4.1) only the number of remaining days is shown, e.g "4".

Samma här

I am unable to replicate this on any versions. Logs or anything which can help?

Having the same issue on 2023.4.2. I see nothing related in the logs, but not sure I'm looing at the correct place.
Just taking a wild guess that it is related to the custom device class, is that a valid thing to do?

Nope, just a bunch of console.info() from other addons loading.

Not that it really helps, but same issue here (2023.4.2).
Haven't done much troubleshooting in HA, so if there's anything you need log-wise, I probably need directions 😅

Have been taking a look at the code to try to figure out what stopped working. I'm not a coder so I can't really do much here. One observation is that the natural language strings is actually included in the custom component, not generated by HA Core. But I can't find where in the code the sensor maps days remaining (variable "numDays") to the array in the translation json? And where does it select the right json-file with translations depending on language settings?

Samma problem här, siffran för antal dagar visas men den konverteras inte till texten i filen "sensor.sv.json".
Har installerat om applikation och integration men det hjälper inte.

Samma problem här

Same here, update from 2023.4.1 to 2023.4.2 broke the counter

I also have problems, it comes back to today sometimes but after a while its back to numbers.
Home Assistant 2023.4.4
Supervisor 2023.04.0
Operating System 9.5
Frontend 20230411.1 - latest

Samma problem här.

Same issue since upgrading to 2023.4 (currently at 2023.4.3)

Have been taking a look at the code to try to figure out what stopped working. I'm not a coder so I can't really do much here. One observation is that the natural language strings are actually included in the custom component, not generated by HA Core. But I can't find where in the code the sensor maps days remaining (variable "numDays") to the array in the translation json? And how does it select the right json-file with translations depending on language settings?

I sat down and tried to have a look at it yesterday, and I more or less came to the same conclusion. No errors in the console or Home Assistants's error log. Can't see where "the translation" is done either.
Tried to look at what was released in 2023.4.x and don't think I can see what could be affecting this issue. There is a chapter in 2023.4.0 regarding Translating entities , but there isn't much explained.
And in the 2023.4.1->2023.4.4 the most noteworthy I can find is the bumping of the frontend, but don't know where to find exactly what was done.
Since the number is fetched correctly, everything seems to be working except the "translation", so the problem is pretty much narrowed down

Have been taking a look at the code to try to figure out what stopped working. I'm not a coder so I can't really do much here. One observation is that the natural language strings are actually included in the custom component, not generated by HA Core. But I can't find where in the code the sensor maps days remaining (variable "numDays") to the array in the translation json? And how does it select the right json-file with translations depending on language settings?

I sat down and tried to have a look at it yesterday, and I more or less came to the same conclusion. No errors in the console or Home Assistants's error log. Can't see where "the translation" is done either.
Tried to look at what was released in 2023.4.x and don't think I can see what could be affecting this issue. There is a chapter in 2023.4.0 regarding Translating entities , but there isn't much explained. And in the 2023.4.1->2023.4.4 the most noteworthy I can find is the bumping of the frontend, but don't know where to find exactly what was done.
Since the number is fetched correctly, everything seems to be working except the "translation", so the problem is pretty much narrowed down

I have also been trying to figure this out. Reading the documentation it seems that is done correctly by @DSorlov, the component translation works but not that of the sensor states. My guess is that something has changed after 2023.4 but the documentation is not updated to reflect the changes.

Please fix this, everybody has this issue.

@droidgren as soon as time permits or if someone have time to submit a PR, I dont have a permanent lab and I cannot replicate this in my own install..  :)

I looked at the documentation and it has been updated, it was actually two weeks ago. The translation files in the swemail integration needs to be reformatted to conform with the new translation method indroduced in 2023.4. I will try to take a look at it but as I said earlier I am not a coder, so no promises.
On another note, I invite everyone to keep comments in the thread focused on solving the issue, just asking (demanding…) for it to be fixed is not productive.

Is this the documentation of changes i HA? https://developers.home-assistant.io/blog/2023/03/27/entity_name_translations/

Is this the documentation of changes i HA? https://developers.home-assistant.io/blog/2023/03/27/entity_name_translations/

Yes, this is the blog post detailing how translations need to be implemented after 2023.4, it links to the actual documentation pages in the bottom. The documentation that was not updated before two+ weeks ago is the one detailing how custom integrations should handle translations.
https://developers.home-assistant.io/docs/internationalization/custom_integration
This now states that all translations need to be in a single file named with the corresponding language code, e.g. sv.json. Before you could just include a separate file for the entity domain you wanted to provide translations for, e.g sensor.sv.json, but this is no longer supported.
It also says that the translation files need to be like all other core integrations. This means that to translate a state of an entity it has to specify a translation key that maps to the translated string in the translation file.
So to sum up everything that needs to be done:

The sensor declaration needs to be updated to include a translation_key.
The translation file needs to include the state translations under that translation_key.

This is a bit more than just copying the information from sensor.xx.json into xx.json. Still manageable, but will take more time.

Ok, so I solved it. Was easier than I thought. :-). I have it running locally with proper function. Now I just need to figure out how to make a PR, never done that before. Maybe later today or tomorrow, have life stuff that needs my time for now.

Ok, so I solved it. Was easier than I thought. :-). I have it running locally with proper function. Now I just need to figure out how to make a PR, never done that before. Maybe later today or tomorrow, have life stuff that needs my time for now.

Let me know if tou need help otherwise there should be a million guides out there.
Fork - Branch - Commit - Push - PR

PR #20 submitted that fixes the issue

Still no update in HA

You can also edit existing files using the attached link.
That's what I did and it works great.
https://github.com/DSorlov/swemail/pull/20/files

repo: DSorlov/swemail


text:
Bundles endpoint has incorrect "self link" (appears for item pages)

Describe the bug
There appears a ensureSelfLink warning in the browser console for item pages. For example go to
https://demo7.dspace.org/entities/journalvolume/d2a50f09-e051-41f6-bb63-538121d3e065:

The response for 'https://api7.dspace.org/server/api/core/items/d2a50f09-e051-41f6-bb63-538121d3e065/bundles?size=9999' has the self link 'https://api7.dspace.org/server/api/core/items/d2a50f09-e051-41f6-bb63-538121d3e065/bundles?embed=primaryBitstream&embed=bitstreams/format&size=1000'. These don't match. This could mean there's an issue with the REST endpoint

I experience this with our own installation of DSpace and it can be observed on https://demo7.dspace.org/

Similar issue to #8576... both of these tickets might be fixed at the same time.

I recommend against fixing this "issue" making change on the backend. We could eventually decide to change the REST behavior and raise an exception when the client request cannot be accommodated due to global constraint. We should instead update the angular code setting 1000 as higher number because anything higher is just not respected by default

This issue is caused by https://github.com/DSpace/dspace-angular/issues/2513
It's essentially something that can be ignored, but I agree it's misleading.  The issue is that the Angular code is requesting size=9999, but the REST API won't support it and changes the size to the maximum of size=1000.  When the Angular code sees that, it thinks that the "self link" has changed (because 9999 was changed to 1000)

authors: MW3000 abollini tdonohue

repo: DSpace/DSpace


text:
Fix missing type-bind relations for checkbox group

Description
Checkbox groups were always displayed, because they did not include the type-bind relations. This commit adds the missing property
Instructions for Reviewers
Please add a more detailed description of the changes made by your PR. At a minimum, providing a bulleted list of changes in your PR is helpful to reviewers.
List of changes in this PR:

Adds typeBindRelations property to DynamicListCheckboxGroupModel and DynamicListCheckboxGroupModelConfig

Verify functionality:

Have a type-bound field with input-type of list and repeatableset to true in your submission form
Regardless of the type-binding setup the field will always display
Apply patch
The field is now only displayed for the type bound types

Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & specs/tests), or I have provided reasons as to why that's not possible.
[x] My PR passes TSLint validation using yarn run lint
[y] My PR doesn't introduce circular dependencies
[x] My PR includes TypeDoc comments for all new (or modified) public methods and classes. It also includes TypeDoc for large or complex private methods.
[ ] My PR passes all specs/tests and includes new/updated specs or tests based on the Code Testing Guide.
[x] If my PR includes new, third-party dependencies (in package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.

@kshepherd : Since you've built most of the Type-bind code in v7, would you be willing to review/test this small PR for us?

authors: hutattedonmyarm tdonohue

repo: DSpace/dspace-angular


text:
Catalog 校验失败

Version
v4.0.0-beta.4.3
The Type of SQL
SparkSQL
Your Code
parser.validate('
create table if not exists hive_prod.dev.henry_test_iceberg7 (
        test_id int
) using iceberg;
');

Problem
使用 Catalog 校验会出现错误

SparkSQL 目前并不支持 Catalog 相关语法，可以看一下官方文档
https://spark.apache.org/docs/latest/sql-ref-syntax.html

Version v4.0.0-beta.4.3
The Type of SQL SparkSQL
Your Code
parser.validate('
create table if not exists hive_prod.dev.henry_test_iceberg7 (
        test_id int
) using iceberg;
');

Problem 使用 Catalog 校验会出现错误

如果使用的是其他的查询引擎比如 Trino 或者其他计算引擎比如 Flink，请考虑使用与之对应的 Parser

authors: HaydenOrz kouchao

repo: DTStack/dt-sql-parser


text:
Decide on a technology for documentation

Since early in the summer, official DUNE DAQ software documentation has been based in the appfwk package's wiki. This isn't a long term solution, so we're looking into other approaches for organizing and presenting the DUNE DAQ software documentation. I believe the following are reasonable requirements:

It should be possible to write documentation in markdown as is done on github, rather than being required to use another approach (e.g., rst)
It should be relatively easy for documenters to see the output of their edits before committing a change, at the very least to the extent that they should be able to determine if there's a syntax error in their markdown file
There should be documentation specific to each DUNE DAQ software release, and while we can archive documentation for older versions, the last couple of versions should be available
The build process for documentation should be straightforward for a given package (e.g., adding a --builddoc option to dbt-build.sh), but typically shouldn't need to be done by the user but rather handled behind-the-scenes (e.g., through a CI approach)
Only markdown documents directly written by developers and fed into a generator, and not the html output of the generator, should be committed

I've already thought a bit about the technologies to use. For document generators, the candidates have been MkDocs, Sphinx and Jekyll. For document display, GitHub Pages and ReadTheDocs.
Jekyll's ruby-based and at the last software coordination meeting it was agreed that the hassle of having this dependency on the stack was effectively disqualifying.
GitHub Pages expects the html to be on the git branch, which violates (5.) above.
This leaves us with ReadTheDocs for hosting/presentation, and a choice between MkDocs and Sphinx. I'm leaning toward MkDocs, since its root directory is docs/ and GitHub is capable of automatically displaying a README.md in a docs/ subdirectory of a repo. For Sphinx, README.md would need to be in source/docs/, and therefore couldn't get displayed by GitHub. This relates to (2), above.
I've forked this repo into my own GitHub account (https://github.com/jcfreeman2/dont-readme/) and been playing around with MkDocs and Sphinx. With the caveat that the actual information shown on the websites isn't the same, an example of a MkDocs-generated website can be found here and an example of a Sphinx-generated website can be found here

Thanks for the neat summary. I just have one comment

GitHub Pages expects the html to be on the git branch, which violates (5.) above.

Yes and no. Whether the HTML sits on a branch of the source repo or on the master of a separate repo is a choice for us to make. The former is incompatible with (5), as you say, the latter could work.

We went with ReadTheDocs + MkDocs (see my talk from this morning, https://indico.fnal.gov/event/47549/contributions/211739/attachments/141619/178393/dunedaq-documentation.pdf)

repo: DUNE-DAQ/docs


text:
Add Guild#getMaxFileSize and Guild.BoostTier#getMaxFileSize

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[ ] Internal code
[x] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Possibly could fix #1243
Description
This PR adds Guild#getMaxFileSize and Guild.BoostTier#getMaxFileSize. Comments and suggestions are very welcome.

@MinnDevelopment should i implement a fix for #1243?

@caneleex sure, I'm ok with implementing a fix in this PR.

@caneleex sure, I'm ok with implementing a fix in this PR.

Done.

authors: MinnDevelopment caneleex

license_source: bigquery


text:
added method fromJSONObject(JSONObject embed)

Method converts JSONObjects to MessageEmbed objects.
Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[x] Internal code
[ ] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
fromJSONObject(JSONObject embed) takes a JSONObject as a parameter and converts it into a MessageEmbed.

We are not interested in supporting this kind of functionality. The JSON part of the discord API is completely internal in JDA and should not be exposed to the end-user at all.

As a note, the internals of JDA do have this functionality exposed, but it is undocumented and not really meant for user consumption.
https://github.com/DV8FromTheWorld/JDA/blob/master/src/main/java/net/dv8tion/jda/core/entities/EntityBuilder.java#L879


text:
Clarify License

Hi, could you please clarify the license? I'd like to use it in a project, but can't otherwise.

Hello, it's MIT !

Yay! Could you add a License.md or License.txt file?
https://docs.github.com/en/github/building-a-strong-community/adding-a-license-to-a-repository

authors: alamboley hhhmmmmmm


text:
Fork for eWaterCycle forcing compliance

@RolfHut and I were working with the HBV model and noticed some points where ewatercycle-hbv and HBV-bmi did not fully fit in the eWaterCycle philosophy.
MakkinkForcing was a valid input, but ewatercycle-hbv would write new files during model.setup(). This is not good for reproducibility, and doesn't allow users to use forcing on a read-only disk.
As the workshop starts Monday, I made changes in a fork of this repo + ewatercycle-hbv;

https://github.com/eWaterCycle/HBV-bmi
https://github.com/eWaterCycle/ewatercycle-hbv

The HBV model now expects input in SI (K and kg m-2 s-1), and converts these to degrees Celcius and mm/d. This means that CaravanForcing and LumpedMakkinkForcing are directly compatible with HBV.
Note that I disabled the "HBVForcing" entrypoint: the way HBVForcing is structured needs to be reworked slightly, but I did not have any time for this now.
It would be nice to merge these changes back into this repo (and ewatercycle-hbv) at a later point in time.

I saw your initial changes but wanted to take the time to review them properly. Id be happy for ewatercycle-HBV to continue to develop so do look into merging changes back into the main repo.

I saw your initial changes but wanted to take the time to review them properly

Yeah I assumed you would not have time and we need things to work this week. I'll clean things up and make a PR at some point.

authors: BSchilperoort Daafip

repo: Daafip/HBV-bmi


text:
cmake: Prefer to find the raw lua library instead of a versioned one

The FindLua.cmake function prefers to find the lua library that is
formatted like lua.. This leads to it picking
incompatible headers and libraries on certain distros (notably
Arch). Therefore, if we prefer to find lua. it is more
likely to match with the includes.

Yes, that's my point Viech. It finds the includes for 5.3.4 but it links the library for lua 5.2, which is why you get the linker errors. My change makes it that it finds the library for 5.3.4 as well.

Oh well, I didn't test the correct branch because cmake resets the branch in the daemon folder… And it also does this when I checkout the Melanosuchus/cmake branch of Unvanquished. Now I'm mildly confused, I thought the latter pull request was supposed to fix that very issue.

So, this is kinda confusing, but we have the same "submodule" checkout in two places. On in the Unvanquished level CMakeLists.txt and in the daemon CMakeLists, so we do it twice. Mela's PR deletes the submodule checkout in daemon because it is redundant. We should keep the Unvanquished level one (Which is fixed in https://github.com/Unvanquished/Unvanquished/pull/991) and delete the daemon command that does the same.

How about this one?

I'm unable to test while Unvanquished/Unvanquished#991 does not work for me. If you tested this with a clean cmake cache and it locates and links the proper library on Arch Linux while without your changes it does not, I'd say go ahaed and merge it or have someone not on Arch Linux test this if you fear regressions.

I'm going to go ahead and merge this. If this casues problems, I'll revert.

authors: DolceTriade Viech

repo: DaemonEngine/Daemon


text:
baidu-map ready 事件执行2次问题

你好！麻烦你帮我看看为什么baidu-map ready 会执行2吃的问题
<baidu-map class="map" :zoom="zoom"
                 :ak="$ak" @ready="mapReady" :theme="['light']">
        <bm-geolocation anchor="BMAP_ANCHOR_BOTTOM_RIGHT" :showAddressBar="true" :autoLocation="true"></bm-geolocation>
</baidu-map>

methods: {
      mapReady ({BMap, map}) {
        this.BMap = BMap
        this.map = map
        var geolocation = new BMap.Geolocation()
        geolocation.getCurrentPosition(r => {
          map.centerAndZoom(r.point, this.zoom)
          this.point = r.point
          this.nearby.center = r.point
          this.selectPoint = r.point
          filling.getAllStation(data => {
            var icon = new BMap.Icon('/static/package.png', new BMap.Size(27, 31))
            var minPoint = this.point
            var minDist = 0
            icon.imageSize = new BMap.Size(27, 31)
            for (var i = 0; i < data.length; i++) {
              var markerPoint = new BMap.Point(data[i].longitude, data[i].latitude)
              minDist = map.getDistance(markerPoint, minPoint)
              var marker = new BMap.Marker(markerPoint, {icon: icon})
              marker.data = data[i]
              marker.addEventListener('click', (e) => {
                this.showStationInfo = true
                this.station = e.target.data
              })
              map.addOverlay(marker)
            }
          })
        })
      }
}

你的代码里干扰信息太多了。摘干净一些没用的东西看看还会执行两次吗？

mapReady ({BMap, map}) {
        alert(1)
      }
就这样会alert 2次

你检查一下 mounted 是不是也执行了两次，如果它也执行了两次那么说明问题出在其它地方。

我发现有其他的地图组件某些事件也执行2边

mounted 执行了一次

OK，我排查一下

感谢

https://codepen.io/Dafrok/pen/pwObZx
按照你的描述还原了一个场景，并没有发现你说的执行两次的问题。

好的 我看一下

你使用的vue版本是多少？我使用的是2.2.2

CDN 上的 https://unpkg.com/vue 应该是最新版。

试了一下 2.2.2 也没有出现你说的问题，难道是和别的什么东西有冲突？

    <baidu-map class="map" @ready="mapReady"></baidu-map>

</template>

这样也会执行2遍

弄一个在线演示吧，我还原不了你的问题

大佬 解决没 我的也执行了两次 是什么问题

@chenxiong666 还原不了你们的问题，请提供一个在线演示

我也是执行了2次...

@fangsj 能还原你的场景吗？

@fangsj ping

我感觉是你ready被触发了2次

不是，我要一个能够还原这个问题的示例，如果我还原不了你的问题，这个没办法查下去

看看下面的代码！单独使用baidu-map 没有问题，但是使用子组件比如bm-geolocation 就会执行2次
<template>

    <baidu-map ak="xQece40xHQGV542msnNIagId5XK4i0iU" style="width: 100%;height: 400px;" :center="center" :zoom="zoom"
               @ready="handler">
      <bm-geolocation anchor="BMAP_ANCHOR_BOTTOM_RIGHT" :showAddressBar="true" :autoLocation="true"></bm-geolocation>
    </baidu-map>
    <router-link to="/1">test</router-link>

</template>

![image](https://user-images.githubusercontent.com/8734881/32685687-170d3c5a-c6d1-11e7-88d8-05cdb7ebd8b4.png)

https://codepen.io/Dafrok/pen/pwObZx
用你的源码照搬过来依然没能复现……好奇怪啊，我看你用了 vue-router，会不会是 router 的原因？

https://lf7817.github.io/water-price
我这边也是执行两次ready,首次加载执行两次ready，去掉keep-alive就正常了，上边是场景复现

@Dafrok

@lf7817 收到，我检查一下

感谢 @lf7817 提供完整复现用例，bug 已修复，请更新至 0.18.8

repo: Dafrok/vue-baidu-map


text:
Onboarding Done :)

Cleaned data by removing constant columns and graphed RPM and TPS over time.

best solution yet :D

repo: DallasFormulaRacing/Onboarding


text:
More general type signatures for makeTraversals

Right now I'm working on a package for exhaustive pattern matching using Traversals (you can find the code here).  However, for the trick to work with auto-generated Traversals I need them to have more general types.
For example, let's assume that we were to generate Traversals for the Either type:
data Either a b

makeTraversals ''Either

This would generate something like this:
_Left :: Applicative f => (a -> f a) -> (Either a b -> f (Either a b))
_Left k (Left a) = fmap Left (k a)
_Left _  x       = pure x

_Right :: Applicative f => (b -> f b) -> (Either a b -> f (Either a b))
_Right k (Right a) = fmap Right (k a)
_Right _  x        = pure x

However, I actually need the following more general types, which requires complicating the implementation:
_Left :: Applicative f => (a -> f a') -> (Either a b -> f (Either a' b))
_Left k (Left  a) = fmap Left (k a)
_Left _ (Right b) = pure (Right b)

_Right :: Applicative f => (b -> f b') -> (Either a b -> f (Either a b'))
_Right k (Left  a) = pure (Left a)
_Right k (Right b) = fmap Right (k b)

The type signatures are not the complicated part because they can be omitted (the inferred types would still be correct).  What makes this more complex is that you can no longer implement the Traversal in terms of two cases (the matching constructor and the fallback).  Instead, you must now provide a case for every constructor.
This is not urgent, because I can work around this by using the makePrisms function from Control.Lens.TH, which does produce the fully general type signatures.

I finally put the elbow grease into making this happen. It's still largely untested, but per business-as-usual in Haskell, once it compiled, it seemed to work. You can see for yourself that the traversals generated in examples/traversal-test.lhs are more general now:
$ cabal build
$ ghci examples/traversal-test.lhs
ghci> :t over _B
over _B :: (b -> b') -> Opt b c d -> Opt b' c d
ghci> over _B show (B ())
B "()"

Kindly test this out a little when you can. Meanwhile, I'll review, clean up the code a bit, and maybe even add a test suite. Once I hear back from you ( @Gabriel439 ) I'll release the new version.

I just gave it a test drive and it works great!  I tried it out with my total library and also tried exercising a lot of corner cases and it behaves just the way I expect.

Uploaded the new version: 0.4.1.0. Cheers!

repo: DanBurton/lens-family-th


text:
Premature confetti fade out

On slower devices, the confetti fades out higher up the screen than on faster devices:

Nokia 1
OnePlus 8

Maybe the fade should be a function of the particle's Y value not time?

Interesting! Thanks for reporting @alexbirkett. Question, could it be that this OnePlus 8 has a 120hz display? I think it has to do with the refresh time not being calculated down to the fade.

But the behaviour is as expected on the OnePlus. It's the slow phones (like the Nokia and emulators according to my college) that have problems. I added support for text/emojis and the problem was even more apparent then.

Do you use a delta time multiplier when altering the particle attributes? If not, that might help.

Do you use a delta time multiplier when altering the particle attributes? If not, that might help.

Yes, it's used and it seems to be used for the alpha too. I'm trying to think of a way to validate it's because of the frame rate by perhaps limiting the fps.

Did a quick test and forced Konfetti to draw on a with lower frames per seconds and it indeed visibly makes the particles have a shorter lifespan (see comparison below). Since I'm not able to reproduce it I'll have to dig deeper to find out why this is happening.

~30fps
~60fps

Hey @alexbirkett,
The deltatime wasn't calculated on the force and acceleration. Hence it didn't reach as far on the slower phone as it did on the faster phone. Could you try and test the following version on the slower phone to see if it's fixed?
implementation 'nl.dionsegijn:konfetti:1.2.6-rc1'

I can't find a tag for 1.2.6-rc1. When I attempt to use 'nl.dionsegijn:konfetti:1.2.6-rc1'  with demo-simple-java I get a crash:
    Process: nl.dionsegijn.simple_demo, PID: 28955
    java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/jvm/internal/Intrinsics;
        at nl.dionsegijn.konfetti.models.Shape$DrawableShape.<init>(Unknown Source:2)
        at nl.dionsegijn.simple_demo.MainActivity.onCreate(MainActivity.java:23)
        at android.app.Activity.performCreate(Activity.java:7802)
        at android.app.Activity.performCreate(Activity.java:7791)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3273)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3437)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2041)
        at android.os.Handler.dispatchMessage(Handler.java:107)
        at android.os.Looper.loop(Looper.java:214)
        at android.app.ActivityThread.main(ActivityThread.java:7386)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:980)
     Caused by: java.lang.ClassNotFoundException: Didn't find class "kotlin.jvm.internal.Intrinsics" on path: DexPathList[[zip file "/data/app/nl.dionsegijn.simple_demo-a0luL6QpGPUoNEidnRfcag==/base.apk"],nativeLibraryDirectories=[/data/app/nl.dionsegijn.simple_demo-a0luL6QpGPUoNEidnRfcag==/lib/arm, /system/lib, /system/product/lib]]
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:196)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
        at nl.dionsegijn.konfetti.models.Shape$DrawableShape.<init>(Unknown Source:2)
        at nl.dionsegijn.simple_demo.MainActivity.onCreate(MainActivity.java:23)
        at android.app.Activity.performCreate(Activity.java:7802)
        at android.app.Activity.performCreate(Activity.java:7791)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3273)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3437)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2041)
        at android.os.Handler.dispatchMessage(Handler.java:107)
        at android.os.Looper.loop(Looper.java:214)
        at android.app.ActivityThread.main(ActivityThread.java:7386)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:980)

@alexbirkett that's because kotlin isn't configured for this java project.
You can easily fix that by adding a dummy kotlin class file to that demo-simple-java project and then click on configure kotlin

@alexbirkett would it be possible to try above solution?

Presumably fixed with this implementation:  https://github.com/DanielMartinus/Konfetti/pull/249
Please reopen if the problem still occurs

authors: DanielMartinus alexbirkett carlfindahl

repo: DanielMartinus/Konfetti

license: isc


text:
CSS

CSS
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
So that i can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide Website
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow

added css to project


text:
wd_core.au3 _WD_ExecuteScript() $bReturnAsValue

I was thinking about adding this _WD_GetDevicePixelRatio() to wd_helper.au3 as there is similar _WD_IsWindowTop() which I usesd as an emplate for my _WD_GetDevicePixelRatio()
but...
Maybe we can add a new parameter $bReturnAsValue to _WD_ExecuteScript
https://www.autoitscript.com/forum/topic/205553-webdriver-udf-help-support-iii/?do=findComment&comment=1493911

Just checking rerquest feature.
Should I use them when each time I submit my commits ?


text:
Dragon can spawn multiple times

Crossing the trigger for MarcoBartoli will spawn a second dragon if the first has been killed, which crashes the game. If it is still alive, Bartoli is triggered again but the engine seems to handle it and realise the dragon is already spawned. The trigger for Bartoli should have the OnlyOnce flag set as per DL.

Vanilla:
FD Index:2115
Count:1
-Function:4 - Trigger
0x8004	1000 0000 0000 0100
0x3E00	0011 1110 0000 0000
0x0058	0000 0000 0101 1000
0x005D	0000 0000 0101 1101
0x005C	0000 0000 0101 1100
0x8062	1000 0000 0110 0010
What needs to change:
FD Index:2115
Count:1
-Function:4 - Trigger
0x8004	1000 0000 0000 0100
0x3F00	0011 1111 0000 0000
0x0058	0000 0000 0101 1000
0x005D	0000 0000 0101 1101
0x005C	0000 0000 0101 1100
0x8062	1000 0000 0110 0010
Use "SetOneShot" on the FDEntry.


text:
docker.io/semitechnologies/weaviate:1.26.0

IMAGE SYNC

感谢老板！

repo: DaoCloud/public-image-mirror


text:
Added pption to force reliable ordering of TCP messages.

Hi Jamie,
As discussed, I've made an option to toggle the forced reliability of TCP message ordering.
I've made changes to two files:

Added TcpOptions with property ForceReliableOrdering to enable forced reliable ordering.
Modified TcpConnection.BodyReadCallback to make use of ForceReliableOrdering.

I took a quick look, and it seems that the TcpOptions class is a clean way to go as we do not want to have to set forced order reliability twice (on connection and on args.Connection in the NewConnection callback).
To use this, simply put TcpOptions.ForceReliableOrdering = true; anywhere in your code and messages will arrive in the order in which they were sent. By default, this option is set to false.
Please note that I had to add .vs/ to the bottom of the .gitignore file as I was getting sqllite.db locks... see: https://stackoverflow.com/a/48220209/596841
Hope this change is acceptable and that it is helpful.
Kind regards,
Rich

Hi Rich,
Sorry about the delay in reviewing this, my internet's been intermittent the last week!
The changes all look good but my only concern is that some people may prefer the property to be different between connections hence being better as a property of TcpConnection. Maybe new connections could be given the correct value based upon a value set in the listener?
The change for the VSCode folder is absolutely fine!
Jamie

repo: DarkRiftNetworking/Hazel-Networking

license: mit


text:
Split file, data table and file summary selectors into separate files

Split file, data table and file summary selectors into separate files (see Angular's single responsibility style guideline) and move to their individual, feature-specific ngrx folders.

superseded by dx

authors: MillenniumFalconMechanic NoopDog

repo: DataBiosphere/data-browser


text:
Docker containers logs collected from journald have the wrong service

Describe what happened:
Docker container logs collected from journald have multiple service tags, with the image short name value taking priority over the service name extracted from the DD_SERVICE env var and/or the com.datadoghq.tags.service label.
This appears to be because https://github.com/DataDog/datadog-agent/blob/8a8e51489c3659de0069489c480534f9dd4d5956/pkg/logs/input/journald/tailer.go#L230 always sets the origin service to the docker image short name, which takes precedence over any service extracted from tags.
Describe what you expected:
Logs from containers collected by the journald integration should only have one service tag with a value from the DD_SERVICE env var or com.datadoghq.tags.service label, if present.
Steps to reproduce the issue:
Configuration:
datadog.yaml
logs_enabled: true

journald.d/conf.yaml
logs:
    - type: journald
      path: /var/log/journal/
      container_mode: true

Behavior can be reproduced by launching a container with a service tag/label and checking the logs in Datadog.
For example, docker run --rm -e DD_SERVICE=foo alpine:latest echo "hello, world" will result in a "hello, world" log with the following tags:

service:alpine
service:foo

Additional environment details (Operating System, Cloud provider, etc):
Operating System: Ubuntu 18.04
Cloud provider: AWS
Agent version: Agent 7.32.1 - Commit: 52f034f - Serialization version: v4.85.0 - Go version: go1.16.7
Also wanted to note that we are using journald-based collection and also specifying container_exclude_logs: "name:.*" to completely disable the docker unix socket log tailer because it appears to be leaking open file descriptors (we see it periodically get killed by our OS due to too many open files, mostly docker unix sockets). However, removing that exclusion config doesn't fix the service tagging issue. We were also unable to switch to docker file-based log collection because our data-root is not /var/lib/docker.

Hi @isobit, thanks for reporting this issue.
In general, we'd recommend using the docker file-based collection for your use case, but indeed the data-root is currently hardcoded to /var/lib/docker in the Agent.
Do you run the Agent directly on the host, or in a container?

Hey @olivielpeau! We're running the agent as a host process. Also I wanted to note that our docker data-root is different due to our use of the userns-remap functionality, which uses a subdirectory named using a user and group ID.

authors: isobit olivielpeau

repo: DataDog/datadog-agent


text:
get pid of the sysprobe task for use in fentry programs

What does this PR do?
use the dev/ino of the system probe in userspace passed as constants to kernelspace to get the PID + TGID in the namespace of the fargate task instead of the underlying host.

Motivation
https://datadoghq.atlassian.net/browse/NPM-2693

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes
The system-probe binary with these changes should be deployed as a daemon to the fargate test env sent to us by AWS.

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

closing this as fargate work is paused indefinitely


text:
[2024 GPG KEY ROTATION] Rotate GPG key used to build the agent

What does this PR do?

Rotate the keys used to build the agent.
RPM keys are rotating from fd4bf915 to b01082d3
APT keys are rotating from ad9589b7 to c0962c7d
see the Agent Signing Key Document to verify that we're replacing current keys by future keys
Motivation

Additional Notes

Renamed DEB_GPG_KEY_NAME because we aren't using subkeys with the new APT key.
Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

For every RPM packages

rpm --import https://keys.datadoghq.com/DATADOG_RPM_KEY_B01082D3.public
rpm --checksig <package> -> We expect digests signatures OK

For every DEB packages

TBD

/merge


text:
pkg/trace/obfuscate: fix bug with escape character in string

What does this PR do?
This PR fixes an issue, where our current SQL tokenizer assumes that a backslash within a string always acts as an escape character. In dialects such as MySQL, this turns out to be a good assumption, but in general, backslashes in SQL strings are treated literally.
The following query should be valid, but if we treat the backslash as an escape character, the tokenizer will fail to parse it.
SELECT * FROM foo WHERE name = 'backslash\' AND id ='1234';

This PR changes the behavior of the tokenizer to first assume that backlashes escape quotes, but if we eventually fail to parse the entire query, we will retry tokenization assuming that backslashes are treated literally. The big assumption here is that within a single query, backslashes will be treated consistently.
Motivation
https://trello.com/c/4fUnQFso/2946-agent-obfuscation-problem
Additional Notes
Anything else we should know when reviewing?

Style is a problem that is easily corrected. I'm happy to come up with more concise field names.
I tried and failed to come up with a solution that just deals with scanString. The problem here is that we are always assuming that a backslash in a string should escape the following character, which is a bad assumption. But you might not know that assumption was a bad one until much later. You may try parsing

SELECT age FROM profile WHERE name='John \' AND lastname='!'

This is a valid query, but fails with our current tokenizer. The error you get is at position 59: expected \"=\" after \"!\", got \"'\" (39). This error occurs outside the scope of scanString, so some state external to scanString needs to exist to deal with it.
My solution is a little complicated, as it allows the tokenizer to operate in two different modes, escaping quotes, and not escaping quotes. It requires backtracking which isn't totally ideal from a performance standpoint. The only reason the change can't be self-contained within the tokenizer, is that the output buffer in obfuscateSQLString needs to be adjusted when we backtrack.

Made some minor changes that doesn't change the approach, but does separate the concerns a bit better.


text:
Fix POM file missing dependencies

The Maven plugin creates a publication automatically for jar outputs with the relevant dependencies.
Instead of creating a "blank" publication, we can reuse the existing one and add the missing info there.

Codecov Report

Merging #26 (dcc725d) into release/1.0.0 (38c069b) will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             release/1.0.0      #26   +/-   ##
================================================
  Coverage            80.43%   80.43%
  Complexity              97       97
================================================
  Files                   13       13
  Lines                  281      281
  Branches                37       37
================================================
  Hits                   226      226
  Misses                  46       46
  Partials                 9        9

authors: codecov-commenter xgouchet

repo: DataDog/dd-sdk-android-gradle-plugin


text:
RUMM-3194 add tracer sampling rate

What does this PR do?
Adds a sampling rate for local traces. The sampling will be applied automatically to the root span if it's not set manually on it.

Codecov Report

Merging #1393 (2edc280) into develop (a3f9c38) will decrease coverage by 0.04%.
The diff coverage is 90.00%.

@@             Coverage Diff             @@
##           develop    #1393      +/-   ##
===========================================
- Coverage    82.00%   81.96%   -0.04%
===========================================
  Files          363      363
  Lines        13015    13021       +6
  Branches      2188     2188
===========================================
  Hits         10672    10672
- Misses        1683     1684       +1
- Partials       660      665       +5

Impacted Files
Coverage Δ

...og/trace/common/sampling/RateByServiceSampler.java
56.52% <66.67%> (-4.35%)
:arrow_down:

...ava/com/datadog/trace/common/sampling/Sampler.java
28.57% <100.00%> (ø)

...otlin/com/datadog/android/tracing/AndroidTracer.kt
93.81% <100.00%> (+0.41%)
:arrow_up:

... and 13 files with indirect coverage changes

repo: DataDog/dd-sdk-android


text:
Add implementations of benchmark profiling api

What does this PR do?

Update BenchmarkTracer API
Add implementations for following interfaces:

BenchmarkSpanBuilder
BenchmarkProfiler
BenchmarkSpan
BenchmarkTracer

Add convenient static function to measure the span.

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.03%. Comparing base (5abf82c) to head (4406bde).

Additional details and impacted files
@@                  Coverage Diff                  @@
##           feature/profiling    #2220      +/-   ##
=====================================================
+ Coverage              69.92%   70.03%   +0.11%
=====================================================
  Files                    726      726
  Lines                  27007    26996      -11
  Branches                4528     4523       -5
=====================================================
+ Hits                   18883    18904      +21
+ Misses                  6842     6819      -23
+ Partials                1282     1273       -9

see 28 files with indirect coverage changes

authors: ambushwork codecov-commenter


text:
RUMM-1456 Session Listener

What does this PR do?
Adds an optional RumSessionListener to the RumMonitor, letting the customer know:

when a new Session is starting
whether the session is kept/discarded (bases on the sampling rate)
what Datadog's Session id is

Motivation
Inspired by this feature request: Datadog/dd-sdk-ios#526

Codecov Report

Merging #688 (58e77e8) into master (810db97) will increase coverage by 0.10%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #688      +/-   ##
============================================
+ Coverage     88.48%   88.58%   +0.10%
- Complexity     1692     1697       +5
============================================
  Files           189      189
  Lines          5598     5605       +7
  Branches        683      684       +1
============================================
+ Hits           4953     4965      +12
+ Misses          407      406       -1
+ Partials        238      234       -4

Impacted Files
Coverage Δ

.../main/kotlin/com/datadog/android/rum/RumMonitor.kt
80.65% <100.00%> (+2.07%)
:arrow_up:

...d/rum/internal/domain/scope/RumApplicationScope.kt
100.00% <100.00%> (ø)

...droid/rum/internal/domain/scope/RumSessionScope.kt
97.78% <100.00%> (+0.05%)
:arrow_up:

.../android/rum/internal/monitor/DatadogRumMonitor.kt
96.58% <100.00%> (+0.03%)
:arrow_up:

...g/internal/domain/event/DdSpanToSpanEventMapper.kt
91.84% <0.00%> (-4.08%)
:arrow_down:

...droid/rum/tracking/ActivityViewTrackingStrategy.kt
86.79% <0.00%> (-1.89%)
:arrow_down:

...g/android/rum/internal/domain/scope/RumEventExt.kt
81.82% <0.00%> (-0.91%)
:arrow_down:

...m/internal/domain/scope/ExternalResourceTimings.kt
73.53% <0.00%> (ø)

...l/net/info/BroadcastReceiverNetworkInfoProvider.kt
78.12% <0.00%> (ø)

...atadog/android/core/configuration/Configuration.kt
96.15% <0.00%> (+0.38%)
:arrow_up:

... and 4 more


text:
FirstPartyHosts formatting

Describe the bug
The DatadogConfiguration accepts first party hosts as a List<String>, but when the js script loads it complains about the format: Datadog Browser SDK: Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter. It could be that some transformation needs to take place within the plugin to put it into a format the script expects.
Reproduction steps
DatadogConfiguration(
   firstPartyHosts: ['site.com'],
)..enableHttpTracking()

SDK logs
No response
Expected behavior
No response
Affected SDK versions
2.4.0
https://www.datadoghq-browser-agent.com/us1/v5/datadog-logs.js
https://www.datadoghq-browser-agent.com/us1/v5/datadog-rum-slim.js
Latest working SDK version
No response
Did you confirm if the latest SDK version fixes the bug?
Yes
Flutter Version
3.16.9
Setup Type
No response
Device Information
No response
Other relevant information
No response

Hi @curt-weber ,
Weirdly, we do perform the transformation to the object type the JavaScript expects.
I also can't reproduce with 2.4.0 with our simple example.
A few questions that might help me track this down:
Is the first party host you're setting more complex than just "site.com"? Do you know if it's working on some browsers and not others (I only tested on Chrome)?  Is there anything else weird about your setup?

No, for us it's just kw.com.

Unfortunately the js is obfuscated/minified so it's harder to trace, but here it returns false:
function Nn(t) {
        var e = H(t);
        return "string" === e || "function" === e || t instanceof RegExp
    }

e is "object" both times - if it helps, here is a live example: kw.com/search

That does help a bit, thanks!
It's very, very strange though. We have specific code to convert the Dart RegExp to a JavaScript RegExp but in your case it looks like something might be interfering with it. Does this happen in debug builds? Is there any chance you can see what type t is during the call? It looks like a Dart RegExp to me, but I can't be sure.

It looks like we are on 2.2.0 - this is my fault. Apologies for the wasted cycles.

We will upgrade and confirm this works and close.

Confirmed as working - thanks for looking into this @fuzzybinary!

authors: curt-weber fuzzybinary

repo: DataDog/dd-sdk-flutter


text:
Support a roll_up_period of 0 or None

Right now if you submit a metric than immediately flush, you won't get the metric out because it won't be after the roll_up_period has passed.
If we could accept a None value for the roll-up period, then we could ignore it on flushes.

Closing and reopening on  datadogpy repo.

authors: conorbranagan yannmh

repo: DataDog/dogapi


text:
Agent Check: systemd

Much alongs the lines of https://github.com/DataDog/integrations-core/tree/master/supervisord, it would be very beneficial to have an integration that checked all of systemd's units.  Currently, you have to write checks for each service.
A preliminary look has suggested that systemd uses dbus for API type discovery.  So this might be the best way to gather the information this integration needs.

Hey @rcaught! Thank you very much for the request.
SystemD is so popular that it definitely makes sense to monitor it. I've added this to our backlog! Thanks a lot for your request! 😄

This would be amazing, very much like the following:
https://www.datadoghq.com/blog/supervisor-monitors-your-processes-datadog-monitors-supervisor/

Quick update, this new check is now in the pipes, scheduled for current quarter.

@khandieyea work has continued here: https://github.com/DataDog/datadog-agent/pull/3584

authors: gmmeyer hithwen masci rcaught tavisma

repo: DataDog/integrations-core


text:
log_patterns to match all logs

I don't think it is expected that log_patterns argument is expected to match just one of the provided patterns.
This PR:

changes the behaviour to match all patterns
When the condition fails it prints more information (it says which patterns were missing)
updates the affected test (the only affected test is cassandra_nodetool).

Let's update tests in a separate PR

It's on another PR https://github.com/DataDog/integrations-core/pull/12638, but this one won't pass unless updated

Not passing is ok, imo avoiding this is more important https://datadoghq.dev/integrations-core/guidelines/pr/#separation-of-concerns

authors: hithwen ofek


text:
Add the daemon metrics

What does this PR do?

Add the metrics related to the daemon service.
Motivation

https://github.com/DataDog/integrations-core/pull/12548
Additional Notes

Depends on https://github.com/DataDog/integrations-core/pull/12833
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

@urseberry Thank you very much for the review! I updated the file with your suggestions. I also applied the suggestions you added on my other PRs.


text:
Add a go worker

What does this PR do?

Motivation

Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] If the PR doesn't need to be tested during QA, please add a qa/skip-qa label.

Current dependencies on/for this PR:

master

PR #13807

PR #13808

PR #13809   👈

PR #13810

This comment was auto-generated by Graphite.

Closed in favour of https://github.com/DataDog/integrations-core/pull/13808


text:
Skip failing test on otel

Description
Test is failing consistently : https://github.com/DataDog/system-tests/actions/runs/6641096994/job/18042876027?pr=1739#step:8:106
Motivation

Workflow

⚠⚠ Create your PR as draft
Follow the style guidelines of this project (See how to easily lint the code)
Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
Mark it as ready for review

Once your PR is reviewed, you can merge it! :heart:
Reviewer checklist

[ ] Check what scenarios are modified. If needed, add the relevant label (run-parametric-scenario, run-profiling-scenario...). If this PR modifies any system-tests internal, then add the run-all-scenarios label (more info).
[ ] CI is green

[ ] If not, failing jobs are not related to this change (and you are 100% sure about this statement)

[ ] if any of build-some-image label is present

is the image labl have been updated ?
just before merging, locally build and push the image to hub.docker.com

[ ] if a scenario is added (or removed), add (or remove) it in system-test-dasboard nightly

https://github.com/DataDog/system-tests/pull/1741 should fix it for now

repo: DataDog/system-tests


text:
🛑 WikiTA is down

In 8804a88, WikiTA (https://wikita.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: WikiTA is back up in f6a04cc after 21 minutes.

repo: DataEnsta/upptime


text:
🛑 Gitlab is down

In de34d55, Gitlab (https://gitlab.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Gitlab is back up in e3a8e04 after 10 minutes.


text:
ArrayOfDoubles P-Value Ratio Metric

The ArrayOfDoublesSketchesToPValueEstimates UDF generates p-values for given metrics. However, we have need of p-values for ratio metrics. For example, the click-through rate (CTR) is computed as clicks / impressions. Impressions would be a metric, and clicks would be a metric. We would need to compute the p-value for that ratio, and be able to express it in terms of a UDF.
I think a UDF that takes the following parameters:
RATIO_PVALUE(sketch_A, sketch_B, numerator_index, denominator_index)
and returns a map:
{'pvalue': X, 'delta': Y}
The math required for ratio p-value computation is different from regular p-value computation.

This seems to be a very custom function. Closing this old issue we are not likely to address.

authors: AlexanderSaydakov joshwalters

repo: DataSketches/sketches-pig


text:
Custom filtering

Hi,
If I remove the search field by setting filter="false", all the functions related to the filter are disabled.
Is it possible to remove the default filter field and add a customized search form?
Thanks!

Hi,
I also want to apply custom filter for searching record on the basis of alphabetical filter. fnFilter returns undefined my case. Please help.

@suyash248 - Per the Contributing.md document, can you please post support requests in the DataTables forums and ensure that you link to a test case showing the issue so it can be debugged and help offered.

authors: DataTables suyash248 tduchateau

repo: DataTables/DataTables


text:
DSD-3581: update required provider for deprecated object

BREAKING CHANGE: No longer uses deprecated object

@creynolds15 What's the status of this PR?

@creynolds15 What's the status of this PR?

Good to merge once it gets approval.

@souza-dan Mind reviewing the PR and approving it if it looks good. Thanks!

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

repo: Datatamer/terraform-aws-emr


text:
MD044 - Links and code should be excluded from checks

First of all, thanks for this great tool. I've been experimenting with it for the last couple of days and it works great.
I'm really interested in this rule, but it fails short with its current implementation. Example:
  "proper-names": {
      "names": [
          "GitHub"
      ]
  }

All docs fail where there's a link to GitHub. I think there should be an option to exclude links, URLs, and code from this check, and it should probably be true by default.

Please have a look at the tests for the following commit I made about an hour ago: https://github.com/DavidAnson/markdownlint/commit/935935b96c4196df795fa8d2feb4870bbb13306d
I think you will find it addresses exactly the issues you raise. :)

Actually, it explicitly INcludes code - what is your scenario where that is not wanted?

Please have a look at the tests for the following commit I made about an hour ago: 935935b

Ah, that's great.

Actually, it explicitly INcludes code - what is your scenario where that is not wanted?

For example an HTML code fragment that include links. It would also be great to ignore bare URLs, not just properly formatted links.

I'll probably allow excluding code, thanks.
I debated whether to special case bare URLs already - why not use a proper link instead?

I debated whether to special case bare URLs already - why not use a proper link instead?

I guess mostly for lazyness. If you want to write https://atom.io/, it's easier to use the bare URL than writing [https://atom.io/](https://atom.io, especially if you want to display the URL.

authors: DavidAnson flodolo

repo: DavidAnson/markdownlint


text:
哪个版本的API

想问一下  这个API对应的是node哪个版本的?

大部分还是io.js 3的版本，其实最近Node.js大版本的升级对API的变化非常小，更多的变化都在更底层里。不过近期的确有打算更新一把~


text:
Error for UnityBridge swift file

Hi,
can you help me with this. I have followed all the steps of integrating unity library recommended in the repo

Hi, I believe your issue is simply that your dependencies are wrong and so the API defined in UnityBridge isnt visible. Did you set the header to public?

Yes

I will need a bit more context to help here, but It definitely is a small build issue

@DavidPeicho , I have same problem when trying to use your files in my own project. Your project is working perfect, but when I took UnityBridge.swift and NativeCallProxy-Bridging-Header.h for my project, it now cannot be builded. I'm using same unity sample project and files dependencies are the same in it. My project is just swift, without swiftui.

Hey @dandepeched, you need to set the NativeCallProxy.h as a bridging header. It's an ObjectiveC file, and the swift need some info about that. Please have a look at the Apple documentation

Yes, I was missing path to the NativeCallProxy-Bridging-Header.h in the Build Settings/Objective-С Bridging Header.
Now I can build the project. Thanks for your help!

authors: DavidPeicho PritishSawant dandepeched

repo: DavidPeicho/unity-swiftui-example


text:
Improve figwheel usage ?

Perform the following experiment ...
If we were to add
:figwheel {:on-jsload "re_demo.core/render-root”}
to project.clj for the dev build target, could we then remove the entire dev folder (which is only there for figwheel reloading purposes).
And would this, in turn, mean we could collapse the two HTML files (one for prod and one for dev)? What other knock on effects?
We'd need to check that the Google Closure compiler dead-code-eliminates all  figwheel artifacts from prod builds.  (Although it seems clear that this would happen correctly, let's check).

Implemented in 2b7eb66


text:
Add more wallet timeout options and refactor

What kind of PR is this?:
/kind feature
/kind refactor
What this PR does / why we need it:
This PR refactors the TimeoutLockList to be automatically derived from the enum instead, and along with it adds a few more options for users who want to willingly increase timeout options.
While smaller time-frame is the best option for security, running this on embedded devices like Raspberry PI at times ends up taking much much longer to figure out the UTXOs than the maximum allowed from the interface and have to unlock from the command line each or or edit the lock value in wallet_map.json. Slightly larger time frames make room for this in a more human friendly way.
PS. Please feel free to modify the PR to remove six hours, if that's deemed to be too large a value. However, I believe 1 hour provides a good balance.
Note: The default values aren't touched. It's just the available options.

Hi just read your PS, will modify as such, thanks.

Makes sense, suspected so :) - Thanks for the making the changes needed @monstrobishi.

authors: monstrobishi prasannavl

repo: DeFiCh/app


text:
jellyfish-block implementation

What would you like to be added:
Similar to jellyfish-transaction, this package implements Block and CBlock with BufferComposer.
Why is this needed:

For better indexing interoperability with defid.
Size and performance conscious index implementation

/area core
/triage accepted

/assign @canonbrother

repo: DeFiCh/jellyfish


text:
🛑 UK Datacentre is down

In aef2818, UK Datacentre (http://www.thehostingfolks.org) was down:

HTTP code: 403
Response time: 498 ms

Resolved: UK Datacentre is back up in cbbd479 after 17 minutes.

repo: Deathbyteacup/thfstatuspage


text:
Generování RSS feedu kombinací feedů v 'Co je nového' na titulní stránce

fix #17

Komentáře od Petra:

RSS feed je nevalidní kvůli ID položek
odkazy nevedou přímo na původní položky
feed se stále generuje do feed/index

Bude tedy lepší feed generovat ručně pomocí rss knihovny a mít plnou kontrolu nad tím, jak se to chová. Zároveň nebude potřeba závislost na plutu, git submodulech ani jekyll pluginu pro RSS.

Ruční implementace generování feedu je připravná v #27.

repo: DebianLinuxCZ/debian-linux-cz


text:
How to use DecoPath in my python scripts?

Dear authors，
First of all, I'd like to thank you for sharing such a great work to the community. The web UI is nice and convenient to use in most cases but I'm wondering if there are options to use it in the command line or to call the GSEA funcitons from my python programe. If possible, it'll be much appreciated to get some hints for such purposes.
Best,
Qian

Hi Qian,
To do this you have to dig in a bit in the src/ functions
For example, here is the ORA function (https://github.com/DecoPath/DecoPath/blob/main/viewer/src/ora.py)

authors: ddomingof hellowangqian

repo: DecoPath/DecoPath


text:
Move data to own repo

To avoid ballooning this repo, we should probablo move the data to their own repo and include that via an import or submodule.

I'm going to close this because it is not really necessary at the moment

repo: DecodingRaphael/unraphael


text:
Unable to run FreeSurfer thalamic nuclei segmentation after FastSurfer without recon-all

Hello Fastsurfer community,
I am encountering persistent issues while trying to run thalamic nuclei segmentation using FreeSurfer 7.4.1 in a Singularity container after running FastSurfer. Here’s a detailed summary of my situation:
FreeSurfer version: 7.4.1 (freesurfer-linux-centos8_x86_64-7.4.1-20230613-7eb8460)
I have successfully run FastSurfer, which completed the segmentation. Here’s the output structure:
subject1/
├── mri/
│ ├── aparc.DKTatlas+aseg.deep.mgz
│ ├── aseg.auto_noCCseg.mgz
│ ├── atlas_registered.nii.gz
│ ├── cerebellum.CerebNet.nii.gz
│ ├── mask.mgz
│ ├── orig/
│ ├── orig.mgz
│ ├── orig_converted.nii.gz
│ ├── orig_nu.mgz
│ └── transform.mat
├── scripts/
│ └── deep-seg.log
└── stats/
├── aseg+DKT.stats
└── cerebellum.CerebNet.stats
I am now trying to run the FreeSurfer thalamic nuclei segmentation without running recon-all, as I understand this should be possible directly on the FastSurfer output.
The command I am attempting to use for thalamic nuclei segmentation is:
singularity exec -B /path/to/fastsurfer/output:/data
-e
/path/to/freesurfer.sif
bash -c ‘export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/freesurfer/MCRv97/runtime/glnxa64:/usr/local/freesurfer/MCRv97/bin/glnxa64:/usr/local/freesurfer/MCRv97/sys/os/glnxa64:/usr/local/freesurfer/MCRv97/extern/bin/glnxa64 &&
export MCR_CACHE_ROOT=/path/to/mcr_cache &&
segmentThalamicNuclei.sh
subject1
/data/fastsurfer_output’
When trying to run this command, I get an error indicating that the MATLAB Runtime (MCR) 2019b is not found.
I have attempted to install MCR using fs_install_mcr R2019b, but the installation fails with the following error:
mv: inter-device move failed: ‘/tmp/tmp.XXXXXXXX/install-target/v97’ to ‘/usr/local/freesurfer/MCRv97’; unable to remove target: Read-only file system
I have tried various approaches to resolve this issue, including:
Binding different directories
Setting LD_LIBRARY_PATH
Creating symbolic linksNone of these attempts have been successful.
My questions are:

Is there a known issue with running thalamic nuclei segmentation on FastSurfer output without recon-all?
Are there any specific steps or workarounds for installing MCR in a read-only Singularity container when working with FastSurfer output?
Is there an alternative method to run thalamic nuclei segmentation on FastSurfer output without relying on MCR?
Are there any additional files or preprocessing steps needed for thalamic nuclei segmentation that might be missing from the FastSurfer output?
Given that I have tried binding directories, setting LD_LIBRARY_PATH, and creating symbolic links without success, are there any other troubleshooting steps you’d recommend?

Any guidance or suggestions would be greatly appreciated. Please let me know if you have any questions. Thank you in advance for your help and thanks to the Fastsurfer community!

Hi, there are a few things.
First, I would recommend to ask the FreeSurfer mailing list on how to run their tools which we cannot support here. For that I would recommend you run FreeSurfer recon-all on your data and then on top of that the Thalamic sub-segmentation. They should be able to help you get that working. Once it does you can replace the slow recon-all step with FastSurfer.
Second, probably the Thalamic sub-segmentation in FreeSurfer needs results from the surfaces. Please post your command that you use to run FastSurfer, it looks like you only run the segmentation module (--seg_only). This will probably not be sufficient (but I don't know for sure). In that case you should try to run the full FastSurfer pipeline, which will also create surfaces.
So about your questions:

We don't know about any issue. In fact we successfully tested it a while ago.
You can build a new image with the right MCR in it, but we are not able to help much, as this is a FreeSurfer container and has nothing to do with FastSurfer, also the Matlab error is a problem with their Singularity Image.
No, probably it is needed by their thalamic nuclei tool.
What files their method needs should be documented with their method, we don't know for sure.
Again, we cannot help you here to get FreeSurfer tools running. Try a full FreeSurfer approach first, then replace recon-all with FastSurfer and try again.

Actually it could be that only the segmentation and the norm.mgz are needed (which are basically available). Let us know once you know what the exact input files are. Instead of the norm.mgz you could try the orig_nu.mgz (or a masked version of that, the mask is also there) and for the aseg, you can take the aseg.auto_noCCseg.mgz . If they also need the Corpus Callosum labels, then you would need to run until that is available but can skip the time consuming surfaces.  If that turns out to be sufficient, we could create a special flag for stopping there in a future release. We are planing to move the CC seg into the segmentation block anyway (currently it is in the surface block) with a new deep learning tool in one of the future releases.

Closing this due to inactivity for now. We had tested this before and it worked, so it is most likely a problem with the specific setup that you have.

Hello Dr. Reuter,
Apologies for the delayed reply. I was able to resolve the issue. The
entire problem stemmed from running the shorter FastSurfer pipeline
initially instead of the longer FastSurfer pipeline, followed by the
FreeSurfer thalamic nuclei segmentation.
This is how the code should look like, I ran it using singularity -
Run FastSurfer processing using Singularity with GPU
singularity exec --nv
--no-home
-B /data:/data
-B /output:/output
-B /fs_license:/fs_license
~/bin/fastsurfer-gpu.sif
/bin/bash -c "/bin/bash /fastsurfer/run_fastsurfer.sh
--t1 /data/T1.nii.gz
--sd /output
--sid subjectX
--fs_license /fs_license/license.txt
--parallel"
Start Singularity shell with Freesurfer image for thalamic nuclei
segmentation
singularity shell -B /data:/data
-B /output:/output
-B /fs_license:/fs_license
--env FS_LICENSE=/fs_license/license.txt
~/bin/freesurfer_7.4.1_20231214.simg <<EOF
(you need to download curl -X GET
https://neurocontainers.neurodesk.org/freesurfer_7.4.1_20231214.simg -O
before)
Set SUBJECTS_DIR environment variable
export SUBJECTS_DIR=/output
Navigate to subject directory
cd /output/subjectX/mri
Run thalamic nuclei segmentation
segmentThalamicNuclei.sh subjectX
Exit the singularity shell
exit
EOF
Thank you so much for your help! FastSurfer is of great help to me.
Thanks,
Arit
On Wed, Nov 20, 2024 at 9:01 AM Martin Reuter @.***>
wrote:

Closing this due to inactivity for now. We had tested this before and it
worked, so it is most likely a problem with the specific setup that you
have.
—
Reply to this email directly, view it on GitHub
https://github.com/Deep-MI/FastSurfer/issues/607#issuecomment-2488663882,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A24B665OB5IT74BD2QCKIPT2BSI4ZAVCNFSM6AAAAABRQVKC4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBYGY3DGOBYGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

repo: Deep-MI/FastSurfer


text:
Modify class processing logic to handle multiple PageLayers

Refer #42 for further details.

@IanMayo, can we take it that all the tables which are bounded by PageLayer div in country page (like Narnia1.html) are going to be just that of Classes?

No. There is just one table of classes. If there is more than one PageLayer we (I) need to come up with a new way of determining which contains the classes table.

Got it.

Overtaken by events

authors: IanMayo rnllv

repo: DeepBlueCLtd/LegacyMan


text:
How to get the embeddings file of all the entities and relations?

Hello, Zhiqing. I want to know how to get the embeddings file of all the entities and relations after training a RotatE model on some knowledge graph dataset? Like the glove word embeddings file.

Hi. You can find numpy dump of embeddings in models/RotatE_*_0/.

authors: KiddoZhu Shengqiang-Zhang


text:
Pretrained model

Hello! If there is any opportunity to use your pretrained model?

The paper says this doesn't really benefit much from pretraining, FWIW

repo: DeepVoltaire/Fast-SCNN


text:
How to update

Hello, can anybody explain the update process. I looked at the docu and have try it but the Version doesnt change.
Kind regards

what happens when you follow https://defectdojo.readthedocs.io/en/latest/upgrading.html (and provide more details as requested in the template).

Please come chat on Slack for help. It's better for a possible lively conversation (unless you're Edgar on Slack, then it's done already).

Please come chat on Slack for help. It's better for a possible lively conversation (unless you're Edgar on Slack, then it's done already).

authors: breckwoldt madchap valentijnscholten

repo: DefectDojo/django-DefectDojo


text:
Adding monitoring URL returns result NULL for the first time.

When a user adds an URL for the first time, they would want to see the status of that URL right away and then subsequent checks can happen based on the configured frequency.

Added in 085324d9d7d1f648ba1f81bb512fa5f852117730

repo: DefragLabs/uptime


text:
Support for version 1.5.13

Hi, currently the Typora had version 1.5.13 and the repository latest version is 1.5.10. The last version is located here: https://typora.io/releases/all, can you patch de latest version?

hello, in order to avoid Typora's super fast verification update, I decided to delay new release until the next second version is released, So I will wait until 1.54 or 1.6 to release 1.5.12. Btw, I do have completed 1.5.12 version patches. Please wait, thanks!

hello, in order to avoid Typora's super fast verification update, I decided to delay new release until the next second version is released. So I will wait until 1.54 or 1.6 to release 1.5.12. Btw, I do have completed 1.5.12 version patches. Please wait, thanks!
hello, in order to avoid Typora's super fast verification update, I decided to delay new release until the next second version is released. So I will wait until 1.54 or 1.6 to release 1.5.12. Btw, I do have completed 1.5.12 version patches. Please wait, thanks!

1.6.5发布了

@bequt 我会发布1.6.4-dev以及之前的所有版本，当1.6.6或更新版本发布时，我会推出1.6.5

authors: Delppine1024 SnapdragonLee bequt godiecl


text:
Generating a spherical grid raises error

Describe the bug
Generating a spherical grid raises MeshKernelError: Mesh2D::operator+=: The two meshes cannot be added. when .curvilinear_convert_to_mesh2d() is called.
To Reproduce
Put is_geographic=True in the code below:
import meshkernel
import xarray as xr
import numpy as np

#grid params
lon_min,lon_max = -6,2
lat_min,lat_max = 48.5,51.2
lon_res,lat_res = 0.2,0.2
num_x = int(np.ceil((lon_max-lon_min)/lon_res))
num_y = int(np.ceil((lat_max-lat_min)/lat_res))
make_grid_parameters = meshkernel.MakeGridParameters(num_columns=num_x,
                                                     num_rows=num_y,
                                                     origin_x=lon_min,
                                                     origin_y=lat_min,
                                                     block_size_x=lon_res,
                                                     block_size_y=lat_res)

#dummy polygon for grid creation
geometry_list = meshkernel.GeometryList(np.empty(0, dtype=np.double), np.empty(0, dtype=np.double))

#GENERATION BASEGRID
mk2 = meshkernel.MeshKernel(is_geographic=True)
mk2.curvilinear_make_uniform(make_grid_parameters, geometry_list)
mk2.curvilinear_convert_to_mesh2d() #convert to ugrid/mesh2d

Version info (please complete the following information):

OS: Windows
Version 2.0.2

i fixed the bug here
https://github.com/Deltares/MeshKernel/pull/142

authors: lucacarniato veenstrajelmer

repo: Deltares/MeshKernelPy


text:
Update to python 3.12, pandas 2.1.2

Fixes #654
Fixes #645
I ran pixi add pandas=2.1.2 python=3.12 pyogrio=0.7.2 using pixi v0.5.0 so as not to update the lockfile format.
The new pyogrio release is needed to be able to use Python 3.12. We only update the Python version in the Pixi lockfile and on CI, this does not change our minimum supported Python version.
The pandas update to 2.1.2 fixes a regression present in 2.1.0 and 2.1.1, no further changes were needed in our code.
@Hofer-Julian I simply removed the pandas < 2.1 restriction in the pyproject.toml, assuming that is fine since with the release of pandas 2.1.2 most people won't get 2.1.0 or 2.1.1 anymore, though I guess we could exclude multiple patch releases.

Locally tests pass for me, but that is using the pixi environment. On CI we don't use pixi yet but pip, leading to ERROR: Failed building wheel for pyarrow.

Locally tests pass for me, but that is using the pixi environment. On CI we don't use pixi yet but pip, leading to ERROR: Failed building wheel for pyarrow.

pyarrow doesn't provide python 3.12 wheels yet.
Seems like we have to wait for that.

Ok support for that is merged upstream, we just need to wait for a pyarrow 14 release on PyPI.
https://pypi.org/project/pyarrow/#history

Ok support for that is merged upstream, we just need to wait for a pyarrow 14 release on PyPI. https://pypi.org/project/pyarrow/#history

I'd be fine with only merging the pixi part and start testing 3.12 for Ribasim Python as soon as the pyarrow wheels for 3.12 are out.

Sounds good, done. I kept pre-commit CI on 3.12 as well since that is also working fine.

authors: Hofer-Julian visr

repo: Deltares/Ribasim


text:
Create separate repository for iMOD Coupler pre-processing

In GitLab by @JoerivanEngelen on Jul 25, 2023, 15:19

In GitLab by @JoerivanEngelen on Oct 20, 2023, 10:219
Done, see https://github.com/Deltares/imod_coupler/tree/main/pre-processing/primod
Still has to be published on PyPI, but a location has been established at least :-)

repo: Deltares/imod-python


text:
Voting result doesn't always show up

This is a Bug Report
:tophat: Description
For bug reports:

What went wrong? : It doesn't show the percentage in favor and against. (and really wanna how that vote turns out.) It looks like the bug occurs when a ballot has a closing date.

:clipboard: Additional Data

Sovereign deployment where you found the issue: https://vote.democracy.earth/
Browser & version: Chrome
Screenshot:

This has been revamped with the always on decision process. Results display in real time, they are never closed and they show the number of voters in the top right corner. I'm closing this for now.

repo: DemocracyEarth/sovereign


text:
Update README.md

推荐哥飞

感谢。

authors: DennisThink babaohuang


text:
Fix links in Sprites.md

Images need file extensions and links need to be fixed like #3

Lower case PNG


text:
🛑 ActivityPub on deuchnord.fr is down

In abea2da, ActivityPub on deuchnord.fr (https://deuchnord.fr/.well-known/webfinger?resource=acct:blog@deuchnord.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ActivityPub on deuchnord.fr is back up in 6977f92 after 58 minutes.

repo: Deuchnord/uptime


text:
fix(Table): #1083 修复table中loadingMask无法全覆盖table的问题

修复方法：
为table组件内容新增一层父级devui-table-container，与loading同级，在devui-table-container中进行scroll操作，这样loading在外层不会随着滚动而滚动。
顺带修复一个z-index问题：
loadingMask没有设置z-index，导致在组件中存在无法覆盖全的问题，如固定列时，固定的列设置了 z-index: 5，会浮在loadingMask之上：

修复方法：为loadingMask增加最高层级zIndex - $devui-z-index-full-page-overlay
by the way，将项目中部分不规范的 z-index: 9999 修改，增加内容层最高层级zIndex - $devui-z-index-function-widget 使其不至于超过临时层导致其他问题

@xzxldl55 该问题属于1.0版本问题，可否合入v1.0.0分支呢？

@xzxldl55 该问题属于1.0版本问题，可否合入v1.0.0分支呢？

好滴，我得重新pull下 🤣

repo: DevCloudFE/vue-devui


text:
Criar design responsivo para menu lateral.

Criar um design responsivo para o menu lateral em telas menores.

Algo semelhante a isso:

Já refiz o design, agr ficou show!

Nice, ficou daora demais ^^

authors: CaioMassola DevDaniloFerrari

repo: DevDaniloFerrari/Quizer


text:
Upgrade projects

netcoreapp3.1 → net6 (except for EFCore 1 & 2 test projects)
Xunit
Sample project deps

Codecov Report
Base: 97.29% // Head: 97.29% // No change to project coverage :thumbsup:

Coverage data is based on head (75f47fc) compared to base (d334859).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #508   +/-   ##
=======================================
  Coverage   97.29%   97.29%
=======================================
  Files          55       55
  Lines        2219     2219
=======================================
  Hits         2159     2159
  Misses         60       60

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

authors: AlekseyMartynov codecov-commenter


text:
Launching angular 4 application using TestCafe raises an exception, 'Error: Uncaught (in promise): TypeError: e.toString is not a function'.

Are you requesting a feature or reporting a bug?
seems to be an issue.
What is the current behavior?
client/application isn't launching, if opened through the TestCafe (recorder).
blank screen would be displayed with exceptions i.e. Unhandled Promise rejection: e.toString is not a function ; Zone:  ; Task: Promise.then ; Value: TypeError: e.toString is not a function.
browser console + screen shot attached.
ss01-nbk-035-1498214131834.txt

/cc @miherlosev

Hi NaukhaizAhmad,
I tried to open the Angular 4 sample app - 'Tour of Heroes' (https://angular.io/tutorial) with the recorder, and it all works fine for me.
Please see this video - https://www.screencast.com/t/HqakqCOnpr.
TestCafe version - 15.1.3
Angular version - 4.2.4.
Could you specify versions of TestCafe and Angular you are using?
In addition, provide a simple example to illustrate the issue or share your app with me.

Hi @miherlosev,
Thanks for your prompt response.
Required information:
TestCafe version - 15.1.3
Angular version - 4.1.2
Additional informtaion
I have attached a file containing "dependencies" and "devDependencies" , also attached yarn.lock file.
please find the attached files.
I hope you might be able to debug/investigate/reproduce this issue now.
Please let me know in case you need further information. Your prompt response would be highly appreciated.
TestCafeIssue.zip

Unfortunately, I cannot reproduce the issue using your attachments.
I need a simple example that I could run on my side.

Thanks for your response.
Attached is the link for sample application as per your requirement, please find the link below.
I hope you might be able to reproduce this issue now.
Please let me know in case you need further information. Your prompt response would be highly appreciated.
https://drive.google.com/file/d/0B4BaQZP8yhWNcER1OTB0bDhGTlE/view?usp=sharing

Hi @NaukhaizAhmad,

From what I gather, you are using a paid TestCafe version while this github resource is intended for an open source version. We provide support for paid versions here: https://www.devexpress.com/Support/Center/Search/List/1
So, I have created a new CS report where we provided a hot fix for this issue:
https://www.devexpress.com/Support/Center/Question/Details/T535831/launching-angular-4-application-using-testcafe-raises-the-error-uncaught-in-promise
Please also take a look at the following thread that describes the difference between paid and open-source versions:

https://testcafe-discuss.devexpress.com/t/what-is-the-difference-between-the-open-source-version-and-the-paid-version-of-the-testcafe/253/4

authors: AlexanderMoskovkin MarinaRukavitsyna NaukhaizAhmad miherlosev

repo: DevExpress/testcafe


text:
open a new tab replace currently tab

Are you requesting a feature or reporting a bug?
I think this is a bug
What is the current behavior?
open a new tab replace currently tab
What is the expected behavior?
there are  two tab not one
How would you reproduce the current behavior (if this is a bug)?
Provide the test code and the tested page URL (if applicable)
My tested Code
const newWindow = window.open('/salesorders/redirect');
...
const res = await api.post('/agent/salesorders/precreate', saveData);

My request will be canceled, when window.open executed.
Because a new tab replace current tab.
Specify your

operating system: Mac OS
testcafe version: 0.19.1
node.js version: 8.4.0

Hi @Priccc,
For now TestCafe doesn't support testing in multiple browser windows. That's why it opens a new page in the same tab.
Here's an issue for this functionality: #912

@AlexanderMoskovkin
Thanks for your answer. Now I use a special way to achieve my test. But I hope you can realize as soon as possible.

@Priccc
I have been looking for something similar but also to interact with the second tab, would you be able to share your workaround, please ?
Thanks

Any new on new tab functionality? Will TestCafe ever support it?

@AlexanderMoskovkin
Thanks for your answer. Now I use a special way to achieve my test. But I hope you can realize as soon as possible.

Hey man, can you share what you did to solve this problem?

authors: AlexanderMoskovkin Priccc amirse80 educamais theTainted


text:
Report is not logged to the output xml/json file when the browser disconnects or hangs.

Whenever the below error occurs, the result of the pervious tests are not written to the output file. The file was created inthe specified path but it was empty.
ERROR The IE 11.0.0 / Windows 7.0.0 browser disconnected. This problem may appear when a browser hangs or is closed, or due to network issues.
Type "testcafe -h" for help.
Testcafe cli command used:
testcafe ie ./root/testcafe/*.js --proxy proxy.company.com:8080 -e -u environment=QA browser=IE  -r xunit:res.xml,json:res.json,spec --selector-timeout 30000 --assertion-timeout 30000

Testcafe Version:
testcafe -v
1.0.1

While trying to read output xml file below error occurs:
Test report file C:\Jenkins\workspace\BPS_QA_IE\res.xml was length 0

-->
What is your Test Scenario?
Testing a group of testcafe script file through cli command.
What is the Current behavior?
When the browser disconnets, logs are not written to the report file.
What is the Expected behavior?
Even when the browser disconnets, logs should output to the report file.

Jenkisn console output:
####################################### Starting Test Case #####################################################
57:Validate user can select Service down emergency forwarding number to any other number from personal contacts
################################################################################################################
[18-02-2019-11:43:57 PM]  Starting function ==> deleteContact
[18-02-2019-11:44:06 PM]  Contact does not exists :Auto-EmergencyForwarding Replace
[18-02-2019-11:44:06 PM]  Starting function ==> addContactWithMobileNumber
[18-02-2019-11:45:58 PM]  Starting function ==> deleteContact
[18-02-2019-11:46:25 PM]  Contact deleted successfully :Auto-EmergencyForwarding Replace
[18-02-2019-11:46:25 PM]  Success: User can select Service down emergency forwarding number to any other number  from personal contacts
****************************************** End *****************************************************************
[18-02-2019-11:46:25 PM]  Starting function ==> removeNumberFromEmergencyForwarding
ERROR The IE 11.0.0 / Windows 7.0.0 browser disconnected. This problem may appear when a browser hangs or is closed, or due to network issues.
Type "testcafe -h" for help.

Screenshots:

Steps to Reproduce:

Go to my website ...
Execute this command...
See the error...

Your Environment details:

testcafe version:                   1.0.1
node.js version:                   v10.15.0
command-line arguments:  testcafe ie ./root/testcafe/*.js --proxy proxy.company.com:8080 -e -u environment=QA browser=IE  -r xunit:res.xml,json:res.json,spec --selector-timeout 30000 --assertion-timeout 3000
browser name and version: Chrome, IE, firefox
platform and version:          Linux Cent os

Hi @Muthuvenaktesh
Initially, we don't think about the described case, so we will interpret this issue as an enhancement of our reporting system.

Thanks @miherlosev , Please let me know when the enhancement is available.

Is there an update? I have a similar problem. The ".. browser disconnected." message sometime appears without context across different tests and fixtures. That is one problem but the following problem is more frustrating for me. The .xml is created but with no content. This results in an interpreter error from the testcafe reporter jenkins plugin which again lets the complete pipeline fail.

Fixed in #7518
The fix is available in v2.4.0 and higher.

authors: Artem-Babich Muthuvenaktesh miherlosev pschmolke