Roblox using around 35% of my CPU while Bloxstrap is installed, but only around 17% when Bloxstrap isn't installed

Acknowledgement of preliminary instructions

[x] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
Whenever I have Bloxstrap enabled, Roblox will sometimes use 35% of my CPU and cause major FPS drops. I tested this, and it only happens while Bloxstrap is installed.
There's a temporary fix for this problem, which is restarting my PC.

Can I see the list of FastFlags you have configured? Open the menu, go to the editor, and show the list.

Can I see the list of FastFlags you have configured? Open the menu, go to the editor, and show the list. Oh also, are you using a CPU with integrated graphics?

I have no FastFlags configured. My CPU is 11th Gen Intel(R) Core(TM) i5-1135G7. Sorry, I'm not really good with CPUs so I don't know what exactly "integrated graphics" means.

Oh, you're using a laptop. Well I'm not sure what the correlation between the two would be, but you can try the following two things separately: set your framerate limit to zero, and disable any integrations you have enabled. See if those change anything.

Oh, you're using a laptop. Well I'm not sure what the correlation between the two would be, but you can try the following two things separately: set your framerate limit to zero, and disable any integrations you have enabled. See if those change anything.

Thank you, it actually kinda fixed my problem. Just a few lag spikes here and there but I think that's a different problem

Which one of those specifically fixed it?

Which one of those specifically fixed it?

I did both.

I received one other report relating to the same issue, and it turned out to be because of the framerate limit flag. You should be able to re-enable your integrations.


Intersection API updates

This adds a few features and simplifies some of the mod's API.

Places Intersection components on the entities that the ray intersects with.

This now requires that commands get run before intersection information is valid, but this was already potentially the case if a new Intersection needed to be created.
The same component is re-used if an Intersection remains on the same entity, and it is only updated if the data actually changes, allowing Added<> and Changed<> to work intuitively.

Since global Intersections are no longer used, Interesection.data no longer needs to be Optional for re-use optimization.
Allows for particular RaycastSources to be disabled.

If disabled, its ray is set to None, meaning that raycasting will not be done, and any Intersections will be cleared.

I have a fix for the debug cursor here: 5769e48316239156e25b674afb3d1e1a7b067523
It assumes there's only ever one intersection for a given raycast set, not sure if that's a valid assumption.

Can you provide a justification for this change? I don't understand what problem this is solving. In addition, all the examples appear to be broken.
I would also need a good reason to justify adding and removing components on the fly. Especially for something like raycasting where it can be happening quite frequently, this is bad for performance (it causes entity archetype changes) and easily leads to frame delays due to command propagation.

The commit I posted should fix the examples.

Can you provide a justification for this change? I don't understand what problem this is solving.

Currently, this documentation is wrong:
https://github.com/aevyrie/bevy_mod_raycast/blob/bd84951952f58a36c8144725f6539e7b3f60ed0f/src/primitives.rs#L71-L73
This PR fixes that behavior. This allows users to perform queries like
Query<Entity, With<Intersection<T>>>

to fetch the entity that the ray intersected with. This behavior makes sense, in my opinion.
Right now, that query will return an empty entity created just for the Intersection component. There's also no reference from IntersectionData to the intersected entity. The intersected entity ID only lives on the RaycastSource, which begs the question of why the Intersection component even exists. Overall, even if the documentation was updated to properly reflect this, I don't find it very intuitive.

I would also need a good reason to justify adding and removing components on the fly. Especially for something like raycasting where it can be happening quite frequently, this is bad for performance (it causes entity archetype changes) and easily leads to frame delays due to command propagation.

This would yield a maximum of 2 component updates per RaycastSource, no? That's assuming that the ray intersects a different entity every frame. Is it expected to be casting more than a couple of rays?
Just looked up entity archetype changes, that seems like an interesting thing to consider. I'm curious how impactful it is here.

Just noticed that #60 is related to this behavior as well.

@encounter would you be willing to take over this PR? This would involve incorporating your fix commit, and working with me to get this to a mergeable state.
There is definitely an error in the documentation. The current impl, and the top level doc for Intersection, is:

Holds the topmost intersection for the raycasting set T.

Which implies there should only be one Intersection component per raycast set T. My preference is that we remove the Intersection type entirely, and better document the intended use, which is to use https://docs.rs/bevy_mod_raycast/latest/bevy_mod_raycast/struct.RaycastSource.html#method.get_intersections
The reason I'm not excited about adding an Intersection component to every RaycastMesh is twofold:

From a learning POV, components are supposed to add behavior. A RaycastMesh is already used to make entities raycast receivers. If anything, intersection data should be added as a field/method on RaycastMesh.
We would need to be careful about performance with large numbers of entities. Adding/removing components is usually better to avoid, instead opting to use a bool field on the component that can be toggled.

I definitely see the value in being able to query the ray targets, rather than the sources. To do this while meeting the above two requirements, would require adding an intersection field to RaycastMesh<T>. Maybe something like:
pub struct RaycastMesh<T: Reflect> {
    intersection: Option<IntersectionData>,
    _marker: PhantomData<T>,
}

In which case, we would be able to do:
query: Query<RaycastMesh<Targets>, With<Enemy>>
// ...
if let Some(intersection) = enemies.get_intersection() {
    // Do things
}

@aevyrie I tried implementing this approach in #81.


[Airtable] OAuth errors connecting to Raycast

Extension
https://www.raycast.com/marks/raycast-airtable-extension
Raycast Version
1.84.7
macOS Version
14.5 (23F79)
Description
When I try to connect Airtable to Raycast, I get the following error:

Your OAuth application requested the scope "schema.bases:read data.records:read data.records:write" which your application does not have access to. You can edit this in your OAuth Application's settings

Note that this error happens even though the Raycast web page says that I'm "Successfully connected to Airtable."
Also, the "Open Raycast" button on the Raycast website doesn't seem to work.
Steps To Reproduce

Install the Airtable extensions
Run the "List Bases" command
Try to perform OAuth.

Current Behaviour
An OAuth error is received:

Your OAuth application requested the scope "schema.bases:read data.records:read data.records:write" which your application does not have access to. You can edit this in your OAuth Application's settings

Expected Behaviour
It should connect to OAuth correctly.

Hi @Dru89.
We are already aware of this Issue as discussed in PR #14864 specifically https://github.com/raycast/extensions/pull/14864#issuecomment-2419875303. Unfortunately, the OAuth scope still hasn't been updated from Airtable's side. In the meantime, you can follow instructions in the README to create your own OAuth app. I apologize for the inconvenience but it's out of our hands 😔.
@pernielsentikaer how about we change the OAuth ID then to the new one I created? That way we can be ready to roll ASAP.


Information on How to setup Log Analytics for Azure Functions and APIM

I am looking for information on how to setup log analytics for Azure Functions, and APIM.

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

ID: 521c75f5-5d71-10b5-df71-a8a6c0204a2e
Version Independent ID: 4343bd59-d34e-8d99-a723-292fc27b60bd
Content: Log Analytics FAQ
Content Source: articles/azure-monitor/platform/log-faq.md
Service: log-analytics
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@PingPongSet Thanks for the comment! Watch this [video] https://channel9.msdn.com/Blogs/AzureApiMgmt/Monitor-API-Management-with-Azure-Monitor) for monitoring APIM and follow the link1 & link2 for Azure functions.  Hope that helps!

@PingPongSet We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Handle empty value of the returnTo string

I found that returnTo could be empty string sometimes. It will be handled by this PR.

I propose not to set empty string rather than convert interface to string to compare with string.
But seems project is abandoned.


Bugfix reparameterize

convert() function has been changed for POVM elements and state preparation. They now support proper conversion from full TP to GLND parameterization. The optimization is now done over non-gauge directions, which are found through Jacobians.
This function still needs to be changed to appropriately handle other reparameterizations.
Lastly, this is not guaranteed to work for POVMs, just because the number of degrees of freedom of a POVM can be greater than the number of error generators that span TP maps for a given number of qubits. By pigeon hole principle, we may not be able to find a description for a POVM consisting of Ideal_POVM + error generators.

This pull request addresses issue #425


Adopt GNU libc

With a heavy heart I come to announce that we are considering adopting the GNU library for C programming into our beloved runtime daemon.

Closing this in favor of the Apache 2 licensed https://github.com/rust-lang/libc


"from moto import mock_ses" raises : "KeyError: 'us-east-1'" error

My default AWS region is 'eu-west-1' (as are the other regions in ~/aws/config and ~/aws/credentials)
Doing the following :
import boto3
from moto import mock_ses

@mock_ses
def test_send_admin_report():
    pass

Results in the following traceback stack :
File "/Users/yannbonafons/REPOS/gamecore-srv/scripts/tests/test_emails.py", line 2, in <module>
    from moto import mock_ses
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/moto/__init__.py", line 12, in <module>
    from .cloudformation import mock_cloudformation, mock_cloudformation_deprecated  # flake8: noqa
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/moto/cloudformation/__init__.py", line 2, in <module>
    from .models import cloudformation_backends
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/moto/cloudformation/models.py", line 11, in <module>
    from .parsing import ResourceMap, OutputMap
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/moto/cloudformation/parsing.py", line 11, in <module>
    from moto.batch import models as batch_models
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/moto/batch/__init__.py", line 5, in <module>
    batch_backend = batch_backends['us-east-1']
KeyError: 'us-east-1'

Update : it looks like batch_backends is an empty object ({}) when batch/init.py is called
Update 2: I got around it by (monkey)patching /batch/__init__.py (+ equivalent patches in polly and resourcegroupstaggingapi, and fixing moto/__init__.py accordingly) like this :
if 'us-east-1' in batch_backends:
    batch_backend = batch_backends['us-east-1']
    mock_batch = base_decorator(batch_backends)

