Maximum call stack size exceeded error

Hey there- thank you for this step, it's super useful!
I would like to report that I ran into an issue recently where the cache did not work as expected, instead I got the following error message:
[warning] Maximum call stack size exceeded

This happened when I tried to cache a folder with a large amount of small files (300000+ files) with fairly long filenames (80-100 chars).
In the previous executions of the same workflow I got the usual Cache saved successfully message , so I know that It worked before with the same config. It's just the number of files in that folder that I want to save and restore between executions that has been growing.

Hi @fb0  ! Is the repo on which you are using cache public? If yes, can you share link to the workflow run. If not, can you share the logs here?

Hey! It's a private repo unfortunately. There is not a lot of logging, here's what the UI shows for that build step that failed:

dcache build-steps-v3 is a simple cache step, trying to save a directory containing a lot of small files. Previously it was logging something like the step below- but it started failing when the number of files increased. My guess would be that there might be an issue when generating the file manifest.txt ?
We fixed the issue by using SQLite instead of files on disk to store our data that we want to persist across builds.

Is this a Javascript repo? Doesn't seem to be an issue with our action but instead something to do with cache of your package manager which is throwing this error. For example, for npm, this can be fixed by clearing npm cache https://stackoverflow.com/questions/40566348/maximum-call-stack-size-exceeded-on-npm-install
If this has been fixed on your end, I'm going to go ahead and close this as not an issue on our end. We do have limits on total size  (around 10 GB) and upload chunks (around 90k). Number of chunks can be controlled by setting upload-chunk-size at https://github.com/actions/cache/blob/3bb5ffcc9c78302e6ddb66e954f54ec3806083e1/action.yml#L14 . There are no limits on the number of files that can be cached on our end.
Feel free to reopen with more details if the issue comes up again. Thanks.

This is still and issue for me.


Refactor and refocus the lesson

This is a massive work in progress pull request and I understand that it is not easy to follow changes by looking at the diffs and it is probably easier to look at the result: https://coderefinery.github.io/reproducible-research-aalborg/
This work is not finished yet, I plan to still rework the episode "Recording computational steps" where I want to present and discuss a comparison GUI vs manual steps vs script vs Snakemake vs Make.

Motivation for the rewrite:

goal is not that participants are able to write a Snakefile (that would be a valid goal but is not my personal goal)
my goal is that participants see which of the many tools are a good fit for what they do, later they can figure out details on their own
hopefully more discussion
hopefully some must-haves will be more visible

TODO: Somehow I removed the Conda exercise but my plan was to leave it as optional episode. I need to reinsert that.

Left to do:

[ ] reintroduce conda exercise
[ ] rename link from word-count-aalborg to word-count

[chat:]

i also think there should be an exercise on conda, e.g. creating an environment, installing particular versions and exporting an environments file

These steps are described in the episode. We can spin this into an exercise but I would welcome if we can follow-up on this with an issue.

Once merged, please remove https://github.com/coderefinery/reproducible-research-aalborg and rename link in 2019-06-11-aalborg.md.

This revision makes me very happy.
These should be made another issue:

[ ] There could be a exercise on adding requirements.txt or some such to a project.  It can also be used to detect hidden dependencies (e.g. exercise has a few things declared in the README, but a hidden function imports something else)
[ ] Mention that making pip/conda environments is also useful because it helps you make sure that you know your dependencies (relates to above).

great to have better organization of the episodes! so i approve this PR.
here are some things that i think should be improved:

more hands-on exercises. If it's not snakemake or make we should try to come up with more concrete exercises. Discussions are good but participants almost unanimously want more hands-on
would be good to consistently use "task" sections for exercises, since it makes it easier to browse the episodes
currently too python-centric, questions is how to improve it. Either we

include more tools, perhaps GUIX/NIX, something from R world, etc,
or we reduce text on pyenv, poetry, virtualenv etc and perhaps instead show examples of conda for different languages.

Thanks for very good comments. OK if I spawn new issues based on the suggestions and merge?

more hands-on exercises. If it's not snakemake or make we should try to come up with more concrete exercises. Discussions are good but participants almost unanimously want more hands-on

I agree generally but I also think that at 4:30 pm after a long day, in my opinion a longer hands-on exercise is often not what participants want. But we should have more hands-on as optional episodes, also for the case where this lesson is used earlier in the day.
Also the discussion section can involve hands-on. Depending on time of day and mood in the room, I would encourage participants to actually try the scripted, snakemake, and make examples and experience the pros and cons.

yeah sure, i left it open in case you wanted input from others as well, but ready to merge from my perspective

yeah sure, i left it open in case you wanted input from others as well, but ready to merge from my perspective

OK I will create issues, merge, and also clean up the URL references in the workshop page.

Issues created, URLs are fixed. Merging.


Microsoft fonts for commercial use

We are an online publishing company, and I try to find information on if we can use the fonts provided by Word 2013 for our journals. We wish to convert it to PDF file and put the PDF online and readers can download it for free.
Do we need a specific license for doing this? The legal terms are so vague and I can't find the license agreement anywhere.

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

ID: d43be991-71e4-56f0-fec0-df35d187a0b8
Version Independent ID: 3ba72d0d-49d0-b525-5a0d-fbe56aa9329c
Content: About Microsoft Typography - Typography
Content Source: typographydocs/about.md
Product: windows
GitHub Login: @mijacobs
Microsoft Alias: mijacobs

I apologize that your feedback was never addressed here. I understand that it can be frustrating when your concerns are not addressed in a timely manner. However, I hope that the FAQ  will be helpful in addressing your question. It contains useful information about fonts and their usage.
As your original post was made some time ago, I am going to close this matter for now. However, please don't hesitate to reach out and reopen this issue if you have any further questions or concerns.
Thank you for your feedback and patience.


User/t kazhua/galleryapp template

Vision skills page info are loaded from the JSON file.
Thumbnail are implemented with template and data binding.

    /// </summary>

complete comment

Refers to: samples/GalleryApp/Pages/ObjectDetectorPage.xaml.cs:447 in 256b141. [](commit_id = 256b1414fc41d4a431e2ba5cb89eef1d598eaeed, deletion_comment = False)

<UserControl

the thumbnail.xaml and xaml.cs aren't used, please don't check them in.

Refers to: samples/GalleryApp/Thumbnail.xaml:1 in 53486e8. [](commit_id = 53486e8f63727f6c1d415adf9c0e8fbf72bd3471, deletion_comment = False)

        m_lock.Wait();

What scenario would trigger this lock to wait?

Refers to: samples/GalleryApp/Pages/ObjectDetectorPage.xaml.cs:89 in a30ff16. [](commit_id = a30ff169b213ed0537f22f5488a15cb631f46bf4, deletion_comment = False)

        m_lock.Wait();

There are multiple asynchronous call in the current context so it's safe to prevent resource be accessed/modified. By removing the line the app behaves normally but there's chance where it does behave normally and it becomes hard debug. For example, if InitializeObjectDetectorAsync() gets call twice here, it's hard to know if m_skill represents the skill created the first time or the second.

In reply to: 510571696 [](ancestors = 510571696)

Refers to: samples/GalleryApp/ObjectDetectorPage.xaml.cs:89 in a30ff16. [](commit_id = a30ff169b213ed0537f22f5488a15cb631f46bf4, deletion_comment = False)


[ADP-2509] Nix expressions for benchmarks and other artifacts

Overview
The goal of this task is to clean up our flake.nix file a little bit and create a reasonable hierarchy that can be used with any CI system, be it Cicero or Buildkite.
I have changed the ci.* hierarchy introduced previously — the idea is that we use the standard flake commands nix build and nix run for building artifacts and running checks respectively, e.g.
nix build .#ci.tests.all
nix run   .#ci.tests.unit

This pull request implements the following parts of the new hierarchy:

[x] Build ci.artifacts
[x] Build ci.benchmarks.*
[x] Build ci.tests.all

However, running tests will be implemented in a subsequent PR.

Run ci.tests.unit
Run ci.tests.integration

Issue Number
ADP-2509

bors merge


fix: Add generated validators for gRPC adapters.

Adds generated payload validation for all gRPC adapters (except for FaaS at the moment).

Codecov Report

Merging #126 (f6c67d9) into main (c003d5e) will decrease coverage by 0.49%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #126      +/-   ##
==========================================
- Coverage   46.63%   46.13%   -0.50%
==========================================
  Files          34       33       -1
  Lines        2747     2757      +10
==========================================
- Hits         1281     1272       -9
- Misses       1355     1374      +19
  Partials      111      111

Flag
Coverage Δ

