Add $debounce and $throttle

@SimoTod
Thank you for adding these here, and for making it work.
I couldn't figure out how to keep the scope.

No worries. I wonder if we need them though. Alpine has already 2 modifiers for those. Do you have anything in mind that can't be achieved using .debounce and .throttle?

@tanthammar Alpine now expose debounce and throttle via Alpine.debounce and Alpine.thottle (although I don't agree with the implementation of the latter) so I'm going to close this PR without merging it.

@SimoTod Thank you for keeping track of this topic. Can you share your opinion on what you think is missing?

If you have a throttleling interval of 1sec and you click 2 times, Alpine runs the calback once and discards the second call. To me, that's just debouncing with immediate = true (https://davidwalsh.name/javascript-debounce-function old article, i know).
Throttle should execute the first callback, then wait 1sec and execute the second callback too.
However, if you google it, people can't agree on the topic, someone prefers the Alpine implementation someone doesn't so both are valid implementations.

I read the same article (amongst others) :), and also noticed the two different basecamps for what's considered "true" throttling/debounce functionality.
I'm keeping your version locally, just giving it a different name so I can pick the one most suited for each case.
Again, thank you!


[WIP] To trigger CI for how does comtypes PR affect to pywinauto

My projects are using both comtypes and pywinauto.
I am now manually modifying the comtypes branch in ci/install.ps1 to test if the comtypes PR is approved.
I am searching how to automate testing when comtypes and other dependencies updating or submitting PR.
I will close this and re-submit issue/PR when figured it out.

The best idea I have is adding "pywinauto" step to comtypes AppVeyor build matrix and run pywinauto tests there. Well, 2 pywinauto steps: for Py2.7 and Py3.10 should be enough. Also I know how to reduce the full pywinauto test suite to only "uia" backend related tests which will save time for comtypes CI.

Your proposal is attractive because it allows us to do what we want to do with less man-hours.
On the other hand, it doesn't feel right to test for pywinauto within comtypes.
It is better to use a way that can be used even if a package other than comtypes will be updated.
For example, pywin32 and six are third-party libraries that pywinauto also depends on, but I don't think that "put a install pywinauto test in their CI to make sure it works properly" proposal would be approved.
I agree that adding a non-env-dependent UIAutomationCore.dll test to comtypes, as simple as "just close an opened notepad app"(this is the code I assumed), to prevent "other dll APIs with comtypes is available, but only the UIAutomationCore.dll is not available" situation.
There are such things like dependabot and renovatebot that do something by updating dependency packages.
Or we might be able to do something with GitHub Actions.
I would like to suggest and consider using those tools.
Do you have any opinions?

The difference is that pywin32 and six packages have completely different maintainers and user bases. Though comtypes is not only pywinauto's dependency so in some sense you're right. I suggested the solution that is easiest for me to implement. And I've already started writing PowerShell scripts for it when I had 2 free hours.
Risk of absence of UIAutomationCore.dll is very low because it's built-in in the OS since Windows Vista. The only risk here: it might be renamed in the future Windows versions, but Microsoft do such things extremely rarely.
I'm not familiar with mentioned bots behavior yet. Maybe it makes sense. So more detailed suggestions are welcome.

@vasily-v-ryabov

Though comtypes is not only pywinauto's dependency

That was exactly the reason for the proposal not to test pywinauto in comtypes.
For example, I now use both comtypes and pywinauto, but used to use them only for Excel operations. I was taking such developers into consideration.
Those bots are used for my application development.
The bots automatically submit PRs triggered by updating dependency packages.
Also,repository-dispatch is available in GitHub Actions Store, which seems to be able to trigger something.
If we can run automated testing (or script) triggered by these, we can do what we want without binding all comtypes developers to pywinauto.
Please wait as I am still investigating the specifics of how to do this, such as whether these bots can trigger only automated testing, or whether special tokens are needed for Actions.

I think one of the right ways would be writing comtypes unit tests for UIAutomationCore.dll which is part of OS. But it takes time, and we have big number of ready-to-use tests on top of UIAutomationCore.dll in pywinauto. In this case pywinauto plays role of test framework (like pytest :) ). Only cross-dependency on each other makes this way a bit wrong.

I have been repeatedly close and re-open this PR for Error uploading artifact to the storage: Remote server returned 503: Service Unavailable.
I think the annoying ping has send to community members. My apologies.


osmscout-server: Remove optional dependency mapnik

Mapnik keeps breaking and is not the main backend used by
osmscout-server.
Motivation for this change
Mapnik and its dependencies keep getting broken. It is an optional dependency of osmscout-server which was mostly kept as a historical legacy backend. By removing this dependency, we fix osmscout-server and hopefully avoid it breaking so often in the future.
Things done

Built on platform(s)

[ ] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

ZHF: #144627
Ping @NixOS/nixos-release-managers

Could it not be kept as a non-default option?

Could it not be kept as a non-default option?

It could, but I'm not convinced that the added complexity is worth it. In particular, the code to make it optional would be 'speculative', as there is no way to test it while mapnik is broken.
If someone actually wants to run osmscout-server on nixos with the mapnik backend, hopefully they will let us know by creating an issue or PR. Until then, I'm inclined to keep things as simple and maintainable as possible.

Why has ofborg added the  "8.has: package (new)" label to this? There aren't any new packages in this PR.

Result of nixpkgs-review pr 145756 run on x86_64-linux 1

1 package failed to build:

osmscout-server

nixpkgs-review seems to be broken for me today. The package actually builds successfully if I just build it manually from your PR branch. This has happened to me several times today, sorry about that. LGTM though.


Redeploying with mupx leads to node-fiber missing error

After I have made changes to my project and redeploy using the mupx deploy command it seems that the after the redeployment my app fails to start and i get the followign error:
Error: /bundle/bundle/programs/server/node_modules/fibers/bin/linux-x64-v8-3.14/fibers.nodeis missing. Try reinstallingnode-fibers?
Any ideas how to fix it?
I am on meteor 1.3-rc releases
Thanks in advance!
Also, i tried to deloy using node 0.10.x but it didn't help. It was mentioned by @arunoda in this issue

same issue with me

@walleXD @ramzwatcher I got this error after upgrading to Meteor 1.3 but ran mupx setup again before mupx deploy and it seemed to fix the issue.

The problem still persists for me, even after running mupx setup before redeployment. My errors:
 /bundle/bundle/programs/server/node_modules/fibers/fibers.js:16 Throw new Error(''+ modPath+ '.nodeis missing. Try reinstallingnode-fiber
Error: /bundle/bundle/programs/server/node_modules/fibers/bin/linux-x64-v8-3.14/fibers.node is missing. Try reinstalling node-fibers?
`
Guys, any idea how to fix this? I pretty much am spinning up new Digital ocean droplets overtime I am making changes to my code and I am not sure how to solve this......
You help would be much appreciated!

I am having the same issue:
2016-04-01T01:24:49.122459700Z /bundle/bundle/programs/server/node_modules/fibers/fibers.js:16
2016-04-01T01:24:49.122799400Z 	throw new Error('`'+ modPath+ '.node` is missing. Try reinstalling `node-fibe

waitTime is set to 60, to no avail.

I got the same message. Meteor up is cool but just check the issues, open issues twice closed ones.
Anyway, I managed to get the app running.
ssh into your server first, then reinstall fibers cd /opt/yourapp/current/bundle/programs/server/node_modules/ ; rm -rf fibers && npm install fibers
now quit ssh session and try mupx start
The bundle should be built on the target server(why not?).
Other than this issue, for now there are 487 issues open and 46 pull requests including  #942 update node version, #773 add system architecture to build(which may fix this issue and bcrypt ones) and #736 introduce mongo dump and restore with many other updates.

You are correct! I think it now says this is officially depreciated as the port of mupx over at kadirahq is where all efforts and momentum moving forward are focused. Still it's under development and the development branch here called mupx is suppose to be the "stable" version but with changes to Meteor etc going on its probably wise to try the new kadirahq version as you'll also get better official support and PRs are surely welcome.

I was having the same issue. I fixed it by by ssh-ing into the vagrant-spk box, and
sudo apt-get install g++.
Sandstorm doessn't like to load the grain now, but at least its building.

I got the same issue to use mup after updating meteor.
I tried to downgrade the version of meteor and node, then I succeeded to deploy to AWS. For the deploying, I had created a new instance Ubuntu 14.04 t1.micro in AWS.
In my project folder, run meteor update --release 1.3.1
Edit mup.json in the project like { "nodeVersion": "0.10.41", ... }
My local environment is Ubuntu 14.04.
I have not tried mupx.

Yes mupx is the newer version and both here are now pretty much depreciated by the port of a similar docker centric approach to mupx now at kadirahq/meteor-up
Moving forward with meteor <IP_ADDRESS>/4 you'll want to be using that newer version.

Set "deployCheckWaitTime" to 60 fix the problem as mentioned here https://github.com/kadirahq/meteor-up#faq


[dotO] [rocMLIR] tensor <=> memref op lowering

Need to fill in the place holder for private memory space.

Thank you for implementing the lowering of conversions between tensor and memref. I do have some requests in general.

Format check with clang. Can you run
find . -regex ".*\.\(cpp\|hpp\|h\|cc\)" -not -path "./python/triton/*" -not -path "./python/build/*" -not -path "./include/triton/external/*" -print0 | xargs -0 -n1 clang-format -style=file -i

at the top level of the triton repo. This will fix the format of a bunch of cpp files. Only preserve the changes to the two cpp files in this PR and discard changes to any other files. I think it is a good habit to make sure clang-format is happy every time we submit a PR.

Probably we need to set up a linter. @rsanthanam-amd  What do you think about maintaining the format of source files?

For memref_to_tensor, I have a second thought about whether the shapes of src and dst should match.

If they match, then the following convert_layout will have mismatch shapes from src and dst when it tries to convert #mfma to #blocked. convert_layout does not allow that and I do not think it is a good idea to change convert_layout to accept different shapes from src and dst. Therefore, we may need another new op to perform the conversion with mismatched shapes.
OR we can make memref_to_tensor to accept mismatched shapes from src and dst. But I'm not sure if this will complicate the lowering process to LLVMIR. I do prefer this approach if it does not bring too much trouble. Could you please investigate on it?

It should not be a problem if the shape is not same as long as the the number of elements is consistent. We need to know how the data is stored in target tensor.

I really want to see the result can be verified by unit tests, especially when we now have the unit testing infrastructure for the dot-rocMLIR branch. However, the right place for populateTensorMemRefOpToLLVMPatterns should be RockToLLVMPass.cpp, which contains a lot of other stuff that generate LLVM IR. I think for testing purpose, you can make these two rewrite patterns (TensorToMemRefOpConversion and MemRefToTensorOpConversion) into an individual pass, say --lower-tensor-memref-op, that can be invoked by triton-opt. From there, you can add unit tests to check the correctness of the generated LLVM IR only for these two operators. Later this pass can be merged into RockToLLVM, or even better TritonGPUToLLVM, when other parts (especially the rock ops) are also lowered to LLVM IR correctly.

I will work on writing unit test from C++ end. It  will also verify numerical results besides IR.

I have left an inline comment about checking gpu addressspace.

will change the private memory space placeholder according to your feedback.

It should not be a problem if the shape is not same as long as the the number of elements is consistent. We need to know how the data is stored in target tensor.

The number of elements is also different. For example
%dst = triton_gpu.memref_to_tensor %src: memref<4xvector<16xf32>> -> tensor<128x256xf32, #mfma>

The %src contain the elements each thread owns. But the dst gives the tensor of the whole block. We shouldn't care about data layout for memref_to_tensor since it is the job of convert_layout.

And I also added a linter. You can rebase your branch and see how the new linter works.

And I also added a linter. You can rebase your branch and see how the new linter works.

I will check it out. Thanks.

I think you'll need some utility function for LDSEncoding and MfmaEncoding. Maybe it's better to rebase your branch onto lower-rock-to-llvm.

I think you'll need some utility function for LDSEncoding and MfmaEncoding. Maybe it's better to rebase your branch onto lower-rock-to-llvm.

Will rebase my branch.


Actus

I temporary asked hydra to stop trying to build this PR since it's evaling to an error repeatedly: https://hydra.iohk.io/jobset/Cardano/plutus-pr-2046#tabs-errors. Feel free to remove the label once the eval error is addressed.

Ah, thanks - I didn’t add NIX-build to it yet


helm list not displaying any resources

Hi,
i used to have the below version
$ helm version

Client: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}

