Issue with lots of files

Hi,
So i don't think this is specifically a workbox issue but not sure. What i've noticed is that when i try to precache lots of files (150+) the service worker starts failing requests.
After that it will cache "empty" or "failed" files which will then cause non of my css / js to load on page and leave a broken experience.
I'm running a huge monolithic app that uses webpack for it's builds and the code has been growing so the number of files / bundles have been growing.
So for now i forced only certain files in precache but not sure if this is something you want to look at.
And if it's a limitation of the service worker itself maybe force a limit on the files? I don't know just thinking out loud how to prevent it.
When this was happening i got the same behavior as this bug:
https://github.com/GoogleChrome/workbox/issues/1441
So the service worker kind of got in an unknown state, that's also how i reproduced this bug. Even after updating to the latest version it was still failing to respond with a network request.

Do you see any messages logged in the DevTools Console when this happens?
What does the Applications panel of Chrome's DevTools show—both the Service Workers and the Clear Storage tabs?

I'm not getting the errors @mick-feller is, but I am noticing detrimental load times on initial install. I am still working on reducing the size of the precache, but at the moment it is:
1748 files will be precached, totaling 79.3 MB.

Other than reducing the precache size, what could be done to prevent degradation of load times? I would prefer the installation process to take much longer, and allow normal user requests to load without a huge delay.

There are some best practices for service worker registration that you can follow: https://developers.google.com/web/fundamentals/primers/service-workers/registration
In general, though, asking users to download ~79mb prior to the service worker's installation completing is likely to be problematic, unless you know that all your users are on a fast, low-latency, highly-available Internet connection.
(Here's a related feature request for allowing developers to create separate required and optional precache payloads: https://github.com/GoogleChrome/workbox/issues/155)

I'm pretty new to all this, but it sees like it'd be nice if there was a mechanism by which users could consent to such a download if they opt to add the page to the home screen / 'install' the 'PWA'. I'm sure I'm missing much dialog around service workers, but dipping my toe in, it seems a little odd that a service worker is, on one hand, meant to allow a site to cache files so that a user can use the site like a native off-line app, but on the other hand, the native-app-like need for installing numerous resources is too much to ask from the service worker. (Games / game-like activities would probably provide the best cases of an (off-line) user needing to access who-knows-what of a substantial asset catalog. )


iOS - Discussions - Refine bar that sorts/filters fade in and out erratically

@aleffert pl review

:+1:

Errr. Actually, won't that prevent them from having pressed states/animations? If so, we should address that.

Maybe we should just set their values inside an animations disabled block?

@ehmadzubair so did this end up working? If so, would you mind moving setAttributedTitle(forState:animated:) somewhere more general, like a separate file "UIButton+Animation" or something like that?

@aleffert This does solve the issue when the text is set. However, the other issue is that both the buttons fade in/out when the UIAlertController is presented. Ideas?

@ehmadzubair Showing a UIAlertController switches a button to its disabled state. It looks like there's a bad interaction (OS Bug?) with attributed strings with a color setting and disabled states. You can verify this by changing filterStyle to a nil color and then changing the setup to the following code:
        var buttonTitle = NSAttributedString.joinInNaturalLayout(
            [Icon.Filter.attributedTextWithStyle(filterTextStyle.withSize(.XSmall).withColor(environment.styles.primaryBaseColor())),
                filterTextStyle.attributedStringWithText(self.titleForFilter(self.selectedFilter))])
        filterButton.setTitleColor(environment.styles.primaryBaseColor(), forState: .Normal)
        filterButton.setAttributedTitle(buttonTitle, forState: .Normal, animated : false)

This is almost right, but the icon is blue not gray when it's dimmed (because the text attachment path doesn't seem to care about tint colors). One way to solve this is to separate out the icons and text in the button. This may not work right on RTL on iOS 8, but I believe should work on iOS 9? Another would be to add a button type that rerenders when its tintColor changes.

@aleffert there is an exception to this erratic fading in/out. The create a new post button is also a UIButton(type : .System) but its title doesn't fade in/out when the UIAlertViewController is presented...

@aleffert I have been trying to troubleshoot the issue, but haven't had any success with it... However, here are the things that i've found out...

Other NSAttributedStringsdon't fade in/out when the UIAlertViewController is presented. (screenshot attached)

The Create a new post button is also of type .System but it doesn't flicker. Also, its title follows the correct tintColor

@aleffert As discussed, made a very verbose PressableCustomButton to mock the .System behaviour.
Pl review

A couple little nitpicks still left :+1:


Skyline: Add string extension TextUtil.ToLines for line separation

Improve diagnostics to help understand why KAIPOT-PC1 fails MassListSpecialIonsTest

Looks good to me. I probably would have made it so that "ToLines" returned IEnumerable<string> and make the caller call "ToList()" if they needed that, but this way is fine too.

I had been thinking of string[] File.ReadAllLines() and was feeling I should rename it when I noticed that File.ReadLines() does what you suggest. So, I renamed it to string.ReadLines() and did what you suggested. Looks better to me.


Fix Expression JSON parse error

Fix UnrecognizedPropertyException(such as .dataType) parse faild
 Read or deserialize ExpressionMetadata error.
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "dataType" (class cloud.erda.analyzer.runtime.models.ExpressionFilter), not marked as ignorable (3 known properties: "value", "tag", "operator"])

/approve

/cherry-pick release/1.6-alpha.1


Restructure hash to curve

Putting the hkdf evaluation within EdwardsPoint and changing the interface of the hash_to_curve function

Closing in favor of #21


Enable docs.yml GA workflow to push to protected master

Make sure https://github.com/monarch-initiative/mondo/blob/master/.github/workflows/docs.yaml
can push to master branch.
remote: error: GH006: Protected branch update failed for refs/heads/master.
remote: error: At least 1 approving review is required by reviewers with write access.
To https://github.com/monarch-initiative/mondo
 ! [remote rejected] master -> master (protected branch hook declined)
error: failed to push some refs to 'https://github.com/monarch-initiative/mondo'
Error: Process completed with exit code 1.

Example of a failed run: https://github.com/monarch-initiative/mondo/runs/4070956389?check_suite_focus=true
Problem is that we have the master branch protected against commits, so somehow we need to "allow" GH actions to do it despite that.

I kinda would prefer if this would instead create a pull request rather than push straight to master.

This looks like my wheelhouse.

I fixed this by using PRs instead for now (sorry, I did this because I am fixing a larger issue I need to take care of).


remove more unnecessary redirects in search-results, and i'm feeling-lucky

even though search might be replaced, and feeling-lucky might be dropped, these jumped at me.
These seem to be no tests testing these specific URLs, but I manually tested both cases.

These seem to be no tests testing these specific URLs

Do you mind adding a couple tests?

These seem to be no tests testing these specific URLs

Do you mind adding a couple tests?

I will :)

I will :)

done

done


Add contained aggregation for itemReference

This pull request adds the "contained" aggregation for the "itemReference" field in the "GEM_ERP_PR_Medication" profile. This allows the "itemReference" field to reference a Medication resource using the "contained" mechanism.

was manually added in #53


chore: release 1.2.302

:robot: I have created a release *beep* *boop*
1.2.302 (2024-04-01)
Features

nelm: change propagation policy on DELETE from Auto to Foreground (d7906f0)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/werf/werf/releases/tag/v1.2.302 :sunflower:


Correct ingredient California Lemonade

Updated the California Lemonade recipe. It didn't have carbonated water in the ingredients list, but it's a core ingredient.
I have updated to include Soda Water in the ingredients (as this is already an ingredient in Drinkable) and have adjusted the recipe to refer to Soda Water instead of Carbonated Water.