unittests
46.13% <0.00%> (-0.50%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/adapters/grpc/document_grpc.go
0.00% <0.00%> (ø)

pkg/adapters/grpc/event_grpc.go
31.74% <0.00%> (-3.35%)
:arrow_down:

pkg/adapters/grpc/queue_grpc.go
0.00% <0.00%> (ø)

pkg/adapters/grpc/secret_grpc.go
0.00% <0.00%> (ø)

pkg/adapters/grpc/storage_grpc.go
0.00% <0.00%> (ø)

pkg/plugins/gateway/lambda/lambda.go
69.00% <0.00%> (+0.58%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c003d5e...f6c67d9. Read the comment docs.


create readme

I made a rough draft of the README.md which I can change as the app progresses if you'd like.  Just let me know or we can see what the group decides.


Skeleton.get_bone_global_pose() get incorrect value after Skeleton.set_bone_global_pose_override() in _process()

Godot version:
v3.2.1
OS/device including version:
Mac & PC
Issue description:
Godot has ragdoll system but it is not useful too in the case of it apply to hair, closs and some of accessories. So I want dynamics/spring bone and try making it, however I can't get correct bone position with get_bone_global_pose().
Picture:

Code:
extends Skeleton

# List.
const BONES = [
    "upper_arm_l",
    "under_arm_l",
    "hand_l"
]

# Declare member variables here.
var gravity_dir = (Basis(Vector3(1,0,0),Vector3(0,1,0),Vector3(0,0,1)).get_rotation_quat() * Quat(-1, 0, -1, 0)).normalized()

# Animation.
func start_simulation(bone_name: String, speed: float):
    var id = self.find_bone(bone_name)
    var global_pose = self.get_bone_global_pose(id)
    var global_basis = global_pose.basis.get_rotation_quat()
    var global_origin = global_pose.origin
    var target_pose = global_basis.slerp(gravity_dir, speed)
    self.set_bone_global_pose_override(id, Transform(target_pose, global_origin), 1, true)
    return

# Called when the node enters the scene tree for the first time.
func _ready():
    for bone in BONES:
        start_simulation(bone, 0.5)
    return

# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(_delta):
    for bone in BONES:
        start_simulation(bone, 0.005)
    return

In process of _ready(), all bones looks like transformed correct positions but in process of _process() it is not all. Why is that?

I fix it. (Viridflow is my another account.)
https://twitter.com/viridflow/status/1270209467171270657
The cause of that behavior was "Child's global pose override was not inherit parent's global pose override". It is quite obvious. However, this would be better if a set_global_pose_override() implements inherit option.
I summarize and send marge request later.

Finaly it solved with memory parent transform value diffs.
Engine will not change :)
extends Skeleton

# Bone list.
const bone_list = [
    "upper_arm_l",
    "under_arm_l",
    "hand_l",
]

# Diff list
const diffs = [
    Vector3(0,0,0),
    Vector3(0,0,0),
    Vector3(0,0,0),
]

# Call in _ready().
func simulate_init(bone_list):
    simulate(bone_list, 0, 1)
    return

# Call in _process().
func simulate(bone_list, speed: float, expo: float):
    for i in bone_list.size():
        var skel = self
        var skel_gravity_qt = (skel.global_transform.basis.get_rotation_quat().inverse() * Quat(-1, 0, -1, 0)).normalized()

        var current_id = skel.find_bone(bone_list[i])
        var current_pose = skel.get_bone_global_pose(current_id)
        var current_origin = current_pose.origin
        var current_qt = current_pose.basis.get_rotation_quat()
        var current_speed = speed * (1 / pow((i + 1), expo))

        var target_qt = current_qt.slerp(skel_gravity_qt, current_speed)

        if i < bone_list.size() - 1:
            var qt_diff = target_qt * current_qt.inverse()
            var child_id = skel.find_bone(bone_list[i + 1])
            var child_pose = skel.get_bone_global_pose(child_id)
            var sub1 = child_pose.origin - current_pose.origin;
            var sub2 = qt_diff.xform(sub1)
            diffs[i + 1] = (sub2 - sub1) + diffs[i]

        skel.set_bone_global_pose_override(current_id, Transform(target_qt, current_origin + diffs[i]), 1, true)
    return


Add --stdin-filepath option to format cmd

This PR introduces the --stdin-filepath option to the format command.
This was inspired by ESLint's --stdin-filename and Prettier's --stdin-filepath. It doesn't have any behavior in the actual parsing of files or their resolution.
It is mainly useful when showing error information. In such cases, instead of getting:
  ┌─ -:2:5
  │
2 │ [bar=6
  │     ^ expected "]"

One would get:
  ┌─ ./foo.toml:2:5
  │
2 │ [bar=6
  │     ^ expected "]"

By executing format as taplo format --stdin-filepath ./foo.toml -.

Thanks, I left a comment about a tiny detail, otherwise LGTM.


productionGzip in vue cli 3.0

What problem does this feature solve?
no productionGzip config after cli 3.0, would it be add?
What does the proposed API look like?
productionGzip: on

const CompressionWebpackPlugin = require('compression-webpack-plugin')
const productionGzipExtensions = ['js', 'css']

configureWebpack: {
        plugins: [
            new CompressionWebpackPlugin({
                asset: '[path].gz[query]',
                algorithm: 'gzip',
                test: new RegExp('\\.(' + productionGzipExtensions.join('|') + ')$'),
                threshold: 10240,
                minRatio: 0.8
            })
        ]
    }

@AloneWeb .gzip文件不是注入index.html的。
在服务端没有开启gzip的情况下，读取一个js/css文件，如果存在其.gzip版本则服务器优先返回压缩的文件，前台拿到后在浏览器层面解压。
但就像 evan you说的那样，目前大多数服务器都开启了gzip功能，文件会自动压缩，这个你在前台的网络面板里面能够看到。
我这里开gzip纯粹是为了看一下文件实际传输大小是多大，尽可能优化体积，同时服务端也是把gzip默认华人打开了的。

@realeve 懂了，非常感谢大佬的解答 👍

To do this right and optimally, there is more code to this than I would care to maintain. Would appreciate if this was built into Vue CLI 3. Ideally, you'd support Zopfli for better GZIP compression and Brotli too which requires three dependencies alltogether.
const BrotliPlugin = require("brotli-webpack-plugin");
const CompressionPlugin = require("compression-webpack-plugin");
const zopfli = require("@gfx/zopfli");

let plugins = [];
if (process.env.NODE_ENV === "production") {
  const compressionTest = /\.(js|css|json|txt|html|ico|svg)(\?.*)?$/i;
  plugins = [
    new CompressionPlugin({
      algorithm(input, compressionOptions, callback) {
        return zopfli.gzip(input, compressionOptions, callback);
      },
      compressionOptions: {
        numiterations: 15
      },
      minRatio: 0.99,
      test: compressionTest
    }),
    new BrotliPlugin({
      test: compressionTest,
      minRatio: 0.99
    })
  ];
}

module.exports = {
  configureWebpack: {
    plugins
  },
  // ...omitted
}

Not success at begining，found that compression-webpack-plugin option “asset” has been changed to “filename” at last version 2.0.0，For avoiding confusion

@ayizhi Thank you very much !

For any one using this https://github.com/vuejs/vue-cli/issues/978#issuecomment-413123933
when u met unknown option error, use this
$ npm i -D CompressionWebpackPlugin@1

With node 11.7.0+ compression-webpack-plugin has native support for brotli
https://github.com/webpack-contrib/compression-webpack-plugin#using-brotli

brotli

This package has been deprecated
https://www.npmjs.com/package/iltorb?activeTab=explore


Publish tasty-program on stackage

Requested by @niteria in #6

@niteria: done. I'm not sure how fast my pull requests for stackage get merged but hopefully tasty-program will be available on stackage soon.

Awesome, thank you! The stackage people are very responsive, they've merged my pull requests within a day.


please, release for Scala 2.12/Spark 2.4.4 combination

I noticed that you forgot to publish SANSA for Scala 2.12 ( according to https://mvnrepository.com/artifact/net.sansa-stack/sansa-rdf-spark ), could you please publish it for 2.4.4/Scala_2.12?

We will discuss whether to make this change for SANSA 0.8 (planned in June). Probably, we will implement this change then.

Maybe you should consider switching to the proper build system (i.e. sbt or mill) in the next version? There supporting several versions of Scala is just about having them in crossScalaVersions build settings and checking that you do not have any dependency blockers (and you do not, as all the stuff is already published for Scala 2.12).

Yeah, I know about cross-compile support of SBT, still figuring out how to do it in most efficient way. Moreover, it's there is a chance that Spark 3.0 will be released before our next release and they will drop support for Scala 2.11 - we're thinking about the same and align with Spark and Flink at this point in time. Spark will go with Scala 2.12 and there is also 2.13 afaik, Flink is still on 2.11 and 2.12

We will make this change for SANSA 0.9 only, since Spark 3.0 has not switched to Scala 2.12 yet.

Spark 3.0 is Scala 2.12

Hi, we are aware of this.
Just to clarify, next release 0.8.0 will be Scala 2.12/Spark 2.4.6 - but it will not be Spark 3.0 - the reason for this is that our DataLake Layer depends on a bunch of Spark connectors, which means it needs for releases w.r.t. Spark 3.0 from their side.
Indeed, the RDF, OWL and Inference Layer do already work with Spark 3.0 (I checked it). In principle, also the Query Layer will work. Just the DataLake integration not. The distribution packages are built with Spark scope provided and clearly if you use a SANSA dependency in your project you can simply exclude the Spark dependency.
If there is enough time, a separate upload of Spark 3.0 based artifacts might be done as well, but I guess only in our own hosted Maven repo first - which should be a problem if you add it to your repositories in the Maven POM file. (or Gradle, SBT, ...)
Hope this is helps.


FAQ: document HOMEBREW_NO_CLEANUP_FORMULAE

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Review period will end on 2021-11-29 at 10:23:09 UTC.

Thanks again @carlocab!

Review period skipped due to critical label.


Use gray default custom search patterns if no value is entered in field

Right now, if you only have custom search patterns checked, you have to enter a value into every single box. It would be great if it used the example search pattern if you don't override it with anything. It is weird because if you enter the exact text that the example shows, it will not save and gets reset when you click okay.

Actually, it appears that the Search words box just doesn't work at all right now. I can enter anything I want into the box and I still get results that don't include that pattern.

It basically works like this:

English (or w.e language) + custom selected: this will result in using all of the languages default values AND anything that has been entered manually
Only custom selected: it will override with the values have been entered. If fields were left blank then the value is blank
Only 1 language selected: it will use the languages default values and ignore anything that has been entered

You are right about search words though

Why I'm looking for is a way to trigger only on a specific set of search words, not additional. For example, instead of triggering on "lfm lf1m lf2m lf3m", i want it to only trigger on "dps". This way, it will only show me groups that are looking for dps and exclude those who need a tank or healer. I also don't want it to interfere with filtering of heroic groups, so the separate search filter for heroic still needs to work as it currently does. Is that possible?
As it is now, if I check English + Custom, it will still trigger on "lfm lf1m lf2m lf3m etc." from English. However, if I only check Custom, then I have the issue of having to enter something for every single dungeon's search pattern. This is why I was hoping custom would use the default search pattern if you hadn't entered anything. That way it could work like a hybrid of English + Custom.

Closing as stale, this type of problem should have been alleviated with #250, and #205


Twitter og tags Problem

Hi,
First of all thank you for this useful library. But I couldn't get og tags for Twitter. I think this isJsoup problem. Do you know anything about this?

Hello @cagdasc
Can you please share some links you were not able to use?
I will check them out soon

@Priyansh-Kedia there is no specific url. I tried it for many different tweets URL.

Ahh okay, I will check it out soon.
Thank you for reporting this

Hello @cagdasc
I found this issue, and have made some fixes and pushed those to a branch named og_tags_bug.
I have done some testing.
Can you also make sure if it fixes the issue now?

@Priyansh-Kedia I will try. Thank you 👍

@cagdasc
Did you test it out for your case?

@Priyansh-Kedia it works well. I am waiting next version. Thank you 👍🏻

That's great.
Thanks for reporting the issue.


[BUG] The two example images on the front page are different widths

The two example images on the front page are different widths

Only one image now.


add composite option param to return a compressed buffer

@GretaCB and @allieoop are working on a compression lib over at https://github.com/mapbox/gzip-hpp to add to vtshaver.
Just wanted to make a note that whenever they're finished with gzip quest, we'll want to incorporate this into vtcomposite in a way that mirrors the implementation in vtshaver.

Done in #36


Update README.md

Fixes #1
As a part of maintaining and improving the repository, I propose updating the README.md file with the newly added readme. This new readme includes the following updates:
Information about contribution and contact
GitHub cards with License, Issues and Stargazers count
By updating the README.md file, it will help new users to easily understand the repository structure and its contents. Additionally, it will make the repository look professional and well-maintained.

Let me know if there are any changes/additions/deletions needed in the README.


Challenge

User Story
As a user
I want to have a sporting challenge
so that I have a goal that I can work towards.
Description

Acceptance Criteria

[ ] the challenge should have a picture, title and distance in km
[ ] it should have a start button
[ ] clicking on the start button, navigates the user to the active challenge page
[ ] the challenge should be listed on the challenges page

Tasks

[ ] create a new branch
[ ] create a new component Challenge
[ ]  add an image, title and distance to the Challenge
[ ] add a start button as a navLink
[ ] clicking the button, navigate to the active challenge page
[ ] create challenges page and add the component to it

Complexity
S / M

Well done 👍


Save config dialog popping up when entering font family by hand

In settings window, when entering font family by hand instead of selecting it from dropdown, clicking save button pops up a dialog that asks if the settings should be saved. This dialog is not needed.

fixed in v0.3.1 (since pre release 1)


[QUESTION] Is that any way to get the total number of data rows in excel after imported the data?

Prerequisites

[X] Have read and understood: https://github.com/Maatwebsite/Laravel-Excel/blob/3.1/.github/SUPPORT.md
[X] Checked if your Laravel Excel version is still supported: https://docs.laravel-excel.com/3.1/getting-started/support.html#supported-versions
[X] Checked that your question isn't already asked before.
[X] Filled in the entire issue template

Versions

PHP version: 7.2.10
Laravel version: 5.8.6
Package version: 3.1

Description
After done imported the data, is that any way to get the total line of data in the excel?
If i using WithLimit interface and set to 5, my uploaded excel file have 10 rows of data, is that a way to get a return of the total number of rows in uploaded file even though there is only 5 data inserted?
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.

You could use the getTotalRows() method on the reader, you can access the reader via one of our event hooks


Strange section values when converting environment variables to ini file

I'm not sure whether the section values deduced from environment variables are good.
Executing step by step what seems to be happening the first time in virtuoso.sh yields section values such as [NumberOfBuffers=170000]...
root@0cb539dde5e9:/usr/local/virtuoso-opensource/var/lib/virtuoso/db# printenv | grep -P "^VIRT_"
VIRT_NumberOfBuffers=170000
VIRT_MaxDirtyBuffers=130000
root@0cb539dde5e9:/usr/local/virtuoso-opensource/var/lib/virtuoso/db# setting="VIRT_NumberOfBuffers=170000"
root@0cb539dde5e9:/usr/local/virtuoso-opensource/var/lib/virtuoso/db# echo $setting
VIRT_NumberOfBuffers=170000
root@0cb539dde5e9:/usr/local/virtuoso-opensource/var/lib/virtuoso/db# section=$(echo "$setting" | grep -o -P "^VIRT_[^_]+" | sed 's/^.\{5\}//g')
root@0cb539dde5e9:/usr/local/virtuoso-opensource/var/lib/virtuoso/db# echo $section
NumberOfBuffers=170000
root@0cb539dde5e9:/usr/local/virtuoso-opensource/var/lib/virtuoso/db# key=$(echo "$setting" | grep -o -P "_[^_]+=" | sed 's/[_=]//g')
root@0cb539dde5e9:/usr/local/virtuoso-opensource/var/lib/virtuoso/db# echo $key
NumberOfBuffers
root@0cb539dde5e9:/usr/local/virtuoso-opensource/var/lib/virtuoso/db# value=$(echo "$setting" | grep -o -P "=.*$" | sed 's/^=//g')
root@0cb539dde5e9:/usr/local/virtuoso-opensource/var/lib/virtuoso/db# echo $value
170000
root@0cb539dde5e9:/usr/local/virtuoso-opensource/var/lib/virtuoso/db# echo "Registering $section[$key] to be $value"
Registering NumberOfBuffers=170000[NumberOfBuffers] to be 170000
root@0cb539dde5e9:/usr/local/virtuoso-opensource/var/lib/virtuoso/db# crudini --set virtuoso.ini "$section" "$key" "$value"
root@0cb539dde5e9:/usr/local/virtuoso-opensource/var/lib/virtuoso/db# grep NumberOfBuffers virtuoso.ini
;NumberOfBuffers          = 170000
;NumberOfBuffers          = 340000
;NumberOfBuffers          = 680000
;NumberOfBuffers          = 1360000
;NumberOfBuffers          = 2720000
;NumberOfBuffers          = 4000000
;NumberOfBuffers          = 5450000
NumberOfBuffers          = 10000
[NumberOfBuffers=170000]
NumberOfBuffers = 170000

Sorry, when I use:
root@0cb539dde5e9:/usr/local/virtuoso-opensource/var/lib/virtuoso/db# crudini --get virtuoso.ini NumberOfBuffers=170000 NumberOfBuffers
170000

it seems to work.
I still have to check if Conductor / System Admin / Parameters / Parameters display the correct changed value.

Having tested executing the initialization code, the new value of NumberOfBuffers is not displayed within the Parameters section, thus I wonder if it is taken into account...

Ooops. I did not read the README well enough. I forgot to add the section in the variable name. Sorry.


Using file as a version in a package-lock.json creates a SPDX block without versionInfo (Non-NTIA compliant)

What happened:
In the case of scanning a NPM project with a package-lock.json using a file as a version.
package-lock.json
"../tools/local-tool": {
      "version": "0.1.0"
    },
    "node_modules/local-tool": {
      "resolved": "../tools/local-tool",
      "link": true
    }

../tools/local-tool/package.json
{
  "name": "local-tool",
  "version": "0.1.0",
  "description": "A local tool"
}

It generates two block in the final spdx-json SBOM generated on scanning package-lock.json
One block without versionInfo (Non NTIA compliant)
{
   "name": "local-tool",
   "SPDXID": "SPDXRef-Package-npm-local-tool-5607b76624f7aa40",
   "downloadLocation": "NOASSERTION",
   "sourceInfo": "acquired package info from installed node module manifest file: package-lock.json",
   "licenseConcluded": "NONE",
   "licenseDeclared": "NONE",
   "copyrightText": "NOASSERTION",
   "externalRefs": [...]
  },

One block with versionInfo (NTIA compliant)
{
   "name": "../tools/local-tool",
   "SPDXID": "SPDXRef-Package-npm-..-tools-local-tool-e372d15bc46dbad5",
   "versionInfo": "0.1.0",
   "downloadLocation": "NOASSERTION",
   "sourceInfo": "acquired package info from installed node module manifest file: package-lock.json",
   "licenseConcluded": "NONE",
   "licenseDeclared": "NONE",
   "copyrightText": "NOASSERTION",
   "externalRefs": [...]
  },

What you expected to happen:
I would expect Syft to generate NTIA compliant SBOM with either:
Two blocks with versionInfo defined
or
One block with versionInfo defined (as it looks like they are duplicated)
Steps to reproduce the issue:
Create this folder structure
package.json (with a reference to /tools/package.json instead of the version)
{
  "name": "my-project",
  "version": "1.0.0",
  "dependencies": {
    "local-tool": "file:../tools/local-tool"
  }
}

tools/package.json
{
  "name": "local-tool",
  "version": "0.1.0",
  "description": "A local tool"
}

Then run npm install to generate ./package-lock.json
Then execute syft .
Anything else we need to know?:
I used https://github.com/spdx/ntia-conformance-checker to check the compliance of the generated SBOMs
With that result
Is this SBOM NTIA minimum element conformant? False

Individual elements                            | Status
-------------------------------------------------------
All component names provided?                  | True
All component versions provided?               | False
All component identifiers provided?            | True
All component suppliers provided?              | True
SBOM author name provided?                      | True
SBOM creation timestamp provided?           | True
Dependency relationships provided?           | True

Components missing a version: local-tool

Environment:

Output of syft version: v0.77.0
OS (e.g: cat /etc/os-release or similar): Ubuntu

dev note: we should probably put a check in a critical cataloger path instead of within individual catalogers like we do today (say within pkg.cataloger.catalog())

from @kzantow : to get the version in this particular case we could be following the filesystem (towards parents) to start collecting the version info when processing the current package (or in a post-parser step).

The fun thing about this is the SPDX allows for version to be optional even though the NTIA minimum elements requires a version. We could allow for this and similar behavior to be configurable, where:
a) we still surface packages with unknown versions, but fill in a known bad value (e.g. '---'). I don't know what the right value would be, but maybe it could be a user configurable one.
b) we could allow for version to be optional in general, instead of filtering out by default. Again, this could be a user configurable.

There are two tasks here:

[ ] enhance the javascript cataloger to get this additional version from the available files
[ ] add protection similar to https://github.com/anchore/syft/issues/2015#issuecomment-1673858835 to ensure that versions are either filled in (say with UNKNOWN) or the packages are dropped. This could be a user configurable item.


Cannot make video fill the whole screen?

There is black space left on top and bottom of the screen, I want to make the video fill the entire screen this is the styles that I applied
{
position: 'absolute',
top: 0,
left: 0,
right: 0,
bottom: 0,
width: deviceWidth,
height: deviceHeight,
zIndex: -1,
}
and  tried all the options for resizeMode but none worked

same issue here. using<EMAIL_ADDRESS>

The same issue. Any possibility to turn on full screen view ?


Output differs from running Rubocop standalone

I get different outputs from guard-rubocop and standalone rubocop. In the example below, guard-rubocop reports 1 offenses but rubocop standalone reports 8. How could that be? Is it possible that guard-rubocop runs an older version of rubocop?
guard-rubocop reports the following errors:
10:03:08 - INFO - Inspecting Ruby code style: spec/requests/admin/orders_spec.rb
Inspecting 1 file
C

Offenses:

spec/requests/admin/orders_spec.rb:116:40: C: Style/SpaceInsideHashLiteralBraces: Space inside } missing.
        let(:parameters) { { year: year} }
                                       ^

1 file inspected, 1 offense detected

rubocop reports the following errors:
$ rubocop spec/requests/admin/orders_spec.rb
Inspecting 1 file
C

Offenses:

spec/requests/admin/orders_spec.rb:84:13: C: RSpec/EmptyLineAfterFinalLet: Add an empty line after the last let block.
            let(:delivery_week_2) { create_delivery(end_of_week(year, week)) }
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
spec/requests/admin/orders_spec.rb:90:13: C: RSpec/EmptyLineAfterFinalLet: Add an empty line after the last let block.
            let(:delivery_week_2) { create_delivery(middle_of_week) }
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
spec/requests/admin/orders_spec.rb:107:9: C: RSpec/EmptyLineAfterSubject: Add empty line after subject.
        subject { response }
        ^^^^^^^^^^^^^^^^^^^^
spec/requests/admin/orders_spec.rb:109:9: C: RSpec/EmptyLineAfterFinalLet: Add an empty line after the last let block.
        let(:parameters) { { week: week } }
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
spec/requests/admin/orders_spec.rb:114:9: C: RSpec/EmptyLineAfterSubject: Add empty line after subject.
        subject { response }
        ^^^^^^^^^^^^^^^^^^^^
spec/requests/admin/orders_spec.rb:116:9: C: RSpec/EmptyLineAfterFinalLet: Add an empty line after the last let block.
        let(:parameters) { { year: year} }
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
spec/requests/admin/orders_spec.rb:116:40: C: Style/SpaceInsideHashLiteralBraces: Space inside } missing.
        let(:parameters) { { year: year} }
                                       ^