Facing same issue with following requirements.
(py27) ➜  ✗ pip freeze | grep boto
boto==2.42.0
boto3==1.7.4
botocore==1.4.50
(py27) ➜ ✗ pip freeze | grep moto
moto==1.3.3
(py27) ✗ python
Python 2.7.12 (default, Dec  4 2017, 14:50:18)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import moto
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/sanket/pf9/pf9-omni/pf9/pf9-neutron/.tox/py27/local/lib/python2.7/site-packages/moto/__init__.py", line 12, in <module>
    from .cloudformation import mock_cloudformation, mock_cloudformation_deprecated  # flake8: noqa
  File "/home/sanket/pf9/pf9-omni/pf9/pf9-neutron/.tox/py27/local/lib/python2.7/site-packages/moto/cloudformation/__init__.py", line 2, in <module>
    from .models import cloudformation_backends
  File "/home/sanket/pf9/pf9-omni/pf9/pf9-neutron/.tox/py27/local/lib/python2.7/site-packages/moto/cloudformation/models.py", line 11, in <module>
    from .parsing import ResourceMap, OutputMap
  File "/home/sanket/pf9/pf9-omni/pf9/pf9-neutron/.tox/py27/local/lib/python2.7/site-packages/moto/cloudformation/parsing.py", line 11, in <module>
    from moto.batch import models as batch_models
  File "/home/sanket/pf9/pf9-omni/pf9/pf9-neutron/.tox/py27/local/lib/python2.7/site-packages/moto/batch/__init__.py", line 5, in <module>
    batch_backend = batch_backends['us-east-1']
KeyError: u'us-east-1'
>>>


Fix WordCountLocal

Hi, I was trying to get the examples to work and i had some troubles with this particular line. I don't know where does the function proto comes from, so I can't fix it for myself.
Thanks in advance.

There also seem to exist errors there like
main = hadoopMain app (LocalRun def) RSReRun

where i get
Couldn't match expected type ‘[(Hadron.Controller.AppLabel,
                                        Controller ())]’
                    with actual type ‘Controller ()’
        In the first argument of ‘hadoopMain’, namely ‘app’
        In the expression: hadoopMain app (LocalRun def) RSReRun

i hacked something like
main = hadoopMain [(AppLabel "asas", app)] (LocalRun def) RSReRun

but of course i don't know if it is working yet, i don't know how to fix that proto

There seems to be something to fix it in #4 with this code, but i'd still would like to know why did you change it, i'm still trying to figure out how to use the library but i'm stuck because i can't seem to fix the examples

@juanpaucar Hi Juan. Sorry for the lack of feedback on this. I've been going through our projects lately and updating the development/test side as necessary and I think hadron is due for some love here so I'll be looking into it. I'm going to get this project building with stack, set up a proper build matrix with travis and actually compile the example code as part of our test suite. After that, we can reassess and see if the example code is sufficient or if further documentation efforts are needed.

@juanpaucar Looking into this more, it looks like back in 2015 you had aims of becoming the maintainer of the lcs package seeing how it doesn't seem to build anymore. Indeed, the PR i'm reviewing now from #4 adds your fork as a dependency. I'm willing to keep that in for development but we can't release anywhere under these circumstances. Have you reviewed the taking over a package gudielines? If the author is still unresponsive, it sounds like it may be a good time for you to take over maintainership on hackage. Before this can release, we'll need an updated version on hackage (and preferably submitted to stackage). I'll then update the stack.yaml to point to the new version in the interim.

Thanks a lot. I had already contacted with the author of "lcs" and we agreed that he would add me as a maintainer in hackage. I have contacted him once again already and i'd let you know ASAP what happens with that.
I really hope it gets better documentation, this package is so good that the first time I heard from it, it was on the ThoughtWorks' Radar Technology and not in a haskell related post. But, for example i'm still trying to figure up how to get it working with actual hadoop. Nevertheless, I must say that i'm not an advanced haskell programmer so probably that's the reason why reading the code it's not enough for me yet. I have seen how simple have been made multiple Map-Reduce steps yet I have no clue how to make it scale with multiple servers, should that be relied to hadoop itself?. Thanks for the attention and for sharing such a good package.
Stack's solver actually makes it dead easy to configure it with LTS, i'm currently having to work like this with the stack solver --update-config command. here's my stack.yaml file
flags:
  time-locale-compat:
    old-locale: false
packages:
- location:
    git: https://github.com/Soostone/katip.git
    commit: 666c4ce6dee6607f0f771eb284b0b0fd81ac0a9e
  subdirs:
  - katip
- location:
    git: https://github.com/juanpaucar/lcs.git
    commit: 40cc3bc32b5cd96d78f224850ec2d4428051b8b1
- '.'
system-ghc: false
extra-deps:
- BoundedChan-<IP_ADDRESS>
- Glob-0.7.5
- HUnit-<IP_ADDRESS>
- MonadRandom-<IP_ADDRESS>
- QuickCheck-2.8.2
- StateVar-<IP_ADDRESS>
- abstract-deque-0.3
- abstract-par-0.3.3
- adjunctions-4.3
- aeson-<IP_ADDRESS>
- ansi-terminal-<IP_ADDRESS>
- ansi-wl-pprint-<IP_ADDRESS>
- async-2.0.2
- attoparsec-<IP_ADDRESS>
- attoparsec-conduit-1.1.0
- auto-update-0.1.3
- base-orphans-0.5.0
- base16-bytestring-<IP_ADDRESS>
- base64-bytestring-<IP_ADDRESS>
- bifunctors-5.2
- blaze-builder-<IP_ADDRESS>
- blaze-builder-conduit-1.1.0
- byteable-0.1.1
- cassava-<IP_ADDRESS>
- cereal-<IP_ADDRESS>
- clock-<IP_ADDRESS>
- comonad-5
- conduit-<IP_ADDRESS>
- conduit-extra-<IP_ADDRESS>
- contravariant-1.4
- cpphs-1.19.3
- criterion-<IP_ADDRESS>
- cryptohash-0.11.6
- csv-conduit-0.6.6
- data-default-0.5.3
- data-default-class-0.0.1
- data-default-instances-base-0.0.1
- data-default-instances-containers-0.0.1
- data-default-instances-dlist-0.0.1
- data-default-instances-old-locale-0.0.1
- derive-2.5.23
- distributive-<IP_ADDRESS>
- dlist-<IP_ADDRESS>
- either-4.4.1
- erf-<IP_ADDRESS>
- errors-1.4.7
- exceptions-<IP_ADDRESS>
- extensible-exceptions-<IP_ADDRESS>
- free-4.12.4
- hashable-<IP_ADDRESS>
- haskell-src-exts-1.17.1
- hastache-0.6.1
- hostname-1.0
- hslogger-1.2.9
- ieee754-0.7.8
- kan-extensions-5.0.1
- lens-4.13.1
- lifted-base-<IP_ADDRESS>
- math-functions-<IP_ADDRESS>
- microlens-<IP_ADDRESS>
- microlens-th-<IP_ADDRESS>
- mmorph-1.0.5
- monad-control-<IP_ADDRESS>
- monad-par-<IP_ADDRESS>
- monad-par-extras-0.3.3
- mtl-2.2.1
- mwc-random-<IP_ADDRESS>
- network-<IP_ADDRESS>
- old-locale-<IP_ADDRESS>
- old-time-<IP_ADDRESS>
- operational-<IP_ADDRESS>
- optparse-applicative-<IP_ADDRESS>
- parallel-<IP_ADDRESS>
- parsec-3.1.9
- polyparse-1.11
- prelude-extras-<IP_ADDRESS>
- primitive-<IP_ADDRESS>
- profunctors-5.2
- quickcheck-instances-0.3.12
- random-1.1
- reflection-<IP_ADDRESS>
- regex-base-0.93.2
- regex-posix-0.95.2
- regex-tdfa-rc-<IP_ADDRESS>
- resourcet-<IP_ADDRESS>
- retry-0.7.1
- safe-0.3.9
- safecopy-0.8.6
- scientific-<IP_ADDRESS>
- semigroupoids-5.0.1
- semigroups-<IP_ADDRESS>
- split-0.2.3
- statistics-<IP_ADDRESS>
- stm-<IP_ADDRESS>
- streaming-commons-0.1.15
- string-conv-0.1
- stringsearch-<IP_ADDRESS>
- syb-0.6
- tagged-0.8.2
- tasty-<IP_ADDRESS>
- tasty-hunit-0.9.2
- tasty-quickcheck-0.8.4
- temporary-<IP_ADDRESS>
- test-framework-<IP_ADDRESS>
- test-framework-hunit-<IP_ADDRESS>
- test-framework-quickcheck2-<IP_ADDRESS>
- text-<IP_ADDRESS>
- tf-random-0.5
- time-locale-compat-<IP_ADDRESS>
- transformers-base-0.4.4
- transformers-compat-<IP_ADDRESS>
- unbounded-delays-<IP_ADDRESS>
- uniplate-1.6.12
- unix-time-0.3.6
- unordered-containers-<IP_ADDRESS>
- vector-<IP_ADDRESS>
- vector-algorithms-<IP_ADDRESS>
- vector-binary-instances-<IP_ADDRESS>
- vector-th-unbox-<IP_ADDRESS>
- void-0.7.1
- xml-1.3.14
- zlib-<IP_ADDRESS>
- zlib-conduit-1.1.0
resolver: ghc-7.10.2


Added Infinite scroll

Fixes Issue #86

Changes proposed

Added Infinite scroll

Note to reviewers

Screenshots

could you check why this error is coming when i scroll down @leewan-09

could you check why this error is coming when i scroll down @leewan-09

problem was caused by API. author name was undefined


Accumulate nodes with and without :retract-fn given