Great stuff! Thank you 🚀


[Feat]: Add Scrimba Website for Learning Front End Related Courses

What feature?
GSSOC'23
Feature Description

Add Scrimba website for Learning Front End Technologies Very Easier

Add screenshots
Add screenshots

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi @JasonDsouza212 . I have one Doubt. How to Upload Images related to Resources. Please Help Me?. I am stuck in that Issue?


A11y - Skip to main content link

Add skip to main content link

Part of https://github.com/acnolan/acnolan.github.io/issues/54


OkHttp and certificate pinner

I have successfully communicated with the server by using SSL the way you mentioned in the tutorial guide.  Here is the link which I followed to the configuration on an Android device.
Now Android offers a short and flexible way for SSL interaction for OkHttp client. Developers need to put sha256 pins and make requests.  Can Cloudflare accept pins instead of the old school way by using TrustManager?
Here is an example for CertificatePinner
`val certificatePinner = CertificatePinner.Builder()
.add(
"www.example.com",
"sha256/ZC3lTYTDBJQVf1P2V7+fibTqbIsWNR/X7CWNVW+CEEA="
).build()
val okHttpClient = OkHttpClient.Builder()
.certificatePinner(certificatePinner)
.build()`

@kodster28 is there any way how to make connections other than trust manager for Android applications

Howdy @munir700, I'm looping in the engineering team b/c this is outside my area of expertise.

OkHttp client.

