Regress Required CMake Version for Ubuntu 18.04

EDIT: don't merge this, SDK support starts at 20.04 which brings us up to 3.16.3
Since the Vulkan SDK supports 18.04 we can't require CMake beyond the version that it provides.
https://launchpad.net/ubuntu/+source/cmake

CI gfxreconstruct build queued with queue ID 44349.

CI gfxreconstruct build # 2566 running.

👎
There is no reason to do this. We have already been shipping libraries with 3.17.2 minimum since the last SDK release.
Also given you aren't explicitly testing your CMake minimum as part of your CI process this is also just untested.
https://stackoverflow.com/q/70898802/19739129

@juan-lunarg CMake on Ubuntu 20.04 is 3.16.  I could not build gfxreconstruct on my Ubuntu installation last night without editing CMakeLists.txt.  So what do you suggest?

CI gfxreconstruct build # 2566 passed.

@juan-lunarg CMake on Ubuntu 20.04 is 3.16. I could not build gfxreconstruct on my Ubuntu installation last night without editing CMakeLists.txt. So what do you suggest?

I'm fine with gfx-reconstruct having a different CMake minimum if it wants to. As long as it explicitly tests the CMake minimum it's advertising.

There's a regression in our tree right now which is a higher priority.

But there is no reason to restrict yourself to the CMake version that comes with your LTS release. The tarballs provided by CMake have extreme portability guarantees for users. Stronger guarantees than our tarball in fact.

Our instructions for building on Ubuntu only require apt-get for build prerequisites.  I don't want to require developers to use a tarball to get a non-standard version of CMake.
@andrew-lunarg, please update this to 3.16.3 to match the SDK requirement for 20.04 minimum and I'll approve it.

Our instructions for building on Ubuntu only require apt-get for build prerequisites. I don't want to require developers to use a tarball to get a non-standard version of CMake.

If you are using the docker images provided by github actions you are using the latest versions of cmake without knowing it.
https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md

CMake 3.26.0

That's why we use get-cmake to test our minimum.

Our instructions for building on Ubuntu only require apt-get for build prerequisites. I don't want to require developers to use a tarball to get a non-standard version of CMake.

If you are using the docker images provided by github actions you are using the latest versions of cmake without knowing it.

Our instructions for building on Ubuntu only require apt-get for build prerequisites.

Our instructions for building on Ubuntu only require apt-get for build prerequisites.

I'm trying to say your CI is using CMake 3.26 because the runners provided by GitHub use the tarballs.
So if you want to ensure you don't break your users you need to explicitly grab the CMake version 3.16.3

Here is an example where the vulkan-loader advertized a cmake minimum version of 3.10.2 but used newer CMake features. So it broke the Conan build.
https://github.com/KhronosGroup/Vulkan-Loader/issues/1095
Now this will never happen again since the loader explitly tests it's minimum:
https://github.com/KhronosGroup/Vulkan-Loader/pull/1112

That's very helpful, thank you.  Is that something you know how to change
in the yaml?  Do you have time to try to make that PR?
On Fri, Mar 24, 2023, 10:41 AM Juan Ramos @.***> wrote:

Our instructions for building on Ubuntu only require apt-get for build
prerequisites.
I'm trying to say your CI is using CMake 3.26 because the runners provided
by GitHub use the tarballs.
So if you want to ensure you don't break your users you need to explicitly
grab the CMake version 3.16.3
—
Reply to this email directly, view it on GitHub
https://github.com/LunarG/gfxreconstruct/pull/1068#issuecomment-1483181910,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMCLT74CRVIPL7SS7PBX5U3W5XMGHANCNFSM6AAAAAAWGZKDUU
.
You are receiving this because your review was requested.Message ID:
@.***>

Do you have time to try to make that PR?

Sure :+1:

What I mean by that is that we provide build instructions for users, and we don't require people to use our GH actions artifacts. So if someone followed our build instructions, like I did last night, on Ubuntu 20.04, the build would fail. That's a regression.

Also I didn't realize this is what you meant by a regression when I originally answered. I understand this PR a lot better now.

https://github.com/LunarG/gfxreconstruct/pull/1069

We don't need this anymore. Situation much improved by https://github.com/LunarG/gfxreconstruct/pull/1069, thanks @juan-lunarg :raised_hands:.


Inconsistent results

First of all, thank you for providing such a readable public implementation of an interesting paper!
Unfortunately, I've found (using PyTorch 4.1) that the results for IPD_DiCE.py seem to vary significantly between runs (you define a seed in the Hp() class, but you don't seem to set it anywhere). Out of 3 runs, 2 of them converged to (-1.9, -1.9) reward after 200 updates (the 'all defect' policy), and only one of the runs got down to about (-1.03, -1.28) reward.
Any idea why this could be the case? Are you also experiencing this?
(LOLA with exact gradients in IPD_ex.py does seem to work though!)

Thanks for your feed back !

you define a seed in the Hp() class, but you don't seem to set it anywhere
I reinitialize the seed before each session (with != nb_lookahead) in the main script.

Besides, I have also experienced the 1-lookahead (is it what you tried) going back to a defect strategy after ~ 300 updates.
Anyway, I'm going to push the last version, that works properly.

I still have to update the picture, but you can already test the new version. I've just tested the 1-lookahead over 400 updates and different seeds, it seems to cooperate in all cases.
Now, it's the 3-lookaheads model that seems quite poor, but it's just taking more time before starting to cooperate. 3 lookahead is probably too much with these hyperparameters (and may require smaller learning rates).

@alexis-jacq Thanks alexis for this implementation.
I have just the new version and I also see some odd with lookahead=3

I see that you are applying a baseline. In the original code, the baseline seems be to disabled.

Oh, thanks a lot @jleni for the longer run! I'm glad to know it finally works for 3 lookaheads after a longer run. Yes, the baseline is disabled by default on the original code, but I think the figure of the paper were obtained with the baseline (it really improve the gradient estimation).

I am a bit confused with this line:
https://github.com/alexis-jacq/LOLA_DiCE/blob/27254c684e15c11587adf42c4b17bc435ca69183/ipd_DiCE.py#L59
Why do you add the logprobs instead of concatenating the two vectors?
It think that leads to incorrect results.

Ignore my comments. You are calculating tau and it is actually the same.


Paginated results

I have to paginate the results of a getResourceCollection, providing also "includes". Is there an official solution to do this, getting the count number of results and the canNext and canPrev booleans? I tried with "deserialize: false" param, but I have a problem with relationships and includes that are in different objects.
Thanks

You can make a call so you get paginated data then deserialize the response once you get it back.
const response = drupal.getResourceCollection("node--page", {
  deserialize: false,
})

// Do something with response.links etc...

// Then get the node with relationship included using:
const pages = drupal.deserialize(response)

See also https://next-drupal.org/docs/reference/deserialize


Nuxt.js with Typescript -> TS2339: Property '$scrollbar' does not exist on type ...

The complete error is as follows:
TS2339: Property '$scrollbar' does not exist on type 'CombinedVueInstance<Vue, { pageName: string; }, { parallax(): void; fetchPageName(): string; }, unknown, Readonly<Record<never, any>>>'.
So the nuxt-gsap-module works fine as long as I use the directives. But I'm using smooth-vuebar and for the two packages to work with each other I need to use this.$Scrolltrigger.scrollerProxy(). But I can't use it since it errors as stated above. I have no clue on how to properly configure my scrollTrigger.

Hi and thanks for your interest in this module.
Unfortunately, it's difficult to say where the problem is without minimal reproduction. Please share an example (link to the code) that shows the issue.
Anyway, here a some tips that may help.
Don't forget to activate ScrollTriger inside nuxt.config.js before use:
// nuxt.config.js

export default {
  gsap: {
    extraPlugins: {
      scrollTrigger: true
    }
  }
}

Simple example for ScrollTrigger
index.vue
<template>

</template>

GSAP also has an official example of how to integrate ScrollTrigger & Smooth-Scrollbar so try to follow their code.

Closing this due to inactivity. Feel free to reopen it with an attached link to a minimal reproduction that shows the issue.

Sorry for my late response. I want to share my code but I've never done that before and I don't really know how to share it securely (since it has API keys in it). I do see you do this in index.vue and I tried doing this in index.vue so I don't have to put this code on every page. If you could provide me with something on how to share my code (and without sharing api keys and so forth) than I will happily do so.

Here is a quick example of nuxt-gsap-module + smooth-scrollbar.
I just tested it and it works fine without errors.
Tips:

Install all dependencies (nuxt-gsap-module, smooth-scrollbar)
Activate nuxt-gsap-module and ScrollTrigger
Copy the code below into the page

index.vue
<template>

ScrollTrigger & Smooth-Scrollbar

Section 2

Section 3

</template>

Test env:

nuxt: 2.15.7
nuxt-gsap-module: 1.3.2
smooth-scrollbar: 8.6.2

Thanks for the support but meanwhile I got it to work. I stopped using TypeScript for this project. Which fixed the issue, almost. Instead of this.$ScrollTrigger.update I've used this.$ScrollTrigger.refresh (which I found in the documentation).


Long running queries not returning results

Hey, we've been having issues with long running queries not being executed properly. According to the snowflake docs if a query takes longer than 45 seconds to execute you will have a QueryStatus object returned with a different response code instead of the result but it seems as though this scenario is not being considered.
https://docs.snowflake.com/en/developer-guide/sql-api/guide.html#handling-the-response

@manish-kotecha-cko,
Hi! Thanks for reporting this and sorry for a long-waited answer.
Unfortunately I've been too busy at work lately. I can't say when I will resume my active work on this client (but I hope for next 2-3 months). I think long running queries definitely should be supported by this client, so I'll make it my next higher priority feature. Not sure though how I can make it without breaking API backward compatibility.

Hey Ilya, no worries and thanks for the nice project.
In terms of avoiding breaking changes I think perhaps just checking the response code and retrying in a loop if it's gives the alternative response code and the returning the result when there is a 200 code?
I think there is a similar implementation in Snowflake.Data client.

@manish-kotecha-cko Hi!
Yep, it turns out that implementation for this is really simple - thanks for this hint :)
Not sure why I thought that this will require API breaking changes.
So I've just released new version 0.3.9 that can handle long-running queries.


VISR issue

Trying to get visr running locally and having issues. Downloading sample files from website but vel_intrp.dat is no longer available at http://scec.ess.ucla.edu/~zshen/visr/visr.html, thus it's not currently possible to run the test dataset. Running on my own files results in a data file read error:
Fortran runtime error: Bad value during floating point read
Any ideas?

Could it be the same as this issue:  https://github.com/kmaterna/Strain_2D/issues/32
Down in the comments, I sent a zip-file of a fortran source code that I have on my computer.  It's possible the website files have changed on the visr webpage and we could talk to Zheng-Kang about it?

Hi,
I didn't want to bother finding the VISR files online and coded up an simplified version purely in Python. It runs pretty fast, has both distance and coverage options, doesn't need min_max_inc_smooth as it optimizes the curve automatically, but doesn't have the uncertainty_threshold or fault options. Since it's not really new code, but it does make things easier to use if you don't need the fault capabilities, I was wondering whether I should submit a PR with this code @kmaterna? It'll join my DISSTANS package soon so it wouldn't be a huge effort. We could call it "Simple VISR" or something like that?
Cheers