spec/requests/admin/orders_spec.rb:127:9: C: RSpec/EmptyLineAfterFinalLet: Add an empty line after the last let block.
        let(:parameters) { {} }
        ^^^^^^^^^^^^^^^^^^^^^^^

1 file inspected, 8 offenses detected

You should run rubocop and guard with prefix bundle exec. bundle exec rubocop and bundle exec guard should output same results.


Debug Frontend-test

An error occurred as of late in which npm run frontend-test in Travis would hang until time exceeded or the workflow was terminated. This presents problems when it comes to our repository passing Travis checks. In order to prevent hanging, adding the "--exit" clause to the end of our frontend-test statement in package.json should do the trick. This will be proven if this PR passes the Travis check.

lets see if the build finishes

also we dont use travis

Oh right, we stopped using it a while back.


Jest

In this PR:

Refactored calculations into utility functions
Added jest configuration
Added unit tests for these calculations

To test:
Run npm run test:jest to run all jest tests.

LGTM


add THREADING_LAYER_PRIORITY & NUMBA_THREADING_LAYER_PRIORITY

Reference an existing issue

Close #4486.

@ickc thank you for your submission and welcome to the Numba project! I have labeled your pull-request as "ready for review" and added it to the backlog. I have also labeled it as being a short review effort since the changes appear to be fairly straightforward. Note however, that we are currently in a release candidate phase (RC2 was published  19.07.2021) and so we are currently focused on any release critical bugs. This means it may potentially be some time until we can review it. We thank you in advance for you patience and understanding!