Your example code resembles the OkHTTP documentation here
https://square.github.io/okhttp/https/#certificate-pinning-kt-java
The pins in these examples are for a server certificate and not a client certificate like what is used in the Cloudflare Developer Docs linked above (https://developers.cloudflare.com/ssl/client-certificates/configure-your-mobile-app-or-iot-device).
Pins are not a substitute for client certificates nor are they sent in a request. Cloudflare also strongly discourages pinning to Cloudflare-managed certificates, see
https://support.cloudflare.com/hc/en-us/articles/204144518-SSL-FAQ#h_3k3bHm83HfwEKwYEeKg6v8
If you're looking to implement mTLS with API Shield issued certificates, the client authentication unit tests for OkHTTP should point you in the right direction. https://github.com/square/okhttp/blob/master/okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.java


New WebSocket Server for mod_audio_stream: WAVStream

I've developed a new WebSocket server called WAVStream that works with mod_audio_stream.
It's written in Go and designed to simplify the process of recording calls and automatically uploading them to S3-compatible storage.
You can find the project here: https://github.com/ynigun/wavstream
Key Features:

Receives both text and audio data from mod_audio_stream
Creates WAV files in real-time
Automatically uploads completed recordings to S3-compatible storage
Supports changing the recording file mid-call, creating separate files
Handles multiple recordings concurrently

Usage:
To start a recording:
uuid_audio_stream <UUID> start ws://<SERVER_IP>:8080/ws mixed 8k rec_name_uuid.wav

To stop and upload:
uuid_audio_stream <UUID> stop

To change the recording file:
uuid_audio_stream <UUID> send_text rec_name_uuid_B.wav

When changing the filename mid-call, WAVStream will create two separate files. The first file will be closed, uploaded to S3, and a new file with the new name will be started. This allows for segmenting long calls into multiple files or changing file naming conventions mid-call if needed.
Development Status:
Please note that WAVStream is still in development. There are several areas that need further work and customization:

Temporary File Location: Currently, the location for temporary files is not configurable. This needs to be added as an option.

S3 Upload Options: The current version sets all uploaded files to be public. We need to add more flexible options for S3 uploads, including privacy settings.

Additional Configurations: We're working on adding more configuration options to make the server more versatile for different use cases.

Contributions and feedback are welcome! If you try it out or have any suggestions, please let me know by opening an issue or submitting a pull request on the WAVStream GitHub repository.
This server aims to enhance the functionality of mod_audio_stream and simplify the process of handling recordings. I hope it proves useful to the community!

Beautiful! Really interesting project, a star came straight away!! I'll leave this info here for the community to visit, try and use. Thanks for the project.


charWhitelist still picks up letters and other characters

I want to scan the Order No from the below image.

Here's my code for that.
let scaledImage = photosManager.scaleImage(leadImage, maxDimension: 640)

let tesseract = G8Tesseract(language: "eng")
tesseract.language = "eng"
tesseract.charWhitelist = "0123456789"
tesseract.engineMode = .TesseractCubeCombined
tesseract.pageSegmentationMode = .Auto
tesseract.maximumRecognitionTime = 60
tesseract.image = scaledImage.g8_blackAndWhite()
tesseract.recognize()

if !tesseract.recognizedText.isBlank {
    let whitespacesStrippedString = tesseract.recognizedText.removeWhitespace().stripWhiteSpaces()
    let stringComponents = whitespacesStrippedString.componentsSeparatedByCharactersInSet(NSCharacterSet.whitespaceAndNewlineCharacterSet())
    stringComponents.forEach { component in
        if component.lowercaseString.containsString("order") {
            let orderNumber = component.componentsSeparatedByString(":").last
            OrderNumber = orderNumber
            print("Scanned Order Number: \(OrderNumber)")
        }
    }
}

The scanned result I'm getting is this - 274377i.
It contains an i and a period even though I have specified the character white list for only numbers. I changed the engineMode to .TesseractOnly and nothing gets scanned then.
Any idea why this is happening?

charWhitelist specifies the charachters that should have a larger choosing rate, it doesn't garantee guarantee that all the rest characters are skipped.
pls, use 'charBlacklist` specifying all the rest symbols you would like to be banned.
I'm closing an issue. Let me know, if you have further questions.


Need to consider and handle the sync HPA of K8s  when board re-install

In GitLab by @tmon546596046 on Sep 29, 2018, 18:16

In GitLab by @luotian-github on Nov 8, 2019, 08:00
Implemented in 1809

In GitLab by @sokril on Nov 8, 2019, 08:28
closed

In GitLab by @sokril on Nov 8, 2019, 08:28
assigned to @luotian-github


Make_future methods for Shifts and TimeSlots fail on some machines

For some reason the SQL generated in these two methods are recognized by some mysql on Mac OS X. Maybe this is a version specific thing but these two methods are very poorly written too so we should rewrite these two with Rails ActiveRecord

Are you sure it's a Mac thing and not a version-specific thing?

@mnquintana Somehow this happened on both Macs that I tried to set up Shifts on. No Linux distros had any problems...

Hmmm with the same version number?

https://github.com/YaleSTC/shifts/blob/fd3c348f8e9e39ae9ffdfb263e371817803365cb/app/models/time_slot.rb#L35

We can use Arel to better generate SQL queries for conflict, and use ActiveRecordImport gem to insert TimeSlots records

Method to output days by index number:
Input: Start Date (2015-01-12), End Date (2015-02-26), Days of Week array [1, 3, 5]
Note that Date.commercial(2015, 3, 1) gives the 3rd week of 2015..
require 'date'

  def week_dates(start_date, end_date, table )
    # puts start_date
    # puts end_date
    # puts table
    array = Array.new
    (start_date..end_date).each do |i|
       # puts i.wday
       array << i if table.include? i.wday
    end
    puts array
  end

  puts week_dates(Date.commercial(2015, 3, 1), Date.today, [1, 3, 5])

The problem occurs on the following version (probably has to do with OS X version):
mysql  Ver 14.14 Distrib 5.6.22, for osx10.10 (x86_64) using  EditLine wrapper

But the new make_future for time_slots works on the said machine.

It turns out mysql does freak out about long conditions. Even though the Arel Table can handle the length. I will still process these cases in batches of 450 then


org-schedule slow due to org-journal-mark-entries

Emacs 27.2
org-mode 9.5.3
org-journal 20210417.1612
As mentioned in issue title, org-schedule takes about 5-10 seconds for the calendar to be responsive. Most of the time is spent in org-journal-mark-entries, see these CPU profiler results:
- command-execute                                               20139  87%
 - call-interactively                                           20138  87%
  - funcall-interactively                                       20138  87%
   - org-schedule                                               20133  87%
    - org--deadline-or-schedule                                 20133  87%
     - #<compiled 0x1a115c5>                                    20133  87%
      - org-add-planning-info                                   20130  87%
       - org-read-date                                          20129  87%
        - calendar                                              19747  86%
         - calendar-basic-setup                                 19747  86%
          - calendar-generate-window                            19725  86%
           - #<compiled 0x781192d>                              19249  83%
            - run-hooks                                         19249  83%
             - org-journal-mark-entries                         19249  83%
              - org-journal--list-dates                         19249  83%
               - org-journal--list-files                        19248  83%
                - seq-filter                                    13007  56%
                 - seq-map                                      13007  56%
                  - apply                                       13007  56%
                   - #<compiled 0x7fd36d>                       13007  56%
                    - mapcar                                    12997  56%
                     - #<compiled 0x5d2e6e5>                    12978  56%
                      - #<compiled 0x1329be1>                   12929  56%
                       - org-journal--dir-and-file-format->pattern              12454  54%
                        - file-truename                          9100  39%
                         - file-truename                         5374  23%
                            file-truename                        2087   9%
                        - org-journal--format->regex               2762  12%
                         - replace-regexp-in-string               2230   9%
                            apply                                 195   0%
                            #<compiled 0x1fc2c2dedeef>                 55   0%
...

Any ideas on what might going on here? How to further debug this?

As a workaround I do (remove-hook 'calendar-today-visible-hook 'org-journal-mark-entries).

That's weirdly slow. What operating system are you using, how many journal files do you have, and what journal mode are you using (daily, weekly, monthly)?
For reference, my a-few-thousand-files journal renders the calendar almost instantly on Windows (slow!) and Linux.

What operating system are you using

I am Windows and Linux, it is slightly slower under Windows.

how many journal files do you have

The org-journal-dir has about 300 files beneath it (recursively).

what journal mode are you using (daily, weekly, monthly)?

yearly.

For reference, my a-few-thousand-files journal renders the calendar almost instantly on Windows (slow!) and Linux.

I don't understand "almost instantly" together with "slow!".
I see how this might be hard to debug / reproduce - for me the workaround is ok as I don't use that calendar feature. Please proceed with this issue as you see fit, it is solved for me.

Please reopen if you'd like to continue this discussion.


Integrated graphics cause weird glitches in GLES3 (3D grid disappearing depending on the angle and meshes turning black)

Godot 3.1.1
Windows 10 64-bit with Intel 620HD/AMD 430m
When dealing with meshes, the grid randomly disappears and meshes start turning black and back to normal again on random angles and positions.
Only occurs with dedicated graphics. I used Intel 620HD by default; switching to dedicated fixed the issue.

Could you upload an MRP or steps to reproduce so other users can try to reproduce this issue?

Base 3d node->RigidBody->MeshInstance
In the mesh instance, change the mesh to anything (I used Box Shape). This makes the grid disappear.
As for the meshes going black, I imported a gltf file into the scene and that made the other meshes and itself randomly go black at positions or when they were viewed from different angles. At one time, I had two Box Rigid bodies and a gltf file. If one particular box came into the viewport (let's call it BoxA), the gltf body would go black and the grid would disappear. Interestingly enough, once the mesh went black and then BoxA was removed from the viewport (not by changing its own position but by viewing the scene from a different angle), the grid would appear again after it went away the first time. Then I restarted the program and now zooming or viewing the scene from different angles would make Box B go black.
Finally, when playing the scene, when BoxA or the gltf was moved to certain places, either or both would go black. Changing the position of BoxA in the editor made it really random, earlier it went back only when it was moved to a certain part of the scene when playing through the scene.

I believe meshes going black on Intel integrated cards was already reported?

@Altair1234 I'll  start guessing now. You have at least one object(like mesh instance) without a material. You are using GLES3.
Trying adding a material to objects with them. Or try GLES2.
Either option I think will fix your issue.
I have the same issue on OpenGL ES 3.0 Renderer: Intel(R) HD Graphics 620 combination.

You have at least one object(like mesh instance) without a material.
Yep. I just switched to dedicated graphics. Dunno why it didn't automatically.

Hope this is fixed soon. It's impossible for me to use Godot with OpenGL 3.0 while this isn't fixed.

@CT-noise If you can provide an MRP or do some testing on your own you greatly increase the chances this will get fixed. As it is, the information above isn't enough for other users to reproduce and thus debug. Most issues like this just die in the issues list as a result.

@CT-noise Upload a minium project that shows your issue.

I have the same/similar issue
I can confirm:

the problem exists only on integrated graphics (UHD Graphics 620), on dedicated (GeForce GTX 980) everything works as expected
assigning a material fixes the problem (like @Anutrix suggested)
the issue exists on the current release (3.2.1)
the issue exists with GLES3, GLES2 works fine

description (only integrated graphics & GLES3)(the issue exist without the GridMap aswell)
In a 3D-Scene GridMap is not always displayed when WorldEnvironment/BackgroundMode is on "Clear Color".
It seems it can display the GridMap or Meshinstances (without material) but not both at the same time.
Camera-Symbol and Editor-Grids also disappear.
When the WorldEnvironment/BackgroundMode is on "Canvas" both are displayed. Same when a Light is active in the scene.
When using GLES2 there is no problem at all.

light off and WorldEnvironment Background "clear color"

light off and WorldEnvironment Background "canvas"

light on and WorldEnvironment Background "clear color"
Workaround:

WorldEnvironment BackgroundMode "canvas"
Light in scene active
using GLES2
when Meshinstance has a Material

reproduce:
(integrated graphics & GLES3)
-Node
--WorldEnvironment (Backgroundmode "clear colou")
--DirectionalLight(off)
--MeshInstance (without Material)
change visibility of MeshInstance
add Material to MeshInstance
add Light to scene
move viewport around (MeshInstance not visible)
test.zip

@maesi321 That fixes the disappearing grid for me, but not the transform arrows. Am I missing something, or is this just not able to be worked around?

@Animatical honestly, I'm not the best one to ask (still a godot-beginner)
The best workaround was for me to add a Shader-Material or to change to GLES2.
Make sure everything in the viewport has a Material...

I recently bought a laptop with intel 620 graphics and can confirm this issue!
Now that I can reproduce, I can try to fix it. My guess is that some memory is not initialized properly.

is this place dead?

@Animatical No (see the rest of this issue tracker). It's just that people can become busy with life sometimes :slightly_smiling_face:

Here are a few more details in case it helps narrow down the cause.
PC Information :
Godot 3.2.2.stable
Laptop with no dedicated GPU.
Processor : Intel Core i7-7600U CPU
Integrated Graphics : Intel HD Graphics 620
No problem at all on my machine when using Godot with GLES2.
All of the following describe a default environment with GLES3 enabled.
Scene's Node Tree Setup :
Spatial
-> Mesh Instance (with basic Cube, no Material)
-> OmniLight
-> Camera

Glitch Related to Mouse Interaction :
Hovering over certain elements seems to cause a refresh where the 3D Viewport's grid either appears or disappears, but usually(?) causes the grid to disappear.
Elements that seem to trigger the grid toggling
(Not comprehensive)

3D Transform Widgets (mouse hover) or (click)
Objects in the scene (click)
the resize "<->" arrow between Docks (mouse hover) or (mouse drag)
fields in the Inspector (mouse hover) or (click)

Screencap 1, various UI -> triggering glitch :
I only click five times in the following screen capture:

I click to select the node named "Cube" in the Scene dock
I click to turn "Cast Shadow" off
I  middle click to change the Viewport
I click to toggle the visibility of the Light node
I click to drag the transform gizmo.

Everything else is just by mouse hover:

Glitch Related to Lightsource :
When the Light node has its visibility toggled off via the Scene's node tree, the grid is permanently invisible.
Glitch Related to MeshInstance's "Cast Shadow" :
Details on initial setup:

I added a MeshInstance to the scene.
I added a "New Cubemesh" via the Mesh field in the Inspector.
I added no Material.

When MeshInstance -> Geometry -> Cast Shadow is On (default)
the glitch is present.
When MeshInstance -> Geometry -> Cast Shadow is set to "Off"
this glitch does not appear and Godot functions normally.
Similarly, if the MeshInstance has its visibility toggled off on the Scene Tree (& all other nodes still visible) the glitch does not occur.
If there are multiple MeshInstance nodes, no glitch if all of them have ..->Cast Shadow set to "Off", or if they all have their visibility toggled off via the Scene dock.
Screencap 2, demonstration of these lighting settings :

Hope this is useful.
Infinite thanks to everyone who contributes to Godot.
This engine is my favorite software in the world.
Have a wonderful day.

I'm having a similar issue. I'm using a gridmap, and if I get too far away from my tiles, all the meshes are rendered black.
Specs:
Intel i7-6700
Intel HD 530 integrated graphics
My Project is here:
Pumlet3DClient.zip
And here's a video:

no info in about 2 months?

@Animatical We don't know exactly what's causing this issue.

@Calinou It's just that I'm not sure if anyone is still trying to figure it out, or if it's just forgotten. I'd love to use Godot, but when it seems like no one is trying to fix a problem, it can be pretty demotivating.

@Calinou at least we can rule out outdated drivers, because I've updated them like 5 times today lol

Strange I've been having similar issues on my Dell laptop with UHD620 graphics. I realised that the "newest" driver Dell was giving me was a year and a half old. When I finally went on Intel's homepage and downloaded their latest beta driver from a few weeks ago and force installed that my issues disappeared.

Which beta drivers?
On Fri, Nov 6, 2020 at 11:52 AM Kasper Arnklit Frandsen <
<EMAIL_ADDRESS>wrote:

Strange I've been having similar issues on my Dell laptop with UHD620
graphics. I realised that the "newest" driver Dell was giving me was a year
and a half old. When I finally went on Intel's homepage and downloaded
their latest beta driver from a few weeks ago and force installed that my
issues disappeared.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/30330#issuecomment-723184887,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APME2VPBI2GJM4KB45Z2MSTSOQSUFANCNFSM4H6AUPOA
.

This one https://downloadcenter.intel.com/download/29950/Intel-Graphics-BETA-Windows-10-DCH-Drivers?product=126789
Be aware I had to download the .zip file, unzip it and tell windows to update the display driver looking in that folder as trying to install the driver with the exe it refused with a message about how I should get the driver from my vendor instead.

Just tried it, doesn't work for me, but this is a good start.
On Mon, Nov 9, 2020 at 9:44 AM Kasper Arnklit Frandsen <
<EMAIL_ADDRESS>wrote:

This one
https://downloadcenter.intel.com/download/29950/Intel-Graphics-BETA-Windows-10-DCH-Drivers?product=126789
Be aware I had to download the .zip file, unzip it and tell windows to
update the display driver looking in that folder as trying to install the
driver with the exe it refused with a message about how I should get the
driver from my vendor instead.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/30330#issuecomment-724057165,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APME2VOGGFGFSZKN3CWY3MLSO755BANCNFSM4H6AUPOA
.

Maybe we should list out Integrated GPUs that still have or if they fixed so we can better track this issue.

^ I have 620, tried that beta driver and it didn't work. Maybe it's like a 50/50 chance of it working?

Bad news from my side as well. I'm still seeing issues again as well. For me it only seems to happen when a mesh is in the scene that has no material assigned, so it's pretty easy for me to work around now that I realise that. I just assign a new Spatial Material.

In Godot v3.2.4-beta2, this issue is not occurring to me anymore, as shown here (comparing between Godot v3.2.3-stable, in which this issue is occurring, and Godot v3.2.4-beta2).
My device:

Windows 10 (64-bit) version (build) 2009 (10.0.19042).
Intel® UHD Graphics 620 driver version <IP_ADDRESS>35.

Did the new GLES3/GLES2 batching accidentally fix this? :thinking:

@Calinou it's possible that the issue came from certain memory being overwritten by the editor. In that case batching could very well have fixed it!

I can confirm what kreaninw postet
UHD Graphics 620 / Win10
Godot v3.2.3-stable --> issue exists
Godot v3.2.4-beta2 --> issue gone

@kreaninw @maesi321 Out of curiosity, is the issue still gone if you disable batching for the editor in the Project Settings?

This issue doesn't appear to me even after disabled the batching, as shown here.

Thanks for checking :slightly_smiling_face: Closing as resolved in 3.2.4beta2 then.

Also confirming, the issue is resolved for me!
Windows 10 / Intel HD Graphics 620 (slightly different from UHD 620)
Godot_v3.2.3-stable_win64 --> issue exists
Godot_v3.2.4-beta3_win64 --> issue resolved

https://github.com/godotengine/godot/issues/25512#issuecomment-1204544117
This issue still exists, described everything there. Good thing it's still mentioned in Godot docs @ troubleshooting
It's not as serious of an issue as it looks because directional light or gles2 fixes it as far as I've seen but still.


[2.3] Updated docs for basic mapping

Added note about UUID identifier generator strategy, which was added in 2.3 version at @0a835609fabd9ef600127c4cacfbcc776d31d981.

:+1:

Should go against master.

Ping @phansys Could you prepare PR to master?

Rebased in PR against master: #1504.
Thanks.

Closing as per #1504
Thanks @phansys!


JointGroupPositionController fails to initialize on Rolling due to rclcpp "undeclare_parameter" API change

There have already been some fixes to other controllers for the rclcpp parameter API changes. Currently (as of 0.4.1) the JointGroupPositionController fails to initialize because it tries to undeclare a statically-typed parameter at these lines, which produces an error:
[ros2_control_node-1] [INFO] [1628693935.184140389] [controller_manager]: Loading controller 'position_controller'
[ros2_control_node-1] Exception thrown during init stage with message: parameter 'interface_name' has invalid type: cannot undeclare an statically typed parameter
[ros2_control_node-1] [ERROR] [1628693935.194137855] [controller_manager]: Could not initialize the controller named 'position_controller'

I wanted to get some additional context and input before I try to fix this myself: why is it necessary to undeclare the interface_name parameter declared by ForwardCommandController, and does anyone else already have a fix in mind?

I am facing the same issue.
Exception thrown from the following line:
    // undeclare interface parameter used in the general forward_command_controller     get_node()->undeclare_parameter("interface_name");

Have just seen the PR. Will wait for the approval. Thanks @schornakj .


Parse error

I get this error when I try to validate with JSONlint.com
Code seems to fail in GC. Anyone else getting the same issue?
The error

Error: Parse error on line 1:
exports.subscribe =
-^
Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'

The code below
/**
 * Background Cloud Function to be triggered by PubSub.
 *
 * @param {object} event The Cloud Functions event.
 * @param {function} callback The callback function.
 */
exports.subscribe = function (event, callback) {
  const BigQuery = require('@google-cloud/bigquery');
  const projectId = "myProject"; //Enter your project ID here
  const datasetId = "myDataset"; //Enter your BigQuery dataset name here
  const tableId = "myTable"; //Enter your BigQuery table name here -- make sure it is setup correctly
  const PubSubMessage = event.data;
  // Incoming data is in JSON format
  const incomingData = PubSubMessage.data ? Buffer.from(PubSubMessage.data, 'base64').toString() : "{'sensorID':'na','timecollected':'1/1/1970 00:00:00','zipcode':'00000','latitude':'0.0','longitude':'0.0','temperature':'-273','humidity':'-1','dewpoint':'-273','pressure':'0'}";
  const jsonData = JSON.parse(incomingData);
  var rows = [jsonData];

  console.log(`Incoming data: ${rows}`);

  // Instantiates a client
  const bigquery = BigQuery({
    projectId: projectId
  });

  // Inserts data into a table
  bigquery
    .dataset(datasetId)
    .table(tableId)
    .insert(rows)
    .then((insertErrors) => {
      console.log('Inserted:');
      rows.forEach((row) => console.log(row));

      if (insertErrors && insertErrors.length > 0) {
        console.log('Insert errors:');
        insertErrors.forEach((err) => console.error(err));
      }
    })
    .catch((err) => {
      console.error('ERROR:', err);
    });
  // [END bigquery_insert_stream]

  callback();
};

Yes I did. I changed it to project id

While the line from the code does have issues in JSONlint.com, I just built everything from scratch and everything is working fine on GC.

This is the error I get when trying to check the Cloud function to see if the streaming data is coming in... with // gcloud beta functions logs read function-weatherPubSubToBQ// .. As instructed double check the projectID was changed (to my information) from the index.js portion...  still no luck.
`
at Request.emit (events.js:191:7)
at Request. (/user_code/node_modules/@google-cloud/bigquery/node_modules/request/reque
st.js:1157:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
code: 400,
errors:
[ { message: 'Invalid project ID ' fifth-pact-211618'. Project IDs must contain 6-63 lowercase l
etters, digits, or dashes. IDs must start with a letter and may not end with a dash.',
domain: 'global',
reason: 'invalid' } ],
response: undefined,
message: 'Invalid project ID ' fifth-pact-211618'. Project IDs must contain 6-63 lowercase letter
s, digits, or dashes. IDs must start with a letter and may not end with a dash.' }
`


Changelog is outdated

Hi,
I noticed the changelog file is behind releases by 2 versions :(
Any chance to have it updated?
Thanks

I'll join the chorus, it's pretty important for a project like bundler to keep its change log up-to-date.

Pretty sure @indirect just hasn't merged 1.8 stable into master since the release of 1.8.0.

The changelog is completely up to date. Please look at the CHANGELOG.md file in the git tag of the version you are interested in.
The changelog in master varies depending on the current state of up-merges from version branches.
On Mon, Feb 16, 2015 at 4:00 PM, Samuel E. Giddins
<EMAIL_ADDRESS>wrote:

Pretty sure @indirect just hasn't merged 1.8 stable into master since the release of 1.8.0.
Reply to this email directly or view it on GitHub:
https://github.com/bundler/bundler/issues/3408#issuecomment-74593790

You mean tags (and releases) are ahead master?
Sounds weird to me :)

Try running a project with multiple branches that all have active development and releases of different versions at the same time sometime. :)

master is now up to date with v1.8.2

Thanks!


Artifact details are truncated in freight details panel

Checklist

[x] I've searched the issue queue to verify this is not a duplicate bug report.
[x] I've included steps to reproduce the bug.
[x] I've pasted the output of kargo version.
[ ] I've pasted logs, if applicable.

Description
The issue is a follow-up for https://github.com/akuity/kargo/issues/2045. The freight details page now contains the container image name. This is great but image name is truncated so it is still difficult to see what is deployed without copying value from tooltip
Screenshots

Steps to Reproduce

Ensure Kargo project has a frieght with a long image name
Click on frieght details page

Version
v0.7.0

@alexmt This was fixed in 0.8 in https://github.com/akuity/kargo/pull/2277 (see the screenshot below as well), so going to close this issue. Feel free to reopen if it's not fixed in the way you expected.


[SCM] Add proxy support similar to what we have today in Azure.Core

We have not transitioned the proxy logic found in Azure.Core here or elsewhere.
This issue tracks the work to understand whether the same HttpClient configuration is needed in SCM's default transport, and/or how we might want to modify this functionality for more general support in the System. namespace.
General Azure SDK guidelines for Proxy Policy and Environment Variables should be taken into consideration in this evaluation.  We must decide if we want SCM-based .NET clients to follow the same guidelines as Azure clients.

Added some considerations to @scottaddie's doc update in this comment: https://github.com/dotnet/docs/pull/43593#discussion_r1844713663
We may want to evaluate for SCM whether to create a default HttpClient instance and add the provided proxy handler to it, depending on the determined need for the default settings.  We should evaluate whether there are possibilities for conflicts if two HttpMessageHandlers have a Proxy property set.
We may also want to update the refdocs for Azure.Core, specifically here: https://github.com/Azure/azure-sdk-for-net/blob/9853adde6b848d6e9fc52f99794a98b1df23ca27/sdk/core/Azure.Core/src/Pipeline/HttpClientTransport.cs#L43 to be more accurate about what this constructor overload does and the risks involved with not using the default HttpClient in a given client transport.

Some additional thoughts that came to mind while updating the Learn doc:

In the Azure.Core implementation, lowercase environment variables are supported in many cases. Unless someone can think of a valid use case for lowercase, I suggest we simplify and only support uppercase in the SCM implementation.
The Azure.Core implementation seems to have been lifted from dotnet/corefx—an older, achived repo. The newer dotnet/runtime implementation lives at https://github.com/dotnet/runtime/blob/main/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpEnvironmentProxy.cs and seems quite different. Maybe this is a good starting point for our SCM implementation.

There seems to be SOCKS support here. Our Azure.Core proxy policy docs specifically says "The most notable is the SOCKS proxy used for non-HTTP traffic (such as AMQP or MQTT). We make no recommendation (for or against) support of SOCKS. It is explicitly not a requirement to support SOCKS proxy within the client library." Let's revisit whether this is still our stance in a world where a library like Service Bus is used with SCM.


Calendar interface

Created Calendar interface which shows Sessions in calendar format.
Logic
Calendar Logic - handles the drawing of the calendar such as the dates and days.
Model
CalendarEvent - represents a Session
CalendarMonth - stores a list of calendarEvents in the month
UI
Added multiple UI files for calendar such as Buttons, grids, lists
Tests
Added test files for models
close #42

Merging without passing CodeCov as the newly added files that are not covered are UI files


[do-not-merge] fix: make error message compatible with oc10 while trying to preview other user's file

Description
This PR just tries to fix https://github.com/owncloud/ocis/issues/2071. I don't know if we can/should do this (set message based on the error message). But I couldn't find any other way to determine if the 404 fail was due to space or resource not being found.
Related Issue
https://github.com/owncloud/ocis/issues/2071
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

Checklist:

[x] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

I just wonder if it is good enough to get a review. :sweat_smile:
CC @2403905

Test passed: https://drone.owncloud.com/owncloud/ocis/24816/67/6

Then, I will make PR in stable first and then port it to the master if everything goes well.

@saw-jan I discussed with @micbar
We are going for option 1 - We keep our error message and adjust test expectation. We accept that we will have a different error message than oc10.

I discussed with @micbar
We are going for option 1 - We keep our error message and adjust test expectation. We accept that we will have a different error message than oc10.

Awesome :+1: ! Then we can change the test expectation now. Thank you all :heart:
I will close this PR here and open another to change the test expectation.


Feat: Add support for custom tailwind config file path

This PR adds support for customizing the Tailwind config file path through command-line arguments.
The change has been implemented for the CLI entry point and further work is needed to pass the parameters to the Babel plugin. Would love to get your eyes and ship the Babel plugin support with that PR! Cheers. Thank you! 🎉

thankyou! I think rather than having it as a cli arg, this customPath should be declared in package.json under typewind config or in a custom config file like :-
{
    "typewind": {
        "configPath": "./tailwind.config.js`
    }
}

That way both the Babel plugin and type generator can easily access this property.
Keeping it as a cli arg would require passing the custom path in 2 places which could lead to them not being in sync

thankyou! I think rather than having it as a cli arg, this customPath should be declared in package.json under typewind config or in a custom config file like :-
{
    "typewind": {
        "configPath": "./tailwind.config.js`
    }
}

That way both the Babel plugin and type generator can easily access this property.
Keeping it as a cli arg would require passing the custom path in 2 places which could lead to them not being in sync

Love that! Will do!

Just pushed the changes @Mokshit06 ! Let me know if you have any concern about that

I think the docs for this doesn't really fall under the Usage heading. Should have this separately or under Installation. What do you say @Mokshit06?

I think the docs for this doesn't really fall under the Usage heading. Should have this separately or under Installation. What do you say @Mokshit06?

I think it makes sense, gonna change it!

great work, thanks! just a suggestion: i would prefer the version to be left as is so that I can update it in a release hook or script, but since typewind doesn't have one right now i'll leave it as is.


feat: support transverse mercator projection

Description
Support Transverse Mercator projection for arbitrary georeferenced coordinate.

Related links

https://github.com/tier4/tier4_autoware_msgs/pull/103
Should be merged after https://github.com/autowarefoundation/autoware_common/pull/204

Tests performed
sample-map-rosbag_transverse_mercator.zip
Using the above transverse mercator sample map, I confimed that

logging simulator works with the sample rosbag in tutorial
planning simulator works
lanelet2 and pcd aligns the same with the original map

(sample-map-rosbag)

(sample-map-rosbag_transverse_mercator)

Notes for reviewers
None

Interface changes
None

Effects on system behavior
None as long as using the existing maps

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@RyuYamamoto Could you review this PR?


connect: Send users to Stacks Wallet install page from introductory modal

Instead of sending them to the hosted authenticator, send them to https://www.hiro.so/wallet/install-web

Instead of sending them to the hosted authenticator, send them to https://www.hiro.so/wallet/install-web

What link is sending them to the hosted authenticator?

Instead of sending them to the hosted authenticator, send them to https://www.hiro.so/wallet/install-web

What link is sending them to the hosted authenticator?

In the previous Connect, when you started auth and saw the Connect modal (before the popup), clicking the button would send you to the hosted authenticator. But the new connect doesn't do that, it redirects you to the install page in the connect modal. Testable at https://pr-761.testnet-demo.stacks.engineering/

In the previous Connect, when you started auth and saw the Connect modal (before the popup), clicking the button would send you to the hosted authenticator. But the new connect doesn't do that, it redirects you to the install page in the connect modal. Testable at https://pr-761.testnet-demo.stacks.engineering/

Got it I found the link and this works

Got it I found the link and this works


cant make it work with ZED mini and d435i

Hi @engcang
Im testing VINS-Fusion CPU with ZED mini, can you ensure you are able to run it?
Im not able to correctly init VINS, I always obtain NaNs:
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0814 15:14:59.771003 19283 parameter_block.h:349] Local parameterization Jacobian computation returnedan invalid matrix for x: -nan -nan -nan -nan
 Jacobian matrix : 0nan 0nan 0nan
