Introduce Pact contract tests

@holly-cummins & I had a talk at Devoxx Belgium about Pact contract testing:

VIdeo replay: https://youtu.be/vYwkDPrzqV8
Slides: https://speakerdeck.com/hollycummins/how-to-avoid-common-pitfalls-with-modern-microservices-testing-c2a33ee0-ca9d-413e-b01e-cbd25853132a

We used the Quarkus superheroes app as the foundation for our demos. Currently all the code resides in my own personal fork. We need to get this into the main repo.
The code, as-is, will not break anything, but it also will not be executed during any CI/CD process, or dev mode/continuous testing.
There are a few caveats that need to be sorted out.

The Pact tests use the free tier within Pactflow broker - https://quarkus-super-heroes.pactflow.io.

There is a CI/CD robot user that has credentials we can store as GitHub secrets, but the larger problem is that the account we currently use is tied to my (@edeandrea's) redhat.com email address. Ideally we should have a more "generic" user to own the account.
Under an account you can assign individual users with permissions. @holly-cummins and I are currently in there as admin users.
@cescoffier / @maxandersen how do you want to handle this? I can add you both as users in the current Pactflow and you can explore, or I can demo it for you so you get an understanding of it. Let me know your thoughts.

You need to authenticate with the broker even to perform read actions

The Pact tests as they currently are written will not run by default - they have to have flags to enable them

This is because, in its current state, Pact does not work in dev mode/continuous testing. There are some issues on the Pact side and some work on the Quarkus side
This way we can safely merge in the code without breaking any of the existing CI/CD workflows and/or dev mode/continuous testing within any of the apps
@holly-cummins has already started work on that. In our Devoxx demo we showed it working in continuous testing on the provider side. That was done with a local patch to Pact and the beginnings of a Quarkus extension which @holly-cummins is building

From a CI perspective we should hook in, at a minimum, the provider verification tests into the simple build/test workflow AND the nightly CI process that tests against Quarkus main

The simple build/test workflow runs against all PRs as well as the first workflow against any pushes to main.

@holly-cummins did I miss anything?

What's the issues that needs fixing on either side? Got links?

There's not really an issue. Its about sorting out credentials in the Pactflow broker. Not sure having an account owned by my @redhat.com email address is a good idea.

Oh wait you mean the Quarkus & Pact issues :)

Here's a bunch I was able to find. We were able to get it to work in continuous testing on the provider side (as you can see from our demo), but not yet on the consumer side.

https://github.com/quarkusio/quarkus/issues/27821
https://github.com/quarkusio/quarkus/issues/27729
https://github.com/quarkusio/quarkus/issues/22611
https://github.com/quarkusio/quarkus/issues/6276
https://github.com/pact-foundation/pact-jvm/issues/1615
https://github.com/pact-foundation/pact-jvm/issues/1604#issuecomment-1252314926
https://github.com/pact-foundation/pact-jvm/pull/1606
https://github.com/pact-foundation/pact-jvm/pull/1607

I think you got them all, @edeandrea , apart from the issues on https://github.com/holly-cummins/scratch-pact-extension which are mostly future enhancements, rather than defects.
I need to do the paperwork to get the extension repo(s) set up so we have somewhere proper to hang work items. For example, we realised that on the consumer side, using a dev service for the Pact broker is a great use case for dev services and fixes a pain point in how Pact handle flipping between local and remote contracts... but I haven't raised that yet (doh).

The dev service for the pact broker would fix the credentials issue @edeandrea identifies above. However, getting the right behaviour for a provider-side broker dev service would need a bit of thought.

The dev service for the broker for local dev would be nice, but I'm not sure it solves the whole problem. I still think we need the "real" broker to store contracts in for when the CI workflows run.

(As a temporary measure while we wait for someone (cough) to write the dev service, we could switch to local pacts. It's less visual for a demo, but works out of the box. It's then a one-liner for an experienced user to switch to the broker.)

That would mean then that we'd have to order the CI workflows so the consumer built before the provider.
I envision some kind of manual push (for now) to the broker, that way the consumer can run it's tests during CI and the providers can do their verification pulling from the broker.
The CI is a GitHub action matrix job, so everything builds in parallel against multiple JVM versions, so trying to share output from one parallel build to another would be tricky.

I think we should talk about how we want CI to work. (Yes consumer and provider teams actually need to talk to one another :) )
For now, I'll start a PR and at least get the code in so people have it to look at.
I'd still like to have the broker too, but we can figure out how to do that.

This is the CI - https://github.com/quarkusio/quarkus-super-heroes/blob/main/.github/workflows/simple-build-test.yml
Since the jobs are matrix jobs, wouldn't it be difficult to order the jobs properly since the jobs themselves are generated by the matrix? Unless there is something built into GitHub actions that can do that?

So @holly-cummins and I had a chat offline about what the right thing to do here is and we decided that this should be broken into 2 pieces:

Get something into the superheroes that is easy to show and easy to reproduce for anyone who is just cloning/forking the repo and running the tests.

This means that we shouldn't use the Pact broker - instead just check the contract into the provider's source tree.
Fully document in the README's whats being done and how someone might switch it to use their own broker if they wanted to.
This way the Superheroes CI can also run both the consumer & provider contract tests as part of both PR verification builds, commits to main, as well as the nightly build against Quarkus main.

In the future, once an "official" Quarkus extension evolves, revisit this setup and see if anything can be done differently.

Did I miss anything @holly-cummins ?
I'll push a few more commits to #165 with some changes to move away from the broker by the end of the week.


How to fetch todoist task creation date ?

Hi there. Sorry if it isn't the right place, I looked everywhere but couldn't find anything, you're sort of my last hope now.
Following quick-add plugin todoist fetch script guide, I now have a command in my vault to gather my todoist tasks using your plugin API token and the provided quick-add script.
There is a formatting function inside that script that convert the todoist task list to a markdown format. I modified some of them to use the actual date as a created date suffix :
function formatTasksToTasksPluginTask(t) {
  const todayDate = new Date().toISOString().split("T")[0]; // Get today's date in YYYY-MM-DD format
  return (
    t
      .map(
        (t) =>
          (t = t.rawDatetime
            ? `- [ ] ${t.content} \u2795 ${todayDate} \ud83d\udcc5 ${t.rawDatetime.format(
                "YYYY-MM-DD"
              )}`
            : `- [ ] ${t.content} \u2795 ${todayDate}`)
      )
      .join("\n") + "\n"
  );
}

My issue is that I would like to use the createdAt property  of a task, but it doesn't work, I get an incorrect date. I tried using ${t.createdAt.format("YYYY-MM-DD")} as well with no results.
As you have some experience with todoist API, do you have an idea of what might be wrong here ?
Thanks in advance !
Edit : Tried using the following modifications :
function formatTasksToTasksPluginTask(t) {
  const todayDate = new Date().toISOString().split("T")[0]; // Get today's date in YYYY-MM-DD format
  return (
    t
      .map(
        (t) =>
          (t = t.rawDatetime
            ? `- [ ] ${t.content} \u2795 ${t.createdAt.format("YYYY-MM-DD")} \ud83d\udcc5 ${t.rawDatetime.format(
                "YYYY-MM-DD"
              )}`
            : `- [ ] ${t.content} \u2795 ${t.createdAt.format("YYYY-MM-DD")}`)
      )
      .join("\n") + "\n"
  );
}

Ended with this error :

To be honest, I don't even get how does he manage to gather the due date of the task using t.rawDatetime, when I use console.log(t) to see the task object, it doesn't even have the property :

Hi @mathisgauthey, I'm not sure where that script comes from - but its not something that I support. If you want to reverse engineer the internal data format, that's okay - but be aware it can/will break if I refactor things.
In fact, it definitely will break in the next release.


fix spawn java

if specify shell = True, it don't need to pass as list to args. on windows, it doesn't work.
and also, java is spawning multiple times to get JAVA_HOME. it should be cached.

Ah, sorry. I's not latest. I'll re-open PR about this.


[BUG] Table not loading after editing and hitting back

-- blocking --
New quality alert
In table view à Edit
In edit view hit back button

Is not reproducible and could be related with network connectivity like enabling VPN connection.


How to compile for android

make android ? some errors occurs,

(Cleaning up old Issues)
Now you can do scripts/build_android.sh which should work reasonably OK.

Please, refer to the below webpages.

https://caffe2.ai/docs/mobile-integration.html
https://github.com/caffe2/caffe2/blob/master/scripts/build_android.sh


feat(pixels): add my new pixel (33, 33)

Checklist

[x] I ran npm test locally and it passed without errors.

[x] I only edited the _data/pixels.json file.

[x] I entered the username in the pixels.json that I'm also using to create this pull request.
[x] I acknowledge that all my contributions will be made under the project's license.

thanks


maybe mismatch for 'shapenetcorev2'

Thanks for your amazing work , and it helps me a lot .
I try to use this dataset for classification task. However , I think that there are some mismatches about variable " self.path_file_all " , " self.path_h5py_all " and " self.path_name_all " . Specifically , after runing the program , I obtained the list order shown in Figure 1, which is the order of variable  " self.path_file_all " and " self.path_name_all ".Figure2 shows variable " self.path_h5py_all " 's list order. Obviously， train10_idfile.json can't match train1.h5 . The code <self.path_name_all.sort()> causes these chaos of order . Althrough , The absence of these two variables does not affect the use of the dataset, because the corresponding relationship between data and label is correctly saved in  variable  "self.path_h5py_all " . If i misunderstand the code , please forgive me.

Thanks for your feedback! I have fixed this mistake in the updated code.


Page as background not working when exported to HTML, not able to change after setting it once.

Preflight Checklist

[ X] I agree to follow the Code of Conduct that this project adheres to.
[X ] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
Page as background not working in several instances:

If you set page's background to be another page, and try to change it again, there is no dropdown to select another page.
Backgrounds that are set as page are not being exported in HTML export.
When exporting as HTML, size of background is ignored and page is trimmed to current content.

To Reproduce
Steps to reproduce the behavior:

Create new blank document
Place some objects on page-1
create blank page-2
set page-2's background to be page-1
Try to change page-2's background and notice how page dropdown is no longer there
Try to export to HTML and observe backgrounds not being present

Expected behavior
When you press change button next to page's background (after it was set once), there should be an option to change it's background to page
When exporting HTML, backgrounds should show
Screenshots
https://imgur.com/a/GyxckEa
draw.io version (In the Help->About menu of the draw.io editor):

draw.io version [e.g. 12.6.7]
15.0.6 from diagrams.net in chrome or firefox

Desktop (please complete the following information):

OS: Windows 10
Browser chrome 93, firefox 91
Version 93,  91

Thanks for the report. This will be fixed in the next release.


Repo not signed by a valid (non-expired) key

The last commits of this repository where done using @szszszsz GnuPG key which expired (see https://github.com/Nitrokey/pynitrokey/commits/master or "git verify-commit HEAD). Would it be possible to update this key to be able to verify the repos authenticity again?

Looks good on my side:
~/w/gpg [1]$ podman run -it -v (pwd):/app --rm fedora
[root@1e61dadf6b45 /]# dnf install gpg
Fedora 38 - x86_64                                                        7.2 MB/s |  83 MB     00:11
Fedora 38 openh264 (From Cisco) - x86_64                                  495  B/s | 2.5 kB     00:05
Fedora Modular 38 - x86_64                                                953 kB/s | 2.8 MB     00:02
Fedora 38 - x86_64 - Updates                                              8.3 MB/s |  12 MB     00:01
Fedora Modular 38 - x86_64 - Updates                                      173  B/s | 257  B     00:01
Package gnupg2-2.4.0-3.fc38.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@1e61dadf6b45 /]# gpg --recv-key d9bae35991de5b22
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key D9BAE35991DE5B22: public key "Szczepan Zalega<EMAIL_ADDRESS>imported
gpg: Total number processed: 1
gpg:               imported: 1
[root@1e61dadf6b45 /]# gpg --list-key
/root/.gnupg/pubring.kbx
------------------------
pub   rsa4096 2016-01-11 [SC] [expires: 2024-01-17]
<PHONE_NUMBER>39FF65DE0BCD7DD9BAE35991DE5B22
uid           [ unknown] Szczepan Zalega<EMAIL_ADDRESS>uid           [ unknown] Szczepan Zalega (Nitrokey<EMAIL_ADDRESS>sub   rsa4096 2016-01-11 [E] [expires: 2024-01-17]

What key server do you use?

I think this is about the key that you add to your GitHub profile.

Ok, looks like GH had a hiccup, and now after reupload it does not show the key is expired. It was refreshing it automatically for the last 4 years before though.

Closing.
@bwildenhain Please reopen if that's not fixed your case.


Update localrest dependency

This doesn't bring anything to Agora,
but allow projects depending on Agora to avoid an annoying dub warning.

Dis green


Error when same name for method and variable

Description:

Steps to reproduce:
public function isAppSecurityOptional(string serviceName) returns boolean {
  return true;
}
boolean isAppSecurityOptional = isAppSecurityOptional("hello");

Error :
undefined function 'isAppSecurityOptional'
Affected Versions:
1.1.1
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

I get both the following errors for this code.
error: .::qwe.bal:4:9: redeclared symbol 'isAppSecurityOptional'
error: .::qwe.bal:4:33: undefined function 'isAppSecurityOptional'

You cannot have both a function and a variable with the same name in the same scope and symbol space, so the "redeclared symbol" error here is expected.
However the "undefined function" error does seem odd since the compiler complains about the variable and not the function.

Not planning to fix this immediately. Hence this issue has been marked as "Deferred" and will be revisited in the future when resources are available.


jsdoc rendering summary can end with a :

In some cases, a JSDoc summary can end with a :. We should change this by backtracking to a . if one is present and only show the content until then, else still show the summary as-is.
The relevant part of the codebase is https://github.com/denoland/deno_doc/blob/93f4ce335aba6e03cf52be4d5ed804068eee4937/src/html/jsdoc.rs#L392-L418

I'd be interested in working on this but could you help provide an example of what the output is currently and what it should look like? Thanks!

@c43721 sure. for example:
https://docs.deno.com/api/node/child_process/~/exec
The summary currently renders like this:

However since it ends with :, it should backtrack, so it should end up being this


Link "Publish Data" to a "How to publish data" page

Currently the "Publish Data" button on the home page, and within the menu, resolves to a resource for information managers, which is in advance to use case. Create a simplified page accommodating both the data author and information manager use cases.

Fixed by PASTAplus/web-x@6de258c83a89ace169335187b2f56a4b5a265c53


Update communication-plan.md

[x] communication plan

@zerubabel4 thank you for the update. please resolve the conflict.

ok @minjupgeorge


Help needed - NextJS in Shared Hosting

Imran,
Thanks a ton for creating this wonderful course. I have been a regular follower of most of your courses.
I am working with a client who has a full on WooCommerce site which is very slow and caching has improved performance a little bit but still is not great. I am thinking about suggesting NextJS+WooCommerce site to them, but have some questions before I can do that.

First requirement would be, they already have a shared hosting cPanel account that has been paid for long term, they don't want  move away from that account.
They also don't want us to create a another CDN account, too many accounts for them to maintain it seems, so even a free Vercel/Netlify account is out of question.
Only option I have now is to host both NextJS frontend (in root) and WooCommerce backend (in subdomain or subfoler) in the same account, thinking of NextJS export option.
Do you think NextJS export would work for WooCommerce driven site? Or do you think NextJS regular build will work in shared hosting?
I have a GatsbyJS WordPress static site hosted in the same fashion, but that does not have WooCommerce though, just plain WP.

Thanks a lot in advance for your input in this regard.
B.

You're welcome @bnbabu55

You continue the WordPress hosting with shared hosting.
If you don't wish to host the frontend elsewhere, you would need to speak to the client's hosting provider to see what solutions they have to host a node js application.
Next.Js export option is not recommended, because it will convert your entire site into static pages, and you would lose onto the key feature of Next.js called Incremental Static regeneration SS(Re)G. So if editors update any posts or products in the backend it won't be updated automatically onto the frontend and you would need to rebuild everytime.
I doubt shared hosting has the ability to host node.js application. You may need to go for dedicated server. You can check with your service provider to confirm.
Explained the same in point 3.

Thanks a lot for your suggestions. Will check if client can switch to VPS hosting in order for us to have a NodeJS instance to facilitate NextJS SSR.


[BugFix] fix type mismatch between int96 and string

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #11839
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

run starrocks_admit_test


Disable browsersync?

Is this possible with some configuration?

Hey, thank you for the question. Could you maybe share a bit more why would you want to disable browsersync? You can always do enduro start which will start the webserver without any dev tools such as browsersync or watching for changes.

Great question.
I actually rather running the server in dev mode, since I can see immediate changes when I change files and change the admin.
But the browsersync is killing me, since all the users are seeing their screens scroll everywhere :/

hey, what do you mean all the users? Are there more people developing the website, or are these consumers?

consumers are seeing this. which kinda makes sense, since I am running in dev-mode.

em, can you point the consumers to port 5000? They will get the production version without reloading, scrolling and should be a bit faster as well.

You mean after running the server with enduro start right?

enduro dev will start both 3000 and 5000 servers(btw you can chance the ports).
So what's your setup? Do you develop on server? Why do consumers get to the port 3000?

Could I configure the production port to something different then 5000?

Ohh! It starts both servers... let me try on 5000 again...

Oh wow, MUCH faster. Thank you! for your very quick help!

sure, just do enduro start -p=80. For development mode you'll have to add port: 80 in the enduro.json config file. On some servers port 80 is blocked by default so you'll have to start enduro with sudo.

hey, good luck on your project, let us know if you have any other issues :-)


runtime: go program crach, it seems fall into infinite loop

What version of Go are you using (go version)?

go version go1.12.9 linux/arm64

Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
go env Output
aarch64

What did you do?
do nothing, just run the go program

What did you expect to see?
program run normally
What did you see instead?
program crashed!
after gdb core file, we see one thread falled into infinite loop, see details below
(gdb) bt
#0  runtime.futex () at /opt/tools/go/src/runtime/sys_linux_arm64.s:417
#1  0x000000000042cb68 in runtime.futexsleep (addr=0x14f23b0 <runtime.sched+272>, val=0, ns=60000000000) at /opt/tools/go/src/runtime/os_linux.go:63
#2  0x000000000040be7c in runtime.notetsleep_internal (n=0x14f23b0 <runtime.sched+272>, ns=60000000000, ~r2=<optimized out>) at /opt/tools/go/src/runtime/lock_futex.go:193
#3  0x000000000040bf50 in runtime.notetsleep (n=0x14f23b0 <runtime.sched+272>, ns=60000000000, ~r2=<optimized out>) at /opt/tools/go/src/runtime/lock_futex.go:216
#4  0x000000000043b614 in runtime.sysmon () at /opt/tools/go/src/runtime/proc.go:4305
#5  0x000000000043350c in runtime.mstart1 () at /opt/tools/go/src/runtime/proc.go:1206
#6  0x000000000043342c in runtime.mstart () at /opt/tools/go/src/runtime/proc.go:1172
#7  0x0000000000b683b8 in crosscall1 () at gcc_arm64.S:40
...
#38643 0x0000000000b683b8 in crosscall1 () at gcc_arm64.S:40
#38644 0x0000000000b683b8 in crosscall1 () at gcc_arm64.S:40
#38645 0x0000000000b683b8 in crosscall1 () at gcc_arm64.S:40
#38646 0x0000000000b683b8 in crosscall1 () at gcc_arm64.S:40
#38647 0x0000000000b683b8 in crosscall1 () at gcc_arm64.S:40
#38648 0x0000000000b683b8 in crosscall1 () at gcc_arm64.S:40
#38649 0x0000000000b683b8 in crosscall1 () at gcc_arm64.S:40
#38650 0x0000000000b683b8 in crosscall1 () at gcc_arm64.S:40
#38651 0x0000000000b683b8 in crosscall1 () at gcc_arm64.S:40
#38652 0x0000000000b683b8 in crosscall1 () at gcc_arm64.S:40