I have been looking into the AccumulateNode of clara.rules.engine a bit recently to fully understand its semantics.
The one I want to ask about here centers on the :retract-fn given or not given in an Accumulator for Clara.
If everything works here as expected, then there is no real "issue".  If not, then some work could come out of this.
This is easiest to just demonstrate with a test case, mostly ripped from an existing clara.test-rules test.  I modified it to demonstrate my point.
(deftest test-accumulate-with-retract
  (let [collect-with-retract (accumulate
                              :initial-value []
                              :reduce-fn conj
                              :combine-fn concat

                              ;; Retract by removing the retracted item.
                              ;; In general, this would need to remove
                              ;; only the first matching item to achieve expected semantics.
                              :retract-fn (fn [reduced item]
                                            (remove #{item} reduced))

                              ;; Sort here and return the smallest.
                              :convert-return-fn (fn [reduced]
                                                   (first
                                                    (sort #(< (:temperature %1) (:temperature %2))
                                                          reduced))))

        collect-without-retract (assoc collect-with-retract
                                  ;; Note: Using the - Retractions do nothing by default for `clara.rules/accumulate`.
                                  :retract-fn (fn [reduced retracted] reduced))

        coldest-query (dsl/parse-query [] [[?t <- collect-with-retract :from (Temperature (< temperature 20))]])

        results-with-retract-fn (-> (mk-session [coldest-query])
                                    (insert (->Temperature 10 "MCI"))
                                    (insert (->Temperature 17 "MCI"))
                                    (insert (->Temperature 15 "MCI"))
                                    (insert (->Temperature 80 "MCI"))
                                    (retract (->Temperature 10 "MCI"))
                                    (query coldest-query)
                                    set)

        coldest-query (dsl/parse-query [] [[?t <- collect-without-retract :from (Temperature (< temperature 20))]])

        results-without-retract-fn (-> (mk-session [coldest-query])
                                       (insert (->Temperature 10 "MCI"))
                                       (insert (->Temperature 17 "MCI"))
                                       (insert (->Temperature 15 "MCI"))
                                       (insert (->Temperature 80 "MCI"))
                                       (retract (->Temperature 10 "MCI"))
                                       (query coldest-query)
                                        set)]

    ;; The accumulator result should be
    (is (= #{{:?t (->Temperature 15 "MCI")}}
           results-with-retract-fn))

    (is (= #{{:?t (->Temperature 15 "MCI")}}
           results-without-retract-fn))))

The results of this were, as I expected - a failure:
FAIL in (test-accumulate-with-retract) (test_rules.clj:398)
expected: (= #{{:?t (->Temperature 15 "MCI")}} results-without-retract-fn)
  actual: (not (= #{{:?t #clara.rules.testfacts.Temperature{:temperature 15, :location "MCI"}}} #{{:?t #clara.rules.testfacts.Temperature{:temperature 10, :location "MCI"}}}))

An accumulator with no provided :retract-fn does nothing upon retract by default.  This has the effect (from some perspectives at least) of potentially preserving "old" working state
with respect to the TMS.
The workaround for this, is obviously to specify a :retract-fn for your accumulator when you want to be able to "back out" propagations that are based on no-retracted facts.
I went in to "fix" this issue and implement a check in clara.rules.engine to use the :retract-fn if it is given, otherwise fall back to reaccumulating the state of working memory facts
with the retracted items removed.  This would require no :retract-fn to be given by default on the clara.rules/accumulate impl of course.
When I went to pursue this direction in the engine, I found that the AccumulateNode actually does not retain any memory of elements that it has previously been matched on.  So the ability to "re-accumulate the world" when no :retract-fn is given does not seem possible under the current design.
Once I thought about this a minute, I was led to think this may by design.  The current AccumulateNode impl allows for accumulators to "throw" away facts as they are accumulated in a
streaming sort of fashion.  I may have read or heard you mention something to this effect at some point in time.
I am mostly wanting to clarify that my thoughts on this are correct, that this is by design.
If this design decision has real utility, like the ability to release memory to already accumulated facts, etc. I'd be curious to hear some thoughts you have on that.

Continuing down this track.
I'll note that I do not think that AccumulateWithJoinFilterNode has these same properties as AccumulateNode with regards to the :retract-fn semantics.  AccumulateWithJoinFilterNode maintains
all candidate facts to be accumulated in its node memory.  Upon right-retract element retraction, the entire state of the candidate facts are re-accumulated to produce a new value.  This impl
does not even consider the usage of the :retract-fn.  An aside to that point, I'm skeptical that it could still get some benefit from if (see [1]).
So my observation is that AccumulateWithJoinFilterNode does not operate in the same "streaming" way that AccumulateNodes do.

My main purpose of this post was for my own understanding of these semantics.  I will note that I think it may be a bit more difficult to implement effective accumulators
for some workflows using AccumulateNode where I want a logically correct result value with respect to current (or "final") working memory.
I'll demonstrate with yet another test case that I find straight-forward:

(let [min-temp (dsl/parse-query [] [[?t <- (acc/min :temperature) :from [Temperature]]])

      session (-> (mk-session [min-temp])
                  (insert (->Temperature 1 "MCI"))
                  (insert (->Temperature 2 "LAX"))
                  (retract (->Temperature 1 "MCI"))
                  fire-rules)]

  (is (= #{{:?t 2}}
         (set (query session min-temp)))))

;; Results in

FAIL in <some-ns-here>
expected: (= #{{:?t 2}} (set (query session min-temp)))
  actual: (not (= #{{:?t 2}} #{{:?t 1}}))
false

This is using the min accumulator from clara.rules.accumulators namespace.  If I wanted an accumulator that could return the min Temperature remaining in working memory
at the end of changes, I'd need to maintain state of all previously seen facts via the reduced values and implement a :retract-fn that worked.  I don't think any previous facts could be ignored, since it is arbitrary which facts are removed at a later time.
An impl for this looks something like:

(defn min
  "Returns an accumulator that returns the minimum value of a given field."
  [field & {:keys [returns-fact]}]
  (let [reduce-fn (fn [[seen value] item]
                    (if (or (nil? value)
                            (< (field item) (field value)))

                      [(conj (or seen []) item) item]

                      [(conj (or seen []) item) value]))]
    (accumulate

     :initial-value nil

     :reduce-fn reduce-fn

     :combine-fn (fn [[seen1 value1] [seen2 value2]]
                   (if (or (nil? value1)
                           (< (field value2)
                              (field value1)))

                     [(into (or seen1 []) seen2) value2]

                     [(into (or seen1 []) seen2) value1]))

     :retract-fn (fn [[seen _] item]
                   (reduce reduce-fn nil (remove #(= item %) seen)))

     :convert-return-fn (if returns-fact
                          second
                          (comp field second)))))

This doesn't seem like something necessarily trivial to implement.  The reason being is that it is playing the role of managing the "node memory" for accumulator.
Perhaps this tradeoff is acceptable since it can still be written to work this way if the default design is not sufficient.
I think it is less obvious that AccumulateNode and AccumulateWithJoinFilterNode will behave differently though.
Thanks for the feedback!  Sorry it this was long-winded.

[1]
(note this may not be worth the trouble, just a thought)

accumulated results were stored in additional node memory (is this too much overhead?)
the filtering of candidates was done first
the retracted facts were retrieved from that filtered candidates
the accumulator had the :retract-fn ran in a reduce given previously-accumulated-result + retracted-facts

The design of the existing min and max accumulators are indeed to support the common case without needing to hold onto the full history of inserted facts. However, whether this is the right decision is debatable...thinking back on it now I'd rather prefer correctness in the face of arbitrary retractions as opposed to support for arbitrary data streams.
In any case, the alternative min implementation you posted is, indeed, the approach we'd take to solve it for cases that need that. Since accumulators can be arbitrary, only the accumulator itself knows what intermediate state it needs preserve to support a :retract-fn (if a :retract-fn even makes sense for the accumulator). So I think the accumulator should play the role of managing "node memory" here. The alternative is to require the full re-accumulation of changed data every time it's updated...but now we let the accumulator implementation make that decision, allowing optimizations in accumulators themselves.
As for the AccumulateWithJoinFilterNodes, they aren't designed to behave any differently than the AccumulateNode for this case...they handle a special case of join operations that don't use simply equality-based unification. The AccumulateWithJoinFilterNode node has to maintain the full state since it doesn't know what data elements to filter out until a join occurs with other data...so it holds onto everything, then performs the join  with incoming tokens before it can complete the accumulation. This is more expensive but necessary for these semantics.
In the end, I think a case can be made for replacing the provided min and max operations with something that maintains the full history, and possibly providing some helper functions to make it easy to write accumulators in this style. If you feel like this is the way to go we can kick it around.

Thanks for the details on this.  I can see how there could be utility in leaving the AccumulateNode open for the streaming use-case.
I will agree that it would be helpful for some built-in Clara accumulators to offer possibly both of these behaviors.  That is a good point that some helper functions may be nice.  It probably wouldn't be too challenging to take an accumulator and decorate it to hold "node memory" and to perform a naiive :retract-fn that just re-accumulates based on the new state of memory.
Of course a better :retract-fn could be written in some cases depending on the operation of the accumulator.  However, that would be left up to the writer at that point.

This was basically co-opted and fixed with issue #127. Closing because there isn't anything more to do on this.


Refactor code to create development Docker images in ci/kokoro/docker

The ci/kokoro/docker/build.sh scripts use different code to create Docker images across the repositories, pick one (probably the one from -common) and use it everywhere.

[x] -common
[x] -cpp
[x] -spanner
[x] -pubsub
[x] -bigquery

This is now fixed.


Added willStart and didEnd in RequestInterceptor

Issue Link
N/A
Description
We need to add some thread safety in our AuthenticationInterceptor and in order to do it properly, I need to know when a request starts and when it ends.

The code looks fine but can you talk a bit more about what you're trying to achieve client-side? Is this to add some sort of lock while a request is in-flight?

Correct.


Accordion Header/Button doesn't have hover state (Light Mode)

The header/button should have background color #e0e1e9 on hover.

PR Created: https://bitbucket.trimble.tools/projects/TMDS/repos/modus-bootstrap/pull-requests/293/overview

Looking at the PR I think it will automatically fix it in React too


implement *playback commands other than PLAY, in particular LIST

Not supporting LIST breaks Palaver. This should be tested with Textual and Palaver.

From discussion: we'll also add *self to mean "play all direct messages, but no channel messages".

Palaver sends the command as one parameter: ZNC *playback :PLAY ...


🐛 [BUG] Failing to serve POST mock requests due to CORS error

What is the issue?
The mocks setup with POST http method is not being served currently and it is failing with a CORS error in pre-flight stage.
This happens even if the origin is added in the allowed origin list in the backend config
Log output
Access to XMLHttpRequest at 'http://localhost:8080/search' from origin 'http://localhost:3002' has been blocked by CORS policy

Type of the bug
Backend
Steps to reproduce
Invoke a mock endpoint from a different origin (from an UI app preferably)
Mimock version
0.0.1-alpha
OS version
MacOS

Fixed by adding logic to handle preflight requests within HTTP interceptor


Ray Client doesn't open in Windows 10

Describe the bug
Ray client doesn't open no matter what I do.
Versions
1.14.7
You can use composer show to get the version numbers of:

spatie/ray package version:  1.27.1
spatie/laravel-ray package version (if applicable):  1.23.0

PHP version: 7.4.14
Laravel version (if applicable):
To Reproduce
Steps to reproduce the behavior:

Install Ray client 1.14.7
Open Ray Client
Ray client doent show up

Expected behavior
Ray client should open
Screenshots
https://www.youtube.com/watch?v=wDIt6-haMPI
Desktop (please complete the following information):

OS: Windows 10 Pro  20H2
Version/OS Build 19042.1052
Experience Windows Feature Experience Pack 120.2212.2020.0

Additional context
https://www.youtube.com/watch?v=wDIt6-haMPI

This is probably related to this one: https://github.com/spatie/ray/issues/429
I'm publishing a new version of the app today with a menu option to reset the app to the center of the screen.

I've added a shortcut to reset the app to the center of the screen to the "window" menu and the right-click-on-tray menu. Pressing cmd/ctrl+shift+R when the app is active will also do this.

nah , its still not working .
https://youtu.be/4_Rn7rp8CrU
It used to work perfectly when It was first released.
Is there anyway to download the old version ? :(

We're still test running 1.16.0, and will release it in the coming days!

Issue solved!

yay!


Cant applie format in the MuiPickersUtilsProvider

Environment
| material-ui-pickers | 1.0.0-rc.11 |
| material-ui         | 1.3.1 |
| React                 | 16.3.2  |
| Browser             | Latest chrome |
| Platform            | Windows   |
| Momentjs          | 2.22.2      |
Steps to reproduce

Add a format to the MuiPickersUtilsProvider when using moment.js
Add a datepicker to a page

Expected behavior
Having the format applied to all date components
Actual behavior
No format is applied to the date components
Live example
For some reason I dont get the MuiPickersUtilsProvider working on codesandbox, sorry.

Please provide an example of issue reproducing.
We don’t have time to reproduce your issue

I would love to do so, but getting the base libs working with the updated versions does not work.
https://codesandbox.io/s/lxom1kzx4q

Follow the installation guide

Got it working with an other example. Will see if I can figure out why my initial did not work.
Setting format works in this example on the specific item: https://codesandbox.io/s/yjnjv5q6n1
When setting on the MuiPickersUtilsProvider it does not work: https://codesandbox.io/s/l77qnqqq4q


Window.initialize max height & width

Changed from tuple due to error reported in Crystal 0.25.1

Thanks!


remove unused OneBusAway-iPhone IRC channel

Does not appear to be used & Gitter looks to be much better.

:+1:

@aaronbrethorst do you think you'll have a chance to enable Gitter GitHub, Travis CI, & Huboard integrations for the hackathon?

Let me know if you get the Travis hooks working for Gitter.  A few builds showed up in OBA Android Gitter room but then went silent.  Not sure if I have it configured right.

@barbeau check the value of the on_success key. I bet you that if it's set to change, it'll go quiet until there's a change in the success status. I'm setting iOS' to always

IIRC it's ´change´, but build failures is ´always´, and those weren't
showing up either.  And neither were successes after failures.  But that's
a good idea to troubleshoot at any rate, will give it a shot.
On Mar 20, 2015 7:41 PM, "Aaron Brethorst"<EMAIL_ADDRESS>wrote:

@barbeau https://github.com/barbeau check the value of the on_success
key. I bet you that if it's set to change, it'll go quiet until there's a
change in the success status. I'm setting iOS' to always
—
Reply to this email directly or view it on GitHub
https://github.com/OneBusAway/onebusaway-iphone/pull/391#issuecomment-84195775
.

Hmm, bummer. No idea, then :(

On Mar 20, 2015, at 4:52 PM, Sean Barbeau<EMAIL_ADDRESS>wrote:
IIRC it's ´change´, but build failures is ´always´, and those weren't
showing up either. And neither were successes after failures. But that's
a good idea to troubleshoot at any rate, will give it a shot.
On Mar 20, 2015 7:41 PM, "Aaron Brethorst"<EMAIL_ADDRESS>wrote:

@barbeau https://github.com/barbeau check the value of the on_success
key. I bet you that if it's set to change, it'll go quiet until there's a
change in the success status. I'm setting iOS' to always
—
Reply to this email directly or view it on GitHub
https://github.com/OneBusAway/onebusaway-iphone/pull/391#issuecomment-84195775
.

—
Reply to this email directly or view it on GitHub https://github.com/OneBusAway/onebusaway-iphone/pull/391#issuecomment-84196884.


J F: Watch candere.com

J F requests the watch of the watch_keyword candere\.com. See the MS search here and the Stack Exchange search here.

candere\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

!!/approve


Rename vote account into validator

Description

This PR renames all vote_account associated methods and tables into validator. It is related to #92.
Checklist

[x] Targeted PR against correct branch.
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Wrote unit tests.
[ ] Re-reviewed Files changed in the Github PR explorer.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@374eb57). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #94   +/-   ##
=========================================
  Coverage          ?   61.97%
=========================================
  Files             ?       27
  Lines             ?     1073
  Branches          ?        0
=========================================
  Hits              ?      665
  Misses            ?      379
  Partials          ?       29

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 374eb57...49bd8d2. Read the comment docs.


the module got coredump

Our redis instance running with tdigest module got coredump in every 4-5 days.
gdb provides backtrace as below.
Could you please take a look at it?
Tks.
(gdb) bt
#0  0x00007f015ab41495 in raise () from /lib64/libc.so.6
#1  0x00007f015ab42c75 in abort () from /lib64/libc.so.6
#2  0x00007f015ab7f3a7 in __libc_message () from /lib64/libc.so.6
#3  0x00007f015ab84dee in malloc_printerr () from /lib64/libc.so.6
#4  0x00007f015ab87c80 in _int_free () from /lib64/libc.so.6
#5  0x00007f0151ffa3f5 in tdigestCompress (t=0x7f0130086750) at src/tdigest.c:176
#6  0x00007f0151ff953c in TDigestTypeAdd_RedisCommand (ctx=0x7ffccde4c350, argv=, argc=) at src/command.c:110
#7  0x0000000000490c90 in RedisModuleCommandDispatcher (c=0x7f0150a2be40) at module.c:466
#8  0x0000000000429337 in call (c=0x7f0150a2be40, flags=15) at server.c:2224
#9  0x00000000004299a5 in processCommand (c=0x7f0150a2be40) at server.c:2505
#10 0x0000000000439b2d in processInputBuffer (c=0x7f0150a2be40) at networking.c:1330
#11 0x0000000000424aed in aeProcessEvents (eventLoop=0x7f015463b0a0, flags=11) at ae.c:421
#12 0x0000000000424e0b in aeMain (eventLoop=0x7f015463b0a0) at ae.c:464
#13 0x000000000042da22 in main (argc=, argv=0x7ffccde4c648) at server.c:3885
(gdb) bt full
#0  0x00007f015ab41495 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007f015ab42c75 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x00007f015ab7f3a7 in __libc_message () from /lib64/libc.so.6
No symbol table info available.
#3  0x00007f015ab84dee in malloc_printerr () from /lib64/libc.so.6
No symbol table info available.
#4  0x00007f015ab87c80 in _int_free () from /lib64/libc.so.6
No symbol table info available.
#5  0x00007f0151ffa3f5 in tdigestCompress (t=0x7f0130086750) at src/tdigest.c:176
unmerged_centroids = 0x1f20a30
unmerged_weight =
num_unmerged =
old_num_centroids = 630
i =
j = 630
args = {t = 0x7f0130086750, centroids = 0x1f21200, idx = 630, weight_so_far = 393204, k1 =<PHONE_NUMBER>507218, min = 0.14999999999999999, max =<PHONE_NUMBER>8850984}
#6  0x00007f0151ff953c in TDigestTypeAdd_RedisCommand (ctx=0x7ffccde4c350, argv=, argc=) at src/command.c:110
key = 0x7f0154623000
type = 6
num_added = 1
values = 0x7f0130bc6810
counts = 0x7f0130bc6818
i =
t = 0x7f0130086750
total_count =
#7  0x0000000000490c90 in RedisModuleCommandDispatcher (c=0x7f0150a2be40) at module.c:466
cp =
ctx = {getapifuncptr = 0x491320, module = 0x7f015461b0c0, client = 0x7f0150a2be40, blocked_client = 0x0, amqueue = 0x7f013e59c300, amqueue_len = 16, amqueue_used = 1, flags = 2,
postponed_arrays = 0x0, postponed_arrays_count = 0, blocked_privdata = 0x0, keys_pos = 0x0, keys_count = 0, pa_head = 0x7f0130bc6800}
#8  0x0000000000429337 in call (c=0x7f0150a2be40, flags=15) at server.c:2224
dirty = 23916351
start =<PHONE_NUMBER>955319
duration =
client_old_flags = 0
prev_also_propagate = {ops = 0x0, numops = 0}
#9  0x00000000004299a5 in processCommand (c=0x7f0150a2be40) at server.c:2505
No locals.
#10 0x0000000000439b2d in processInputBuffer (c=0x7f0150a2be40) at networking.c:1330
No locals.
#11 0x0000000000424aed in aeProcessEvents (eventLoop=0x7f015463b0a0, flags=11) at ae.c:421
fe = 0x7f01542024a0
mask = 1
fd = 293
rfired = 1
j =
shortest =
tvp =
processed =
numevents = 1
#12 0x0000000000424e0b in aeMain (eventLoop=0x7f015463b0a0) at ae.c:464
No locals.
#13 0x000000000042da22 in main (argc=, argv=0x7ffccde4c648) at server.c:3885
tv = {tv_sec =<PHONE_NUMBER>, tv_usec = 930087}
j =
hashseed = "1a86649ef203608a"
background =

Would it be possible for you to share a script that reproduces the issue? Or share the core dump?

Great, thanks so much! I'll dig into it sometime this week.
As a side note, I'm curios why you had to implement the tdigest.centroids command. Was tdigest.debug not good for your use case?

ah yes, the tdigest.debug result not works well with phpredis rawCommand then I should create tdigest.centroids to reformat the result, and also the function name's not good with my usage :)

Can you also share your compiled binaries?

Binary file redis-server and tdigest.so (running on CentOS 6.9 x86_64), download HERE

I think it should works on a CentOS VM, make sure you use CentOS 6.9.

Hi @usmanm, any progress on this?

yes, hope you can fix this soon.

Is the error before the core dump free(): invalid next size (normal)?

@rkarthick not sure where to get the coredump message. But looking at coredump backtrace, the line which cause core-dump is at src/tdigest.c:176 (pls see my first comment).


Link broken and CPU switch not passing

hey,

In the readme, the link to lumen2-demos is broken.
On a debian 8.0 x64, your default -fPIC switch does not work. Would you mind explaining this caveat and how to fix it.

Thx.

https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html
Basically -fPIC is -fpic on steroids. This switch is needed for generation of dynamically linked libraries. It may be so that setting Library_Kind to Dynamic implicitly triggers -fpic/-fPIC in which case this would be redundant (and thus ignored).

as for lume2-demos being broken... will have to fix this.


Confusing Password Validation Error Message

The password policy requires three conditions to be met:

doesn't contain the account name
at least eight characters long
contains certain characters

However, the error message only mentions the two last conditions:
Password validation failed. The password does not meet SQL Server password
policy requirements because it is not complex enough. The password must be at
least 8 characters long and contain characters from three of the following
four sets: Uppercase letters, Lowercase letters, Base 10 digits, and Symbols.

The first condition is not mentioned at all which is pretty confusing if the password actually meets the conditions of the error message.
Expected Behavior
Error message states that the account name must not be a substring of the password.
How to Reproduce the Error
Try to create/login to a database with username test and password test*123.

Following parts of the documentation should be adjusted:

the README's Troubleshooting & Frequently Asked Questions section
the image description on Docker Hub, namely the Requirements and Environment Variables sections
the quickstart documentation's Pull and run the SQL Server Linux container image section


Problem with ipv6 routing

I made several support tickets at OVH here is their final response after me sending them the link https://blog.arbjerg.dev/2020/3/tunnelbroker-with-lavalink
Tomato,

Speaking with our Ops Team  they have recommend that you reach out to the author of the Guide. On our End the server and the IPs are working correctly and it comes down to the configurations which must be done by the User.

Please reach out to the Author for assistance

Oscar P.

OVHcloud Support
Please visit our online help center: https://support.us.ovhcloud.com/hc/en-us

I did:

https://support.us.ovhcloud.com/hc/en-us/articles/4412804434195-How-to-Configure-IPv6-on-a-Dedicated-Server
and all of those commands:

sysctl -w net.ipv6.ip_nonlocal_bind=1
echo 'net.ipv6.ip_nonlocal_bind = 1' >> /etc/sysctl.conf
ip -6 route replace local <ipv6/64> dev lo

my distro: Ubuntu 20.04.4 LTS
my network config via netplan: as described in the ovh article
I dont use tunnelbroker, i use the provided ipv6 / 64 from ovh
ip -6 route output: (the assigned ip addresses are correctly pasted...)

ip addr output:

The Problem:
as soon as I try to USE a pool address of the ipv6/64 (one of 18trillion ip addresses) it fails and says 100% packet loss aka connect time out... (check the image)

However the configuration of both ovh and the tutorial is correct.
this does not only affect this server i'm having the biggest concern of, but also other vservers of me from other companies with also provided ipv6/64 blocks.
german it expert says and recommend, that the application who is loadbalancing / using pool addresses needs to execute: ip address add <pooladdress> dev lo manually every time so that the server is able to respond with that address.

This would be both the savest and easiest way.

They also noted to use "floating ips" but i dont know something about that... i googled out that: https://ipcisco.com/lesson/ipv6-floating-static-routes/ but idk something about it and don't wanna break my networking again..

Also this however ovh said it's not their fault / missconfig.: https://packetlife.net/blog/2010/mar/17/using-6to4-ipv6-home/

I would be gently happy if someone could help me with that!
Notes:

I can ping the block from other addresses
I cannot ping sub addresses of the block from other addresses
It does not matter if i use as gateway this fe80::1 or the ipv6 block gateway provided by the hosting company.
It does not matter what ns i use.
It does not matter if i reboot or not
It does not matter about the ssh configuration
It also does not work with an /48 tunnel broker ipv6 block
It also does not work with an /48 provided ipv6 block from maincubes frankfurt
It also does not work with an /28 or /32 or /56 or /128 sub address block
I am able to staticly route every possible ip address of the block manually...

I solved the issue, described in here: https://github.com/Tomato6966/Debian-Cheat-Sheet-Setup/wiki/6-lavalink-tutorial#how-to-do-ip-routing-notes
You need a proxy manager for routing the ips


Printing in IE11 not working

Hi,
we are using PDF.js and the printing seems not to work in IE11. Instead of the PDF the whole HTML page is printed. Do you have an suggestion how to fix this?
Thanks and Regards,
Chris

This is a duplicate being addressed in https://github.com/mozilla/pdf.js/issues/3983

I solved my issue. Intead of embed i use an iframe. then it works better. But I now have the same issued like in #3983

Closing this as fixed and moving further tracking to #3983.


Android build error

Flutter v 1.8.1
Kotlin v 1.3.41
Android Studio v 3.4.2
Mac OS 10.14.5
What other info should I provide to help determine what's causing the following error...? Thanks
Running flutter build apk --release emits the following information:
admins-MBP:diary_app_flutter chris$ flutter build apk --release
You are building a fat APK that includes binaries for android-arm, android-arm64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
To generate an app bundle, run:
flutter build appbundle --target-platform android-arm,android-arm64
Learn more on: https://developer.android.com/guide/app-bundle
To split the APKs per ABI, run:
flutter build apk --target-platform android-arm,android-arm64 --split-per-abi
Learn more on:  https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
Initializing gradle...                                              0.9s
Resolving dependencies...                                           9.5s
Note: /Users/chris/development/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity-0.4.3+1/android/src/main/java/io/flutter/plugins/connectivity/ConnectivityPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
e: /Users/chris/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.6.2/android/src/main/kotlin/com/example/flutterimagecompress/FlutterImageCompressPlugin.kt: (25, 76): Type mismatch: inferred type is Activity! but AppCompatActivity was expected
e: /Users/chris/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.6.2/android/src/main/kotlin/com/example/flutterimagecompress/FlutterImageCompressPlugin.kt: (26, 76): Type mismatch: inferred type is Activity! but AppCompatActivity was expected
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done                      82.4s
Gradle task assembleRelease failed with exit code 1
Here's the dependency list from my flutter project yaml file:
dependencies:
  flutter:
    sdk: flutter
  http: ^0.12.0+2
  cupertino_icons: ^0.1.2
  shared_preferences: 0.5.2+1
  connectivity: 0.4.3+1
  flutter_launcher_icons: "^0.7.0"
  package_info: ^0.4.0+3
  intl: ^0.15.8
  palette_generator: ^0.1.1
  uuid: ^2.0.1
  image_picker: ^0.4.10
  camera: ^0.4.2
  flutter_image_compress: ^0.6.2
  # image_gallery_saver: ^1.1.0

I try create flutter project, and add the dependencies for the project.
Project repository is https://dev.azure.com/cjlspy/_git/flutter_try_use_library_1
And I  edit miniSdk version to 21 and run it in command-line:
flutter pub get
flutter build apk --release

Then, I get this log:
flutter build apk --release
You are building a fat APK that includes binaries for android-arm, android-arm64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
    To generate an app bundle, run:
        flutter build appbundle --target-platform android-arm,android-arm64
        Learn more on: https://developer.android.com/guide/app-bundle
    To split the APKs per ABI, run:
        flutter build apk --target-platform android-arm,android-arm64 --split-per-abi
        Learn more on:  https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
Initializing gradle...                                              1.2s
Resolving dependencies...                                           2.2s
注: /Users/caijinglong/.pub-cache/hosted/pub.flutter-io.cn/connectivity-0.4.3+1/android/src/main/java/io/flutter/plugins/connectivity/ConnectivityPlugin.java使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: /Users/caijinglong/.pub-cache/hosted/pub.flutter-io.cn/package_info-0.4.0+5/android/src/main/java/io/flutter/plugins/packageinfo/PackageInfoPlugin.java使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
Calling mockable JAR artifact transform to create file: /Users/caijinglong/.gradle/caches/transforms-1/files-1.1/android.jar/ce8e87e89203692dec1a4eb30537b568/android.jar with input /Users/caijinglong/Library/Android/sdk/platforms/android-27/android.jar
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done                      52.5s
Built build/app/outputs/apk/release/app-release.apk (11.2MB).

I don't meet your problem, and I get an apk file.

I can't reproduce your build error.
I'll close it.
If you have a way to reproduce it (provide a repository in github), please reopen this issue.


When building a Tauri application using Windows 10 Enterprise Edition, it cannot run on Windows 7.[bug]

Describe the bug

use Windows 10 Enterprise Edition
yarn create tauri-app
yarn install && yarn tauri build -t i686-pc-windows-msvc
Install the application on Windows 7 using the built Windows installation package, and then launch the application.
Error: The Application was unable to start correctly (0xc0000005)

Reproduction
No response
Expected behavior
No response
Full tauri info output
$ tauri info

[✔] Environment
    - OS: Windows 10.0.19044 X64
    ✔ WebView2: 124.0.2478.80
    ✔ MSVC: Visual Studio ���ɹ��� 2022
    ✔ rustc: 1.78.0 (9b00956e5 2024-04-29)
    ✔ cargo: 1.78.0 (54d8815d0 2024-03-26)
    ✔ rustup: 1.27.0 (bbb9276d2 2024-03-08)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 20.12.2
    - yarn: 1.22.22
    - npm: 10.5.0

[-] Packages
    - tauri [RUST]: 1.6.3
    - tauri-build [RUST]: 1.5.2
    - wry [RUST]: 0.24.8
    - tao [RUST]: 0.16.9
    - @tauri-apps/api [NPM]: 1.5.4
    - @tauri-apps/cli [NPM]: 1.5.13

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist
    - devPath: http://localhost:1420/
    - framework: Vue.js
    - bundler: Vite
Done in 27.27s.

Stack trace
No response
Additional context
No response

Can you try downgrading rust to 1.77.2? Asking because of https://blog.rust-lang.org/2024/05/02/Rust-1.78.0.html#compatibility-notes

@FabianLars Thank you very much for your prompt response, the issue has been perfectly resolved. Thanks again!


between feature

Hello,
better to add between feature to filter. Simply can be added as follows:
src/common.types.ts
     /**      * Array based search with "$nin" mongo operator      */     _nin = 'nin',     /**      * Array based search with "$gt and $lt" mongo operator      */     between = 'between' }
src/pagination/generate-pagination-filter.ts
            } else if (filterElement.operator === 'between') {                 filter_fn[generateMongoFilterKeyName(filterElement.name)] = {                     ['$' + filterElement.operator]: { $gte: filterElement.arr_value[0], $lte: filterElement.arr_value[1] }                 }             } else
if you are able to add such feature to repo, that would be really useful.
Or, if you add me, I can raise a PR for it.
Thanks for the great package.
Rasim

Thanks for your support ☺, It will be great if you can raise PR for this

I want to filter data between two dates. I think it will not work without this feature. Is there any work around?


configure does not work on macOS if sed is GNU sed

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): no
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS 10.12.4
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): Current head: 3ce228e

Describe the problem
If sed is GNU sed on macOS, configure fails with sed: can't read : No such file or directory.

Can you isolate the command that caused this? How did you switch to GNU sed?

Is this the same issue as addressed in https://github.com/tensorflow/tensorflow/pull/8935?

I installed GNU sed through homebrew and added the sed command on the PATH without the g-prefix. I prefer GNU sed over the BSD sed that macOS comes preinstalled with.
The command that cause the error:
sed_hyphen_i -e 's/WITH_JEMALLOC = True/WITH_JEMALLOC = False/' tensorflow/core/platform/default/build_config.bzl

This is because this function only checks if the command is running on macOS and then assumes the sed that it is running is BSD sed.
This is not the same as #8935 because that issue just addresses that most of the time sed on macOS is BSD sed, but doesn't address that sometimes it can also be GNU sed.

So what in this command is it that GNU sed doesn't like?

Or, it is this
sed -i '' -e 's/WITH_JEMALLOC = True/WITH_JEMALLOC = False/' tensorflow/core/platform/default/build_config.bzl

This stackexhange link explains the problem https://unix.stackexchange.com/questions/92895/how-to-achieve-portability-with-sed-i-in-place-editing

So it looks like GNU sed and BSD sed's implementation of -i are
fundamentally incompatible? Can you remove the space between -i and '' and
check if that works? I have no GNU sed installed.

That does seem to work with both GNU and BSD sed.

@ljos Yea, sed isn't very portable - and the -i flag isn't even part of the POSIX spec. This PR should fix the issue https://github.com/tensorflow/tensorflow/pull/8935 for others.

@ljos I'm pretty sure that the new version of #8935 should fix the issue for everybody. Can you confirm?

The new version works for me. Thanks!


Convenience for marking all bookmarks read/unread

Looking at mail, this seems to be an operation that can be done from the context menu of the sidebar entires.

Pushing into future; doesn't feel like a requirement for v1.


Replace publishReplay operator usage in epics with deps ReplaySubject

Description
One common pattern in epics which has contributed with cognitive complexity + 2 levels of nesting in observables chain is the usage of publishReplay RxJS operator to "cache" last seen value of a given observable (action$, state$, or some of their derivatives, e.g. getPresences$).
This makes the code hard to follow, can add some performance penalty as multiple subscriptions/ReplaySubjects are created even for values are used multiple times.
The proposal is to have a RaidenEpicsDeps new member property, latest$: ReplaySubject<{ action, state, presences, pfsList, ... }> being a single source of a replay(1)/cached version of the respective reactive values. Also, a new, custom pluckDistinct operator combines pluck and distinctUntilChanged, to easily map this subject to any of its members reactively.
Also, actionOutput$, stateOutput$ & config$ deps members can be re-defined in function of latest$, so less dependencies, less code to break and an unified reactive source of truth for the latest values of these important mappings and runtime data.
This should be done in multiple PRs, as the new approach can be made in parallel to the current solution, and split PRs to implement changes gradually.
This change is purely internal, and shouldn't impact and of the interfaces or current behavior of the state machine, just simplify and make it more performant.
Will help on #658, #659 and #660
Acceptance criteria

Tasks

[ ]

Closing. It is covered within #658, #659 and #660


26558-App crashes while using distance feature

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/26558
PROPOSAL: https://github.com/Expensify/App/issues/26558#issuecomment-1704178801
Tests

Launch app

Turn off mobile date
Tap fab
Tap Request money
Tap Distance
Enter Start address and save
Enter Finish address and save ([make sure you hit save]
Turn on mobile data

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

https://github.com/Expensify/App/assets/16595846/b35f90e1-234f-44eb-b2f5-6517b4397c56

Mobile Web - Chrome

https://github.com/Expensify/App/assets/16595846/1b2b4d99-e9b8-4a74-9ba8-43c2afb479dd

Mobile Web - Safari
https://github.com/Expensify/App/assets/16595846/1b2b4d99-e9b8-4a74-9ba8-43c2afb479dd

Desktop

https://github.com/Expensify/App/assets/16595846/b35f90e1-234f-44eb-b2f5-6517b4397c56

iOS

https://github.com/Expensify/App/assets/16595846/492e96d6-9a76-4f5b-8e08-1fa03216986a

Android

https://github.com/Expensify/App/assets/16595846/ecf2c069-febf-46e6-b96a-e9e15b99e113

cc @hayata-suenaga The code in this PR will give the possibility to select an invalid waypoint, Is that fine?
The create request will fails :

in this code i am just ignoring the MarkerComponent when doesn't have the lat and lng

@fedirjh

The create request will fails :

the given address don't have the route so that its throwing the error. because when you are offline lat and lang will be fetch from backend. if no route found means it will throw the error when you come back online.

Aha that means we allow invalid points to be chosen online.

in native when coordinate: [waypoint.lng, waypoint.lat], have null so app is broken. so that we are ignore the marker here.

@fedirjh i am not understanding correctly

The issue is that when we create a request offline we can select any invalid point, when we go back online, we don't validate the route before creating the request (there is no call to GetRoute command) -> the backend will validate the request and throw that error after creating the request.

here I am not doing any validation just preventing crashes in native devices. on the web, we don't have any crashes.in native devices because of null its crashed.

@fedirjh

there is no call to GetRoute command when offline to online

for this we have sepreate issue https://github.com/Expensify/App/issues/26596

@fedirjh if we want fix this here let me know i already have the proposal for that as well.https://github.com/Expensify/App/issues/26596#issuecomment-1704024545

This is the only item on the @fedirjh's checklist that hasn't been checked. All other items are checked, and screenshot/recordings are uploaded for all platforms. I'll assume @fedirjh forgot to check this off, and I'll check this off for them so that the PR can be merged.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/hayata-suenaga in version: 1.3.63-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/mountiny in version: 1.3.63-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/hayata-suenaga in version: 1.3.64-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/mountiny in version: 1.3.64-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


[WebToolsE2E][Aspire] After successfully publishing an Aspire project, the Console log does not have any logs in the 'Aspire Dashboard'

INSTALL STEPS

Clean machine: Win11 x64 23h2 ENU
Install SDK 8.0.303
Install Aspire 8.1.0
Install latest released azd v1.9.5
Install git v2.46.0

REPRO STEPS

Open CMD, run following command to create an Aspire Starter App project and deploy it

dotnet new aspire-starter -o AspireStarterApp
cd AspireStarterApp/AspireStarterApp.AppHost
azd init
azd up

After successful deployment, open the deployed "Aspire Dashboard" URL

Click the "Console" option on the Aspire dashboard left, and select the apiservice/webfrontend resource.

Note:

This issue also repro on azd v1.9.4 & azd v1.9.3

ACTUAL
Console log does not have any log information

EXPECTED
Console log has some log information

@snehapar9

@snehapar9

Verify this issue fixed on the latest Aspire 8.1.1-preview.1.24421.2 + azd v1.9.6, close it now.


Clearing cell does not work when executing cell

Create a cell with the following code:

import time
for i in range(100):
	time.sleep(0.1)
	print(i)

Execute
Wait for output
Clear cell output

Expected behavior

Output should start streaming from when it was cleared.
I.e. if after printing the number 50, we clear, then we should only see output for 51,52,53, etc...

Current behavior

Output is cleared and everything starts all over again.
I.e. clearing in this case does absolutely nothing, as we print everything again.

In Jupyter it works the way as outlined in expected behavior.
See https://github.com/microsoft/vscode-python/issues/13160

Closing as fixed in Notebooks


Specific song causes json.decoder.JSONDecodeError:

Hi,
I have painstakingly travelled through my 2k+ songs to identify which specific song is causing the MatchService to fail.
Here is the song:
"2sC55P63llXeteDU8tcNZM": {         "album": "A State Of Trance Episode 758",         "artist": "Cosmic Gate",         "explicit": false,         "id_": "2sC55P63llXeteDU8tcNZM",         "isrc": "NLF711602345",         "title": "Exploration Of Space (ASOT 758) - Cosmic Gate's Third Contact Remix",         "url": "https://open.spotify.com/track/2sC55P63llXeteDU8tcNZM"     },
Removing from the song from the playlist, and then removing spotify cache, resolves the issue.
.\spotify_sync run auto --config .\config.json [2022-10-30 11:20:07,060] INFO      SpotifySync      : Loading config from file config.json [2022-10-30 11:20:07,061] INFO      SpotifySync      : Script started with auto command [2022-10-30 11:20:09,533] INFO      SpotifyService   : Fetching liked songs [2022-10-30 11:20:09,972] INFO      SpotifyService   : Added 0 new liked song(s) from Spotify (cached:2570) [2022-10-30 11:20:09,972] INFO      SpotifyService   : Fetching playlist songs [2022-10-30 11:20:35,044] INFO      SpotifyService   : Adding 0/2672 from playlists [2022-10-30 11:20:50,584] INFO      MatchService     : Attempting to match 1 Spotify songs to Deezer Traceback (most recent call last):   File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 197, in _run_module_as_main     return _run_code(code, main_globals, None,   File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code     exec(code, run_globals)   File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts\spotify_sync.exe\__main__.py", line 7, in <module>   File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\click\core.py", line 1130, in __call__     return self.main(*args, **kwargs)   File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\click\core.py", line 1055, in main     rv = self.invoke(ctx)   File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\click\core.py", line 1657, in invoke     return _process_result(sub_ctx.command.invoke(sub_ctx))   File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\click\core.py", line 1657, in invoke     return _process_result(sub_ctx.command.invoke(sub_ctx))   File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\click\core.py", line 1404, in invoke     return ctx.invoke(self.callback, **ctx.params)   File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\click\core.py", line 760, in invoke     return __callback(*args, **kwargs)   File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\spotify_sync\__main__.py", line 47, in auto     app.auto()   File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\spotify_sync\cli.py", line 53, in auto     match_svc.process_spotify()   File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\spotify_sync\match.py", line 122, in process_spotify     self._match_unprocessed()   File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\spotify_sync\match.py", line 181, in _match_unprocessed     match_futures = [executor.submit(m.search()) for m in matchers]   File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\spotify_sync\match.py", line 181, in <listcomp>     match_futures = [executor.submit(m.search()) for m in matchers]   File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\spotify_sync\match.py", line 72, in search     self._match_fuzzy()   File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\spotify_sync\match.py", line 53, in _match_fuzzy     deezer_search = Deezer.API.advanced_search(   File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\deezer\api.py", line 209, in advanced_search     return self.search(query, strict, order, index, limit)   File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\deezer\api.py", line 205, in search     return self.api_call('search', args)   File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\deezer\api.py", line 34, in api_call     result_json = self.session.get(   File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\requests\models.py", line 900, in json     return complexjson.loads(self.text, **kwargs)   File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\json\__init__.py", line 346, in loads     return _default_decoder.decode(s)   File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 337, in decode     obj, end = self.raw_decode(s, idx=_w(s, 0).end())   File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 355, in raw_decode     raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

@klunkeh thanks for debugging so far, looks to be a bug in deezerpy (API wrapper). I will come back to you.

@klunkeh this fix is now part of 1.0.5 release to pypi. Just need to upgrade your instance python3 -m pip install -U spot_sync

@jbh-cloud amazing! Thank you for your prompt action :)


1726/svg check

Tests and follow-up for #1726

@palmiak thank you again for this contrib! Fixing some last style issues and will then merge.
Future possibilities:

[ ] Allow SVGs to be converted to raster images (I attempted, but it seems to require additional libraries that we can't count on)
[ ] Allow PDFs and other non-raster image media types to be handled with similar logic

I saw that SVG could also be saved as plain text. I'll add this today.
pon., 9 lip 2018, 21:14 użytkownik Jared Novack<EMAIL_ADDRESS>napisał:

@palmiak https://github.com/palmiak thank you again for this contrib!
Fixing some last style issues and will then merge.
Future possibilities:

Allow SVGs to be converted to raster images (I attempted, but it
seems to require additional libraries that we can't count on)
Allow PDFs and other non-raster image media types to be handled with
similar logic

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/timber/timber/pull/1736#issuecomment-403589682, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACO-Op0gXPO2WvO0lhimMPBab40UNg26ks5uE6ufgaJpZM4VEg1K
.

@palmiak — yep, one step ahead of you on the text/plain. As far as PDFs, etc. I think that's a next step from here after merging. The methods you created were non-public so I'm comfortable refactoring in the future to account for those — are you interested in picking that up as yr next PR from here?

Of course I am :)


Make code deployable to appengine

Here is what I get when I try to deploy a deferpanic enabled app to appengine:
2015-12-06 02:19:28,521 ERROR appcfg.py:1910 Invalid character in filename: github.com/deferpanic/deferclient/deferclient/!go15_trace.go

Sure, it will be replaced on Monday with notgo15_trace.go


Unit tests and misc fixes

Convert the questions attribute in projects into objects
Add unit tests for APIResource, Projects, Tasks
Catch more exceptions during init
Add testing instructions to readme

Right now in Project objects, the questions attribute is still a list of dicts. With this PR, Questions can be accessed as a Project attribute, in addition to being used in the constructor to create a Project.


Update composer dependencies to stable requirements

This replaces our last dev dependency with a stable fork that we (don't) support.

Hey Korvin is this affected by the latest dependencies (portPHP) ? Can I
pull this in or does it this need to be tweaked to support the
still-betaness of that library?
On Sun, Feb 26, 2017 at 10:16 PM, Korvin Szanto<EMAIL_ADDRESS>wrote:

This replaces our last dev dependency with a stable fork that we (don't)
support.
You can view, comment on, or merge this pull request online at:
https://github.com/concrete5/concrete5/pull/5144
Commit Summary

Update composer dependencies to stable requirements

File Changes

M composer.lock
https://github.com/concrete5/concrete5/pull/5144/files#diff-0 (289)
M concrete/composer.json
https://github.com/concrete5/concrete5/pull/5144/files#diff-1 (4)

Patch Links:

https://github.com/concrete5/concrete5/pull/5144.patch
https://github.com/concrete5/concrete5/pull/5144.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/concrete5/concrete5/pull/5144, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAgNwaLedXhdklp2v6AcKvp7_jT3TmdLks5rgmpQgaJpZM4MMu11
.


starting from explorer context menu, not hiding main form at start?

main form is visible before missing unity version dialog appears
*happens only if project folder is empty (no assets folder)

not seeing this much


Execution of non isolated methods with async/yield code

Description:
Hi,
Please refer to the following example.
import ballerina/log;
import ballerina/lang.runtime;
import ballerina/http;

int a = 5;

service / on new http:Listener(8090) {
    resource function post .(@http:Payload string textMsg) returns string {
        log:printInfo(textMsg);
        int _ = a;
        runtime:sleep(10);
        return textMsg;
    }
}

Output for 3 requests( Hello1, Hello2, Hello3)
time = 16:41:59 message = "Hello1"
time = 16:42:01 message = "Hello2"
time = 16:42:04 message = "Hello3" **// Executed to one by one but each does not wait 10s one after other.(Refer to the time)**

The given resource method is non-isolated. Because of that, requests should be executed sequentially.
Here we have sleep, so once request execution comes to that line, the strand will wait for sleep to end.
Since there is no active execution related to the same service, the next request will get executed and yield again.
So there is no concurrent requests execution but still, there can be requests on the waiting stage for the same service. That's the current behavior of the scheduler.
What would be the expected behavior?
Case 1) Should the scheduler wait until the first request is made to execute the next request?
Case 2) Should subsequent requests execute sequentially even if there are requests for the same service in yield state?

@jclark @manuranga @sameerajayasoma
I have modified the example. Let's say we send 3 requests one by one, using 3 different clients one after the other.
int count = 0;
service / on new http:Listener(8090) {
    resource function post .(@http:Payload string textMsg) returns string {
       io:print(count);
        runtime:sleep(10);
        count = count + 1;
        return textMsg;
    }
}

Case 1) The scheduler waits until the first request is made to execute the next request.

Then expected output is 012
This means there is a maximum of one strand for a service that can stay either active and wait states. Others will be waiting to be scheduled.
Concurrent safe

Case 2) Subsequent requests execute sequentially even if there are requests for the same service in yield state

Then expected output is 000
There can be multiple stands that can stay active and wait. But only one is active.
Concurrent unsafe/not guaranteed.

For me, case 1 may be the correct thing to do, because we are invoking non-isolated services sequentially.

The scheduler currently guarantees that only one strand is active for a given non-isolated service and a non-isolated resource. But there can be other strands in the blocked state. Since no two strands can be active, how can the current design be a problem?  Would you please think of an example that breaks the current scheduler?

My understanding is the same as Sameera's, that Case 2 is the expected result.

The conclusion is current behavior is OK, since it doesn't lead the data inconsistencies, but saying "a non-isolated service runs sequentially" is not quite right here, as this gives a different meaning to the user. We need to better wording to explain this and we will go ahead with current behavior.

IMO, it is useful to have case 1. In fact, I was also under the impression that case1 is the expected behavior. Because at the service level what matters is safe execution of activities (such as get order details, update account balance, delete user, etc). Consider the below example,
final http:Client accDept = check new("http://foo/acc-dept");
int accNo = 0;

service /departments on new http:Listener(8090) {
    resource function post account(@http:Payload json accQuery) returns json|error {
        accNo = check accQuery.accNo;

        json userInfo = check accDept->get("/userinfo");
        json accInfo = check accDept->get(string `/accinfo?${accNo}`);

        // create a new json from the above two
        json accDetails = {};

        return accDetails;
    }
}

First of all I know it is bad code and most of the logic is stripped out for brevity. But say for some reason a developer accidentally wrote some code like the above.
Now, say Alice and Bob who are two independent users send requests to this service to start accQuery activity. Say Alice hit the service first and then Bob hit the service second.
In that case, there is a probability that Alice getting Bob's account details. Because we are executing two different independent activities at the same time. In other words, Alice's activity is polluted by the Bob's activity. Therefore, if we can avoid something like this, it would be really helpful.

Even with Case 1, if we have multiple services access to the same global variable, the above inconsistency can happen even without any async code. This is because in the current scheduler two strands can be concurrently running for two different non-isolated services.
If we need to fix that kind of consistency we need to run all non-isolated service requests at the global level which will then break the service concurrency and high performance impact too.

You can't allow a situation where two strands are active and access the same global variable without locking. What if the variable contains an array? You would have two threads mutating the array without locking.  You can only have one non-isolated service active at a time.

Then we need to fix the Scheduler to make sure only one non-isolated service is active at a time. I'll send a fix for that.
To handle @shafreenAnfar 's example, we need to have only one non-isolated resource strand active and no other resource strands in the waiting /yield state. Doubt whether we need to fix that.

Remove the bug label since we need to update the doc.


Research and Implement Encrypted Keys (VetKeys and/or Principal Hash Storage)

We store up to 2 sets of important keys for each user: (1) Public/Private ETH Keys and (2) Akash/Cloud API keys for Melisearch (and later Qdrant, etc.).
Right now, we only upload low-risk keys, but ideally we encrypt and decrypt them without leaking them in memory or exposing them to the frontend.
Further, it'd be nice, but not strictly necessary, to associate everyone's NFTs/SBTs with a hash of their principal, so to not expose the principals of users.
VetKeys is still an experimental feature but I think it could be used to get the best of both worlds here without changing too much of the existing architecture.
Helpful Implementation: https://safenote.store/#/contact
Docs Example: https://internetcomputer.org/docs/current/developer-docs/smart-contracts/encryption/using-vetkeys

Two sets of keys that are being stored right now include node keys and engine keys
there are multiple ways to store these keys using vetkd system api
As this is not offical as of now, we have to use system api canister which hard codes the master key, later when this gets merged to the official dfinity sdk we might be able to get this from the management canister and in which case the master key will not be hard coded but the one being shared between nodes with consensus
we considered three options for storing keys

owner can decrypt ( identity based encryption )

In this case we encrypt the set of keys for the intended user ie the owner's principal and only the owner can decrypt when logged. we didn't encountered any such use case as of now but the same concept is being used to store other keys where we encrypt keys for canister instead of users

frontend canister can decrypt

engine keys implement this approach where we encrypt the keys for frontend canister when storing
we create a pair of dumy key on the frontend using the ic-vetkd-utils package   which is a wasm binary for the equivalent package written in rust customized to be usable with icp environment
get the encryption key from vetkd canister,
encrypt data on the frontend with that encrypted key from vetkd canister and pair of dummy key that is created on frontend.
decryption works the same but for frontend canister only and instead of encryption key we ask the decryption key from the vetkd canister first
b) azle canister can decrypt
encryption works the same but the intended user is azle canister id in this case,
for decryption, vetkd canister will check the caller to make sure its form azle canister,
private key is decrypted and signData function is being exposed which takes in the data and node id, creates a signature out of it using specific node's private key


Fixes #2169 relabel lung cell types

Fixes #2169 relabel lung cell types

#gogoeditdiff

A new term 'adventitial fibroblast' is needed.

Thanks for the review @dosumis. I have done the edits.


Content instead of data

The problem
I am following the tutorial on your Github pages, but I seem to have some problems with it. After some trying I got the following code returned:
    @GetMapping(value = "", produces = "application/vnd.api-v1+json")
    public ResponseEntity<RepresentationModel<?>> getAllObjectsOfUser(@RequestParam String requestingUserId) {

        // Creating the default objects
        MyObject myObject = new MyObject();
        myObject.setId("id");
        myObject.setName("Name");
        User owner = new User();
        owner.setId("UserId");
        myObject.setOwner(owner);
        List<User> members = new ArrayList<>();
        members.add(owner);
        myObject.setMembers(members);
        MyObjectDto myObjectDto = new MyObjectDto(myObject.getId(), myObject.getName());

        UserDto ownerDto = new UserDto(owner.getId(), "Owner");
        UserDto memberDto = new UserDto(members.get(0).getId(), "Member");

        // Defining the first RepresentationModel
        final RepresentationModel<?> jsonApiModel = jsonApiModel().model(myObjectDto).relationship("owner", ownerDto).relationship("members", memberDto).build();
        List<RepresentationModel<?>> myObjects = new ArrayList<>();
        myObjects.add(jsonApiModel);

        // Preparing the metadata
        PagedModel.PageMetadata pageMetadata = new PagedModel.PageMetadata(1, 1, 100, 50);
        Link selfLink = Link.of("http://localhost:8080/myObjects").withSelfRel();
        final PagedModel<RepresentationModel<?>> pagedModel = PagedModel.of(myObjects, pageMetadata, selfLink);

        // Creating the actual RepresentationModel with metadata and links
        RepresentationModel<?> pagedJasonApiModel =
                jsonApiModel()
                        .model(pagedModel)
                        .included(owner)
                        .included(members.get(0))
                        .pageMeta()
                        .pageLinks("http://localhost:8080/myObjects")
                        .build();

        // Returning a 200 OK with as body the pagedJasonApiModel
        return ResponseEntity.ok(pagedJasonApiModel);
    }

This returns the following:
{
  "links": [
    {
      "rel": "self",
      "href": "http://localhost:8080/myObjects"
    },
    {
      "rel": "first",
      "href": "http://localhost:8080/myObjects?page[number]=0&page[size]=1"
    },
    {
      "rel": "prev",
      "href": "http://localhost:8080/myObjects?page[number]=0&page[size]=1"
    },
    {
      "rel": "next",
      "href": "http://localhost:8080/myObjects?page[number]=2&page[size]=2"
    },
    {
      "rel": "last",
      "href": "http://localhost:8080/myObjects?page[number]=49&page[size]=1"
    }
  ],
  "content": [
    {
      "id": "id",
      "name": "Name",
      "type": "myObject",
      "links": []
    }
  ],
  "page": {
    "size": 1,
    "totalElements": 100,
    "totalPages": 50,
    "number": 1
  }
}

The question
The format should contain: data, relations and includes. Why aren't they returned? Is this a bug?
Maven (relevant) dependencies
spring-boot-starter-web: 2.3.3.RELEASE
spring-boot-starter-hateoas: 2.3.3.RELEASE
spring-hateoas-jsonapi: 0.7.0-SNAPSHOT (I have also tried with 0.6.0, same results)
Other classes
myObjectDto:
@Data
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@With
public class myObjectDto {
    @JsonApiId
    private String id;
    private String name;
    @JsonApiType
    private final String type = "myObject";
}

UserDto:
@Data
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@With
public class UserDto {
    @JsonApiId
    private String id;
    @JsonApiType
    private String type;
}

@MieskeB, thanks for reporting this.
The reason for this behavior is:
@GetMapping(value = "", produces = "application/vnd.api-v1+json")
=> The media type for JSON:API is not application/vnd.api-v1+json but application/vnd.api+json
Change it to
@GetMapping(value = "", produces = "application/vnd.api+json")
and the result should be rendered in JSON:API format.
If you want to support several different media types,
you could also remove the produces completely, just use @GetMapping("")
But then make sure that your request contains the request header Accept application/vnd.api+json, if you want the result rendered as JSON:API. An easy way to try this out is by using the tool Postman (see https://www.postman.com/).
Please let me know if this helps.

@MieskeB, I noticed two more things about your code, not related to the JSON:API rendering:
If a Java Object has an attribute named id, it would be interpreted as JSON:API id automatically, a prioritization related to the annotations you can find in the docs. In your case, you could just remove @JsonApiId from your DTOs and everything should work fine.
If you want to use a custom JSON:API type, you can either use @JsonApiType, as you did in your DTOs, or define a mapping in the JSON:API configuration, like:
        @Bean
        JsonApiConfiguration jsonApiConfiguration() {
            return new JsonApiConfiguration()
                    .withTypeForClass(myObjectDto.class, "myObject");
        }

Then you could remove
    @JsonApiType
    private String type;

from your DTOs.


Access level "Only one project" not working

I granted access to one particular project on Cloud, but after connecting the Cloud to MS Teams Tableau app I recieved views marked as Favourites from all the projects on the Cloud. Can it be the case that access level is not limiting the access of the Tableau site Admin and works with the "regular" users only?

Hello, so the connected app scope applies more toward the embedding api (how we render the views/metrics).  We can still query Tableau for all the views you've favorited and generate images for them (whether or not they are in that project).


Dev netarchitecture

Added test cases, removed doc file and converted it to pdf

The changes done were alreadz discussed among the team and are approved.


Acceptance and unit test

The coverage currently stands at 0%

Indeed, tests are kinda important. In particular, unit tests for parsing would be very useful right now.

I promise there will be tests in ceilometer-common

\o/

Using roundtrip-aeson for borel Result types/Metric types could help with testing as well as ensuring correctness.

@oswynb quite possibly yes.

don't know about Result, but Metric is a moot point, since we have prisms for encode/decode now. And some prism laws quickcheck.

now has some unit tests, acceptance testing is private


Update jQuery reference for checking middle mouse button

analytics.js is an auto-generated file, you shouldn't make changes to it, because they're going to get swallowed when this file is going to get regenerated.
Looking at the source, I found out that this line belongs to some dependency, so this change should be made there.