-nan -nan 0nan
0nan -nan -nan
-nan 0nan -nan
F0814 15:14:59.771054 19283 parameter_block.h:189] Check failed: UpdateLocalParameterizationJacobian() Local parameterization Jacobian computation failed for x: -nan -nan -nan -nan

This in my config

zed_imu_config.yaml
%YAML:1.0

#common parameters
#support: 1 imu 1 cam; 1 imu 2 cam: 2 cam;
imu: 1
num_of_cam: 1

imu_topic: "/zed/zed_node/imu/data_raw"
image0_topic: "/zed/zed_node/left/image_rect_color"
image1_topic: "/zed/zed_node/right/image_rect_color"
output_path: "~/output/"

cam0_calib: "cam_pinhole_l.yaml"
cam1_calib: "cam_pinhole_r.yaml"
image_width: 672
image_height: 376

# Extrinsic parameter between IMU and Camera.
estimate_extrinsic: 1   # 0  Have an accurate extrinsic parameters. We will trust the following imu^R_cam, imu^T_cam, don't change it.
                        # 1  Have an initial guess about extrinsic parameters. We will optimize around your initial guess.

body_T_cam0: !!opencv-matrix
   rows: 4
   cols: 4
   dt: d
   data: [0.0014846158067664955, -0.9999566394077031, -0.009193215996598725, 0.0026856085760216626,
          0.026265352079174964, 0.009229046866280219, -0.9996124028712818, 0.0009023689144005919,
          0.9996539037067099, 0.0012425773190519185, 0.02627791478681095, 0.0006287860401229842,
          0, 0, 0, 1]