register values are
(gdb) i r
x0             0x4000874848<PHONE_NUMBER>08
x1             0x80                128
x2             0x0                 0
x3             0x0                 0
x4             0x0                 0
x5             0x0                 0
x6             0x45                69
x7             0x1                 1
x8             0x62                98
x9             0x92865ea           153642474
x10            0x5dcee731<PHONE_NUMBER>
x11            0x18                24
x12            0xffffffffa235c94b  -1573533365
x13            0x0                 0
x14            0xfffe75ffa5c0<PHONE_NUMBER>64448
x15            0x0                 0
x16            0x4000874738<PHONE_NUMBER>36
x17            0xfffe75ffa870<PHONE_NUMBER>65136
x18            0x1                 1
x19            0x8                 8
x20            0x40009c2f20<PHONE_NUMBER>24
x21            0x4000874700<PHONE_NUMBER>80
x22            0x65f4              26100
x23            0x0                 0
x24            0x4000c673d8<PHONE_NUMBER>28
x25            0x6c1a1cae73a3c66a<PHONE_NUMBER>080694378
x26            0xd5a720            14001952
x27            0x14b0380           21693312
x28            0x4000688180<PHONE_NUMBER>40
x29            0xfffe75ffa6f8<PHONE_NUMBER>64760
x30            0x42caf4            4377332
sp             0xfffe75ffa700      0xfffe75ffa700
pc             0x45be04            0x45be04 <runtime.futex+28>
cpsr           0x60000000          [ EL=0 C Z ]
fpsr           0x10                16
fpcr           0x0                 0

