Write an afterCreate hook on Review model

hook -> afterCreate
It updates the Product, User, Artist models avgRating field upon the creation of a new Review item.

Am I still doing this? Or is this done?


DYLD_ / LD_ environment variables will not be forwarded correctly on OS X

Hi,
Here's an interesting issue: https://youtrack.jetbrains.com/issue/GO-4001#comment=27-2237730
According to the information available here: https://stackoverflow.com/a/33589760/951414 it seems that OS X doesn't like forwarding any of the DYLD_ or LD_ to the applications anymore, for "security" reasons.
As such, when using the lldb backend on OS X, some applications will fail to launch. The IDE will forward the said environment variable when configured manually but I'm not sure if Delve itself needs to then do anything special to pick it up and then forward it itself to the lldb backend.
I'll try and work on a patch for this soon, but given my 0 experience with this stuff, any pointers / solutions would be welcomed.
(and yes, I know that the users can disable the "security" feature but I'm not sure what effects that will have)

I guess in gdbserver.go we should scan our environment and pass anything starting with LD_ and DYLD_ using the -e NAME=VALUE option of debugserver... that should work.

I'll have a patch in the next couple of days.

Have fun!


Speex Support Inquiry

@jrottenberg Are you open to a PR introducing the libspeex codec?
If so, I'd be happy to submit the PR!
Thank you for the repo!

Oh yeah absolutely !

@jrottenberg That's fine.  I feel that Speex is fairly common in some actionscript fallback cases, but your point is valid.


DBeaver deletes all rows when I accidentally delete a row w/o primary key

System information:

Operating system (distribution) and version
Windows 10 Enterprise 10.0.16299

DBeaver version
<IP_ADDRESS>808262133

Java version

Additional extensions

Connection specification:

Database name and version
Driver name
Do you use tunnels or proxies (SSH, SOCKS, etc)?

Describe the problem you're observing:
When I select some table and forget to select the primary key, and manually delete one record, and hit save, it deletes every row in the table
I would like to understand how to remove this default behavior, as it has led me to deleting every row in a table several times.
It should either error or at the very least not do anything
Steps to reproduce, if exist:

create some table with primary key, add 10 rows
instead of select *, so select col_not_primary_id
delete the row in the table editor
hit save, and bottom right status will show it has deleted all the rows

Include any warning/errors/backtraces from the logs

I can't reproduce this.
Whenever DBeaver sees that table doesn't have unique key or unique index it asks user to specify "virtual" unique key (on client side).

If user doesn't set such key then delete fails.
So, I can't reproduce situation when there is no unique key and DBeaver still deletes a row(s) from a table:

Could you list steps to reproduce this issue?
Also it is possible that you set some non-unique column as virtual unique key.

screencast recording possible please?

there is no updates on ticket more than a month.
ticket closed


Hanging and freezing in OS X

System information:

Operating system (distribution) and version: OS X 10.15.7
DBeaver version: 21.1.1
Additional extensions: none

Connection specification:

Database name and version: Vertica 10.1
Driver name: Vertica JDBC
Do you use tunnels or proxies (SSH, SOCKS, etc)? Corporate laptop, use a VPN and SSL/TLS authentication to connect to Vertica

Describe the problem you're observing:
The new version of DBeaver is creating catastrophic system stability issues for me. I get long periods of spinning pinwheel and the OS eventually comes to a complete stop, with no ability to move the cursor or type, so I have to do a hard reboot.
I have rebooted and reset PRAM and SMC three times, but every time I start up DBeaver the issue recurs within minutes of startup.
In the minutes before the system freezes completely, DBeaver is usable, it is possible to run queries, but DBeaver seems to be working hard in the background, maybe setting up autocomplete proposals.
I downgraded to version 7.3.5 today, and since then I have worked for several hours with no issues.
Steps to reproduce, if exist:
Include any warning/errors/backtraces from the logs

Unfortunately, I cannot reproduce it. Could you please provide me with more information in order to I could to assess the issue and find a solution:

Do you use standalone DBeaver or Eclipse exstension?
Could you please send me log files
Could you please look at Query manager: what queries run when .it happens. All query and object types should be enabled.
Could you please tell what exactly do you do before DBeaver freezes, any steps to reproduce?

It looks like the association with DBeaver was a coincidence; I started seeing the same behavior in other applications after a couple days. I upgraded to Big Sur and no problems so far with DBeaver 21.1.2.


Mystery Text Discussion of wc.txt

Post your ideas and findings and screen captures about wc.txt here!

When I was exploring the wc text, it was an unknown story to me and I did not know the source material. However, with the usage of the corpus analysis tools, I was able to get an idea of the plot. When I put the text through AntConc, from the various set of clusters, the one that stuck out to me was the two gram combination, "I was". This made me assume that this story was a retelling of events to provide context behind a major plot point in the story. Clicking on the concordance, my assumptions were correct, as some of the context behind the clusters involve events that occur at different times, from times ranging from September to Christmas. The frequency of Catherine from the context within the concordance also make me assume that she is someone dear to the narrator and the events that transpire in the retelling possibly occur because an of event befalling on her.


Appending additional actions to pillTemplate

With the following action applied to the wrapper
search-form#search"... I'm able to trigger a search when checking/un-checking checkbox in the dropdown.

see html code

search-form#search" data-multiselect-items-value="[{"value":1,"text":"Active"},{"value":2,"text":"Disposed"},{"value":3,"text":"Proposed"},{"value":4,"text":"Contracted"},{"value":5,"text":"Owned"},{"value":6,"text":"Deleted"},{"value":7,"text":"Pending"}]" data-multiselect-selected-value="[{"value":1,"text":"Active"},{"value":4,"text":"Contracted"}]">
  Facility Status
  <input name="search[facility_status_ids][]" type="hidden" value="" autocomplete="off">
  <select class="form-control select optional multiselect__hidden" multiple="multiple" data-multiselect-target="hidden" name="search[facility_status_ids][]" id="search_facility_status_ids">
    <option value="1" selected="true">Active</option>
    <option value="4" selected="true">Contracted</option>
  </select>

multiselect#toggleDropdown focus->multiselect#focusSearch" tabindex="0" data-turbo-cache="false">

        Active
        multiselect#removeItem">
          <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" width="12px" height="12px">
            <path d="M25.707,6.293c-0.195-0.195-1.805-1.805-2-2c-0.391-0.391-1.024-0.391-1.414,0c-0.195,0.195-17.805,17.805-18,18c-0.391,0.391-0.391,1.024,0,1.414c0.279,0.279,1.721,1.721,2,2c0.391,0.391,1.024,0.391,1.414,0c0.195-0.195,17.805-17.805,18-18C26.098,7.317,26.098,6.683,25.707,6.293z"></path>
            <path d="M23.707,25.707c0.195-0.195,1.805-1.805,2-2c0.391-0.391,0.391-1.024,0-1.414c-0.195-0.195-17.805-17.805-18-18c-0.391-0.391-1.024-0.391-1.414,0c-0.279,0.279-1.721,1.721-2,2c-0.391,0.391-0.391,1.024,0,1.414c0.195,0.195,17.805,17.805,18,18C22.683,26.098,23.317,26.098,23.707,25.707z"></path>
          </svg>

        Contracted
        multiselect#removeItem">
          <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" width="12px" height="12px">
            <path d="M25.707,6.293c-0.195-0.195-1.805-1.805-2-2c-0.391-0.391-1.024-0.391-1.414,0c-0.195,0.195-17.805,17.805-18,18c-0.391,0.391-0.391,1.024,0,1.414c0.279,0.279,1.721,1.721,2,2c0.391,0.391,1.024,0.391,1.414,0c0.195-0.195,17.805-17.805,18-18C26.098,7.317,26.098,6.683,25.707,6.293z"></path>
            <path d="M23.707,25.707c0.195-0.195,1.805-1.805,2-2c0.391-0.391,0.391-1.024,0-1.414c-0.195-0.195-17.805-17.805-18-18c-0.391-0.391-1.024-0.391-1.414,0c-0.279,0.279-1.721,1.721-2,2c-0.391,0.391-0.391,1.024,0,1.414c0.195,0.195,17.805,17.805,18,18C22.683,26.098,23.317,26.098,23.707,25.707z"></path>
          </svg>

      <input type="text" class="multiselect__search" placeholder="Search by status..." data-multiselect-target="search" data-action="multiselect#search keydown->multiselect#onKeyDown" style="padding-top: 0.5rem;">

multiselect#closeOnClickOutside">

            <input type="checkbox" data-value="1" data-text="Active" data-action="multiselect#checkBoxChange" data-multiselect-target="item" tabindex="-1">
            Active

            <input type="checkbox" data-value="2" data-text="Disposed" data-action="multiselect#checkBoxChange" data-multiselect-target="item" tabindex="-1">
            Disposed

            <input type="checkbox" data-value="3" data-text="Proposed" data-action="multiselect#checkBoxChange" data-multiselect-target="item" tabindex="-1">
            Proposed

            <input type="checkbox" data-value="4" data-text="Contracted" data-action="multiselect#checkBoxChange" data-multiselect-target="item" tabindex="-1">
            Contracted

            <input type="checkbox" data-value="5" data-text="Owned" data-action="multiselect#checkBoxChange" data-multiselect-target="item" tabindex="-1">
            Owned

            <input type="checkbox" data-value="6" data-text="Deleted" data-action="multiselect#checkBoxChange" data-multiselect-target="item" tabindex="-1">
            Deleted

            <input type="checkbox" data-value="7" data-text="Pending" data-action="multiselect#checkBoxChange" data-multiselect-target="item" tabindex="-1">
            Pending

However, I'd like to apply that same action to the pillTemplate here:
https://github.com/WizardComputer/stimulus-multiselect/blob/819f3e8e6bdb6e00019272bc5a09604ef7490104/src/multiselect.js#L397
Perhaps we could append an action to the pillTemplate through an option?

There is actually an Event fired when toggling an element. These custom events hold information about the item added/removed. You can use this event to attach an event listener and do stuff with it. It's mentioned in the docs as well.
I think this is a better approach than adding options. Tell me if this helps.


Add support for date column/type for histogram endpoint

Required for time-series widget, see this example: https://github.com/CartoDB/cartodb.js/blob/877eef878c4e34eabac8a7a516406fc71931d0f8/examples/torque-time-series-widget.html#L215-L269 and in particular the TODO comments that highlight where the current workarounds are used until this is supported.

Datetime columns should be supported already by Windshaft-cartodb's dataviews as per https://github.com/CartoDB/Windshaft-cartodb/blob/27036379dd5acb631f902a247783e70629594696/test/acceptance/widgets/ported/histogram.js#L246.


update obsoletion with comments sparql to concatenate 'See Also'

I created a sparql query to report the terms with the "obsoletion candidate" tag. The report includes 'comment' and 'seeAlso' (see here)
This query works fine, but, we see that some terms have 2 "seeAlso" and these are reported in 2 separate lines, each line corresponding to one "seeAlso").
To do: update query to report all the "seeAlso" of the same term in the same line.