body_T_cam1: !!opencv-matrix
   rows: 4
   cols: 4
   dt: d
   data: [-0.0016843852880614036, -0.9999562677393219, -0.009199209479474446, -0.06711970546466307,
           0.025674324312040753, 0.009152946405229194, -0.9996284572996227, 0.0022119334059672777,
           0.9996689411586828, -0.0019199429545934121, 0.02565778442752982, 0.0006892909975584863,
           0, 0, 0, 1]

#Multiple thread support
multiple_thread: 8

#feature traker paprameters
max_cnt: 110            # max feature number in feature tracking
min_dist: 18            # min distance between two features
freq: 0                # frequence (Hz) of publish tracking result. At least 10Hz for good estimation. If set 0, the frequence will be same as raw image
F_threshold: 1        # ransac threshold (pixel)
show_track: 0          # publish tracking image as topic
flow_back: 1            # perform forward and backward optical flow to improve feature tracking accuracy

#optimization parameters
max_solver_time: 0.045  # max solver itration time (ms), to guarantee real time
max_num_iterations: 8   # max solver itrations, to guarantee real time
keyframe_parallax: 10 # keyframe selection threshold (pixel)

#imu parameters       The more accurate parameters you provide, the better performance
acc_n: 0.1          # accelerometer measurement noise standard deviation.
gyr_n: 0.01         # gyroscope measurement noise standard deviation.
acc_w: 0.001        # accelerometer bias random work noise standard deviation.
gyr_w: 0.0001       # gyroscope bias random work noise standard deviation.
g_norm: 9.81007     # gravity magnitude