gcc_arm64.S code snapshot
25 .globl EXT(crosscall1)
26 EXT(crosscall1):
27 stp x19, x20, [sp, #-16]!
28 stp x21, x22, [sp, #-16]!
29 stp x23, x24, [sp, #-16]!
30 stp x25, x26, [sp, #-16]!
31 stp x27, x28, [sp, #-16]!
32 stp x29, x30, [sp, #-16]!
33 mov x29, sp
34
35 mov x19, x0
36 mov x20, x1
37 mov x0, x2
38
39 blr x20
40 blr x19
41
42 ldp x29, x30, [sp], #16
43 ldp x27, x28, [sp], #16
44 ldp x25, x26, [sp], #16
45 ldp x23, x24, [sp], #16
46 ldp x21, x22, [sp], #16
47 ldp x19, x20, [sp], #16
48 ret

as see above, x19's value is strange

on 14 Oct, I submitted one similar issue: https://github.com/golang/go/issues/34886

Thanks for reporting this.
A few questions:

can you provide a reproducer? I'll be harder to debug the issue without a way to reproduce it
how often does this happen? Is it easily reproducible? Does it happen every time? Or once in a while?
does your program use cgo and or unsafe?
if you run it with -race, does the race detector print any warning?
have you tried running the latest released version (1.13.4)? Does your program crash with 1.13?

Thanks for reporting this.
A few questions:

can you provide a reproducer? I'll be harder to debug the issue without a way to reproduce it
A: I happened in production environment occasionally，still don't know how to reproduce it.

how often does this happen? Is it easily reproducible? Does it happen every time? Or once in a while?
A: It is not easily reproducible. It happen occasionally
does your program use cgo and or unsafe?
A: not use
if you run it with -race, does the race detector print any warning?
A: yes, it detect some data race warnings
have you tried running the latest released version (1.13.4)? Does your program crash with 1.13?
A: not yet. the version in production enrionment is 1.12.9. We plan to upgrade to 1.13. since it is not easy to reproduce, we are trying to produce it in dev environment.

race warning example:
WARNING: DATA RACE
Write at 0x00000127b680 by goroutine 47:
service.KafkaClientProducer()
/home/ossadm/smpagent/src/Apollo_EyeHand_go/src/service/kafkaDataUpload.go:28 +0x1f0
Previous read at 0x00000127b680 by goroutine 50:
service.uploadSaaSBasicInfoToKafka()
/home/ossadm/smpagent/src/Apollo_EyeHand_go/src/service/initSaaSConf.go:316 +0x4f
Goroutine 47 (running) created at:
main.main()
/home/ossadm/smpagent/src/Apollo_EyeHand_go/src/main.go:23 +0xc4
Goroutine 50 (finished) created at:
service.uploadSaaSBasicInfo()
/home/ossadm/smpagent/src/Apollo_EyeHand_go/src/service/initSaaSConf.go:59 +0x42
service.InitUploadSaaSConf()
/home/ossadm/smpagent/src/Apollo_EyeHand_go/src/service/initSaaSConf.go:18 +0x5c

A program with races is not a valid program. Please fix the races first and if you still see the issue, then open an issue.

@mmli519 Thanks.
What @agnivade said. The data races are probably corrupting random memory and causing the crash. You have to fix every data race in your program, or it'll keep crashing.
I'm closing here, since this is caused by an issue in the program.


Add archive flag and remove items from list if archived

We need an archive flag in TodoItem so that the DB will store this info. Also need to not display any items with this flag in the query of TodoItems.

Adding to Sprint 2.

Development done, moving to In Test.


[race] missing audio files in meta.xml

Weird, seems like somebody accidentally removed them, but it was before
GitHub.

I don't really understand why sometimes we hear this sounds, how is it even possible? No files in meta.xml means that they are not exist for scripts.

Can we rename the go!.mp3 sound? Having an exclamation mark in a filename feels wrong and may give problems in the future.

@AleksCore If you have the file already downloaded (from before it was removed), playing the sound sometimes still works

@JarnoVgr yea, I agree. I'll rename it when I'll be at home or you can do it :)

Done.


"Unread" view should say something if there's nothing in it for a reason

When I have no unread messages, the "unread" view appears blank, which is pretty confusing and makes one think that's it's still loading something.

Do you have any suggestion?
I think a nice icon and some text saying that you have nothing unread is good enough?
Google Inbox shows a sun, because 'inbox zero' is cool:
https://s-media-cache-ak0.pinimg.com/originals/67/c9/16/67c91622bd0cb7a54c396600d7a9ac90.jpg

ERROR: This issue has been assigned but is not labeled as being in progress.

Yeah, I think a nice icon and some text is fine.
One question, BTW: does the current "unread" view include PM threads or just stream/topics?  I feel like it probably should.

It does not. Currently, our left drawer is about streams, and the right drawer is about users/huddles.
I think once we join both, it might make sense (also in Nash's cards it will be like this)

fixed via https://github.com/zulip/zulip-mobile/commit/b1068d86ce610df64e637b0532cfd179715b02be
We can improve it (by adding image etc) in UI2.0 Project :) 👍 https://github.com/zulip/zulip-mobile/projects/9?

Closing this as implemented.
Opening #1440 to improve the screens with images at later time.


Incompatible with Intellij Ultimate version 222*

I am running IntelliJ Ultimate Edition with the following version: Build #IU-222.3345.118, built on July 26, 2022
I am unable to run the plugin, and the menu indicates: Incompatible: requires IDE build 221.* or earlier

Thank you for feedback
This issue is fixed in v.1.7.0. The release published to Jetbrains Market.

JetBrains is reviewing this update. Please expect it to be approved within two business days of the upload.


Reports can no longer be displayed in 2.0.0

We upgraded our puppetboard from 1.0.0 to 2.0.0. With the new version when you click on a report to display the events (/report/{id} path) we just get a internal server error.
Anyone else got this behavior as well?

@ZeroPointEnergy i just tested on the master branch and do not have this issue. Can you look in /var/log/http/puppet.dev.encore.tech_error_ssl.log for any stack traces?

Yes, this issue still persists for us with version 2.1.1. Reverting to 1.0.0 fixes the issue.
I'm unable to get the application to log any more than just that it is an internal server error. We use passenger and I configured logging the way it is documented in the README, but nothing ever gets written to it. The only output I ever see is from apache/passenger.

We finally figured this out. It was an error on our end, where our deployment had some issues and the virtualenv did not get updated with the correct dependencies. I'm closing this. Sorry for the inconvenience.


deps: Switch from json-rpc-engine to @metamask/json-rpc-engine

Switch from json-rpc-engine to renamed and maintained @metamask/json-rpc-engine

Add @metamask/utils for types moved there

Bump @metamask/safe-event-emitter from ^2.0.0 to ^3.0.0.

This is related to #14 but I don't think either should be blocking the other.

@legobeat It looks like this is causing build failures when upgrading core: https://github.com/MetaMask/core/pull/1547. I missed that the types got changed in @metamask/json-rpc-engine and that affected this package too. So in hindsight, this should have been released as a breaking change. Should we deprecate 1.0.1 and release 2.0.0 instead?

Should we deprecate 1.0.1 and re-release it as 2.0.0? If so I can reach out to the appropriate people.

Yes, this sounds appropriate


How to debug indiekit Twitter cross-posting ?

Describe the bug
Indiekit was working fine for me. It cross-posted my content to Twitter and then update it with the right syndication (e.g.: alienlebarge/alienlebargech-v3@c6e44b25cc7cb252ce525a268594db33a9c61274).
Suddenly, the cross-posting stopped working without having done any change in the code.
Expected behaviour
What is the best way to debug it ? Is there a way to see indiekit's log where I can see a cross-posting error ?
Environment

Indiekit version: 2.0.0
Browser: all
Server/host: Heroku
Content store URL: alienlebarge/alienlebargech-v3
Publication URL: https://alienlebarge.ch

Additional context

I have no error when accessing indiekit.alienlebarge.ch
Connection to MongoDB looks fine
alienlebarge/alienlebargech-v3#70

Eek! 😬
I see you already have this in your package.json file:
"scripts": {
    "start": "DEBUG=* node index.js"
  },

The DEBUG prefix means you should see any issues in the log. If you are hosting on Heroku you can view your logs on the dashboard or via the CLI.
Are you publishing via Netlify? Are you pinging the /syndicate?token=ACCESS_TOKEN endpoint upon publish?

That was the pinging. Apparently the token has changed ... perhaps I have done an upgrade and don't remember.
Thanks for your help !
close alienlebarge/alienlebargech-v3#70


Falcon 180B / Error

System Info
On a 8xa100 80Db Server when I try to launch the Falcon 180B or the TheBloke/Falcon-180B-Chat-GPTQ I always got:
The client socket has failed to connect to [localhost]:29500 (errno: 99 - Cannot assign requested address).
You are using a model of type falcon to instantiate a model of type . This is not supported for all configurations of models and can yield errors.
Traceback (most recent call last):
File "/opt/conda/bin/text-generation-server", line 8, in
sys.exit(app())
File "/opt/conda/lib/python3.9/site-packages/text_generation_server/cli.py", line 78, in serve
server.serve(
File "/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py", line 184, in serve
asyncio.run(
File "/opt/conda/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/opt/conda/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
return future.result()
File "/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py", line 136, in serve_inner
model = get_model(
File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/init.py", line 208, in get_model
return FlashRWSharded(
File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/flash_rw.py", line 64, in init
model = FlashRWForCausalLM(config, weights)
File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/custom_modeling/flash_rw_modeling.py", line 622, in init
self.transformer = FlashRWModel(config, weights)
File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/custom_modeling/flash_rw_modeling.py", line 556, in init
[
File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/custom_modeling/flash_rw_modeling.py", line 557, in
FlashRWLargeLayer(layer_id, config, weights)
File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/custom_modeling/flash_rw_modeling.py", line 490, in init
self.self_attention = FlashRWLargeAttention(
File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/custom_modeling/flash_rw_modeling.py", line 264, in init
raise NotImplementedError(
NotImplementedError: Tensor Parallelism is not implemented for 14 not divisible by 8
Information

[X] Docker
[ ] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction
model=TheBloke/Falcon-180B-Chat-GPTQ
volume=/work/work1/weights
token=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
docker run --gpus all --shm-size 1g -e HUGGING_FACE_HUB_TOKEN=$token -p 8082:80 -v $volume:/data ghcr.io/huggingface/text-generation-inference:latest --model-id $model --quantize gptq --sharded true --num-shard 8
Expected behavior
It to work

Using this the tag sha-4cce843 it works fine


iOS "Unregister()" inaccessible

iOS FirebasePushNotificationManager.cs has the following unused and inaccessible method:
        public void Unregister()
        {
            if (connected)
            {
                CrossFirebasePushNotification.Current.UnsubscribeAll();
                Disconnect();
            }
            UIApplication.SharedApplication.UnregisterForRemoteNotifications();
            InstanceId.SharedInstance.DeleteId((h) => { });
        }

Should this be added to the Abstractions interface?

Released in latest version 2.3.0. Included methods for registration/unregistration on demand if needed:
CrossFirebasePushNotification.Current.RegisterForPushNotifications();
CrossFirebasePushNotification.Current.UnegisterForPushNotifications();


Add XQuartz to macOS default machine

Tool information

Tool name: XQuartz
Add or update? Add
Desired version: Latest
Approximate size: 76 MB
If this is an add request:

An X11 server is no longer standard for macOS, however some open source libraries cross-compiling onto the system require it to be installed. Having it there by default would be great.
URL for tool's homepage: https://www.xquartz.org

Area for Triage: Apple
Question, Bug, or Feature?: Feature
Virtual environments affected

[x ] macOS 10.15
[ ] Ubuntu 16.04 LTS
[ ] Ubuntu 18.04 LTS
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Can this tool be installed during the build?
Yes, takes about 2 minutes with download from the website. Following commands used:
        if: runner.os == 'macOS'
        run: |
          wget https://dl.bintray.com/xquartz/downloads/XQuartz-2.7.11.dmg
          sudo hdiutil attach XQuartz-2.7.11.dmg
          sudo installer -package /Volumes/XQuartz-2.7.11/XQuartz.pkg -target /

Are you willing to submit a PR?
Once I understand how GitHub Actions work, maybe!

@p-smirnov can you help us understand what kind of workflows would benefit from having this built into the image?

Sure!
I am using Github Actions to test R package development across platform. Some existing libraries in R, which are unfortunately quite common dependencies, rely on TCL/TK libraries to build. On macOS, this creates a dependency on X11.
I am not 100% sure, but I think a similar situation could happen with scientific package development in other languages, such as Python or Julia.

thanks for the info @p-smirnov, considering some compat concerns and other work we have to prioritize right now we won't be able to preinstall it at this time. Please reopen if this becomes a blocker or you want to discuss further.


Enhancement: Figure out workflow/necessary features to support mass ingestion + tagging + review for data dumps

Title.
Two immediate use cases:

Content analysis + review from exfiltration

Content Analysis + review from data dump

I would like to be able to ingest a 'clump' of data, and have it parsed/ingested/tagged appropriately.
This data may be 100+ thousand emails, or text files.
Figure can convert other file types into txt anyways.
Similar to Bulk Obsidian Import. Only for this all items would be associated with one another, and would only be relevant to each other.
ala https://www.cybermongol.ca/frontier-research/red-reaper-building-an-ai-espionage-agent
Use case is for red teams and/or Investigative journalist.

Realisitcally to handle this would expand the scope of this a bit much.
Instead, going to implement this via: https://github.com/rmusser01/BloodHound-Investigator/tree/main


Blockscout-ENS: Space.ID support (gnosis)

Gnosis planning to release their .gno namespace using the Space.ID framework
Space.ID stuff:
https://docs.space.id/developer-guide/web3-name-sdk/web3-name-sdk
https://docs.space.id/developer-guide/web3-name-sdk/sid-api
Chiado released contracts: - Registry / Controller are the core contracts, others (Gift Card / Referral are ancillary functions)
SidRegistry:  0x5c5C9C16869608602b2f6d89F1ce29D3fF45ADba
SANN:  0xb6d83d27c7cDDb5C27eE883B87aA6C48DD6A58D2
PlatformConfig:  0x60Bd95d6F823E71aa03B65Ff4e63da32294f3803
PriceOracle:  0xf1f9885518343062B07e3c2B4b2668fb17A491B7
BaseCreator:  0xA156A6649c9b300a7285a4F04b9ae766bA9f12D0
PrepaidPlatformFee:  0xcC1ac8E153968CC8a73d02aa03DA58A509bDAD23
ReverseRegistrar:  0x7012Dd662F82a95aB280897AEec51651fbfE7E44
RegistrarController:  0x754D6827A57334143eD5fB58C5b1A4aAe4396ba5
GiftCardBase:  0x4C7E5E1e199c688558d170dF691FF0Db4286f658
GiftCardVouncher:  0xE1FAc458aa198747d15F8c3bcf031424Dd14F4Df
GiftCardLedger:  0xFbDc73179793a228c1758B4D808D0F1292548D3A
GiftCardController:  0x45d2C3Bc6428019cD43A0162a410691827F489Ce
ReferralHub:  0xFAe48bC538e9052A55CBdbC5F2d2DDe7e52e3f14
PreRegistrationCreator:  0xd3041542817000786bcF7eA21dAE5c48162cc532
TLDFactory:  0x0C489Cd984422d360375eA0070141e60037C7eBB
PublicResolver:  0x1b6689cF0830a2dA646110645a06728f375407B8
Interface - https://test.genomedomains.com/

Code for genome-subgraph and bens-server is written. Currently we are waiting for deployment of base contract (transaction should be from this address https://gnosis.blockscout.com/address/0x3802AB1E503ab373D370d71386DFEe33851e32A9 as far as I understand)


While The RDC replay was finishing, the socket between Android phone and PC disconnect.

Description
I capture a frame on a Mate 40 Pro mobile(android), the graphics api is Vulkan,  I double click to open the RDC file and replay it。The renderdoc show Events successfully, but socket between Android phone and PC disconnect.。Here is the log:
ALOG 011865: [19:37:16] vk_resource_funcs.cpp( 375) - Warning - Can't create buffer covering memory allocation ResourceId::15302
ALOG 011865: [19:37:18] vk_resource_funcs.cpp( 375) - Warning - Can't create buffer covering memory allocation ResourceId::16238
ALOG 011865: [19:37:21] vk_resource_funcs.cpp( 375) - Warning - Can't create buffer covering memory allocation ResourceId::16465
ALOG 011865: [19:37:22] vk_resource_funcs.cpp( 375) - Warning - Can't create buffer covering memory allocation ResourceId::16714
ALOG 011865: [19:37:23] vk_resource_funcs.cpp( 375) - Warning - Can't create buffer covering memory allocation ResourceId::17832
ALOG 011865: [19:37:30] vk_resource_funcs.cpp( 375) - Warning - Can't create buffer covering memory allocation ResourceId::18603
SQCC 003500: [11:12:32]    remote_server.cpp(1628) - Log     - Capture open complete
SQCC 003500: [11:12:32]    remote_server.cpp(1654) - Log     - Capture ready on replay host
SQCC 003500: [11:12:32]     d3d11_replay.cpp( 125) - Log     - Running replay on Intel / Intel(R) UHD Graphics 630 <IP_ADDRESS>19
ALOG 011865: [19:37:31]          vk_core.cpp(2361) - Log     - Timer chunk initialisation - 21461.974 ms
SQCC 003500: [11:12:33] replay_controller.cpp(2021) - Log     - Got replay driver.
SQCC 003500: [11:12:33]    remote_server.cpp(1683) - Log     - Remote capture open complete & proxy ready
QTUI 003500: [11:12:33]    replaymanager.cpp( 461) - Log     - QRenderDoc - renderer created for "/sdcard/Android/data/com.org.renderdoc.arm64/files/RenderDoc/com.org.renderdoc.arm64_2020.12.13_11.37.rdc"
SQCC 003500: [11:12:36]         streamio.cpp( 415) - Warning - Error reading from socket
SQCC 003500: [11:12:36]     replay_proxy.cpp(2725) - Error   - Error during processing of RemoteExecutionFinished
SQCC 003500: [11:12:36]     replay_proxy.cpp(2725) - Error   - Error during processing of ReplayLog
SQCC 003500: [11:12:36]    win32_network.cpp( 242) - Warning - send: WSAENOTSOCK: An operation was attempted on something that is not a socket
SQCC 003500: [11:12:36]         streamio.cpp( 570) - Warning - Error writing to socket
SQCC 003500: [11:12:36]     replay_proxy.cpp(2725) - Error   - Error during processing of ReplayLog
SQCC 003500: [11:12:36]     replay_proxy.cpp(2725) - Error   - Error during processing of RemoteExecutionFinished
SQCC 003500: [11:12:36]     replay_proxy.cpp(2725) - Error   - Error during processing of ReplayLog
SQCC 003500: [11:12:36]     replay_proxy.cpp(2725) - Error   - Error during processing of SavePipelineState
SQCC 003500: [11:12:36]     replay_proxy.cpp(2725) - Error   - Error during processing of RemoteExecutionFinished

Analysis
Compare the history version
RenderDoc_1.8_64
The question was not present.
RenderDoc_1.9_64
The question was first present.
During 2020.5.20~2020.7.22, I compare all Nightly version
I found this commit ID 02a54be6ad35f12aaaff1ad80707af00f67ef98c, as follow code:
GetDebugManager()->FillWithDiscardPattern(commandBuffer, DiscardType::RenderPassLoad,
                                                        image, initialLayout, viewInfo.range,
                                                        RenderPassBegin.renderArea);

This Discard pattern Function result in more memory was allocated, the android lowmemorykiller killed this program. Log as follow:
12-13 11:37:34.430 <6>[243616.553527s][pid:12043,cpu6,Thread-2]lowmemorykiller: Killing '.orgrendderdoc.arm64' (11865) (tgid 11865), adj 0,

Environment

RenderDoc version:  1.
Operating System: Windows 10 and Android 10
Graphics API: Vulkan 1.2.141
GPU Device: Mali-G78
ADB version: 1.0.41

Hi there, your issue has been closed due to not correctly following the issue template. Please read the documentation about filing issues and open a new issue which does follow the issue template. Do not reply to this issue with more information or with a correctly formatted issue, as that will only lead to confusion.
I try to address all github issues and fix bugs quickly, but badly formatted issues or poorly described bug reports especially are a significant drain on project resources. Taking a few minutes to file a good issue makes a huge difference and will get it addressed faster - everybody wins!
In github when you first create a new issue the form is pre-populated with a template which you should read over and follow. As linked above there is documentation going into more detail about what makes a good issue.


⚠ Bofrost.lu has degraded performance

In 5c95a64, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1235 ms

Resolved: Bofrost.lu performance has improved in 4d21525 after 10 minutes.


malformed module path "Daddyxxx.MS.BMS": invalid char 'D' in first path element

What version of Go are you using (go version)?

$ go version
go version go1.12 darwin/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/fmy-leaves/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/fmy-leaves/Documents/gowork:/Users/fmy-leaves/gopath"
GOPROXY="https://goproxy.io"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.12/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.12/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/gv/1llmkg217x1bb_jsy0blklfc0000gn/T/go-build434507636=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

when build the project with cmd:
GO111MODULE=on  go build
, and go.mod content is :
module Daddyxxx.MS.BMS

go 1.12

replace (
	Daddyxxx.MS.Common => ../Daddyxxx.MS.Common
        Daddyxxx.MS.Drift => ../Daddyxxx.MS.Drift
	Daddyxxx.MS.Growth => ../Daddyxxx.MS.Growth
)

require (
	github.com/codegangsta/negroni v1.0.0
	github.com/go-sql-driver/mysql v1.4.1
	github.com/golang/protobuf v1.3.0
	github.com/gorilla/mux v1.7.0
	github.com/micro/go-grpc v0.11.0
	github.com/micro/go-micro v0.27.0
	github.com/micro/go-plugins v0.25.0
	github.com/opentracing/opentracing-go v1.0.2
	github.com/pkg/errors v0.8.1
	github.com/upyun/go-sdk v2.1.0+incompatible
	github.com/ylywyn/jpush-api-go-client v0.0.0-20180208091336-d2522f23f3f7
	golang.org/x/crypto v0.0.0-20190227175134-215aa809caaf
	golang.org/x/net v0.0.0-20190227160552-c95aed5357e7
	google.golang.org/grpc v1.19.0
)

What did you expect to see?
What did you see instead?
go<EMAIL_ADDRESS>malformed module path "Daddyxxx.MS.BMS": invalid char 'D' in first path element
go: error loading module requirements

Seems like the first element of a module path must be a valid lowercase domain name, excluding non-ascii.
The first portion of a module path is expected to be a valid domain name, since that's what ensures global uniqueness of import paths.
We resolve the mismatch by requiring that the portion of the Go import path that includes the domain name appear in lower case.

Yes, sorry, this is an intended restriction on module paths. Use lower-case.

thinks , I got it.

I understand why this is an intended restriction but it is making it difficult to adopt Go modules inside our company. We have an instance of Gitlab hosted locally(over HTTP). We have a repo which provides common building blocks for writing Go applications such as error handling and API clients to internal services. I had 'vendored' this earlier using dep and for whatever reason, I had to use the import path XYZ-01.redbus.in/modules/rbgo to make it work(still the case, see below for more details). But now I cannot migrate to Go modules because of this issue:
$ go get -insecure XYZ-01.redbus.in/modules/rbgo
go: finding XYZ-01.redbus.in/modules/rbgo latest
package XYZ-01.redbus.in/modules/rbgo: unknown import path "XYZ-01.redbus.in/modules/rbgo": malformed module path "XYZ-01.redbus.in/modules/rbgo": invalid char 'I' in first path element

$ go get -insecure xyz-01.redbus.in/modules/rbgo
go: finding XYZ-01.redbus.in/modules/rbgo v0.0.0-20190725041006-4a7cd3753cb9
go get xyz-01.redbus.in/modules/rbgo: unrecognized import path "xyz-01.redbus.in/modules/rbgo" (parse http://xyz-01.redbus.in/modules/rbgo?go-get=1: no go-import meta tags (meta tag XYZ-01.redbus.in/modules/rbgo did not match import path xyz-01.redbus.in/modules/rbgo))

$ curl 'http://xyz-01.redbus.in/modules/rbgo?go-get=1'
<meta name="go-import" content="XYZ-01.redbus.in/modules/rbgo git http://XYZ-01.redbus.in/modules/rbgo.git" />

Even if I am able to identify the reason for meta tags to include the domain name as 'XYZ-01', when and if I fix it, it will break existing code. Do you have any suggestions on what I could do?

@sudo-suhas, you will need to update the import paths in the existing code prior to converting to modules.
One way to do that without intermediate breaking changes would be to add a new package at a new import path (say, xyz-01.redbus.in/modules/rbgo/v2), then rewrite the package at the previous path (XYZ-01.redbus.in/modules/rbgo) to forward all of its top-level declarations to the new path (using type aliases and tiny forwarding functions):
package rbgo // import "XYZ-01.redbus.in/modules/rbgo"

import (
	v2 "xyz-01.redbus.in/modules/rbgo/v2"
)

type T = v2.T

func SomeFunction() *T {
	return v2.SomeFunction()
}

[…]

Then you can incrementally update all of the importers to refer directly to the new path, and then finally convert those importers to use modules.


Error fetching GHSA: NoClassDefFoundError: com/fasterxml/jackson/core/exc/StreamConstraintsException

Executing the published jar, I get:
$  java -jar vulnz-5.0.1.jar database --skipKEV --skipEPSS --skipNVD
                          _/
 _/      _/   _/    _/    _/     _/_/_/     _/_/_/_/
_/      _/   _/    _/    _/     _/    _/       _/
 _/  _/     _/    _/    _/     _/    _/     _/
  _/         _/_/_/    _/     _/    _/   _/_/_/_/

Open Vulnerability Project
💖 Sponsor: https://github.com/sponsors/jeremylong

Begin Vulnerability Database Update
Starting GHSA

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
Application run failed
java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/exc/StreamConstraintsException
	at com.fasterxml.jackson.databind.node.JsonNodeFactory.objectNode(JsonNodeFactory.java:353)
	at com.fasterxml.jackson.databind.ObjectMapper.createObjectNode(ObjectMapper.java:3352)
	at io.github.jeremylong.openvulnerability.client.ghsa.GitHubSecurityAdvisoryClient.query(GitHubSecurityAdvisoryClient.java:222)

unzipping the jar, jackson-core-2.13.5.jar does appear to be present in BOOT-INF/lib, but that jar does not appear to contain a StreamConstraintsException class
On the off-chance that it matters, this is with jdk19:
openjdk 19.0.2 2023-01-17
OpenJDK Runtime Environment (build 19.0.2+7-nixos)
OpenJDK 64-Bit Server VM (build 19.0.2+7-nixos, mixed mode, sharing)

interesting... I'll have to investigate this a bit. The class is supposed to be in jackson-core since 2.0.


ADR 002: Localhost Client

Labelled 02, since I think ADR 001 from the SDK should be ported here as its more relevant to IBC

should we merge this ADR?

should we merge this ADR?

I was waiting on a response to this. It seems likely @AdityaSripal might not be the one to implement this ADR, so I think there should be a clarification on what to do in the instance I pointed out. I'd prefer not to leave parts of the implementation up to interpretation

I'm closing this. It is linked in the localhost issues, so it can be reopened if it becomes relevant again, but for now it seems this won't go anywhere (and isn't a priority at all)


@Field(type = FieldType.Keyword) does not seem to be taken in account on Id fields

A solution for databases that are using uuid as Id (i.e. cassandra/mongo) and Spring-data-elastic is to use '@Field(type = FieldType.Keyword) ' in addition of the usual @Id field on the document.
It looks like it is not supported by Jest for the moment, the only solution being a json mapping:
@Id
    @Field(type = FieldType.Keyword)
    @Mapping(mappingPath = "/mappings/asset_id_mapping.json")// due to @Field(type = FieldType.Keyword) property ignored by Jestclient
    private String id;
{
    "type": "keyword",
    "fields": {
        "keyword": {
            "type": "keyword",
            "ignore_above": 256
        }
    }
}

Hi @Tcharl , Thanks for your feedback. I will investigate on it.

Hi @Tcharl , it's fixed in the new release 3.2.0.RELASE.

Whouhooooo! You're the one! Let's upgrade #jhipster-dependencies on my side :-D


Crash when trying to access bundle context.

The following code produces EXEC_BAD_ACCESS on Mac OS X.
FrameworkFactory factory;
auto f = factory.NewFramework(configuration);
auto fmc = f.GetBundleContext();
f.start();

User's should not be able to retrieve the framework's bundle context before the framework has started, but the function should not crash.

Good catch. The function now returns an invalid context if the framework has not been initialized yet.


Authentication on TElasticSearchAppender

I've installed an ELK stack using docker on a local VM to play around with ElasticSearch.
The services seem to be up and running and listening on the default ports.
When calling the URL like it is found in the LoggerProConfig unit for the elastic search demo (demo 120)
_RESTAppender := TLoggerProElasticSearchAppender.Create('http://localhost', 9200, 'loggerpro');

There seem to be no option for authentication.
When calling any request from the supplied demo program, this error is thrown:
ExceptionMessage="{"error":{"root_cause":[{"type":"security_exception","reason":"missing authentication credentials for REST request [/loggerpro/_doc]","header":{"WWW-Authenticate":["Basic realm=\"security\" charset=\"UTF-8\"","ApiKey"]}}],"type":"security_exception","reason":"missing authentication credentials for REST request [/loggerpro/_doc]","header":{"WWW-Authenticate":["Basic realm=\"security\" charset=\"UTF-8\"","ApiKey"]}},"status":401}"

When calling the URL directly in a browser or using a rest client like postman an authentication has to be send together with the request.
After a successful authentication, a valid json object is shown:
{
  "name" : "elasticsearch",
  "cluster_name" : "docker-cluster",
  "cluster_uuid" : "Jt7XTXq6Q4q9ydcDFgDrdg",
  "version" : {
    "number" : "8.10.4",
    "build_flavor" : "default",
    "build_type" : "docker",
    "build_hash" : "b4a62ac808e886ff032700c391f45f1408b2538c",
    "build_date" : "2023-10-11T22:04:35.506990650Z",
    "build_snapshot" : false,
    "lucene_version" : "9.7.0",
    "minimum_wire_compatibility_version" : "7.17.0",
    "minimum_index_compatibility_version" : "7.0.0"
  },
  "tagline" : "You Know, for Search"
}

So it there already a way on how to pass the credentials? Or does the authentification module need to be added?
Best regards
Bastian

I saw, that the ElasticSearch Logger is a child object of the Restful Logger which is missing the authentication modes as well.
Maybe it would be a good idea to implement the standard authentication modes in the base class (Basic auth, Bearer Token, Generic API Key, etc)


second argument of ctr_send_message should be const char * type

This affects over the world.
e.g. ctr_build_string and so on.

can you elaborate?

message isn't change by calling ctr_send_message function.
So message argument should be const char*, i think.


refactor AccessDeniedException to control check optionally

Currently the AccessDeniedException is thrown when userId is optional. But this check must be changed and made optional.

[ ] Move Access validation to a separate component.
[ ] The validation to be done only if the authentication provider is available.
[ ] Otherwise return 'true' by default.

current example code
if (!StringUtils.equals(userIdOptional.orElse(null), deployServiceEntity.getUserId())) {
            throw new AccessDeniedException(
                    "No permissions to destroy services belonging to other users.");
        }

Depends on https://github.com/eclipse-xpanse/xpanse/issues/1493

I will take it


force-delete & restore button with full functionality

WHY

just to contribute :)

BEFORE - What was wrong? What was happening before this PR?
you dont have force delete and restore actions
AFTER - What is happening after this PR?
generated new button sets for force-delete and restore, applied scope to queries and added useful 2 methods in CrudTrait,
checked in CrudController if has the access for forceDelete to be able to apply filterscope ( to avoid applying every model which has softdeletes to not appear in list views (datatable) when the items are deleted )
HOW
How did you achieve that, in technical terms?
used your delete.blade.php as a template, just applied my own logic for both operations ( forceDelete, restore )
Is it a breaking change?
it has to be :)
How can we test the before & after?
just checking the code may bring the idea, its not complex change but it breaks nothing.

A new inspection was created.

The inspection completed: 1 new issues, 7 updated code elements

Hey @siberfx - I have good news. We have a PR that we will be merging in 1-2 months for this exact thing. But coded a bit differently, as separate operations - SoftDelete and HardDelete (aka TrashOperation).
Thanks for the PR 🙏


Determine how to deal with immutability requirement / sibling fusion in dataflow

Options include:
-Do nothing, and enforce via coding conventions (and hope the dataflow team comes to its senses).
-Making a copy of the input before every apply() / processElement() / etc. (only affects dataflow code, but is inefficient (since it copies even when there's no mutation) and brittle since it only affects tools that go through our interface).
-Make our types immutable, and add builders for mutation that perform copies (affects/penalizes non-dataflow code as well, since it will no longer be possible to modify in place).
-Have both mutable and immutable views of each type, plus a builder (hard to manage given dataflow's poor support for polymorphism)

We're leaning towards the wrapper option at this point, so as not to penalize non-dataflow code for dataflow's shortcomings.

SafeDoFn seems to be the winner -- let's implement it

Want a Copyable interface, plus a DoFn wrapper that copies each element and wraps in a new ProcessContext

As determined by @davidadamsphd , the Copyable interface idea won't work:
The recommendation from the Dataflow team was to make a narrow API and do the copying part of the API. I started down this route, and I think it might be doable for things like the walker interface. The idea is to make a Copyable interface and have our interfaces extend that.
However, we have unsafe code already in the engine. I tried to make this SafeDoFn approach, however it became clear quickly that we'd have a combinatorial explosion of classes because we don't just have DoFn<GATKRead,POut>, but also <Iterable,POut>, and many others. So, this approach will not work for the engine.
I then tried to make a general purpose solution (using coders to write to bytes and then recreate a new class). This doesn't work for a few reasons, most critical is that the coder registry isn't Serializable, so that can't be passed down deep enough to get this to work.
While working on this, I chatted with someone on the Dataflow team who is working on the verification on the direct runner. He has a PR out and likely going to get it approved soon. So, for the engine, we could always test using the direct runner and know for sure there are not issues (once we can use his code). However, there are two downsides:

We will need to wait for a cut of the SDK (which looking at their previous clip is likely ~ two weeks away).

I don't know if we want the direct runner test as our general purpose solution. Can we expect Comp Bios to always test with the direct runner first? Will they write anything more complex than functions that use the Walker interface?

Next step is to evaluate using Kryo for the deep copying in the SafeDoFn approach (uses reflection to deep copy all fields via direct assignment (no byte array intermediary)).

After an evaluation by @davidadamsphd, we've eliminated Kryo as an option due to its requirement that types either have a default constructor or implement Serializable (a problem for types we don't control).

This issue was moved to broadinstitute/hellbender-dataflow#20


Overwrite the array in deep merge logic

Issue:
https://github.ibm.com/IBMPrivateCloud/roadmap/issues/63136
https://github.ibm.com/IBMPrivateCloud/roadmap/issues/63126
Context
We've implemented JSON deep merge into ODLM reconciliation to support the merging of array objects. However, this  leads to a side effect where ODLM lost control over individual items in the arrays, causing problems during upgrades. This resulted in a case where the ibm-iam-operator in ibm-bts-request couldn't be removed and blocked the upgrade process.

/retest


✨ New component: Button Icon

We created the component Button Icon in native and web
Figma prototype
Native:

Web:

You folks can hate rebase, but it saved the merge issue 😂

This is what we have on our documentation now

Also, this is what we have on mobile as well

@all-contributors pleas add @coelhucas for review (yeah I'm self promoting me 😂)

@all-contributors please add @marcosricardo for code


Loss function: additional robustness?

Hi @yuxumin, I've been wondering if you tried to combine both the CD_l1 & CD_l2 loss function during training? Maybe it would yield better results?

Hi, @blukaz . We haven't try it.

I'll try it out and let you know.
Btw, have you tried EMD? Do you know any good and valid implementation for that?

@blukaz Thanks a lot.  We haven't tried to optimize emd loss along with CD loss during the training, but i think it worth a try. As for implementation for emd, maybe you can try it  (But I can't guarantee the correstness of this implementation)

@ thank you for the link! Keep you updated in the coming days.

@yuxumin do you have any recommendation on how to fix clustering of the coarse prediction? I have the problem that the dense loss is a magnitude lower than the coarse. Did you encounter similar problems?

You mean that the CD-loss for dense cloud pairs are much less than those for coarse pairs?  Yes, i notice it too.  I find some works adopt the weighted sum of these two losses. For example, loss = fine_loss + \alpha * coarse_loss and decrease the value of \alpha during the training. But i am not sure whether it will help.

Yes, exactly that. Ok, I see. I'll try that. Thank you for your quick response!


Library suggestion

I noticed from the source code, that the library PyFasta is used to fetch genomic sequences.
Using PyFaidx may be a better choice for this. Pyfaidx never loads the sequence to memory but instead makes use of the fasta index (.fai) to quickly fetch the sequences. This would significantly alleviate the memory requirements.
I have a version of TranscriptClean with this library and based on a few tests, the output is unchanged while reducing virtual memory to less than half.

Thank you! The migration to pyfaidx should now be complete.


rename HtmlError to HttpError

This may be a bit pedantic, but gcsfs errors are related to the http transfer protocol, not html. It would make more sense for them to be called HttpError instead
https://github.com/dask/gcsfs/blob/f64f9c54cf2522da222186b33abeafcfbff2dcc0/gcsfs/utils.py#L91

Agreed, happy to see a PR, if you have time.


addded horsemanship skills

I can not merge this without the compiled PDF.
What happens? You Mac doesn't have Docker?

Sorry, this is not going live :)


Not working with Arduino IDE version 2.x

It looks like the format for downloading is https://downloads.arduino.cc/arduino-$ARDUINO_IDE_VERSION-linux64.tar.xz, where it appears that since version 2.0.0 there is only https://downloads.arduino.cc/arduino-ide/$ARDUINO_IDE_VERSION_Linux_64bit.zip. I guess that needs an additional check.

Hi @Aypac. Unlike Arduino IDE 1.x, Arduino IDE 2.x does not have a command line interface, so it could not be used with the install.sh script maintained in this repository even if the script was updated to be able to download Arduino IDE 2.x.
However, this is not a problem because Arduino created a dedicated command line tool named Arduino CLI that has all the functionality of Arduino IDE 1.x's CLI and much more. Arduino CLI actually provides all the non-GUI functionality for Arduino IDE 2.x, so using Arduino CLI in your CI system provides effective coverage of Arduino IDE 2.x compatibility.
The modern build_platform.py Python script hosted in this repository is already using Arduino CLI, so you only need to switch your CI system from using install.sh to build_platform.py (there is also an associated actions_install.sh script to install the tools if you like) and you will be using the modern Arduino tooling. See the readme for instructions.

Thank you @per1234 !
In the meantime I actually discovered that Travis CI is not free for open-source projects anymore. So I decided that rather than repairing, I'd move over to Github "Actions". They actually seem a bit easier to setup anyway and I find it nice to have it all in one place. Plus they are free for Open-Source (for now). I see you also added an according note on the tutorial on the adafruit website.


conversation where Brand Soda decides to follow you

https://github.com/pixequil/oso-game-1/blob/3947b4363665b03f0ffaff9154071cda2a8d899b/game/room001-mainstreet.rpy#L88

i cant upload any files but here's the scene i wrote
p "Hey, BS!"
bs "Yo, Posty! How’s my favorite mailbox?"

p "I’m doing alright..I got a big package to deliver today!"

bs "Dope. What’s it for?"

p "Just the OSO dome, is all."

bs "WOAH! That {i}is{/i} big! Something like that is bound to draw a lot of attention…"

bs "Do you have any idea how overwhelming that could be?"

p "Oh, uh… I never thought about it that way."

bs "Don’t worry, bud, I got your back."

show bs follow with move:
    xalign 0.35

bs "While you deliver the package, I’ll direct those prowing eyes towards yours truly!"

bs "Get some brand deals, maybe sign a deal or two…Everybody wins!"

p "Alright, I guess. The more the merrier, right?"

bs "Sweet!"

@PlugBoyOfficial this doesn't work in the context of brand soda's character. brand soda is largely unpopular and is banned from all areas other than main street

Modified version of Plugboy's dialogue that fits in with his established characterization
$ last.mainx = 1.0
scene bg mainstreet
show posty neutral
show bs behind posty

bs "Yo, Posty! How’s my favorite mailbox?"
p "Oh, hi Brand Soda. I'm busy with delivering an important package right now."
bs "Dope. Who’s it for?"
p "The OSO Dome."
bs "WOAH! That...is...big! Something like that is bound to draw a lot of attention…"
bs "Do you have any idea how overwhelming that could be?"
p "It kinda slipped past me..."
p "Hey speaking of attention, how's that deal at the comedy club?"
bs "They banned me after one act, can you believe it? Called me a hack fraud."
bs "ME! THE NEXT BIG THING!"
p "What did you do to get banned?"
bs "I called the audience freaks and geeks for about ten minutes."
bs "The whole street banned me actually."
bs "Even if I took one step on the pavement there, they'd call the police on me for trespassing."
bs "And other streets caught wind and now I can't promote myself anywhere else other than here."

bs "If I had a marketing agent or something, I could get enough attention on me to get back into those venues..."
bs "Hey, I have an idea! What if you took me around town and we can get some marketing for me?"
p "Oh, I don't know...I've got a lot on my plate right n-"

show bs follow with move:
    xalign 0.35

bs "Nope, it's already decided. I'm here now!"

$ party_bs = True
"{b}{color=#df7dff}Brand Soda{/color}{/b} joined your party!"

p "Alright, I guess."
bs "Sweet! Let's get us some marketing!"

looks good!


UTF8 Encoding Question

System information:

Operating system (distribution) and version W-10 single user
DBeaver version: <IP_ADDRESS>003021717

Connection specification:

Database name and version: Postgres version 15.x

Describe your question:  Running some queries returns the error:  ERROR: invalid byte sequence for encoding "UTF8": 0xa0.  This is probably a simple thing to fix but I haven't found the answer.  I did try setting the encoding  in the Edit menu but it made no difference.

hi, @BobInCT ,
could you post an example of query that returns the mentioned error?

Example:
select distinct type as Buyer_Seller_Carrier, R.Code, R.name as Company_Name, T.Person as Person,
T.email as Email, T.Ship_mgr_phone as Phone, T.Emer_numbers as Emergency
from wwrdex R
join wwtrans T on T.parent_ID = r.ID and T.inactive <> '1' and
(T.Contract_auth = '1' or T.Dist_con = '1' or T.Ship_mgr = '1' or T.Dist_ship = '1' or Freight_Quote = '1' or T.Freight_Mgmt = '1')
where (r.status = 'A' or rtrim(r.status) = '') and rtrim(T.email) <> ''
Order by R.name;

could you provide ddl to create these tables?
sorry for the late response

I honestly don't think this will help because the problem is very intermittent and seems to be data related.  I can go for weeks without seeing the problem and then one record throws the error.  If I do the same query in Admin4 for the same record I get no error.  In fact I haven't seen the problem in the past couple of weeks, maybe something was changed that inadvertently fixed the problem?

Seems that issue was solved (Hope so :))
Ticket closed.


Update the owning-inventory for existing objects during migration

After we add the InventoryPolicy in the cli-utils library, we need to update the migrate command so that the owning-inventory annotations are pointed to the ResourceGroup object. The change is to loop over the resources that are included in the ConfigMap inventory object and change their owning-inventory annotation to the new ResourceGroup CR.
When updating the owning-inventory annotation, we also update the last-applied-configuration annotation.
Fix #1306 This is a different approach compared with #1307.

/assign @mortent @seans3

Should we squash the commits before merging?

Should we squash the commits before merging?

@seans3 I squashed the commits. Let's wait for the tests to pass.

@seans3 I squashed the commits. Let's wait for the tests to pass.


Pub/Sub Subscriber Deadlock w/ Executor pool size of 1

Continuing from #1865 - this deadlock case still exists.

See #1827 for another example

Looks like #1915 didn't separate poller executors from message dispatcher executor.

Closed by #2049


[ADDITION] Picocrypt

Category
Picocrypt
Software to be added
Picocrypt is a very lightweight but powerful utility for encrypting files.
Supporting Material
https://github.com/HACKERALERT/Picocrypt
Affiliation Disclosure
I am not or have not been affiliated with this project in any way.
Would you like to submit a PR?
Maybe?
Please tick the boxes

[X] You have filled out this form accurately, and to the best of your knowledge
[X] You have indicated whether or not you are associated with the suggested addition
[X] A similar submission has not already been opened for this software / service
[X] You agree to the code of conduct

Done in https://github.com/Lissy93/awesome-privacy/pull/296. Thanks!


How to test with snapshots child components

Hi, i am trying to test my react components with snapshots testing) The thing is how can i render my child components?  I am using Apollo and next.js, the page is rendering correctly but the items is not.
My test is like this
describe('tab', () => {
  const store = createStore(errorUI);
  it('renders correctly', async () => {
    let wrapper;
    const mocks = [
      {
        request: {
          query: Query
        },
        result: { data: { Mocked } }
      }
    ];
    await act(async () => {
      wrapper = TestRenderer.create(
        <MockedProvider {...mocks} addTypename={false}>
          <Provider store={store}>
            <I18nextProvider i18n={i18n}>
              <VippedPage  { ...Mocked }/>
            </I18nextProvider>
          </Provider>
        </MockedProvider>
      )
    });
    const tree = wrapper.toJSON();
    expect(tree).toMatchSnapshot();
  });
});

and my component is something like this
const Componeny =  () => {
const { loading, data, error, fetchMore } = useQuery(query);
const items = data?.items || [];
  const itemsList =
    items &&
    items.map(item => (
      <Item
        key={item.id}
        carousel={true}
        itemId={itemId}
        setCarousel={setCarousel}
        {...item}
      />
    ));
  return (
          <EndlessItemsHoc>
            {itemsList}
          </EndlessVipItems>
  )
}

Snapshot is just like this.
    +   <section
    +     className="section section-block section-white"
    +   >
    +     <div
    +       className="section-list"
    +     />

We had even less complicated pages but the main problem is in this components with children. Thanks for your help)

Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.


can we config default scheme for url starts with "//" on android

We are encountering an issuse that urls that have no scheme use "file://" by default. For example, "//g.alicdn.com/sd/nvc/1.1.112/guide.js", it seams to be "http://" by default on iOS with WKWebView, so it can fetch from "https://g.alicdn.com/sd/nvc/1.1.112/guide.js"
But on android, it is "file://" by default, so it becomes "file://g.alicdn.com/sd/nvc/1.1.112/guide.js".
Is there a way that we can config to use "http://" for urls starts with "//" on android platform when using this plugin?
cordova 8.1.2
cordova-android 6.4.0
cordova-plugin-ionic-webview  1.2.1

it's possible on version 2. 3 or 4, but not on 1


Purges Silently Failing on CF Breaking Change

On the 30th June CF introduced a 30 url limit to purge requests (https://api.cloudflare.com/#zone-purge-files-by-url). Currently the plugin makes no provision for that limit and by and large fails relatively silently. We've put a temporary fix on our sites by removing http urls using the purge filter but in a https site it is relatively easy to hit the 30 purge limit if a post contains 5 or so terms.

Is this related to: https://github.com/cloudflare/Cloudflare-WordPress/issues/266

yes, apologies, it is. it's the same issue.

Closing as a duplicate, I'll add notes to #266


error: no matching constructor for initialization of 'flock'

error: no matching constructor for initialization of 'flock'

the same issue

I have solved the issue: add the head reference #include <sys/file.h>.That's ok!


Meta issue tracking analyzer Dart 2.0 type system inconsistencies

This issue is a meta-issue to track places where the new front end and the analyzer (using the analyzer driver's resolution) disagree.
Blocking issues (in the beta 3 timeframe):

[x] Instantiate to bounds usage is self-inconsistent: https://github.com/dart-lang/sdk/issues/32114
[x] Top level inference doesn't work with optional new: https://github.com/dart-lang/sdk/issues/32397
[x] Analyzer summary type logic doesn't do downward type inference #32525

[x] Silent top level inference inconsistency: https://github.com/dart-lang/sdk/issues/32394

[x] move flutter analyze off the task model: https://github.com/dart-lang/sdk/issues/32478 @devoncarew
[x] Restrict behavior of callable classes - analyzer implementation #32156 @jmesserly

Non-blocking open issues:

[x] Inference of generic tearoff on field: https://github.com/dart-lang/sdk/issues/32396
[x] Redirecting constructors: https://github.com/dart-lang/sdk/issues/30855
[ ] Inconsistencies in downwards inference: https://github.com/dart-lang/sdk/issues/32305
[x] Instantiate to bounds at ground type: https://github.com/dart-lang/sdk/issues/28580 @michaelrfarhurst
[x] .call is not checked: https://github.com/dart-lang/sdk/issues/27098
[ ] Remove support for fuzzy arrows from the analyzer #31637
[ ] Try to make returning void within dynamic an error #32161

--
cc @devoncarew @stereotype441 @scheglov @bwilkerson

I'm doing some preliminary triage above, feel free to adjust or move around.

This will likely be needed by mid-April.

Note that blocking issues #32305 and #32156 are targeted at Dart 2-Beta 4, while this issue is targeted at Beta 3.

I'm putting stable as the milestone for the meta-issue.

@leafpetersen Is this list complete? Is it up to date? Is everything on it still needed for stable? What priority should it have?

@bwilkerson @devoncarew I just did a quick triage pass on open issues looking for 2.0 type system issues and added bullets above in approximate priority order.  I'll do some more triage next week.  I wouldn't say any of these are strictly blockers, but the top few at least would be good to fix before 2.0.

@leafpetersen This issue is out of date. I have made sure that all of the still open issues listed above have the 2.1 milestone associated with them. Given that, I'm going to close it, but feel free to re-open it if you think it's still useful.


Image issue, starting kernel

Using the guide:
https://www.home-assistant.io/hassio/installation/
with the 32 bit version on my RPI3, I end up in this state:

An ethernet cable is attached but clearly not detected (and I know it works).
The script freezes at the text "Starting Kernel ..."
(I tried the 64 bit version, but then it is all just a black screen when booting)
Any suggestions?

Here is for bug report only. Please visit our community forum or discord channel for support


Merge code from scality/cosi-driver-sample

Before the https://github.com/kubernetes-sigs/cosi-driver-sample repository was created, some work on this project was done in another repository, and somewhat reviewed during the COSI developer meeting on May 10th, 2021. This PR merges the code from https://github.com/scality/cosi-driver-sample/commit/67d77dc79e9290608e8de7b840e4e1cbd2ef1bbc into the Kubernetes repository template as pushed into https://github.com/kubernetes-sigs/cosi-driver-sample/commit/4b70e057088c6f8ff63c4dacbe4174281e829081.
As part of the merge, all references to the original repository were changed into sigs.k8s.io/cosi-driver-sample (think about the module stanza in go.mod, various imports,...). The LICENSE and README.md files of the target @kubernetes-sigs repository are kept as-is.

Nice @NicolasT ! I would be in favour of reusing the release tools from here https://github.com/kubernetes-sigs/container-object-storage-interface-spec/tree/master/release-tools and the similar approach with having a makefile as @krishchow mentioned

Nice @NicolasT ! I would be in favour of reusing the release tools from here https://github.com/kubernetes-sigs/container-object-storage-interface-spec/tree/master/release-tools and the similar approach with having a makefile as @krishchow mentioned

I have no objection to that whatsoever. However, I don't think that work must be done in this PR. It's not blocking what this PR attempts to achieve, the current code is not 'broken',... I fully agree working CI is required, and we may want to use some common build infrastructure (though IMHO that's debatable for a 'sample' driver, which should be as stand-alone as possible: vendors will likely not use K8s' release-tools...). But I'd rather get this PR to land, then improve upon it, vs. making it even bigger than it already is.

Changes LGTM, can we squash these commits, then we can merge this in? @NicolasT

This code has grown and improved over time, hence IMHO it makes sense to keep this history around. I tried to make all changes as logical, coherent commits/units, which makes the 'why' of various changes more obvious. It's not because this happens to be developed in an external repository first, instead of being developed as multiple PRs in this repository, that we should disregard history (which would be retained if the code were developed in this repo).


Character entities are escaped

Hi, given a JSON snippet like:
[{"title":"Cat 1 & Cat 3 Title 2","body":"<p>Lorem ipsum
(I escaped the source so it looks correct in preview)
The ampersand is being escaped so that it is rendered like: &amp; -- Some way to fix in the current build? (just cloned a few minutes ago). On line 244, I see:
	encoders: tmplEncode = {
		"none": function( text ) {
			return text;
		},
		"html": function( text ) {

...
How do I trigger "none"?
The less than and greater than for the p is rendered correctly (i.e. as an open p tag).
My template looks like:

and I call it like (your sample demos):
$ul.html($teaser_tmpl.render(videos));

Perfect, thanks! Great job on the template engine! Missed that as an example (perhaps put 'no encoding' in the link text?).


Incorrect number of rows for maximum number of rows in a row group

In the table, for the trim_reason_desc field, the description states:

1 - NO_TRIM: The row group was not trimmed. The row group was compressed with the maximum of 1,048,476 rows. The number of rows could be less if a subset of rows was deleted after delta rowgroup was closed

This is incorrect.  The number should be 1,048,576 rows, not 1,048,476.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a24a194b-16d9-79e4-8483-95aaf2833c67
Version Independent ID: 108fd3b5-631f-384f-25a0-6badb3a26428
Content: sys.dm_db_column_store_row_group_physical_stats (Transact-SQL) - SQL Server
Content Source: docs/relational-databases/system-dynamic-management-views/sys-dm-db-column-store-row-group-physical-stats-transact-sql.md
Product: sql
Technology: system-objects
GitHub Login: @CarlRabeler
Microsoft Alias: carlrab

@pmasl Pedro, could you please look at this issue?

#reassign:cawrites

@cbailiss thank you for contacting Microsoft regarding this issue. We have resolved this issue and it will be reflected in the next content update. Please don't hesitate to contact us again if you have any more questions.

#please-close


Update Segmented Controls look [Fiji]

Zeplin:
https://app.zeplin.io/project/5d0356be2f25b319dcc5944b/styleguide/components?cseid=5dfc12e12ec4d6975469c160
https://app.zeplin.io/project/5d0356be2f25b319dcc5944b/styleguide/components?cseid=5dfc1338bdb90d17d2aa628c
https://app.zeplin.io/project/5d0356be2f25b319dcc5944b/styleguide/components?cseid=5dfc1308cb89a49855c3063e

They are part of Master library (common for iOS and Android)
Please pay attention to the details. It took me a while to set up spacing, color, fonts.

closed with #1225


Dense SNT Wrapper for TorchTensors

This closes #3. We will need a different issue for the operators. This PR only extends the methods in the
DenseTensor<T> class using Torch tensors as backends.

Fixed all comments so far.

Ouch - rerunning the tests still crashes.   I suspect that this indicates a real memory corruption bug on this PR.

Ouch - rerunning the tests still crashes. I suspect that this indicates a real memory corruption bug on this PR.

Yes there is something going on with the memory clean up. I have spent the last day in trying to figure this out with no luck. Please don't merge until I am able to fix the bug.

I think I have addressed all comments and fixed the test error (thanks to @NiklasGustafsson).

Should we still hold off on merging this one?

Should we still hold off on merging this one?

If you want we can wait until System.Numerics.Tensor NuGet get released. Beside this, it can be merged as is I think.

If this relies on a third party NuGet that is not released, let us wait until then.

The NuGet is available on MyGet. The .NET team is working on pushing it to Nuget.org soon. I'm OK holding off till that happens.

I have update the dependency to the Nuget so this PR can now be merged (once @ericstj agrees)

/cc @tannergooding

I'm concerned with the overall approach that you now have two tensor types exposed instead of just one.  This PR creates Torch.SNT.*TorchTensor, but you still have TorchSharp.*Tensor.  Is this PR a step along the way, or do you imagine having both of these tensor types remain publicly exposed?

I'm concerned with the overall approach that you now have two tensor types exposed instead of just one. This PR creates Torch.SNT.*TorchTensor, but you still have TorchSharp.*Tensor. Is this PR a step along the way, or do you imagine having both of these tensor types remain publicly exposed?

I think that the idea was to have TorchSharp as a thin layer with minimal dependencies to provide a way to access Torch functionalities from C#. Torch.SNT should instead try to back System.Numerics.Tensors with Torch tensors so that, from one side, we can exploit the efficient implementation of tensor operations that Torch provide, and from the other we can converge to "the" tensor type in .Net without providing a new one (TorchSharp.Tensor). I agree that in this way some of the functionalities will have duplicates (e.g., NativeMemory and Storage and 2 tensor types) but @migueldeicaza was clear that he wants to separate the 2 efforts (am I wrong?).

@tannergooding owns S.N.T and can help make sure that the right integration is happening here. It's important to us that S.N.T is valuable for TorchSharp.