I dont know why, but SPARQL didnt like the un-concatenated comment field; this works:
https://api.triplydb.com/s/7s3ybFJyb

Annoying - but probably not avoidable without major work. You could have two separate queries (one with comment, with seeAlso only).

yeah, I suspected it would be more complicated than it sounds... Thank you for your help!
@nicolevasilevsky, let's talk and figure out what would be best.

Yeah, let's not put everything into the comment. I think it's okay to leave it how it was. It's easy enough to review and then delete the duplicates if we don't need them.


Update README.md #1303

Type of Change
added the beginner instruction.
Description
added the beginner friendly instruction for contribution to this repo.

Hi @Hritikraj8804, thanks for your PR, we will enhance docs/source/CONTRIBUTING.md based on your comments, it's the better place to put such an introduction.


WIP 📖 add clarification about current state of OLMv1 at upstream

In order to try to be more transparent about our goals and current state.

@joelanford @LalatenduMohanty
I was thinking of something like that so that we can make it clear.
WDYT?

@joelanford PTAL and let us know if you are fine with the language we have used.


Q: How to pass "-with-rtsopts=-N -I0 -qb -qg" to ghc-options?

I've tried to pass "-with-rtsopts=-N -I0 -qb -qg" to the build system, but generated *.cabal contains quote stripped one.  This cause compilation errors.
Any workarounds?

That's probably a YAML “feature”.
-with-rtsopts="-N -I0 -qb -qg" seems to work well.

@liskin I've already tried that , but failed.
Following the output of stack build -v

Version 1.4.0 x86_64 hpack-0.17.0
2017-06-22 19:13:37.002363: [debug] Checking for project config at: /Users/objectx/Workspace/GitHub/hpack-ghc-options/stack.yaml
@(Stack/Config.hs:935:9)
2017-06-22 19:13:37.005798: [debug] Loading project config file stack.yaml
@(Stack/Config.hs:960:13)
2017-06-22 19:13:37.014484: [debug] Trying to decode /Users/objectx/.stack/build-plan-cache/x86_64-osx/lts-8.19.cache
@(Data/Store/VersionTagged.hs:68:5)
2017-06-22 19:13:37.028983: [debug] Success decoding /Users/objectx/.stack/build-plan-cache/x86_64-osx/lts-8.19.cache
@(Data/Store/VersionTagged.hs:72:13)
2017-06-22 19:13:37.034373: [debug] Using standard GHC build
@(Stack/Setup.hs:600:9)
2017-06-22 19:13:37.035365: [debug] Getting global package database location
@(Stack/GhcPkg.hs:55:5)
2017-06-22 19:13:37.042086: [debug] Run process: /Users/objectx/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Read.hs:306:3)
2017-06-22 19:13:37.044436: [debug] Asking GHC for its version
@(Stack/Setup/Installed.hs:103:13)
2017-06-22 19:13:37.044663: [debug] Run process: /Users/objectx/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc --numeric-version
@(System/Process/Read.hs:306:3)
2017-06-22 19:13:37.044742: [debug] Getting Cabal package version
@(Stack/GhcPkg.hs:189:5)
2017-06-22 19:13:37.046162: [debug] Run process: /Users/objectx/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
@(System/Process/Read.hs:306:3)
2017-06-22 19:13:37.196337: [debug] Process finished in 150ms: /Users/objectx/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
@(System/Process/Read.hs:306:3)
2017-06-22 19:13:37.196537: [debug] Process finished in 153ms: /Users/objectx/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Read.hs:306:3)
2017-06-22 19:13:37.604724: [debug] Process finished in 559ms: /Users/objectx/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc --numeric-version
@(System/Process/Read.hs:306:3)
2017-06-22 19:13:37.604882: [debug] Resolving package entries
@(Stack/Setup.hs:254:5)
2017-06-22 19:13:37.605486: [debug] Run process: /Users/objectx/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc-pkg init /Users/objectx/Workspace/GitHub/hpack-ghc-options/.stack-work/install/x86_64-osx/lts-8.19/8.0.2/pkgdb/
@(System/Process/Read.hs:306:3)
2017-06-22 19:13:37.634497: [debug] Process finished in 28ms: /Users/objectx/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc-pkg init /Users/objectx/Workspace/GitHub/hpack-ghc-options/.stack-work/install/x86_64-osx/lts-8.19/8.0.2/pkgdb/
@(System/Process/Read.hs:306:3)
2017-06-22 19:13:37.634962: [debug] Starting to execute command inside EnvConfig
@(Stack/Runners.hs:166:18)
2017-06-22 19:13:37.635029: [debug] Parsing the cabal files of the local packages
@(Stack/Build/Source.hs:310:5)
2017-06-22 19:13:37.637794: [debug] Running hpack on /Users/objectx/Workspace/GitHub/hpack-ghc-options/package.yaml
@(Stack/Package.hs:1184:9)
2017-06-22 19:13:37.647728: [debug] hpack generated a modified version of /Users/objectx/Workspace/GitHub/hpack-ghc-options/hpack-ghc-options.cabal
@(Stack/Package.hs:1189:32)
2017-06-22 19:13:37.649646: [debug] Parsing the targets
@(Stack/Build/Source.hs:247:5)
2017-06-22 19:13:37.650424: [debug] Exception ignored when attempting to load /Users/objectx/Workspace/GitHub/hpack-ghc-options/.stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS>/stack-build-cache: /Users/objectx/Workspace/GitHub/hpack-ghc-options/.stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS>/stack-build-cache: openBinaryFile: does not exist (No such file or directory)
@(Data/Store/VersionTagged.hs:86:9)
2017-06-22 19:13:37.651174: [debug] Start: getPackageFiles /Users/objectx/Workspace/GitHub/hpack-ghc-options/hpack-ghc-options.cabal
@(Stack/Package.hs:251:21)
2017-06-22 19:13:37.652985: [debug] Finished in 1ms: getPackageFiles /Users/objectx/Workspace/GitHub/hpack-ghc-options/hpack-ghc-options.cabal
@(Stack/Package.hs:251:21)
2017-06-22 19:13:37.655483: [debug] Finding out which packages are already installed
@(Stack/Build/Installed.hs:69:5)
2017-06-22 19:13:37.656435: [debug] Run process: /Users/objectx/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-06-22 19:13:37.701906: [debug] Process finished in 45ms: /Users/objectx/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-06-22 19:13:37.716291: [debug] Ignoring package haskeline due to wanting version <IP_ADDRESS> instead of <IP_ADDRESS>
@(Stack/Build/Installed.hs:199:5)
2017-06-22 19:13:37.716380: [debug] Ignoring package terminfo due to wanting version <IP_ADDRESS> instead of <IP_ADDRESS>
@(Stack/Build/Installed.hs:199:5)
2017-06-22 19:13:37.716738: [debug] Ignoring package xhtml due to wanting version 3000.2.2 instead of 3000.2.1
@(Stack/Build/Installed.hs:199:5)
2017-06-22 19:13:37.716900: [debug] Run process: /Users/objectx/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc-pkg --user --no-user-package-db --package-db /Users/objectx/.stack/snapshots/x86_64-osx/lts-8.19/8.0.2/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-06-22 19:13:37.843957: [debug] Process finished in 126ms: /Users/objectx/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc-pkg --user --no-user-package-db --package-db /Users/objectx/.stack/snapshots/x86_64-osx/lts-8.19/8.0.2/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-06-22 19:13:37.845504: [debug] Run process: /Users/objectx/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc-pkg --user --no-user-package-db --package-db /Users/objectx/Workspace/GitHub/hpack-ghc-options/.stack-work/install/x86_64-osx/lts-8.19/8.0.2/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-06-22 19:13:37.888946: [debug] Process finished in 43ms: /Users/objectx/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc-pkg --user --no-user-package-db --package-db /Users/objectx/Workspace/GitHub/hpack-ghc-options/.stack-work/install/x86_64-osx/lts-8.19/8.0.2/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-06-22 19:13:37.898454: [debug] Constructing the build plan
@(Stack/Build/ConstructPlan.hs:158:5)
2017-06-22 19:13:37.901745: [debug] Checking if we are going to build multiple executables with the same name
@(Stack/Build.hs:210:5)
2017-06-22 19:13:37.902058: [debug] Executing the build plan
@(Stack/Build/Execute.hs:458:5)
2017-06-22 19:13:37.904487: [debug] Getting global package database location
@(Stack/GhcPkg.hs:55:5)
2017-06-22 19:13:37.904556: [debug] Run process: /Users/objectx/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Read.hs:306:3)
2017-06-22 19:13:37.943896: [debug] Process finished in 39ms: /Users/objectx/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Read.hs:306:3)
2017-06-22 19:13:37.945589: [debug] Exception ignored when attempting to load /Users/objectx/Workspace/GitHub/hpack-ghc-options/.stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS>/stack-config-cache: /Users/objectx/Workspace/GitHub/hpack-ghc-options/.stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS>/stack-config-cache: openBinaryFile: does not exist (No such file or directory)
@(Data/Store/VersionTagged.hs:86:9)
2017-06-22 19:13:37.946014: [debug] Exception ignored when attempting to load /Users/objectx/Workspace/GitHub/hpack-ghc-options/.stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS>/stack-cabal-mod: /Users/objectx/Workspace/GitHub/hpack-ghc-options/.stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS>/stack-cabal-mod: openBinaryFile: does not exist (No such file or directory)
@(Data/Store/VersionTagged.hs:86:9)
2017-06-22 19:13:37.946111: [info] hpack-ghc-options-<IP_ADDRESS>: configure (exe)
@(Stack/Build/Execute.hs:830:23)
2017-06-22 19:13:37.946668: [debug] Run process: /Users/objectx/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_<IP_ADDRESS>_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS> configure --with-ghc=/Users/objectx/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc --with-ghc-pkg=/Users/objectx/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/Users/objectx/.stack/snapshots/x86_64-osx/lts-8.19/8.0.2/pkgdb --package-db=/Users/objectx/Workspace/GitHub/hpack-ghc-options/.stack-work/install/x86_64-osx/lts-8.19/8.0.2/pkgdb --libdir=/Users/objectx/Workspace/GitHub/hpack-ghc-options/.stack-work/install/x86_64-osx/lts-8.19/8.0.2/lib --bindir=/Users/objectx/Workspace/GitHub/hpack-ghc-options/.stack-work/install/x86_64-osx/lts-8.19/8.0.2/bin --datadir=/Users/objectx/Workspace/GitHub/hpack-ghc-options/.stack-work/install/x86_64-osx/lts-8.19/8.0.2/share --libexecdir=/Users/objectx/Workspace/GitHub/hpack-ghc-options/.stack-work/install/x86_64-osx/lts-8.19/8.0.2/libexec --sysconfdir=/Users/objectx/Workspace/GitHub/hpack-ghc-options/.stack-work/install/x86_64-osx/lts-8.19/8.0.2/etc --docdir=/Users/objectx/Workspace/GitHub/hpack-ghc-options/.stack-work/install/x86_64-osx/lts-8.19/8.0.2/doc/hpack-ghc-options-<IP_ADDRESS> --htmldir=/Users/objectx/Workspace/GitHub/hpack-ghc-options/.stack-work/install/x86_64-osx/lts-8.19/8.0.2/doc/hpack-ghc-options-<IP_ADDRESS> --haddockdir=/Users/objectx/Workspace/GitHub/hpack-ghc-options/.stack-work/install/x86_64-osx/lts-8.19/8.0.2/doc/hpack-ghc-options-<IP_ADDRESS> --dependency=base=base-<IP_ADDRESS> --enable-tests --enable-benchmarks
@(System/Process/Read.hs:306:3)
2017-06-22 19:13:38.766406: [info] Configuring hpack-ghc-options-<IP_ADDRESS>...