Server: &version.Version{SemVer:"v2.17.0", GitCommit:"a690bad98af45b015bd3da1a41f6218b1a451dbe", GitTreeState:"clean"}

I uninstalled the old helm version and when i installed the latest it doesnot work
$ helm version
version.BuildInfo{Version:"v3.5.4", GitCommit:"1b5edb69df3d3a08df77c9902dc17af864ff05d1", GitTreeState:"dirty", GoVersion:"go1.16.3"}

$ helm list
NAME	NAMESPACE	REVISION	UPDATED	STATUS	CHART	APP VERSION

Kindly help
thanks

kubectl version
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.4", GitCommit:"8d8aa39598534325ad77120c120a22b3a990b5ea", GitTreeState:"clean", BuildDate:"2020-03-12T23:41:24Z", GoVersion:"go1.14", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"17+", GitVersion:"v1.17.17-gke.4900", GitCommit:"2812f9fb0003709fc44fc34166701b377020f1c9", GitTreeState:"clean", BuildDate:"2021-03-19T09:19:27Z", GoVersion:"go1.13.15b4", Compiler:"gc", Platform:"linux/amd64"}

https://helm.sh/docs/faq/changes_since_helm2/#release-names-are-now-scoped-to-the-namespace
Please use the helm-2to3 plugin to migrate from Helm 2 to Helm 3. This is described in more detail in the documentation.


Experiment with first party plugin system

Non core-SNS features such as polling, emoticon, sticker packs, could've been made as third-party plugins.

Will be resolved in #119


Json save file (DO NOT MERGE)

Fixes #99

Future refactoring to consider:
make JsonAdaptedPerson abstract and have separate JsonAdapted for Student and Teacher

NOTE TO OTHERS:
merge other pending PRs first before this one to minimise merge conflicts

Future refactoring to consider: make JsonAdaptedPerson abstract and have separate JsonAdapted for Student and Teacher

This has been implemented


Bring sleep back to WgpuAwaitable.  Slowly back off on the amount of time sleeping.

I've probably overengineered this.

Should I be using async_sleep (defined in that file) or should I change async_sleep to use anyio? Now that we're actually sleeping, it's more important to use Event when sleeping.  (Some other operations poll() might cause this callback to happen).  Does everything that sniffio supports have an Event?

Yeah, we should only rely on sniffio, because the async stuff might actually be running on rendercanvas.utils.asyncadapter, which anyio does not know about. Both sleep  and Event  can be obtained in the way we now get the sleep func for async_sleep (it works for asyncio/trio/rendercanvas).

Ah, I see what you mean. We could technically add support for this to rendercanvas, but the simpler solution is to not use Event  here. Since we scale up the wait time, the possibly time we waited too long should only be a fraction of the total time we had to wait, so I don't see harm in that.
Could even make that explicit:
sleep_time = time_since_started / 100

Thanks @fyellin !


Initial API Key setup to connect

EDIT: Ugh, I know why. It is becasue of my caddy-security plugin. Nevermind lol
I am trying to get my api key to work with my hosted instance of wakapi, but it keeps failing to authenticate when I know I am using the correct api key. I get this error constantly. My wakatime logs:
{"caller":"cmd/run.go:239","func":"cmd.runCmd","level":"error","message":"failed to run command: sending heartbeat(s) later due to api error: won't send heartbeat due to backoff","now":"2022-04-20T13:45:22+08:00","version":"v1.42.1"}
{"caller":"cmd/run.go:239","func":"cmd.runCmd","level":"error","message":"failed to run command: today fetch failed: invalid api key... find yours at wakatime.com/api-key. authentication failed at \"https://codestats.mydomain.xyz/api/users/current/statusbar/today\". body: \"{\\\"error\\\":true,\\\"message\\\":\\\"Access denied\\\",\\\"timestamp\\\":\\\"2022-04-20T05:45:22.988238087Z\\\"}\"","now":"2022-04-20T13:45:22+08:00","version":"v1.42.1"}
{"caller":"cmd/run.go:239","func":"cmd.runCmd","level":"error","message":"failed to run command: sending heartbeat(s) later due to api error: won't send heartbeat due to backoff","now":"2022-04-20T13:45:35+08:00","version":"v1.42.1"}
{"caller":"cmd/run.go:239","func":"cmd.runCmd","level":"error","message":"failed to run command: sending heartbeat(s) later due to api error: won't send heartbeat due to backoff","now":"2022-04-20T13:45:42+08:00","version":"v1.42.1"}

I am confused as to why its authenticating at "https://codestats.mydomain.xyz/api/users/current/statusbar/today"
wakatime cfg file:
[settings]
api_url = https://codestats.mydomain.xyz/api  (have tried /api/heartbeat too)
api_key = my-api-key

I have tried multiple IDEs to test and get the same error. I am running wakapi in a container in docker. I can access my instance at my domain name no problem, so I think nothing is wrong on my sever in regards to connection. Reverse proxying behind caddy. Do I need to set some ENV variables in docker perhaps for the api to work? Here is my compose file
services:
  wakapi:
    image: ghcr.io/muety/wakapi:latest
    container_name: wakapi
    volumes:
      - /home/alexz/docker/wakapi/data:/data
    environment:
      WAKAPI_PASSWORD_SALT: my_secret_salt
      WAKAPI_PUBLIC_URL: https://codestats.mydomain.xyz
    ports:
      - 85:3000
    restart: unless-stopped

My Caddyfile block for wakapi
@wakapi host codestats.mydomain.xyz
        handle @wakapi {
            route {

                    encode zstd gzip
                    authorize with mypolicy
                    reverse_proxy localhost:85

                    @api path_regexp "^/api.*"
                    @notapi not path_regexp "^/api.*"

                    push @notapi /assets/vendor/source-sans-3.css
                    push @notapi /assets/css/app.dist.css
                    push @notapi /assets/vendor/petite-vue.min.js
                    push @notapi /assets/vendor/chart.min.js
                    push @notapi /assets/vendor/iconify.basic.min.js
                    push @notapi /assets/js/icons.dist.js
                    push @notapi /assets/js/base.js
                    push @notapi /assets/images/logo.svg
                  }
        }

I am stumped on what to do.

Figured out my issue.

What was the issue? I'd have assumed that it's something about the reverse proxy, since the Access denied message doesn't look like anything returned by Wakapi itself.

I am using plugin for caddy, caddy-security which is a plugin for authorization/authentication/SSO like portal. It seemed I was authorized to access my domain through the plugin as I was already authorized, but for the API calls themselves were not authorized or something, so I couldn't access my server to make the API calls. It is definitely something to do with the caddy-security plugin I am using. I will need to mess with it more. Anyways, it was unrelated to wakapi itself and related to my caddy setup. It works now when I don't have it authorize through the caddy-security plugin.

Great to hear! Thanks for sharing.


Subflow re-dialing?

Wouldn’t it make sense to add retry intervals to the subflows or even better in general do an interval to rediscover new paths?
As of now as far as I can see once a subflow is disconnected due to a network interruption it’s gone for good which means once every connection that was established originally failed once the overall connection fails even if there would be a new path available or an old path available again.

Yeah there is a desire to do this, bgp.tools uses the same multipath library for it's relay nodes, and so I need to:
(A) port the fixes from the bgp.tools repo back here
(B) add auto subflow redial
I took a stab at this a few months ago and realised it was not just a single days worth of effort, but since it's highly desired, I will do it for bgp.tools and port it back here.

I’d offer to help but sadly I have basically zero Go knowledge and it didn’t look like just add an interval and drop new dialers into the pool from what I could make sense of the code.


Added Insights for Instragram App

Added new community project.

Codecov Report

Merging #1314 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #1314   +/-   ##
======================================
  Coverage      83%     83%
======================================
  Files          24      24
  Lines         753     753
======================================
  Hits          625     625
  Misses        128     128

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 b9a367b...291e251. Read the comment docs.

Thank you for this one, @adimango! The app seems really cool 😉

Thanks a lot for contributing to Moya! I've invited you to join the Moya GitHub organization – no pressure to accept! If you'd like more information on what that means, check out our contributor guidelines and feel free to reach out with any questions.

A big thank you for all your work @sunshinejr and @ashfurrow.
The app is still basic but the next release is in progress.. 😃
I'll be happy to support/contribute.


Add merge functionality between data frames

Add a Pandas style merge function to make joining data frames together easier especially when there are non unique columns/indexes. Please see this stackoverflow question here for more detail.