Hi, that would be very useful!  More people are running into this
visr-download issue over time, and it's unsustainable for me to keep
uploading a zip of the files I downloaded 6 years ago...  I would be happy
to check out the branch and help with the config-file and other plumbing on
the PR.  Thank you very much!!
On Fri, Aug 16, 2024 at 10:18 AM Tobias Köhne @.***>
wrote:

Hi,
I didn't want to bother finding the VISR files online and coded up an
simplified version purely in Python. It runs pretty fast, has both distance
and coverage options, doesn't need min_max_inc_smooth as it optimizes the
curve automatically, but doesn't have the uncertainty_threshold or fault
options. Since it's not really new code, but it does make things easier to
use if you don't need the fault capabilities, I was wondering whether I
should submit a PR with this code @kmaterna https://github.com/kmaterna?
It'll join my DISSTANS https://github.com/tobiscode/disstans package
soon so it wouldn't be a huge effort. We could call it "Simple VISR" or
something like that?
Cheers
—
Reply to this email directly, view it on GitHub
https://github.com/kmaterna/Strain_2D/issues/36#issuecomment-2293875231,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC7QOVD3DST4VZZJKFMCFSLZRYYADAVCNFSM6AAAAABC757OQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJTHA3TKMRTGE
.
You are receiving this because you were mentioned.Message ID:
@.***>


mocha does not allow for return values from test