@(Stack/Build/Execute.hs:1070:67)
2017-06-22 19:13:40.092876: [warn] ghc: unrecognised flag: -qg
@(Stack/Build/Execute.hs:1070:67)
2017-06-22 19:13:40.102180: [warn] did you mean one of:
@(Stack/Build/Execute.hs:1070:67)
2017-06-22 19:13:40.102281: [warn]   -g
@(Stack/Build/Execute.hs:1070:67)
2017-06-22 19:13:40.102320: [warn] unrecognised flag: -qb"
@(Stack/Build/Execute.hs:1070:67)
2017-06-22 19:13:40.103686: [warn]
@(Stack/Build/Execute.hs:1070:67)
2017-06-22 19:13:40.103765: [warn] Usage: For basic information, try the `--help' option.
@(Stack/Build/Execute.hs:1070:67)
2017-06-22 19:13:40.118997: [debug] Start: getPackageFiles /Users/objectx/Workspace/GitHub/hpack-ghc-options/hpack-ghc-options.cabal
@(Stack/Package.hs:251:21)
2017-06-22 19:13:40.119555: [debug] Finished in 0ms: getPackageFiles /Users/objectx/Workspace/GitHub/hpack-ghc-options/hpack-ghc-options.cabal
@(Stack/Package.hs:251:21)
--  While building package hpack-ghc-options-<IP_ADDRESS> using:
/Users/objectx/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_<IP_ADDRESS>_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS> build exe:hpack-ghc-options --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1

Beat me to it by 9 hours :). GHC parses this option funny, -with-rtsopts="X Y Z" does not work, it needs to be "-with-rtsopts=X Y Z".
I found a workaround, inserting literal quotes into the .yaml will result in the quotes being preserved like so:
    - "\"-with-rtsopts=-N15 -H4G -A2G -I10\""

results in
"-with-rtsopts=-N15 -H4G -A2G -I10"

As desired.

@charles-cooper Thanks! 👍


changes to image adding when using Image in GUI

This changes the behavior that was added to support svg files:

Only SVGs are added to the DOM (files that end with .svg)
The SVGs are removed from thee DOM right after they are no longer needed.

PG for testing: #XCPP9Y#21986

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/15260/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15260/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15260/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15260/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15260/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15260/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15260/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15260/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15260/merge/testResults/webgpuplaywright/index.html

``> This changes the behavior that was added to support svg files:

Only SVGs are added to the DOM (files that end with .svg)
2. The SVGs are removed from thee DOM right after they are no longer needed.

PG for testing: #XCPP9Y#21986

The SVGs cannot be deleted automatically from the DOM when they are no longer needed.？
I can only delete it manually using the following code：
 var svgImage = document.body.querySelector('object[data="imgs/save.svg"]') ;
 svgImage.remove();


pkg/report: fix other NetBSD corrupted reports

Some reports for page fault in supervisor mode do not go into a trap and hence get corrupted.
example - https://syzkaller.appspot.com/text?tag=CrashReport&x=136887a2c00000 and
https://syzkaller.appspot.com/text?tag=CrashReport&x=10836513200000

Are you sure all page faults happen in a context of a syscall?

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1047   +/-   ##
=======================================
  Coverage   67.47%   67.47%
=======================================
  Files         115      115
  Lines       20501    20501
=======================================
  Hits        13833    13833
  Misses       6017     6017
  Partials      651      651

Impacted Files
Coverage Δ

pkg/report/netbsd.go
84.61% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

I don't think this sys_ is a good catch-all expression.

I think that we shall be agnostic to backtrace.

And don't assume even that it exists.

@dvyukov @krytarowski  This should handle some of the duplicate and corrupted reports.
Also I can't seem to access more than 30 - 40 reports of a bug from syzbot. Is it possible to access more?

Also I can't seem to access more than 30 - 40 reports of a bug from syzbot. Is it possible to access more?

Older crash reports are discarded, we can't save all, some bugs can have hundreds of thousands of crashes. Do you need more? Why? All reports for the same bug should be roughly the same.

I think that we shall be agnostic to backtrace.

Why there may be no backtrace? We won't be able to do meaningful crash bucketing without backtraces.

Also I can't seem to access more than 30 - 40 reports of a bug from syzbot. Is it possible to access more?

Older crash reports are discarded, we can't save all, some bugs can have hundreds of thousands of crashes. Do you need more? Why? All reports for the same bug should be roughly the same.

Well.. I actually wanted to test it with some more test cases and most of the bugs hit recently are almost the same. But I guess we can deal with new cases as they come up.

Can you check whether the current commit looks fine?

Some crashes result in instant reboot.

Some crashes result in instant reboot.

Ah, I see. For such crashes we will have no other choice as to classify them as "lost connection to test machine". But using backtraces for crash types that do have backtrace is still useful and we should do it and expect that there is a backtrace. Otherwise it won't be possible to bucket crashes in any meaningful way.


Enables database migration generation past the initial

Addresses #127.
Requires the project to depend on version >2.0.3.
Also cleans up testing around CLI tools in general. Sorry it is way too many changes for one PR

I am so excited for the functionality in this PR!

How exciting

yeah, got a failing test somewhere else that'll take me a bit to fix

Codecov Report

Merging #234 into master will decrease coverage by 1.12%.
The diff coverage is 80.1%.

@@            Coverage Diff             @@
##           master     #234      +/-   ##
==========================================
- Coverage   85.11%   83.98%   -1.13%
==========================================
  Files          83       84       +1
  Lines        5044     5209     +165
==========================================
+ Hits         4293     4375      +82
- Misses        751      834      +83

Impacted Files
Coverage Δ

lib/src/http/request_sink.dart
96.87% <ø> (-1.59%)
:arrow_down:

lib/src/http/request_path.dart
94.01% <ø> (ø)
:arrow_up:

lib/src/db/managed/attributes.dart
41.66% <ø> (ø)
:arrow_up:

lib/src/utilities/source_generator.dart
80% <0%> (-8.68%)
:arrow_down:

lib/src/db/schema/schema_table.dart
91.37% <100%> (+2.91%)
:arrow_up:

lib/src/db/managed/data_model_builder.dart
84.83% <100%> (+0.34%)
:arrow_up:

lib/src/application/isolate_supervisor.dart
89.65% <100%> (-3.68%)
:arrow_down:

lib/src/commands/db_validate.dart
84.61% <100%> (+20.78%)
:arrow_up:

lib/src/db/managed/data_model.dart
63.04% <100%> (+1.67%)
:arrow_up:

lib/src/http/request.dart
90.24% <100%> (-2.44%)
:arrow_down:

... and 42 more

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 703d24d...1457e70. Read the comment docs.


fixed casing on SrcIpAddr extract - lower case left field empty

Fixes #
SrcIpAddr field is empty due to casing of regex - fixed by using uppercase
Proposed Changes

Just want to clarify -- the log message looks somewhat like this:
<4>Apr  9 16:36:53 ubnt kernel: [WAN_LOCAL-1234-R]IN=eth0 OUT= MAC=e0:63:xx:29:da:ØØ:b0:a8:6e:f1:60:a6:ko:00 SRC=<IP_ADDRESS> DST=<IP_ADDRESS> LEN=60 TOS=0x00 PREC=0x00 TTL=47 ID=5177 DF PROTO=TCP SPT=18752 DPT=3306 WINDOW=64240 RES=0x00 SYN URGP=0
so the extract() function runs the regex as specified - src does not match and the SrcIpAddr is empty

@FrodeHus , closing this PR as this has been taken care of by the PR: https://github.com/Azure/Azure-Sentinel/pull/2211


remove aud warning logging

related story: https://vajira.max.gov/browse/API-6136

It looks like linting is not enforced with the new CodeBuild pipeline. I've opened a story to fix this - https://vajira.max.gov/browse/API-6709.
There are a couple warnings, if you could address them please.
/vets-saml-proxy/oauth-proxy/oauthHandlers/authorizeHandler.js
   39:29  error  'aud' is assigned a value but never used                  no-unused-vars
   59:41  error  Replace `⏎····state,⏎····logger⏎··` with `state,·logger`  prettier/prettier
  127:26  error  Replace `⏎··state,⏎··logger⏎` with `state,·logger`        prettier/prettier


Docs.MS Release Updates for spring-cloud-azure-appconfiguration-config

Update docs metadata and targeting for release of spring-cloud-azure-appconfiguration-config

Docs Build status updates of commit 6c8f6c7:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/latest/spring-cloud-azure-appconfiguration-config-readme.md
:warning:Warning
View (azure-java-stable)
Details

package.json
:white_check_mark:Succeeded

docs-ref-services/latest/spring-cloud-azure-appconfiguration-config-readme.md

Line 2, Column 1: [Warning-ms-prod-and-service] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 9, Column 16: [Warning-ms-prod-technology-invalid] Invalid value for 'ms.technology': 'azure' is not valid with 'ms.prod' value 'azure'.
Line 11, Column 13: [Warning-ms-service-subservice-invalid] Invalid value for 'ms.service': 'springcloud'.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.
Line 17, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Key concepts''. Each second level heading (H2) in an article must be unique.
Line 19, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Key concepts''. Each second level heading (H2) in an article must be unique.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


add option to specify a proxied path prefix

This is useful if you have mapped the ELS root path to something else than / (e.g. to provide auth). Would be great to get that into the next releas @aphyr !

Cool, thanks Peter! :D


ARROW-9453: [Rust] Wasm32 compilation support

Adding compilation flag to allow rust library to compile against Wasm32 target

@rj-atw I would like to see us get wasm support but I think we need to add CI for this.  Without CI all those cfg attributes are destined to go stale...

Also, I assigned the JIRA to you and changed your permissions so you can self-assign in future

@rj-atw I would like to see us get wasm support but I think we need to add CI for this. Without CI all those cfg attributes are destined to go stale...

@paddyhoran I love to add the need CI. Do we have any documentation around this projects CI (especially how to setup env locally)?

@paddyhoran I love to add the need CI. Do we have any documentation around this projects CI (especially how to setup env locally)?

If you search for "rust" under the top level "ci" folder you will find most of the CI scripts.  We can then ask @kszucs for a quick review of that part of the update.

@rj-atw you can start here https://github.com/apache/arrow/blob/master/docs/source/developers/docker.rst
I assume you'll need to adjust the rust_build.sh script to accept either a target arch environment variable (preferable) or a CLI argument than add a new docker-compose entry (like debian-rust-wasm32) similar to debian-rust where you pass the wasm variable.
Once that works with archery docker run debian-rust-wasm32 you can add a matrix entry to execute debian-rust-wasm32 in the rust github actions configuration.

@rj-atw where you able to figure out CI?  It looks like this also needs to be rebased.

Hi @rj-atw, this PR has fallen behind quite a lot. Are you still interested in or able to work on this feature? Otherwise we could close the PR in the interim.

@rj-atw I am adding wasm32 compilation to the CI, so that this can progress. Is this something that you are still interested on, or should we close this PR?

I am still intersted.
Started new job, so diverted my attention. But hoping to close this out
during holiday break.
On Mon, Dec 7, 2020, 10:10 PM Jorge Leitao<EMAIL_ADDRESS>wrote:

@rj-atw https://github.com/rj-atw I am adding wasm32 compilation to the
CI, so that this can progress. Is this something that you are still
interested on, or should we close this PR?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/arrow/pull/7767#issuecomment-740402282, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AOPXAG6UVNNQB37QW64C4KDSTW7NPANCNFSM4O2AJQEA
.

@rj-atw  -- FYI @jorgecarleitao  has the appropriate CI support here: https://github.com/apache/arrow/pull/8864

@rj-atw  --  Given the imminent Arrow 3.0 release, I am trying to clean up older Rust PRs and see if the authors have plans to move them forward.
Do you plan on working on this PR in the near future? If not, should we close this PR until there is time to make progress? Thanks again for your contributions so far.

@rj-atw  --  Given the imminent Arrow 3.0 release, I am trying to clean up older Rust PRs and see if the authors have plans to move them forward.
Do you plan on working on this PR in the near future? If not, should we close this PR until there is time to make progress? Thanks again for your contributions so far.

I'm closing this for now @alamb @rj-atw, we can pick it up later.

I'm closing this for now @alamb @rj-atw, we can pick it up later.


Suggestion: Reduce zoom levels once the text becomes big

Once the text file reaches something like 80 lines text starts becoming way too small and the intended effect reduces. I'd suggest making the zoom levels become fixed/capped at a certain point.

How the cursor moves at present makes text editing kind of a pain if your lines are fairly big since it goes back to column 0 the moment any single line is empty and it won't go back to the previous column length like it does in say vim.


Add missing cerrno includes - fixes #1986

This PR adds the missing header includes for recently added errno code in a couple of training modules.

Thank you for that fix. Maybe src/api/baseapi.cpp and src/api/tesseractmain.cpp need cerrno, too.

They compiled without issue, so perhaps the necessary include is buried in one of the tesseract main includes.


Name is missing !!

Whenever a letter or logo means something, then that something spelled out is both more human-readable and more search-engine-friendly.
See existing discussion (link):

No, the logo is not a good hint, because T-rex ≠ Velociraptor:

I appreciate that you took the time to put together a pull request but we're not accepting this change. :-)


Showing all URLs on the navigation pane

Is it possible to show all the URLs rather than clicking the tree to show the pages in deep subfolders?

We will see if there is a nicer way to display the tree to be able to show links without going through each page


Current Presented Child

Is there a way to get the current active child? or to get an array of all the viewControllers and then select one by their page index??

Hi Any solution for this?


View the taken Selfie

Hello everybody,
I have set up Alexa Control, which sends the notification "SELFIE_SHOOT" and "SELFIE_LAST". When I give the command, the timer is also activated, it counts down from 5, my USB camera activates and takes a picture.
However, after the picture is taken, it is not displayed on the screen, it just goes dark for a moment.
In the folder "photos" I find the pictures and can also view them.
The same problem exists with "SELFIE_LAST".
Does anyone have an idea why the pictures are taken but not displayed?
My config.js is not edited in this module.
{
disabled: false,
module: "MMM-Selfieshot",
config: {
}
},

I'm getting this behavior occasionally but not always. Still running it down.


Enforce compliance to only new changes

** Question : **
I was assuming that using a plan rather than the full state would allow for someone to enforce compliance on only new changes. In my recent testing I found this not to be the case. I'm hoping to use this tool to add compliance to existing environments and think it'd be nice to start enforcing compliance for new changes, while teams work on getting existing resources compliant. I didn't create a feature request because I wasn't sure if this is already possible to do with the existing tool and wanted to verify? Thanks.

@dplpd
Thanks for submitting the issue! Does the changes at #447 help?
When its actions metadata has create could be used to filter out resources that are not newly created.

@dplpd
Thanks for submitting the issue! Does the changes at #447 help?
When its actions metadata has create could be used to filter out resources that are not newly created.


TypeDoc icon?

http://typedoc.io/

do you think we can have a typedoc icon?

Would either of these work?

Personally I prefer the second one.

I like the second one, thanks!

Done, and done!


StackSampler: Disable ITIMER_VIRTUAL on exit

The bug can be reproduced by runing python tests/test_sampler.py.
signal.setitimer(signal.ITIMER_VIRTUAL, 0) should be called before the process exits, otherwise a program using the sampler may exit with code 154.
# Before the PR
$ python tests/test_sampler.py
elapsed 0.941686153412
granularity 0.005
<module>(__main__);test_foo(__main__);fn(__main__);slp(__main__) 5

[1]    33765 virtual time alarm  python tests/test_sampler.py
$ echo $?           154 ↵
154

# After the PR
$ python tests/test_sampler.py
elapsed 0.953591108322
granularity 0.005
<module>(__main__);test_foo(__main__);fn(__main__);slp(__main__) 5

$ echo $?
0

ref: http://www.programcreek.com/python/example/57585/signal.ITIMER_VIRTUAL

@nylas/cla Signed.

Awesome thanks for the patch!


PDF417 doesn't work if RSS14 format is mentioned

Expected Behaviour
Should support RSS14 and PDF417 without any conflict.
Actual Behaviour
If RSS14 is mentioned in formats then PDF417 is not supported.
Reproduce Scenario (including but not limited to)
Mention RSS14 and PDF417 to scan both the codes. Only RSS14 works but not PDF417.
Steps to Reproduce
Mention RSS14 and PDF417 to scan both the codes. Only RSS14 works but not PDF417
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Android 5.0
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Samsung Galaxy S5
Cordova CLI version and cordova platform version
cordova --5.1.1v
cordova platforms - Android and iOS

Plugin version
cordova plugin version | grep phonegap-plugin-barcodescanner
6.0.6v

Sample Code that illustrates the problem
Logs taken while reproducing problem

@srgade can you provide some sample code that reproduces the problem?

In the below sample code, if we have both RSS14 and PDF_417 then only RSS14 tags are scanned successfully. But if we remove RSS14 then PDF_417 formats are scanned.
Sample Code:
`window.cordova.plugins.barcodeScanner.scan((result) => {
if (result.cancelled) {
alert("Scan cancelled");
return;
}
const data = result.text.split(/[\n\r]/g);
  if (data.length > 1) {
    alert(`Data Scanned:\n${result.text}`);
    return;
  }
},
(err) => alert(`Scanning failed: ${err}`),
  {
    prompt: "Place a barcode inside the scan area", // Android
    formats: "QR_CODE,DATA_MATRIX,UPC_E,UPC_A,EAN_8,EAN_13,CODE_128,CODE_39,CODE_93,CODABAR,ITF,**RSS14**,RSS_EXPANDED,**PDF_417**,AZTEC", // default: all but PDF_417 and RSS_EXPANDED
  });

},
};
`

@srgade yeah, that's a weird one. I can confirm the problem but I'm pretty sure it's an issue inside the ZXing library.

@srgade not sure just yet. I think the next step is to upgrade the ZXing library the plugin uses.

@macdonst  ok. any references for upgrading ?

@srgade I either need to upgrade the pre-compiled jar that @EddyVerbruggen uses or move to a different gradle package.

Same problem. Works perfectly with QR.
But cannot read PDF417
I've tested several cases and nothing happens.
Android 6
`global packages:
@ionic/cli-utils : 1.5.0
Cordova CLI      : 7.0.1
Ionic CLI        : 3.5.0