#unsynchronization parameters
estimate_td: 1                      # online estimate time offset between camera and imu
td: -0.04                             # initial value of time offset. unit: s. readed image clock + td = real image clock (IMU clock)

#loop closure parameters
load_previous_pose_graph: 0        # load and reuse previous pose graph; load from 'pose_graph_save_path'
pose_graph_save_path: "~/output/pose_graph/" # save and load path
save_image: 0                   # save image in pose graph for visualization prupose; you can close this function by setting 0

thank you very much,
Francesco

Hi @engcang
Im testing VINS-Fusion CPU with ZED mini, can you ensure you are able to run it?
Im not able to correctly init VINS, I always obtain NaNs:
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0814 15:14:59.771003 19283 parameter_block.h:349] Local parameterization Jacobian computation returnedan invalid matrix for x: -nan -nan -nan -nan
 Jacobian matrix : 0nan 0nan 0nan
-nan -nan 0nan
0nan -nan -nan
-nan 0nan -nan
F0814 15:14:59.771054 19283 parameter_block.h:189] Check failed: UpdateLocalParameterizationJacobian() Local parameterization Jacobian computation failed for x: -nan -nan -nan -nan

This in my config
zed_imu_config.yaml
thank you very much,
Francesco

@ceccocats
Hi Ceccocats,
Yes I could run it at that time with my config files.
It seems that you just copied and pasted my config files and tried to run VINS, didn't you?