done() call does not allow any other return parameter except `undefined' (i.e. no parameter at all) or Error(). Following test results in exception:
it('pass', function (done) {
    done('test finished ok');
});

The only way to pass the return value from test is to call done(null, val):
it('pass', function (done) {
done(null, 'test finished ok');
});
But then such return value is not available in custom reporter.

Maybe because that's the purpose of done. What's your use-case? I believe this has been discussed in other issues.

if you need to set metadata, you can stuff it in this.  most of the events emitted to the reporters will pass the test instance, so you'll have access to whatever is in this

I take note of your answer, @boneskull. :)

please don't take my response as a "best practice" :D

I take it as a "quick hack that works and saves your day" :D


added expressions to the min,max and step of the slider

Hi, I added the expression optionals to the slider input (min, max and step). Let me know what you think.

Hi,
I think it's a good idea. I've made the change to the source file, and rebuilt, so its now also in the zip. Also updated the version to 2.3.1.
Thanks!
Erik


HDDS-5151. Support ByteBuffer read in OzoneInputStream

https://issues.apache.org/jira/browse/HDDS-5151

@hanishakoneru thanks the detail code review,  I have addressed all the comments in the new commit.

@hanishakoneru and @adoroszlai ,  would you help to take another look again?

Thank you @ChenSammi for working on this.
LGTM. +1 for merge.

Thanks @hanishakoneru @adoroszlai @jojochuang for the code review.


fail to get go version using ltc/scripts/install

hi
I have follow the guide to install ltc from source.however,the install script cant get go version with grep -o "\d.\d.\d" at #L5.
my environment:
root@lattice-cli:~/workspace/lattice# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.4 LTS"

then i use grep -o "[0-9]\+\.[0-9]\+\.[0-9]\+" to instead of grep -o "\d.\d.\d", it work...

@guanglinlv the team switched "\d.\d.\d" to "[[:digit:]]\.[[:digit:]]\.[[:digit:]]" which doesn't look precisely like what you were looking for. (In particular, I'm not sure how this will work when we get to v0.2.10) do you want to provide feedback before I move forward with this change?
--
Marco Nicosia
Product Manager
Pivotal Software, Inc.

hi @menicosia ,I just puzzled about "\d.\d.\d" here,because it can't work in my ubuntu. this change is precisely good for me.
thanks.

This was included with v0.2.5.  Closing this.
Thanks for reporting this issue!
David


Right angle links between nodes

I wrote a function to generate straight line links between nodes, but hit a limitation:

I used the same logic as in generateCurvePath to determine whether the link was "horizontal" (i.e. width > height) to switch between the two link shapes, but I think that it makes more sense to base the behaviour on which edge of the node the link enters/exits. That is, a link from the top/bottom of a node should start vertical, whereas a link from the left/right should start horizontal.
Would it make sense to add the chart state to the list of props passed to the <Link> component, to make it possible to look up the port and make this decision within the component?
I guess that in order to implement #54, it would also be necessary to look at the whole chart state in order to decide where to put each line.

I started working on my PR for #54. You actually have access to the port data in Link.wrapper. You can pass down the port type to Link and then use it in generateCurvePath to figure out which direction to start in

We also need to access more data in inner component (<Port> in our case). In the end we decided to add extra properties to config prop.
Actually there was once a prop called nodeProps in config: https://github.com/MrBlenny/react-flow-chart/blob/master/src/types/config.ts#L9 . At that time the nodeProps is used to pass down all components: https://github.com/MrBlenny/react-flow-chart/commit/2dfa8ab5e2c2ae67f8fc1d338431a43f1e9f84f7 . However, the latest API passes the whole config down to each component, thus codes relevant to nodeProps is removed in the code base. I guess this means that it is encouraged to put extra stuff in config...?

@MrOrz in this case, I guess it would make sense to use config to specify the link type (e.g. "curved" or "angular") but I would still need to pass the sides of the ports at link.to and link.from. Are you suggesting that I add extra properties to config from inside Link.wrapper (and @MrBlenny can I interpret that your :+1: is approving that idea)?
Something like:
config = {
   ...config,
   portConfig: {
    to: "bottom",
    from: "top"
  }
}


[fix](multi catalog)Support parquet and orc upper case column name.

Proposed changes
Issue Number: close #xxx
External catalog table column names in doris are all in lower case, while iceberg table or spark-sql created hive table may contain upper case column name, which will case empty query result. This pr is to fix this bug.
For parquet file, transfer all column names to lower case while parse parquet metadata.
For orc file, store the origin column names and lower case column names in two vectors, use the suitable names in different cases.
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.18 seconds
load time: 538 seconds
storage size:<PHONE_NUMBER>9 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230120020102_clickbench_pr_84340.html


[feature] pre-submit test for container workflow

I'm not sure I can actually create pre-submits for the container workflow since it will require packages: write permissions to test (I need to be able to upload an attestation to a container registry), and I don't think we can give those permissions safely to code running in a pull_request target.


False template extracted

Hi,
I extracted this reaction's retro template, as follows:
'[OH;D1;+0:2]-[c:1].[OH;D1;+0:4]-[c:3]>>[c:1]-[O;H0;D2;+0:2]-C-c1:c:c:c:c:c:1.[c:3]-[O;H0;D2;+0:4]-C-c1:c:c:c:c:c:1'
Obviously, the template is not my desire. I want a retro template that there are only one reactant and one product in the template. What can I do to make it? Thank U very much.
The reaction smiles is 'CC(C)(C)C1=CC(C2=C(CCCC3)C3=CC4=C2CCCC4)=C(OCC5=CC=CC=C5)C(C6=CC(C(C)(C)C)=CC=C6OC[C@@H]7CCCC[C@@H]7COC8=CC=C(C(C)(C)C)C=C8C9=CC(C(C)(C)C)=CC(C%10=C(CCCC%11)C%11=CC%12=C%10CCCC%12)=C9OCC%13=CC=CC=C%13)=C1>>OC1=C(C2=C(CCCC3)C3=CC4=C2CCCC4)C=C(C(C)(C)C)C=C1C5=CC(C(C)(C)C)=CC=C5OC[C@@H]6CCCC[C@@H]6COC7=CC=C(C(C)(C)C)C=C7C8=CC(C(C)(C)C)=CC(C9=C(CCCC%10)C%10=CC%11=C9CCCC%11)=C8O'

Hi @queliyong ,
This is the desired behavior of RDChiral in this case, because the reaction involves two simultaneous reaction steps. However, for your use case, it might not be appropriate. If you're comfortable with Python, I would recommend defining a post-processing step where you look to see if a template consists of multiple fragments on the product side (by looking for a period used for concatenation) and, if so, split the product side of the template and try to match the atom map numbers with fragments on the reactants side. If you detect that they can be decoupled, that will then leave you with two templates from the one reaction SMILES rather than just the one. If necessary, you can then compare your final set of templates in the absence of atom mapping to de-duplicate.

Hi @queliyong ,
This is the desired behavior of RDChiral in this case, because the reaction involves two simultaneous reaction steps. However, for your use case, it might not be appropriate. If you're comfortable with Python, I would recommend defining a post-processing step where you look to see if a template consists of multiple fragments on the product side (by looking for a period used for concatenation) and, if so, split the product side of the template and try to match the atom map numbers with fragments on the reactants side. If you detect that they can be decoupled, that will then leave you with two templates from the one reaction SMILES rather than just the one. If necessary, you can then compare your final set of templates in the absence of atom mapping to de-duplicate.

Thanks a lot for your advice. I will try.


The build for macOS doesn't seem to be working

Hi, I ran ./copypasta-mac and ./"copypasta-mac" as well from my downloads folder, and it gives me the error:
./copypasta-mac: command not found

I'll look into this in a few hours, thanks for the heads up

Hi, it seems that the issue stemmed from macOS converting the executable into a text file. For anyone else that faces this problem, do a chmod +x for the file, and it'll get converted into an executable. It runs perfectly after that.


Update azure-activedirectory-library-for-java to 1.2.0

Currently using 1.1.3.

closing this issue since it's fixed by the PR


Allow or and other operators in search

It would be nice to allow operators in the search bar. For example, using "or" to see combos that contain any of the listed properties. For example, the query: card:"freed from the real" or card:"pemmin's aura" would return any combo that contains either Freed from the Real or Pemmin's Aura. This is useful when searching for interchangeable cards, like Freed from the Real and Pemmin's Aura. The exact operators can be changed as needed to not conflict with card names and such.

Duplicate of #105


CUBE_REPORT import missing

Hello,
I am trying to run your QBOX and other repos as this is very interesting but there seems to be missing the custom CUBE_REPORT import:
import CUBE_REPORT  # Import the custom report module

I would like to replicate this:
https://www.youtube.com/watch?v=nZy38NFyDOk
Also interested in trying to apply QBOX to LLMs and Spiking neural networks if possible.
Where can I get this?
Thanks

Good morning.
The basis of my work is to create new neural network models that are faster
and more efficient. To do this, I have transformed conventional neurons
into points of light that work through simulated optical physics with
Raytracing. I am also working on a more efficient memory and state saving
format for the neural network using a hologram.
You can run the QBOX program by adding a blank sheet for the CUBE_REPORT
since the report is not essential to the operation of the program. Although
I recommend you try more advanced versions of my work as QBOX is one of the
first demos of the concept. Below is the list of works chronologically.
https://github.com/Agnuxo1/QBOX
https://github.com/Agnuxo1/QuBE
https://github.com/Agnuxo1/NEBULA
https://github.com/Agnuxo1/NEBULA-EVOLUTION
https://github.com/Agnuxo1/Holography_Raytracing
If you have any questions, do not hesitate to contact me.
Greetings:
Francisco Angulo de Lafuente
El mié, 16 oct 2024 a las 1:25, LonnieTC @.***>)
escribió:

Hello,
I am trying to run your QBOX and other repos as this is very interesting
but there seems to be missing the custom CUBE_REPORT import:
import CUBE_REPORT  # Import the custom report module
Where can I get this?
Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/Agnuxo1/QBOX/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/BHS2SU5EXUI6MPCJVHJG2CLZ3WP6NAVCNFSM6AAAAABQAGQQPKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU4TAMJUHE3TGNI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--

Thanks for the quick reply.
I have been reading the information that you have on QBOX and other repositories and it is very interesting to me as I think that it could offer great potential for Optical Neural Networks (ONN) and even think that just maybe it could be modified to have spiking neural network properties as well which might further enhance it.
I think that the Optical domain has a great potential for neural networks and have been researching them for some time with my latest interest in "Nanophotonic media for artificial neural inference" (2019) by ERFAN KHORAM, et. al. in which they use glass to develop a neural network that uses virtually no power except for the input image.
I like the idea of a evolutionary spiking ONN based upon QBOX ray-tracing ideas such that the network evolves, maybe like your Nebula-Evolution (Nebula9999) ideas which I would like to see more implementation if possible.
The goal was to start with QBOX (try to replicate the video) to get a good feel for it and then work through QuBE, Nebula, Nebula-Evolution, and into Holography_Raytracing to understand all that you are working on now.
If all goes well then just maybe there might be a potential to make some actual neuromorphic hardware based upon D2NN or the Glass Nanophotonic media approach but that is much further down the road from here.
Thanks again and have a great day

Thank you very much for your interest in the project.
Your comments are very insightful. Initially, I envisioned developing a
photonic processor, but that remains a distant prospect – almost science
fiction. Therefore, I decided to simulate one using ray tracing and a
holographic system based on simulated optical physics.
I believe that even with a simple simulation, we can improve the efficiency
of neural networks. By representing neurons as simulated points of light,
the GPU can process billions of them simultaneously. I have already
successfully run models with several billion light-based neurons on my
computer.
I am currently working on simplifying the prototype demonstration programs
and uploading new repositories. I will be uploading further repositories to
the platform tomorrow.
Sincerely,
Alternatively, a slightly less formal closing:
Thank you very much for your interest in the project.
Your comments are very insightful. Initially, I envisioned developing a
photonic processor, but that remains a distant prospect – almost science
fiction. Therefore, I decided to simulate one using ray tracing and a
holographic system based on simulated optical physics.
I believe that even with a simple simulation, we can improve the efficiency
of neural networks. By representing neurons as simulated points of light,
the GPU can process billions of them simultaneously. I have already
successfully run models with several billion light-based neurons on my
computer.
I am currently working on simplifying the prototype demonstration programs
and uploading new repositories. I will be uploading further repositories to
the platform tomorrow.
Best regards,
El mié, 16 oct 2024 a las 21:19, LonnieTC @.***>)
escribió:

Thanks for the quick reply.
I have been reading the information that you have on QBOX and other
repositories and it is very interesting to me as I think that it could
offer great potential for Optical Neural Networks (ONN) and even think that
just maybe it could be modified to have spiking neural network properties
as well which might further enhance it.
I think that the Optical domain has a great potential for neural networks
and have been researching them for some time with my latest interest in
"Nanophotonic media for artificial neural inference" (2019) by ERFAN
KHORAM, et. al. in which they use glass to develop a neural network that
uses virtually no power except for the input image.
I like the idea of a evolutionary spiking ONN based upon QBOX ray-tracing
ideas such that the network evolves, maybe like your Nebula-Evolution
(Nebula9999) ideas which I would like to see more implementation if
possible.
The goal was to start with QBOX (try to replicate the video) to get a good
feel for it and then work through QuBE, Nebula, Nebula-Evolution, and into
Holography_Raytracing to understand all that you are working on now.
If all goes well then just maybe there might be a potential to make some
actual neuromorphic hardware based upon D2NN or the Glass Nanophotonic
media approach but that is much further down the road from here.
Thanks again and have a great day
—
Reply to this email directly, view it on GitHub
https://github.com/Agnuxo1/QBOX/issues/1#issuecomment-2417747391, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BHS2SU62MN2MKIOZIQJJZZ3Z3234DAVCNFSM6AAAAABQAGQQPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJXG42DOMZZGE
.
You are receiving this because you commented.Message ID:
@.***>

--

Hello
I have been exploring your repositories and was wondering if you were going to release the code to run tetris, snake, and pong like in the video that I posted earlier?
Also, will you have any small LLM demos coming out since I would like to see how some of that could be done with the QBOX approach since that also has potential to offer highly distributed spiking neural networks. I was playing with the idea of a highly distributed (P2P) LLM that is massive in size but could be more efficient than current implementations which use transformers and RNN's (SpikeGPT and RWKV).
Also if you would like to have off-list discussions then do you have a Discord or Slack channel?  If not, then I have a small Slack channel that I can send you an invite if I have your email.
I think that there could be huge potential with the work that you are doing and I would like to discuss it more with you if you are interested.
Have a great day

Good morning.
Write me directly to my email and we'll talk.
Greetings:
@.***
El jue, 17 oct 2024 a las 19:25, LonnieTC @.***>)
escribió:

Hello
I have been exploring your repositories and was wondering if you were
going to release the code to run tetris, snake, and pong like in the video
that I posted earlier?
Also, will you have any small LLM demos coming out since I would like to
see how some of that could be done with the QBOX approach since that also
has potential to offer highly distributed spiking neural networks. I was
playing with the idea of a highly distributed (P2P) LLM that is massive in
size but could be more efficient than current implementations which use
transformers and RNN's (SpikeGPT and RWKV).
Also if you would like to have off-list discussions then do you have a
Discord or Slack channel? If not, then I have a small Slack channel that I
can send you an invite if I have your email.
I think that there could be huge potential with the work that you are
doing and I would like to discuss it more with you if you are interested.
Have a great day
—
Reply to this email directly, view it on GitHub
https://github.com/Agnuxo1/QBOX/issues/1#issuecomment-2420100786, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BHS2SU5ZA374MDRGD2KNDS3Z37XI5AVCNFSM6AAAAABQAGQQPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRQGEYDANZYGY
.
You are receiving this because you commented.Message ID:
@.***>

--


Add event debugging tool

Description
This PR adds some utilities for debugging events.  See Zulip chat for context:
https://napari.zulipchat.com/#narrow/stream/212875-general/topic/layers.20set_data.20events.20infos
It also introduces a .env file pattern that might be very useful for developers, and serve as a place for us to document some of the many env vars we have lying around the source code (such as NAPARI_ASYNC, etc).  It's a very handy way to set/unset env vars without using bash, etc...
To use:

either run pip install -e .[dev] again, or, to add a couple tools, run pip install rich python-dotenv
change the name of the included .env_sample to .env (note, .env is in .gitignore)
modify the .env as desired to include/exclude various event types (e.g. "set_data") or emitting objects (e.g. "Points")
either set export NAPARI_DEBUG_EVENTS=1 in your shell, or set the corresponding line in the .env file
enjoy the firehose (and continue tuning include/exclude)

https://user-images.githubusercontent.com/1609449/145691692-8dadbbdc-f3ad-4bcb-b5a9-21c6cd3213e2.mov
cc @guiwitz ... curious if this would help your case
Type of change

[ ] Bug-fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

References

How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

This is amazing! So next up is an interactive graph? :P
Also, other than debugging event-related issues, this would be great for trimming down unnecessary multi-firing of events, which I have the impression happens quite a lot at the moment :)

Also, other than debugging event-related issues, this would be great for trimming down unnecessary multi-firing of events, which I have the impression happens quite a lot at the moment :)

absolutely ... it was a little hard to avoid paying attention to that while I was doing this 😂  ... definitely needs some love.

test fail is on everything, due to recent dask update.  will add docstring

test fail is on everything, due to recent dask update. will add docstring

ah ok great - sorry didn't realize. can you update from main and then we can merge. thanks!!


Release 2.11.0

What? and Why?

Release branch for release 2.11.0

Checklist

[x] CHANGELOG.md updated? (if required)

Codecov Report

Merging #74 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #74   +/-   ##
=======================================
  Coverage   87.17%   87.17%
=======================================
  Files           6        6
  Lines         234      234
=======================================
  Hits          204      204
  Misses         30       30

Impacted Files
Coverage Δ

app/__init__.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Skip underscore (_) id iteration

JS should skip seat id, row and column iteration while using underscore (no seat)

Can you please provide a code snippet which can help replicate the issue?

Script doesn't ignore "_" (spacer) and increases an ID

Even I am having the same issue... is there any way where it can be ignored....

Can you please provide a code snippet which can help replicate the issue?

I solved the issue provide me your email address will mail it to you..... the thing is i am using codeigniter framework for my project... for that i needed this and its getting very hard to integrate this...

can someone provide the fix for this one?

Very need solutions to this problem, some people can help answer it, thank you


Parent loader is not invalidated

Description
The form data of the parent layout is not invalidated when saving and redirecting back to the parent. My app is structured like this:

+layout.svelte
+layout.server.ts
+page.svelte
/subpage/+page.svelte
/subpage/+page.ts
/subpage/+page.server.ts

When submitting a superform on /subpage/+page.svelte, data is being saved to the database and a redirect back to /+page.svelte is triggered by
			return redirect(303, "<url>");

My superforms instance in /subpage/+page.svelte is configured like this:
	let superform = superForm(data.form, {
		validators: zodClient(baseArticleSchema),
		dataType: 'json',
		resetForm: false,
		invalidateAll: 'force',
		applyAction: true,
		onError(event: unknown) {
			console.error(event);
		},
	});

and additionally, i've enabled SUPERFORMS_LEGACY: true. When submitting the form, the navigation back to the main page works as expected, but the parent data from the layout-loader is only invalidated like every second time.
If applicable, a MRE
Let me know if you need a MRE, but maybe it's something obvious so just let me know please :)
Use this template project to create a minimal reproducible example that you can link to here: https://sveltelab.dev/github.com/ciscoheat/superforms-examples/tree/zod (right click to open in a new tab)

A MRE would be useful for this!

Closing, no activity.


Need to use clustering algorithm without mapview

I need to apply clustering algorithm on bunch of CLLocationCoordinate2D points and just achieve resulting cluster's CLLocationCoordinate2D points. Is there a way to do this without using map view?

You can do that by creating an object that comply to the CKMap protocol and achieve clusters from its cluster manager.


Pagination error - Cannot read properties of undefined (reading 'fieldsByTypeName')

I'm trying a fairly straightforward example with pagination, but am running into the following error: Cannot read properties of undefined (reading 'fieldsByTypeName')
It's failing on line 62 of graph.ts because in line 61 tree is being assigned to tree.fieldsByTypeName[type][field], but field has been set to "nodes" in cursor.ts line 112, and there are no fields named "nodes" on the entity so tree is assigned undefined.
I've tried instantiating CursorPaginator with no options, and with different take and fields options
If there is other useful information I can add here, please let me know.
  const resolveGraph = GraphResolver({
    Plan: ModelResolver(Plan)
  })
  const plans = await resolveGraph(context, info, Plan.query(), {
    paginate: CursorPaginator()
  })

'use strict'

const { Model } = require('objection')

class Plan extends Model {
  static get tableName () {
    return 'plans'
  }

  static get relationMappings () {
    return {
      services: {
        relation: Model.ManyToManyRelation,
        modelClass: require('./Service'),
        join: {
          from: 'plans.id',
          through: {
            from: 'plansServices.planId',
            to: 'plansServices.serviceId'
          },
          to: 'services.id'
        }
      }
    }
  }
}

module.exports = Plan

Please paste your graphql schema and query.

Ok, i've tried to simplify things a bit more by taking out the relation mappings (getting same result):
Schema:
type Plan {
  id: ID!
  name: String!
}

type Query {
  getPlansTest: [Plan]!
}

Query:
query getPlans {
  getPlansTest {
    id
    name
  }
}

Resolver:
'use strict'

const { GraphResolver, ModelResolver, CursorPaginator } = require('objection-graphql-resolver')
const Plan = require('../models/Plan')

async function getPlansTestResolver ({
  context,
  info
}) {
  const resolveGraph = GraphResolver({
    Plan: ModelResolver(Plan)
  })
  const plans = await resolveGraph(context, info, Plan.query(), {
    paginate: CursorPaginator()
  })
  return plans
}

module.exports = getPlansTestResolver

Model class:
'use strict'

const { Model } = require('objection')

class Plan extends Model {
  static get tableName () {
    return 'plans'
  }
}

module.exports = Plan

Full stack trace:
TypeError: Cannot read properties of undefined (reading 'fieldsByTypeName')
    at resolve_tree (/usr/app/node_modules/objection-graphql-resolver/src/resolver/graph.ts:62:30)
    at resolve (/usr/app/node_modules/objection-graphql-resolver/src/resolver/graph.ts:78:3)
    at getPlansTestResolver (/usr/app/server/resolvers/getPlansTestResolver.js:14:25)
    at execFn (/usr/app/server/utils/generateResolver.js:22:22)
    at /usr/app/server/utils/generateResolver.js:51:22
    at resolveField (/usr/app/node_modules/graphql/execution/execute.js:464:18)
    at executeFields (/usr/app/node_modules/graphql/execution/execute.js:292:18)
    at executeOperation (/usr/app/node_modules/graphql/execution/execute.js:236:122)
    at executeImpl (/usr/app/node_modules/graphql/execution/execute.js:116:14)
    at Object.execute (/usr/app/node_modules/graphql/execution/execute.js:60:63)
    at /usr/app/node_modules/graphql-tools/src/stitching/delegateToSchema.ts:105:13
    at step (/usr/app/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:32:23)
    at Object.next (/usr/app/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:13:53)
    at /usr/app/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:7:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/app/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:3:12)


WIP: Documentation: add Hello World and How to add it to Giraffe

closes https://github.com/SaturnFramework/Saturn/issues/243

One more thing I might add is a side by side comparison between Saturn and C# MVC Controllers.
If you create a new ASP.NET Core app and choose API

it creates a WeatherForecastController:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;

namespace WebApplication1.Controllers
{
    [ApiController]
    [Route("[controller]")]
    public class WeatherForecastController : ControllerBase
    {
        private static readonly string[] Summaries = new[]
        {
            "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching"
        };

        private readonly ILogger<WeatherForecastController> _logger;

        public WeatherForecastController(ILogger<WeatherForecastController> logger)
        {
            _logger = logger;
        }

        [HttpGet]
        public IEnumerable<WeatherForecast> Get()
        {
            var rng = new Random();
            return Enumerable.Range(1, 5).Select(index => new WeatherForecast
            {
                Date = DateTime.Now.AddDays(index),
                TemperatureC = rng.Next(-20, 55),
                Summary = Summaries[rng.Next(Summaries.Length)]
            })
            .ToArray();
        }
    }
}

The plan is to translate that to Saturn.

@0x53A, thanks a lot for this PR! ❤

Haha thanks for merging it, I started it and then ... forgot about it again


Yuri's revenge resolution issue

Hello, thank you for your job. It's very great, that you are making this.
I know that you have menu resolution bug, but i found something interesting info, which can help you to fix it.
First of all i tried to play with ddraw settings to make the best resolution for my display (1920x1080)
When i use handlemouse=true i have menu scaling , but i can't control game

When it's disabled i have this:

My config file for ddraw
ddraw.zip
Also i found some parameters in gamend.exe which can be used in ra2md.ini

When i set AllowModeToggle=yes, i get this

I tried to set Resolution =1920 1080, but i haven't see any changes
I hope, my information can help you to solve menu problem

Yeah, upscaling isn't fully supported for Yuri's Revenge / Tiberian Sun yet.
handlemouse= must be set to false, otherwise your cursor isn't sync with what you see in the menus.
For now you'll have to either accept the small menus in the top left or you set width/height to 0 and cnc-ddraw will switch the resolution to 800x600 in the menus just like the game would be doing it normally.

In the ra2/ra2md INI files you can do:
[Video]
ScreenWidth=1920
ScreenHeight=1080
StretchMovies=yes

The menu will have a weird size, but the screen will stretch right in game. If things appear too small, try 1280x720 with fullscreen=true in ddraw.ini. Personally I am using 1920x1080 with fullscreen=true for my 2160p screen.

Yeah, upscaling isn't fully supported for Yuri's Revenge / Tiberian Sun yet. handlemouse= must be set to false, otherwise your cursor isn't sync with what you see in the menus.
For now you'll have to either accept the small menus in the top left or you set width/height to 0 + fullscreen=false and cnc-ddraw will switch the resolution to 800x600 in the menus just like the game would be doing it normally.

Do you have any plans to eventually get this working? It's the sole reason i havn't played TS\RA2 in a long while now

Yeah, upscaling isn't fully supported for Yuri's Revenge / Tiberian Sun yet. handlemouse= must be set to false, otherwise your cursor isn't sync with what you see in the menus.
For now you'll have to either accept the small menus in the top left or you set width/height to 0 + fullscreen=false and cnc-ddraw will switch the resolution to 800x600 in the menus just like the game would be doing it normally.

Do you have any plans to eventually get this working? It's the sole reason i havn't played TS\RA2 in a long while now

I'll get this working someday for sure, but it's low priority since it only affects the menus. RA2/TS will not benefit much from cnc-ddraw upscaling even if i would add support for it, these two games just display the menu at a fixed size. Yuri's revenge is the only case where upscaling would help

I mean, using the menus are pretty important if you ask me, being unable to adjust settings or even saving\loading is a pretty big deal to me, i get it that it's just affects these two games which makes it lower priority, but it'd be nice to finally be able to play them on modern systems properly again

Reference

The menus are fully working, if not, then there might be a different issue on your end. These problems really only affect the upscaling (e.g. borderless mode). But even with upscaling enabled the menus are fully working, they're just not being upscaled.

Yeah the menus work fine in windowed mode, but that's not very immersive, especially if you've got a display over 1080p
This is how it looks for me in the only way i can play it with menus working

How exactly does it fail in fullscreen mode? Are the buttons not aligned properly? Did you try both, opengl and direct3d renderers?

How exactly does it fail in fullscreen mode? Are the buttons not aligned properly? Did you try both, opengl and direct3d renderers?

Well, depending on the situation it can either look like this

Or this

In both situations, you cannot click the buttons

hm, yeah... that's a new one. You could try to upload a debug log, maybe it's possible to see where it went wrong: https://github.com/FunkyFr3sh/cnc-ddraw/issues/44
The following setting could help too (it enables a fullscreen mode that similar to windowed mode):

hm, yeah... that's a new one. You could try to upload a debug log, maybe it's possible to see where it went wrong: #44
The following setting could help too (it enables a fullscreen mode that's similar to windowed mode):

I already had that selected, so no real change there, i've attached a log
TS.LOG

My guess is that you're probably not using cnc-ddraw, or at least not the latest version since you're not using the original game. There is no TS.LOG in the original game.
You can verify this but checking the version number of the ddraw.dll in your game folder. It should be <IP_ADDRESS> or newer

your ddraw.ini is still wrong, it's not using the tiberian sun preset that <IP_ADDRESS> or newer need to work properly with the game

if you google for "OfficialCnCTiberianSun.rar" you'll find it. That's the original file from the freeware release (that's what i'm using as well).
If i remember right you had to run the game once as admin so it can set some registry keys, next time it'll start without admin rights as well.  And of course, extract cnc-ddraw into your game folder

@FunkyFr3sh Both RA2 & TS got an update recently with the ultimate collection, it comes with it's own version of DDraw which fixes the menu issues, if you weren't aware

@FunkyFr3sh Both RA2 & TS got an update recently with the ultimate collection, it comes with it's own version of DDraw which fixes the menu issues, if you weren't aware

Yes I know that ddraw wrapper


Feature Request: Refresh modification time on remote

What is your rclone version (eg output from rclone -V)
rclone v1.36
Which OS you are using and how many bits (eg Windows 7, 64 bit)
macOS Sierra 64-bit, Linux/AMD64
Which cloud storage system are you using? (eg Google Drive)
Local, SFTP, Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone sync ...
A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)
N/A

In a forum post (https://forum.rclone.org/t/only-update-mod-time-without-copying-file/2295) we discussed refreshing the mod-time on a remote, meaning if the file checksum matches but the mod-time differs, update the mod-time on the remote to match the source. A patch was hacked together (ironically by reverting a previous commit) that would do this during a dry-run. It got me over the initial ACD > GD migration, but it's hackish.
Ideally there would be a flag (--refresh-times, perhaps?) that would signal that while syncing, if files are found with the same size but different times, perform a secondary check of the underlying checksum. If that matches, then update the mod-time on the remote to match.
I've needed it several times in the last couple months between the difference in mod-time consistency, accuracy, and treatment across multiple filesystems, cloud providers, and protocols. The hack isn't something I think I'll be able to re-apply to each version, and the way it's integrated isn't the best.
I always hesitate to request a whole new feature (as I understand it's not just the implementing it, but the maintenance of it later), but it's turned out to be more than the one-time event I thought it was.

refreshing the mod-time on a remote, meaning if the file checksum matches but the mod-time differs, update the mod-time on the remote to match the source

That is exactly what rclone copy and rclone sync do normally, so I'm unsure what the patch might do, except maybe not copy files if they aren't found?
Hopefully @calisro can attach the modified file or a git diff here for me to have a look at!

I'll check the code and/or run some tests (I haven't tried this in a while after my experience getting data from ACD over to GD), but I'm fairly sure when it saw the bad modtimes (sometimes off by seconds, sometimes by decades) it re-uploaded the files entirely.

See this discussion.
https://forum.rclone.org/t/only-update-mod-time-without-copying-file/2295/5
It was literally reintroducing the bug this commit fixed:
https://github.com/ncw/rclone/commit/b52c80e85c7d98b894ccbcfe5604150ad349d611
The difference is that the current rclone code doesn't update the mod time on existing files if the files match.  It would be good to have flag that would refresh the mod times where the files match while doing a sync.  Maybe --freshen-modtimes or something.  The hack also wouldn't copy the files but I don't think that is a necessary feature.

operations.txt

Here's a test on a small folder without --checksum; note it copies "Razor":
/volume1/Apps/bin/rclone sync -vv --dry-run "/volume1/Video/Television/Battlestar Galactica (2003)/Specials" "google-private:Backup/Video/Television/Battlestar Galactica (2003)/Specials" 2017/06/27 09:29:07 DEBUG : rclone: Version "v1.36" starting with parameters ["/volume1/Apps/bin/rclone" "sync" "-vv" "--dry-run" "/volume1/Video/Television/Battlestar Galactica (2003)/Specials" "google-private:Backup/Video/Television/Battlestar Galactica (2003)/Specials"] 2017/06/27 09:29:11 INFO  : Encrypted Google drive root 'Private/fsumqvbkc3f969eqggbs2lgi3s/n0aoto8bkf5mbgl8s8g2jsoo9o/q32s5cumvqsoa6a9sd5hnlcbsk/g7uaqjqkasvk3nu8pmg9uup1n4e4qlu87q2hg0farj9524u0vri0/c7lu4pu3nkhlhppbvr1sp3vtkk': Modify window is 1ms 2017/06/27 09:29:11 NOTICE: Encrypted Google drive root 'Private/fsumqvbkc3f969eqggbs2lgi3s/n0aoto8bkf5mbgl8s8g2jsoo9o/q32s5cumvqsoa6a9sd5hnlcbsk/g7uaqjqkasvk3nu8pmg9uup1n4e4qlu87q2hg0farj9524u0vri0/c7lu4pu3nkhlhppbvr1sp3vtkk': Not making directory as dry run is set 2017/06/27 09:29:11 DEBUG : Google drive root 'Private/fsumqvbkc3f969eqggbs2lgi3s/n0aoto8bkf5mbgl8s8g2jsoo9o/q32s5cumvqsoa6a9sd5hnlcbsk/g7uaqjqkasvk3nu8pmg9uup1n4e4qlu87q2hg0farj9524u0vri0/c7lu4pu3nkhlhppbvr1sp3vtkk': Reading "" 2017/06/27 09:29:11 DEBUG : Google drive root 'Private/fsumqvbkc3f969eqggbs2lgi3s/n0aoto8bkf5mbgl8s8g2jsoo9o/q32s5cumvqsoa6a9sd5hnlcbsk/g7uaqjqkasvk3nu8pmg9uup1n4e4qlu87q2hg0farj9524u0vri0/c7lu4pu3nkhlhppbvr1sp3vtkk': Finished reading "" 2017/06/27 09:29:11 INFO  : Encrypted Google drive root 'Private/fsumqvbkc3f969eqggbs2lgi3s/n0aoto8bkf5mbgl8s8g2jsoo9o/q32s5cumvqsoa6a9sd5hnlcbsk/g7uaqjqkasvk3nu8pmg9uup1n4e4qlu87q2hg0farj9524u0vri0/c7lu4pu3nkhlhppbvr1sp3vtkk': Waiting for checks to finish 2017/06/27 09:29:11 DEBUG : Battlestar Galactica S00E04-E05 - Razor.mkv: Modification times differ by -222.242908ms: 2017-06-26 17:28:37.222242908 -0500 CDT, 2017-06-26 22:28:37 +0000 UTC 2017/06/27 09:29:11 NOTICE: Battlestar Galactica S00E04-E05 - Razor.mkv: Not copying as --dry-run 2017/06/27 09:29:11 DEBUG : Battlestar Galactica S00E02 - Miniseries Part 2.mkv: Size and modification time the same (differ by 0s, within tolerance 1ms) 2017/06/27 09:29:11 DEBUG : Battlestar Galactica S00E02 - Miniseries Part 2.mkv: Unchanged skipping 2017/06/27 09:29:11 DEBUG : Battlestar Galactica S00E22 - The Plan.mkv: Size and modification time the same (differ by 0s, within tolerance 1ms) 2017/06/27 09:29:11 DEBUG : Battlestar Galactica S00E22 - The Plan.mkv: Unchanged skipping 2017/06/27 09:29:11 DEBUG : Battlestar Galactica S00E01 - Miniseries Part 1.mkv: Size and modification time the same (differ by 0s, within tolerance 1ms) 2017/06/27 09:29:11 DEBUG : Battlestar Galactica S00E01 - Miniseries Part 1.mkv: Unchanged skipping 2017/06/27 09:29:11 INFO  : Encrypted Google drive root 'Private/fsumqvbkc3f969eqggbs2lgi3s/n0aoto8bkf5mbgl8s8g2jsoo9o/q32s5cumvqsoa6a9sd5hnlcbsk/g7uaqjqkasvk3nu8pmg9uup1n4e4qlu87q2hg0farj9524u0vri0/c7lu4pu3nkhlhppbvr1sp3vtkk': Waiting for transfers to finish 2017/06/27 09:29:11 INFO  : Waiting for deletions to finish 2017/06/27 09:29:11 INFO  :  Transferred:      0 Bytes (0 Bytes/s) Errors:                 0 Checks:                 4 Transferred:            1 Elapsed time:        3.9s 2017/06/27 09:29:11 DEBUG : Go routines at exit 5 2017/06/27 09:29:11 DEBUG : rclone: Version "v1.36" finishing with parameters ["/volume1/Apps/bin/rclone" "sync" "-vv" "--dry-run" "/volume1/Video/Television/Battlestar Galactica (2003)/Specials" "google-private:Backup/Video/Television/Battlestar Galactica (2003)/Specials"]
However, add the checksum option and you'll see that nothing is copied, because the only difference is the timestamp:
/volume1/Apps/bin/rclone sync -vv --dry-run "/volume1/Video/Television/Battlestar Galactica (2003)/Specials" "google-private:Backup/Video/Television/Battlestar Galactica (2003)/Specials" --checksum 2017/06/27 09:30:35 DEBUG : rclone: Version "v1.36" starting with parameters ["/volume1/Apps/bin/rclone" "sync" "-vv" "--dry-run" "/volume1/Video/Television/Battlestar Galactica (2003)/Specials" "google-private:Backup/Video/Television/Battlestar Galactica (2003)/Specials" "--checksum"] 2017/06/27 09:30:46 INFO  : Encrypted Google drive root 'Private/fsumqvbkc3f969eqggbs2lgi3s/n0aoto8bkf5mbgl8s8g2jsoo9o/q32s5cumvqsoa6a9sd5hnlcbsk/g7uaqjqkasvk3nu8pmg9uup1n4e4qlu87q2hg0farj9524u0vri0/c7lu4pu3nkhlhppbvr1sp3vtkk': Modify window is 1ms 2017/06/27 09:30:46 NOTICE: Encrypted Google drive root 'Private/fsumqvbkc3f969eqggbs2lgi3s/n0aoto8bkf5mbgl8s8g2jsoo9o/q32s5cumvqsoa6a9sd5hnlcbsk/g7uaqjqkasvk3nu8pmg9uup1n4e4qlu87q2hg0farj9524u0vri0/c7lu4pu3nkhlhppbvr1sp3vtkk': Not making directory as dry run is set 2017/06/27 09:30:46 DEBUG : Google drive root 'Private/fsumqvbkc3f969eqggbs2lgi3s/n0aoto8bkf5mbgl8s8g2jsoo9o/q32s5cumvqsoa6a9sd5hnlcbsk/g7uaqjqkasvk3nu8pmg9uup1n4e4qlu87q2hg0farj9524u0vri0/c7lu4pu3nkhlhppbvr1sp3vtkk': Reading "" 2017/06/27 09:30:47 DEBUG : Google drive root 'Private/fsumqvbkc3f969eqggbs2lgi3s/n0aoto8bkf5mbgl8s8g2jsoo9o/q32s5cumvqsoa6a9sd5hnlcbsk/g7uaqjqkasvk3nu8pmg9uup1n4e4qlu87q2hg0farj9524u0vri0/c7lu4pu3nkhlhppbvr1sp3vtkk': Finished reading "" 2017/06/27 09:30:47 DEBUG : Battlestar Galactica S00E01 - Miniseries Part 1.mkv: Size of src and dst objects identical 2017/06/27 09:30:47 DEBUG : Battlestar Galactica S00E22 - The Plan.mkv: Size of src and dst objects identical 2017/06/27 09:30:47 DEBUG : Battlestar Galactica S00E22 - The Plan.mkv: Unchanged skipping 2017/06/27 09:30:47 INFO  : Encrypted Google drive root 'Private/fsumqvbkc3f969eqggbs2lgi3s/n0aoto8bkf5mbgl8s8g2jsoo9o/q32s5cumvqsoa6a9sd5hnlcbsk/g7uaqjqkasvk3nu8pmg9uup1n4e4qlu87q2hg0farj9524u0vri0/c7lu4pu3nkhlhppbvr1sp3vtkk': Waiting for checks to finish 2017/06/27 09:30:47 DEBUG : Battlestar Galactica S00E02 - Miniseries Part 2.mkv: Size of src and dst objects identical 2017/06/27 09:30:47 DEBUG : Battlestar Galactica S00E02 - Miniseries Part 2.mkv: Unchanged skipping 2017/06/27 09:30:47 DEBUG : Battlestar Galactica S00E04-E05 - Razor.mkv: Size of src and dst objects identical 2017/06/27 09:30:47 DEBUG : Battlestar Galactica S00E04-E05 - Razor.mkv: Unchanged skipping 2017/06/27 09:30:47 DEBUG : Battlestar Galactica S00E01 - Miniseries Part 1.mkv: Unchanged skipping 2017/06/27 09:30:47 INFO  : Encrypted Google drive root 'Private/fsumqvbkc3f969eqggbs2lgi3s/n0aoto8bkf5mbgl8s8g2jsoo9o/q32s5cumvqsoa6a9sd5hnlcbsk/g7uaqjqkasvk3nu8pmg9uup1n4e4qlu87q2hg0farj9524u0vri0/c7lu4pu3nkhlhppbvr1sp3vtkk': Waiting for transfers to finish 2017/06/27 09:30:47 INFO  : Waiting for deletions to finish 2017/06/27 09:30:47 INFO  :  Transferred:      0 Bytes (0 Bytes/s) Errors:                 0 Checks:                 4 Transferred:            0 Elapsed time:       11.8s 2017/06/27 09:30:47 DEBUG : Go routines at exit 5 2017/06/27 09:30:47 DEBUG : rclone: Version "v1.36" finishing with parameters ["/volume1/Apps/bin/rclone" "sync" "-vv" "--dry-run" "/volume1/Video/Television/Battlestar Galactica (2003)/Specials" "google-private:Backup/Video/Television/Battlestar Galactica (2003)/Specials" "--checksum"]
This is exactly what I'm asking to fix - if the size is the same and modification times differ, run a secondary test on the checksum. If the checksum matches, update the mod-time on the remote so they match and future runs can rely on size/mod-time

I would say the important effect of the patch to operations.go is to ignore hashes - meaning it updates the mod time if only the size matches, not the size and the hash.
Are you uploading to crypt by any chance which doesn't support hashes?

Interesting; yes, I am uploading to a crypt. It's an overlay on top of Google Drive.

Bit confused as to the status of this; does the extra information that this is affecting crypt-based remotes make the situation better or worse for this request?

 If this is one of those "much harder than it looks from the outside" then I'm fine with it being deferred, but if it's a manageable project it would certainly help me out a lot. Right now I'm maintaining a separate patched copy of rclone and backup scripts so I can manually fix my GDrive dates every so often. Due to the number of objects involved, this is non-trivial.

Is the concern here that - without checksums available - all we have to go by is the size matching and that's not a strong enough signal that the files are the same? It would still be useful if we know that the file is the same if we could reset the modtime to match. Or is there some other signal that could be examined?

Hi, I also need this feature.
Could you make this feature refresh the time-stamp not only files but folders in future?
I use v.1.37 to synchronize time-stamps and find out that only files can be refreshed but folders remained.

Let me summarize where I think we have got to...
Currently rclone will update mod times on remote files if the size is identical and the hash matches but the mod time is different.
However if the hash is missing, and the size is identical, rclone doesn't update the modification time.
What we would like is rclone to update the mod time if only the size matches - is that correct?
I'd be happy to do that with a flag...  Maybe the --size-only flag could imply that behaviour?

That seems like an excellent idea, especially since it should only apply when you've told rclone to only factor in sizes. +1

I don't suppose this landed in rclone 1.38?

I think this needs to be gated with a flag.
Here is my attempt at some docs for the new flag.  It is complicated!  Any thoughts?
--refresh-times
The --refresh-times flag can be used to update modification times of existing files.  This is useful if you uploaded files with the incorrect timestamps and you now wish to correct them.
This can be used any of the sync commands sync, copy or move.
When rclone comes to upload a file it will check if there is an existing file and if it matches with size (no sync flags or --size-only) or size and checksum (--checksum) then instead of re-uploading it, rclone will update the timestamp.
Note that some remotes (eg amazon drive, b2, dropbox, mega, pcloud, webdav) can't set the modification time without re-uploading the file anyway so this flag is useless with them.
If you are doing a modification time sync (ie not using --checksum or --size-only) rclone will update modification times without --refresh-times provided that the remote supports checksums and the checksums match on the file.  crypt remotes do not support checksums so to update times on a crypt remote you will need to use --refresh-times.

See also discussion on the forum

Do we think this new (hopefully) new flag will work with a crypted sftp remote?

Do we think this new (hopefully) new flag will work with a crypted sftp remote?

Should do...
I haven't had time to work on this - does anyone else want to have a go?

I'm having issues with differing mod times on a Gdrive crypt and would really appreciate if this could work.

I've had a go at implementing the --refresh-times flag here
https://beta.rclone.org/branch/v1.52.1-077-g21dec334-fix-1505-refresh-times-beta/ (uploaded in 15-30 mins)
--refresh-times
The --refresh-times flag can be used to update modification times of
existing files when they are out of sync on backends which don't
support hashes.
This is useful if you uploaded files with the incorrect timestamps and
you now wish to correct them.
This flag is only useful for destinations which don't support
hashes (eg crypt).
This can be used any of the sync commands sync, copy or move.
To use this flag you will need to be doing a modification time sync
(so not using --size-only or --checksum). The flag will have no
effect when using --size-only or --checksum.
If this flag is used when rclone comes to upload a file it will check
to see if there is an existing file on the destination. If this file
matches the source with size (and checksum if available) but has a
differing timestamp then instead of re-uploading it, rclone will
update the timestamp on the destination file. If the checksum does not
match rclone will upload the new file. If the checksum is absent (eg
on a crypt backend) then rclone will update the timestamp.
Note that some remotes can't set the modification time without
re-uploading the file so this flag is less useful on them.
Normally if you are doing a modification time sync rclone will update
modification times without --refresh-times provided that the remote
supports checksums and the checksums match on the file. However if the
checksums are absent then rclone will upload the file rather than
setting the timestamp as this is the safe behaviour.

I've merged this to master now which means it will be in the latest beta in 15-30 mins and released in v1.53

Forgot the issue tag. Here is the commit 3efdf5e0952950dbc1312506cb7da297ba21f9be

Thanks for this - much appreciated. Is there any way I can do a --refresh-times sync without also performing any file transfers during the process? I guess I could just let all the checks and modtimes update, then cancel the run? Is there any way to tell rclone to do only the modtime updates but no data transfer?

Thanks for this - much appreciated. Is there any way I can do a --refresh-times sync without also performing any file transfers during the process?

I haven't tried this, but if you use the latest beta then rclone gains the -i flag. This interactively asks you what rclone should do. You can say yes to all setting of modtimes and no to all transfers.

Also - how would rclone handle a situation where there's a modtime mismatch, and the --refresh-times, --track-renames and --track-renames-strategy "modtime" are all enabled?

I wouldn't use --refresh-times on a regular sync, only on a single "catchup" sync. It isn't really a general purpose flag.

I am currently using --refresh-times on about 95k of files (thanks for the implementation!) and I am using Backblaze B2 as backend.
I am using --fast-list but the transactions for b2_list_file_names are used more than on a normal sync. Not that it really matters for that one shot I am doing but is it an issue or is it just not compatible with --fast-list?
As far as I understand the code for B2, to set the modification time, it reads the meta data prior which itself makes a call to fs.list. Therefore I do not think that it is a bug. Maybe the documentation should include a note that --fast-list may not be compatible with --refresh-times. The same as it says that some backends just re-upload the file again.

I am using --fast-list but the transactions for b2_list_file_names are used more than on a normal sync. Not that it really matters for that one shot I am doing but is it an issue or is it just not compatible with --fast-list?

It is still doing the sync as normal so --fast-list should be working fine. However setting the modtime may call b2_list_file_names...
I just had a look at the code, and yes I think it is doing that to read metadata from the file so it has complete metadata before copying it (which is how you set the modtime). It maybe could be more efficient, but at least you know why now!

Hi there, sorry for bumping this ticket!
Can we add a warning to https://rclone.org/docs/ that --refresh-times will be ignored when the destination does not support mod time changes without reuploading the file, like Amazon Drive, B2, Dropbox, Mega, pCloud, WebDAV etc. like you mentioned here?: https://forum.rclone.org/t/how-do-i-keep-rclone-from-not-reuploading-moved-files/6258/14

Can we add a warning to https://rclone.org/docs/ that --refresh-times will be ignored when the destination does not support mod time changes without reuploading the file, like Amazon Drive, B2, Dropbox, Mega, pCloud, WebDAV etc. like you mentioned here?: https://forum.rclone.org/t/how-do-i-keep-rclone-from-not-reuploading-moved-files/6258/14

The docs https://rclone.org/docs/#refresh-times do say:

Note that some remotes can't set the modification time without re-uploading the file so this flag is less useful on them.

So the flag does work, it just doesn't save the bandwidth you were hoping it would... Do you think this needs to be expanded? I don't really want to put a list of backends there since the list keeps changing, eg you no longer need to upload the file again with B2.

Edit: I think it would be also cool to output this warning to the console as soon as rclone realizes the destination does not support this flag, rather than solely on -v or -vv

That is a good idea.
Rclone could log a NOTICE (just once) if it has to upload files like this. What do you think? Something like
NOTICE: --refresh-times in use with a backend which can't set modification times except by uploading the file again

Or I could raise these two debugs to INFO level (appear with -v) - I don't think they want to be NOTICE (appear without -v) as potentially there can be lots of them.
                            fs.Debugf(dst, "src and dst identical but can't set mod time without re-uploading")
                            fs.Debugf(dst, "src and dst identical but can't set mod time without deleting and re-uploading")

@ilindaniel I've put a fix for the above in 2b7994e73937192cf4eb9affd02ee727272e947d which is a bit more general - it warns the user whenever it is uploading files just to set the mod time.


[FEATURE REQUEST] Charts (react-charts)?

It would be awesome to have some kind of charts in shadcn style to copy and paste. Just like data-tables were made with library from tanstack (react-charts)

shadcn-charts ?

@philosofonusus have a look at tremor.so
they have really nice chart components and its theme matches pretty well with shadcn/ui :)
https://www.tremor.so/components

@philosofonusus have a look at tremor.so they have really nice chart components and its theme matches pretty well with shadcn/ui :)
https://www.tremor.so/components

It doesn't look like a good match, especially the style, and secondly it's a completely different ui component from shadcn/ui 🤣

Actually, I find tremor platform quite interesting 🤓

up

During installation, it overrides my tailwind config file that has shadcn presets by default. How to fix this?

During installation, it overrides my tailwind config file that has shadcn presets by default. How to fix this?
Same issue here!

@samueltuyizere
split window and try to merge the two config files (from tremor file to the original file). This is how it worked for me. Let me know if you fixed it. 😉

I will try again tomorrow and revert.

I will try again tomorrow and revert.

@samueltuyizere Did you succeed? Hoping for some guidance.

Just wanted to note that the ShadCN website theme page actually contains some charts:

It looks like it's done using rechart: https://github.com/shadcn-ui/ui/blob/6b523b60db268e20c1793a26db8d92782d845538/apps/www/registry/default/example/cards/stats.tsx#L59
You could probably copy over these chart components to your own project. Would love to see charts actually implemented in the ShadCN library though!

Just wanted to note that the ShadCN website theme page actually contains some charts:

It looks like it's done using rechart: https://github.com/shadcn-ui/ui/blob/6b523b60db268e20c1793a26db8d92782d845538/apps/www/registry/default/example/cards/stats.tsx#L59
You could probably copy over these chart components to your own project. Would love to see charts actually implemented in the ShadCN library though!

I will try again tomorrow and revert.

@samueltuyizere Did you succeed? Hoping for some guidance.

Hey Monday, I am sorry but I didn't get a chance to look into this again. I was working on a hobby project and just dropped Shadcn from it after struggling with that issue.

@philosofonusus have a look at tremor.so they have really nice chart components and its theme matches pretty well with shadcn/ui :)
https://www.tremor.so/components

Ok, I can see that you haven't tested this combination

This is copy-paste: https://raw.tremor.so/docs/getting-started/installation

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.


Sassc cannot be bundled with --path argument

Thanks for the amazing work, your project makes working with sass in a ruby environment very easy.

Yesterday I got into an issue with sassc not being able to compile on our CI after updating our runner to ruby-2.3.0 when using the --path (ie. bundle install --path .bundle/vendor) argument with bundler so we can store the gems relative to our project (usefull for caching).

Since then I did some troubleshooting with the following results:

It happens both on our CI (docker) and locally Mac OSX when ruby-2.3.0 is used. With the following Gemfile:

source 'https://rubygems.org'
gem "sassc"

In both situations I get the following error:

bundle install --path .bundle/vendor
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Installing ffi 1.9.10 with native extensions
Installing sass 3.4.22
Using bundler 1.11.2
Installing sassc 1.9.0 with native extensions

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /Users/edwin/Projects/zandbak/ruby-sassc/.bundle/vendor/ruby/2.3.0/gems/sassc-1.9.0/ext
rake RUBYARCHDIR=/Users/edwin/Projects/zandbak/ruby-sassc/.bundle/vendor/ruby/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/sassc-1.9.0 RUBYLIBDIR=/Users/edwin/Projects/zandbak/ruby-sassc/.bundle/vendor/ruby/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/sassc-1.9.0
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/2.3.0/rubygems/dependency.rb:319:in `to_specs': Could not find 'rake' (>= 0.a) among 7 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/Users/edwin/Projects/zandbak/ruby-sassc/.bundle/vendor/ruby/2.3.0', execute `gem env` for more information
  from /usr/local/var/rbenv/versions/2.3.0/lib/ruby/2.3.0/rubygems/dependency.rb:328:in `to_spec'
  from /usr/local/var/rbenv/versions/2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in `gem'
  from /usr/local/var/rbenv/versions/2.3.0/bin/rake:22:in `<main>'

rake failed, exit code 1

Gem files will remain installed in /Users/edwin/Projects/zandbak/ruby-sassc/.bundle/vendor/ruby/2.3.0/gems/sassc-1.9.0 for inspection.
Results logged to /Users/edwin/Projects/zandbak/ruby-sassc/.bundle/vendor/ruby/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/sassc-1.9.0/gem_make.out
An error occurred while installing sassc (1.9.0), and Bundler cannot continue.
Make sure that `gem install sassc -v '1.9.0'` succeeds before bundling.

Manually cd'ing to the .bundle/vendor/ruby/2.3.0/gems/sassc-1.9.0/ext and calling $ rake works.

Gem installation with gem install sassc -i .bundle/gem-sassc works

I am a bit in the dark on how to proceed hence this issue report, hoping you may have some pointers.

I'm also having this problem - problem for me as I'm trying to deploy to GitLab pages to (enjoy LetsEncrypt https support), which seems to require you to have all gems bundled in vendor/
Anyone got any advice on how to get around this?

You can try to add gem "rake" to your Gemfile. That works for us.

I got it to work after updating GCC packages

The gem "rake" thing worked for us too.

Closing this, should be resolved by #63

I had the same problem and was solved by installing g++

It's great, it works for me~~


Update manifests/t/Tencent/QQ/<IP_ADDRESS>008/Tencent.QQ.locale.en-US.yaml

Fixes an issue where this package has multiple different monikers
Microsoft Reviewers: Open in CodeFlow

Needs Attention

@wingetbot run

[Policy] reset feedback

[Policy] Needs-Attention

@wingetbot run

@wingetbot run


Micro-agent: Support task rejection

Micro-agents, as a whole, don’t work well end-to-end yet. For example, I can barely make ManagerAgent, the one that does the task distribution, to complete the simple task used by the integration test:
poetry run python ./opendevin/main.py -i 10 -t "Write a shell script 'hello.sh' that prints 'hello'." -c "ManagerAgent"

To achieve that I think we need to do more prompt engineering, and potentially introduce more actions. I propose that we add an escalation action, because I find micro-agents often get stuck when they are assigned a task that they are not capable of.
For example, when the CoderAgent is assigned a task that is not concrete enough, it should escalate and the ManagerAgent should create a task for StudyRepoForTaskAgent first to study what files to modify, what the repo structure is, etc.

This is a great idea! I'm changing it to rejection because I think letting a smaller agent call a bigger one would lead to weird loops 😄

Yeah when I said "escalation", I was thinking of something more like "rejection" ;)


Update the map origin even if the center tile is the same one

Summary
The original implementation disables to update the map origin if center tile is not changed.
Although such setting contributes to reduce map downloading, it is inconvenient to use with autonomous vehicles.

Detail
This PR just enables the update functions.
I verified this works well by publishing sensor_msgs/NavSatFix type messages with small displacements (few meters / order of 0.001 longitude).

It would be better to set realtime_update flag in ROS Param.

I set up a local server for OpenStreetMap and tested this PR.
It works great.


Where should @Mutations live in a multi-module application

Hi,
According to your style guide events can be in a separate folder from the store folder.
Given,
import { Store, Mutation } from 'ngxs';
@Store({
defaults: {
feed: false,
animals: []
}
})
export class ZooStore {
@Mutation(FeedAnimals)
feedAnimals(state, { payload }) {
state.feed = true;
}
}
Where do you recommend mutations live? In an enterprise level application with different modules, the ZooStore can be cluttered quite rapidly if all Mutations live in the Store class.
Cheer

If you have a insanely large store, I'd recommend you re-evaluate your state model in that case and break it down into smaller pieces.

Are you implying that the only place to put the Mutation is in the Store class?


Allow running "lambda" predicates in response to putObject and completeMultipartUpload

This is certainly a feature proposal, so please recategorize as necessary.
I'm interested in running a "predicate function" before allowing an S3 upload to complete.
The motivating case is one in which, because of its user-friendly SDKs, several clients have converged on uploading items to S3 to trigger an arbitrary business process.
Imagine that it is difficult to notify these clients after the time of upload. It would be ideal to be able to return a custom validation error directly from S3 at request time.
I have enough need for this functionality that I am planning on implementing it as a proxy around S3 using the AWS Lambda Trigger interface as a hook for user validation code.
Would there be any interest in offering such functionality in Scality's S3?
Thanks for taking the time to read this. It's great to see a high-quality implementation of the S3 "protocol".

Hi @austo,
Thanks for your interest in the project!  To clarify, are you saying that you would like bucket notifications implemented (http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) so that Scality S3 would do an external call to AWS Lambda?

Hi @LaurenSpiegel, thanks for your response!
I was thinking more along the lines that Scality S3 could expose a "predicate hook" interface that a user could implement (probably according to the AWS Lambda S3 Trigger spec to ease migration) to process objects before finalizing the upload.
If the predicate calls its callback with an error, that error would be wrapped in an S3 error interface and have a statusCode of 412: Precondition Failed or something similar. For simple PUT requests, the object would never be persisted, and in the case of multipart uploads, any parts already persisted would be removed from the object store.
This would give customers the opportunity to continue using the high-quality AWS S3 SDKs they know and love, while reducing the storage and cleanup expenses associated with malformed (in the application sense) uploads.
Furthermore, if this functionality were combined with an s3proxy data implementation, it could open a new use case for Scality S3 as a general validation layer for S3 workloads.
Sorry for such a long response; I hope that makes more sense than my previous post :)

So the verification code could simply be a javascript function called by S3 before processing the request?

Exactly. An optional, user-supplied function to protect the destination bucket at upload-time.
Sorry if "lambda" was misleading — the AWS Lambda S3 trigger interface would just be a convenience for users migrating existing code to take advantage of this feature.

Great @austo, actually @ibtarek implemented something like that for processing content here https://github.com/ibtarek/S3/tree/pipes. Ideally we would want something with plugins that are easy to register.

Hi @GiorgioRegni and @LaurenSpiegel, please see #344. Thanks!

Hi @LaurenSpiegel and @GiorgioRegni, please see the updates to #344. Thanks!

Hi @austo , I am going through all open tickets and PRs and I'd love to be able to make progress on #344, do you think you'll be able to get back to this cool feature soon?

Closing due to inactivity.


Error: grpc: received message larger than max at helm install at helm v2.12.3

Here is my helm install output of stackstorm-ha helm chart.   I noticed that this problem was reported in 2018, but it still happens in v2.12.3
helm install --name stackstorm --values values-avt.yaml --namespace stackstorm --debug . --tls  2>&1 | tee stackstorm-ha-10.log
[debug] Created tunnel using local port: '39893'

[debug] SERVER: "<IP_ADDRESS>:39893"

[debug] Original chart version: ""
[debug] Host="", Key="/root/.helm/key.pem", Cert="/root/.helm/cert.pem", CA="/root/.helm/ca.pem"

[debug] CHART PATH: /root/stackstorm-ha

Error: grpc: received message larger than max (70554283 vs. 20971520)

Output of helm version:
Client: &version.Version{SemVer:"v2.12.3", GitCommit:"eecf22f77df5f65c823aacd2dbd30ae6c65f186e", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.12.3", GitCommit:"eecf22f77df5f65c823aacd2dbd30ae6c65f186e", GitTreeState:"clean"}

Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.4+12ee15d4a", GitCommit:"12ee15d4a", GitTreeState:"clean", BuildDate:"2019-09-20T21:18:18Z", GoVersion:"go1.11.13", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.6+2e5ed54", GitCommit:"2e5ed54", GitTreeState:"clean", BuildDate:"2019-10-10T22:04:13Z", GoVersion:"go1.12.8", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.):
OpenShift 4.2

I found the problem. I have too many log files in the chart directory. By removing them out of there, the problem not occur


Add CI Tests with JDK 8 252

Test set: okhttp3.tls.HandshakeCertificatesTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.55 s <<< FAILURE! - in okhttp3.tls.HandshakeCertificatesTest
clientAndServer(okhttp3.tls.HandshakeCertificatesTest)  Time elapsed: 0.409 s  <<< ERROR!
java.util.concurrent.ExecutionException: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
        at okhttp3.tls.HandshakeCertificatesTest.clientAndServer(HandshakeCertificatesTest.java:93)
Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
        at okhttp3.tls.HandshakeCertificatesTest.lambda$doServerHandshake$0(HandshakeCertificatesTest.java:159)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
        at okhttp3.tls.HandshakeCertificatesTest.lambda$doServerHandshake$0(HandshakeCertificatesTest.java:159)

Won't fix for now.  We haven't settled on Circle CI and it isn't trivial given we build with JDK 11


I used Gridsearchv, when the n_jobs!=1, it will raise error

`
pipe = Pipeline([('normalize', MinMaxScaler()), ('selectkbest', SelectKBest(f_classif)), ('lrc', LogisticRegression(max_iter=1000, random_state=111))])
param1 = {
'selectkbest__k': Integer(1, 100),
'lrc__C': Real(0.1, 20)
}
gsearch1 = BayesSearchCV(estimator=pipe, search_spaces=param1, scoring='accuracy', cv=3, n_jobs=1, random_state=111)
gsearch1.fit(X_train, y_train)
`
The error is:
TerminatedWorkerError: A worker process managed by the executor was unexpectedly terminated. This could be caused by a segmentation fault while calling the function or by an excessive memory usage causing the Operating System to kill the worker.
The exit codes of the workers are {EXIT(1)}
my skopt version is 0.8.1.
Can you help me?Please!

OK, i solve this question to upgrade python 3.7->3.8


[DOCS] Undefined symbol toUpper: single lambda function required here.

Description:
I was reading the Ballerina by Example: Functional Iteration section on the documentation and I found the following piece of code:
string[] animals = words.map(toUpper);

I tested it and got this error:
Undefined symbol `toUpper`: single lambda function required here.

Well, ok. So I searched for lambda functions in Ballerina and all I could find was a broken link on Google.
Steps to reproduce:

Save this snippet to a .bal file:

public function main() {
    map<string> words = {
        a: "ant",
        b: "bear",
        c: "cat",
        d: "dear",
        e: "elephant"
    };

    string[] animals = words.map(toUpper);
}

Watch it fail:

$ ballerina run will_fail.bal
error: .::will_fail.bal:22:34: undefined symbol 'toUpper'
error: .::will_fail.bal:22:34: single lambda function required here

Affected Versions:

Ballerina version: 0.990.2

OS, DB, other environment details and versions:

OS: elementaryOS 5.0 Juno (Ubuntu-based)

You're missing the toUpper function at the end of the example which takes a key/value pair
function toUpper((string, string) pair) returns string {
    var (key, value) = pair;
    return value.toUpper();
}

@davebaol Oh... silly me. Thanks. I think we can close this issue now.

Closing this since this isn't an issue.


Removed MacOSX .DS_Store file from tarball

Minor issue - thought I'd remove the DS_Store file from this compressed tarball.

@charles-cowart - Thanks!


[Feature]: Adding a back to top button in home page

Category

[X] Codebase
[X] User Interface
[X] Feature Request

Description
For better UI enhancement i want to add back to top button in home page
JWOC2k24

Good idea, @NaveenChandraAdhikari 👍
Please mention 'JWOC' in your comment to get considered for assignment.

@Sriparno08 I would like to work on this issue and request you to assign this issue to me under JWOC

Hey @antilneeraj, you have a PR waiting to be merged. Once it's merged, you will be considered for another issue.

Hey @NaveenChandraAdhikari, you're assigned 👍

Alright!

Hey would like to work on this issue under JWOC 24

Hey @Aswinr24, another mentee @NaveenChandraAdhikari is already assigned to this issue.

Hey I would like to work on this issue under JWOC

If this issue is available
I would like to work on it JWOC


Add support for HiSilicon Hi3861 Wi-Fi SoC & HiHope Pegasus dev board

This PR brings Zephyr to HiSilicon Hi3861, a single-chip Wi-Fi SoC.
This also preliminarily brings up HiHope WiFi-IoT, one of the official boards. Currently these features are tested working:

SysTick
GPIO
UART
Pinctrl

Related PR: #57638
References:

HiSilicon Hi3861V100 brief
HiHope Pegasus WiFi-IoT Development Suite (Chinese)
Hi3861V100/Hi3861LV100/Hi3881V100 WiFi SoC User Manual (Chinese)

@carlocaione @fkokosinski Thanks for your review. Perhaps I should PR only the necessary Timer and GPIO changes first, and leave the more complex Pinctrl and UART stuff for the next PR?

@carlocaione @fkokosinski Thanks for your review. Perhaps I should PR only the necessary Timer and GPIO changes first, and leave the more complex Pinctrl and UART stuff for the next PR?

I don't think that is strictly needed as long as all the commits in this PR are self contained.

As per https://docs.zephyrproject.org/latest/contribute/bin_blobs.html a board must be able to boot and run the 2 aforementioned samples without use of binary blobs but the description given by the submitter is that a closed source binary blob is required for this device to boot, marking as -1 until it can be clarified that this board can run the 2 samples without blobs.

I think the problem should be simplified as: Is it acceptable to load Zephyr with a closed-source (or more specifically, partially closed-source) bootloader, while the Zephyr executable itself is purely built from source?

I think the problem should be simplified as: Is it acceptable to load Zephyr with a closed-source (or more specifically, partially closed-source) bootloader, while the Zephyr executable itself is purely built from source?

Licensing wise, there is not issue with that. The question is if we allow this in the upstream Zephyr repository. I suggest bringing this up in the Zephyr Technical Steering Committee.

Okay, the good news is that I just succeeded in booting Zephyr without using that bootloader. However, as I mentioned before, the SoC's romboot is hardcoded to copy and boot its code in RAM, which means that XIP is not available. Therefore, a bootloader (perhaps mcuboot) is still needed to point the vector back to Flash.
Nevertheless, there is hope. 🤣

By the way, as you can see in the DTS, this SoC integrates an ARM PL011 UART IP, which has an existing driver implementation in Zephyr.
I'm planning to implement the clock control feature later, but I'm not sure whether I should directly insert the platform-specific clock_control_enable call in uart_pl011.c surrounded with a pair of #ifdef CONFIG_SOC_SERIES_HI3861 ... #endif macro, or should I make a copy of the driver and rename it with a _hi3861 suffix.
Can anyone please advise me on this?

No idea why the twister keep failing at tests/drivers/fuel_gauge/sbs_gauge. It should be filtered out by dt_compat_enabled("sbs,sbs-gauge-new-api").

Updated. As discussed in #57638, flashboot sources had been moved into the soc/ directory of this SoC.

@carlocaione By the way, as you can see in the GLB_CTL change above, I put the definitions of the registers under the SoC's include directory. Is it a good idea to also define the offsets of other peripherals, such as the timer and pinctrl of this SoC, under the include directory instead of inside the driver source as well?

Actually I would entirely remove glb_ctl.h given that you are only using one single offset and just move the offset in soc.c.

But what if some of these offsets are needed for other purposes in the future? For example, the Flash driver might need to set up its clock source using GLB_CTL, PMU_CMU_CTL, and several other registers, or enable certain internal regulators with CLDO_CTL, etc. Should I define only the offsets that are used in the specific locations where they are needed?

@xingrz is this board now usable for building and flashing zephyr applications without usage of any blobs and non-apache 2 code?

Yes.

Rebased onto the latest main to use the barriers API.

@xingrz could you rebase and fix compliance issues? Thanks!

Error: See https://docs.zephyrproject.org/latest/guides/kconfig/index.html for more details.

 Undefined Kconfig symbols:

 warning: undefined symbol SOC_HI3861V100:

- Referenced at boards/riscv/hihope_wifi_iot/Kconfig.board:4:

config BOARD_HIHOPE_WIFI_IOT
	bool "HiHope WiFi-IoT"
	depends on SOC_HI3861V100 && <choice>
 Found references to undefined Kconfig symbols. If any of these are false
positives, then add them to UNDEF_KCONFIG_WHITELIST in /home/runner/work/zephyr/zephyr/./scripts/ci/check_compliance.py.

If the reference is for a comment like /* CONFIG_FOO_* */ (or
/* CONFIG_FOO_*_... */), then please use exactly that form (with the '*'). The
CI check knows not to flag it.

More generally, a reference followed by $, @, {, *, or ## will never be
flagged.

CONFIG_SOC_HI[38](https://github.com/zephyrproject-rtos/zephyr/actions/runs/5421608526/jobs/9857256386?pr=57363#step:9:39)61V100                      boards/riscv/hihope_wifi_iot/hihope_wifi_iot_defconfig:5
CONFIG_SOC_SERIES_HI3861                   boards/riscv/hihope_wifi_iot/hihope_wifi_iot_defconfig:4

Error: See https://www.pylint.org/ for more details

 E9901:Argument parser with abbreviations is disallowed (argument-parser-with-abbreviations)
File:soc/riscv/riscv-privilege/hi3861/sign_bin.py
Line:14
Column:13

@fkokosinski It's weird that SOC_HI3861V100 is already defined in hi3861/Kconfig.soc and that the hi3861/sign_bin.py didn't use abbreviation argument at all.


fix: default config to exclude ERROR_ROUTES from search and posts

resolves #2099

sets default indexKey for search to exclude ERROR_ROUTES
adds type: hidden-page to blog theme
adds hiddenPages globs to blog theme; if type is not specified, it will be hidden-page if matching hiddenPages else post
sets default hiddenPages for blog to exclude ERROR_ROUTES

closes in favour https://github.com/shuding/nextra/pull/2181
Thanks for your attempt, but I will stay with an approach to exclude search indexing by default for 404/500 mdx pages, and about nextra-theme-blog - I am against adding an additional dependency for this case and also you can always use regular jsx/tsx page for 404/500 pages


double goodbye message

Seems like we generate a double goodbye message. I will fix that in a PR soon

this issue is back and reproducible using yeoman 3.1.1


[Bug] Option to force the app to work at up to 60hz is not working

Device
Phone/Tablet
Device name
POCO X3 (karna)
Android Version
14
App version
0.15.0
Script version
4.6.0
WebView name and version
Android System WebView Dev 127.0.6493.0
Reproduction Steps
I used an FPS counter to make it possible to understand.
https://github.com/redphx/better-xcloud-android/assets/111314382/d92ef8d6-1a49-4430-9b95-5caff934b424

Does you phone support dynamic framerate? Apparently it only works in that mode.

It has 120hz.

Install this app and share the screenshots of the info: https://play.google.com/store/apps/details?id=com.drhowdydoo.displayinfo

Instale este aplicativo e compartilhe as capturas de tela das informações: https://play.google.com/store/apps/details?id=com.drhowdydoo.displayinfo

Install this app and share the screenshots of the info: https://play.google.com/store/apps/details?id=com.drhowdydoo.displayinfo

This feature doesn't always work. Changed the setting's text to "Prefer 60hz refresh rate".


Added a Matlab function

For those who do not use R but Matlab. ;)

I renamed the function to match the original one.
I also added a way to see all colour palettes at once.  See MetBrewer('Demo')


Not working on Arch Linux

I'm using alacritty on Arch Linux by means of the alacritty-git AUR package. I upgraded all y -git packages today, and now alacritty no longer works. I am using i3 as my window manager on X11.
$ alacritty
[1]    13215 illegal hardware instruction (core dumped)  alacritty

Here's the backtrace I got using gdb
#0  0x00005555557b10d3 in ?? ()
#1  0x00005555557b3f2e in ?? ()
#2  0x00005555558e999d in ?? ()
#3  0x000055555572a379 in ?? ()
#4  0x00005555557225ee in ?? ()
#5  0x0000555555664816 in ?? ()
#6  0x0000555555661189 in ?? ()
#7  0x000055555566e00a in ?? ()
#8  0x00007ffff6af1f6a in __libc_start_main () from /usr/lib/libc.so.6
#9  0x000055555557c91a in ?? ()

Got the same `illegal hardware instruction  ̀ today while building (with cargo) on Mint. It was because I used Rust nightly, setting it back to stable fixed it for me. I don't know if it is relevant for the AUR build though.