@ickc do you want me to remove the "ready for review" label again?

@esc, do you think a test is needed? It seems that it should be residing in numba/tests/test_parallel_backend.py but I'm not sure how to test it as it is stateful.
I also want to test it locally first to make sure it is doing as claimed so may be removing the "ready for review" for now. Thanks.

I also want to test it locally first to make sure it is doing as claimed so may be removing the "ready for review" for now. Thanks.

You got it! 👍

@esc, do you think a test is needed? It seems that it should be residing in numba/tests/test_parallel_backend.py but I'm not sure how to test it as it is stateful.

Yes a test would be good. Also a test for the failure case and parsing the error message would be suitable. Not sure about the statefulness however.

@stuartarchibald, thanks for the review. I resolved some trivial ones. For the 2 remaining open ones, I commented them and see if you agree with it.


Installing drive fails with errors

SOLVED (was not odeke-em/drive related)
As Ubuntu 14.04 user I got this error:
$ go get -u github.com/odeke-em/drive/cmd/drive
# golang.org/x/sys/unix
src/golang.org/x/sys/unix/syscall_solaris.go:38: clen redeclared in this block
	previous declaration at src/golang.org/x/sys/unix/syscall_linux.go:784
src/golang.org/x/sys/unix/syscall_solaris.go:51: ParseDirent redeclared in this block
	previous declaration at src/golang.org/x/sys/unix/syscall_linux.go:797
src/golang.org/x/sys/unix/syscall_solaris.go:77: Pipe redeclared in this block
	previous declaration at src/golang.org/x/sys/unix/syscall_linux_amd64.go:108
src/golang.org/x/sys/unix/syscall_solaris.go:89: (*SockaddrInet4).sockaddr redeclared in this block
	previous declaration at src/golang.org/x/sys/unix/syscall_linux.go:291
src/golang.org/x/sys/unix/syscall_solaris.go:103: (*SockaddrInet6).sockaddr redeclared in this block
	previous declaration at src/golang.org/x/sys/unix/syscall_linux.go:305
src/golang.org/x/sys/unix/syscall_solaris.go:118: (*SockaddrUnix).sockaddr redeclared in this block
	previous declaration at src/golang.org/x/sys/unix/syscall_linux.go:320
src/golang.org/x/sys/unix/syscall_solaris.go:144: Getsockname redeclared in this block
	previous declaration at src/golang.org/x/sys/unix/syscall_linux.go:492
src/golang.org/x/sys/unix/syscall_solaris.go:153: ImplementsGetwd redeclared in this block
	previous declaration at src/golang.org/x/sys/unix/syscall_linux.go:164
src/golang.org/x/sys/unix/syscall_solaris.go:157: Getwd redeclared in this block
	previous declaration at src/golang.org/x/sys/unix/syscall_linux.go:168
src/golang.org/x/sys/unix/syscall_solaris.go:178: Getgroups redeclared in this block
	previous declaration at src/golang.org/x/sys/unix/syscall_linux.go:181
src/golang.org/x/sys/unix/syscall_solaris.go:178: too many errors
# google.golang.org/cloud/compute/metadata
src/google.golang.org/cloud/compute/metadata/metadata.go:55: unknown net.Dialer field 'KeepAlive' in struct literal

It turned out that
$ apt-get install golang
is still GO 1.2.
So I went ahead and followed
https://www.digitalocean.com/community/tutorials/how-to-install-go-1-5-3-on-ubuntu-14-04
all went well, but I still saw golang version -> 1.2.1
$ which go
revealed that I had the wrong binary pointed at:
/usr/bin/golang-go instead of /usr/local/go/bin/go
i.e. $GOROOT=/usr/local/go
Once I changed that, everything went smooth

As you mentioned, please use go > 1.2 and I'd recommend using go1.4.
I'll close this issue since you resolved it.

Is there some way, in the packaging of this code, to flag version errors earlier and just tell the user?
There are multiple issues here about this sort of compilation problem, and it is sad to see so many people who just expect this to run in a popular environment wasting their time just because they didn't notice the version issue. Or didn't have any idea how to install go. Or installed gccgo-go first on Ubuntu 14.04. I did all of those things, and am beginning to wonder if it is worth it to try yet again with a yet-more-customized installation.
Alternatively, it would help to at least warn people up-front in the README that there are many go implementations, and if they aren't familiar with go, they really need to be careful. E.g. they should not to assume they can just trust the advice they get when they run "go" and hear
The program 'go' is currently not installed. You can install it by typing:
sudo apt-get install gccgo-go


Clarification on the zero configuration of *_index_add of the simulated Mk5.1 hand

I am opening this to ask a clarification about the behavior of the *_index_add joint of the Mk5 .1 hand.
According to this comment, it was decided that the zero position of the index adduction is the one where the index is more distant from the other fingers, i.e.:

It seems that such new behavior has not been transferred correctly in the simulation:
index_add = 0

index_add = 15

I guess we should:

invert the direction of the axis of rotation
change the default configuration at startup in Gazebo

cc @Nicogene @pattacini @fiorisi

Good catch @xEnVrE 👍🏻
@Nicogene @mfussi66 please read up on the issue from https://github.com/icub-tech-iit/ergocub-design-lowerarm/issues/157#issuecomment-1660679203 onward for more info on that.
You were off, I tried to find out why we ended up with a different convention wrt the iCub hand but unsuccessfully. At this point, we ought to conform to the latest convention.

Since creo2urdf assumes that in the simulation model, all the joints are in their zeros, I need that @Mick3Lozzo or @Lawproto to change the rest position of the index_add joints in the simulation model.
What about the thumb_add ? Also that has to be changed?

Or actually, maybe it is the chance for changing the range to -3 to 12 degrees

I am a bit confused, isn't it an issue related to Mk5.0?

What about the thumb_add ? Also that has to be changed?

I would say no, but others might comment on this. The behavior of the thumb adduction is at the moment similar to that on the old iCub hands, i.e. 0.0 -> thumb within the plane of the palm, max -> thumb ~orthogonal to the palm or the like

Since creo2urdf assumes that in the simulation model, all the joints are in their zeros, I need that @Mick3Lozzo or @Lawproto to change the rest position of the index_add joints in the simulation model.

Let's do it.

@Nicogene @pattacini to sum it up, I inderstood I have to update the ergoCub 1.1 sim model with the new index position.

It this is the case, the index_add joint rom spans from 0 (figure) to 15°.

Yep 👍🏻

After @Lawproto fix, here is the PR that port those changes in the urdf:

https://github.com/icub-tech-iit/ergocub-software/pull/173

0 deg

15 deg

cc @fiorisi @pattacini @xEnVrE


[Feature] CldOgImage Component

Feature Request
Is your feature request related to a problem? Please describe.
Create a new CldOgImage component that allows for easy drop-in support for social cards
Describe the solution you'd like
The goal is to mostly replicate the CldOgImage component from Next Cloudinary: https://next.cloudinary.dev/cldogimage/basic-usage
Given Astro doesn't have a similar concept of a Head component out of the box like the Next.js Pages Router does, we can simply return a series of meta tags that will allow someone to easily drop in a Social Cards.
At its basics, the component should work as follows:
---
import { CldOgImage } from 'astro-cloudinary';
---
<CldOgImage
  src="<Public ID>"
/>

CldOgImage would be using the getCldOgImageUrl under the hood exposing all of the same APIs, which would allow for transformations.
https://github.com/cloudinary-community/next-cloudinary/blob/main/next-cloudinary/src/components/CldOgImage/CldOgImage.tsx
The meta tags that should be added are, at a minimum:
<meta property="og:image" content={ogImageUrl} />
<meta property="og:image:secure_url" content={ogImageUrl} />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content={alt} />
<meta property="twitter:title" content={title} />
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:image" content={ogImageUrl} />

Twitter Title here is particularly interesting as the social card will not work without a Twitter Title, is there a way we can infer this from Astor without a user manually specifying this? Should we throw a warning if the prop is not defined?

i'll take a look and see if i can implement that today

is there a prettier or biome style config you would like me to follow?

made a pr! lmk if you want it to be implemented differently


Create unit testing example

New Feature
Provide a simple example of unit testing with gtest in Autoware for other developers to reference.
@amc-nu @dejanpan FYI

thanks this is great!


Feature/achievement UI

✅ Pull Request Checklist

[x] PR Title: [Feature/Fix/Refactor...] Brief summary of the work (branch name) #IssueNumber
[x] Verify that the commit messages are appropriate.
[x] Confirm that the request is made to the correct branch.
[x] Add Assignees and Labels.
[x] If there is someone who needs to review specific details, add them as a Reviewer.
[x] After the PR is approved, delete the branch.

