text:
On newline, selected formats on toolbar appear to be reset (on typing a new character the selected formats reappear)

I'm not sure if it is just my implementation, but what I'm observing is this:

I select one or more font formats (e.g. bold, color) - selected format icons are highlighted.
I type in the editor and formats appear on the typed characters correctly, and the selected format icons continue to be correctly highlighted.
I hit enter and create a new line in the editor. The selected format icons now appear to be UNSELECTED.
I type a new character and the previously selected format icons appear to be selected again, and the typed character has the correct format.

Does anyone else experience this? Is there a fix to this?
Thank you for your help.

Also experiencing this issue :(

authors: bumpingChris chriswickham

repo: imnapo/react-native-cn-quill


text:
v2.16

Upgrade to iModel.js v2.16.0

Should resolve #64

source: gharchive/pull-request

repo: imodeljs/desktop-starter

license: MIT

license_type: permissive

license_source: github-api


text:
[IPCT1-137] - create notifications infrastructure

This PR fixes [IPCT1-137] at https://impactmarket.atlassian.net/browse/IPCT1-137
Changes
New
Created a notification model.
Created 3 news endpoints.

list all notifications from a user
count the unread notifications
mark all notifications as read

Tests
news tests added on user.test.ts

I think you just forgot to replace the user address with the user id.
I was thinking how would that work (because we don't use it anywhere) and realize it's necessary to return the user id when /auth and /welcome.
Everything else looks good.

authors: dev-jotape obernardovieira

repo: impactMarket/api


text:
No guide to setup fingertip on chrome

How do I configure chrome to work with fingertip? I can only find a guide on how to do that for Firefox. Chrome doesn't seem to have a proxy setting

Unlike Firefox, Chrome always uses the OS' proxy settings which depends on the OS.
If on Windows, there's an Auto Configure option (right click on the fingertip icon in the taskbar -> auto configure) which will set everything up automatically.
Otherwise, the setup page ("help" from taskbar) shows instructions on what proxy to set manually.

Okay cool thanks for explaining!

source: gharchive/issue

authors: ChristianOConnor rithvikvibhu

repo: imperviousinc/fingertip


text:
unsupported part in timeBucket expression error when Order By included

I've run into an issue when where arbitrary duration in timeBucket will not work when ORDER BY is included.
SELECT sum(value), pop, description FROM datasource WHERE description CONTAINS 'stuff' AND pop REGEXP '(abc01)' AND '2016-01-29T18:00:00.000Z' <= __time AND __time < '2016-01-29T19:00:00.000Z' GROUP BY TIME_BUCKET(__time, PT10M, 'Etc/UTC'), pop, description returns results along with any other arbitrary ISO8601 duration (PT3M, PT10H, etc.)
SELECT sum(value), pop, description FROM datasource WHERE description CONTAINS 'stuff' AND pop REGEXP '(abc01)' AND '2016-01-29T18:00:00.000Z' <= __time AND __time < '2016-01-29T19:00:00.000Z' GROUP BY TIME_BUCKET(__time, PT10M, 'Etc/UTC'), pop, description ORDER BY pop DESC does not work and returns There was an error getting the data: unsupported part in timeBucket expression PT10M
Durations listed here https://github.com/implydata/plywood/blob/79ac318e96611d760d284e9e0ef3e58a930dfa6e/src/external/druidExternal.ts#L40 work though.
Is there a reason durations are checked with ORDER BY and not other queries? I'd prefer to be able to use ORDER BY and send arbitrary durations.
Thanks!

Investigating...

So that you have found is exactly as it is right now.
There are two ways to do bucketing by time in Druid:

Using the granularity spec: faster, can handle any period
Using the timeFormat dimension extractionFn: slower, very limited to the allowed periods (i.e. the code you linked)

Right now if you run a GroupBy query that includes grouping on time the sorting is all messed up, this is a bug in Druid.
See:  https://github.com/implydata/plywood/blob/79ac318e96611d760d284e9e0ef3e58a930dfa6e/src/external/druidExternal.ts#L1117
I made this issue https://github.com/druid-io/druid/issues/1926 (that I would appreciate a +1 on)
It is being fixed in this, open PR: https://github.com/druid-io/druid/pull/2032
Now that I think of it, I could handle your query (considering it does not have a LIMIT) in Plywood by using the granularity and sorting the results on the Plywood end. I was hoping not to bother with this, and wait for it to be fixed in Druid.

Thanks for investigating. Whatever approach you think is best. It is not critical to include ORDER BY with arbitrary timestamps but it would be nice to have.

This is fixed in the latest version of PlyQL 0.7.14

authors: smountain vogievetsky

repo: implydata/plyql

license_source: bigquery


text:
Changes to support riddlc 0.21.0

This involves removing ^ from path identifiers no longer supported in the RIDDL language.
See the 0.21.0 release notes for more details:

https://github.com/reactific/riddl/releases

@reid-spencer Everything is validating now except for epics.riddl which I'm not sure how to fix. It's only 2 broken lines so hoping you can tackle them

repo: improving-app/riddl


text:
Added Menu Links as Nav Bar

Duplicate of #8

@chttrjeankr Thanks. Looks good to me.

@imskr

The changed dark font colour is a bit unreadable on the dark background. Don't you agree?

@chttrjeankr I did it on purpose, as I am focusing on header now. One step at a time. Ignore the body for now.

authors: chttrjeankr imskr

repo: imskr/gatsby-starter-plasma


text:
[ADD] Graph Algorithms: Kruskal's Algorithm

I want to work on this issue, please assign it to me

@Vaibhavv1703 Go ahead


text:
2.1.1 highlight.min.js:105 Could not find the language 'vue'

highlight.min.js:105 Could not find the language 'vue', did you forget to load/include a language module?
会报这个错了，highlight没有支持vue语法，然后指定就报错了，上个版本是没问题的
<router-link tag="a" target="_blank" to="/test">第一种新窗口打开页面</router-link>

这个提示会影响其他的内容吗？

这个提示目前发现不会影响其他功能

问章片段这样的，上边的```被识别成代码了
import { useRouter } from 'vue-router' //引入useRouter
const router = useRouter();
 // 注册点击事件
 <button @click="openPage">这是第二种window.href</button>
 const href = router.resolve({ //使用resolve
      name:'test',    //这里是跳转页面的name
      path: '/test',
   })
  // 点击事件
 const openPage = ()=>{
     window.open(href.href, '_blank')
  }

e ```

问章片段这样的，上边的```被识别成代码了
`vue
第一种新窗口打开页面
`

这边找了一下highlight相关的接口，做了相对的优化，类似vue\react之类它没有很好识别，最好替换为jsx

如果 这块不是开发自己编辑的话，那也没办法控制别人吧vue换成jsx，是不是要highlight有语言识别的话再指定，没有的话highlight自己去判断，或者有更好的解决方案

它识别出不认识的语言一定会输出这个错误，没有提供关闭的接口。下个版本只能说相对的优化了一下，像这类识别不了的改用自动高亮。

现在可是尝试一下2.1.2-beta.2的版本。正式版要在这边做完测试才发布

2.1.2已更新

authors: daidaibg imzbf


text:
Update to 116.10.8 breaks adding and removing colors

After updating to Figma 116.10.8 today, I found that I could no longer add colors nor remove them in the "Colors" tab.  This happens with existing palettes and newly generated ones.  It appears that all other functionality works as expected, though.
These exceptions are thrown:
caught TypeError: Cannot read properties of undefined (reading 'filter')
    at colorHandler (<anonymous>:2:438082)
    at Object.Re (<anonymous>:2:180392)
    at He (<anonymous>:2:180546)
    at <anonymous>:2:200406
    at Fr (<anonymous>:2:200500)
    at Dr (<anonymous>:2:200914)
    at <anonymous>:2:206342
    at cc (<anonymous>:2:269638)
    at Me (<anonymous>:2:179525)
    at Wr (<anonymous>:2:202206)

194:2 Uncaught TypeError: Cannot read properties of undefined (reading 'filter')
    at Object.colorHandler [as onColorChange] (<anonymous>:2:438082)
    at W.inputHandler (<anonymous>:2:427881)
    at Object.Re (<anonymous>:2:180392)
    at He (<anonymous>:2:180546)
    at <anonymous>:2:200406
    at Fr (<anonymous>:2:200500)
    at Dr (<anonymous>:2:200914)
    at <anonymous>:2:206342
    at cc (<anonymous>:2:269638)
    at Me (<anonymous>:2:179525)

Side note: thank you for the great plugin!

This did occur on the desktop app, for what it's worth. I'll give it a test and report back. Is there anything I can do to ensure I have got the updated plug-in?

Do not hesitate to relaunch the plugin, check if the version is 22 (via the About section) and report the possible exceptions on this thread. If the problem occurs again, could you share your palette with me?

authors: inVoltag paulcoyle

repo: inVoltag/figma-ui-color-palette


text:
Investigate disk usage

Our app takes up a lot of space, arguably too much space. v0.24.0+73 is 163 MB. @tiwane reported this disk usage screenshot from v0.22.0+71:

So this is mostly an informational issue, with some optional changes to the app:

[x] Why is the app binary so big? How much is coming from the vision model, and what is eating so much disk aside from the vision model?
[x] What is taking up 900MB  of "Documents & Data"? Audit what we're writing to disk and report on what takes up the most space

Optional
Report this information in the app, starting with the Developer / Debug view. Maybe add a Disk Usage section and report the size of the of the model files, the directories in Documents & Caches and their disk usage. I think this might be useful user-facing info eventually, but for now it would help a lot if we could see it.

Reporting this in the Debug menu, and also made an issue to address space concerns

authors: albullington kueda

repo: inaturalist/iNaturalistReactNative


text:
Javascript error on obs/new in displaying boundary on map

For projects with places, obs/new is giving a JS console error which is not displaying the place boundaries on the map and is screwing up subsequent JS like the photo/sounds picker
http://www.inaturalist.org/observations/new?project_id=4

http://www.inaturalist.org/observations/new?project_id=558

No problem for projects without places
http://www.inaturalist.org/observations/new?project_id=13

Yep this was a bug introduced with the map overlay toggle work - my bad. This pull request should fix it

cool thanks

authors: loarie pleary

repo: inaturalist/inaturalist


text:
Added correct gulp task

There is no build task anymore, so I changed it to the compile task

Looking good! If travis succeeds the merge can be accepted.

authors: dleeuwen rburgt

repo: incentro/generator-frontend-incubator

license: mit


text:
Group name not filled in automatically

When using nidmfsl without the -g option, the group name is currently not filled in automatically:
itadmins-MacBook-Pro:LEVEL2 maullz$ nidmfsl group_deweight_outliers.gfeat/ 16
Exporting NIDM results from /Users/maullz/Desktop/SOFTWARE_COMPARISON_DATA/RESULTS/ds001/FSL/LEVEL2/group_deweight_outliers.gfeat
Traceback (most recent call last):
  File "/usr/local/bin/nidmfsl", line 51, in <module>
    num_subjects=num_subjects, group_names=args.group_names)
  File "/usr/local/lib/python2.7/site-packages/nidmfsl/fsl_exporter/fsl_exporter.py", line 80, in __init__
    self.groups = zip(self.num_subjects, group_names)
TypeError: zip argument #2 must support iteration

Fixed in https://github.com/incf-nidash/nidmresults-fsl/pull/93. The command line won't accept missing group names.

authors: AlexBowring cmaumet

repo: incf-nidash/nidmresults-fsl


text:
Add touch on-screen controller to be able to play demo on mobile

Describe the content you'd like
That would be nice to add one of existing on-screen controllers into the example to be able to play it on mobile.

It's a great idea! Furthermore, it'll be implemented soon, i.e. it will be based on the mobile controls of the FPS shooter.

authors: AGulev aglitchman


text:
Fix the test_package

Run the server to go with the client so that the client has something to connect to and can run successfully.

@Croydon are these test failures spurious?

You can ignore CI errors which are caused by missing pre-builds, which is the case for GCC 9 and Apple-Clang 11 right now.
But Windows still needs fixing

OK, let's see if this fixes the Windows issues.

Two of the Windows builds failed due to a permission error when binding the server port. Any way to fix that?

OK, I've merged the client and server into a single program with a randomly selected port.

authors: Croydon KyleFromKitware

repo: inexorgame/conan-grpc


text:
🛑 infiSCALE™ Home is down

In 66a1870, infiSCALE™ Home (https://www.infiscale.io) was down:

HTTP code: 500
Response time: 416 ms

Resolved: infiSCALE™ Home is back up in 71738e0 after 7 minutes.

repo: infiSCALE/upptime


text:
[Bug]: Can't find service_conf.yaml when deploy RAGFlow.

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Branch name
main
Commit ID
dda1367ab217b451f5365b0afabad04a5c4a7374
Other environment information
No response
Actual behavior
在按照本地部署的流程执行到bash docker/entrypoint.sh的时候会报conf下的service_conf.yaml找不到

然后我看了一下conf目录下是存在一个指向docker/service_conf.yaml的软链接文件的，但是在运行的时候会显示找不到。然后我尝试把docker目录下的service_conf.yaml复制到conf目录下后，就可以正常部署了，不知道这算不算个bug。
Expected behavior
No response
Steps to reproduce
按照README.md的本地部署流程，运行到bash docker/entrypoint.sh时

Additional information
No response

@CoderJzy Please try latest main.

authors: CoderJzy yuzhichang

repo: infiniflow/ragflow


text:
[Question]: How to trace chunks to name of document?

Describe your problem
I know that ragflow not include metadata yet.
But I have a recurring problem and I need a advise to fear it.
I haver several documents with the same information but with corrections
Law 1 of 2013 with max allowed values about a component
revision of 2019 with other values
revision of 2023 with other values
I want the latest values but LLLM doesn't know what chunk is "most modern" and he tell me that:
a información sobre el margen de tolerancia aplicable a un abono con aminoácidos es inconsistente en la base de conocimiento proporcionada. Hay varias entradas con diferentes valores:

Entrada 1: Indica un 15% del valor declarado del contenido en cualquier elemento nutriente principal, con un máximo en valor absoluto de: N total 0,9; N orgánico 0,4; P2O5 0,9; K2O 0,9. También menciona una tolerancia para el total de aminoácidos libres: 10% del valor declarado (máximo 1% en valor absoluto si el valor declarado es 10%, o 10% del valor declarado si es menor a 10%). Para cada aminoácido libre declarado en el aminograma, la tolerancia es del 25% del valor declarado .

Entrada 2: Menciona un 20% del valor declarado del contenido en cualquier elemento nutriente principal, con un máximo en valor absoluto de: N total 1,1; P2O5 1,1; K2O 1,1. Para el total de aminoácidos libres, indica 10% del valor declarado con un máximo del 3% en valor absoluto si el valor declarado es 10%, o 10% del valor declarado si es menor a 10%. Para cada aminoácido libre declarado en el aminograma, la tolerancia es del 25% del valor declarado ##5 ##1.

Entrada 3: Indica un 10% del valor declarado del contenido en cualquier elemento nutriente principal, con un máximo en valor absoluto de: N total 0,9; N orgánico y en otras formas 0,5; P2O5 0,9; K2O 0,9. Si contiene más de un nutriente principal, la tolerancia es del 15% del valor declarado, con máximos de 1,1 para N total, 0,5 para N orgánico, y 1,1 para P2O5 y K2O. Para el total de aminoácidos libres, indica 10% del valor declarado con un máximo del 3% en valor absoluto si el valor declarado es 10%, o 10% del valor declarado si es menor a 10%. Para cada aminoácido libre declarado en el aminograma, la tolerancia es del 25% del valor declarado.

Es crucial determinar qué fuente es la correcta o si se debe aplicar una interpretación considerando las diferentes regulaciones o versiones. Sin más información, no es posible determinar con certeza cuál es el margen de tolerancia aplicable.

is a good answer, each entry is for one law. but he doesn't know what law is the each one. when I ask he tell me that he don't know. How can associate each chunks with their document? maybe with autowords manually?

maybe generate a option of add a tail of each chunk, by document, in the ingest options

A good balanced way is to improve/add timestamps in general. The parser could extract all found "dates" and store them and sort by the newest date to enhance relevancy. I think this can improve the accuracy further and is a way to handle revisions, etc.

I open a pull request to manage this :)


text:
ISPN-15227 SIFS expiration compation writes WARN message for concurre…

…nt write to logFile when
https://issues.redhat.com/browse/ISPN-15227

Integrated into main, thanks @jabolina !

Oh whoops this needs a backport now for 14.0.x as it didn't have the label.

authors: jabolina wburns

repo: infinispan/infinispan


text:
ISPN-5787 Issues with aggregation queries using Date objects

jira: https://issues.jboss.org/browse/ISPN-5787

Still a test failure, probably need to be ignored until fixed on a later PR

The disabled test is caused by a different issue; will be solved in https://issues.jboss.org/browse/ISPN-5791

authors: anistor gustavonalle


text:
ISPN-7076 Cache clear doesn't work when passivation is enabled

Added interceptor to ensure clear is propagated

https://issues.jboss.org/browse/ISPN-7076

@ryanemerson I have a feeling that it is just a flaky test, but I am looking into it

@ryanemerson Yeah I can confirm that it is not related.  That is a different issue, basically  Caffeine sometimes doesn't evict an entry.  The test(s) still need to be tweaked.

@wburns Integrated, thanks!

authors: ryanemerson wburns


text:
ISPN-8293 @Group and Grouper are not included in the javadoc

https://issues.jboss.org/browse/ISPN-8293

Merged

authors: danberindei tristantarrant


text:
ISPN-12945 Include copy of bsd-2-clause.txt license in server zip

https://issues.redhat.com/browse/ISPN-12945

Merged, thanks

authors: pruivo tristantarrant


text:
ISPN-13169 ScriptingDataStoresTest random failures

https://issues.redhat.com/browse/ISPN-13169

Increase the timeout
Pre-start the cache
Log the start of cache startup at debug level

@pruivo I changed all the logs in DefaultCacheManager and CacheImpl to use the same strategy: getAddress() if present, then nodeName() if present, then cacheManagerName.

Thanks @danberindei

authors: danberindei ryanemerson


text:
🛑 Client Portal is down

In 7474fc0, Client Portal (https://accounts.infinite8.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Client Portal is back up in 14fedf5.


text:
🛑 Client Portal is down

In 52c2560, Client Portal (https://accounts.infinite8.co) was down:

HTTP code: 404
Response time: 290 ms

Resolved: Client Portal is back up in 12ecd0f.


text:
Generating ListView does not pick up name

When generating listview  the cli does not pick up the name and defaults to View
C:\Users\BrentF\Documents\Projects\Mercer\Test>ignite generate listview test
? What coding style do you want for your list? Listview (classic)
? What kind of List would you like to generate? Row
? How will your data be presented on this list? Sectioned
? overwrite App/Containers/View.js false
? overwrite App/Containers/Styles/ViewStyle.js false

I believe this is because this generator is deprecated and you should use list.  All others seem to work, closing.

repo: infinitered/ignite


text:
Proposal: Protect influxdb from excessive queries

The problems noted regarding excessive queries are all too real particularly with tools like grafana allowing users to create in service new queries.
Blog post
http://tech.trivago.com/2016/02/23/protector/
And github
https://github.com/trivago/Protector
Very grateful they have provided a middleman tool to police this but it probably has limitations as an external tool.
These inspired me to request that the new query engine looks to provide built in support for some of the protection mechanisms mentioned.
Perhaps have a 'protect' keyword for queries that applies additional safeguards. Could also be applied to certain types of user by default?
Query monitoring:
if a query takes longer than some threshold time, record the query in a slow query log.
Query protection (optionally enabled)
a) Another threshold to abandon a query after that timeout.
b) If a request is going to result in a large number of datapoints [configurable limit], if a 'protected' variant of the query cancel it.
The middleman approach would always be difficult to get right. Eg suddenly queries will be much faster in 0.11 we hope so rules that estimate rather than measure query times would be more fragile.

+1. In reality users will do stupid queries and the system needs to protect them. While the new query engine prevents them OOMíng, you could potentially kick off a query that reads in every piece of data and slows everything down. Manually killing those queries isnt really viable.

#6024 will be covering query limits to protect the server from certain types of queries. I'm going to close this as a duplicate since we're tracking this progress in the other issue.
Please reopen if I've misunderstood something and closed this in error. Thanks!

authors: daviesalex jsternberg mintyc

repo: influxdata/influxdb


text:
chore: update flux to latest algow

Thanks @rockstar


text:
Make it clear what the trailing parallel factor is

The output of this fine tool seemed a little off. :-) I had to look at the source to learn what the number represented.

Converting some old data, are we? ;)

LGTM :+1:

+1.  We miss you @otoolep!

Missing \n added.

authors: corylanou e-dard otoolep toddboom


text:
Ensure gzip writer is closed in influx_inspect export

Required for all non-trivial PRs

[x] Rebased/mergable
[ ] Tests pass
[x] CHANGELOG.md updated
[x] Sign CLA (if not already signed)

Previously, the gzip writer may have had unflushed data when the
underlying writer was closed, and the output stream would have been
truncated early.

👍

👍

authors: corylanou jsternberg mark-rushakoff


text:
Use correct variable style in influxdb.service

From the systemd.service docs:
Use "${FOO}" as part of a word, or as a word of its own, on the command
line, in which case it will be replaced by the value of the environment
variable including all whitespace it contains, resulting in a single
argument. Use "$FOO" as a separate word on the command line, in which
case it will be replaced by the value of the environment variable split
at whitespace, resulting in zero or more arguments.

[x] Rebased/mergable
[ ] Tests pass
[x] CHANGELOG.md updated

Added a Needs Backporting label in case there is a 1.3.7 release.

Backported in #8910, removing that label.


text:
The details section of the AlertNode returns all double quotes as UTF-8 code

I tried to create a simple alert for high cpu, and for some reason all the alert section of the AlertNode is encoded in UTF-8. Is it on purpose?
Here is my output from the log:
{"id":"cpuStats:nil","message":"My Test Message","details":"{\u0026#34;Name\u0026#34;:\u0026#34;cpuStats\u0026#34;,\u0026#34;TaskName\u0026#34;:\u0026#34;high_cpu\u0026#34;,\u0026#34;Group\u0026#34;:\u0026#34;nil\u0026#34;,\u0026#34;Tags\u0026#34;:{\u0026#34;host\u0026#34;:\u0026#34;callhandler-vos\u0026#34;},\u0026#34;ID\u0026#34;:\u0026#34;cpuStats:nil\u0026#34;,\u0026#34;Fields\u0026#34;:{\u0026#34;idle\u0026#34;:99.09,\u0026#34;interval\u0026#34;:60,\u0026#34;iowait\u0026#34;:0.09,\u0026#34;nice\u0026#34;:0.13,\u0026#34;processorid\u0026#34;:\u0026#34;-1\u0026#34;,\u0026#34;steal\u0026#34;:0,\u0026#34;system\u0026#34;:0.2,\u0026#34;user\u0026#34;:0.49},\u0026#34;Level\u0026#34;:\u0026#34;INFO\u0026#34;,\u0026#34;Time\u0026#34;:\u0026#34;2016-09-14T09:21:01Z\u0026#34;,\u0026#34;Message\u0026#34;:\u0026#34;Tomer Test\u0026#34;}\n","time":"2016-09-14T09:21:01Z","duration":60000000000,"level":"INFO","data":{"series":[{"name":"cpuStats","tags":{"host":"callhandler-vos"},"columns":["time","idle","interval","iowait","nice","processorid","steal","system","user"],"values":[["2016-09-14T09:21:01Z",99.09,60,0.09,0.13,"-1",0,0.2,0.49]]}]}}

@TomerAmirV This is on purpose. From the documentation here:

This template is rendered using the html/template package in Go so that safe and valid HTML can be generated.

You can also override what is included in the details using the .details() property method, or make it blank with .details('').

authors: TomerAmirV rossmcdonald

repo: influxdata/kapacitor


text:
Convert OpenTSDB to service

Overview
This pull request converts the OpenTSDB server into a service and adds some tests.

+1 on green build.

I also reviewed this code, particularly to see if it had implications for https://github.com/influxdb/influxdb/issues/2799. The WaitGroup  handling here seems OK, so +1 from me.

Obviously +1 on a green build, as per @corylanou

I don't where the PointsWriter is supplied to this service, by the production code.

@otoolep Ah, damn, good catch. Fixed in b688ecc.

OK, let's get it in. Thanks for the final changes.

authors: benbjohnson corylanou otoolep

repo: influxdb/influxdb


text:
Graphite TCP should not block system shutdown

With this change Graphite TCP connections are tracked on a per-service
basis. This allows a closing Graphite service to first shutdown any
active connections, thereby unblocking the rest of shutdowm.
This work exposed small shortcomings with the existing Diagnostics
system and that code has alse been tweaked.
Fixes issue #4017

Diagnostics now on a per-Service basis:
name: graphite:tcp::2004
------------------------
local           remote          connect time
127.0.0.1:2004  127.0.0.1:39541 2015-09-24T20:45:09.677914798Z

name: graphite:tcp::2003
------------------------
local           remote          connect time
127.0.0.1:2003  127.0.0.1:44387 2015-09-24T20:45:10.386430546Z

@dgnorton

+1

authors: dgnorton otoolep


text:
Completes lint for meta folder

[ ] CHANGELOG.md updated
[ ] Rebased/mergable
[ ] Tests pass
[ ] Sign CLA (if not already signed)

Should the meta/internal/meta.pb.go be part of the repo and not generated as part of the build process?
Part of #4098

+1

@pablolmiranda -- CLA must be signed before this can be merged.
+1 from me once that is done.

@otoolep CLA signed.

Thanks @pablolmiranda

authors: corylanou otoolep pablolmiranda


text:
🛑 upload files is down

In 343549e, upload files (https://up.devf5r.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: upload files is back up in 965710a.


text:
Add support for pagination

At support for pagination so large record sets can be worked with.  We have many zones with well over a 1000 records let a lone more than 1000 zones.

Any progress on this? External-DNS for Kubernetes doesn't work very well when zones are too big.

I don't think infoblox pays any attention to this repo.  6 months ago was their last code commit.
However external-dns does have a flag to pull in more than 1000 records to "help" with this issue.  --infoblox-max-results=10000  I see no issues with zones with less than 2000 records and my external-dns setup.  We have a zone with over 30,000 host records and external-dns fell over trying to deal with that response so there are limitations.

We are also running into issues using the infoblox client in a zone that has >1000 records.

I'm attempting to add paging to the external-dns project until I can get it added here. The issue is I can't use generics until golang 1.18 #182

authors: NickLarsenNZ gregsidelinger skalpin

repo: infobloxopen/infoblox-go-client


text:
Migrate build system to the main apalache repo?

We have discussed moving the build system (but not the specs) to the main apalache repo.
Benefits:

Possibility of integrating CI easier
All code in one place
Would make it slightly easier to build from source
Essentially moves us towards a monorepo development practice

Draw backs:

Introduces tech debt (if we don't do a re-write first)
Could encourage tighter coupling between systems that don't really need to be tightly coupled
Takes some labor

Requirements

Would need to rework the build system to pull in the the specs from a remote repo.

Suggested here: https://github.com/informalsystems/apalache-tests/pull/15#pullrequestreview-581837178

repo: informalsystems/apalache-tests


text:
Update slf4j-api to 2.0.9

About this PR
📦 Updates org.slf4j:slf4j-api from 2.0.7 to 2.0.9
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.slf4j", artifactId = "slf4j-api" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.slf4j", artifactId = "slf4j-api" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Codecov Report

Merging #2727 (9be7dad) into main (72e0965) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2727      +/-   ##
==========================================
- Coverage   78.55%   78.52%   -0.03%
==========================================
  Files         463      463
  Lines       15904    15904
  Branches     2563     2590      +27
==========================================
- Hits        12493    12489       -4
- Misses       3411     3415       +4

see 2 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

authors: codecov-commenter scala-steward

repo: informalsystems/apalache


text:
Cannot connect to MAMP mysql

MAMP runs mysql on port 8889 and on a non standard socket. /Applications/MAMP/tmp/mysql/mysql.sock instead of  /tmp/mysql.sock
How to specify theses values to db?
I can connect to it using the mysql cli utility by creating a symlink on the socket and specifying the port

Hi, thanks for your report. I added some documentation to the readme on how to do this. Please see here https://github.com/infostreams/db#additional-configuration--different-port-or-socket, and reopen if that doesn't solve your issue.

@infostreams where can I find an example config file. .db/*/config/credentials.cnf ?  db init will fail to create a config file without the custom port and socket values. So I am left to guess the other default configs. I have manually created a config but it seems that db and database are unknown values?
mysqldump: [ERROR] unknown variable 'database=databasename
and without them I get
mysqldump: Got error: 1046: No database selected when selecting the database

I think I was able to get it working but I had to manually create .db/*/config/database and .db/*/dumps

authors: infostreams kevzettler

repo: infostreams/db


text:
🛑 Alpha is down

In d3fa509, Alpha (http://virtual.fum.edu.co:9090/ProgramacionDocente-war/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Alpha is back up in de3d580.

repo: infraestructuraidt/status


text:
Initial changes for QDR basicAuth

Adds transports.qdr.auth = [basic,none]
Upgrades existing qdr auth password to be stronger (20 chars vs. 8)
Enables use of basic auth in QDR object by default
Keeps legacy installations intact if deployed auth=none

test

The build was aborted because the timeout was exceeded.
Syncing with master should get some updates which added time outs to certain tasks.
I'll work on some updates to add an stf-collect-logs role to the repo, so we can gather some logs.

Smoke tests are going to fail on this until I can get authentication added to the connections

This is ready to merge as long as we are sure to update the docs before release.

This is ready to merge as long as we are sure to update the docs before release.

Filed https://issues.redhat.com/browse/STF-1536 to cover this

authors: csibbitt elfiesmelfie leifmadsen

repo: infrawatch/service-telemetry-operator


text:
Cannot find namespace Microsoft

error TS6053: File '/node_modules/bingmaps/types/MicrosoftMaps/Microsoft.Maps.All.d.ts' not found.`
Please update your installation instructions to also include a manual effort of executing 'npm install bingmaps' because angular-maps doesn't come with it out of the box.

@poojaguptez: It is strange though since the package.json lists it as a dependency. So npm install after cloning the repo should install bingmaps without manual intervention. I take it that is not the behavior you are seeing?
Also got to update the dependency to version 2.x. Not terribly important, but should be done...

This has been resolved by moving bing-maps from the peer dependencies to the dependencies.

Hi @thor-schueler,
I'm getting thsame error above, TS2503: Cannot find namespace 'Microsoft'.
ERROR in node_modules/angular-maps/src/models/bing/bing-canvas-overlay.d.ts(28,32): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-canvas-overlay.d.ts(35,15): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-canvas-overlay.d.ts(60,17): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-cluster-layer.d.ts(44,25): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-cluster-layer.d.ts(95,34): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-cluster-layer.d.ts(119,40): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-info-window.d.ts(26,30): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-info-window.d.ts(32,27): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-layer.d.ts(33,25): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-marker.d.ts(12,21): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-marker.d.ts(13,23): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-marker.d.ts(58,27): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-marker.d.ts(58,57): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-marker.d.ts(58,85): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-polygon.d.ts(13,23): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-polygon.d.ts(58,30): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-polygon.d.ts(90,27): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-polygon.d.ts(90,88): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-polyline.d.ts(11,21): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-polyline.d.ts(12,23): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-polyline.d.ts(36,30): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-polyline.d.ts(60,28): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-polyline.d.ts(60,59): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-polyline.d.ts(60,87): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/models/bing/bing-spider-cluster-marker.d.ts(7,12): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/services/bing/bing-map.service.d.ts(48,27): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/services/bing/bing-map.service.d.ts(55,34): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/services/bing/bing-map.service.d.ts(186,59): error TS2503: Cannot find namespace 'Microsoft'.
node_modules/angular-maps/src/services/bing/bing-polyline.service.d.ts(67,32): error TS2503: Cannot find namespace 'Microsoft'.
Here's my angular project version
Angular CLI: 7.1.0
Node: 10.13.0
OS: linux x64
Angular: 7.1.1
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package                           Version
@angular-devkit/architect         0.10.7
@angular-devkit/build-angular     0.10.7
@angular-devkit/build-optimizer   0.10.7
@angular-devkit/build-webpack     0.10.7
@angular-devkit/core              7.0.7
@angular-devkit/schematics        7.1.0
@angular/cli                      7.1.0
@ngtools/webpack                  7.0.7
@schematics/angular               7.1.0
@schematics/update                0.11.0
rxjs                              6.3.3
typescript                        3.1.6
webpack                           4.19.1
I'm just trying to display a basic bing maps component on the localhost and I followed installation instructions on your npm page.

authors: alikahwaji poojaguptez thor-schueler

repo: infusion-code/angular-maps


text:
unexpected runtime output

About

Running file (when on #20) should be showing some sort of coherent menu.

2023-04-09 11:47:52,174
RRORmERROR Invalid input received.
2023-04-09 11:47:52,174
RRORmERROR Invalid input received.

Chores

[x] Fix runtime output (priority 1)
[x] Unit tests for #16 pertaining to this issue so it doesn't happen again.

Issue seems to be solved as of #25


text:
Not able to play Vimeo video in full screen when opening with Themeable Browser plugin

I am opening Vimeo video using cordova-plugin-themeablebrowser in ionic 3 app. But I am not getting an option to play video in full screen.
Can anyone please provide any solution on this?

Same problem here.

authors: Topiya rychter


text:
Couldn't find layerName when I set the 'Scale' property for a image layer

my snippet json code is:
{
            "src": "http://******.jpg",
            "type": "image",
            "layerName": "1.jpg",
},
{
           "type": "data",
            "layerName": "1.jpg",
            "property": "Scale",
            "expression": "cw = thisComp.width; ch = thisComp.height; lw = thisLayer.width; lh = thisLayer.height; r = Math.max(cw/lw*100, ch/lh*100); [r, r];"
}

As above code, I added a 'Scale' property for a image layer, it will throw an error "Couldn't find any layers by provided name..."
It works when I exchange the node position like following:
{
           "type": "data",
            "layerName": "1.jpg",
            "property": "Scale",
            "expression": "cw = thisComp.width; ch = thisComp.height; lw = thisLayer.width; lh = thisLayer.height; r = Math.max(cw/lw*100, ch/lh*100); [r, r];"
},
{
            "src": "http://******.jpg",
            "type": "image",
            "layerName": "1.jpg",
}

It seems that the logic from source code has bug, please confirm.
The relative source code is following:
// core/src/assets/nexrender.jsx
nexrender.selectLayersByName = function(compositionName, name, callback, types) {
    var foundOnce = false;

    if (!compositionName) compositionName = nexrender.defaultCompositionName;
    if (!types) types = nexrender.types;

    nexrender.selectCompositionsByName(compositionName, function(comp) {
        for (var j = 1; j <= comp.numLayers; j++) {
            var layer = comp.layer(j);
            if (layer.name != name) continue;

            if (nexrender.typesMatch(types, layer)) {
                callback(layer, name);
                foundOnce = true;
            }
        }
    })

    if (!foundOnce) {
        throw new Error("nexrender: Cound't find any layers by provided name (" + name + ") inside a composition: " + compositionName);
    }
};

Does setting the source maybe rename the layer? After Effects sometimes takes the layer name from the source. I would try one of the following

make sure that you really gave a name for the layer in AE project
work with layerIndex instead of layerName

Yes, I agree with @brassel, please try the suggested options
And regarding the possible bug, it might be there, however, I feel like I'm not familiar enough with jsx scripting to find out the actual reason.

authors: Mrzy brassel inlife

repo: inlife/nexrender


text:
Can I run multiple nexrender workers on a big machine?

Can I run multiple workers on a big machine? Will it be able to do 2 tasks parallely in nearly same time?

How many workers can I run in a 4 core 16GB Windows machine to get maximum output?

Hello @ujjwalagrawal17,
All of that technically depends on your After Effects settings. If it has multi-thread rendering enabled, it will use multiple cores for a single rendering job. The same applies for memory settings. Set those up to your needs, and from there you will be able to figure out how many simultaneous jobs you can sustain with a given "hardware" configuration.
Cheers!

Thanks @inlife I will try out that.


text:
Rendering fails with -reuse flag on aerender

Hi,
I am using nexrender with the latest version of After Effects aerender version 22.2x120 on Mac M1.
On passing the reuse flag, I get the following error:
aerender version 22.2x120
PROGRESS: Launching After Effects...
aerender SYNTAX ERROR: Illegal argument flag: -reuse

Things tried so far:

Forced reinstall of the patch
Updated AE to latest version

Any help with this is greatly appreciated. Also, would it help to switch to a Windows machine with the latest AE version?

why was this closed?

I'm having the same issue
mac os, after effects 23.1 (the only installed)
with --reuse flag it fails saying something about "illegal flag". (tried --reuse / --reuse=true)
without it - works just fine

aerender SYNTAX ERROR: Illegal argument flag: -reuse
aerender version 23.1x83
PROGRESS: Launching After Effects...

authors: oreporan pochenok sumukhavadhani


text:
Bump inmanta-dev-dependencies[async,core,pytest,sphinx] from 2.1.0 to 2.2.0 (#3760)

Pull request opened by the merge tool on behalf of #3760

Merged in 1f0686d91a9dd9ac82dca0271f0116ab30d75611

repo: inmanta/inmanta-core


text:
Issue/fix dump tool (#7149)

Pull request opened by the merge tool on behalf of #7149

Merged in a17f5045c0cc8832b8f85ae9e95cc9b9d8da3791


text:
Build(deps-dev): Bump @types/node from 17.0.31 to 17.0.32 (#3465)

Pull request opened by the merge tool on behalf of #3465

Merged in 9064e521d055140a78db4a8c528173b9155aac79

repo: inmanta/web-console


text:
🛑 wangpan is down

In e3a79c0, wangpan (https://husky-twisty-lightyear.glitch.me/onedrive) was down:

HTTP code: 504
Response time: 12801 ms

Resolved: wangpan is back up in aadc01d after 12 minutes.

repo: inotiawu/upptimes


text:
'lang_code' option for link_type is not handled for Mlp_Widget

Mlp_Widget advertises lang_code as an option for link text output.
In the function Mlp_Helpers::show_linked_elements the link_text argument is used only to determine display of the flag image.
In order for lang_code to function as an option, it appears it would need to affect how the language item name is gathered, or another key would need to be set. The name is always gathered as native as shown below.
			$items[ $site_id ] = array (
				'url'      => $url,
				'http'     => $translation->get_language()->get_name( 'http' ),
				'name'     => $translation->get_language()->get_name( 'native' ),
				'priority' => $translation->get_language()->get_priority(),
				'icon'     => (string) $translation->get_icon_url()
			);

Mlp_Language::get_name supports the following values
	/**
	 * Get different possible language names
	 *
	 * @param  string $name Possible values:
	 *                      - 'native' (default) ex: Deutsch for German
	 *                      - 'english' English name of the language
	 *                      - 'http' ex: 'de-AT'
	 *                      - 'language_long' alias for 'http'.
	 *                      - 'language_short' first part of 'http', ex: 'de' in 'de-AT'
	 *                      - 'lang' alias for 'language_short'
	 *                      - 'wp_locale' Identifier for translation files used by WordPress
	 *                      - 'custom' Language name set in the site preferences
	 *                      - 'text' alias for 'custom'
	 * @return string
	 */
	public function get_name( $name = '' ) {

Recommendation
While this issue intends to highlight an issue with existing code, I also feel that it should be possible to request any of the valid name formats.
Decoupling flag inclusion and the text format, allowing the user to select each independently, would provide the greatest flexibility.
Workaround
This is not a complete workaround, as it does not provide a functioning widget. The following code could however be used to do so.
Be warned that this code goes beyond current functionality. Use at your own risk.

/**
 * All code in this workaround belongs to the MultilingualPress
 * project and is licensed as per the project.
 *
 * Please see the following URLs.
 * https://github.com/inpsyde/multilingual-press
 * https://github.com/inpsyde/multilingual-press/blob/master/license.txt
 */

namespace Workaround\Mlp;

/**
 * Helper to sort languages.
 *
 * @param array $a
 * @param array $b
 * @return int
 */
function strcasecmp_sort_names( Array $a, Array $b ) {

    return strcasecmp( $a['name'], $b['name'] );
}

/**
 * Helper to sort languages.
 *
 * @param array $a
 * @param array $b
 * @return int
 */
function sort_priorities( Array $a, Array $b ) {

    if ( $a['priority'] === $b['priority'] )
        return 0;

    return ( $a['priority'] < $b['priority'] ) ? 1 : -1;
}

/**
 * Get the linked elements and display them as a list
 * flag from a blogid
 *
 * @param     array $args
 * @return    string output of the bloglist
 */
function show_linked_elements( $args ) {

    $defaults = array (
        'link_text'         => 'native',
        'display_flag'      => FALSE, // flag_only or flag_text
        'sort'              => 'priority',
        'show_current_blog' => FALSE,
        'strict'            => FALSE // get exact translations only
    );

    $params = wp_parse_args( $args, $defaults );

    /** @var Mlp_Language_Api $api */
    $api = apply_filters( 'mlp_language_api', NULL );
    if ( ! is_a( $api, 'Mlp_Language_Api_Interface' ) ) {
        return '';
    }

    $translations = $api->get_translations(
        array (
            'strict'       => $params[ 'strict' ],
            'include_base' => $params[ 'show_current_blog' ]
        )
    );

    if ( empty ( $translations ) )
        return '';

    $current_id       = get_current_blog_id();
    $items            = array ();
    $output           = '

';

    /** @var Mlp_Translation_Interface $translation */
    foreach ( $translations as $site_id => $translation ) {

        $url = $translation->get_remote_url();

        if ( empty ( $url ) )
            continue;

        $items[ $site_id ] = array (
            'url'      => $url,
            'http'     => $translation->get_language()->get_name( 'http' ),
            'name'     => $translation->get_language()->get_name( $params[ 'link_text' ] ),
            'priority' => $translation->get_language()->get_priority(),
            'icon'     => (string) $translation->get_icon_url()
        );
    }

    if ( 'blogid' === $params[ 'sort' ] )
        ksort( $items );
    elseif (  'priority' === $params[ 'sort' ] )
        uasort( $items, __NAMESPACE__ . '\\sort_priorities' );
    elseif (  'name' === $params[ 'sort' ] )
        uasort( $items, __NAMESPACE__ . '\\strcasecmp_sort_names' );

    foreach ( $items as $site_id => $item ) {

        $text = $item[ 'name' ];

        if ( ! empty ( $item[ 'icon'] ) ) {

            $img = '';

            if ( 'flag_text' === $params[ 'display_flag' ] )
                $text = "$img $text";
            elseif ( 'flag_only' === $params[ 'display_flag' ] )
                $text = $img;
        }

        if ( $site_id === $current_id ) {
            $output .= sprintf( '
%s
', $text );
        }
        else {
            $output .= sprintf(
                '
%3$s
',
                $item[ 'http' ],
                $item[ 'url' ],
                $text
            );
        }
    }

    $output .= '

';

    return $output;
}

Usage Example:
use Workaround\Mlp;

echo Mlp\show_linked_elements(array(
    'link_text'         => 'language_long',
    'display_flag'      => 'flag_text',
    'show_current_blog' => true
));

@dboune Thanks for your detailed report. I have implemented your proposed changes.
The new 'display_flag' parameter is now boolean, though. There is an additional 'link_text' option in the widget (and all the functions that it uses) to display 'none' (No text at all). I think that makes more sense when actually using the respective functions in your own code

Closed with 9b9fa6f47c575a314aa5f400b94452640603bbdc.

authors: Biont dboune tfrommen

repo: inpsyde/multilingual-press


text:
Update sbt to 1.9.4 in main

About this PR
📦 Updates org.scala-sbt:sbt from 1.9.3 to 1.9.4
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (1.9.3).
You might want to review and update them manually.
package-lock.json

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-sbt", artifactId = "sbt" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, version-scheme:early-semver, old-version-remains, commit-count:1

Superseded by #122.

repo: input-output-hk/atala-prism-mediator


text:
Add Japanese lang

https://github.com/input-output-hk/cardano-explorer-app/blob/develop/source/features/i18n/translations/ja.json

All the relevant strings: https://docs.google.com/document/d/1zA41GFvHokYv9es_SCsEwF6BLyvij94NmouQlnlbvUw/edit?usp=sharing

authors: DeeJayElly rhyslbw

repo: input-output-hk/cardano-explorer-app


text:
Add cabal-install to shell.nix

I needed to add this line in order to use cabal commands from inside the nix-shell. That's my typical local workflow; I don't know if the owner's of this repo want to support it. If so, this PR might suffice... For Your Consideration :)

@nfrisby I signed this, just so we can close out the PR!

Bah! I thought I did sign it. I probably signed it and then rebased it onto origin/master without remembering to include -S again :(

I strongly doubt this PR is responsible for that CI failure. @nc6 @JaredCorduan advise? Thanks.

I strongly doubt this PR is responsible for that CI failure. @nc6 @JaredCorduan advise? Thanks.

yea, it's not your fault:
builder for '/nix/store/ls3m43xh9w0m8jrzh3hb9qfhhprfbwyl-shelley-spec-ledger-0.1.0.0-test-shelley-spec-ledger-test-check.drv' failed with exit code 1

we can try rolling the dice again :slot_machine: and if that doesn't work ask for help.

authors: JaredCorduan nc6 nfrisby

repo: input-output-hk/cardano-ledger-specs


text:
bug: metric tracing crashes node

The node has a non-trivial probability of crashing during startup:
cardano-node: ExceptionInLinkedThread "ThreadId 42" The name ""cardano.node.blockContext"" is already taken by a metric.
CallStack (from HasCallStack):
  error, called at ./System/Metrics.hs:214:5 in ekg-core-0.1.1.7-FjoslY1tzknIAl90c73kOZ:System.Metrics

..or something similar -- the metric name varies.
Repro:

cardano-node master
make default-autostay, which starts six nodes -- and that should trigger it, at least for one of them.
If not -- retry until success : -)

Running a make default-prof cluster sheds further light:
cardano-node: ExceptionInLinkedThread "ThreadId 35" The name ""cardano.node.blockContext"" is already taken by a metric.
CallStack (from HasCallStack):
  error, called at ./System/Metrics.hs:214:5 in ekg-core-0.1.1.7-FjoslY1tzknIAl90c73kOZ:System.Metrics
CallStack (from -prof):
  System.Metrics.registerGauge (System/Metrics.hs:(172,1)-(173,39))
  System.Metrics.createGauge (System/Metrics.hs:(303,1)-(306,16))
  Cardano.Logging.Tracer.EKG.ekgTracer (src/Cardano/Logging/Tracer/EKG.hs:(26,1)-(94,61))
  Cardano.Node.Tracing.API.initTraceDispatcher (src/Cardano/Node/Tracing/API.hs:(61,1)-(120,28))
  Ouroboros.Consensus.Node.Tracers.forgeTracer (src/Ouroboros/Consensus/Node/Tracers.hs:62:5-15)
  Ouroboros.Consensus.BlockchainTime.API.knownSlotWatcher (src/Ouroboros/Consensus/BlockchainTime/API.hs:(64,1)-(77,40))
  Control.Concurrent.Async.async (Control/Concurrent/Async.hs:264:1-35)
  Ouroboros.Consensus.Util.ResourceRegistry.allocateEither (src/Ouroboros/Consensus/Util/ResourceRegistry.hs:(979,1)-(1011,9))
  Ouroboros.Consensus.Util.ResourceRegistry.allocate (src/Ouroboros/Consensus/Util/ResourceRegistry.hs:(968,1)-(969,72))
  Ouroboros.Consensus.Util.ResourceRegistry.forkThread (src/Ouroboros/Consensus/Util/ResourceRegistry.hs:(1149,1)-(1186,35))
  Ouroboros.Consensus.Util.ResourceRegistry.forkLinkedThread (src/Ouroboros/Consensus/Util/ResourceRegistry.hs:(1261,1)-(1268,12))
  Ouroboros.Consensus.Util.STM.forkLinkedWatcher (src/Ouroboros/Consensus/Util/STM.hs:(163,1)-(164,56))
  Ouroboros.Consensus.NodeKernel.initNodeKernel (src/Ouroboros/Consensus/NodeKernel.hs:(146,1)-(178,7))
  Ouroboros.Consensus.Util.ResourceRegistry.withRegistry (src/Ouroboros/Consensus/Util/ResourceRegistry.hs:649:1-54)
  Ouroboros.Consensus.Node.Recovery.runWithCheckedDB (src/Ouroboros/Consensus/Node/Recovery.hs:(97,1)-(134,39))
  Ouroboros.Consensus.Node.DbLock.withLockDB_ (src/Ouroboros/Consensus/Node/DbLock.hs:(57,1)-(80,53))
  Ouroboros.Consensus.Node.DbLock.withLockDB (src/Ouroboros/Consensus/Node/DbLock.hs:(27,1)-(32,19))
  Ouroboros.Consensus.Node.stdWithCheckedDB (src/Ouroboros/Consensus/Node.hs:(504,1)-(517,35))
  Ouroboros.Consensus.Node.stdLowLevelRunNodeArgsIO (src/Ouroboros/Consensus/Node.hs:(752,1)-(851,60))
  Ouroboros.Consensus.Node.runWith (src/Ouroboros/Consensus/Node.hs:(283,1)-(491,35))
  Ouroboros.Consensus.Node.run (src/Ouroboros/Consensus/Node.hs:267:1-73)
  Cardano.Node.Handlers.Shutdown.withShutdownHandling (src/Cardano/Node/Handlers/Shutdown.hs:(114,1)-(130,65))
  Cardano.Node.Run.runNode (src/Cardano/Node/Run.hs:(110,1)-(152,58))
  Main.runRunCommand (app/cardano-node.hs:99:1-40)
  Cardano.Node.Handlers.TopLevel.toplevelExceptionHandler (src/Cardano/Node/Handlers/TopLevel.hs:(67,1)-(114,42))
  Main.main (app/cardano-node.hs:(27,1)-(59,44))

Fixed in https://github.com/input-output-hk/cardano-node/pull/4108

repo: input-output-hk/cardano-node


text:
[CSL-1858] Improve explorer tests for getBlocksTotal, ...

https://iohk.myjetbrains.com/youtrack/issue/CSL-1858
This change improves and generalizes (invariants in) tests for:

getBlocksTotal
getBlocksPagesTotal
getBlocksPage
getBlocksLastPage

Also, we can now use ExplorerProperty.

@ksaric Unfortunately I can't build ksaric/CSL-1858 branch:
cardano-sl/explorer/bench/Bench/Pos/Explorer/ServerBench.hs:60:64: error:
    • Could not deduce (Test.QuickCheck.Arbitrary.Arbitrary
                          Pos.Block.Types.Undo)
        arising from a use of ‘arbitrary’
      from the context: HasConfigurations
        bound by a type expected by the context:
                   HasConfigurations => Test.QuickCheck.Gen.Gen Blund
        at bench/Bench/Pos/Explorer/ServerBench.hs:60:42-72
    • In the first argument of ‘withDefConfigurations’, namely
        ‘arbitrary’
      In the second argument of ‘($)’, namely
        ‘withDefConfigurations arbitrary’
      In the second argument of ‘($)’, namely
        ‘generate $ withDefConfigurations arbitrary’

@sectore It works for me, there were "just" HLint warnings that were failing the CI.

authors: ksaric sectore

repo: input-output-hk/cardano-sl


text:
Make it possible to shrink and show values of IsOursIf2.

Issue Number
ADP-1538
Summary
When testing arbitrary transaction sequences, we sometimes need to test transactions that may or may not be relevant to a wallet. We use IsOursIf2 to simulate wallet states where only a subset of addresses and reward accounts belong to the wallet. The ability to shrink and show values of IsOurIf2 is extremely useful for producing minimal counterexamples and understanding them.
This PR replaces the use of CoArbitrary with Function and Fun, which make it trivial to generate arbitrary functions that can be shrunk and shown.

bors r+

repo: input-output-hk/cardano-wallet


text:
Fix Alonzo/Babbage deserialisation hack

[x] Revert to preferring to deserialise txs as Babbage txs over Alonzo txs

This makes babbage txs be created in the new tx flow in Babbage.

[x] Make the only way to retrieve Cardano.Tx from SealedTx be via cardanoTxIdeallyNoLaterThan era sealedTx, where the era argument is the latest preferred era.

This ensures we preserve the current behaviour in Babbage
This turns SealedTx in a type where the era of the tx could be ambiguous — no need for a new type.

What also could be done, but leaned towards no:

Refactor internals of SealedTx
Outright reject Babbage-only txs in Alonzo in all endpoints

Issue Number
ADP-1909

bors try

bors try

bors try

bors try

bors r+

This pull request attempts to implement a minimal code increment that (hopefully) allows the wallet to balance Babbage Tx as Babbage Tx, even though the connected network is still in the Alonzo era. This is a form of forward compatibility.

Sorry for not presenting this clearer 🙈 but the key point of this PR is rather:
Before this PR, with preference of alonzo txs over babbage txs:
decode (alonzoTx | babbageTx) = alonzoTx -- always

decode babbageOnlyTx = babbageTx

decode alonzoOnlyTx = alonzoTx

Now:
decode (alonzoTx | babbageTx)
    | currentNodeEra == Babbage = babbageTx
    | currentNodeEra == Alonzo  = alonzoTx

decode babbageOnlyTx = babbageTx

decode alonzoOnlyTx = alonzoTx

With the benefit of:

If balanceTx or signTx were to add functionality specific to era ~ BabbageEra, then we need to ensure era ~ BabbageEra actually is set when we want it to be set.
Just for good measure, to be sure the txs we return are using the latest binary format (the era will affect the serialisation back to binary)

Ah, I see, I misunderstood. 🙈 Thanks for clarifying! To compress the description of the key point even further, one could say that we now satisfy the following user expectation:
"If the node is in a certain era, then all serialized transactions are treated as transactions in this specific era — unless the serialization format is clearly incompatible."

authors: Anviking HeinrichApfelmus


text:
🛠 [TASK] : cat-gateway health endpoint to probe schema version

Summary
Ensure that if the schema version changes during runtime, the service stops serving traffic.
Description
Every time a health endpoint is checked, the DB schema version should be validated, and if it is not the version the service expects, the service needs to suspend until it is correct.

@saibatizoku Please, add info on why this blcoked.

authors: minikin stevenj

repo: input-output-hk/catalyst-voices


text:
Provide extra context for ekg exceptions

If two nodes accidentally are configured to use the same port for their ekg then we get the only semi-informative message:
cardano-node: Network.Socket.bind: resource busy (Address already in use)

Just need to wrap all ekg startup exceptions in an exception type that identifies that it's from ekg, e.g. something like
data EkgFailure = EkgStartupFailure IOException deriving Show
instance Exception EkgFailure

    handle <- forkServer host port
               `catch` throwIO . EkgStartupFailure

Apparently the same thing is likely to be possible with Prometheus, so we might apply the same solution.

I wonder if we want a generic BackendFailure with backend-specific cases, instead of an assortment of backend-specific types?

How about this approach -- just as an illustration -- @CodiePP, @dcoutts: https://github.com/input-output-hk/iohk-monitoring-framework/pull/462/files

I think the case in EKGView should be covered.
https://github.com/input-output-hk/iohk-monitoring-framework/blob/master/plugins/backend-ekg/src/Cardano/BM/Backend/EKGView.lhs#L219
in the function "realizeFrom" we have access to a Trace back to the switchboard to which we could trace an error message and abort the initialisation of the EKG backend.

I think the case in EKGView should be covered.

Absolutely -- I didn't do it because I wanted us to agree on the general shape of the solution, before I go to town about implementing it.

Implemented in https://github.com/input-output-hk/iohk-monitoring-framework/pull/462

authors: CodiePP dcoutts deepfire


text:
Update to new plutus dependency fails on cardano-crypto-class

Summary
I'm trying to update my project to new plutus version.
After I've copied the dependencies cabal.project I can get into nix shell
When I try to build the project with cabal inside the nix shell it fails with error:
cabal: Could not resolve dependencies:
[__0] next goal: cardano-crypto-class (user goal)
[__0] rejecting: cardano-crypto-class-2.0.0 (conflict: pkg-config package
libsodium-any, not found in the pkg-config database)
[__0] fail (backjumping, conflict set: cardano-crypto-class)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: cardano-crypto-class

Steps to reproduce the behavior
Update the project dependency to new version of plutus.
plutus commit: dca9c63a4161ada9eda574c3be3e08670f6e9fd5
Actual Result
When I try to build project with cabal inside the nix shell I get an error:
cabal: Could not resolve dependencies:
[__0] next goal: cardano-crypto-class (user goal)
[__0] rejecting: cardano-crypto-class-2.0.0 (conflict: pkg-config package
libsodium-any, not found in the pkg-config database)
[__0] fail (backjumping, conflict set: cardano-crypto-class)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: cardano-crypto-class

Expected Result
Build the project with dependency to new plutus.
Describe the approach you would take to fix this
No response
System info
Manjaro

I don't know because I don't know what you're doing. "Using nix" is not very specific. All I can tell you is what the cabal error tells you: you don't have libsodium in your shell, and you should.

Any progress? I also got this error!
Background:
Clone demo from

https://github.com/input-output-hk/plutus-starter

Then,  jump to run cabal build plutus-starter-pab without other build operation beforehand.
Here is some of my build log:
bruce@ubuntu20:~/coding/haskell/plutus-starter$ ls
CONTRIBUTING.md  LICENSE  README.md  cabal.project  default.nix  examples  hie.yaml  nix  pab  plutus-starter.cabal  release.nix  scripts  shell.nix  src
bruce@ubuntu20:~/coding/haskell/plutus-starter$

bruce@ubuntu20:~/coding/haskell/plutus-starter$ cabal build plutus-starter-pab
Cloning into '/home/bruce/coding/haskell/plutus-starter/dist-newstyle/src/flat-64b673dc3eef5b9f'...
remote: Enumerating objects: 3721, done.
remote: Counting objects: 100% (547/547), done.
remote: Compressing objects: 100% (362/362), done.
remote: Total 3721 (delta 358), reused 338 (delta 179), pack-reused 3174
Receiving objects: 100% (3721/3721), 1.23 MiB | 233.00 KiB/s, done.
Resolving deltas: 100% (2410/2410), done.
HEAD is now at ee59880 Don't use the unsafe decodeUtf8
Cloning into '/home/bruce/coding/haskell/plutus-starter/dist-newstyle/src/Win32-net_-e9415802910225c6'...
remote: Enumerating objects: 1107, done.
remote: Counting objects: 100% (1107/1107), done.
remote: Compressing objects: 100% (506/506), done.
remote: Total 1107 (delta 498), reused 1031 (delta 435), pack-reused 0
Receiving objects: 100% (1107/1107), 1.02 MiB | 238.00 KiB/s, done.
Resolving deltas: 100% (498/498), done.
HEAD is now at 3825d3a Merge pull request #9 from input-output-hk/coot/createNamedPipe-error
Cloning into '/home/bruce/coding/haskell/plutus-starter/dist-newstyle/src/cardano-a_-69e96f3eceed3ed5'...
remote: Enumerating objects: 18121, done.
remote: Counting objects: 100% (4162/4162), done.
remote: Compressing objects: 100% (1762/1762), done.
remote: Total 18121 (delta 3344), reused 2967 (delta 2374), pack-reused 13959
Receiving objects: 100% (18121/18121), 46.52 MiB | 399.00 KiB/s, done.
Resolving deltas: 100% (13968/13968), done.
HEAD is now at d2f86caa Merge pull request #149 from input-output-hk/rvl/adp-1114/fix-npm-publish
Cloning into '/home/bruce/coding/haskell/plutus-starter/dist-newstyle/src/cardano-b_-c0de99f0ccd585cd'...
remote: Enumerating objects: 5714, done.
remote: Counting objects: 100% (1708/1708), done.
remote: Compressing objects: 100% (787/787), done.
remote: Total 5714 (delta 947), reused 1366 (delta 703), pack-reused 4006
Receiving objects: 100% (5714/5714), 2.23 MiB | 221.00 KiB/s, done.
Resolving deltas: 100% (3212/3212), done.
HEAD is now at 4ea7e2d Merge pull request #241 from input-output-hk/lehins/safer-unsafehash
Cloning into '/home/bruce/coding/haskell/plutus-starter/dist-newstyle/src/cardano-c_-94cfeccbf1aa3cf5'...
remote: Enumerating objects: 1474, done.
remote: Counting objects: 100% (56/56), done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 1474 (delta 15), reused 33 (delta 8), pack-reused 1418
Receiving objects: 100% (1474/1474), 477.32 KiB | 237.00 KiB/s, done.
Resolving deltas: 100% (614/614), done.
HEAD is now at 07397f0 Merge pull request #77 from input-output-hk/upgrade-to-cabal-3.4.0.0
Cloning into '/home/bruce/coding/haskell/plutus-starter/dist-newstyle/src/cardano-l_-acad124fece29d34'...
remote: Enumerating objects: 84331, done.
remote: Counting objects: 100% (6098/6098), done.
remote: Compressing objects: 100% (1931/1931), done.
remote: Total 84331 (delta 3014), reused 5793 (delta 2861), pack-reused 78233
Receiving objects: 100% (84331/84331), 40.53 MiB | 583.00 KiB/s, done.
Resolving deltas: 100% (47958/47958), done.
HEAD is now at bf008ce02 Merge pull request #2526 from input-output-hk/jc/fix-alonzo-txwits-again
Cloning into '/home/bruce/coding/haskell/plutus-starter/dist-newstyle/src/cardano-n_-870b8b2b68d602a2'...
remote: Enumerating objects: 104665, done.
remote: Counting objects: 100% (8595/8595), done.
remote: Compressing objects: 100% (1504/1504), done.
remote: Total 104665 (delta 7013), reused 8250 (delta 6809), pack-reused 96070
Receiving objects: 100% (104665/104665), 238.48 MiB | 457.00 KiB/s, done.
Resolving deltas: 100% (79775/79775), done.
HEAD is now at b6ca519f9 Merge #3311
Cloning into '/home/bruce/coding/haskell/plutus-starter/dist-newstyle/src/cardano-p_-98329c466570048a'...
remote: Enumerating objects: 1661, done.
remote: Counting objects: 100% (70/70), done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 1661 (delta 24), reused 48 (delta 15), pack-reused 1591
Receiving objects: 100% (1661/1661), 406.20 KiB | 127.00 KiB/s, done.
Resolving deltas: 100% (754/754), done.
HEAD is now at fd773f7 Merge pull request #159 from input-output-hk/upgrade-to-cabal-3.4.0.0
Cloning into '/home/bruce/coding/haskell/plutus-starter/dist-newstyle/src/cardano-w_-c9e033b0ec7ad11b'...
remote: Enumerating objects: 160856, done.
remote: Counting objects: 100% (12295/12295), done.
remote: Compressing objects: 100% (3183/3183), done.
remote: Total 160856 (delta 8861), reused 11746 (delta 8536), pack-reused 148561
Receiving objects: 100% (160856/160856), 170.60 MiB | 1.03 MiB/s, done.
Resolving deltas: 100% (100259/100259), done.
HEAD is now at ae7569293 Merge #2908
Cloning into '/home/bruce/coding/haskell/plutus-starter/dist-newstyle/src/goblins-7fe4f5e9bbbd1224'...
remote: Enumerating objects: 442, done.
remote: Counting objects: 100% (19/19), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 442 (delta 6), reused 16 (delta 6), pack-reused 423
Receiving objects: 100% (442/442), 129.36 KiB | 147.00 KiB/s, done.
Resolving deltas: 100% (176/176), done.
HEAD is now at cde90a2 Re-enable support for GHC 8.6.5
Cloning into '/home/bruce/coding/haskell/plutus-starter/dist-newstyle/src/iohk-moni_-c7ca6b005d6f76c5'...
remote: Enumerating objects: 9918, done.
remote: Counting objects: 100% (257/257), done.
remote: Compressing objects: 100% (142/142), done.
remote: Total 9918 (delta 93), reused 163 (delta 48), pack-reused 9661
Receiving objects: 100% (9918/9918), 35.04 MiB | 693.00 KiB/s, done.
Resolving deltas: 100% (5602/5602), done.
HEAD is now at 46f994e Merge pull request #623 from input-output-hk/cda_490_kafka_backend
Cloning into '/home/bruce/coding/haskell/plutus-starter/dist-newstyle/src/optparse-_-5b3aca9bcb30ab3a'...
remote: Enumerating objects: 4399, done.
remote: Counting objects: 100% (408/408), done.
remote: Compressing objects: 100% (230/230), done.
remote: Total 4399 (delta 222), reused 304 (delta 140), pack-reused 3991
Receiving objects: 100% (4399/4399), 1.15 MiB | 334.00 KiB/s, done.
Resolving deltas: 100% (2453/2453), done.
HEAD is now at 7497a29 Rename forked package
Cloning into '/home/bruce/coding/haskell/plutus-starter/dist-newstyle/src/ouroboros_-268d3b2310e5b441'...
remote: Enumerating objects: 203417, done.
remote: Counting objects: 100% (15422/15422), done.
remote: Compressing objects: 100% (3383/3383), done.
remote: Total 203417 (delta 11467), reused 14516 (delta 10774), pack-reused 187995
Receiving objects: 100% (203417/203417), 349.28 MiB | 1.06 MiB/s, done.
Resolving deltas: 100% (149240/149240), done.
HEAD is now at 1f4973f36 Merge #3409
Cloning into '/home/bruce/coding/haskell/plutus-starter/dist-newstyle/src/plutus-3b55de0732f6b166'...
remote: Enumerating objects: 119670, done.
remote: Counting objects: 100% (6432/6432), done.
remote: Compressing objects: 100% (2504/2504), done.
remote: Total 119670 (delta 3907), reused 5891 (delta 3597), pack-reused 113238
Receiving objects: 100% (119670/119670), 124.72 MiB | 1.07 MiB/s, done.
Resolving deltas: 100% (75336/75336), done.
HEAD is now at 3f089ccf0 [Builtin] Nest 'SomeConstantOf' inside 'Opaque' (#4153)
Cloning into '/home/bruce/coding/haskell/plutus-starter/dist-newstyle/src/plutus-ap_-cbcc5c6ab544aad6'...
remote: Enumerating objects: 116052, done.
remote: Counting objects: 100% (3308/3308), done.
remote: Compressing objects: 100% (1491/1491), done.
remote: Total 116052 (delta 1793), reused 2807 (delta 1561), pack-reused 112744
Receiving objects: 100% (116052/116052), 111.95 MiB | 1.19 MiB/s, done.
Resolving deltas: 100% (73619/73619), done.
HEAD is now at f6abf06f8 Merge pull request #62 from input-output-hk/ll/fix-auto-display-of-activated-contracts
Cloning into '/home/bruce/coding/haskell/plutus-starter/dist-newstyle/src/purescrip_-76d561c4df795bb9'...
remote: Enumerating objects: 1628, done.
remote: Counting objects: 100% (403/403), done.
remote: Compressing objects: 100% (193/193), done.
remote: Total 1628 (delta 185), reused 350 (delta 143), pack-reused 1225
Receiving objects: 100% (1628/1628), 319.47 KiB | 233.00 KiB/s, done.
Resolving deltas: 100% (753/753), done.
HEAD is now at 6a92d78 use a newer stackage
Cloning into '/home/bruce/coding/haskell/plutus-starter/dist-newstyle/src/servant-p_-e28973085ebef430'...
remote: Enumerating objects: 1409, done.
remote: Counting objects: 100% (368/368), done.
remote: Compressing objects: 100% (171/171), done.
remote: Total 1409 (delta 169), reused 343 (delta 151), pack-reused 1041
Receiving objects: 100% (1409/1409), 222.76 KiB | 190.00 KiB/s, done.
Resolving deltas: 100% (672/672), done.
HEAD is now at a0c7c7e Rename settings to spOpts_' in CodeGen.
Warning: Requested index-state 2021-08-14T00:00:00Z is newer than
'hackage.haskell.org'! Falling back to older state (2021-08-13T22:58:51Z).
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] next goal: cardano-crypto-class (user goal)
[__0] rejecting: cardano-crypto-class-2.0.0 (conflict: pkg-config package
libsodium-any, not found in the pkg-config database)
[__0] fail (backjumping, conflict set: cardano-crypto-class)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: cardano-crypto-class

Does "Warning: Requested index-state 2021-08-14T00:00:00Z is newer than
'hackage.haskell.org'! Falling back to older state (2021-08-13T22:58:51Z)" matter?
No idea at all.

I'm experiencing a similar issue of not having a dependency when building cardano-crypto-class. Not exactly the problem that you guys posted, but how do we make sure we don't have these dependency issues?
My build environment is within Docker using the plutus-apps devcontainer that I updated from the official devcontainer which is 5 months out-of-date: https://hub.docker.com/repository/docker/bjing/plutus-devcontainer
The project being built is IOG's plutus-starter sample project on the same commit hash on which my devcontainer was built, i.e. 13836ecf59649ca522471417b07fb095556eb981.
bash-4.4# cabal build
HEAD is now at 814df2c14 Merge #3458
HEAD is now at bb4ed71 Merge pull request #158 from input-output-hk/nc/drop-strict
HEAD is now at a5085acbd Merge #3081
HEAD is now at cde90a2 Re-enable support for GHC 8.6.5
HEAD is now at 46f994e Merge pull request #623 from input-output-hk/cda_490_kafka_backend
HEAD is now at 7497a29 Rename forked package
HEAD is now at d2d219a86 Merge #3551
HEAD is now at cc72a56ea SCP-3247 (#4335)
HEAD is now at 13836ecf5 Print error message when passing a non-existant socket path in the PAB (#323)
HEAD is now at 47a1f11 Add import lines for custom instances
HEAD is now at 44e7cac Automatically add URL instances for API types
Warning: Requested index-state 2021-08-14T00:00:00Z is newer than
'hackage.haskell.org'! Falling back to older state (2021-08-13T22:58:51Z).
Resolving dependencies...
Build profile: -w ghc-8.10.4.20210212 -O1
In order, the following will be built (use -v for more details):
 - cardano-crypto-class-2.0.0 (lib) (requires build)
 - cardano-crypto-wrapper-1.3.0 (lib) (requires build)
 - cardano-slotting-0.1.0.0 (lib) (requires build)
 - prettyprinter-configurable-0.1.0.0 (lib:prettyprinter-configurable) (requires build)
 - purescript-bridge-0.14.0.0 (lib) (requires build)
 - quickcheck-dynamic-0.1.0.0 (lib) (requires build)
 - statistics-0.15.2.0 (lib) (requires build)
 - strict-containers-0.1.0.0 (lib) (requires build)
 - strict-non-empty-containers-2020.12.8 (lib) (requires build)
 - strict-stm-0.1.0.0 (lib) (requires build)
 - text-class-2022.1.18 (lib) (requires build)
 - tracer-transformers-0.1.0.1 (lib) (requires build)
 - typed-protocols-0.1.0.0 (lib) (requires build)
 - word-array-0.1.0.0 (lib) (requires build)
 - compact-map-0.1.0.0 (lib) (requires build)
 - cardano-crypto-praos-2.0.0 (lib) (requires build)
 - cardano-ledger-byron-0.1.0.0 (lib) (requires build)
 - cardano-crypto-test-1.3.0 (lib) (requires build)
 - servant-purescript-0.9.0.2 (lib) (requires build)
 - statistics-linreg-0.3 (lib:statistics-linreg) (requires build)
 - small-steps-0.1.0.0 (lib) (requires build)
 - iohk-monitoring-0.2.0.0 (lib) (requires build)
 - typed-protocols-cborg-0.1.0.0 (lib) (requires build)
 - plutus-core-0.1.0.0 (lib) (requires build)
 - cardano-data-0.1.0.0 (lib) (requires build)
 - network-mux-0.1.0.0 (lib) (requires build)
 - small-steps-test-0.1.0.0 (lib) (requires build)
 - lobemo-backend-ekg-0.1.0.1 (lib) (requires build)
 - freer-extras-0.1.0.0 (lib) (requires build)
 - cardano-wallet-test-utils-2022.1.18 (lib) (requires build)
 - cardano-wallet-launcher-2022.1.18 (lib) (requires build)
 - plutus-tx-0.1.0.0 (lib) (requires build)
 - cardano-ledger-core-0.1.0.0 (lib) (requires build)
 - ouroboros-network-testing-0.1.0.0 (lib) (requires build)
 - byron-spec-ledger-0.1.0.0 (lib) (requires build)
 - plutus-tx-plugin-0.1.0.0 (lib) (requires build)
 - plutus-ledger-api-0.1.0.0 (lib) (requires build)
 - set-algebra-0.1.0.0 (lib) (requires build)
 - ouroboros-network-framework-0.1.0.0 (lib) (requires build)
 - byron-spec-chain-0.1.0.0 (lib) (requires build)
 - cardano-protocol-tpraos-0.1.0.0 (lib) (requires build)
 - ouroboros-network-0.1.0.0 (lib) (requires build)
 - cardano-ledger-byron-test-1.3.0 (lib) (requires build)
 - cardano-ledger-shelley-0.1.0.0 (lib) (requires build)
 - ouroboros-consensus-0.1.0.0 (lib) (requires build)
 - cardano-ledger-shelley-ma-0.1.0.0 (lib) (requires build)
 - ouroboros-consensus-protocol-0.1.0.0 (lib) (requires build)
 - ouroboros-consensus-byron-0.1.0.0 (lib) (requires build)
 - cardano-ledger-alonzo-0.1.0.0 (lib) (requires build)
 - ouroboros-consensus-shelley-0.1.0.0 (lib) (requires build)
 - cardano-ledger-pretty-0.1.0.0 (lib) (requires build)
 - ouroboros-consensus-cardano-0.1.0.0 (lib) (requires build)
 - cardano-ledger-shelley-test-0.1.0.0 (lib) (requires build)
 - cardano-api-1.33.0 (lib) (requires build)
 - cardano-wallet-core-2022.1.18 (lib) (requires build)
 - cardano-api-1.33.0 (lib:gen) (requires build)
 - cardano-wallet-cli-2022.1.18 (lib) (requires build)
 - plutus-ledger-0.1.0.0 (lib) (requires build)
 - cardano-wallet-core-integration-2022.1.18 (lib) (requires build)
 - cardano-wallet-2022.1.18 (lib) (requires build)
 - plutus-ledger-constraints-0.1.0.0 (lib) (requires build)
 - plutus-chain-index-core-0.1.0.0 (lib) (requires build)
 - plutus-contract-0.1.0.0 (lib) (requires build)
 - plutus-chain-index-0.1.0.0 (lib) (requires build)
 - playground-common-0.1.0.0 (lib) (requires build)
 - plutus-starter-0.1.0.0 (lib) (first run)
 - plutus-pab-0.1.0.0 (lib) (requires build)
 - plutus-starter-0.1.0.0 (test:plutus-example-projects-test) (first run)
 - plutus-starter-0.1.0.0 (exe:plutus-starter-pab) (first run)
Configuring library for cardano-crypto-class-2.0.0..
Preprocessing library for cardano-crypto-class-2.0.0..
running dist/build/Cardano/Crypto/Libsodium/Constants_hsc_make failed (exit code 127)
rsp file was: "dist/build/Cardano/Crypto/Libsodium/hsc2hscall15560-3.rsp"
output file:"dist/build/Cardano/Crypto/Libsodium/Constants.hs"
command was: dist/build/Cardano/Crypto/Libsodium/Constants_hsc_make  >dist/build/Cardano/Crypto/Libsodium/Constants.hs
error: dist/build/Cardano/Crypto/Libsodium/Constants_hsc_make: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory

We have three different comments about the issue: the first one mentions plutus-apps and the other two plutus-starter. This doesn't appear to be a plutus issue, hence I'm closing this issue. Feel free to reopen if you disagree.

authors: anton-k bjing code-brewer effectfully michaelpj

repo: input-output-hk/plutus


text:
Playground warmup is very slow

We are being affected by https://github.com/haskell-hint/hint/issues/56 so I will look into:

Will GHC 8.6 fix this?
Will using GHCI rather than hint fix this

This is now merged, tested and pending release. See #514.

FWIW, the other workaround is to compile the executable which uses the GHC API using -dynamic.

@mpickering oh really, wow. I think runghc is currently a better solution anyway as it allows spawning as many processes as we require and seems to have almost no overhead.

@mpickering can you explain why? or is it just magic :D

It's not clear yet but it's something to do with using the system linker vs the linker built into GHC.
See https://gitlab.haskell.org/ghc/ghc/issues/15524

authors: krisajenkins mpickering shmish111


text:
Add flake8 for vscode, init py for testing blackbricks module

Add flake8 file to allow for configuration with vscode
Add init to tests folder to allow blackbricks discovery

Flake8 config overed by #25 .

authors: asears bsamseth

repo: inspera/blackbricks


text:
A.02.IR2.IR4.TGR49.TGR50.TGR51.predefinedStoredQuery

This issue has been extracted from the issue list on:https://ies-svn.jrc.ec.europa.eu/issues/2685
Comment
'For each combination of supported CRS, supported language, SpatialDataSetIdentifier ID code and SpatialDataSetIdentifier Namespace'
The mechanism to determine the 'supported CRS' is problematic as the CRS information may differ from feature type to feature type. It is unclear in how far that is an issue in practice, but a conformant service may specify different CRSs per feature type.
Proposed Change
See comment. As the TG is unclear, the requirement should be clarified in the TG first.

This indeed could become problematic in rare cases where a dataset contains featuretypes in different CRSes. I think the impact in practice is limited, because it makes sense to offer all data in a dataset in the same CRS in most case
I agree on the issue, but how to deal with this for the ATS? Is it better to remove the 3rd bullet from the test method, so don't actually execute GetFeature requests but only check existence of Stored Queries with the parameters using DescribeStoredQueries?

authors: jensscheerlinck thijsbrentjens


text:
$packageService usage

Could you please provide an example of full instantiation of $packageService ? I am trying to migrate from 5.7. to 7.6. and am unable to figure out how to use it.
Many thanks

I don't know what exactly is your problem but you can instantiate PackageService like this:
$apiUser = getenv('BALIKOBOT_API_USER') ?: 'test';
$apiKey  = getenv('BALIKOBOT_API_KEY') ?: 'test';

$requester = new \Inspirum\Balikobot\Client\DefaultCurlRequester($apiUser, $apiKey, sslVerify: true);
$validator = new \Inspirum\Balikobot\Client\Response\Validator();
$client    = new \Inspirum\Balikobot\Client\DefaultClient($requester, $validator);

$packageService = new \Inspirum\Balikobot\Service\DefaultPackageService(
    $client,
    new \Inspirum\Balikobot\Model\PackageData\DefaultPackageDataFactory(),
    new \Inspirum\Balikobot\Model\Package\DefaultPackageFactory($validator),
    new \Inspirum\Balikobot\Model\OrderedShipment\DefaultOrderedShipmentFactory(),
    new \Inspirum\Balikobot\Model\Label\DefaultLabelFactory(),
    new \Inspirum\Balikobot\Model\ProofOfDelivery\DefaultProofOfDeliveryFactory($validator),
    new \Inspirum\Balikobot\Model\TransportCost\DefaultTransportCostFactory($validator),
);

Do you use any framework for your application?
I would recommend using some existing bundles (https://github.com/inspirum/balikobot-php#setup-service).
Sadly, for version ^7 there is only one for Symfony but I am in the process of creating a new one for Laravel.

Perfect, thank you very much, this helped :)

authors: sunkaflek tomas-novotny

repo: inspirum/balikobot-php


text:
suggest:image info should have port information,user can use it create service

In GitLab by @cuiaq123 on Mar 23, 2018, 11:34
If you are reporting a problem, please make sure the following information are provided:

Version of board (last git commit number) , docker engine and docker-compose.
Config files of board, you can get them by packaging "board.cfg" and files in the same directory, including subdirectory.
Log files, you can get them by package the /var/log/board/.
Other necessery information.

In GitLab by @yhua123 on Nov 8, 2019, 07:48
workround: UI read dockerfile for analysis port info.
enhancement: apiserver response port directly.

In GitLab by @cuiaq123 on Nov 8, 2019, 07:48
i can not see the port info in image detail

In GitLab by @sokril on Nov 8, 2019, 08:20
assigned to @wknet123

repo: inspursoft/board


text:
[Help needed] Minimal metrics setup to monitor node health

I'm very new to Cassandra and need to healthcheck a cluster of 5 Cassandra nodes with ~1000 of keyspaces created.
With the default setup, I'm getting a huge number of metrics in my Prometheus, which makes it impossible to query for a time range of more than 1 hour, then it gets killed by OOM. And all those metrics aren't informative to me.
So for the sake of future users, who faced the same problem, I wonder is there a minimal config for the metrics to scrape so average administrator could take a look at and see if there is (or gonna be) something wrong with Cassandra?
Thanks in advance for any kind of help and excuse me for my barbarian English.

Hi @Blasterdick ,
If you would like to check your node status (up/down) I would advise you to use the following exporter: https://github.com/criteo/casspoke
It exposes only few dozens metrics per node.

use the following metrics for grafana graph:
metric: count( count by (exported_instance)(cassandra_up > 0) )  by (exported_instance)
legend:  {{ exported_instance}}
metric: 1 - count( count by (exported_instance)(cassandra_up == 0) )  by (exported_instance)
legend:  {{ exported_instance}}
GL

authors: Blasterdick hadarizi

repo: instaclustr/cassandra-exporter


text:
Download pictures only from post (Instaloader Module)

WHAT I'M DOING:
So I'm trying to go through through a profile post by post while only downloading the pictures.
MY PROBLEM:
I don't know how to ONLY download pictures from a post. Currently my code downloads pictures, the caption, and a json file. Plus, if my script runs into a Reel, it downloads the first frame for some reason. I'd like to only download pictures.
Any help would be greatly appreciated, since I was having trouble finding how to do this via the module (documentation showed a way to do it via command-line).
MY CODE:
#Main variables
USER = 'instagram_account'
PASSWORD = open(PASSWORD_TEXTFILE, "r").read()
VALID_FILE_TYPES = ['.jpg', '.jpeg', '.png']
PROFILE = 'girls'

#Login to Instagram
L = Instaloader()
L.login(USER, PASSWORD)

#Set profile and attributes
profile = Profile.from_username(L.context, PROFILE).get_posts()
L.download_pictures = True
L.download_comments = False
L.download_geotags = False
L.download_videos = False

chdir(r'C:\Users\music\Downloads\instagram')
counter = 0
for post in profile:
    if counter < 10:
        sleep((rand(10,15)/rand(2,4))*(rand(80,120)/100))
        L.download_post(post, PROFILE)
        counter = counter + 1
    else:
        break

Use L.save_metadata = False to turn off metadata downloading.
Use L.download_video_thumbnails = Flase to turn off video thumbnail downloading.

Try this:
post_url = "https://www.instagram.com/p/"+post.shortcode
L.download_pic(f'static/{user}/{post.date_utc}', post.url, post.date_utc)
this will download single post specific picture

authors: fireattack fwkhan music-lover99

repo: instaloader/instaloader


text:
update(infra): application dockerization

Here we perform a complete dockerization of the application using docker-compose.
In this dockerization we use resources to connect containers in a network for secure communication.

LGMT

@rafael-dev2021
Good afternoon my friend, apparently you didn't compile the project. You need to compile the project with Maven to be able to run Docker.
Follow the steps below:

You can use the ./mvnw Install -DskipTests command to compile the project.
Build the docker container with the docker-compose build command
Now just start docker normally docker-compose up

authors: blackcrw davidfontesfelix

repo: institute-atri/blog-backend


text:
Coachella 2022-2023-2024

Wiki link: https://en.wikipedia.org/wiki/Coachella_2023

Closing per https://github.com/instructlab/taxonomy/pull/1137.

repo: instructlab/taxonomy


text:
Update nokogiri version range in saml2.gemspec

nokogiri fixes CVE-2020-26247
in version 1.11.0 (releasing shortly).
It may also be worthwhile to check the other changes to ensure compatibility.
https://github.com/sparklemotion/nokogiri/releases/tag/v1.11.0
Testing:

Downloaded repo
Switched to using nokogiri 1.11.0
Ran bundle install
Ran bundle exec rspec spec/ and saw no failures

This may not be sufficient to fully test using nokogiri on version 1.11.0, please
review the changes and perform additional steps as necessary

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I've updated the requirements to allow 1.11, but in such away that new patch releases on 1.11 will be allowed too

I've updated the requirements to allow 1.11, but in such away that new patch releases on 1.11 will be allowed too

Awesome, thanks!

Awesome, thanks!

authors: CLAassistant cameron-gagnon ccutrer


text:
Fix tests for windows

#440

Thanks. For the final one, it is only failing in the cleanup (which can be safely ignored). I would remove the finally block and stop using try: for the body of the test.

(happy to push the test here, if you don't have the time)

Unfortunately, just a touch of lint: please run black fsspec

authors: DavidKatz-il martindurant


text:
Unified build flow

A unified build requires both cuda and l0 dependencies installation. For that, a convenient way would be to list all the required platform dependencies as a job parameter. Unfortunately, the language doesn't support lists. Here's a simple workaround.

@alexbaden, @ienkovich, we can run this daily instead of on each PR. Thoughts?

repo: intel-ai/hdk


text:
LLM: unify memory optimization env variables.

Description
This PR is to unify memory optimization env variables to IPEX_LLM_LOW_MEM for users to easily enable memory optimizations. We also keep IPEX_LLM_LAST_LM_HEAD and IPEX_LLM_SPLIT_QKV for compatibility and disabling the specific optimization for some situations.

PR validation: https://github.com/intel-analytics/ipex-llm-workflow/actions/runs/9866974992

repo: intel-analytics/ipex-llm


text:
[NPU L0] Add layernorm weight as const / input setting

Description
We could specify layernorm weight as const / input through environment variable IPEX_LLM_LAYERNORM_CONST
2. User API changes
layernorm weight is set as const by default for llama/baichuan/minicpm while as input by default for qwen2
# as input
set IPEX_LLM_LAYERNORM_CONST=0

# as const
set IPEX_LLM_LAYERNORM_CONST=1

TODO: Will update default setting after comparing perf for each model
4. How to test?

[x] Application test (verify output correctness of all examples)

As we discussed offline, currently first use environment variable to control layernorm weight setting. Will update default value for each model according to performance comparison.


text:
Command 'mraa-gpio set' fails randomly on Joule

Using mraa gpio set command in terminal to set a GPIO pin randomly fails (about 1% of the time) causing an error and not changing the GPIO pin state. Tested it using Yocto based Intel Refkit image and Joule BIOS version 161. Also tried different GPIO pins with the same result. There were no errors when using Minnowboard Turbot and the same image. Error message with Joule:
*** Error in `mraa-gpio': free(): invalid pointer: 0x00000000006193f5 ***
======= Backtrace: =========
/lib/libc.so.6(+0x7039b)[0x7f34b9aa739b]
/lib/libc.so.6(+0x76826)[0x7f34b9aad826]
/lib/libc.so.6(+0x7701e)[0x7f34b9aae01e]
/usr/lib/libmraa.so.1(mraa_find_i2c_bus_pci+0x22f)[0x7f34b9ddc77f]
/usr/lib/libmraa.so.1(mraa_gt_tuchuck_board+0xd0)[0x7f34b9df0d60]
/usr/lib/libmraa.so.1(mraa_x86_platform+0x3c3)[0x7f34b9de8753]
/usr/lib/libmraa.so.1(imraa_init+0x1ef)[0x7f34b9ddb8cf]
/lib/ld-linux-x86-64.so.2(+0xf1ba)[0x7f34ba00c1ba]
/lib/ld-linux-x86-64.so.2(+0xf2cb)[0x7f34ba00c2cb]
/lib/ld-linux-x86-64.so.2(+0xc7a)[0x7f34b9ffdc7a]
======= Memory map: ========
00400000-00403000 r-xp 00000000 b3:03 4655                               /usr/bin/mraa-gpio
00602000-00603000 r--p 00002000 b3:03 4655                               /usr/bin/mraa-gpio
00603000-00604000 rw-p 00003000 b3:03 4655                               /usr/bin/mraa-gpio
00604000-00625000 rw-p 00000000 00:00 0                                  [heap]
7f34b4000000-7f34b4021000 rw-p 00000000 00:00 0
7f34b4021000-7f34b8000000 ---p 00000000 00:00 0
7f34b8fd7000-7f34b8fed000 r-xp 00000000 b3:03 4308                       /lib/libgcc_s.so.1
7f34b8fed000-7f34b91ec000 ---p 00016000 b3:03 4308                       /lib/libgcc_s.so.1
7f34b91ec000-7f34b91ed000 r--p 00015000 b3:03 4308                       /lib/libgcc_s.so.1
7f34b91ed000-7f34b91ee000 rw-p 00016000 b3:03 4308                       /lib/libgcc_s.so.1
7f34b91ee000-7f34b9202000 r-xp 00000000 b3:03 4299                       /lib/libnsl-2.25.so
7f34b9202000-7f34b9402000 ---p 00014000 b3:03 4299                       /lib/libnsl-2.25.so
7f34b9402000-7f34b9403000 r--p 00014000 b3:03 4299                       /lib/libnsl-2.25.so
7f34b9403000-7f34b9404000 rw-p 00015000 b3:03 4299                       /lib/libnsl-2.25.so
7f34b9404000-7f34b9406000 rw-p 00000000 00:00 0
7f34b9406000-7f34b940d000 r-xp 00000000 b3:03 887                        /lib/libnss_compat-2.25.so
7f34b940d000-7f34b960c000 ---p 00007000 b3:03 887                        /lib/libnss_compat-2.25.so
7f34b960c000-7f34b960d000 r--p 00006000 b3:03 887                        /lib/libnss_compat-2.25.so
7f34b960d000-7f34b960e000 rw-p 00007000 b3:03 887                        /lib/libnss_compat-2.25.so
7f34b960e000-7f34b9618000 r-xp 00000000 b3:03 10396                      /usr/lib/libjson-c.so.2.0.1
7f34b9618000-7f34b9817000 ---p 0000a000 b3:03 10396                      /usr/lib/libjson-c.so.2.0.1
7f34b9817000-7f34b9818000 r--p 00009000 b3:03 10396                      /usr/lib/libjson-c.so.2.0.1
7f34b9818000-7f34b9819000 rw-p 0000a000 b3:03 10396                      /usr/lib/libjson-c.so.2.0.1
7f34b9819000-7f34b9832000 r-xp 00000000 b3:03 4295                       /lib/libpthread-2.25.so
7f34b9832000-7f34b9a31000 ---p 00019000 b3:03 4295                       /lib/libpthread-2.25.so
7f34b9a31000-7f34b9a32000 r--p 00018000 b3:03 4295                       /lib/libpthread-2.25.so
7f34b9a32000-7f34b9a33000 rw-p 00019000 b3:03 4295                       /lib/libpthread-2.25.so
7f34b9a33000-7f34b9a37000 rw-p 00000000 00:00 0
7f34b9a37000-7f34b9bcb000 r-xp 00000000 b3:03 2444                       /lib/libc-2.25.so
7f34b9bcb000-7f34b9dca000 ---p 00194000 b3:03 2444                       /lib/libc-2.25.so
7f34b9dca000-7f34b9dce000 r--p 00193000 b3:03 2444                       /lib/libc-2.25.so
7f34b9dce000-7f34b9dd0000 rw-p 00197000 b3:03 2444                       /lib/libc-2.25.so
7f34b9dd0000-7f34b9dd4000 rw-p 00000000 00:00 0
7f34b9dd4000-7f34b9dfb000 r-xp 00000000 b3:03 6198                       /usr/lib/libmraa.so.1.5.1
7f34b9dfb000-7f34b9ffb000 ---p 00027000 b3:03 6198                       /usr/lib/libmraa.so.1.5.1
7f34b9ffb000-7f34b9ffc000 r--p 00027000 b3:03 6198                       /usr/lib/libmraa.so.1.5.1
7f34b9ffc000-7f34b9ffd000 rw-p 00028000 b3:03 6198                       /usr/lib/libmraa.so.1.5.1
7f34b9ffd000-7f34ba020000 r-xp 00000000 b3:03 4292                       /lib/ld-2.25.so
7f34ba211000-7f34ba213000 rw-p 00000000 00:00 0
7f34ba21c000-7f34ba21f000 rw-p 00000000 00:00 0
7f34ba21f000-7f34ba220000 r--p 00022000 b3:03 4292                       /lib/ld-2.25.so
7f34ba220000-7f34ba221000 rw-p 00023000 b3:03 4292                       /lib/ld-2.25.so
7f34ba221000-7f34ba222000 rw-p 00000000 00:00 0
7fffe40f8000-7fffe4119000 rw-p 00000000 00:00 0                          [stack]
7fffe41ac000-7fffe41ae000 r--p 00000000 00:00 0                          [vvar]
7fffe41ae000-7fffe41b0000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted (core dumped)

So that's a bit odd, especially if it doesn't happen all the time, it looks like it fails in the init phases whilst trying to probe i2c busses. Is it possible to get a proper gdb backtrace to see what line it fails at? Obviously the fail is somewhere here: https://github.com/intel-iot-devkit/mraa/blob/master/src/mraa.c#L932 but hard to tell exactly where. It's also very odd that it's semi random...

@Propanu you seen this at all with your recent Joule playing?

I've used it a bit recently, with BIOS 193 but working on UART stuff, haven't noticed any init problems, FWIW.

@arfoll To my knowledge the 161 is the newest public BIOS version but I tried with 193 and also with newest 1A0 BIOS version and the problem seemed to persist. I also tried mraa with Ubuntu 16.04 and couldn't get the error with 1000 tries. So the problem seems to be related to Refkit.

@skuusela likely there is an error condition not being handled somewhere in sysfs, can you find out exactly on which lines it blows up with gdb? I can't imagine the fix will be too difficult but it's odd it's not reproducable all the time...
@arunlee77 why are non public bioses being tested and patches submitted against those?

@arfoll Yes, I'll try with gdb. Just need to build an image with it. Maybe testing with non public BIOS version makes sense as when they get released publicly everything already works with them?

@arfoll  For the GPIO patch i submitted, the mapping is valid for older BIOSes and Ostro images.

@arunlee77 ok happy to hear that.

@arfoll #673 solves the random crashing issue with Joule. Also tagging @ipuustin as he helped me with the issue.

authors: alext-mkrs arfoll arunlee77 skuusela

repo: intel-iot-devkit/mraa


text:
feat: Add OVMS client script into go main configuration

PR Checklist

[x] Added label to the Pull Request for easier discoverability and search
[x] Commit Message meets guidelines as indicated in the URL https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md
[x] Every commit is a single defect fix and does not mix feature addition or changes
[ ] Unit Tests have been added for new changes
[ ] Updated Documentation as relevant to the changes
[ ] All commented code has been removed
[ ] If you've added a dependency, you've ensured license is compatible with repository license and clearly outlined the added dependency.
[ ] PR change contains code related to security
[ ] PR introduces changes that breaks compatibility with other modules (If YES, please provide details below)

What are you changing?

Issue this PR will close
close: #issue_number
Anything the reviewer should know when reviewing this PR?
Test Instructions if applicable

git clone this PR
build ovms client: make build-ovms-client
start up camera simulator if any
run docker run command like sudo ./docker-run.sh --platform core --inputsrc http://127.0.0.1:8554/camera_0 --workload opencv-ovms
exam docker logs: docker logs ovms-client0  and it should looks no error
exam the result log in results folder: cat ./result/maskrcnn.log  should be no error

If the there are associated PRs in other repositories, please link them here (i.e. intel-retail/automated-self-checkout )

Hold the merging until @brian-intel  Brian creates a tag for release 1.5.0

repo: intel-retail/automated-self-checkout