please compile with stable instead of nightly

I can confirm that using the stable toolchain solves the issue. I added a comment on the AUR package asking if it was possible to force it to use stable from now on.

Any chance we get a normal package in arch? ( and not the git one )

@AntouanK I'd be willing to maintain a pre-compiled Arch package once Alacritty reaches 1.0, or any stable release. @jwilm, is there any ETA on this?

@bemeurer no ETA. I'll be adding milestones at some point which highlight blockers.

@jwilm Awesome, I'll keep an eye out for it.


fragmentMap vUv is always == 0.0?

I've run into a weird / and hard to debug issue with BasicAnimationMaterial and options.fragmentMap where the vUv is always a = vec2(0.0, 0.0).
Here's some pseudo code of the setup abstracted from my general code:
var options = {uniformValues: {}}
options.uniformValues.map = new THREE.TextureLoader().load('assets/textures/uv_grid.jpg');

options.fragmentMap = [
	'if (vUv.x == 0.0) {',
	'diffuseColor = vec4(1.0, 0.0, 0.0, 1.0);',
	'} else {',
	'vec4 texelColor1 = texture2D(map, vUv);',
	'diffuseColor *= texelColor1;',
'}'
];

my geometry is instanced like this:
let planeTest = new THREE.PlaneGeometry(0.5, 0.5, 1.0, 1.0);
		let geometry = new BAS.PrefabBufferGeometry(planeTest, 6);
		geometry.computeVertexNormals();
		geometry.bufferUvs();
let material = new BAS.BasicAnimationMaterial(materialOptions);

I've confirmed that vUv never changes from 0.0, 0.0 because i see 6 completely red planes rendered.
Any idea / suggestions of how to debug this?

I think the texture is supposed to be assigned to map.value, like in this example

@supermoos do you have an example of this running anywhere?

Going to close this to clean up the old open issues.


Update convert-append-and-page-blobs-to-block-blobs.md

Variable register error

@normesta
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off