🔄 Changes

This PR does the following:

Did this!
Also did that!

📎 Reason for Changes

These changes were made for the following reasons!

closes: #IssueNumber
👨🏻💻 Test Checklist

Performed these tests!

📌 Additional Changes or Important Notes

You are a smart baby, hajin!

thank you minji! I hope you will be a happy snowman ~


I didn't want to use pythons included because they're written on C and run very fast compared to any python code
Running_experiments.ipynb
Jupyter notebook that runs required experiments for questions 1 and 2.
I already ran the experiments and saved to excel files in the folder .\excels
Graphs_and_regressions.ipynb
Another Jupyter notebook where I'm planning to fit the measurements to a graphs and run some statistics over the results.

Will change directories of Jupyter notebooks and open a new PR


[DLS-8266] Adding check your answers sites

@JakeReid2020 Approved but there is a compilation error on CheckYourAnswersControllerISpec. Let me know when resolved and I'll re-review


4.2.1 P+ Individual Extra Coverage (Binxin): Point 2 - Refactor Excluder::excludeField()

CC before: 16


Reverse Query building

Hello, i am working with your library, it's really good, thank you! But, maybe, you already have a solution to build ui based on query string(in purpose to edit already existing query)? For example we have query string (User = 'username' AND (User <> 'username1' OR User = 'username2')), and ui build groups and conditionals based on this string?

do we have solution yet for this...??

@Lefortov have you found anything that can help on this? :D

I've been working on a way to reverse this. It's still lacking some functionalities I don't need on my own development, but I think I can point those interested on this on the right direction.

That would be a great help, if you could please post a fiddle or
so....basically I am trying to 'Edit' a saved query built, so kind of need
reverse conversation.
Thank you very much
On Thu, Jul 28, 2016 at 7:25 PM, Mauricio Navarro Miranda <
<EMAIL_ADDRESS>wrote:

I've been working on a way to reverse this. It's still lacking some
functionalities I don't need on my own development, but I think I can point
those interested on this on the right direction.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mfauveau/angular-query-builder/issues/8#issuecomment-236054373,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIyt7BuyttqBYHkDRpYtLeurStMGr1Ynks5qaTpegaJpZM4Hw3jR
.

Sure I'll do!
I think monday or thursday I'll commit what I am working on. I think I am one step away to successful reverse query edit. At this point, I'm solving corner cases.
I'll post back soon. :)

@garima287, @Lefortov good news!
Here is what I am working on:
https://github.com/mautematico/angular-query-builder/tree/two-way-angular-query-builder
Here you can see a live demo of it:
https://mautematico.github.io/angular-query-builder/
As I said before, its still lacking somethings (like exception handle), as this is still a work in progress.
PRs welcome!
¡Saludos!

Thanks !!
On Aug 2, 2016 2:31 PM, "Mauricio Navarro Miranda"<EMAIL_ADDRESS>wrote:

@garima287 https://github.com/garima287, @Lefortov
https://github.com/Lefortov good news!
Here is what I am working on:
https://github.com/mautematico/angular-query-builder/tree/two-way-angular-query-builder
Here you can see a live demo of it:
https://mautematico.github.io/angular-query-builder/
As I said before, its still lacking somethings (like exception handle), as
this is still a work in progress.
PRs welcome!
¡Saludos!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mfauveau/angular-query-builder/issues/8#issuecomment-236998202,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIyt7McWP1eHPk6LzaaS6FzEYZqfzcVMks5qb40UgaJpZM4Hw3jR
.

@Lefortov @garima287  @mfauveau .. Were you guys able to make the complete parser? The above solution flattens the nested group


how to avoid push duplicate log  to es when rename file?

fluentd or td-agent version:0.12.39
Environment information:centos 7
conf

<source>
        type tail
        path /u01/logs/*/logs/*audit.log
        pos_file /var/log/fluentd-pos/audit.log.pos
        tag audit.*
        format json
        refresh_interval 10
        read_from_head true
    </source>

i generated a log named xxaudit.log and successful push the content to es
but if i rename xxaudit.log to yyaudit.log ,the fluentd will push the yyaudit.log content to es again,why?
the xxaudit.log inode is same as yyaudit.log
How to solve it？

the fluentd will push the yyaudit.log content to es again,why?

See: https://docs.fluentd.org/v0.12/articles/in_tail#path-required

How to solve it？

Try this patch: https://github.com/fluent/fluentd/pull/1660

it's stale. i'm closing. if you have any problem, updating fluentd might help you.


⚠ ClamAV has degraded performance

In 24ecb0a, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 68 ms

Resolved: ClamAV performance has improved in 1ddecc2 after 6 minutes.


Add Stellar

This adds support for scraping the Stellar mainnet.
Worth noting: this code reports "operations", which is what is usually meant when people talk about TPS / transactions (eg. payments, trades, orderbook adjustments, etc.) Each of these executes transactionally and many users sign and submit a single operation at a time.
However, Stellar's transaction format is structured such that higher-volume users can (and often do) bundle together multiple operations into a composite unit for purposes of fees, signing and atomicity which, since it's the outermost atomic unit, is the unit in the protocol called a "transaction": operations are sub-transactions, within the outer transaction object.
So if you want to strictly measure those, you can switch the line in the reporting block that does so to measuring ledger. successful_transaction_count -- but obviously at the cost of reporting much lower (negatively distorted) numbers. Up to you.

Looks great. Thanks @graydon. I can't deploy today but will get it up in the next day or two.

This is deployed now.


av.open UnicodeDecodeError

container = av.open('http:{}'.format(download_url))

File "av/container/core.pyx", line 226, in av.container.core.open
File "av/container/input.pyx", line 65, in av.container.input.InputContainer.cinit
File "av/stream.pyx", line 46, in av.stream.wrap_stream
File "av/stream.pyx", line 67, in av.stream.Stream._init
File "av/utils.pyx", line 133, in av.utils.avdict_to_dict
File "av/utils.pyx", line 116, in av.utils._decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 6: invalid start byte

You're going to have to post the actual URL you are using, otherwise there is no chance of us reproducing or fixing this issue.

Closing, we cannot support hit-and-run bug reports.


Unexpected behaviour during error handling

I am the author of https://github.com/s-panferov/awesome-typescript-loader and I have a problem with my async loader:
Pseudo-code:
let callback = this.async();

/* inside promise handler */
try {
    callback(null, result.text, sourceMap);
} catch(e) {
    console.error('Caught', e)
    // I'm here! What I need to do in that case?
}