local packages:
@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-cordova       : 1.4.1
@ionic/cli-plugin-ionic-angular : 1.3.2
Cordova Platforms               : android 6.2.3 ios 4.4.0
Ionic Framework                 : ionic-angular 3.3.0

System:
Node       : v6.9.2
OS         : OS X El Capitan
Xcode      : Xcode 8.0 Build version 8A218a
ios-deploy : 1.9.0
ios-sim    : 5.0.13
npm        : 4.0.5`


How to generate ViewComponent previews for entire project

Hi, thanks for this great library it looks awesome!
I wanted to try using this in our Rails 6.1.6 app and installed the gem/followed the instructions to mount the routes, but when I navigate to the page I don't see any components:

I realized this is because we have nothing in the app/components/previews folder as described here:
https://viewcomponent.org/guide/previews.html
I found a generator for previews here https://viewcomponent.org/guide/generators.html#generate-a-preview but I was wondering if anyone here knows of a command to just auto-generate previews from a ton of pre-existing view components. Otherwise I'll be doing a lot of manual work by hand to be able to try this at our company.
I appreciate any suggestions and thank you for your time!

Hey @zachfeldman - I'm afraid nothing like that currently exists as far as I'm aware, sorry 😕
You could try asking over on the ViewComponent repo issues or discussions as there may be people there who have looked into at least generating skeleton Preview files for a bunch of existing components, but I haven't stumbled across something like that myself yet.
Sorry I can't be of more help right now!


Ruby script stalls at @offset_manager.commit_offsets_if_necessary in consumer.rb

If this is a bug report, please fill out the following:

Version of Ruby: 2.7.1
Version of Kafka: 2.5
Version of ruby-kafka: 1.2

For a while, I've found that my ruby script will stop responding after a while. Using byebug, I found that the culprit is line 257 in consumer.rb, specifically:
 @offset_manager.commit_offsets_if_necessary
Not sure what is causing the error, any advice would be appreciated.

Can you enable debug logs and paste them here?


feat(payment-card): add component Payment Card

Originally, I thought it could be a sub-export of baseui/input but then I saw that phone-input is also a standalone component so following the same convention. It's also good for code-splitting (no need to rely on unreliable tree-shaking).
Also waiting for the final sign-off from @nguyensomniac that we can open-source the card icons but should be fine.

Looks good! A question about type exports: do we need all of those that are same as in Input to be recreates and exported in PaymentCard component?

I cleaned up the types file. It now reuses all input types and only extends it with the IconWrapper override. That's actually the only different between input and payment-card APIs.

Could we get some e2e tests to validate the edge-cases we talked about the other day? Unit tests are great, but may not be representative of real usage
ex:
type 411122
validate expected number representation
press arrow-left twice
type 33
validate expected number representation

Could we get some e2e tests to validate the edge-cases we talked about the other day? Unit tests are great, but may not be representative of real usage

Yep, added a suite of e2e tests!


Update dmd to latest version (02d6d07a69280f8cc88380a682717bb67ca485fb) & fix checks using parens

In the future you should not mix a dependency update with other changes. One PR per each. I do understand that you wanted to see that the update makes the code work, however, that should be tested locally and the separate PRs should be open. In the interest of progress I'm going to let this slide now, but in the future I will not treat such as with indulgence.


linux: free datetime interface from tz

Improves performance on Linux
New OSX Date interface had dropped old Windows specific date tests. Do the same for Linux

How much of a performance change do you see here? Removing the redundant tzsets is good, but since mktime implicitly calls tzset won't it still end up making syscalls every time unless the TZ environment variable is set?

but since mktime implicitly calls tzset

@MSLaguana Could you please share a reference for this claim? It reaches to DB for only negative dst value. There is no other way around.

That comment was based on the man page and experimentation. The man page actually only seemed to mention it for localtime:
The localtime() function converts the calendar time timep to broken-down time representation, expressed relative to  the
user's  specified  timezone.   The  function  acts  as if it called tzset(3) and sets the external variables tzname with
information about the current timezone, timezone with the difference between Coordinated Universal Time (UTC) and  local
standard  time  in seconds, and daylight to a nonzero value if daylight savings time rules apply during some part of the
year.  The return value points to a statically allocated struct which might be overwritten by subsequent calls to any of
the  date  and time functions.  The localtime_r() function does the same, but stores the data in a user-supplied struct.
It need not set tzname, timezone, and daylight.

Experimenting myself, I do see the behavior that I mention though. Compile this program:
#include <time.h>
#include <stdio.h>

int main() {
  struct tm tm = {};
  time_t t = mktime(&tm);
  printf("%u\n", t);
  tm.tm_sec = 1;
  t = mktime(&tm);
  printf("%u\n", t);
  return 0;
}

and note that I never invoke tzset. Then run the output through strace, and see that each call to mktime has a corresponding stat call (add/remove mktime calls if you want to be sure):
open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2845, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=2845, ...}) = 0
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\5\0\0\0\0"..., 4096) = 2845
lseek(3, -1811, SEEK_CUR)               = 1034
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\5\0\0\0\0"..., 4096) = 1811
close(3)                                = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 9), ...}) = 0
write(1, "2085920896\n",<PHONE_NUMBER>96
)            = 11
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2845, ...}) = 0
write(1, "2085920897\n",<PHONE_NUMBER>97

We do not use localtime either.
From your comment;

The localtime_r() function does the same, but stores the data in a user-supplied struct.
It need not set tzname, timezone, and daylight.

For the example you have shared; again, mktime reaches to DB for only negative dst value. There is no other way around. Force setting it up to +1 doesn't make much difference there.

This implementation replaces timegm to mktime with an additional arithmetic operation. Otherwise we would have to do below;
time_t
my_timegm(struct tm *tm)
{
    time_t ret;
    char *tz;

   tz = getenv("TZ");
    setenv("TZ", "", 1);
    tzset();
    ret = mktime(tm);
    if (tz)
        setenv("TZ", tz, 1);
    else
        unsetenv("TZ");
    tzset();
    return ret;
}

I don't understand your comment there. I just added to my example to use all values of tm_isdst and it always acts as if it calls tzset:
int main() {
  struct tm tm = {};
  time_t t = mktime(&tm);
  printf("%u\n", t);
  tm.tm_sec = 1;
  tm.tm_isdst = -1;
  t = mktime(&tm);
  printf("%u\n", t);
  tm.tm_sec = 2;
  tm.tm_isdst = 0;
  t = mktime(&tm);
  printf("%u\n", t);
  tm.tm_sec = 3;
  tm.tm_isdst = 1;
  t = mktime(&tm);
  printf("%u\n", t);

  tzset();
  tzset();
  return 0;
}

open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2845, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=2845, ...}) = 0
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\5\0\0\0\0"..., 4096) = 2845
lseek(3, -1811, SEEK_CUR)               = 1034
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\5\0\0\0\0"..., 4096) = 1811
close(3)                                = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 9), ...}) = 0
write(1, "2085920896\n",<PHONE_NUMBER>96
)            = 11
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2845, ...}) = 0
write(1, "2085920897\n",<PHONE_NUMBER>97
)            = 11
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2845, ...}) = 0
write(1, "2085920898\n",<PHONE_NUMBER>98
)            = 11
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2845, ...}) = 0
write(1, "2085920899\n",<PHONE_NUMBER>99
)            = 11
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2845, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2845, ...}) = 0

Whenever tzset is called it does a stat system call to /etc/localtime, and whenever I call mktime it does the same, as if it had called tzset.

@MSLaguana I see what you are comparing. See my sample above (https://github.com/Microsoft/ChakraCore/pull/3420#issuecomment-317474692)
In order to produce a correct result, we have to do the same. However, this PR replaces that with a single mktime instead.

How does performance compare? From what I can see, we will still be waiting on syscalls that may touch the disk every time we call one of our date conversion functions because they still implicitly call tzset. Is that correct? Do you see performance improvements here?

they still implicitly call tzset

No they won't. Once again, there is no timezone set. You are mixing tzset with reaching to db for getting DST. We've been both setting tz (forth and back) and environment. Now we don't. We still reach DB. We have to.

Then let me put it this way: We still make system calls each time we perform date conversions, which will still have an adverse perf impact. Do you actually see perf improvements? When I was experimenting previously, I didn't see gains until I had removed everything that would make the stat system calls.

Simplified the interface further. Performance gain is up to 10 times!
Please review. See also updated PR comment https://github.com/Microsoft/ChakraCore/pull/3420#issue-245118963

We still make system calls each time we perform date conversions, which will still have an adverse perf impact.

@MSLaguana we have to make some calls to get DST. We could embed a DST db but that would be beyond the scope.

I think that this newest change looks good, but I have one concern: The docs for localtime_r state
The localtime_r() function does the same, but stores the data in a user-supplied struct.
It need not set tzname, timezone, and daylight

I think that for portability, we might need to guarantee that we invoke tzset at least once, to make sure that the timezone is loaded. I found some (old, yes) discussions showing that the behavior differed between implementations if you don't call tzset: https://mm.icann.org/pipermail/tz/2008-January/014773.html
I'm also not sure what the behavior would be around daylight savings changes in that case, if it would not update until the next time tzset was invoked, and so if it was run on a system with localtime_r which didn't invoke tzset, it might never get updated.

Looks like my DST concern is backed up by some SO questions: https://stackoverflow.com/questions/19170721/real-time-awareness-of-timezone-change-in-localtime-vs-localtime-r

@MSLaguana I would leave this (system timezone change) responsibility to host application. If we will be caring about TZ changes, we could do it under UtcToLocal but that would take 10% extra perf.
If host cares about TZ changes, they can sync in fitting time frame easily. They have to do it for their application anyways! I'm not sure why we need to invest 10% perf on something won't be used?

My perspective here is that since by-spec the JS engine is expected to deal with computing the timezone offset and daylight savings time, the host should be able to rely on that behavior and not have to know about internal details like how timezones are handled.
I'd prefer an approach more similar to what we do on windows, where we have a cache that expires every ~second. In the xplat case that could be invoking tzset at most once a second. We'd still get significant gains while being as correct WRT system timezone changes as possible.

@MSLaguana well, once we trigger tzset, we do the math for host app too. no? Besides, node doesn't do anything for this? Also, having time zone changed for a server or user machine is not something in common? So, why do we bother dealing with it? ChakraCore is a library and handles timezone for datetime stuff according to spec. We just don't care if system timezone has changed. It is up to host app? On Windows, system deals with that, not the host app or chakracore.

Right: On windows, the system deals with it, and ChakraCore asks the system. On xplat, if we don't invoke tzset then we don't ask the system.
However, I just ran an experiment. On node running v8 on linux, if you change the system timezone, then it behaves in an inconsistent way:
> var d = new Date()
undefined
> d.toString()
'Mon Jul 31 2017 13:17:33 GMT-0700 (PDT)'
// System timezone change
> d.toString()
'Mon Jul 31 2017 13:17:33 GMT-0700 (ACST)'
> var d2 = new Date()
undefined
> d2.toString()
'Mon Jul 31 2017 12:19:48 GMT-0800 (ACST)'
> d.toString()
'Mon Jul 31 2017 13:17:33 GMT-0700 (ACST)'
// System timezone change
> d.toString()
'Mon Jul 31 2017 13:17:33 GMT-0700 (PDT)'
> d2.toString()
'Mon Jul 31 2017 12:19:48 GMT-0800 (PDT)'

Currently node-chakracore behaves in a way that I feel is more correct, because we do check the system timezone every time:
> var d = new Date()
undefined
> d.toString()
'Mon Jul 31 2017 13:26:11 GMT-0700 (PDT)'
// Change system timezone
> d.toString()
'Mon Jul 31 2017 13:26:11 GMT-0700 (ACST)'
> var d2 = new Date()
undefined
> d2.toString()
'Tue Aug 01 2017 05:56:30 GMT+0930 (ACST)'
// Change system timezone
> d2.toString()
'Tue Aug 01 2017 05:56:30 GMT+0930 (PDT)'
> d.toString()
'Mon Jul 31 2017 13:26:11 GMT-0700 (PDT)'

This is still arguably wrong, since the timezone abbreviation always reports the current timezone and not the timezone of the date, but at least times are correctly converted to local time.
However, given the behavior of node-v8, I am not opposed to matching that behavior by only checking the system timezone once, as long as daylight savings behaves correctly (I'm not sure how best to check that experimentally).

https://tc39.github.io/ecma262/#sec-local-time-zone-adjustment

An implementation of ECMAScript is expected to determine the local time zone adjustment. The local time zone adjustment is a value LocalTZA measured in milliseconds which when added to UTC represents the local standard time.

If the timezone did change and as a result this computation did not show the current local standard time, we would be in violation of the spec (at a minimum, in violation of the spirit of the spec).
https://tc39.github.io/ecma262/#sec-daylight-saving-time-adjustment

An implementation of ECMAScript is expected to make its best effort to determine the local daylight saving time adjustment.

There's always potential for being incorrect on the edge cases, no matter how frequently you check, unless you ensure that the exact time you get when you determine the TZ is the same as the time you are formatting.
Worst case, there's a glitch in those edge cases and maybe someone notices (or not) but the glitch goes away when you make a new request before the TZ will be corrected at that time.
best effort tells us we should do the best we can, but if we're out of date by a small interval or the system is wrong (which we can't do anything about) then we're okay as far as the spec is concerned.

Also, having time zone changed for a server or user machine is not something in common? So, why do we bother dealing with it?

It's a good point that this isn't especially likely to come up in practice. However, there will be long running server processes which would probably like to have the current date and timezone information if something changed (including political changes). Which is precisely why we can cache the result and only check occasionally (~1s = 1000-2000 requests).
We should take the spirit of the spec and do best effort to get the best possible answer while getting good performance.
Making the expensive check only every ~1s seems like a good compromise here.

@MSLaguana @dilijev Thanks for the comments.
I understand your points. Well, on OSX, we could listen to an event. Although we do cache the time and make sure it's going forward, we could arrange some tricks.
However, we can not sync to tz instantly; unless there is any trigger to UTCToLocal / Get new time etc.! (which I understood you give a 1s update time if any of these are being called, please read more.)
On Linux, timezone data is cached when the process is started. Unless process calls tzset, the mapped data will remain as is. tzset is used to read the database and update process's mapping. Nothing more. Heck, that's why it's slow and implemented this way.
One more interesting part; If a particular time zone data is not available?? not sure the behavior. If system tzdata is updated? this will require system restart on linux.
Concern;
If, for any reason, system time zone changes and my process reacts to that because of a library I did embed for executing JS code. That may turn out to be unexpected. Especially, when I have multiple processes and same library doesn't sync similarly (one may collect a new data variable while other one sticks to tick count?), it is a bigger problem to overcome.
One example;
My host app (along with the many child processes) don't care about time zone changes (including political ones) and use time as a going forward piece of variable. If, for any reason, time goes to backwards, what will happen?
One may argue that time goes backwards (an hour) during DST? Well, that's part of the current tz configuration and applies to all processes simultaneously.
Previously, every piece of time information we provide was synced hence the behavior across the processes were consistent. (hence extremely slow)
I'm okay with the best efforts. I'm just against altering the host behavior other than the currently expected behavior while sacrificing performance and other potential issues.

@MSLaguana @dilijev opened #3467 to track the problem and continue to discussion on updating tzdata if system timezone changes while a process is actively running.

@MSLaguana @dilijev Thanks for the review


screen flicker when zooming (3d)

Godot version
3.4.2.stable
System information
windows 10, Intel(R) Core(TM) i7-4860HQ CPU @ 2.40GHz   2.39 GHz, 16.0 GB ram
Issue description
screen flicker when zooming in/out in a 3d scene
https://user-images.githubusercontent.com/59080934/155105196-48df9f60-b469-4638-bfb0-81675303c197.mp4
Steps to reproduce

Minimal reproduction project
No response

Can you reproduce this if you enable Interface > Editor > Update Continuously in the Editor Settings?

Also is it a particular scene, or any scene? If there is something dodgy e.g. in a model causing a NaN this could potentially cause strange behaviour.

It happened after a couple of hours of working. I don't think it had anything to do with the scene since it was very simple.
@Calinou : I will check this, if it happens again today.

No. It hasn't happened again.

Closing, as nobody has been able to reproduce this recently. Please comment if you can still reproduce this on 3.4.4 or later.


command-line issue in code sample

The very last code sample in point 6 shows two commands on the same line. A line break needs to be added.

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

ID: 23cafb82-93a6-178f-0932-c844f9af42b2
Version Independent ID: bc7c7935-2f13-2b38-e315-e920376f026f
Content: Onboard to Microsoft Defender for Cloud with PowerShell
Content Source: articles/defender-for-cloud/powershell-onboarding.md
Service: defender-for-cloud
GitHub Login: @memildin
Microsoft Alias: memildin

@davidsandbrand
Thanks for your feedback! We will investigate and update as appropriate.

Thanks! I made a pull request to add a line break.
@memildin please review https://github.com/MicrosoftDocs/azure-docs-pr/pull/182318


Failsafe vs Hystrix

I'd like to have a small comparison (pros/cons) between your library and others such as Hystrix.
It might help people decide which library best suits their needs.

Let me quickly caveat this by saying I am not an expert or even a user of Hystrix, so what I can comment is based on my reading of its docs.
Failsafe is intended to be lightweight and to blend as seamlessly into your code as possible while Hystrix is a bit more imposing but offers many more features as a result, such as response caching, request collapsing and automatic threadpool management. Generally, Hystrix is more oriented around the execution of remote requests, and offers features around that, while Failsafe is more general purpose failure handling for any type of execution. To summarize a few of these differences:

Executable logic can be passed through Failsafe as simple lambda expressions or method references. In Hystrix, your executable logic needs to be placed in a HystrixCommand implementation.
Failsafe executions are run either synchronously or asynchronously on a user supplied ThreadPool / Scheduler. Hystrix executes commands on internal thread pools, with one pool per dependency.
Failsafe circuit breakers are somewhat more configurable than Hystrix circuit breakers. For example, Failsafe circuit breakers support execution timeouts and configurable success thresholds (Hystrix only performs a single execution when in half-open state to determine whether to close a circuit).
The Hystrix API makes heavy use of RxJava Observables, where command executions can be converted to Observables. Failsafe executions are either synchronous, or return FailsafeFuture.

Those are the main thoughts that stand out to me.
Reference: https://github.com/Netflix/Hystrix/wiki/How-it-Works#CircuitBreaker

Thanks for you quick answer!

This should be copy-pasted in the main README.md (which BTW is a little confusing right now as the listeners API has changed from what is available on Maven Central...)

@axelfontaine Will do. Also, rolled back changes to the README for the listeners API until the next release has gone out.

This content has been moved to a wiki page so it can be better maintained as needed:
https://github.com/jhalterman/failsafe/wiki/Comparisons#failsafe-vs-hystrix

@jhalterman I don't quite understand the following point:

Failsafe circuit breakers can be shared across different executions against the same component (such as a web service), so that if a failure occurs, all executions against that component will be halted by the circuit breaker.

This isn't like THE way that circuit breakers should work? If each execution will have his own circuit breaker it will never fail fast (aka open CB) and won't accomplish any purpose.
What is the scenario that you are specifying with this point?
Thanks.

@gabrielgiussi Yes, but depending on the CircuitBreaker implementation, applying the same breaker to a set of related executions can carry some constraints. In Hystrix (which I am not an expert on), you might place a group of operations in the same HystrixCommand. But doing so means that all of the executions in that command will be subject to the same configuration/fallback options.


Support for 2023.6 and above (Python 3.11 support needed?)

I may have this wrong, but this integration appeared to break in 2023.6, so I am assuming it's the Python version upgrade to 3.11 that broke it. I may be one of a very small minority of people that use this integration, but it would be nice to get it working again.
Here are the errors that appear in the logs.
This error originated from a custom integration.

Logger: sonyapilib.device
Source: custom_components/sony/media_player.py:201
Integration: sony (documentation)
First occurred: 11:37:13 (4 occurrences)
Last logged: 11:37:27

HTTPError: HTTPConnectionPool(host='<IP_ADDRESS>', port=50202): Max retries exceeded with url: /appslist (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2da85d10>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
HTTPError: HTTPConnectionPool(host='<IP_ADDRESS>', port=52323): Max retries exceeded with url: /dmr.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f31cdd090>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
HTTPError: HTTPConnectionPool(host='<IP_ADDRESS>', port=50001): Max retries exceeded with url: /Ircc.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7e5af57a50>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
failed to get device information: HTTPConnectionPool(host='<IP_ADDRESS>', port=50001): Max retries exceeded with url: /Ircc.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7e5af57a50>: Failed to establish a new connection: [Errno 113] Host is unreachable'))

Doesn't look like a python error, but your device does not seem to be reachable?


docs: add %checks and T is x

(and even more advanced/useful)

This kind of comments make this project lose all its credibility, just FYI

Is the comment inaccurate? If so, you could elaborate

They do the same thing

They don't do the same thing @FezVrasta. You can't use %checks in declarations in all the cases where you can use x is T, making its usefulness limited.
Below is one really useful example taken from the TypeScript's library definition (Array.filter):
interface Array<T> {
  filter<S extends T>(callbackfn: (value: T, index: number) => value is S): S[];
}

This makes is possible refine the type of an Array by filtering it.
You can't model this with %checks (or with Flow altogether). If you could, the official library would do it - it doesn't.
Additionally, %checks doesn't work in class methods.
I apologize for not being clear in my first comment, but my intention is completeness, not bias against any of the two technologies.

How can you say the Array#filter TypeScript's type definition is correct? It expects the callbackFn to return a type extended from T while it should accept any value and cast it to boolean 🤔
The Flow definition seems way more accurate, since it allows to return any from the callback.

That's not the meaning of value is T. The return value still has to be a boolean (just like with %checks).
The difference is in the fact that such defined boolean has extra meaning attached to it, in that it ensures the mapping between: true and value is T, versus in the case of Flow, it ensures the value is "checked" against the logic within the body of the function.
Here's an example comparing the two in respective playgrounds: TypeScript vs Flow
All in all, %checks is similar to TypeScript's param is T, with these exceptions:

%checks cannot appear in class methods (that's why it cannot be defined in the Array case)
you cannot mark a check with an arbitrary type in Flow - it only works based on the logic defined in the body of the function (i.e. things like "typeof", "instanceof" will work, but not complex cases where you reuse logic from a different function)

The two reasons above make TypeScript's param is T more powerful and useful.


DBUS_EXECUTION_EXCEPTION

Many DBUS_EXECUTION_EXCEPTION exceptions are thrown when trying to connect. After the exception is thrown, if you connect and disconnect using bluetoothctl , then the next connection attempt works correctly.

Can you share some mote information? For example a log so I can see what's happening?

It seems like between the time that the device is discovered and connection attempt is made, scan is stopped.
If you want i can monitor dbus to get more information
Thanks
``10:03:36.287 [Central-callback] [INFO ] AdvertisingRegistryBlessed     - DE:7D:87:73:77:0A    | -49   | connectable     | 1h 1.286s  | 4934807f-6c18-49fa-a433-e9ed38a7bc60
10:03:36.287 [Central-callback] [INFO ] AdvertisingRegistryBlessed     - Last BeaconDump status is : null
10:03:36.287 [Central-callback] [INFO ] AdvertisingRegistryBlessed     - We should download start downloading!!
10:03:36.476 [Central-callback] [DEBUG] Utils                          - CB:2A:CC:32:94:57 (-65 >>  		 05 04 45 51 07 03 00 0E 01 2A BD 00 0D 80 00 00
10:03:36.476 [Central-callback] [DEBUG] Utils                          - CB:2A:CC:32:94:57 (-65 >>  		 00 00 26 F9 FA 00 FD
10:03:36.629 [Central-callback] [DEBUG] Utils                          - E1:B8:4E:E9:C7:4F (-54 >>  		 05 04 45 51 07 02 00 28 05 0F AB 00 0E 00 00 00
10:03:36.629 [Central-callback] [DEBUG] Utils                          - E1:B8:4E:E9:C7:4F (-54 >>  		 00 00 37 87 EE 81 81
10:03:36.975 [Central-callback] [DEBUG] Utils                          - EE:DC:23:67:9D:9D (-66 >>  		 05 05 45 50 01 04 00 21 01 2A BD 00 0C A6 00 00
10:03:36.975 [Central-callback] [DEBUG] Utils                          - EE:DC:23:67:9D:9D (-66 >>  		 00 00 00 00 34
10:03:36.976 [Central-callback] [DEBUG] Utils                          - C1:59:F2:C8:0B:1D (-67 >>  		 05 05 52 50 01 04 00 21 01 2A BD B7 0C A6 00 00
10:03:36.976 [Central-callback] [DEBUG] Utils                          - C1:59:F2:C8:0B:1D (-67 >>  		 00 00 00 00 34
10:03:37.669 [Central-callback] [DEBUG] Utils                          - E1:BE:5A:22:7D:4D (-58 >>  		 02 01 45 43 01 02 81 35 01 64 2D 2F 1F
10:03:37.693 [Central-callback] [DEBUG] Utils                          - FF:F4:7B:55:8B:C9 (-61 >>  		 05 04 45 51 07 03 00 0F 01 2A C0 00 0E 80 00 00
10:03:37.694 [Central-callback] [DEBUG] Utils                          - FF:F4:7B:55:8B:C9 (-61 >>  		 00 00 26 F2 FE 03 FD
10:03:37.789 [Central-callback] [DEBUG] Utils                          - F9:1F:FC:85:F3:64 (-64 >>  		 05 05 45 50 01 04 00 22 01 2A BF 00 0C A3 00 00
10:03:37.789 [Central-callback] [DEBUG] Utils                          - F9:1F:FC:85:F3:64 (-64 >>  		 00 00 00 00 34
10:03:38.399 [Central-callback] [DEBUG] Utils                          - DE:7D:87:73:77:0A (-47 >>  		 AA FE 00 04 49 34 80 7F 6C 18 49 FA A4 33 E9 ED
10:03:38.399 [Central-callback] [DEBUG] Utils                          - DE:7D:87:73:77:0A (-47 >>  		 38 A7 BC 60 00 00
10:03:38.399 [Central-callback] [INFO ] AdvertisingRegistryBlessed     - --------------------------------------------------------------------------------
10:03:38.399 [Central-callback] [INFO ] AdvertisingRegistryBlessed     - DE:7D:87:73:77:0A    | -46   | connectable     | 1h 3.399s  | 4934807f-6c18-49fa-a433-e9ed38a7bc60
10:03:38.400 [Central-callback] [INFO ] AdvertisingRegistryBlessed     - Last BeaconDump status is : null
10:03:38.400 [Central-callback] [INFO ] AdvertisingRegistryBlessed     - We should download start downloading!!
10:03:38.400 [Central-callback] [INFO ] BluetoothHandler               - Found advertising and not in blacklist.. Attempting to connect
10:03:38.458 [Central-signal ] [INFO ] BluetoothCentralManager        - scan stopped
10:03:39.064 [Central-queue  ] [INFO ] BluetoothPeripheral            - peripheral is connecting
10:03:39.065 [Central-queue  ] [INFO ] BluetoothPeripheral            - connecting to '' (DE:7D:87:73:77:0A)
10:03:45.509 [Central-queue  ] [ERROR] BluetoothPeripheral            - Method "Connect" with signature "" on interface "org.bluez.Device1" doesn't exist
10:03:45.509 [Central-queue  ] [ERROR] BluetoothPeripheral            - connection failed with status 'DBUS_EXECUTION_EXCEPTION'
10:03:45.510 [Central-callback] [INFO ] BluetoothHandler               - connection failed with status DBUS_EXECUTION_EXCEPTION with peripheral DE:7D:87:73:77:0A
10:03:45.663 [pool-6-thread-1] [INFO ] SyncThread                     - Sync Items started
10:03:45.838 [pool-6-thread-1] [INFO ] RestUtils                      - Http Post Successfully sent to server /sync?repositories=FullItemSnapshotItemRepository&offset=2994053
10:03:45.842 [pool-6-thread-1] [INFO ] SyncThread                     - Sync BeaconDumps started
10:03:45.884 [pool-6-thread-1] [INFO ] RestUtils                      - Http Post Successfully sent to server /sync?repositories=BeaconDumpRepository&offset=2993843
10:03:45.886 [pool-6-thread-1] [INFO ] NetworkStatusThread            - onSync:: OnSync received with list size: 0, error: false
10:03:45.886 [pool-6-thread-1] [INFO ] AdvertisingRegistryBlessed     - Since last check found advertisings are: 214
10:03:45.886 [pool-6-thread-1] [INFO ] SentinelAdvertisingAccumulator - Added advertisings to queue: 9
10:03:45.886 [pool-6-thread-1] [INFO ] DeviceMessageConsumer          - Added 0 new items
10:03:45.886 [pool-6-thread-1] [INFO ] DeviceMessageConsumer          - Sent advertising since last check: 3
10:03:50.541 [Central-signal ] [INFO ] BluetoothCentralManager        - scan started
10:03:51.662 [Central-callback] [DEBUG] Utils                          - CB:2A:CC:32:94:57 (-61 >>  		 05 04 45 51 07 03 00 0E 01 2A BD 00 0D 80 00 00
10:03:51.662 [Central-callback] [DEBUG] Utils                          - CB:2A:CC:32:94:57 (-61 >>  		 00 00 26 F9 FA 00 FD
10:03:51.803 [Central-callback] [DEBUG] Utils                          - E1:B8:4E:E9:C7:4F (-62 >>  		 05 04 45 51 07 02 00 28 05 0F AB 00 0E 00 00 00
10:03:51.803 [Central-callback] [DEBUG] Utils                          - E1:B8:4E:E9:C7:4F (-62 >>  		 00 00 37 88 EE 81 81
10:03:52.272 [Central-callback] [DEBUG] Utils                          - DE:7D:87:73:77:0A (-49 >>  		 AA FE 00 04 49 34 80 7F 6C 18 49 FA A4 33 E9 ED
10:03:52.272 [Central-callback] [DEBUG] Utils                          - DE:7D:87:73:77:0A (-49 >>  		 38 A7 BC 60 00 00
10:03:52.273 [Central-callback] [INFO ] AdvertisingRegistryBlessed     - -----------------------------------------------------------------------

I have seen this occasionally also. It almost looks like the peripheral hasn't been created properly on the dbus. You could try adding a longer delay before connecting....but I have no clue what is causing this issue. You could try using btmon to see what is happening? I think it is a Bluez bug but I am not sure.
And indeed I am stopping the scan before connecting. Some adapters cant handle connecting while scanning. Scanning will be resumed automatically after the connection succeeds or fails.

What is the Bluetooth version of your device？

Your issue could be causes by the stopScan() being called before connecting. I removed that in the latest release (0.50). Please have a look if that fixes your issue.


Weird terminal in VSCode when using default devenv setup (with direnv)

Describe the bug
I get a weird terminal if using devenv with direnv in VSCode.

Do you see this \[\]?
The problem is that VSCode detects a somehow custom bash instead of /usr/bin/bash. It uses /nix/store/4vzal97iq3dmrgycj8r0gflrh51p8w1s-bash-5.2p26/bin/bash

I know that this is the expected behavior of VSCode. I use the default settings, that VSCode looks for the next available bash.
My problem is: Why does the default devenv setup modify this bash although my setup does not contain any instructions to do this? I am using just the default devenv.nix from a fresh devenv init.
What is the difference between /nix/store/4vzal97iq3dmrgycj8r0gflrh51p8w1s-bash-5.2p26 and the common bash installation.
I am using Arch Linux with up-to-date package and I think this should be the same as the used nix package.
$ pacman -Q bash
bash 5.2.026-2

Do I have to install another Nix package like bashInteractive or is this a bug of devenv that it enforces a specific (and maybe bad) bash installation/version?
To reproduce
See https://github.com/normanjaeckel/roc-with-devenv/tree/e5ed8f025b8df93fab4b8f9ad99f159071c24200. If you open VSCode in this simple example project (direnv allow must be called before opening VSCode) you see this bug.
Version
1.0.1
direnv profile: https://gist.github.com/normanjaeckel/5e1dd2d189b09e9f60bde030ca5eecc8

I've seen that too, I suggest not using direnv for entering VSCode, but rather using direnv plugin inside VSCode to activate the environment.
I'd love to see this fixed though, I have no idea how.

This is really bugging me, since I am trying to ship vscode as part of the devenv and have it run on devenv up.
I had it so many times that dev's didn't install extensions and kept fighting the cicd pipeilne because of simple formatting issues.. This is why I want to use vscode-with-extensions ... but a broken terminal in vscode is a no-no for that.
My current workaround is running devenv shell inside the vscode terminal manually. This works on my nixos, on my fedora 39 box I need LD_PRELOAD= devenv shell otherwise i get a segfault. I would really like to help debugging and resolving this issue, but I am a bit lost because I don't know where to start.


Formatting and complete example coverage for resources.

Solves #262
There absolutely needs to be a review and continual fixes of the docs information and better explanation via the resource schemas. But having a basic example that we can guarantee deploys is a good start.

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


Have docs use preferred import paths, not longest import paths

Addresses CO-789 and CO-794.
However, we'll need two follow-up changes:

Since our notebooks use hardcoded URLs as docs links, we'll need another PR to un-break all these links.
Some logic in certain algorithm modules isn't included in composer.algorithms (e.g., blurpool nn.Modules). This needs to get added to the algorithms __init__.py or something.

Design choices:

Follows PyTorch docs templates + API reference structure, except that it's still possible to expand/collapse modules in the sidebar. PyTorch has this disabled, and I could disable it easily, but I left it as is to minimize the amount of logic changed in this PR.

In particular, there's now a unique page for each class and function, rather than one big page for everything in a module. This single page is also consistent with basically the whole pydata ecosystem.

We manually choose which modules to include in the API reference, as well as optional members to blacklist to avoid redundancy.
The actual .rst file for a given module is autogenerated using a simplified version of our current logic for adding autosummary tables to module docstrings. I was writing them out manually, but then realized that I'm literally just pasting stuff from the __init__.py files in a way I could easily automate.
Everything available under composer is only shown in composer. This mostly means that the composer.core page is pretty empty.

Sidebar:
Before:

After:

Pages
Before:
What you get when you click the top-level Alibi link in the sidebar:

Actual Alibi algorithm, in the middle of composer.algorithms.alibi.alibi module docs:

After:
Alibi algorithm docs, which you're taken to immediately from the compser.algorithms sidebar link:

🤔 is there some code missing from this push? The generated docs don't have an API reference anymore, and in the PR diff I don't see the modules being manually entered, just a refactored conf.py file?

Fixed the API reference not showing up (and then not building when run locally, which caused the unit test failure).

this looks 🔥 , defer to @bandish-shah for a careful look though

The last line in the API docs is too long.. should we increase the sidebar, or rename the utils to something shorter?

^ Fixed the sidebar by injecting a little custom CSS (seems to be the only way to do this with the Furo theme).
@bandish-shah This should be ready for review


Slider thumb offset bug

Hello noticed this slight issue with the slider component.
I create a simple nextjs page like this
import { Slider } from '@material-tailwind/react'

const Test = () => {
  return (

Test

      <Slider className="" />

  )
}

export default Test

This creates a page like this with the slider thumb slightly offset to the top.
I have tested this on different browsers and removed all css except for tailwind.
Hopefully this can be resolved.
Thanks :)

Hey there,
I can't reproduced that issue, could you please help provide me a link or repo?
Regards,
Sajad

I am also unable to reproduce the issue, in a blank project.

Also for anyone with the same issue, I tailwindcss and material tailwind to the latest versions. Then deleted all of my node modules then reinstalled everything and that fixed the issue.


Climate card: show hvac-modes-control first instead of temperature-control

Requirements

[X] I have updated Mushroom to the latest available version
[X] I did a search to see if there is a similar issue or if a pull request is open.

Is your feature request related to a problem?
I would like to be able to set hvac-modes-control as the default on first call. Currently temperature-control is displayed first. This would also go better with the Cover card.
Currently the first call looks like this:

It would be nicer if I could set the first call to look like this:

Describe the solution you'd like
A toggle that allows you to choose what to display by default.
Describe alternatives you've considered
No response
Additional context
No response

Second this - The toggle function currently switches to the "heat/cool auto" mode which doesn't work on my device so I need to select the mode each time.  Having it visible first would save a click


Cleans up duplicated TSOutboundConnectionMatchType definition

Can you tell me why you chose to keep the one in apidefs.h.in ?
A comment in HttpProxyAPIEnums.h says "Traffic Server SDK API - HTTP related enumerations". I'm not sure which file I should edit when I want to add some enumeration.

I threw the dice and chose that one. Really it seems better that it should be in HttpProxyAPIEnums.h.
I threw up this PR because I ran across this yesterday and thought it was kind of a WTF and was hoping the community had a better idea what's going on here (since it's the only struct/typedef like this)

@SolidWallOfCode @shinrich I'd like to hear opinions from people who added this file and the guard.

[approve ci docs]

I guess this way the plugin, like conf-remap, can use the same definition.

I'm trying to remember. Clearly the enum is in "apidefs.h" so it is available to plugins. I think it was elsewhere both because of legacy (it had always been there) and to avoid additional dependencies (e.g., any core code that needs to use those values must include all of "apidefs.h"). Maybe things have changed elsewhere, but I know I tried doing this earlier and it didn't compile for lack of that include, but I don't see such a change in your PR. If this works without such a change it seems reasonable.

Everyone agree now this is good?  Don't want to jump the gun by approving.

[approve ci]

[approve ci]

Cherry-picked to v9.1.x branch.


Add medulloPackage as analysis method

https://github.com/d3b-center/medullo-classifier-package can now work as a single sample predictor -- we need to include it as a comparison method and understand its functionality
Once Single Sample Classification PR (their # 6) is merged:

implement test_medullo() in utils/modeling.R with run_one_model() and run_many_models()
update documentation throughout repo
update each notebook to include medullo comparison

Rathi, K. S. et al. A transcriptome-based classifier to determine molecular subtypes in medulloblastoma. PLoS Comput. Biol. 16, e1008263 (2020)

One concern about using this method is training data leakage. Many (all?) of the data sets used to train medullo also appear in our study. We need to be intentional about limiting our medullo testing to data sets not appearing in their training set. This may take the form of a distinct test analysis on particular data sets that don't overlap with their study.

I believe the only training datasets are:

GSE37418
EGAD00001001899, which notably does not appear to have a count or abundance matrix on GEO (the only GEO Series associated with the publication is from mouse).

Awesome -- glad to be wrong about this!
For each repeat, we split our training/testing sets at the project level. In the baseline model code as of now, half of the projects from each platform go to training, and the remainder go testing. We should be able to eliminate any repeat where GSE37418 samples appear in the test set.

We discussed two options for approaching this:

Add some logic that skips medulloPackage if GSE37418 is in the test data.
Always force GSE37418 to be in the training data for all the repeats, which should be feasible since we have many more microarray studies than RNA-seq studies and it is HGU133plus2.

@envest to always force GSE37418 to be in the training data
@jaclyn-taroni to implement test_medullo() in utils/modeling.R with run_one_model() and run_many_models()

I have forced GSE37418 to always be in the training data... will implement regenerating the models tomorrow and then file PR of branch envest/always_train_with_GSE37418.
Would also note that train/test study information is currently captured in each repeat's metadata -- this data frame contains training set metadata for the first repeat and includes a "study" column: baseline_models[[1]]$train_metadata


Preview transparancy background overlaps

Description
When the preview style there is a set border radius that is bigger than zero it causes a unclean overlay of the transparancy grid below it to overlap which results in an ugly looking edge.

Steps to reproduce

Add a <Preview /> Component
Add a style prop with a border radius > 0

Snack or a link to a repository
No response
Reanimated Color Picker version
2.2.0
React Native version
0.71.6
React Native Reanimated version
2.14.4
React Native Gesture Handler version
2.9.0
Platforms
Android, Web
JavaScript runtime
JSC
Workflow
Expo managed workflow
Architecture
Paper (Old Architecture)
Build type
Debug mode

This is not happening on ios

Also there is another issue with transparancy that this stuff sometimes happens when adding a transparancy. It should also be possible to block the alpha setting completely from the color picker if you don't want it

Unfortunately, I couldn't solve the unclean overlay issue since it depends on both the rendering engine and the screen DPI. However, I'm currently working on fixing the preview transparent issue. If you could provide the exact style you're applying, that would be really helpful. In the meantime, I suggest trying this workaround, which might help:
Instead of using the Preview component, consider using PreviewText and applying your style to its container.
// inside your component
const selectedColor = useSharedValue("#fff");
const previewColorStyle = useAnimatedStyle(() => ({ backgroundColor: selectedColor.value }))

const onColorChange = ({ hex }) => {
  selectedColor.value = hex;
}

// inside the color picker wrapper
  <Animated.View style={[styles.previewContainer, previewColorStyle]}>
    <PreviewText colorFormat='hex' />
  </Animated.View>

Wouldn't it be a solution to only display it when the transparancy falls below a certain threshold?

Also my current styles:
Container:
                            width: "100%",
                            height: "50%",
                            borderRadius: 0,
                            borderTopRightRadius: 32,
                            borderTopLeftRadius: 32,

Text:
                                fontSize: 20

Also your workaround doesn't really seem to work for me. The text is working properly but the color isn't at all. Neither the default or the changed color is showing up properly. Also the text should include a contrast check like in the normal Preview.

The issue where two layers with the same border radius on top of each other do not match exactly is likely caused by the way the graphics are rendered by the operating system or the web browser.
Rendering engines such as Core Animation on iOS, Skia on Android, and WebKit on the web use anti-aliasing to smooth out the edges of graphics to make them appear less jagged. This process can cause a slight overlap or gap between objects that have the same border radius, especially if they have different colors or transparency values.
While anti-aliasing can improve the overall appearance of graphics, it can also lead to small inconsistencies between objects that are close together. This is a common issue in design and is often addressed through careful adjustment of the graphic elements or the use of different techniques or tools to achieve the desired effect.


Option to turn off indentedCode tokenizer

I'm not sure if this is a good idea or not, but thought I'd brought it up since it seemed important for my use.
I am processing Markdown in such a way that I'd love to prevent the parser from interpreting indented blocks as code — just paragraphs will do.
I found that I can accomplish this with the following:
delete remarkParse.Parser.prototype.blockTokenizers.indentedCode;

Because the Parser is part of the public and documented API, maybe this is safe, and the preferable way to turn off this feature.
If you don't consider it safe, do you think it would be helpful to other remark users to expose an option to turn off this feature?

Yes, it’s the safe thing to do! I think we could make it easier for people to use by publishing this plugin idea I had recently, or to add docs on this, or to change the API?

Created a PR (#271) for the quickest solution — documentation — since it seems to me this might be a rare use case.


is the metered billing already live?

https://docs.microsoft.com/en-us/azure/marketplace/partner-center-portal/create-new-azure-apps-offer#technical-configuration-offer-level

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

ID: 7f4b1ccc-267c-6ae7-a72e-a1e6a7ff7b20
Version Independent ID: 314debdd-2c23-49d7-d7d0-3b86735db50a
Content: Create an Azure application offer - Microsoft commercial marketplace
Content Source: articles/marketplace/partner-center-portal/create-new-azure-apps-offer.md
Service: marketplace
Sub-service: partnercenter-marketplace-publisher
GitHub Login: @qianw211
Microsoft Alias: dsindona

@santhoshbomma9 yes, metered billing is live.

@santhoshbomma9 yes, metered billing is live.

Hi @qianw211 , I dont see that feature for Azure application yet. I know it is live for SaaS but for Azure Apps I dont have a UI to specify any meters.

Hi @santhoshbomma9, if you aren't seeing metered billing UI for an Azure application / managed application plan please open a support ticket (you will see it on managed application plans only, not solution template plans).

you are right @msjogarrig , it is visible for new azure managed app offers, this is great thank you!


Support operating systems

The client now allow to call operating_systems to return all available
operating systems. The name then can be passed os value for
os_type of vm. Also, I've added support for passing os params that are
compatible with the form we get from vm details:
:os => { :type => 'rhel_7x86',
        :boot => ['network','hd'],
        :kernel => '..',
        :initrd => '..',
        :cmdline => '.. }

The main reason is to make this option configurable even when going over fog
(that has the :os attribute defined, but not the :os_type and others.

Relates to this bug https://bugzilla.redhat.com/show_bug.cgi?id=1315281

I assume it replaces https://github.com/abenari/rbovirt/pull/99, can you confirm please?

@lzap no, I have not touch that logic here, as I was not able to reproduce the described issue in #99 yet

Can you add simple integration test? Just list OSes and check for one of these. To know that the API works.

Merged bunch of PRs, please resolve conflicts and I will start testing.

Merged as eb23f225b6bf1c71671be77289fe18c30fc7c04a, thank you!


Unexpected repr of sliced list with [:]

The representation of a sliced list with an end index looks as expected:
>>> L[1, 2, 3][:10]
L[1, 2, 3]

Using the [:] to "slice" the whole list shows extra ...:
L[1, 2, 3][:]
L[1, 2, 3 ...]

Is this intentional? If yes, what is the rational behind it?

Nice find! This is indeed a bug; when you use [:], Hask "forgets" that the List is fully evaluated, and so it prints the ... to represent potentially unevaluated elements at the tail of the list.