When I tried to run VINS with realsense d435i using wrong camera calibration parameters, I also obtained NaNs.
I recommend you to calibrate your cameras and IMU again, properly.

Your error messages are from Ceres Solver. I think there could be two reasons.
First, the residual( optimization objective function from the paper ) is not feasible within iteration and solving time due to its calibration or IMU/Camera feature matching re-projection errors are too big. So you can try to edit the optimization parameters, which I do not recommend.
Second, as you said, gyroscope bias/accelerometer bias initialization failed due to wrong camera calibration parameters or wrong camera-imu extrinsic parameters.

Can you check your all of parameters again and can you attach all of your config files please?
I recommend you to use Kalibr package and make sure to set your camera's distortion model as 'radtan' rather than equidistant or something else.
Also can you attach all of your terminal output right after you run the VINS and before you get NaNs.
Thank you for your interest for my repository~
Oh by the way, I want to learn how to use 'tkDNN'. Can I use implement 'yolo-v4-tiny ROS version' using tkDNN?? It would be great if possible.

@ceccocats
Ah, also try to run VINS using 0 IMU and 2 cameras by editing config files,
it will help you to debug whether only cameras are calibrated improperly or not.

The error was a frame dimension issue, your zed launcher was from an old version of zed_wrapper.
I tried kalibr and lost the entire afternoon but I always had a lot of drift.
I think that the calibration made with kalibr was poor.
Now I'm starting from the beginning with imu-utils to find the Allan variance of the Imu and then I will recalibrate hoping for better results.
I thinked that using the same sensor it would be easy to have a working VINS but this algorithm is really a mess to make it work.
You used pinhole-equi, why you think radtan is better? Zed mini have a fov of 110 deg so not a proper fisheye.
Do you recommend to use image_rect_color or image_raw_color or image_raw_gray?
Do you think is better imu/data or imu/data_raw?
About tkDNN, you can easily use it as a library.
We use it in several projects with and without ROS.

@ceccocats
Did you make it work so far?
Well, I actually used pinhole-radtan model as here : https://github.com/engcang/vins-application/blob/zed-mini/kalibr-zed/camchain-imucam-Kalibr_data.yaml
But yeah maybe pinhole-equidistant model would be better as it has large fov fisheye camera.
Actually since VINS using zed-mini camera was older than 1 year for me, I almost forgot it, but according to my experience using Intel realsense d435i recently, radtan model showed a lot better result.
And why do you have to use that camera? I recommend you to use other camera, because zed-mini adopted Rolling shutter as here: https://www.stereolabs.com/zed-mini/
The performances of VINS depending on which shutter was really different I remember, so that I moved on to use Pointgrey+IMU sensor or D435i camera.
I recommend imu/data_raw because you are going to calibrate it using imu_utils, without any hardware filter inherent.
For the image, image_raw_color, for the same reason that you are going to calibrate it.
But since I do not remember it 100% now, please check if there is global shutter image topic for zed-mini first.
If there exist, then you should choose that!
And for what you said - this algorithm is really a mess to make it work
-> It is true when we are using poor sensor setup, but it is not true when we have proper sensor setup that global shutter camera with proper fov and just any imu. I have taken many advantage using VINS with many setups! But surely I used global shutter camera for all of them.
And yes, I think I could not get good result using large fov cameras including fisheye.

Im steady because I can't print the April target and with the screen is not working well when tilting on the side.
Im using zed mini because is what I have... I also have D435 (without imu) but I can use it with an xsens IMU.
Do you think is better this setup?
I have seen that VINS-Mono have a rolling shutter feature, have you tried it?
Also kalibr have a rolling shutter calibration.
Thank you for your help

@ceccocats
Oh man I do not recommend you to use April tag with screen. You should print it and fix it on the wall. It is ok if you only can print it on small A4 paper. But make sure that the target april.yaml file's config values are correct.
I think D435  + Xsense will be much better.
You should fix them using strong bond or tape to fix extrinsic parameter between them.
and use infra1/image_rect_raw topics and infra2 for cameras. Because only infra are with global shutter. And do not forget to turn off IR pattern emitter. you can refer my other branch in this repo.

I borrowed a D435i and calibrated it, but I am not sure the calibration is good.
The camera/camera calib seems good (even if I have an higher error) but the camera/imu is a totally different from yours
I have this BIG reprojections errors that I cant explain
results-cam-homesebDocumentsvokalibr-cded435calib.txt
results-imucam-homesebDocumentsvokalibr-cded435calib.txt

@ceccocats
Yeah your camera calibrations look greater than mine. Also IMU Allan values look good.
But cam-imu seems weird.
Calibration results
Reprojection error squarred (cam0):  mean 5.65965943919, median 0.623765766622, std: 68.0231890053
Reprojection error squarred (cam1):  mean 4.65020168339, median 0.544280617995, std: 52.6817094527
Gyro error squarred (imu0):          mean<PHONE_NUMBER>99, median 4.14097713844, std: 1308.89556261
Accelerometer error squarred (imu0): mean 12.5063602261, median 3.22671477274, std: 31.4982037758
I don't understand why errors are so big..

Can you try to compare your IMU behavior with this: https://github.com/IntelRealSense/librealsense/issues/7103#issuecomment-675284211

I am not sure if mine worked like that at that time.

And did you set the Gyro+Accelerometer united method in the rs_camera.launch file?

Maybe this is because of recent version of realsense SDK? .... hmm but your Allan data is ok...

I think you well-moved your camera like here: https://github.com/ethz-asl/kalibr#tutorial-imu-camera-calibration
right??

Now to be honest I do not know why your cam-imu calibration is bad like that... Hmmm..
Sorry about that!

I definitely have the IMU behaviour you link, but I don't get if it is normal or my unit fault.

I recalibrated using rs4se
And now the results are much better:
results-cam-homesebDocumentsvokalibr-cded435calibrs4se.txt
results-imucam-homesebDocumentsvokalibr-cded435calibrs4se.txt
Still I dont get why you have a different TF than me, maybe it is a kalibr configuration?
here are yours and my estrinsics visualized:

@ceccocats
Well I have no idea hahaha
Maybe I use a lot older version of libRealsense SDK and ROS version? That could be a reason, to make different transformation.
Or maybe you used rs4se???
Well, anyway, now your calibration seems perfect. So regardless of the TF, I think your VINS-Fusion should work well with your new camera calibration parameters and camera-IMU extrinsic parameters!
So try it first, and then let me hear good news from you.