Are there any elegant ways to do this with Deedle now?  I created a function for this.  But it copies only one column only.  Users have to specify a type parameter explicitly.
let mergeColumnFromAnotherFrameUsingForeignKeyColumn<'X, 'C, 'R1, 'R2
              when 'X : null and 'C: equality and 'R1: equality and 'R2: equality>
   (column_to_be_copied: 'C)  (indexed_frame: Frame<'R2,'C>)
   (foreign_key_column: 'C) (primary_frame: Frame<'R1,'C>)   =

  let srs_references: Series<'R1, 'R2> =
      primary_frame |> getCol foreign_key_column

  let (srs_cols_to_be_merged: Series<_,'X>) =
    getCol column_to_be_copied indexed_frame

  let new_srs =
    srs_references
    |> Series.mapValues
        (fun x -> if srs_cols_to_be_merged.ContainsKey(x) then
                    srs_cols_to_be_merged.[x]
                  else null)

  addCol column_to_be_copied new_srs primary_frame

My code does not work when the specified datatype is not nullable.  :-(

I have created a function which selects the keys first and performs a lookup:
let partJoin (keySelect:'R->'V) (df1:Frame<'R,_>) (df2:Frame<_,_>)=

    // 1. Make the key available
    let keySeries =
        df1
        |> Frame.mapRows (fun k _ -> keySelect k)

    // 2. Create a combind column via lookup
    let combined =
        keySeries
        |> Series.mapAll (fun _ vOpt ->
            vOpt
            |> Option.bind (fun v ->
                df2.TryGetRow v |> OptionalValue.asOption)
                )

    // 3. Split into single columns and append
    df2.ColumnKeys
    |> Seq.fold (fun acc key ->
        let col =
            combined
            |> Series.mapAll (fun _ sOpt ->
                sOpt
                |> Option.bind (fun s ->
                    s.TryGet key |> OptionalValue.asOption
                )
            )
        acc
        |> Frame.addCol key col) df1

Example:
let toFrame (str:string) =
    let bytes = System.Text.Encoding.UTF8.GetBytes str
    let stream =  new MemoryStream( bytes )

    Frame.ReadCsv(
        stream = stream,
        separators = ";",
        hasHeaders = true
    )

let df1 =
    toFrame "A;B;C\na;1;text1\na;2;text2\nc;2;text3\nc;3;text4"
    |> Frame.indexRowsUsing(fun row ->
        row.GetAs<string>"A",row.GetAs<int>"B"
        )
    |> Frame.sliceCols ["C"]

df1.Print(true)

let df2 =
    toFrame "B;D;E\n1;2020;bla\n2;;blb\n3;2014;blc"
    |> Frame.indexRowsInt "B"

df2.Print(true)

let test = partJoin snd df1 df2
test.Print(true)

       C
       (string)
a 1 -> text1
  2 -> text2
c 2 -> text3
  3 -> text4

     D         E
     (int)     (string)
1 -> 2020      bla
2 -> <missing> blb
3 -> 2014      blc

       C        D         E
       (string) (obj)     (obj)
a 1 -> text1    2020      bla
  2 -> text2    <missing> blb
c 2 -> text3    <missing> blb
  3 -> text4    2014      blc

Unfortunately it loses the type information. Maybe somebody knows how to prevent this.

@jim108dev  Another program of mine does something similar.  It also loses the type information.

@murata2makoto Yes, you are right. I should have paid more attention to your solution. Maybe you could turn on syntax highlighting, makes it easier to read. Also at your program you have to specify the missing value explicitly and you have to perform a lookup for every added column. If we just had somebody who knows about type information. (@tpetricek)


Please support TSV files as well

Is it possible to support Tab Separated Values (TSV)?  This would be a great help in my attempt to import Traveller RPG sector data from TravellerMap.com in the https://travellermap.com/doc/fileformats#t5-tab-delimited-format.
Thanks.

That is probably possible. I think the library I'm using for reading CSV permits any arbitrary separator. Regards,MartinOn 19 Feb 2022 15:10, ckennedy666 @.***> wrote:
Is it possible to support Tab Separated Values (TSV)?  This would be a great help in my attempt to import Traveller RPG sector data from TravellerMap.com in the https://travellermap.com/doc/fileformats#t5-tab-delimited-format.
Thanks.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Although I see that TSV has some extra rules, so might not parse properly if your days has blank lines, or other escape characters that CSV allows.

Biggest issue with my dataset is the use of { } within the data. But it is only a single curly brace when used, so hopefully it won't conflict with Handlebars.

Having checked the functionality within the PapaParse library I'm using to read CSV files, it will auto detect the delimiter from any of comma, tag, pipe, semi-colon, ASCII record separator(30), ASCII unit separator (31).

You will need to change the file types in the JSON/CSV file selector dialog to show all files in order to select your TSV file, but otherwise the importer should auto-detect it just fine.
Can you test and let me know if it reads your files?

Just tested.  I had to name the file .csv even though it was a TSV file.  It worked!  My very basic test looks good.  It would be nice if the file name filter allowed .tsv as well as .csv.
Thanks.

Only thing I see (with 0.8.0), the name of the file must end with .csv for the import to be successful, but it will process TSV file without issue.
Thanks.

Will be fixed in 0.11.0


Working on GH workflows to build zimbra

I'am currently working to automate the build using gh actions. I assume most of you people already have automation in a CI, but who knows.
I will not be able to share the builds itself, since i assume this would violate Zimbra's terms (does it) - but i surely can share the actual actions / build repo so everyone can do this. I cannot see how this can bring us in hot water here.
What are your thoughts on this?

I make builds and they are available for download on https://techfiles.online/zimbra - as far as I am aware there is nothing against making and distributing your own builds since it is open source.  There is no Zimbra proprietary stuff in it, that is only in the NE builds that Zimbra builds and sells.  We don't have access to any of the proprietary stuff.

@ianw1974 do i harm you effort on techfiles.online - since i do not want that. I can keep it to myself and that's it, i wont step on the toes of the person putting all the work to provide the builds scripts in the first place. Please be open, i can fully understand you being not happy about that.

It's no problem for me, if you wish to distribute your own builds you can of course.  Anyone can do what I am doing, and I cannot stop anyone from doing it :)
The more people that can keep Zimbra alive for OSE/FOSS, the better.

Ok so i publish the repo then, make it accessible and people can use the binaries (which they should not IMHO) but rather clone the repo and do builds themself on GH effortless.


Finish implementing dedicated allocation

Close #640
Breaking change.
Modifies the API of MemoryPool. Its sole required method is renamed to alloc_generic, while alloc is turned into a provided method and takes an additional parameter which is the dedicated allocation.
alloc now also returns a PotentialDedicatedAllocation<A> instead of a A.

Unfortunately I can't test whether it works. I thought the latest nVidia beta driver implemented the extension, but they don't.

Following the comment about prefer_dedicated, I had to make some changes.
prefer_dedicated is obtained from the MemoryRequirements struct. If we added an additional parameter prefer_dedicated to alloc, then it would be more or less a duplicate of the DedicatedAlloc parameter. I think it would make more sense to call alloc with DedicatedAlloc::None when prefer_dedicated is false`.
However I think that it would be too cumbersome for the user to have to adjust DedicatedAlloc based on prefer_dedicated. Passing the MemoryRequirements struct would make more sense, but then it could conflict with memory_type. I really dislike when you can call a function with an invalid combination of parameters.
Therefore I added a brand new function alloc_from_requirements that chooses the memory type from the memory requirements, then performs an allocation.
Then I noticed that having both alloc_from_requirements and alloc could be confusing, because the dedicated parameter of alloc means that the function must perform a dedicated allocation, while the dedicated parameter of alloc_from_requirements is just a hint and can be ignored. Therefore I totally removed alloc.

Oh, a nightly-only failure on travis:

error: Error during translation/LLVM phase.
thread 'rustc' panicked at 'Box', /checkout/src/librustc/session/mod.rs:236:8
thread 'rustc' panicked at 'couldn't compile the test', /checkout/src/librustdoc/test.rs:273:12

Restarting the travis build fixed it.

Let's merge this I guess, thanks for the review!


The original version has tensorflow problem using Python3, So I used …

…Python2 to run.
Changes:
1.Add '# -- coding: UTF-8 --' for the python code problems
2.Process some import problems
3.Fix parameters problem in VideoWriter

I successfully trained and tested this repo with python3.5 and 3.6，so maybe you can update you tensorflow version if you have problem using python3.


Sync data with a remote MySQL database

Hi.
Please include syncronization with a remote MySQL.
This way the log file, which is JSON, might also stored to a MySQL database for security purposes and/or backup.
This way the system can be used as an attendance logger.
Thanks

Hi @prassaschr ,
ESP-RFID self sufficient project. Implementing MySQL support is easy but this will require specific solution for each MySQL setup, instead you can query ESP-RFID with a Node.js application (using WebSocket client) or any other tool for record keeping. Node.js and MySQL + WebSocket packages is just enough for the task.
Kind regards.

This sounds interesting! Could you guide me by posting an example URL? I am not familiar with Node.js and Websocket client.
Thank you once more.
Kind Regards

For example this is a simple Node.js script that is Websocket Server and a MySQL client. Websocket server listens for queries and executes a search query on MySQL server, then sends back results to Websocket client.
var mysql = require('mysql');
var connection = mysql.createConnection({
  host: 'localhost',
  user: 'admin',
  password: '1',
  database: 'tek_servis'
});

const WebSocket = require('ws');
const wss = new WebSocket.Server({
  port: 8080
});

wss.broadcast = function broadcast(data) {
  wss.clients.forEach(function each(client) {
    if (client.readyState === WebSocket.OPEN) {
      client.send(data);
    }
  });
};

function sorgula(data) {
  connection.query("select c.hesapkodu, c.cariadi, c.tipi, c.cinsi, c.marka, c.model, c.tamadi, c.sfiyat, c.afiyat, c.ptipi, c.barkod, (case when 1=1 then(SELECT sum(coalesce(d.miktar,0)*m.gc) FROM stokgcm m, stokgcd d WHERE m.gcsno=d.gcsno and m.aktif=1 and d.hesapkodu=c.hesapkodu) else 0 end) as Kalan from cariler c where c.hesapkodu like '153%' and c.bayino=1 and c.aktif=1 and (c.barkod='" + data + "') or (c.tamadi like '%" + data + "%')", function(error, results, fields) {
    if (error) throw error;
    wss.broadcast(JSON.stringify(results));
  });
}

wss.on('connection', function connection(ws) {
  ws.on('message', function incoming(message) {
    var obj = JSON.parse(message);
    if (obj.type === "sorgu") {
      sorgula(obj.data);
    }
  });
});


feat(alerts): Support pipeline alert schema

This commit sets up support for using pipeline alerts and its schema. Due to the dynamic nature of the schema (server-side), usage of some schema properties are required in Terraform whereas they're optional (and defaulted) normally. This is because of the strongly-typed nature of Go, and the inability to configure types dynamically such that certain things are required depending on the values set by the user. Because of this, we will also do some custom validation for each alert type, and force the user to explicitly provide values where needed.
Ref: LOG-19605

For the alert_payload map, it could be map[string]string

Meh, with so many any uses, I don't see really what we'd gain by changing it, other than it's the "right way."


QG4: TRG 5.04 - Resource Management

Helm Chart Version: 0.1.5
App Version: 0.2.2-M1
Resources section used in the values.yaml for your Deployment doesn't comply with TRG 5.04:

No CPU resources configuration in Requests & Limits
Memory not equal in Requests & Limits

You can find more information and examples HERE

Hi @tomaszbarwicki ,
we integrated this with PR "Resource management settings adjusted #47". If it is fine, please close that issue. Many thanks!

Hi @bs-sili, as mentioned looks better, however I'd recommend to differentiate CPU values for requests and limits as TRG 5.04 suggests. I'd advise also to use Grafana dashboard to determine realistic CPU requirements of the app.

Hi @tomaszbarwicki,
i corrected the values for the cpu for request and limit and I made a PR for that issue: https://github.com/eclipse-tractusx/sldt-discovery-finder/pull/48

LGTM


Fix for Misra 12.3 Rule Warning

Associated Issue

Closes #74
Implemented Solution

Changed the multiple declarations in a single line to single declaration in each line.

@all-contributors please add @j-karthik for code


Crash on Android due to fresco class not found

Requirements:
Please go through this checklist before opening a new issue

[x] Review the documentation
[x] Search for existing issues in: ViroCommunity/viro
[x] Use the latest ViroReact release

Environment
Please provide the following information about your environment:

Development OS: Mac,
Device OS & Version: What Android OS version (7.0, 8.0, etc.)  is your device running on? Android 13
Version: ViroReact 2.41.1 and React Native 0.68.7
Device(s): What device(s) are you are seeing the issue on (i.e. iPhone X, Samsung Note 8, etc) One plus 8

Description
After upgrading Viro to the latest version I get whenever I try to start viro on the app
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/facebook/imagepipeline/image/BaseCloseableStaticBitmap;
at com.viromedia.bridge.utility.ImageDownloader$1.onNewResultImpl(ImageDownloader.java:156)

Same issue +1

Please share more context so I can help you.

In my case, I changed the version to 2.23.3 and the problem was solved.
"@viro-community/react-viro": "2.23.3"

Same issue +1

@doranteseduardo it happens with those versions above on original post and when I start Viro on the app. It happens when deploying on an Android 13 device.

@tranminhnhat1005 Yes that version works but latest version updates android libraries and I believe is causing it to happen on the version of RN I originally said. I have updated RN to 0.73.0 and it does not happens anymore.

@tranminhnhat1005 Yes that version works but latest version updates android libraries and I believe is causing it to happen on the version of RN I originally said. I have updated RN to 0.73.0 and it does not happens anymore.

Yes, I have some projects with different react-native versions, and which project using >=0.73.0 worked. I tried to finding the reason and found it:
https://reactnative.dev/blog/2023/12/06/0.73-debugging-improvements-stable-symlinks#other-breaking-changes:~:text=Android%3A Major bump of Fresco to 3.0 (%2338275).


Paint control tweaks

Adds option to hold the touchpad (anywhere) instead of select to change colors/brushes
In palette select mode, swaps functions of D-pad left/right and select. Now, d-pad picks color channel and select increases the color channel value
Also in palette select mode, the touchpad now sets the color channe value based on the absolute touch position centroid
Pressing A will always draw at least once, even if you press & release before the next frame
Moved flood fill to bresenham.h

Make sure to update the tutorial with these changes too


Update docker-compose-v3.yml

Port for Juice Shop appears to be incorrect. By default, bkiminich/juice-shop runs on 3000, not on 3001.
That is also the port indicated in your test suite definition, so this seems like a mistake.

This docker compose was created considering running juice shop website along with the selenium grid. I will be adding a separate docker compose file just to run juice shop website locally.

This docker compose was created considering running juice shop website along with the selenium grid.

I understand that, but even in that case it runs on 3000, not on 3001 right? :)
Anyway, thanks for all your hard work!


⚠ Bofrost.at has degraded performance

In 217e33f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 863 ms

Resolved: Bofrost.at performance has improved in bddd937.


Please, realize protocol for web-drivers (include remotewebdriver) control

we  need worked, well documented template for any protocol.
all old articles about Gatling new protocol creation not worked.

We're not ready to provide a stable API for everyone to implement his own protocol support.
If you're in a need of a custom protocol and don't feel like digging yourself in the code, you can contract with us so we develop it for you.

Idle for too long. Will reopen if there's some activity.


Addition of HiddenThemes setting

Addition of the HiddenThemes setting that allows for themes to be hidden from the UserPanel 'Client' section, useful for internal themes.
PoF:

All checks have failed
2 failing checks


release/v1.5.4

[1.5.4] (May 8 2024)
Feat:

Added a new optional property fixateView to Constant. When given, the app fixates its view type accordingly irregardless of change of screen width

Fix:

Fixed a bug where initial scroll position is not at the bottom when last message has suggested replies
Fixed a bug where margin between neighboring messages is not always 16px
Fixed a bug where users join empty channels when a bot is recreated with the same ID
Fixed a bug where modal components being rendered beneath chat component

/bot create ticket

[Creating Ticket] 🔖 Done https://sendbird.atlassian.net/browse/SDKRLSD-1273


Nullable not support per openapi 3 spec?

https://swagger.io/docs/specification/data-models/data-types/
It seems the nullable field is ignored when validating requests.
Following is spec:
# schema
"helloBody": {
  "required": [],
  "properties": {
    "name": {
      "type": "string",
      "nullable": true
    }
  }
 }

Given this, how would we go about creating a nullable string?

The case is pretty complicated as nullable can be applied to all types. We need to have a discussion on this topic.


Other task view changes

Relates to PR https://github.com/DFE-Digital/claim-additional-payments-for-teaching/pull/994
Make the new "task list" view of a claim the primary screen for working with claims.
Claims with personal data removed now indicate those fields with "Removed" as we do on the "Full claim view" within the task view page.

Warning banners for matching claims and missing payroll gender have now been removed from the "Full claim view"
Before:

After:

 Make the new "task list" view of a claim the primary screen for working with claims


how to  create a BucketingModule in c++

we can create a predictor to forward in c++ like this:
// Create Predictor
MXPredCreate((const char*)json_data.GetBuffer(),
(const char*)param_data.GetBuffer(),
static_cast<size_t>(param_data.GetLength()),
dev_type,
dev_id,
num_input_nodes,
input_keys,
input_shape_indptr,
input_shape_data,
&pred_hnd);
How can I create a BucketingModule in c++ just like realizing the model in python
model = mx.mod.BucketingModule(sym_gen             = sym_gen,
default_bucket_key  = data_val.default_bucket_key,
context             = contexts)
any one knows about it ?

This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!


can not serialized dapper query result set

using (IDbConnection conn2 = new SqlConnection(ConnectionString))  {      List<dynamic> users = conn2.Query("SELECT UserCode,UserName FROM view_Sys_User_Filter").AsList();       return users;  }
i have two project using dapper for above same code ，one  can serialized succeed, but another serialized failed  .
what reason might caused this result?

I see you're using a list of dynamic objects. Make sure you're using the SerializeDynamic method instead of the Serialize method.

@Wazner yes，i'm sure used SerializeDynamic，and thank you

Even I have the same problem. Did anyone find the solution?

@zdhuka NO


PJFCB-2689 CVE-2022-1278 WildFly 21 - Don't export traces by default

[WFLY-16238] Don't export traces by default
Fix based on https://github.com/wildfly/wildfly/pull/16082

Will not be needed an suppression for this CVE due to manual fix?


Go client api on pack cli for riff cli consumption

GIVEN I am a developer creating a CLI that will leverage Cloud  Native Buildpacks
WHEN I integrate with the pack build command
THEN I will use the Go Client API to include that functionality in my CLI

@scothis we have just shipped the change we forecasted above. From master you should now be able to use
pack.Build(appDir, detectImage, repoName string, publish bool) error

I don't think I clarified publish last time. publish controls whether or not images are read/written to the local daemon or a registry (publish=true meaning registry)


Only react to keydown in role=listbox when it actually is a dropdown

Hello,
I have noticed that Bootstrap will initialize a Bootstrap widget whenever it sees an element with role=listbox but this has some side effects when you're working with other libraries, such as Kendo UI. As such, when bootstrap.js is included in a project which also uses Kendo UI and when one initializes a KendoDropDownList that element will respond to events defined in both frameworks and that can have some adverse effects.
Shouldn't Bootstrap also check whether the element's class list contains one of Bootstrap's classes?
Thought of filing this issue for Kendo but upon further thought, role=listbox might affect other libraries out there, so decided to file it here.
There are a couple of different solutions to this and as soon as I get some feedback I could make a PR to implement the change(s).
Thank you!

Punting given backward compatibility concerns and age of PR.

Does "Punting" mean you will never fix it, because it is just old?  Could you please clarify why this was just closed?  Thanks!

Age and punting means usually that won't be in V3 but if the issue still occurs and is causing problems in V4 it will be able to be revisited with a new issue. Mdo may have meant something slightly different, but that's my understanding.

If I can even find where we hit this with a project, I will try to repro it one day if that project is upgraded to V4 in the future.  I will point out that this was a confirmed bug by multiple individuals though, so it would have been nice if the milestone were just changed to V4 instead...it's your project though.  Thanks...

Version 3.3.5 healed a related or this issue for me - I used 3.3.4 before that. Before that version, Kendo UI's DropDownList closed and opened on every arrow key stroke (up/down).


Feature requests: Set default download options | Multi check-box download | History

Hello!
First off thank you for making this program, and have it freely available. Its proven to be a great tool to have in my archiving arsenal!
I am a datahoarder in the process of archiving certain channels and continually updating that archive with new VODs. In that process I've noticed a few quality-of-life features that would be very helpful, hopefully not just for my usage:

The ability to set default download options(Checkbox in options, or at the bottom on Search screen?), so that when you hit "Download" in search screen, it immediately goes to queue with those default options. As opposed to current action which is when you hit "Download" in search screen, it goes to "Download video" where you have to hit "Download" again.

Either a "Download all"(In conjunction with the third suggestion, so previous downloads are skipped), or an extra check-box to select multiple clips/VODs for download.

TwitchLeecher remembering what has been downloaded in the past, and clearly showing this on the search screen(Tinted/slightly grayed out, or a green check-mark next to the download button are my suggestions). It can become difficult to keep track of things when there's hundreds of highlights or 50+ VODs.

Thanks for your time!
Rudolpher

All this has been requested pretty much from the beginning. It's on my private list of features. Problem is I need #46 first, otherwise it would be a pain in the butt to implement. I close this one since I have enough reminders laying around myself 😄

Apologizes, I checked but obviously did a bad job at it.


No reads processed/No Output

I've run Breakmer on the example data without any issues. I'm now trying to run it on a few of my own samples and am not getting any output.
The samples do run to completion but there is no output at the end. I think I may have identified where the problem is at but am not sure as to the cause. Looking in the data folder for each targeted gene, I get some files that appear to have processed fine containing data, and some that are empty.
For example, for ALK I get the following files in targets/ALK/data/, each 1M in size:

ALK_sv_reads.bam
ALK_sv_reads.sorted.bam
ALK_sv_reads.sorted.bam.bai
ALK_sv_sc_seqs.fa

Meanwhile the following files are empty with 0M:

ALK_sv_reads_cleaned.fastq
ALK_sv_reads_cleaned_filtered.fastq
ALK_sv_reads.fastq

Since the same thing happens with each targeted gene, I'm assuming that the issue is not specific to a single gene but to the entire sample or, more likely, my configuration.
Looking at the logs it seems that the issue is might be popping up either while 'cleaning reads' or 'writing clean reads'.
Any thoughts on what might be causing this?
Thanks in advance.

Hi Brice,
I apologize for the issues you are having in using this. Can you specify what kind of sequence data you have and how it was aligned to the reference?
Ryan

Thanks for the quick response Ryan.
These are tumor tissue samples sequenced with an Illumina Nextseq and aligned using BWA against hg19.
Brice

Hi Brice,
Could you grab a set of reads from one of the regions of interest and save
in a bam file to help me diagnose?
Best,
Ryan
On Fri, Mar 4, 2016 at 4:07 PM, Brice Colbert<EMAIL_ADDRESS>wrote:

Thanks for the quick response Ryan.
These are tumor tissue samples sequenced with an Illumina Nextseq and
aligned using BWA against hg19.
Brice
—
Reply to this email directly or view it on GitHub
https://github.com/ccgd-profile/BreaKmer/issues/18#issuecomment-192466923
.

Hi again Ryan,
Yes I can put together a bam file for you to see if you experience the same issues. Where should I send it?
Best,
Brice

You can send it to<EMAIL_ADDRESS>thanks Brice.
Ryan
On Thu, Mar 10, 2016 at 8:45 PM, Brice Colbert<EMAIL_ADDRESS>wrote:

Hi again Ryan,
Yes I can put together a bam file for you to see if you experience the
same issues. Where should I send it?
Best,
Brice
—
Reply to this email directly or view it on GitHub
https://github.com/ccgd-profile/BreaKmer/issues/18#issuecomment-195137894
.

It turns out that the issue was resolved by updating to a newer version of BreaKmer. I had been running the master branch previously, but switching to a newer release version (a separate branch in this repo) fixed this issue for me.
Thanks for the help Ryan.


In 0.5+, call arguments to a save method broke.

I get the following traceback with MongoEngine 0.5.1 (or 0.5.2) installed, but don't get it with 0.5 installed, regardless of the version of pymongo (tested to pymongo<2.0 and against latest on pypi):
Traceback (most recent call last):
  File "template.py", line 47, in <module>
    settings.save() ; settings.attach(root)
  File "/Users/amcgregor/.../model/__init__.py", line 163, in attach
    self.save()
  File "/Users/amcgregor/.../model/__init__.py", line 224, in save
    return super(Asset, self).save(safe=safe, force_insert=force_insert, validate=validate)
  File "/Users/amcgregor/Projects/sample/lib/python2.7/site-packages/mongoengine/document.py", line 177, in save
    _refs=_refs)
TypeError: save() got an unexpected keyword argument 'write_options'

This appears to be a regression in the handling of reference fields.

@amcgregor - apologies for the delay - will chase up

Hi @amcgregor
I can't see anything that would break save:
https://github.com/hmarr/mongoengine/compare/v0.5...v0.5.1
https://github.com/hmarr/mongoengine/compare/v0.5.1...v0.5.2
I think write options were added in 0.5
Ross

So instead of investigating, the ticket gets closed.  Here is a somewhat minimal demonstration of the crash.  Works in 0.4 (with latest pymongo) and doesn't work in 0.5 or above.

Hi @amcgregor,
In v0.5 an option was added to the save method (write_options) which your subclass of Document does not permit. If you update the signature (default params) it will work again. In general it's safer to use *args, **kwargs when subclassing.

@mjtamlyn
Now I get an infinite loop:
Traceback (most recent call last):
  File "test.py", line 133, in <module>
    company.save(); company.attach(root)
  File "test.py", line 63, in attach
    parent.save()
  File "test.py", line 80, in save
    return super(Asset, self).save(**kw)
  File "/Users/amcgregor/Projects/crash-test/lib/python2.7/site-packages/mongoengine/document.py", line 144, in save
    self.validate()
  File "/Users/amcgregor/Projects/crash-test/lib/python2.7/site-packages/mongoengine/base.py", line 618, in validate
    for name, field in self._fields.items()]
  File "/Users/amcgregor/Projects/crash-test/lib/python2.7/site-packages/mongoengine/base.py", line 179, in __get__
    instance._data.get(self.name), max_depth=1, instance=instance, name=self.name, get=True
  File "/Users/amcgregor/Projects/crash-test/lib/python2.7/site-packages/mongoengine/dereference.py", line 46, in __call__
    self.reference_map = self._find_references(items)
  File "/Users/amcgregor/Projects/crash-test/lib/python2.7/site-packages/mongoengine/dereference.py", line 78, in _find_references
    references = self._find_references(v, depth)
 …
  File "/Users/amcgregor/Projects/crash-test/lib/python2.7/site-packages/mongoengine/dereference.py", line 78, in _find_references
    references = self._find_references(v, depth)
  File "/Users/amcgregor/Projects/crash-test/lib/python2.7/site-packages/mongoengine/dereference.py", line 74, in _find_references
    elif isinstance(v, (dict, pymongo.son.SON)) and '_ref' in v:
RuntimeError: maximum recursion depth exceeded while calling a Python object

Updated the gist with the updated code.

Hmmm, definitely some sort of issue here. The problem stems from your circular referencing (parent references child references parent etc). I don't know a huge amount about how that works I'm afraid. There was a fix in v0.5.2 which related to circular references, it was using an EmbeddedDocument to do them - perhaps this is the recommended use?
This test case may give you some inspiration. https://github.com/hmarr/mongoengine/compare/v0.5...v0.5.2#diff-7

Could this ticket be re-opened, then?  There is clearly a regression.  This used to work.  Right now I'm having to bind the maximum installed version of MongoEngine to 0.4.  Circular references are somewhat integral in how my objects store their graph.

I would suggest submitting a new bug, complete with a minimal-breaking test case. It's not really related to the original problem.

hi @amcgregor - to be fair I did investigate as you said the regression was from 0.5 to 0.5.1 and I stated that write_options were introduced in in 0.5 - apologies for missing it off the upgrade document. (http://mongoengine.org/docs/v0.5/upgrade.html?highlight=upgrade)

@amcgregor I've added #373 for the max recursion - thanks for the test case - its a good catch!

This should now be fixed in the dev branch and hopefully is the last dereferencing regression caused by 0.5


Fetch account's sequence number from Stellar ledger

This is part of Epic #12
Context
Every transaction should contain the next account's sequence number. This is a process that requires fetching the Stellar ledger in order to obtain the current value.
Objective

To implement the functions to fetch the sequence number from Stellar's ledger.

Closing this in favor of #84


fix: fix update tag workflow

Description
Fix the workflow that moves the floating tag to a latest release.

#145  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @dhaus67 and the rest of your teammates on  Graphite


Add some padding to the table on the list of Mentors and style buttons for consistency

Feature
Why is this feature being added?
For a better visual experience. For now, I think we can get away with just adding some left/right padding but we probably should move towards a grid system for this type of stuff.
For the buttons, the colors are not the same shade of grey. I think we can make these buttons smaller and go for a more primary color that's consistent with our overall theme.

A design problem.
What should your feature do?
This should should just add some padding to the table and also style the buttons.

Screenshots

Add some padding to the left and right of the table.

These buttons are not the same color and also maybe too large and wide for users with large displays. Placing them closer together and making them smaller would be ideal.

The pagination buttons should be of the same color as our login button.

@lebilly on it

I've assigned myself to this issue as a placeholder for you @pasierb

We can probably close this out, the Mentors table can be removed altogether IMO - see #658


Can't connect to the device, retrying in 20.0 seconds

Is there an existing issue for this?

[X] I have searched the existing issues

I'm having the following issue:
I'm able to establish serial connection and retrieve values from Ecomax using a python file I created for testing purposes but in Home Assistant I get the a
"Can't connect to the device, retrying in 20.0 seconds" error every time I try to configure the Plum EcoMAX integration. Is there any way to fix this or at least provide guidance on how to troubleshoot the issue?

My Python code that is working and print the heating_temp value from EcoMAX "
`import asyncio
import pyplumio
import logging
_LOGGER = logging.getLogger(name)
async def main():
async with pyplumio.open_serial_connection("/dev/ttyUSB0", baudrate=115200) as connection:
# You can also use optional timeout parameter of get method.
try:
ecomax = await connection.get("ecomax", timeout=30)
print ("Temperatura apa")
print(await ecomax.get("heating_temp"))
except asyncio.TimeoutError:
_LOGGER.error("Failed to get device within 10 seconds")
asyncio.run(main())`
My environment is:
- OS: Raspbian GNU/Linux 11 (bullseye)"
- Python: 3.10

I have following devices connected:

[ ] ecoMAX 3xx series
[X] ecoMAX 8xx series
[ ] ecoMAX 9xx series
[ ] Expansion module B
[ ] Expansion module C
[ ] ecoSTER 200/ecoSTER Touch
[ ] ecoLAMBDA
[ ] ecoNET 300

I'm connecting to my devices using:
USB to RS-485 adapter
I'm seeing following log messages:
Logger: pyplumio.connection
Source: .local/lib/python3.10/site-packages/pyplumio/connection.py:97
First occurred: 14:23:29 (4 occurrences)
Last logged: 14:24:29
Can't connect to the device, retrying in 20.0 seconds

Code of Conduct

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

Moved the issue to the integration repo, since the issue is happening with the integration.

Thank you very much for the heads up! I'm glad that you've got it working!👍 I'll add this information to the readme just in case.


[Feature Request] Changing type of element

Hi,
I think it would be useful to be able to change the type of an element on the diagram. Inserting a new type and deleting the old one is not difficult, but it is difficult to restore all links on a specific view and arrange them in the same order.
For example, I Like to change type Business Role with Stakeholder:

The problem is that a different element can have different relationship rules. Some existing relationships may become invalid with a new element type.

We've had similar discussion in the past. Having some need for it too and having taken the time to think about it I would suggest the following behavior:

A user asks to change the type of an element
A dialog allows user to choose the new type and what should happen to relationships between:

keep allowed relationship as they are (but warn that this could leave to different meaning) and convert disallowed relationships to association, or
convert all relationships to associations

Conversion is done and (if needed can be undone)

It should also be possible to change the type of a relationship which should be easier to manage as either the new type is allowed or not (note that relationship to/from junctions should be check slightly differently).

@Phillipus Yes I see.
@jbsarrodie I wanted to suggest same decision like your first - to change only the disallowed relationship to association.
To be able to change the type of relationship is going on my expectations.
:-)

I wanted to suggest same decision like your first - to change only the disallowed relationship to association.

I think most users want the same without understanding the real impact on meaning.
Let's take an example...
If we have this:

...and a user wants to replace the Application Service by an Application Function, if we keep allowed relationship, this we lead to:

But this is absolutly not the same meaning. Here the realization is a derived relationship that stands for something like:

While the indended "convertion" should be:

That's something that is not easy to understand by beginners (and unfortunately by lot's of people). So if  some relationships that are not on the view but exist in the model have their meaning impacted, I guess that model will soon been screwed.

Well ... well ... these are already nuances that are not yet available to me. I certainly try to establish a relationship appropriate to the name of the situation, but in fact I do not do it very carefully. Sometimes I want to establish a relationship of one type, logically it seems to me right, but Archi gives me only an association and I'm surprised.

Sometimes I want to establish a relationship of one type, logically it seems to me right

That's the whole point that few people get (at least at the begining): relationships have no real meaning by themselves. In other modelling language they act like a verb to express behavior between two elements, but in ArchiMate the verbs are the behavioral elements themselves (function/process), no the relationships!
If this is unclear to you, this means that it is time for you to read the best book about ArchiMate: "Mastering ArchiMate" by Gerben Wierda.

I would also find this very useful. Especially because people don't understand relations and element types all that well, changing is something that happens with renewed insight about how archi models things, and with added completeness of the modelling.
I also see this as being useful for changing relations. While they are less work to replace, they still  can have several properties that can be kept. Also swapping the direction would be a useful thing.

Hey Folks,
I would find this useful from potentially a different perspective.
As a systems architect learning Archi, Archimate and TOGAF through real application.
I want a modeling system that is flexible enough to handle my many fals starts or model revisions by allowing me to re-cast (aka change) object types
So that I don't loose all the great content and attributes assigned to the original object.
NB:

The one concession I would make is that for a first iteration I don't mind if all relationships are blown away.
A second iteration could popup a dialogue to allow you to export ONLY the old object and its relationships so I can have a reference for re-building relationships.
Alternatively I would like to make a copy of an object, re-cast it is a new object type with relationships removed. This way I maintain the content, and can then rebuild appropriate relationships of the the new object and set an attribute in the old object where "status"=depricated. This would further allow me to maintain old relationships knowing they will need to be re-mapped.

For me the key thing is to be be able to change object types, what ever else causes barriers to making that happen can be de-scoped for now.
Just another perspective.
Resource:
I believe that Sparx EA has this function. I seem to recall they employe a TYPE / SUB-Type architecture. Can this concept help.?

This is now possible through jArchi, the new script plugin.
A potential implementation would use .isAllowedRelationship to check if relationships are still valid, and then .type to change relationships and element type.
I don't have created such script yet. If you write it by ourself, I would suggest to share it.
Closing this issue (but will happily update it when someone will contributed such script).

Hi,
As someone just getting to grips with the Archimate language, I really miss this feature. Trying to build a model for an existing architecture, I'm forced to revisit decision about the types of elements I use to model things all the time. Having to manually transfer name, documentation, properties and relationships in those situations becomes really tedious.
Right now I'm just manually updating the xml file and restarting Archi to get around this. This works well but is far from convenient. Highlighting because it may be a temporary solution to others as well.
Don't get me wrong, I fully appreciate the complexities where certain relationships may no longer apply or have a different meaning. But I feel a warning about meaning and casting to simple association where no longer applicable would be preferable over not having this functionality at all.
Just my two cents. I hope you'll consider reopening.

Hi,
As described previously, this is supported through jArchi, and as such will not be implemented in Archi itself.
As the script might not be trivial if we want it to take several edge cases into account, I'll soon share mine.

I know, but I decided to comment anyway because:

jArchi is not publicly available at this point.
Having to load and run a custom script to change an element type sounds very inconvenient, especially for beginners that need this functionality most.

Just my opinion. I'm guessing now that this won't be reopened.

jArchi is not publicly available at this point.

Yes it is. https://github.com/archimatetool/archi-scripting-plugin
The compiled version build with added examples is given to donaters as a thank-you.

sounds very inconvenient,

Not as inconvenient as the several days work that I would personally have to devote to implement this feature. Even though Archi is apparently "open source" we can translate every feature request into concrete reality - "When will Phil devote several days of his life (for free) to implement this feature that our company needs right now?" Multiply that by all the feature requests here. ;-)

jArchi is publicily available and opensource, but people have to complie it themselve first (really easy) or donate at least 1$ to get a precompiled version. I don't think this is a big deal for anyone.
Running a script can be done through a contextual menu. Mine have multilevels menu : Script > Change type > layer_name > concept_type
I see no need to develop this again in Archi and duplicate code.
But, hey, Archi is opensource so you can work on it and send a pull request ;-)

I don't think this is a big deal for anyone.

It turns out that even paying $1 is way too much for some who sign up to Patreon, get the plugin and then leave Patreon the next day...

Having had my moan now, and having said that... ;-)
Because of the way that the data model is written each element is backed by a Java class that has to be replaced with another one and all connections and views updated. It's a bit complicated, expecially with each action having to be put on the Undo Stack. In hindsight I would have done it differently - one element class with a "type" attribute, but maybe that would be in a completely revised version of Archi.
The jArchi implementation of this is also complicated. See https://github.com/archimatetool/archi-scripting-plugin/blob/master/com.archimatetool.script/src/com/archimatetool/script/dom/model/ArchimateElementProxy.java
Translating that into native Java for Archi would take a while. It's a case of finding several days to do it.
BTW @stefankroes thanks for signing up to Patreon!

As I said; just my opinion to with as you please. If it helps any:

Even though I'm still evaluating the tool, I just signed up with Patreon.
I do know about the thankless reality of open source development: https://github.com/stefankroes/ancestry

Have a great day!

@stefankroes Cheers.
Wasn't really aimed at you personally. I have to moan sometimes. ;-)


Lens does not display UI on Mac

After installing 5.4.6 or 6.0.0 Lens does not open the UI.
I had Lens 4.x working on Mac BigSur 11.6.4.
Uninstalled it, installed 5.4.6 or 6.0.0, but both behave the same way. That is, when launched, the icon bounces in the task bar for a while, stops and nothing happens. The process is left running.
It does not create any files under /Library/Logs/Lens nor /Library/Application Support/Lens
No errors anywhere.
I have removed the kubeconfig file to clear that concern. Not really sure what is expected on the kubectl part.
I have restarted before and after installation also.
Any ideas where I can get more info on what is going on?
I thought it could be a permission issue, because it does not even create the expected directories.
Environment (please complete the following information):

Lens Version: 5.4.6 or 6.0.0
OS: [e.g. OSX] BigSur 11.6.4
Installation method (e.g. snap or AppImage in Linux): dmg

If you installed it normally you should be able to run it from the command line. What happens if you run /Applications/Lens.app/Contents/MacOS/Lens in the terminal?

I installed it normally. Using the dmg.
When executed from command line the same thing happens. Only difference is that the process has no icon in Activity Monitor.

No logs?


Add a vertical fill gradient

Useful in some cases:

https://stackoverflow.com/questions/58525699/how-can-i-add-a-vertical-colour-gradient-to-a-ridgeplot-in-ggridges

https://stackoverflow.com/questions/27250542/how-to-make-gradient-color-filled-timeseries-plot-in-r


Feature/kanban cop

Work from Workgroup - Kanban CoP:

fixed formatting
introduced constants to simplify configuration for different boards/board changes
set MetricsType on Conceptboard is now case insensitive
logic not changed
changed line 7 -> @match to igus conceptboard

Changes to readme needed to explain usage/installation for this script


Running in cordova - label not defined. - Samsung S6

Running in cordova I got the following error -
webvr-manager.js:633 Detected Android: GalaxyS6
webvr-manager.js:1563 Uncaught TypeError: Cannot read property 'label' of undefined

Why closed? What's the exact line? What version of boilerplate?

Its to do with the localstorage not working as Im running in chromium that uses its own localstorage..
Fix this one - https://github.com/borismus/webvr-boilerplate/issues/94
and it will fix the label. :)
I've just hard coded line 1263: this.selectedKey =  DEFAULT_VIEWER;
At the moment.
when this.selectedKey === null then the label not defined will be displayed.
Thanks
J.


500 Error Immediately After Install

Gogs version (or commit ref): <IP_ADDRESS>7
Git version: 2.10.1
Operating system: macOS Sierra (v10.12.3)
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gogs.io:

[ ] Yes (provide example URL)
[x] No
[ ] Not relevant

Log gist (usually found in log/gogs.log):

2017/03/08 21:57:34 [TRACE] Log Mode: File (Trace)
2017/03/08 21:57:34 [ INFO] Gogs <IP_ADDRESS>7
2017/03/08 21:57:34 [ INFO] Cache Service Enabled
2017/03/08 21:57:34 [ INFO] Session Service Enabled
2017/03/08 21:57:34 [ INFO] Git Version: 2.11.1
2017/03/08 21:57:34 [ INFO] Git config user.email set to<EMAIL_ADDRESS>2017/03/08 21:57:34 [ INFO] Git config user.name set to Gogs
2017/03/08 21:57:34 [ INFO] SQLite3 Supported
2017/03/08 21:57:34 [ INFO] Run Mode: Production
2017/03/08 21:57:34 [ INFO] First-time run install finished!
2017/03/08 21:57:34 [TRACE] Doing: CheckRepoStats
2017/03/08 21:57:34 [TRACE] Session ID: 3e11d604a3d860b3
2017/03/08 21:57:34 [TRACE] CSRF Token: bP0frxjAIwTKVLsAk6HKuXlFkuU6MTQ4OTAxMDIzNDg1MzY4MzgyMw==
2017/03/08 21:57:34 [TRACE] Template: user/auth/signin
2017/03/08 21:57:37 [TRACE] Session ID: 3e11d604a3d860b3
2017/03/08 21:57:37 [TRACE] CSRF Token: bP0frxjAIwTKVLsAk6HKuXlFkuU6MTQ4OTAxMDIzNDg1MzY4MzgyMw==
2017/03/08 21:57:37 [TRACE] Template: user/auth/signup
2017/03/08 21:57:54 [TRACE] Session ID: 3e11d604a3d860b3
2017/03/08 21:57:54 [TRACE] CSRF Token: bP0frxjAIwTKVLsAk6HKuXlFkuU6MTQ4OTAxMDIzNDg1MzY4MzgyMw==
2017/03/08 21:57:54 [TRACE] Account created: Nickersoft
2017/03/08 21:57:54 [TRACE] Session ID: 3e11d604a3d860b3
2017/03/08 21:57:54 [TRACE] CSRF Token: bP0frxjAIwTKVLsAk6HKuXlFkuU6MTQ4OTAxMDIzNDg1MzY4MzgyMw==
2017/03/08 21:57:54 [TRACE] Template: user/auth/signin
2017/03/08 21:58:03 [TRACE] Session ID: 3e11d604a3d860b3
2017/03/08 21:58:03 [TRACE] CSRF Token: bP0frxjAIwTKVLsAk6HKuXlFkuU6MTQ4OTAxMDIzNDg1MzY4MzgyMw==
2017/03/08 21:58:03 [TRACE] Session ID: 3e11d604a3d860b3
2017/03/08 21:58:03 [TRACE] CSRF Token: K1T-4KiQ0AKo0z5UjcTT7eA9Tuo6MTQ4OTAxMDI4MzQwNzQzODA5OQ==
2017/03/08 21:58:03 [ERROR] [...s/context/context.go:98 Handle()] GetOrganizations: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1
2017/03/08 21:58:03 [TRACE] Template: status/500
2017/03/08 21:58:05 [TRACE] Session ID: 3e11d604a3d860b3
2017/03/08 21:58:05 [TRACE] CSRF Token: K1T-4KiQ0AKo0z5UjcTT7eA9Tuo6MTQ4OTAxMDI4MzQwNzQzODA5OQ==
2017/03/08 21:58:05 [ERROR] [...s/context/context.go:98 Handle()] GetOrganizations: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1
2017/03/08 21:58:05 [TRACE] Template: status/500
2017/03/08 22:04:03 [TRACE] Session ID: 3e11d604a3d860b3
2017/03/08 22:04:03 [TRACE] CSRF Token: K1T-4KiQ0AKo0z5UjcTT7eA9Tuo6MTQ4OTAxMDI4MzQwNzQzODA5OQ==
2017/03/08 22:04:03 [ERROR] [...s/context/context.go:98 Handle()] GetOrganizations: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1
2017/03/08 22:04:03 [TRACE] Template: status/500
2017/03/08 22:04:04 [TRACE] Session ID: 3e11d604a3d860b3
2017/03/08 22:04:04 [TRACE] CSRF Token: K1T-4KiQ0AKo0z5UjcTT7eA9Tuo6MTQ4OTAxMDI4MzQwNzQzODA5OQ==
2017/03/08 22:04:04 [ERROR] [...s/context/context.go:98 Handle()] GetOrganizations: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1
2017/03/08 22:04:04 [TRACE] Template: status/500
2017/03/08 22:04:05 [TRACE] Session ID: 3e11d604a3d860b3
2017/03/08 22:04:05 [TRACE] CSRF Token: K1T-4KiQ0AKo0z5UjcTT7eA9Tuo6MTQ4OTAxMDI4MzQwNzQzODA5OQ==
2017/03/08 22:04:05 [ERROR] [...s/context/context.go:98 Handle()] GetOrganizations: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1
2017/03/08 22:04:05 [TRACE] Template: status/500
2017/03/08 22:04:05 [TRACE] Session ID: 3e11d604a3d860b3
2017/03/08 22:04:05 [TRACE] CSRF Token: K1T-4KiQ0AKo0z5UjcTT7eA9Tuo6MTQ4OTAxMDI4MzQwNzQzODA5OQ==
2017/03/08 22:04:05 [TRACE] Template: explore/repos
2017/03/08 22:04:07 [TRACE] Session ID: 3e11d604a3d860b3
2017/03/08 22:04:07 [TRACE] CSRF Token: K1T-4KiQ0AKo0z5UjcTT7eA9Tuo6MTQ4OTAxMDI4MzQwNzQzODA5OQ==
2017/03/08 22:04:07 [ERROR] [...s/context/context.go:98 Handle()] GetOrganizations: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1
2017/03/08 22:04:07 [TRACE] Template: status/500
2017/03/08 22:04:09 [TRACE] Session ID: 3e11d604a3d860b3
2017/03/08 22:04:09 [TRACE] CSRF Token: K1T-4KiQ0AKo0z5UjcTT7eA9Tuo6MTQ4OTAxMDI4MzQwNzQzODA5OQ==
2017/03/08 22:04:09 [ERROR] [...s/context/context.go:98 Handle()] GetOrganizations: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1
2017/03/08 22:04:09 [TRACE] Template: status/500
2017/03/08 22:04:10 [TRACE] Session ID: 3e11d604a3d860b3
2017/03/08 22:04:10 [TRACE] CSRF Token: K1T-4KiQ0AKo0z5UjcTT7eA9Tuo6MTQ4OTAxMDI4MzQwNzQzODA5OQ==
2017/03/08 22:04:10 [ERROR] [...s/context/context.go:98 Handle()] GetOrganizations: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1
2017/03/08 22:04:10 [TRACE] Template: status/500
2017/03/08 22:04:11 [TRACE] Session ID: 3e11d604a3d860b3
2017/03/08 22:04:11 [TRACE] CSRF Token: K1T-4KiQ0AKo0z5UjcTT7eA9Tuo6MTQ4OTAxMDI4MzQwNzQzODA5OQ==
2017/03/08 22:04:11 [ERROR] [...s/context/context.go:98 Handle()] GetOrganizations: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1
2017/03/08 22:04:11 [TRACE] Template: status/500

Description
Immediately after setting up Gogs with Docker Compose (using MariaDB in a linked container) and creating a new account I am greeted with a 500 error on the "Dashboard", "Issues", and "Pull Requests" page. I switched to MariaDB after getting this same error using straight MySQL before. The error is as follows:
"An error has occurred : Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1"
I saw other issues on here for a similar problem but none seemed to fit this situation. Looking at the gogs.log it seems to be thrown on a specific line (above). Some additional info:
My xorm.log:
[xorm] [warn]  2017/03/08 21:57:34.448080 Table repository Column enable_wiki db default is 1, struct default is true
[xorm] [warn]  2017/03/08 21:57:34.448550 Table repository Column enable_issues db default is 1, struct default is true
[xorm] [warn]  2017/03/08 21:57:34.448905 Table repository Column enable_pulls db default is 1, struct default is true
[xorm] [warn]  2017/03/08 21:57:34.449309 Table repository Column is_fork db default is 0, struct default is false
[xorm] [warn]  2017/03/08 21:57:34.449917 Table action Column is_private db default is 0, struct default is false
[xorm] [warn]  2017/03/08 21:57:34.450690 Table mirror Column enable_prune db default is 1, struct default is true
[xorm] [warn]  2017/03/08 21:57:34.451070 Table release Column is_draft db default is 0, struct default is false
[xorm] [warn]  2017/03/08 21:57:34.451486 Table login_source Column is_actived db default is 0, struct default is false

And lastly my compose file:
version: '2'
services:
  gogs:
    image: gogs/gogs
    depends_on:
      - gogs-db
    volumes:
      - /Users/tjnickerson/gogs:/data
    ports:
      - "8036:3000"
      - 22
    links:
      - "gogs-db:db"
    restart: always
  gogs-db:
    image: mariadb
    volumes:
      - /Users/tjnickerson/gogs-db/data:/var/lib/mysql
      - /Users/tjnickerson/gogs-db/log:/var/log
    environment:
      - MYSQL_ROOT_PASSWORD=password
      - MYSQL_DATABASE=gogs
      - MYSQL_USER=gogs
      - MYSQL_PASSWORD=gogs
    restart: always

Any idea as to what might be causing this? I even tried re-pulling the docker file in case a bug was fixed in the past 24 hours but nothing changed.

Hi, what if you change to to use MySQL?

@Unknwon The same error occurs, except instead of it saying "MariaDB" in the error message it says "MySQL". I was getting this error before with MySQL but switched to MariaDB because I thought maybe it was a version incompatibility issue with MySQL. Same error using both databases.

I suspect this could be a bug from XORM, let me investigate.

@Unknwon Okay, thanks so much

OK, it's not a XORM bug, it's a Gogs bug, working on it!

New Docker image should be ready in 10mins, will notify here when it's done.

OK, :latest tag be pulled now!

Perfect! Works fine now :)


Intro docs missing a number of active projects

The last few lines of the file contain other projects, but it is missing a few.

+1. I think we should add an "Ecosystem" section with a diagram of the BDG projects, tagged by their "readiness".

Should we use a separate awesome list for this?
https://github.com/awesome-spark/awesome-spark#bioinformatics
https://github.com/sindresorhus/awesome
Or perhaps create one in addition to what is in the docs.  It'd be nice for it to be more community-driven.

Resolved by #1653.


[ BUG ] Cannot set property IndexTagNames of # which has only a getter

Hello 👋,
Describe the bug
On node v20.6.0, when I import it as a ES6 modules, I get an error at the import.
Expected behavior
It use to work (last working version is node v20.5.1) so I except that sitemap can be imported from a ES6 module without import problem. I may be wrong.
Context:

sitemap-7.1.1
node v20.6.0

Full description
I import the sitemap in node from a ES6 module like this:
import { SitemapStream, streamToPromise } from 'sitemap'
import { Readable } from 'stream'

// An array with your links
const links = [{ url: '/page-1/',  changefreq: 'daily', priority: 0.3  }]

// Create a stream to write to
const stream = new SitemapStream( { hostname: 'https://...' } )

// Return a promise that resolves with your XML string
Promise.all([streamToPromise(Readable.from(links).pipe(stream)).then((data) =>
  console.log(data.toString())
)]);

Saved into a file.mjs then executed with node file.mjs.
It used to work on node v20.5.1 but with node v20.6.0 I got this error:
/home/ache/git/ache.one/node_modules/sitemap/dist/index.js:13
exports.simpleSitemapAndIndex = exports.IndexObjectStreamToJSON = exports.XMLToSitemapIndexStream = exports.parseSitemapIndex = exports.ObjectStreamToJSON = exports.XMLToSitemapItemStream = exports.parseSitemap = exports.xmlLint = exports.ReadlineStream = exports.normalizeURL = exports.validateSMIOptions = exports.mergeStreams = exports.lineSeparatedURLsToSitemapOptions = exports.SitemapStream = exports.streamToPromise = exports.SitemapAndIndexStream = exports.SitemapIndexStream = exports.IndexTagNames = void 0;
                                                                                ^

TypeError: Cannot set property IndexTagNames of #<Object> which has only a getter
    at Object.<anonymous> (/home/ache/git/ache.one/node_modules/sitemap/dist/index.js:13:509)
    at Module._compile (node:internal/modules/cjs/loader:1241:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
    at Module.load (node:internal/modules/cjs/loader:1091:32)
    at Module._load (node:internal/modules/cjs/loader:938:12)
    at Module.require (node:internal/modules/cjs/loader:1115:19)
    at require (node:internal/modules/helpers:130:18)
    at Object.<anonymous> (/home/ache/git/ache.one/node_modules/sitemap/dist/lib/sitemap-simple.js:4:17)
    at Module._compile (node:internal/modules/cjs/loader:1241:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)

Node.js v20.6.0

Thank you.

Same error after updating to node 20.6

Same error here. Going to downgrade Node due to this.


Gulp, JSHint, and JSCS

This pull request includes Gulp and enforces Bandwidth's style guidelines for JavaScript using JSHint and JSCS. This PR will resolve https://github.com/bandwidthcom/node-bandwidth/issues/18
I changed a few of the style and hint rules as detailed here:

Removed disallowQuotedKeysInObjects

This is required by this specific project for setting some field names that are not valid JavaScript variable names, such as certain HTTP headers

Changed maximum argument count to 5
Removed rule to disallow ++

Because the code coverage threshold is set to 100% Gulp will fail the build until we increase test coverage.
For code review, the first commit in this PR contains all the important changes, including the gulpfile and style rules. The second commit simply updates all the code files to follow those rules.

This PR has been open for a week so I am going to merge it.


Update README.md

Just little changes of import and usage
converted last most items to render as list.
Thanks for ur hard work on get_storage

Thanks for that, LGTM


🐛 give the front proxy a distinct config for direct(internal) shard communication.

Summary
The front proxy needs a direct and privileged way of authNZ with any shard. At the same time it needs to be able to validate an incoming certificate from a shard.
This PR allows the above by introducing a kubeconfig that holds a client certificate and a CA certificate for validating incoming certs.
The new kubeconfig can be passed via shards-kubeconfig flag.
Previously an incorrect configuration was used for communication with shards. As a result the proxy didn't work in a multi shard environment.
Related issue(s)
required by https://github.com/kcp-dev/kcp/issues/342
fixes https://github.com/kcp-dev/kcp/issues/2274

/retest


Adds Env.whereis_pid

I had the requirement to use whereis_pid in my code.
However, until now, enif_whereis_pid was exposed by rustler_sys but not wrapped by rustler; there was no way to build a new LocalPid from the returned ErlNifPid (without transmuting).
This PR adds a safe wrapper around it.

[x] Implementation
[x] Documentation
[x] Tests

Please let me know what you think about the signature and the implementation.

Thanks! Can you fix the formatting job? Apart from that, this looks great! :)

My bad; it is fixed now!

Thank you! :heart


Travis Builds sometimes fail when downloading go library from go.opencensus.io

This happened twice in a row now:
go<EMAIL_ADDRESS>unrecognized import path "contrib.go.opencensus.io/exporter/ocagent" (https fetch: Get https://contrib.go.opencensus.io/exporter/ocagent?go-get=1: read tcp <IP_ADDRESS>:52632-><IP_ADDRESS>:443: read: connection reset by peer)

This issue is appearing almost every day, and blocks our build pipeline.
Today it happened with openshift-route-service:
go<EMAIL_ADDRESS>unrecognized import path "contrib.go.opencensus.io/exporter/ocagent" (https fetch: Get https://contrib.go.opencensus.io/exporter/ocagent?go-get=1: read tcp <IP_ADDRESS>:56480-><IP_ADDRESS>:443: read: connection reset by peer)

the dependency tree looks as follows:
# contrib.go.opencensus.io/exporter/ocagent
keptn/platform-support/openshift-route-service
github.com/keptn/go-utils/pkg/utils
github.com/Azure/go-autorest/autorest
github.com/Azure/go-autorest/tracing
contrib.go.opencensus.io/exporter/ocagent

go-autorest is used in go-utils only at this line:

import (
        ...

	// Initialize all known client auth plugins.
	_ "github.com/Azure/go-autorest/autorest"
	_ "k8s.io/client-go/plugin/pkg/client/auth"
	"k8s.io/client-go/rest"
	"k8s.io/client-go/tools/clientcmd"
)

This problem seems to have been a temporary issue. Closing it for now.


Publish fingerprints when changing repository signing keys

The OpenSUSE repository (Leap 42.1 anyway) got a new GPG key some time ago. In order for updates (including automatic updates) to be applied, I am required to manually trust the key first, as it is not signed by anyone else in the system's chain of trust.
However, I cannot seem to find a reference to what the expected key should be anywhere on the web.
Not cool, chaps. One would not want to be on the receiving end of a WordPress-class pwnage, would one?
So do us a favour and publish, somewhere where it can be half-trusted, such as https://owncloud.org/ or better, here in GitHub¹, the correct keys for the repos that you host, along with their fingerprints if possible.
I do note (after heavy Googling) that you have linked to this public key from here: https://owncloud.org/install/#edition. Unfortunately that is not the same as the key currently live on the OpenSUSE Leap 42.1 repo, so at the moment I am unable to check for updates to my installation, as I cannot verify the authenticity of the key.
¹ https://github.com/owncloud/owncloud.org/blob/master/assets/files/obs-release-signing.gpg published by @LukasReschke is waiting for #1079 but that has not been merged yet, so I cannot trust it.

Duplicate of https://github.com/owncloud/owncloud.org/issues/1076

@RealRancor : Not a duplicate mate. Haven't you read the footnote?

¹ https://github.com/owncloud/owncloud.org/blob/master/assets/files/obs-release-signing.gpg published by @LukasReschke is waiting for #1079 but that has not been merged yet, so I cannot trust it.

In other words, how do I know that you are still a bona fide contributor? I can also create a pull request with whatever keys I want, and it would be audacious—to say the least—for anyone to trust it until it goes into master.
Yet it looks like someone has put that key on the production server already, even though it hasn't been merged yet. That's a bit shoddy, security-wise. A better solution may be to push the keys to master first, and then on deploying master replace the repo keys at the same time (or maybe you can do some symlink magic for extra cred, though I haven't thought this through, alliteratively speaking).

Also, publishing the key fingerprint would probably make life easier to those who are happy just checking that, instead of importing the key manually. The former is a more straightforward workflow at least on OpenSUSE—on coming across an untrusted key, it presents its key ID and fingerprint and asks the user whether or not to trust and for how long.

Mate, you got me. Tried to P0wn your oC Installation with that :see_no_evil:

Beg pardon?

In other words, how do I know that you are still a bona fide contributor? I can also create a pull request with whatever keys I want, and it would be audacious—to say the least—for anyone to trust it until it goes into master.

Switched from @owncloud to @nextcloud so as not to jeopardise my organisation's ISO 27001 present and future compliance status.

@9662 Just to clarify: I'm just talking here for myself and from my experience. I'm not related to ownCloud and the community behind it.
Stuff like this just takes ages in the ownCloud world.

@jnweiger @crrodriguez


Inconsistent naming of "light" vs "lite"

There are inconsistencies between the use of "light" and "light" words when referring to a light client. For example, in near-jsonrpc-client-rs it uses "light". However, nearcore uses "lite" everywhere. It's better to use consistent naming to avoid confusion and accidental misuse.

Hi @sept-en, the use of "light" over "lite" in "lightclient" on the client side is to match the JSON RPC method names light_client_proof and next_light_client_block that the server expects.
At this point, revising those names would cause breaking changes for our API.


feat: take 4.12.2 runtime package

Fixes #6453

Coverage remained the same at 52.886% when pulling cac957af62c29b19235f1bc88c9ed6f736f436de on dong/SDK4.12.2 into 61da7727e6e56bb1cf62e2906b4b255ff28da25f on main.


Add a few things to make development easier

Summary:

Added .vscode/ and chromedriver to .gitignore
Added mintapi to path of test.py
Added unittest.main()
Added requirements file for developers

Thanks, looks good! Do you have any idea though why the requirements.txt is showing up as a binary file with no diff available in the diff section?

Ah, I did notice that but neglected to debug it. Looks like it's because it's in UTF-16 instead of UTF-8. I fixed it.

Thanks! It does seem like now there's some duplication between dependencies in setup.py vs requirements.txt, but overall seems like a win. If you've got any thoughts to reduce that let me know!

I agree that there's duplication that can be confusing. To be clear, I think putting the requirements.txt is mostly only helpful to developers because they want to be able to set up an environment to work on mintapi without installing the pypi version of mintapi as setup.py would.
I don't know best practices but two opinions are shown here.
The second post has some good points about how requirements.txt is for developers of the package and needs to be specific for what has been tested (I just pinned versions FYI), while setup.py needs to be as loose as possible because it is unknown what environment it's going to. This seems to make the most sense to me.


Mediation analysis and (likely) IV bug

Describe the bug
When the second-stage regression model is not provided and is being created, it looks like a piece of code overwrites the backdoor method setting and the backdoor variables which is being done directly above. I can't imagine this is anything other than a typo, but please correct me if I'm mistaken. Otherwise, I'm happy to provide more details as needed.
Steps to reproduce the behavior

Create a causal model with nonparametric-nie as the estimand type, and mediation.two_stage_regression and the method.
Run estimate_effect.
See error in second-stage fitting. (See Additional context for the error message.)

Expected behavior
The estimation to complete without errors.
Version information:

DoWhy version 0.9.1

Additional context
Error that's produced
.../dowhy/causal_model.py in estimate_effect(self, identified_estimand, method_name, control_value, treatment_value, test_significance, evaluate_effect_strength, confidence_intervals, target_units, effect_modifiers, fit_estimator, method_params)
    316                 self._estimator_cache[method_name] = causal_estimator
    317
--> 318         return estimate_effect(
    319             self._data,
    320             self._treatment,
.../dowhy/causal_estimator.py in estimate_effect(data, treatment, outcome, identifier_name, estimator, control_value, treatment_value, target_units, effect_modifiers, fit_estimator, method_params)
    709
    710     if fit_estimator:
--> 711         estimator.fit(
    712             data=data,
    713             treatment_name=treatment,
.../dowhy/causal_estimators/two_stage_regression_estimator.py in fit(self, data, treatment_name, outcome_name, effect_modifier_names, **_)
    225             self._second_stage_model._target_estimand.treatment_variable = parse_state(self._mediators_names)
    226
--> 227         self._second_stage_model.fit(
    228             data,
    229             parse_state(self._second_stage_model._target_estimand.treatment_variable),
.../dowhy/causal_estimators/linear_regression_estimator.py in fit(self, data, treatment_name, outcome_name, effect_modifier_names)
     87                     methods support this currently.
     88         """
---> 89         return super().fit(data, treatment_name, outcome_name, effect_modifier_names=effect_modifier_names)
     90
     91     def construct_symbolic_estimator(self, estimand):
.../dowhy/causal_estimators/regression_estimator.py in fit(self, data, treatment_name, outcome_name, effect_modifier_names)
     90         self._set_effect_modifiers(effect_modifier_names)
     91
---> 92         self.logger.debug("Back-door variables used:" + ",".join(self._target_estimand.get_backdoor_variables()))
     93         self._observed_common_causes_names = self._target_estimand.get_backdoor_variables()
     94         if len(self._observed_common_causes_names) > 0:
.../dowhy/causal_identifier/identified_estimand.py in get_backdoor_variables(self, key)
     57                 return self.backdoor_variables[self.identifier_method]
     58             elif self.backdoor_variables is not None and len(self.backdoor_variables) > 0:
---> 59                 return self.backdoor_variables[self.default_backdoor_id]
     60             else:
     61                 return []
KeyError: None

As a workaround, for anyone facing this same issue, setting the method_params (for estimate_effect) to the following seems to work and replicate the original, intended functionality:
from dowhy.causal_estimators.linear_regression_estimator import LinearRegressionEstimator

method_params = {"init_params": {"second_stage_model": LinearRegressionEstimator}}