Console output:
Caught { [ModuleParseError: Module parse failed: /Users/panferov-s/Workspace/arui/node_modules/react-hot-loader/index.js!/Users/panferov-s/Workspace/awesome-typescript-loader/dist/index.js?compiler=ntypescript&rewriteImports=arui&module=commonjs!/Users/panferov-s/Workspace/arui/src/popup/common/popup.ts Line 112: Unexpected token ,
You may need an appropriate loader to handle this file type.
|             || nextAttachment !== attachment) {
|             this.setState({
|                 attachment: ,
|                 targetAttachment: ,
]             });

/** stripped */

Versions:
    "webpack": "^1.10.1",
    "webpack-dev-server": "^1.10.1"

The big problem here is that compilation freezes in webpack-dev-server

It is because you're informing the loader that it is async. Which means it will wait for you to call callback() to continue. Upon an error, you're not calling the callback() so it hangs waiting for it.
The 1st argument of the callback is for errors: callback(err) instead of null. Although it is likely you can just remove that try catch and let webpack deal with the error though.

@shama 	you don't understand the problem. I call the callback, but the call throws an exception that takes place in some other loader or inside webpack core (e.g. if syntax error is in the file) and the error returns to my loader.

Ah you're right sorry. Could you post a full stack trace or even better an example repo that duplicates the issue so I can take a look? Thanks!

@shama, ok, I'll try to provide some example.

I was because of bail: true was enabled in my config file.
So I have to write https://github.com/s-panferov/awesome-typescript-loader/blob/master/src/index.ts#L357-L362. The problem is solved, but I thing that the behaviour of the callback function in bail mode must be documented somewhere.

@s-panferov Oh nice find! The documentation is openly editable to anyone. Would you mind adding a note about it here http://webpack.github.io/docs/configuration.html#bail? Thanks!

@s-panferov Can you look at that documentation bit so we can get this closed?

This issue was moved to webpack/webpack.io#148


Link traversing failed - the linkage matrix is likely invalid

Hi,
When I plot the column dendrogram of a dataframe, the following error occurred:
LookupError: Link traversing failed - the linkage matrix is likely invalid
Here is my code:
import altair as alt
import numpy as np
import pandas as pd
Compute x^2 + y^2 across a 2D grid
x, y = np.meshgrid(range(-5, 5), range(-5, 5))
z = x ** 2 + y ** 2
Convert this grid to columnar data expected by Altair
source = pd.DataFrame({'x': x.ravel(),
'y': y.ravel(),
'z': z.ravel()})
column_linkage_matrix = sch.linkage(source.pivot(columns='y',index='x',values='z'), method='single', metric='euclidean')
column_flat_clusters = sch.fcluster(column_linkage_matrix, t=0, criterion='distance')
column_cl_data = idendrogram.ClusteringData(
linkage_matrix = column_linkage_matrix,
cluster_assignments = column_flat_clusters
)
column_idd = idendrogram.idendrogram()
column_idd.set_cluster_info(column_cl_data)
column_dendrogram = column_idd.create_dendrogram(p=20, sort_descending=False).plot(
backend='altair',
orientation='top',
height=30, width=200,
show_nodes=False).interactive()
column_dendrogram

Hi @wangjiawen2013 - thanks for reporting this issue. I can see that it stems from the fact that the dataframe provided for clustering has identical data points:
x, y = np.meshgrid(range(-5, 5), range(-5, 5))
z = x ** 2 + y ** 2
source = pd.DataFrame({'x': x.ravel(),
'y': y.ravel(),
'z': z.ravel()})
df = source.pivot(columns='y',index='x',values='z')
df.values

Would yield the following as the input for clustering.
array([[50, 41, 34, 29, 26, 25, 26, 29, 34, 41],
       [41, 32, 25, 20, 17, 16, 17, 20, 25, 32],
       [34, 25, 18, 13, 10,  9, 10, 13, 18, 25],
       [29, 20, 13,  8,  5,  4,  5,  8, 13, 20],
       [26, 17, 10,  5,  2,  1,  2,  5, 10, 17],
       [25, 16,  9,  4,  1,  0,  1,  4,  9, 16],
       [26, 17, 10,  5,  2,  1,  2,  5, 10, 17],
       [29, 20, 13,  8,  5,  4,  5,  8, 13, 20],
       [34, 25, 18, 13, 10,  9, 10, 13, 18, 25],
       [41, 32, 25, 20, 17, 16, 17, 20, 25, 32]])

I see that the native SciPy dendrogram handles this edge case by displaying these sorts of links as "flat links" with a distance of zero.

idendrogram logic currently doesn't account for such cases. I'll see what I can do to make it work, but my immediate advice would be to pre-process the data frame to exclude duplicates before clustering, which would avoid this issue, e.g:
x, y = np.meshgrid(range(-5, 5), range(-5, 5))
z = x ** 2 + y ** 2
#Convert this grid to columnar data expected by Altair

source = pd.DataFrame({'x': x.ravel(),
'y': y.ravel(),
'z': z.ravel()})

df = source.pivot(columns='y',index='x',values='z')
column_linkage_matrix = sch.linkage(df.drop_duplicates(), method='single', metric='euclidean')
column_flat_clusters = sch.fcluster(column_linkage_matrix, t=0, criterion='distance')
column_cl_data = idendrogram.ClusteringData(
linkage_matrix = column_linkage_matrix,
cluster_assignments = column_flat_clusters
)
column_idd = idendrogram.idendrogram()
column_idd.set_cluster_info(column_cl_data)

column_dendrogram = column_idd.create_dendrogram(p=20, sort_descending=False).plot(
backend='altair',
orientation='top',
height=30, width=200,
show_nodes=False).interactive()
column_dendrogram

Thanks, the strategy that SciPy dendrogram handles this case is mor reasonable, because sometime we will have two objects have the same features, such as two students have the same score for all curriculums (science, mathmatics, physics).


Support for enums

When a table has an enum field, mockd fials to lookup enum and populate data. Here is a simple demo.

CREATE TYPE rating as ENUM
  ('good', 'ok', 'bad')
;

ALTER TABLE author
ADD COLUMN rating rating;

Command
➜  Downloads mockd-mac postgres -n 10 -u anand -d test -t author
2019-02-10 18:24:41.762:INFO > Parsing all the command line arguments
2019-02-10 18:24:41.762:INFO > Timestamp of this mockd execution:<PHONE_NUMBER>2441
2019-02-10 18:24:41.762:INFO > Attempting to establish a connection to the postgres database
2019-02-10 18:24:41.762:INFO > Obtaining the version of the DB Engine: "postgres"
2019-02-10 18:24:41.809:INFO > Version of the DB Engine "postgres": PostgreSQL 9.6.10 on x86_64-apple-darwin18.0.0, compiled by Apple LLVM version 10.0.0 (clang-1<IP_ADDRESS>), 64-bit
2019-02-10 18:24:41.809:INFO > Checking for the existence of the table provided to the application, if exist extract all the column and datatype information
2019-02-10 18:24:41.812:INFO > Backup up all the constraint in the database: "test"
2019-02-10 18:24:41.822:INFO > Separating the input to tables, columns & datatypes and attempting to mock data to the table
2019-02-10 18:24:41.877:ERROR > Skipping table "author" due to error "Unsupported datatypes found: rating"
2019-02-10 18:24:41.877:INFO > Checking for any PRIMARY KEYS, fixing them if there is any violations
2019-02-10 18:24:41.880:INFO > Checking for any UNIQUE KEYS, fixing them if there is any violations
2019-02-10 18:24:41.881:INFO > Checking for any FOREIGN KEYS, fixing them if there is any violations
2019-02-10 18:24:41.881:INFO > Starting to recreating all the constraints of the table ...
2019-02-10 18:24:41.927:WARNING > These tables (below) are skipped, since it contain unsupported datatypes
2019-02-10 18:24:41.927:WARNING > author
2019-02-10 18:24:41.927:INFO > mockd program has successfully completed

Sounds good @ChillarAnand. thanks for the issue, there is a lot of cleanup needed on this repository... Currently bit busy with few other works, will come back to this repository possibly by start of April for fresh overall and will try to incorporate it.
Thanks again

Thanks @faisaltheparttimecoder
Are there any other alternatives to mock-data to use for the time being? I tried to find some alternatives but couldn't find any.

Hello @ChillarAnand , I didn't get you, what is that you are looking for specifically.
The mock data does work with all the datatypes that are in the list here
https://github.com/pivotal-legacy/mock-data/blob/master/demo/postgres/supported-datatypes.sql
Yes it doesn't support any form of custom types.

I was trying to generate data for tables with custom type.  Any plans on supporting custom types?

Current version doesn't support it, we might slowly introduce one by one when the time permits

This is now somewhat fixed on the v2.0 of the mock tool. The tool still has trouble with check constraints, so anything related to check and custom datatypes users have to use the custom sub command to load random data.
Here is an eg.s , for more information on the custom subcommand check out here
-- Table
gpadmin=# create table author ( a int );
NOTICE:  Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'a' as the Greenplum Database data distribution key for this table.
HINT:  The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
CREATE TABLE
gpadmin=# CREATE TYPE rating as ENUM
gpadmin-#   ('good', 'ok', 'bad')
gpadmin-# ;
CREATE TYPE
gpadmin=# ALTER TABLE author
gpadmin-# ADD COLUMN rating rating;
ALTER TABLE

-- Create a Yaml with the plan
[gpadmin@gpdb-m ~]$ mock c -t author
INFO[2020-02-23 14:15:59] Version of the database: PostgreSQL 9.4.24 (Greenplum Database 6.0.1 build commit:053a66ae19cd7301ec8c8910ed85ec2c20ad60cc) on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 6.4.0, 64-bit compiled on Oct 10 2019 15:27:29
INFO[2020-02-23 14:15:59] The flavour of postgres is: greenplum
INFO[2020-02-23 14:15:59] The database that will be used by mock program is: gpadmin
INFO[2020-02-23 14:15:59] Generating a skeleton YAML for the list of table provided
INFO[2020-02-23 14:15:59] Extracting the tables in the database: gpadmin
INFO[2020-02-23 14:15:59] Extracting the columns and datatype information
Extracting column information from tables 100% [==================================================] (1/1) [0s:0s]
INFO[2020-02-23 14:15:59] The YAML is saved to file: /home/gpadmin/mock_skeleton_20200223141559.yaml
INFO[2020-02-23 14:15:59] Successfully completed running the custom sub command
[gpadmin@gpdb-m ~]$

-- Modify the loading procedure
[gpadmin@gpdb-m ~]$
[gpadmin@gpdb-m ~]$ vi /home/gpadmin/mock_skeleton_20200223141559.yaml
[gpadmin@gpdb-m ~]$ cat /home/gpadmin/mock_skeleton_20200223141559.yaml
Custom:
- Schema: public
  Table: author
  Column:
  - Name: a
    Type: integer
    Random: true
    Values: []
  - Name: rating
    Type: rating
    Random: false
    Values:
     - ok

-- Start the loading
[gpadmin@gpdb-m ~]$ mock c -f /home/gpadmin/mock_skeleton_20200223141559.yaml
INFO[2020-02-23 14:16:37] Version of the database: PostgreSQL 9.4.24 (Greenplum Database 6.0.1 build commit:053a66ae19cd7301ec8c8910ed85ec2c20ad60cc) on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 6.4.0, 64-bit compiled on Oct 10 2019 15:27:29
INFO[2020-02-23 14:16:37] The flavour of postgres is: greenplum
INFO[2020-02-23 14:16:37] The database that will be used by mock program is: gpadmin
INFO[2020-02-23 14:16:37] Loading the table using custom configuration
INFO[2020-02-23 14:16:37] Loading data to the table based on what is defined by file /home/gpadmin/mock_skeleton_20200223141559.yaml
Mocking Table "public"."author" 100% [==================================================] (10/10) [0s:0s]
INFO[2020-02-23 14:16:37] Successfully completed running the custom sub command

-- The data
[gpadmin@gpdb-m ~]$ psql
psql (9.4.24)
Type "help" for help.

gpadmin=# select * from author ;
    a     | rating
----------+--------
 -3855517 | ok
   471846 | ok
  2688142 | ok
 -1669738 | ok
   983336 | ok
 -3941348 | ok
  6843580 | ok
   -26151 | ok
 -2359419 | ok
  4247115 | ok
(10 rows)

closing as fixes

Next release will offically support enum datatype


Add some clarifications to readme

Added some notes that would have helped me when getting started with current-bench.

Also note that I just guessed that this is how it works based on observation. Please correct me if I have it wrong!

Thanks for the PR @gridbugs!

The behaviour you describe is indeed what is happening so I'd say let's merge this PR and fix the "run benchmarks on every commit on main" bug, and we'll change the readme at that time.
@gridbugs you'll just need to rebase on main (or manually resolve the conflicts) and we're good to go

Rebased! Thanks!

Thanks for taking the time to work on this!


[dxvk, vkd3d-proton] anisotropic filtering issues

In some games when using amdvlk (or the Windows AMD driver) with dxvk/vkd3d-proton and anisotropic filtering graphical issues such as "texture seems" can appear. An example game is The Evil Within 2 but issues have also been observed in The Evil Within 1, Battlefield 1 and Battlefield V (besides dxvk also apparently in d3d12 mode with vkd3d-proton but haven't tested that myself).
See dev comment in dxvk issue for TEW2 https://github.com/doitsujin/dxvk/issues/2540#issuecomment-1066799497
This issue have been worked around in radv so it no longer presents itself there. See MRs below
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14471
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15368

The Evil Within 2 screenshot

TEW2 apitrace from the main menu scene seen in above screenshot. Notice the lines on the projector screen.
https://drive.proton.me/urls/GDQ049NDTW#gRLLyZARMQps

Thank you can confirm it fixed in 2024.Q1.1 (just checked The Evil Within 2)


Update dependencies

:tada: This PR is included in version jest-style-transformer-utils-v1.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version jest-style-transformer-css-modules-v1.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version jest-style-transformer-sass-css-modules-v1.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version jest-style-transformer-sass-v1.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version jest-style-transformer-css-modules-example-v1.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version jest-style-transformer-sass-css-modules-example-v1.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version jest-style-transformer-sass-example-v1.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version jest-style-transformer-utils-v2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version jest-style-transformer-css-modules-v2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version jest-style-transformer-sass-css-modules-v2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version jest-style-transformer-sass-v2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


It giving me error in onResume()  " Caused by: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission." though i have given permission in manifest file

This error message is pretty specific: The required permission is not there. It's really as simple as that.
First check your manifest file and confirm that you've added the permission correctly.
Apart from that, it could only be caused by the runtime permissions which have been introduced in Android 6.0. So if your android:targetSdkVersion is set to 23 or above, you will have to implement the runtime permissions. If you don't want to do that, you have to decrease the target version.


feat(docs): add dark theme styles

Addresses #137 by using Tailwind's dark: prefix for alternative styles.
TODO:

[x] Homepage styles
[ ] Layout styles
[ ] Component styles
[ ] Icons/examples

Light:

Dark:

Closing in favor of a more native solution, akin to market's.


General useage and UI customization questions.

Hi, so sorry for kinda posting this here, but Im just having a gut feeling it will take me several hours to figure these things out on my own, so I figured I would post them here while I try to dig into how to actually do these things myself - and hope someone can help out a bit. I find the docs a little bit too dense and a little bit too unorganized (the only place where I seem to find these kinds of things are in https://pyimgui.readthedocs.io/en/latest/reference/imgui.html, which is just a long index without order afaik)
So here we go :D

How would I change the window background & border color as well as the text color? Also can I control the transparency for these 3 individually or separately (and how?)?

Can I make it so a text pops up when you hover an overlay window (and how?)?

Can I use multiple fonts & sizes on the same window (and how?)?

Is there such a thing as drop/edge shadowing (and how?)?

When having an auto resizing window, can I get its width/height somehow (and how?)?

Can I set the anchor point of a window to be say, bottom right instead of top left (and how?)?

Can I control what window appears on top of another (and how?) - window sorting/priority?

Can I put "frames" inside of windows? Like small boxes inside of a window - I would then like to have text in those boxes - purely for stylistic reasons.

Are there window dividers/horizontal bars that stretches from one end to the other? (Alternatively, could I just trike a bunch of text, if so, how do you strike text?)

Again, sorry for all the questions lol, I would gladly make a contribute section in your documentation that's organized by usage rather than just what module the function belongs to - if thats something you would like to have. Like "Text customization", "Window customization", "Window management & positioning" (etc)

Hey, I do not have time to answer each one of them right now (and I am not sure to be able to), but here are some information that may help you in your quest and could save you some headaches ^^

Be aware of the current state of various releases. The current official release (1.4.1) is based on an old version of the c library where many features weren't available or have changed since, and not every feature was mapped. We are currently working on a new release (2.0.0) which will update to a more recent version of imgui (version 1.82 to be exact) and which is not the most recent either. I would suggest you use the recent one which is manually installable from branch dev/version-2.0 (and should be stable enough) since this is the one that implements the most functionalities.
Documentation is generated automatically from docstrings and yes I agree, this is a bit unorganized and needs to be fixed. Moreover, the documentation build is broken for now and you won't find information about recent changes (especially with 2.0 which already includes numerous new useful functions). However, you could find useful information anyway but I would suggest checking the documentation for the core module which contains every mapped function (of 1.3.1) https://pyimgui.readthedocs.io/en/latest/reference/imgui.core.html
It seems that many features you request should be feasible using push_style_var() and similar functions.

I know that in the current state everything is a bit opaque. I think a good approach to find what you want would be to search how to do it in the official DearImGui C++ version using their "in code" documentation and then try to translate it to pyimgui. Most functions follow the same names with snake case convention instead of camel case. And by looking in imgui/cimgui.pxd you should find every cpp imgui prototype marked as ✓ when mapped in pyimgui or ✗ if not mapped. To find the python version of a mapped function just search for it in imgui/core.pxd.
I am sorry that everything is so difficult in the current state. I hope this is something that will be simplified in the future but this is not the priority for now.
I'll drop here some ideas of how to do some of the things you asked for when I'll have little time. Please complete this issue with solutions and examples if you find some, this could be of great help for others. And maybe some other users will also be able to help you with some of your questions!

Thanks a lot :) Im actually finding https://github.com/ocornut/imgui/blob/v1.82/imgui_demo.cpp really useful as well as  https://www.dearimgui.org/binaries/imgui-demo-binaries-20200918.zip .
Seems I might be able to work out a thing or 2 myself

How do these guys work?

Cant really figure out how to set some variables

You have to use push_style_var(flag, value), here imgui.STYLE_WINDOW_PADDING is a flag, thus this would look like
imgui.push_style_var(imgui.STYLE_WINDOW_PADDING, 50)

You then need to pop all pushed styles before the end of the frame using pop_style_var(count), where the count is the number of variables to pop. This is for local style edit. (Note for devs: this would be a potential place to use the with syntax as developed in #264, #255, #265)
For the style object (which is for global style edit), I think get_style() returns a reference to the current style object and you can directly modify it using its accessors
style = imgui.get_style()
style.colors[imgui.COLOR_WINDOW_BACKGROUND] = (1, .2, .3, 1)
style.colors[imgui.COLOR_TITLE_BACKGROUND] = style.colors[imgui.COLOR_BORDER]
style.window_padding = (30,40)
# you can refere to 'class GuiStyle(object)' in 'core.pyx' for possible attributes

This can be done once (e.g. before the main loop) and will be applied until being changed again.

style = imgui.get_style()
style.colors[imgui.COLOR_WINDOW_BACKGROUND] = (1, .2, .3, 1) # r,g,b,a
style.colors[imgui.COLOR_TITLE_BACKGROUND] = style.colors[imgui.COLOR_BORDER]
style.window_padding = (30,40)
you can refere to 'class GuiStyle(object)' in 'core.pyx' for possible attributes

Awesome! This approach looks promising! If I want to make multiple styles and switch between them for particular windows. How would that work? How do I store a copy of a style that I can  make the current style later?
Also where does this code go? Anywhere between imgui.begin and imgui.end or?

Also where does this code go? Anywhere between imgui.begin and imgui.end or?

You have two option, if you want to globally change the style for the entire project you can use the style = imgui.get_style() function and this is independent of the main loop and of any begin/end pair. This would go outside the loop (e.g. at the beginning of your program) and would only change once from time to time depending on your logic.
On the opposite, you can change locally the style for a specific window using push/pop syntax. As I understand it you have to put this outside the begin/end pair but inside the main loop.
The first method is to globally set the style, the second method is to change the style in a particular case that should not look like the rest of your GUI.

If I want to make multiple styles and switch between them for particular windows. How would that work? How do I store a copy of a style that I can make the current style later?

If you want to change the style from windows to windows the push/pop syntax sounds more like what you are looking for. If you want to propose entire style switching (e.g. for different themes) it is something else, here are some clues:
I am not entirely sure since I never did it myself. But I don't see a set_style function and looking at DearImGui it looks like the way to go would be to specify functions that edit the style (I am looking at StyleColorsDark(style) https://github.com/ocornut/imgui/blob/35b1148efb839381b84de9290d9caf0b66ad7d03/imgui_draw.cpp#L184 ). I guess this would translate to something like:
def set_style_A(style):
    style.colors[imgui.COLOR_WINDOW_BACKGROUND] = (1, .2, .3, 1) # r,g,b,a
    style.colors[imgui.COLOR_TITLE_BACKGROUND] = style.colors[imgui.COLOR_BORDER]
    style.window_padding = (30,40)
    # etc

def set_style_B(style):
    # etc

# Somewhere before main loop
style = imgui.get_style()
set_style_A(style) # use A as default style

# Somewhere in your logic
if change_to_style_B:
    set_style_B(style)

However take this with a grain of salt, I am not used to those functions and there may be a more proper way.

Note that there seem to be static methods to create styles (e.g. GuiStyle::create()), but I am unsure about how to assign styles to be used. I may try to dig a bit deeper into that later.


Mesh with Github GraphQL API

Issue workflow progress

Progress of the issue based on the Contributor Workflow

[ ] 1. The issue provides a reproduction available on
Github
Stackblitz

yarn install
yarn build

[ ] 2. A failing test has been provided
[ ] 3. A local solution has been provided
[ ] 4. A pull request is pending review

Describe the bug
With github schema (from introspection query), we can't generate the Mesh SDK
To Reproduce
Steps to reproduce the behavior in the Stackblitz

yarn install
yarn build

Error:
💥 🕸  Mesh GraphQLError: Syntax Error: Expected Name, found "[".
    at syntaxError (/home/julian/dev/mesh-github-graphql-api/node_modules/graphql/error/syntaxError.js:15:10)
    at Parser.expectToken (/home/julian/dev/mesh-github-graphql-api/node_modules/graphql/language/parser.js:1412:40)
    at Parser.parseName (/home/julian/dev/mesh-github-graphql-api/node_modules/graphql/language/parser.js:107:24)
    at Parser.parseField (/home/julian/dev/mesh-github-graphql-api/node_modules/graphql/language/parser.js:346:30)
    at Parser.parseSelection (/home/julian/dev/mesh-github-graphql-api/node_modules/graphql/language/parser.js:336:14)
    at Parser.many (/home/julian/dev/mesh-github-graphql-api/node_modules/graphql/language/parser.js:1528:26)
    at Parser.parseSelectionSet (/home/julian/dev/mesh-github-graphql-api/node_modules/graphql/language/parser.js:319:24)
    at Parser.parseFragment (/home/julian/dev/mesh-github-graphql-api/node_modules/graphql/language/parser.js:424:26)
    at Parser.parseSelection (/home/julian/dev/mesh-github-graphql-api/node_modules/graphql/language/parser.js:335:14)
    at Parser.many (/home/julian/dev/mesh-github-graphql-api/node_modules/graphql/language/parser.js:1528:26)

Expected behavior
The SDK generated, ready to use!
Environment:

OS: Windows on WSL
version in the reproduction

I think something is wrong with the schema file;
https://codesandbox.io/s/jolly-feistel-45kx11?file=/.meshrc.yml
It is working fine here.

Thanks.
The issue was caused by
sdk:
  generateOperations:
    selectionSetDepth: 2

in the mesh config.


[BUG] Never throw GoneException on the public surface area

We should never throw GoneException 410 from the public surface area.
GoneAndRetryPolicy should handle GoneException 410 and if all of its retry attempts are exhausted it should throw 503.

Hi.  We're currently seeing 410s occasionally when our cosmos DB is under load.  What is the recommended solution for handling this?  Should we increase our throughput?  Also, why do we not see 429s instead of 410s?  Thanks.

@moderakh @xinlian12  - did we already fix it or is this issue still open ?

this is still issue @kushagraThapar

This is fixed.


Add services to set "working mode" per camera

Is your feature request related to a problem? Please describe.
On all my cameras i have working mode set to "Optimal Battery Life". But when i leaving house or going to sleep it will be nice set all my cameras to "Optimal Surveillance" mode. But Eufy native global security modes (Home, Away ...) doesn't have this functionality.
Describe the solution you'd like
Ability to setup "working mode" (from Power Manager) per camera via HA services call. Then i can setup desired functionality with automation/node red.

thanks for creating this issue. This requires a supported functionality from underlying library. Please create an issue here first: https://github.com/bropat/eufy-security-ws
When it is delivered by eufy-security-ws, I can continue here.

OK. I create new issue here: https://github.com/bropat/eufy-security-ws/issues/59

@fuatakgun as mentioned here underlying library already has this functionality.

Until i implement underlying services, you can give a try using send_message service.
More information here: https://github.com/fuatakgun/eufy_security/issues/71

Great, with send_message service it works!
service: eufy_security.send_message
data:
  message: >-
    {
      "messageId": "message_id_do_not_add_value_here",
      "command": "device.set_property",
      "name": "powerWorkingMode",
      "serialNumber": "YOUR_SERIAL_NUMBER_GOES_HERE",
      "value": 0 (battery) | 1 (surveillance) | 2 (custom)
    }

Perfect, let's keep this issue open until i implement a service and sensor for this

please get latest version, test and comment here.
I will reopen this issue if needed, for further specific select requests, create separate issues.


getNewEth1Data performance bottleneck

Describe the bug
In Prater our node spends 1400 ms processing Eth1Data. This happens on every block when there's no majority vote.

Same cost every block

detail of the stack

Expected behavior
Optimize it

Duplicate of https://github.com/ChainSafe/lodestar/issues/3082


Private registry in UI expects https:// but failed to pull system images

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Deploy a rancher instance :

on an isolated network (no internet access)
with a private registry
with only VSphere provider

Create a new cluster :

configure private registry on the UI

"URL" field expected a valid URL so fill it with "https://myregistry.com"
also fill login and password for the registry

Result:
In rancher logs:

[ERROR] ClusterController c-nx577 [cluster-provisioner-controller] failed with : [Error checking if image [https://myregistry.com/rancher/rke-tools:v0.1.34] exists on host [<IP_ADDRESS>]: Error response from daemon: no such image: https:/myregistry.com/rancher/rke-tools:v0.1.34: invalid reference format]

Other details that may be helpful:
If we fill the "URL field" with "myregistry.com" (without "https://") :

a red border appears
BUT it works!

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): 2.2.5
Installation option (single install/HA): single install

Version - master
Reproducible on master.  I'm not sure if this is a UI thing or backend API thing that isn't sending proper error message to front end.

What's the expected behavior? We should not allow users to create a cluster with private registry starting with https://?

This is from the <input> being type="url", which causes a more appropriate keyboard to be shown for touch devices.  It also causes the browser to validate the value and add the :invalid pseudo-class.
And (only) Firefox has a default stylesheet that adds input:invalid { border-color: red }.
So 2 things:

The UI should probably strip off https:// if it's impossible to use a registry with it
Add input:invalid { box-shadow: initial; } to form styles so that it doesn't show up red.

The bug fix is validated in Rancher:master-head 79c9048b3, user interface v2.3.5
in Chrome and Firefox
Now when we enter or paste the private registry's URL, the protocol part http:// or https:// at the beginning of the input will be stripped out.
Adding a cluster with private registry is successful and no red border shows in the UI anymore.

Side note (in case we find this issue later) a secure registry is required at least based on a test done late last year. Reference https://github.com/rancher/rancher/issues/17186


All achievement markers show up, regardless of achievement status

With the latest update, looks like all achievements are either marked 'repeatable' or something went wrong.
Any map I go to shows all achievement markers now, regardless of whether I've completed them or not.
Maps I tried on: Ember Bay, Auric Basin
Pathing version: 0.18.1
Tried restarting BLISH, reloading markers, making sure marker packs are up-to-date and re-adding my API key

I've just pushed version 0.18.2 which includes I believe the fix for this.  Could you please try and let me know if it gives you any further issues?

Just updated - Yes, seems like that fixed it!
Working as intended, as far as I can see. Thanks!


Updating broke user database

Description
After updating to the latest dev version, I can't login anymore.
I tried restarting and using docker-compose down, but it didn't worked.
I looked in the postgres database and found my user: 1 | codedoctor    | CodeDoctor    |           | ....
This is the log that is printed after that:
gitea     | 2023/01/02 18:27:23 ...ers/web/auth/auth.go:206:SignInPost() [I] [13f3157f] Failed authentication attempt for CodeDoctor from 123.45.678.90:0: user does not exist [uid: 1, name: CodeDoctor, keyid: 0].
Gitea Version
Latest dev version
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/CodeDoctorDE/a136abc06837e13e7470f69ef497285b
Screenshots
No response
Git Version
The one from the docker image
Operating System
Raspbian
How are you running Gitea?
Using docker-compose:
version: "3"

networks:
  gitea:
    external: false
services:
  server:
    image: gitea/gitea:dev
    container_name: gitea
    #platform: linux/arm64
#    extra_hosts:
 #     - "host.docker.internal:host-gateway"
    environment:
# CENSORED
    restart: always
    networks:
      - gitea
    volumes:
      - ./gitea:/data
      - ./config:/etc/gitea
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    ports:
      - "3004:3000"
      - "222:22"
    depends_on:
    - db
  db:
    image: postgres:14
    restart: always
    environment:
# CENSORED
    networks:
      - gitea
    volumes:
      - ./postgres:/var/lib/postgresql/data
  ci:
    image: woodpeckerci/woodpecker-server:latest
    restart: always
    ports:
      - 3009:8000
    volumes:
      - woodpecker-server-data:/var/lib/woodpecker/
    environment:
# CENSORED
  runner:
    image: woodpeckerci/woodpecker-agent:latest
    command: agent
    restart: always
    depends_on:
      - ci
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
# CENSORED

#  registry:
#    image: registry:2
#    restart: always
#    ports:
#      - 5000:5000
#    volumes:
#      - ./registry:/var/lib/registry
#      - ./certs:/certs
#      - ./auth:/auth
#    environment:
#      REGISTRY_HTTP_TLS_CERTIFICATE: /certs/linwood.dev.crt
#      REGISTRY_HTTP_TLS_KEY: /certs/linwood.dev.key
#      REGISTRY_AUTH: htpasswd
#      REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd
#      REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm

volumes:
  woodpecker-server-data:

Database
PostgreSQL

Never mind, it was my fault..


onefetch: 2.7.0 -> 2.7.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/o2sh/onefetch/releases.
meta.description for onefetch is: "Git repository summary on your terminal"
meta.homepage for onefetch is: "https://github.com/o2sh/onefetch"
meta.changelog for onefetch is: ""
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.7.1 with grep in /nix/store/7xfv0j44bmf10mj2i4s19dk5ycn71jr4-onefetch-2.7.1

directory tree listing: https://gist.github.com/81cc3de714bfde70e0e300783a017192

du listing: https://gist.github.com/59f66c9dcb8c5ce572e8e1dd5d410b0e

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
onefetch

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/7xfv0j44bmf10mj2i4s19dk5ycn71jr4-onefetch-2.7.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A onefetch https://github.com/r-ryantm/nixpkgs/archive/3be04a808af291df7d83fb013aa077b818cebaf9.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/7xfv0j44bmf10mj2i4s19dk5ycn71jr4-onefetch-2.7.1
ls -la /nix/store/7xfv0j44bmf10mj2i4s19dk5ycn71jr4-onefetch-2.7.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:

onefetch

Maintainer pings
cc @filalex77 @kloenk for testing.

Works on nixos. LGTM


PolygonsEditorService error on Cesium 1.60

Hey,
Angaulr-cesium version: 0.0.55
cesium version: 1.59 -> 1.60
there seem to be breaking change in Cesium 1.60 which cause error on the feature PolygonsEditorService.
While everything worked fine in 1.59; upgrading cesium to 1.60 cause drawing polygon to error (general unspecified cesium error : "length of array of undefined..")

Hi, can you please explain how to reproduce the error?
as far as I tested all works, the demo uses cesium 1.60 - http://www.angular-cesium.com/

Hey,
I upgraded angualr-cesium and it seem to resolve it.
it was broken on angular-cesium: 0.0.55. but seem ok on  0.0.59.

Thx for your replay


Document 0.1.0/0.2.0 additions...

A bunch of stuff was added/changed in 0.1.0 and 0.2.0. This should be at least vaguely covered in the README.md

Can you add a simple usage area in the readme? Can't seem to put 2+2 together to see how to make a call after successfully authenticating. My intention is to contribute to expanding the routes once I figure it out.

Hi @ingageco! Thanks so much for the interest - imagine my surprise that others actually want to use this! :grin:
I'll try to put something useful into the README over the next few days.
Also, I would totally appreciate any contributions you could make! :smile:
Merry Christmas! :christmas_tree:

Ha @hairyhenderson - I understand the surprise, being fairly new to github. It looks great so far, and it looks like one of the first projects I can grasp enough to contribute to.
My main issue was that if i did f1.authenticate in my server.js, afterwards I could not make a call with f1 when it was passed to a route. This my be just my own ignorance of node & JS in general, and I didn't try the other option (get_token). So i ended up hard-coding the token / secret (not sure if i'm supposed to) and now I can pass f1 around to routes it seems. Just chalk it up to me being a noob.
Merry Christmas to you as well!


OWLS-67938: Verizon POC: Improve Operator GitHub site doc about scali…

…ng a cluster
Update scaling documentation to provide more information on how to scale WebLogic clusters on Kubernetes.  This draft is based on Operator 1.0.

@anpanigr, I'm not sure what your comment is suggesting.  Do you want a delta to the proposed change?

I've made the change and here is the diff:
lphan-mac:site lphan$ git diff scaling.md
diff --git a/site/scaling.md b/site/scaling.md
index 125878d5..cb377288 100644
--- a/site/scaling.md
+++ b/site/scaling.md
@@ -354,7 +354,7 @@ token=echo ${enc_token} | base64 --decode
 #echo "token [${token}]"
# Retrieve SSL certificate for the external REST endpoint from the
generated yaml file for the Operator
-operator_cert_data=grep externalOperatorCert  ${domdir}/weblogic-operators/${ns}/weblogic-operator.yaml | awk '{ print  $2 }'
+operator_cert_data=kubectl get cm -n ${ns} weblogic-operator-cm -o  jsonpath='{.data.externalOperatorCert}'
 #echo "operator_cert_data [${operator_cert_data}]"
# clean up any temporary files
Thank you for the review.
Thanks!
--Lenny
On 9/4/18 12:42 PM, Ryan Eberhard wrote:

@anpanigr https://github.com/anpanigr, I'm not sure what your
comment is suggesting. Do you want a delta to the proposed change?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oracle/weblogic-kubernetes-operator/pull/405#issuecomment-418493318,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Afz3ld0DGv9ehi089Qpu8NLtbje1LCzvks5uXtekgaJpZM4WZj7g.


linux-introduction: Fixup the QEMU machine link

Signed-off-by: Alistair Francis<EMAIL_ADDRESS>

Ping!

Ping^2

This is already fixed in master now.