with imu and 1 cam it works ok, but ony with estimate_extrinsic=1.
Even if it works ok if I roll the sensor (even slow) of 90 deg (with the connector facing up or down) it start to drift.
Do you remember an issue like that?
If I try with 2 cam it wont work I think because of the incorrect kalibr result.
Maybe the issue it could be the initial calibration with the realsense tool

@ceccocats
I have not every tried roll 90 deg. I am using VINS for just normal movement of mobile robots and drones.
I also recommend to set estimate_extrinsic as 1.
When setting 2 cameras, yeah, you should give correct body_t_cam parameters.
I am also still confused about body_t_cam transformation and cam_t_body transformation.
I think we should give the transposed value into body_t_cam parameter from result of Kalibr.
ex: Kalibr's result : T_cam_body
VINS's config file : body_T_cam
So I guess they should be transposed.
simply, get the inverse matrix of 4x4 result matrix of Kalibr and then give it into VINS's yaml file.
and please move smoothly at the first time of initializing procedure for VINS.

I think an issue can be that Im using kalibr-cde (the prebuilt package)
Because im recalibrating with the master branch of kalibr compiled from source and as of now I obtained an even better camera calibration, now is calibrating the camera-imu.
The problem is that is deadly slow.
I really appreciate your help, thank you very much.
I hope this issue will be useful for everyone with the same problem

@ceccocats
Yeah. Don't forget to build your Kalibr package with Release buildtype by
  $ catkin build kalibr -DCMAKE_BUILD_TYPE=Release

This will make the node run faster I believe.

@ceccocats
Any news for this issue? Did you make it work?
I recently had a chance to test VINS-Fusion (stereo) with Intel D435i and here is the result clip, if you are interested in yet.


PDB_mmcif database download issue

I have been trying to download PDB_mmcif database with aria2c as well as rsync but i am getting the same issue
rsync: failed to connect to rsync.wwpdb.org (<IP_ADDRESS>): Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(125) [Receiver=3.1.2]
Please let me know is there is any other way that i can download the databases
Thank you

You could try using a different mirror, see https://www.wwpdb.org/ftp/pdb-ftp-sites for a list of mirrors available.
Change the mirror in scripts/download_pdb_mmcif.sh. Here is an example that uses EBI's mirror:
rsync --recursive --links --perms --times --compress --info=progress2 --delete --port=33444 \
  rsync.ebi.ac.uk::pub/databases/pdb/data/structures/divided/mmCIF/ \
  "${RAW_DIR}"

Try to use a mirror that is close to your geographic location (PDBj for Asia, EBI for Europe, RCSB for America).

I used a different mirror but getting the same error.
Running rsync to fetch all mmCIF files (note that the rsync progress estimate might be inaccurate)...
rsync: failed to connect to rsync.ebi.ac.uk (<IP_ADDRESS>): Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(127) [Receiver=3.1.3]
Please let me know is there is any other way that i can download the databases
Thank you

Hi,
same problem here (Asian region)
I did try a different mirror and it is still not working.
rsync: failed to connect to data.pdbj.org (<IP_ADDRESS>): Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(125) [Receiver=3.1.2]
thanks

@shanizev : Were you using --port=33444 for Asia mirror ?. If yes, try changing it to 873 .i.e.
rsync --recursive --links --perms --times --compress --info=progress2 --delete --port=873 \
  ftp.pdbj.org::ftp_data/structures/divided/mmCIF/  \
  "${RAW_DIR}"

It is probably a problem with the firewall and rsync. It happened the same when I was running it at my University.
You can talk to your IT support or use a script I developed to download the database without using rsync https://github.com/benjaminlozanow/pdb_data_download

@shanizev : Were you using --port=33444 for Asia mirror ?. If yes, try changing it to 873 .i.e.
rsync --recursive --links --perms --times --compress --info=progress2 --delete --port=873 \
  ftp.pdbj.org::ftp_data/structures/divided/mmCIF/  \
  "${RAW_DIR}"

solved, thanks


Discrepancy between v4.0 .schema file and DRAFT markdown document

After reviewing the CVE_JSON_4.0_min_public.schema JSON Schema definition and then reading the DRAFT-JSON-file-format-v4.md document, I noticed that the .schema file was missing many of the keys/Objects described in DRAFT-JSON-file-format-v4.md (ex: configuration, impact, version_affected). Is this intentional or a mistake? Is CVE_JSON_4.0_min_public.schema intended to be a minimal subset of the CVE v4.0 JSON Schema? If so, does a complete JSON Schema definition file exist for CVE v4.0?

Version 4 was experimental for the github submission pilot. Some keys you cited were never defined and left to interpretation.
These fields/keys have been now defined in version 5 schema. There are no plans to port them to version 4 schema.

@chandanbn just to get some clarification, when version 5 is finalized, will the cvelist github repository be upgraded to use only version 5 JSON schema? Or will cvelist contain both version 4 and version 5 JSON data?


Only the index page can be accessed while in watch-admin mode

Hi!
I tried two different approaches:
Via docker-compose.yml directly, starting from strapi/strapi
strapi-app-development:
    image: strapi/strapi:3.0.0-beta.19.5-node12-alpine
    container_name: strapi-app-development
    ports:
      - ${APP_EXTERNAL_PORT}:1337
    working_dir: /srv
    command: >
      bash -c "strapi new app --no-run --quickstart
        && cd app
        && strapi develop --watch-admin"

And after building a new image, starting from strapi/base
FROM strapi/base:12-alpine

RUN yarn global add<EMAIL_ADDRESS>
WORKDIR /srv/app

RUN strapi new . \
  --quickstart \
  --no-run

RUN strapi build

and then in the docker-compose.yml:
strapi-app-development-from-base:
    image: <my-previously-built-image>
    container_name: strapi-app-${ENV}-from-base
    ports:
      - ${APP_EXTERNAL_PORT}:1337
    volumes:
      - ./admin:/srv/app/admin
    working_dir: /srv/app
    command: strapi develop --watch-admin

In both cases, I can reach the index page at http://<IP_ADDRESS>:1337 or http://localhost:1337, but any other linked page gives me the error:
{"statusCode":404,"error":"Not Found","message":"Not Found"}

Actually, the case that interests me the most is the second one, since it's the only one that allows me to mount the admin directory.
Thanks!

watch admin runs the admin panel on another port :) you will need ot share it too. (fyi, port: 4000)
Closing this as it is not an issue with the images.

Ok, thank you!
I managed to solve my problem by specifying that the host of the admin endpoint should be <IP_ADDRESS>, otherwise it didn't respond to my requests:
{
  "host": "<IP_ADDRESS>",
  "port": 1337,
  "proxy": {
    "enabled": false
  },
  "cron": {
    "enabled": false
  },
  "admin": {
    "autoOpen": false,
    "host": "<IP_ADDRESS>",
    "port": 8000
  }
}

Is this somewhat related to #191?
I'm currently using Strapi version 3.0.0-beta.19.5.
Thanks

Hi,
I'm trying to run strapi in the watch admin mode using docker-compose (strapi + mysql). I've tried many ways to do this in my project, but always getting the following error:

Then, I tried to run watch admin in a fresh installation. Creating a new project directly from CLI (v3.4.0) without docker, it works fine. When I create a new project using docker compose structure for Strapi + MySQL, it's created with Strapi v3.1.6 and the watch admin mode also works. However, when I update Strapi to v3.1.7 the watch admin mode doesn't work anymore.
Could you check that and help with this? I'm stuck on this for two days.