Add simple update algorithm

This PR adds the core part of the simple update (arXiv 0806.3719) algorithm.
Main changes:

Added a new struct SUWeight, which are diagonal Schmidt weight matrices on the bonds of the iPEPS and serves as a crude approximation of the environment of each site tensor.
Added a new struct InfiniteWeightPEPS, which is the collection of tensors on lattice vertices and bond weights.
This PR still depends on the column-wise sequential CTMRG (#90) recently implemented by @pbrehmer. I picked out a sub-function ctmrg_leftmove from ctmrg_iter, which only perform the left move for one column, and is used in the full update code.
Added some functions to perform in-place rotation and reflection of the iPEPS and the weights.
Added a test file at test/heisenberg_sufu.jl. I think it's still better to separate it from the auto-differentation test.

Limitations:

The implementation assumes square lattice geometry.
For convenience, I made some requirements on whether certain virtual spaces of iPEPS tensors are dual spaces. Hopefully they can be relaxed in the future.
The current implementation can currently only calculate models with nearest neighbor interaction only. Actually SU can handle next nearest neighbor terms (see arXiv 1908.09359), but that will be implemented in the future.

Things to do before merging:

[ ] Improve docstring.
[ ] Add more constructors for SUWeight and InfiniteWeightPEPS.
[x] Integrate with Hamiltonians in LocalOperator format.
[x] Use Julia's more advanced logging system instead of simply printing the information.

Thanks for explaining that detail about the unit cell, I indeed missed that. I would still prefer to have a single testfile for the heisenberg model, so maybe you could still just merge the two files together, and copy the general structure of that test, but with a larger unit cell?

If the tests pass right now, we have a bit of a problem in the sense that our tests fail if multithreading is enabled. (This should then be unrelated to this PR, as I accidentally copied over nthreads = 4 when trying to fix the tests).

Wait, wasn't there previously an issue with multi-threading causing the tests to fail (only on CI) because of some issues with GitHub actions? On #99 multi-threading still works fine on the old CI configuration

Actually, the multithreading in the CI seems to have gotten disabled here: https://github.com/QuantumKitHub/PEPSKit.jl/commit/3a9eb404b9ce4de871654904850968c1f50e2cc0 (the default is just 1 thread on CI)
I fixed the complaints about the required checks, this was a naming thing.

Whoops, okay I wasn't aware that multi-threading was disabled all along. But I agree, that's a separate issue we should fix in a separate PR.
Other than that the PR looks pretty good, it's quite a big step forward! I will quickly add the function signatures in the docstrings.

I added the function signatures as well as some cosmetic changes, and I merged the Heisenberg tests. This is good to go for me once the tests turn green.
Big big thanks to @Yue-Zhengyuan for the great effort!

I checked the stacktraces of the failing tests, and I think the issue is a combination of some tolerances and a bug in KrylovKit:
https://github.com/Jutho/KrylovKit.jl/issues/110
The eigensolver in the rrule is failing to converge all requested values, and as a result there is an out of bounds error due to the aforementioned bug in KrylovKit. I think we should be able to avoid running into this altogether, by ensuring that the tolerances are set such that everything converges?

By the way, I'm not quite familiar with defining the rrule. Could you please also take a look at the updated rrule for sdiag_pow and see if it's correct?

It's almost correct - yesterday I missed a tiny error. When deriving the adjoint for complex variables, one also needs to take the complex conjugate corresponding to spow2'. Apart from that it looks good! (I will push that now as I'm anyway dealing with the eltype thing.)

... I notice that the definition of eltype is not quite consistent in PEPSKit.

Yes, you're right. However, it's not a big issue since the more relevant way to access the scalar element type is using scalartype as defined in VectorInterface. The definitions for scalartype are consistent for InfinitePEPS and CTMRGEnv. (The difference between the two essentially comes down to the fact that eltype is ambiguous for nested structs, whereas scalartype clearly returns the underlying scalar element type of the struct.)
Nonetheless, it makes sense to define eltype consistently, even though it is not needed much.

Well, my feeling is that InfiniteWeightPEPS are not really vectors since the elements are defined on different fields? So I don't think it can reasonably support the VectorInterface. Also, I don' think we really need it, since we don't do vector operations with that struct, right?
Regarding similar(peps, args...) I think it is fine the way it is. For example, if you have a complex PEPS and want to create a similar real PEPS you can just use similar(peps, Float64).

Ahh thanks for catching that, I didn't realize similar was defined differently for PEPOs.
Regarding the args... of similar which should be allowed: I think it is okay if we leave it up to the user which arguments are passed onto the similar call which acts on the underlying TensorMaps. For example, if the user inputs a domain and codomain such that the tensors are not PEPS/PEPO tensors anymore, the similar call will error.

Actually, the fix for eltype should be the other way around: that function is typically reserved for the type of the result of indexing or iterating, which is why it affects similar. At some point we realized that we need to also have access to the number type, so we introduced scalartype, but apparently the CTMRGEnv didn't get updated. In principle, I'd say it isn't even very well-defined for that, since it could be either an edge or a corner, but for the peps and pepo it really is

In that case I would suggest just scrapping eltype for CTMRGEnvs, since we don't use that anyway and perhaps there is no reasonable and consistent way of defining it for CTMRGEnvs. Probably, for all cases where you would want eltype, you could just use scalartype.

So the Heisenberg test does optimize if the derivative of the SVD is performed using GMRES. However, you do see that there are many gauge sensitivity warnings and also warnings about (Heisenberg SU(2)?) degeneracies - as expected in Jutho/KrylovKit.jl#110.
This circumvents Arnoldi failing to converge all values but of course the underlying problem is still there, which leaves the question of how in general such cases should be handled. Also, in principle we would need Lorentzian broadening here (it's still unclear how to implement that together with the KrylovKit adjoints).


The edits are only internal, they don't change or break the existing APIs.
Pros:

Removed every instance of multiple inherintance in the codebase.
Automated serialization of constructor arguments, no need to manually copy/paste them and keep track of them in case the constructor changes.
I discovered at least one instance of useless arguments, where such argument is only serialized and then never used anymore (default_camera_config in ant_v5.py).

Cons:

none that I can think of

Type of change

[x] Refactor

Checklist:

[x] I have run the pre-commit checks with pre-commit run --all-files (see CONTRIBUTING.md instructions to set it up)
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] New and existing unit tests pass locally with my changes

Worth noting that this absolutely is a breaking change, since 3rd-party envs can use EzPickle to keep consistency with internal gymnasium envs, since EzPickle is explicitly an exported class from its module.
In principle I'm not opposed to removing multiple inheritance, but we need to be very careful about this. At the very least we'd probably need to keep EzPickle (the class) around for a long time. The only point where I can see it being removable is for 1.0, but even then I'm not sure if it's worth the hassle.
Even if we keep EzPickle, that doesn't mean we can't convert internal code to something better, but I'm not sure if a decorator applied to the constructor is the right way to go, I haven't seen a pattern like this... ever, probably for a good reason. Modifying the class methods inside of it is even more opaque.
With all my distaste for multiple inheritance, in this case it might not be the worst thing, since all it should do is just record some things and then pass the arguments on to the next parent class. But as I said, if there's a solution that's significantly less cursed (as a ratio to how breaking of a change it is)

Even if @ezpickle is added, EzPickle should be kept for backwards compatibility with a deprecation warning

Due to the issue I list above, unless the issue doesn't exist or we can find a solution, I'm going to close the issue


Minor updates and fixes for Cloud Academy

@DiegoSanjuan, 👍?

@gsanchezu File '/home/travis/build/CenturyLinkCloud/PublicKB/Cloud Application Manager/Automating Deployments/managing-multi-tier-applications.md' not found.

Yep, sorry, I just updated the links. Thanks @jim-phillips
Hey @JimGreene30, I've renamed managing-multi-tier-applications.md to managing-multi-tier-applications-with-bindings.md. Could you please add a redirect in ctl.io as Jim suggested? Thanks!

@DiegoSanjuan, @jim-phillips, @JimGreene30, ☝ ?

I merged the redirect in CTL for the old kb name to the new one.  I should have waited for this.
@DiegoSanjuan please review by tomorrow so we can merge.


@react-native-community_async-storage:javaPreCompileRelease android

What went wrong:
Execution failed for task ':@react-native-community_geolocation:generateDebugRFile'.

java.nio.file.NoSuchFileException: /Users/serhatyilmaz/Desktop/development/react/TaxiBookingApp/node_modules/@react-native-community/geolocation/android/build/intermediates/merged_man?fests/debug/../../l?brary_man?fest/debug/AndroidManifest.xml

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Hi @srhtylmz19 	,
I guess you meant to post it on Geolocation repo, right? :)


add ero:"funding role" as subclass of sponsor role

In order to specify a funder as a sponsor that provides money (funds) an academic event or series, it seems fitting to import ero:"funding role" as subclass of aeon:"sponsor role".
It would also make sense to add a comment to aeon:"sponsor role" in which the difference to obi:"sponsor role", that the latter has the constraint to be a sponsor of scientific studies, is pointed out. Changing the label to something like "sponsoring a planned process role" might be more fitting but is quite long.

2 is done
wrt 1: CRO:0000097 is used instead, based on the fact that CRO is more recent and both were defined the same and created by the same contributor (@nicolevasilevsky).


How to Lazyload again when I change tabs?

I am using Tabs Bootstrap 3, how i can lazyload after change tabs? Thanks you.

Bootstrap triggers show.bs.tab event on tab activation, so try to use
$.lazyLoadXT.updateEvent += ' show.bs.tab';

I am using Foundation 5 trying to do the exact same thing.  I have three tabs with separate sets of images and I need the images hidden in the other tabs to load when I click them.  Thank you.


Feature/mc 9632 - Branch and merge Reference Data Models

Make branching and merging work for Reference Data Models.

Fix various pathing bugs for the items of Reference Data Model
Fix copying of Reference Data Element and Reference Data Type
Add a ReferenceDataPluginMergeBuilder to create test data
Copy tests from DataModelFunctionalSpec to ReferenceDataModelFunctionalSpec, with suitable adaptations
Update the VersionedFolderMergeBuilder and VersionedFolderFunctionalSpec to include Reference Data
Enable fields with deep labels (i.e. where the field name contains a dot e.g. referenceDataType.label) to be merged by adding a CreatorAwareUtils.patchCreatorAwareField. This may also help with #222, but that is still to be checked.

Apart from the below i'm happy with this.
I disagree with the need for the CreatorAwareUtils: Diffs should not be detecting the change at the subdomain level. i.e. domain.dataType.label should not be a detected change of domain. It should be a detected change of dataType, the domain should not care that the dataType label has changed. If the datatype has changed then the id would be different, otherwise the "pointer" would remain the same and the diff would state that the datatype itself has been modified.
Can you provide the exact situation this is happening and why its needed, for me to better understand

@olliefreeman At
https://github.com/MauroDataMapper/mdm-core/blob/e202601fc265d2a49ae0248310f312f16b929513/mdm-plugin-datamodel/grails-app/domain/uk/ac/ox/softeng/maurodatamapper/datamodel/item/DataElement.groovy#L198-L205
there is a string appended with dataType.label
Similarly in ReferenceDataElement (which is presumably copied from DataElement).

as discussed in the meeting, we need to change this to "path" for the datatype comparison not label, then use the same coding format being developed for the model datatypes

Updated to use the pathing approach for referenceDataTypeLabel, and also changed the tests following the removal of isLegacy option on endpoints.
The test failures appear to be inconsistent and not related to this change.


Add HAProxy image mod & a few minor fixes for router-perf

Description

Add new HAProxy image deployment
Cleanup

Wow I didn't know this PR was still open...


[#7057] Update WebFlux(Reactor-Netty) Plugin

#7057

Codecov Report

Merging #7058 into master will decrease coverage by 0.03%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #7058      +/-   ##
==========================================
- Coverage   38.90%   38.86%   -0.04%
==========================================
  Files        3274     3277       +3
  Lines       95093    95182      +89
  Branches    11897    11912      +15
==========================================
- Hits        36992    36990       -2
- Misses      55141    55233      +92
+ Partials     2960     2959       -1

Impacted Files
Coverage Δ

...point/plugin/reactor/netty/ReactorNettyPlugin.java
0.00% <0.00%> (ø)

...plugin/reactor/netty/ReactorNettyPluginConfig.java
0.00% <0.00%> (ø)

...terceptor/AbstractHttpServerHandleInterceptor.java
0.00% <ø> (ø)

...etty/interceptor/ChannelOperationsInterceptor.java
0.00% <ø> (ø)

...or/netty/interceptor/CorePublisherInterceptor.java
0.00% <0.00%> (ø)

...r/netty/interceptor/CoreSubscriberInterceptor.java
0.00% <0.00%> (ø)

...actor/netty/interceptor/MethodFilterExtractor.java
0.00% <ø> (ø)

...nterceptor/SubscribeOrReturnMethodInterceptor.java
0.00% <0.00%> (ø)

...p/pinpoint/rpc/client/WriteFailFutureListener.java
62.50% <0.00%> (-18.75%)
:arrow_down:

...p/pinpoint/rpc/stream/StreamChannelRepository.java
75.00% <0.00%> (-10.00%)
:arrow_down:

... and 7 more

Continue to review full report at Codecov.

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


feat(ui): smart table view for smaller screens

https://user-images.githubusercontent.com/11502495/220676809-47404c6a-40c5-42bd-bb28-6687027bf650.mp4

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 23.838%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
3818

Relevant Lines:
16917

💛  - Coveralls


JSON scalar texts in the stream are not captured properly

It is valid for a JSON text to represent only a single scalar value, rather than an object or array - this is supported by Python's json module:
>>> import json
>>> json.loads('true')
True
>>> json.loads('false')
False
>>> json.loads('"an example"')
'an example'

However, a stream containing such texts will not be split correctly by splitstream. The keywords true, false, and null are silently dropped, as are numeric literals:
>>> import io; from splitstream import splitfile
>>> split_buf = lambda data: list(splitfile(io.BytesIO(data), format='json'))
>>> split_buf(b'true false null [5] null true false true false {"a": 6}')
[b'[5]', b'{"a": 6}']
>>> split_buf(b'4 5 6 7 []')
[b'[]']

Attempting to insert a string literal will cause different, still incorrect behaviour. If there are no objects or arrays in the stream, the text is still silently dropped; however, if there is an object or array occurring somewhere after the string, the entire stream up to that object or array will be captured as one buffer.
>>> split_buf(b'"abc" 56 "def"')
[]
>>> split_buf(b'"abc" 56 "def" {} 3 4')
[b'"abc" 56 "def" {}']
>>> split_buf(b'"abc" 56 "def" {} 3 4 "5" 6 7 []')
[b'"abc" 56 "def" {}', b' 3 4 "5" 6 7 []']

Attempting to parse these buffers with json.loads, naturally, does not work.
The correct behaviour would be to split the stream on every toplevel JSON value, producing separate buffers for each - in other words:
>>> fixed_split_buf(b'true false null 1 "hello world" ["goodbye", "world"] {"a": 12, "b": [null]}')
[b'true', b'false', b'null', b'1', b'"hello world"', b'["goodbye", "world"]', b'{"a": 12, "b": [null]}']

@00dani I wrote a partial fragment parser for Python statements and expressions as part of my template engine work on cinje. With one interesting edge case (null [5]) this appears to split as you would desire.
Admittedly, Python fragments, using Python's internal AST representation, not JSON, but. Conveying an approach, @rickardp 😉


PassThruContainer

This is an attempt at #3282. PassThruContainer is added to numba.jitclass.passthru. Usage looks like
from numba import PassThruContainer

obj = dict(a=1)
container = PassThruContainer(obj)

@jit(nopython=True)
def identity(c):
    with objmode(a='int64'):
        c.obj['b'] = 2
        a = c.obj['a']

    return c, a

res, a = identity(container)

assert c is res
assert a == 1
assert res.obj['b'] == 2

The first version of  PassThruContainer was implemented as subclass of jitclass._box.Box but has since been rewritten to use NRT_meminfo_new_from_pyobject based on @sklam's comments below.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@cc1597c). Click here to learn what that means.
The diff coverage is 87.96%.

@@            Coverage Diff            @@
##             master    #3640   +/-   ##
=========================================
  Coverage          ?   80.54%
=========================================
  Files             ?      397
  Lines             ?    81841
  Branches          ?     9304
=========================================
  Hits              ?    65917
  Misses            ?    14478
  Partials          ?     1446

Latest version has the native constructor removed, added some docs,  and has moved to numba/passthru.py. There is still some code that should probably move into other modules or be more narrowly typed:

int(Opaque) is implemented, could have been called id(Opaque) as well. Essentially this is ptrtoint. If this is considered generally useful for all subtypes of Opaque this should move to targets/numbers.py (or targets/builtins.py if we call it id). Otherwise, restrict to passthru.opaque_pyobject
operator.is_(Opaque, Opaque) is implemented as comparing the pointers for equality. Again, should move to targets/builtins.py or br restricted to passthru.opaque_pyobject
The implementation of PassThruContainerType.__hash__ turned out to be essentially an implementation of pyhash.c/_Py_HashPointer. If considered useful, a generic implementation of __hash__ for Opaque and subtypes could be extracted (should probably live in targets/hashing.py)

After rewrite to NRT_meminfo_new_from_pyobject this does not strictly need to be part of core Numba and we have been using a version refactored as stand-alone package for some time now internally. A good reason to keep it with the core package (and especially the continous build) might be the issue from the previous comment which will likely collide with core Numba some day.

I wonder if anything can be done to make lower_constant(PassThruContainerType) possible.

I've not implemented lower_constant for PassThruContainerType before but for a number of other extension types. Essentially the strategy is to unbox the PyObject in the lower_constant implementation. However, there are a number of pitfalls and I have not found a generic solution for all of them:

Currently you are expected to return a borrowed reference from lower_constant which rules out re-using the unboxer of any mem-managed type (see #4494, there is #4506 but not ready for Numba>0.48, yet)
Types that are using the EnvironmentManager during (un)boxing cannot be unboxed in lower_constant
If caching should be possible you'll need some way to re-create the object (from pickle or global function in objmode)
It's not obvious how to clean-up the object. (This should not be an issue for a global variable but could escalate quickly if the constant was created from a closure)
Clean-up is even harder b/c lower_constant might be called several times during compilation but the constants get fused by the linker

@asodeur thanks creating this PR, this container can be very useful. Regarding lower_constant, I was wondering if it's really needed since the following works:
from numba import jit, objmode

obj = dict(a=1)

@jit(nopython=True)
def identity():
    with objmode(a='int64'):
        obj['b'] = 2
        a = obj['a']

    return a

a = identity()

assert a == 1
assert obj['b'] == 2

ie, even if the container cannot be lowered as constant, the original object can, which should fulfill the use-case, right?


exposeID() gives error: Cannot return null for non-nullable field lessons.id.

I'm using the prisma plugin and can't get this basic use case to work.
My prisma schema:
datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

generator gen {
  provider = "prisma-client-js"
}

generator pothos {
  provider = "prisma-pothos-types"
}

model lessons {
  id         BigInt    @id @default(autoincrement())
  notes              String?
}

My pothos schema:
import SchemaBuilder from "@pothos/core";
import { DateTimeResolver } from "graphql-scalars";
import PrismaPlugin from "@pothos/plugin-prisma";
import type PrismaTypes from "@pothos/plugin-prisma/generated";
import { prisma } from "./db";

export const builder = new SchemaBuilder<{
  Scalars: {
    DateTime: { Input: Date; Output: Date };
  };
  PrismaTypes: PrismaTypes;
}>({
  plugins: [PrismaPlugin],
  prisma: {
    client: prisma,
  },
});

builder.addScalarType("DateTime", DateTimeResolver, {});

builder.prismaObject("lessons", {
  fields: t => ({
      id: t.exposeID(),
      notes: t.exposeString("notes", {nullable: true}),
      time_in: t.expose("time_in", {type: "DateTime"}),
      time_out: t.expose("time_out", {type: "DateTime", nullable: true}),
  })
})

builder.queryType({
  fields: t => ({
    lessons: t.prismaField({
      type: ['lessons'],
      resolve: async (query, root, args, ctx, info) => {
        return prisma.lessons.findMany({ ...query });
      }
    })
  })
})

export const schema = builder.toSchema({});

My query:
query lessons {
  lessons {
    id
    notes
    time_in
    time_out
  }
}

There is only one row in the DB and it has an ID.
When I run the query I get this error from the graphql module: Cannot return null for non-nullable field lessons.id.

Using queryField instead of queryType gives this error: PothosSchemaError: Ref Query has not been implemented
But that seems like a separate issue.

You need to indicate what field you are exposing: id: t.exposeID('id'),
If you are not seeing an error on this line, you may need to enable strict mode in your tsconfig.json


Milestone 3: Page Structure with Inactivity Timeout

Overview
This PR contains the following changes:

Inactivity timeout - The website will refresh after 60sec have passed without any activity.
Secondary info page - The Learn More button will open up a modal with an image. The image used depends on the current language of the site.
Complete refactoring of the codebase to make it cleaner.
Removed previously used temporary styles so we can start from scratch in the next phase.
Used reactstrap for some basic styling to make the site look good without adding unnecessary lines of code. Will probably be removed in the next phase.
Changed component names so they are more consistent with the wording used in the Requirement Specification document.

Libraries/Plugins
We used react-idle-timer to track inactivity. You look at the documentation here: https://github.com/SupremeTechnopriest/react-idle-timer
Public Test Link
https://tsck-cochlear-implant.netlify.app/
Preview

Hey @tnordberg, I would also like to discuss a little about the reactstrap library. It was already available in the repo and we used it so that we don't have to write a lot of SCSS in this milestone.
For the next phase, however, I want to confirm if we're supposed to it or not? Are there any such restrictions?

NOTE: This PR does not implement animations. I know we have discussed that the popup should not flicker when it opens up, but I saw it as a design thing. It will be implemented/fixed in the next phase.

Hey @tnordberg, I would also like to discuss a little about the reactstrap library. It was already available in the repo and we used it so that we don't have to write a lot of SCSS in this milestone.
For the next phase, however, I want to confirm if we're supposed to use it or not? Are there any such restrictions?

We include reactstrap by default because it helps us prototype layouts faster, but it is not a requirement. Feel free to keep or remove it, whichever allows you to match our designs. Thanks for checking.

@abdulrauf11 and I chatted, and Rauf Tech will address the changes as part of next milestone. They've also opened an issue to represent these changes.
Merging!


Rpath issues with examples

When running make install, warnings such as this one will be emitted for all SFML example on OS X.

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for architecture x86_64 object: //usr/local/share/SFML/examples/cocoa/cocoa.app/Contents/MacOS/cocoa malformed object (inconsistent sizeofcmds field in mach header)

For all examples but cocoa this is no huge issue -- the programs can be launched from the command line as usual if SFML is installed on the system.
However, Finder will refuse to launch cocoa.app with this error message:

“cocoa.app” is damaged and can’t be opened. You should move it to the Trash.

But if run from the command line (./cocoa.app/Contents/MacOS/cocoa) it works.
The issue seems to come from an incompatibility with rpath... I don't have time to properly investigate right now so here are a few pointers for motivated people (or me, probably).

Tested with cmake 3.3.1 and <IP_ADDRESS>, no difference
[cmake-developers] "Inconsistent sizeofcmds" on Mac: a bug in install_name_tool maybe? (very recent: 17/09/15)
[CMake] Installation corrupts library on OS X: multiple rpaths conflicting with each others?
Print rpath of a binary: otool -l cocoa.app/Contents/MacOS/cocoa | grep -A2 -B1 LC_RPATH
Rpath before installing:

m@mbp ~/P/P/S/g/b/1/c/dylibs> otool -l examples/cocoa/cocoa.app/Contents/MacOS/cocoa  | grep -A2 -B1 LC_RPATH
Load command 25
          cmd LC_RPATH
      cmdsize 80
         path /Users/m/Prog/Projects/SFML/git/builds/10.7/clang/dylibs/lib (offset 12)
--
--
Load command 26
          cmd LC_RPATH
      cmdsize 80
         path /Users/m/Prog/Projects/SFML/git/SFML/extlibs/libs-osx/Frameworks (offset 12)

Rpath after installing:

m@mbp /u/l/s/S/e/cocoa> otool -l cocoa.app/Contents/MacOS/cocoa   | grep -A2 -B1 LC_RPATH
Load command 25
          cmd LC_RPATH
      cmdsize 80
         path /Users/m/Prog/Projects/SFML/git/SFML/extlibs/libs-osx/Frameworks (offset 12)

So something is definitely wrong with rpaths....

Do you know a solution to this, @mantognini?

No, but I plan on working on this one soon(-ish). The first thing is to make sure it still happens (maybe cmake or install_name_tool have fixed this since then)...
In any case, this is very specific to the Cocoa example we have here -- understand: this can be solved later as well without a big impact.

Actually, I can't reproduce this anymore... 😄
Maybe it was fixed in a recent version of cmake (I now have 3.5.2) or it was due to universal builds (that are no longer officially supported by SFML). I don't know. In any case, I'm closing this.

I removed the mileston, so we don't get confused whether there has been work done to it for 2.4.


Document use cases for Solid profile

Document the different use cases for a Solid profile.
Note: this should include discovery of:

storage
inbox

5 use cases:

In a Solid chat, someone asks to be included in a group.
I drag their identity from the chat 'author' field into a browser tab to look at their profile
I check that the profile is one who asserts that say

they are someone I know and recognize from the picture OR
they are in an existing group of people I trust OR
other people in the chat express trust OR
they have CV which is impressive and I trust it is right
They have a VC indivating a trustworthy status

I drag an icon from the profile (or from the chat) into the group in my contacts and their webID gets added to the group.
They get access to stuff the group has access to

The point of these use cases is that while the technical identity (if you like) is  concerned, the the reasons it is useful
and actually used is the collaborative, professional or social identity.
As we discuss this on Github and Gitter of course within a github organization we have to admit that all this interaction and permissioning is based on similar reputation-based ways of working. We should be able to port this all to Solid apps.


docs on deploying locally - Getting Started

🚀 Feature Request
Add documentation on how to easily get haztrak up and running locally. including

Using docker compose
Using the runhaz.sh shell script
The ole' fashion way.

We should also add a bullet point (it should be the first one) to the README's Getting started Section

closes with  #140


CenterTracker

All qRreaders got Center Tracker Graphic

@cliffgr can you be a bit more clear as to what exactly is the issue.

Closing the issue since OP has not responded with more information.


fix: fixed missing type file in package.json file entry

@iceprosurface Maybe we can add a types, WDYT?

I don't know why put index.d.ts outside, in my opinion, a better way would be to treat it as a type.ts and put it directly in src.
Then add "type": "dist/index.d.ts", to package.json
diff --git a/src/core/transform.ts b/src/core/transform.ts
index 7ba74ea..fd3f064 100644
--- a/src/core/transform.ts
+++ b/src/core/transform.ts
@@ -1,4 +1,4 @@
-import type {TransformOptions, TransformIndexHtmlConfig} from '../../index'
+import type {TransformOptions, TransformIndexHtmlConfig} from '../types'
 import {parse} from 'node-html-parser'
 import {replace, replaceImport, replaceInStringLiteral, replaceInTemplateElement, replaceSrc} from './utils'
 import {StringAsBytes, collectMatchingStrings, parseCode} from "./ast";
diff --git a/src/index.ts b/src/index.ts
index 41c31b6..7ed46f3 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,5 +1,5 @@
 import type { Plugin } from 'vite'
-import type { Options, TransformOptions } from '../index'
+import type { Options, TransformOptions } from './types'
 import { transformChunk, transformAsset, transformLegacyHtml, transformHtml } from './core/transform'

 export function dynamicBase(options?: Options): Plugin {
diff --git a/index.d.ts b/src/types.ts
similarity index 100%
rename from index.d.ts
rename to src/types.ts

Agree, if you don't mind you can go ahead and do it.

The update has been completed.


Fix or release documentation

Update the documentation please. Should be python -m pipx install ansys-templates
(py38) tmp $ python -m pipx install pyansys-templates
Fatal error from pip prevented installation. Full pip output in file:
    /home/alex/.local/pipx/logs/cmd_2022-04-15_12.48.27_pip_errors.log

Some possibly relevant errors from pip install:
    ERROR: Could not find a version that satisfies the requirement pyansys-templates (from versions: none)
    ERROR: No matching distribution found for pyansys-templates

Error installing pyansys-templates.
(py38) tmp $

I just release 0.1.1. Documentation is up to date now 👍🏽


laradock can't run migrate, connection refused.

Info:

System info : Windows 10

Issue:

php artisan migrate
SQLSTATE[HY000] [2002] Connection refused

Expected behavior:

connect to mysql in workspace container

Reproduce:

go to laradock
docker-compose exec workspace bash
php artisan migrate
SQLSTATE[HY000] [2002] Connection refused

Relevant Code:

my laradock .evn
MYSQL_VERSION=8.0
MYSQL_DATABASE=default
MYSQL_USER=default
MYSQL_PASSWORD=secret
MYSQL_PORT=3306
MYSQL_ROOT_PASSWORD=root
MYSQL_ENTRYPOINT_INITDB=./mysql/docker-entrypoint-initdb.d

my laravel .env
DB_CONNECTION=mysql
DB_HOST=<IP_ADDRESS>
DB_PORT=3306
DB_DATABASE=myDev
DB_USERNAME=root
DB_PASSWORD=root

my docker-compose.yml
mysql:
build:
context: ./mysql
args:
- MYSQL_VERSION=${MYSQL_VERSION}
environment:
- MYSQL_DATABASE=${MYSQL_DATABASE}
- MYSQL_USER=${MYSQL_USER}
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- TZ=${WORKSPACE_TIMEZONE}
volumes:
- ${DATA_PATH_HOST}/mysql:/var/lib/mysql
- ${MYSQL_ENTRYPOINT_INITDB}:/docker-entrypoint-initdb.d
ports:
- "${MYSQL_PORT}:3306"
networks:
- backend

I am run those on Window platform. didn't have issue with Mac.

Change your db host to mysql

changed db host to 'mysql' in the .env
(running on windows 10)
Still doesn't work.
DB_CONNECTION=mysql DB_HOST=mysql DB_PORT=3306 DB_DATABASE=default DB_USERNAME=root DB_PASSWORD=root
Also changed to:
DB_CONNECTION=mysql DB_HOST=mysql DB_PORT=3306 DB_DATABASE=default DB_USERNAME=default DB_PASSWORD=secret
and still does not work.

Log in to phpmyadmin and add a database there. You're using default DB params which are not acceptable at any cost.
DB_DATABASE:your-database-name

my env
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=catapult
DB_USERNAME=root
DB_PASSWORD=root

create new db via mysqlbencmark

change db host to mysql

docker-compose stop

docker-compose up -d nginx mysql workspace

docker-compose exec workspace bash

php artisan migrate

still have the error:
SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client (SQL: select * from information_schema.tables where table_schema = catapult and table_name = migrations)

share the output of these commands.

docker-compose ps

docker-compose logs mysql

I have found a solution for your problem.
Go to laradock/mysql/my.cnf
change it with the following code.
The MySQL  Client configuration file.

For explanations see
http://dev.mysql.com/doc/mysql/en/server-system-variables.html
[mysql]
[mysqld]
sql-mode="STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION"
character-set-server=utf8
default_authentication_plugin=mysql_native_password
Now rebuild your container.
docker-compose down
docker-compose build mysql
docker-compose up -d nginx mysql etc
docker-compose exec --user=laradock workspace bash

cd laradock/mysql
vim mysql/my.cnf
增加如下内容：（第一行作为参照）
character-set-server=utf8
default_authentication_plugin=mysql_native_password
docker-compose down
查看 laradock/.env 文件中 DATA_PATH_HOST=~/.laradock/data
sudo rm -rf ~/.laradock/data
docker-compose up -d nginx mysql phpmyadmin redis workspace
docker-compose exec workspace bash
php artisan migrate
OK

I have the same trouble ,but when I setting on my laravel 5.6 's .ENV config file is  DB_HOST=mysql can deal with my trouble. This is my laravel 5.6 's about db config
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=lara_roast
DB_USERNAME=root
DB_PASSWORD=root
However , I find an another problem,when I connect mysql by phpMyAdmin  is still error.
error msg is  Connection refused.
but I use Navicat for mysql app connect Mysql is successful.
I use docker version is Docker version 18.09.2, build 6247962

I deal with my problems !
first step: I change laradock Mysql version from latest to 5.7.
change laradock's Mysql version steps:

edit laradock .ENV config file :
MYSQL_VERSION=5.7
docker-compose down
rm -rf ~/.laradock/data/mysql
(if you use powerShell you must use this command: rm -Force ~/.laradock/data/mysql )
docker-compose build mysql
docker-compose up -d nginx mysql redis
docker inspect laradock_mysql_1

second step : change your laravel project .ENV config file
when you need execute "php artisan migrate" to create tables, you must edit
DB_HOST=<IP_ADDRESS>
when I execute "php artisan migrate" command, my .ENV config file
DB_CONNECTION=mysql
DB_HOST=<IP_ADDRESS>
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=test
DB_USERNAME=root
DB_PASSWORD=root
when you use ORM or DB select , you must edit
DB_HOST=mysql
when I use ORM or DB select, my .ENV config file
DB_CONNECTION=mysql
DB_HOST=<IP_ADDRESS>
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=test
DB_USERNAME=root
DB_PASSWORD=root
if you want to connet Mysql for phpMyAdmin ,you must
Host : mysql
username: root
password: root
even if I don't know why , but I take a half one day to deal with my problems  55555

thank you, it works
DB_HOST=mysql
and if you change database user you should set for it host equal mysql host

.
My problem  was i set localhost. And only when i changed to 'any host' i understood my fail.

Host should be your database service name. For example, your docker-compose.yml
services:

      app:
             #app service config`

     #mysql service
     db:
             #mysql service config

For this, DB_HOST=db

This will work for me:
I try to down version of mysql in laradock to 5.7.
Follow step in @Alex66668888  comment for details.
Change your env on Laravel project.
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=yourdatabase
DB_USERNAME=username
DB_PASSWORD=password

@bestlong I believe this issue can now be closed.

Change your db host to mysql

thanks a lot!!
it's work for me

Change your db host to mysql

thanks a lot!!
it's work for me

Which laravel version are you working with?

I also had the same problem because I set MYSQL_PORT=3307 like below:

My local MySQL server starts with my OS, so everytime I use Laradock, I'd stop my local MySQL service with brew services stop mysql .

laradock/.env
### MYSQL #################################################

MYSQL_VERSION=latest
MYSQL_DATABASE=default
MYSQL_USER=default
MYSQL_PASSWORD=secret
MYSQL_PORT=3307
MYSQL_ROOT_PASSWORD=root
MYSQL_ENTRYPOINT_INITDB=./mysql/docker-entrypoint-initdb.d

And then I set my Laravel .env DB_PORT=3307 but it's a mistake!

I run php artisan migrate like commands in the container by using this command: docker-compose exec workspace bash
So, if I'm in the container, the port must be 3306
laravel/.env
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=default
DB_USERNAME=default
DB_PASSWORD=secret

But surely if you'd like to go with your local tools such as your IDE, use 3307 port to connect.
PHPStorm:

Another happy landing! 🚀

@ikidnapmyself how did you connected with phpstom, I'm using mysql 5.7 and I just cant,I'm exposing port 3307 aswell, I'v already tryied with <IP_ADDRESS>, container IP, docker host ip, and nothing

Change your db host to mysql

working


Replace existing run functions

Without this, if you source the plugin multiple times an error is
produced.

Oops! Thanks! Merged as 170a942


The total count of claimed people isn't changed after the current user claiming

Description

The total count of claimed people isn't changed after the current user claiming
Steps to reproduce

Create a new wallet and log in
Click the "Claim" button
Click the "Claim your share" button
Click the "Claim" button again
Pay attention to the total count of claimed people

Actual result: The total count of claimed people isn't changed after the current user claiming
Expected result: The total count of claimed people is changed after the current user claiming
https://www.screencast.com/t/b0WCHqWosfNO
Supporting data

Checked on https://gooddev.netlify.com
iPhone X // iOS 12.4 Safari

We need to wait for beta branch new contracts

This may work fine with beta branches. But currently we cant test it on beta branches with new contracts as the claim is not working (described in #593). I think that if the error really exists it appears on blockchain/contracts level. The Daap part is just to fetch info from contracts and display it, that it.

Checked on https://goodqa.netlify.com/
Reproduced
https://www.dropbox.com/s/os6qkf98yxvsfwk/2019-10-28_15-26-00.mp4?dl=0

this is the beta ie etoro wallet feature

Checked on eWallet. Work as expected
If there is X people then:
when user claim gooddollars than count of people changed to X+1


Update Composer dependencies (2021-08-04-00-13)

Visual regression test passed!
View the visual regression test report


whereis NVCC tha I can't find & operate with?

I see /usr/local/cuda-10.2, but "nvcc --version" has no response. Thanx in advance. But is very useful, that I can finally use Torch, my target. Thanx a lot. I wish to use .cu to compile in vscode,

Hi, let me help. Does using nvcc -V also not work?

Must work.

Not work.
One more thing.
Installed Intel wifi card, pasted iwil.deb to lib/firmware and keep not
working.
What I am doing badly?.
Thanx un advance
El lun, 23 oct 2023, 4:16, benjmerales @.***> escribió:

Hi, let me help. Does using nvcc -V also not work?
—
Reply to this email directly, view it on GitHub
https://github.com/Qengineering/Jetson-Nano-Ubuntu-20-image/issues/49#issuecomment-1774326123,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3XNHG7TJFHDQ53CVAEFWTYAXHP7AVCNFSM6AAAAAA532BBVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZUGMZDMMJSGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Sorry, that is the problem with many issues we received.
Everything works when deliverer. People start installing there software and get stocked.
Understandable, but (almost) impossible to debug.
I have really no clue. Something must have meshed with the Ubuntu/ NVIDIA folder structure.

Yes, that's I think, too
I was going to acquire a new Jetson orin nano, but due to the fails of this
Jetson nano I will not. I've seen that Intel 9461 is alright, but, why not
the rest???.
Thanx for your time and attention.
Have a nice day!.
nvcc -V only goes when root, not user $.
How should I solve this.
It implies not recognized in VA code Studio.
Sorry.
El lun, 23 oct 2023, 21:26, Q-engineering @.***>
escribió:

Sorry, that is the problem with many issues we received.
Everything works when deliverer. People start installing there software
and get stocked.
Understandable, but (almost) impossible to debug.
I have really no clue. Something must have meshed with the Ubuntu/ NVIDIA
folder structure.
—
Reply to this email directly, view it on GitHub
https://github.com/Qengineering/Jetson-Nano-Ubuntu-20-image/issues/49#issuecomment-1775882465,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3XNHFGBANKA5LVNU6FYLTYA3AF7AVCNFSM6AAAAAA532BBVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZVHA4DENBWGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


System of object results in duplicates

Goals
I am building a chat application.
I want to not have duplicates of my objects
I have mainly 3 objects: a channel, a message and an entity. Both the channel and the message have an entity (the channel can have two)
The channel has a primary key, while the message does not (the message has 2 identifiers - a local one and one from the server. when the one from the server arrives, I nullify the temp one. This all means that the Message cannot have a primary key.
The problem comes when trying to set a primary key to the Entity class. It doesn't let me, because if I try to add a message that has attached to it an Entity that already exists in the database (was added because a channel with that entity was added), it crashes.
Expected Results
Have a system that enables me to handle my case. Maybe a custom setter that I can override when adding an Entity to check if it exists already or not.
Actual Results
I got a lot of duplicated instances
Steps to Reproduce
Simple adds of objects
Code Sample
https://gist.github.com/danipralea/e6dc03acd3a8df0e4aeb331bec26d5c8
Version of Realm and Tooling
Realm version: 2.1.2
Xcode version: 8.2
iOS/OSX version: 9.0
Dependency manager + version: 1.2.0.beta.1

Thank you for reaching out, @danipralea. I'm going to look into the problem you're experiencing and find someone who will be able to help resolve it with you. In the meantime, we appreciate your patience. 😸

@istx25 could you try creating a sample Xcode project, pasting the code from @danipralea's gist, and attempting to reproduce the issue to see if we experience the same behavior? If so, engineering can take a closer look at it. If not, hopefully @danipralea can refine the sample to demonstrate the duplicate instances referred to here.

For sure, I'll post the Xcode project here at some point today.

@danipralea: Which dependency(ies) are Mappable, MSChannelContext and MappingDefaultIdentifer coming from?

Mappable is ObjectMapper, MSChannelContext is another object also descending from Realm's Object class and MappingDefaultIdentifer is just -1

@danipralea sorry for a delay with the reply.
I as can understand from the info you've sent both JSON representation of the Channel and the Message has the JSON for Entity objects, so in this case you can try to check if there is an Entity object with the primary key specified in JSON and use existing one in your mapping function. Another option is to create a new Entity with .add(:update:true method. See more in docs.

@stel thank you for your reply. I do not add the Entity object manually. I never do. They get added whenever I add a Channel or a Message object. So I have no way of controlling how the Entity object gets added.

You should be able to handle this in map() function either in Channel or in Message class. I'm not sure if ObjectMapper handles this case automatically.

@stel I did that and receive the same error:
let transform = TransformOf<Entity, Any>(fromJSON: { (value: Any?) -> Entity? in
            if let entityDictionary = value as? [String : Any] {
                    if let entity = Mapper<Entity>().map(JSONObject: entityDictionary) {
                        store.add(entity, update: true)
                        return entity
                    } else {
                        print("no entity")
                    }
            }
            return nil
        }, toJSON: { (value: Entity?) -> String? in
            return nil
        })
        sender                  <- (map["entity"], transform)

Hmm.. this code looks good to me, when do you get the error? Is store.add(entity, update: true) executed? You can set exceptions breakpoint in Xcode and check when the Entity is created the second time.

it's created when I add a message that has attached an existing entity

Could you please post the code where you get this error and specify the exact line? Setting Exception Breakpoint in Xcode will help to identify that. Also make sure that you use this custom transform both in Message and Channel classes.

for now, it's not related to the Channel object. I just get one by adding a message with the current entity (the current user). Absolutely nothing fancy.

Unfortunately without any code sample or reproduction case I can't suggest anything :( Please use Xcode's debugger to find the exact place where duplicated object is created.

@stel This is what I'm using to add a message:
store.add(message: message)

// and the method extension is

func add(message: Message) {
        do {
            try write {
                // Here we mark if a message is first in a day, so we can mark it as such in the interface
                let messages = store.messages(forChannelId: message.channelId)
                var isFirst = true
                for m in messages {
                    if let mDate = m.createdAt, let messageDate = message.createdAt, mDate.sameDay(as: messageDate) {
                        isFirst = false
                        break
                    }
                }
                message.isFirstMessageOfTheDay = isFirst
                add(message)
            }
        } catch let error {
            print("error saving message : \(error)")
        }
    }

@danipralea to being able to help we need either an example Xcode project that reproduces your issue or at least a related code sample and the exact error message.
This code sample is not related to the previous one (https://github.com/realm/realm-cocoa/issues/4524#issuecomment-273902243), you don't call add(message:) method there at all.
Anyways, assuming store as a Realm instance, you need to call add(message, update: true) if there is an object with existing primary key.

the Message object does not have a primary key, only the Entity has one, that's why it's added without update:true

@danipralea did you set an exception breakpoint in Xcode? Which line in your code produces this error?

@stel thanks again for your reply.
The code snippet I posted 2 days ago generates the error. just the add message.
To give the context again:
I have 2 messages:
Message 1:
identifier = 1, entity has id = 1 (it's from another user than the current one
Message 2:
identifier = 2, entity has id = 2 (it's from me, cause my user has id=2)
If I try to add a new message, let's say
Message 3:
identifier = -1 (cause it's a temporary message yes, until I get a response from the server)
temporaryIdentifier = SOME_UDID
entity has id = 2
This is where it crashes, because entity with id =2 that was added by Message 2 already exists, and when I insert Message 3, it crashes. Because the entity with id = 2 already exists

Bringing attention back to this issue. cc @stel

Thank you both @istx25 and @stel

Sorry for a delay with reply @danipralea, but unfortunately I haven't received the info I requested.
I've made an example that shows how you need to handle primary keys in a described case, hope it helps ;)

class Entity: Object {
    dynamic var identifier: Int = -1

    override static func primaryKey() -> String? {
        return "identifier"
    }
}

class Message: Object {
    dynamic var entity: Entity?
    dynamic var identifier: Int = -1

    override static func primaryKey() -> String? {
        return "identifier"
    }
}

...

// Create Message1 and Message2 with the corresponding Entities ...
let entity1 = Entity()
entity1.identifier = 1

let entity2 = Entity()
entity2.identifier = 2

let message1 = Message()
message1.identifier = 1
message1.entity = entity1

let message2 = Message()
message2.identifier = 2
message2.entity = entity2

// ... and save it to Realm
try! realm.write {
    realm.add(message1)
    realm.add(message2)
}

//  Create Message3 and use existing Entity2
let message3 = Message()
message3.entity = realm.object(ofType: Entity.self, forPrimaryKey: 2)

try! realm.write {
    realm.add(message3)
}

If you need to update Entity everytime you save a new message, you can use this approach instead:
try! realm.write {
    let message3 = realm.create(Message.self)
    message3.entity = realm.create(Entity.self, value: ["identifier": 2], update: true)
}

@stel I can't use a primaryKey for the message, because the temporary message does not have an identifier yet. only a temporaryIdentifier

@danipralea right, I've updated my example, however it's not related to your case, so just try to use the same approach with ObjectMapper.

@stel Thank you very much for your message. does it work if the entity with id = 2 (my current user) has not been inserted yet? Cause that can be the case as well - where I open the app and load first a conversation with messages all except from me (the current user).
Do I need to make a check first and add it if it's not in the realm?

realm.object(ofType: Entity.self, forPrimaryKey: 2)

returns nil if no instance with the given primary key exists, while
realm.create(Entity.self, value: ["identifier": 2], update: true)

creates an object, or updates the existing one.

@stel It also happens for saving into the database:
*** Terminating app due to uncaught exception 'RLMException', reason: 'Can't create object with existing primary key value '2'.'
*** First throw call stack:
(
	0   CoreFoundation                      0x0000000113b36d4b __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x000000011359821e objc_exception_throw + 48
	2   Realm                               0x000000011103997e _ZL23createOrGetRowForObjectIZ19RLMAddObjectToRealmE3$_0EmRK12RLMClassInfoT_bPb + 334
	3   Realm                               0x0000000111038d65 RLMAddObjectToRealm + 677
	4   Realm                               0x0000000111000875 _ZL26RLMGetLinkedObjectForValueP8RLMRealmP8NSStringP11objc_objectm + 565
	5   Realm                               0x0000000111003d3b _ZZ13RLMDynamicSetP13RLMObjectBaseP11RLMPropertyP11objc_objectmENK3$_0clEv + 1403
	6   Realm                               0x0000000110ff84d7 _ZL13RLMWrapSetterIZ13RLMDynamicSetP13RLMObjectBaseP11RLMPropertyP11objc_objectmE3$_0EvS1_P8NSStringOT_ + 183
	7   Realm                               0x0000000110ff82c7 _Z13RLMDynamicSetP13RLMObjectBaseP11RLMPropertyP11objc_objectm + 183
	8   Realm                               0x0000000111039602 RLMAddObjectToRealm + 2882

It also happens for saving into the database

It does happen if you run this code for the second+ time when there are already entities with the specified primary keys. This is an expected behavior. That's why there is create(_, value:, update:).

@danipralea is this still unclear? Let us know if we can clarify this further.

@danipralea: Do you require anymore assistance?

I still have to implement the other suggestion of Dmitry. I will get back to you guys as soon as I do that.
Thank you very much for taking such care in the issue/issues

No worries. Just let us know when you get a chance. And we're happy to help. ❤

I'm closing this since we haven't heard back in a while. @danipralea please reopen if you're still having trouble with this.


Segmentation Delete Logging

Create a table and every time a segment is deleted, logs it in the table. Possibly add button to backend that makes an api call to pull a json of the log.
Table should look like this were it records every about the segmentation that was deleted as well as the user who deleted and time of deletion:
class SegmentationDeletedLog(db.Model):
    __tablename__ = "segmentation_deleted_log"

    id = db.Column("id", db.Integer(), primary_key=True)

    username = db.Column(
        "username", db.String(128), index=True, unique=True, nullable=False
    )

    segmentation_id = db.Column("id", db.Integer())

    data_id = db.Column(
        "data_id", db.Integer(), db.ForeignKey("data.id"), nullable=False
    )

    start_time = db.Column("start_time", db.Float(), nullable=False)

    end_time = db.Column("end_time", db.Float(), nullable=False)

    transcription = db.Column("transcription", db.Text(), nullable=True)

    created_at = db.Column(
        "created_at", db.DateTime(), nullable=False, default=db.func.now()
    )

    created_by = db.Column(
        "created_by", db.String(128), nullable=False,
    )

    clip_frist_opened_at = db.Column(
        "clip_frist_opened_at", db.DateTime(), nullable=False,
    )

    last_modified_by = db.Column(
        "last_modified_by", db.JSON(), nullable=False,
    )
    last_modified = db.Column(
        "last_modified",
        db.DateTime(),
        nullable=False,
        default=db.func.now(),
        onupdate=db.func.utc_timestamp(),
    )

    values = db.relationship(
        "LabelValue", secondary=annotation_table, back_populates="segmentations",
    )

    last_modified = db.Column(
        "last_modified",
        db.DateTime(),
        nullable=False,
        default=db.func.now(),
        onupdate=db.func.utc_timestamp(),
    )

testing this idea out in additional-logging branch. Rn, I have a method I can place in various functions that handle api calls. This way we can track users and get logs output with an api-call. Here is a test of that rn:


Replace astyle with clang-format

Astyle version updates have historically caused problems with large diffs etc. Proposal from @bkueng was that this might best be replaced by clang-format.
Discussion here: https://github.com/PX4/Devguide/pull/331#issuecomment-343414776

In addition we could use clang-tidy to check the coding style.
I ran some tests using an as similar style as we already use. This is the automatic transformation diff: https://github.com/bkueng/Firmware/commit/0efb7e0083e993b9bccaa1267798ac838326caf2. The result does not compile, but requires additional manual steps. There are 87 fatal build errors out of 560 steps, which gives a rough estimate how much manual intervention is needed. Also I used clang 4.0.0, maybe a newer version can do better.

The question is do we want to switch to camel case? I believe underscores are totally acceptable in C++, e.g. they are used in STL.

The question is do we want to switch to camel case? I believe underscores are totally acceptable in C++, e.g. they are used in STL.

I think so too, and the actual style is of course up to discussion. I tried to match it, but it's already inconsistent. Consistency is generally more important to me, as it makes the code easier to read and understand.

No, we don’t want to switch to camel case. We are roughly following the Google style guide with a few deviations.

There are two separate issues -

Astyle version problems. I would personally like switching to clang-format for other reasons, but I don't think it's going to remove all the versioning pain. This might be obnoxious, but one idea is to have the CI system push formatting fixes to your PR instead of just complaining.

Using clang-tidy for consistent naming. I'm all for this if we can do it incrementally.

Issue to discuss coding style in general - https://github.com/PX4/Firmware/issues/8319

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 30 days. Feel free to reopen this issue if you deem it appropriate.
(This is an automated comment from GitMate.io.)


used cached session for connecting to Gregor, unless we have received a bad session error from it recently

cc @maxtaco

I tried this manually locally and it worked (just deleted my session from DB and restarted authd+gregrod and watched logs)

Actually I'll add @maxtaco since @patrickxb wrote half of this.

Ok, sounds good.


[WIP] Revise documentation for Swift 5 stdlib additions

This is tracking WIP to revise the docs for the additions in SE-0221.

These changes are ready for review:
@milseman for the Character/UnicodeScalar properties
@stephentyrone for the SIMD types/protocols
and also @airspeedswift

@swift-ci Please smoke test

@swift-ci Please smoke test and merge

@swift-ci Please smoke test


Ssr does not work

Breeze Version: 1.5.3
Laravel Version: 10.3.1
PHP Version: 8.2.3
Database Driver & Version:

Description:
Steps To Reproduce:

php artisan breeze:install --ssr
`Which stack would you like to install?
blade .......................................................................................................................................... 0
react .......................................................................................................................................... 1
react-ts ....................................................................................................................................... 2
vue ............................................................................................................................................ 3
api ............................................................................................................................................ 4
❯ react-ts
Would you like to install dark mode support? (yes/no) [no]
❯
Would you prefer Pest tests instead of PHPUnit? (yes/no) [no]
❯ yes
`
log:
PS C:\Users\jensv\My Projects\alpacaislands.eu> php artisan breeze:install --ssr
Which stack would you like to install?
blade .......................................................................................................................................... 0
react .......................................................................................................................................... 1
react-ts ....................................................................................................................................... 2
vue ............................................................................................................................................ 3
api ............................................................................................................................................ 4
❯ react-ts
Would you like to install dark mode support? (yes/no) [no]
❯
Would you prefer Pest tests instead of PHPUnit? (yes/no) [no]
❯ yes
./composer.json has been updated
Running composer update inertiajs/inertia-laravel laravel/sanctum tightenco/ziggy laravel/breeze
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Lock file operations: 3 installs, 0 updates, 0 removals

Locking inertiajs/inertia-laravel (v0.6.9)
Locking laravel/breeze (v1.19.2)
Locking tightenco/ziggy (v1.5.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 22 updates, 6 removals
0 [>---------------------------]    0 [->--------------------------]
Removing sebastian/resource-operations (3.0.3)
Removing pestphp/pest-plugin-laravel (v1.4.0)
Removing pestphp/pest-plugin (v1.1.0)
Removing pestphp/pest (v1.22.5)
Removing drewmw5/breeze (v1.5.3)
Removing doctrine/instantiator (2.0.0)
Upgrading nunomaduro/collision (v6.4.0 => v7.1.1): Extracting archive
Upgrading sebastian/version (3.0.2 => 4.0.1): Extracting archive
Upgrading sebastian/type (3.2.1 => 4.0.0): Extracting archive
Upgrading sebastian/recursion-context (4.0.5 => 5.0.0): Extracting archive
Upgrading sebastian/object-reflector (2.0.4 => 3.0.0): Extracting archive
Upgrading sebastian/object-enumerator (4.0.4 => 5.0.0): Extracting archive
Upgrading sebastian/global-state (5.0.5 => 6.0.0): Extracting archive
Upgrading sebastian/exporter (4.0.5 => 5.0.0): Extracting archive
Upgrading sebastian/environment (5.1.5 => 6.0.0): Extracting archive
Upgrading sebastian/diff (4.0.4 => 5.0.0): Extracting archive
Upgrading sebastian/comparator (4.0.8 => 5.0.0): Extracting archive
Upgrading sebastian/code-unit (1.0.8 => 2.0.0): Extracting archive
Upgrading sebastian/cli-parser (1.0.1 => 2.0.0): Extracting archive
Upgrading phpunit/php-timer (5.0.3 => 6.0.0): Extracting archive
Upgrading phpunit/php-text-template (2.0.4 => 3.0.0): Extracting archive
Upgrading phpunit/php-invoker (3.1.1 => 4.0.0): Extracting archive
Upgrading phpunit/php-file-iterator (3.0.6 => 4.0.1): Extracting archive
Upgrading sebastian/lines-of-code (1.0.3 => 2.0.0): Extracting archive
Upgrading sebastian/complexity (2.0.2 => 3.0.0): Extracting archive
Upgrading sebastian/code-unit-reverse-lookup (2.0.3 => 3.0.0): Extracting archive
Upgrading phpunit/php-code-coverage (9.2.26 => 10.0.2): Extracting archive
Upgrading phpunit/phpunit (9.6.5 => 10.0.16): Extracting archive
0/22 [>---------------------------]   0%
4/22 [=====>----------------------]  18%
10/22 [============>---------------]  45%
14/22 [=================>----------]  63%
20/22 [=========================>--]  90%
21/22 [==========================>-]  95%
22/22 [============================] 100%
1 package suggestions were added by new dependencies, use composer suggest to see details.
Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi

INFO  Discovering packages.
inertiajs/inertia-laravel ................................................................................................................... DONE
laravel/breeze .............................................................................................................................. DONE
laravel/sail ................................................................................................................................ DONE
laravel/sanctum ............................................................................................................................. DONE
laravel/tinker .............................................................................................................................. DONE
nesbot/carbon ............................................................................................................................... DONE
nunomaduro/collision ........................................................................................................................ DONE
nunomaduro/termwind ......................................................................................................................... DONE
spatie/laravel-ignition ..................................................................................................................... DONE
tightenco/ziggy ............................................................................................................................. DONE
81 packages you are using are looking for funding.
Use the composer fund command to find out more!

@php artisan vendor:publish --tag=laravel-assets --ansi --force

INFO  No publishable resources for tag [laravel-assets].
No security vulnerability advisories found
ErrorException
copy(C:\Users\jensv\My Projects\alpacaislands.eu\vendor\drewmw5\breeze\src\Console/../../stubs/inertia-common/app/Http/Middleware/HandleInertiaRequests.php): Failed to open stream: No such file or directory
at vendor\drewmw5\breeze\src\Console\InstallsReactTSStack.php:59
1   vendor\drewmw5\breeze\src\Console\InstallsReactTSStack.php:59
2   vendor\drewmw5\breeze\src\Console\InstallReactTSCommand.php:61
Drewmw5\Breeze\Console\InstallReactTSCommand::installInertiaReactTSStack()

Thanks for the info!
I went ahead and re-ran the tests for now and they passed without issue! Maybe I'm missing something, but in case I'm not, please double check your dev environment is setup correctly.
I'm at work right now, but should have some downtime soon to check this out.
Thanks @JensvandeWiel

Hello @JensvandeWiel,
Unfortunately, I was unable to recreate your issue. I created a fresh project and I'm not receiving any errors by running php artisan breeze:install --ssr. Everything is working as expected on my end. Because there were no failed tests and I cannot recreate the issue, I'm going to close it.
You're error is because it cannot find the HandleInertiaRequests.php file. Things to try:
Please make sure that HandleInertiaRequests exists in vendor/drewmw5/breeze/stubs/inertia-common/App/Http/Middleware.
Please make sure that laravel/breeze is installed and located in your vendor directory. (please see the bottom of the README.md for more information)
Please feel free to open this issue back up if you're certain that the issue needs to be solved via a PR.
Thanks, @JensvandeWiel!


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1098

Questions ?
Please refer to the Backport tool documentation


Lip Sync file save error - No such file or directory

Hi. What is version of app?

i didn't enable overlay, in the tmp folder multiple files are there. separate audio and video files, but merged file is not there

As I wrote in another issue.  You have problems with ffmpeg.  Complete the correct installation of the program (without comda) and ffmpeg for your computer in os environment.


Using multiple dropdowns

I am trying to use more than 5 dropdowns. Should I create an optionsModel for each dropdown and give it their own variable names? By doing that, I would not know how to call the proper optionsModel for the actual dropdown being changed. Since the name optionsModel would be different for each dropdowns.
onChange() {
        console.log(this.optionsModel);   // <---- This would not work anymore
    }

I too need to add 3 drop-downs next to each other. Any luck finding a way to achieve it?

I achieved it by creating seperate components for each dropdown.


Log command-line arguments

Basically just log sys.argv, if it isn't empty.
Split from #40

I'm working on this

Fully fixed now, with a few minor modifications. Thanks @oew1v07!


feat: add constants/float32/max-base10-exponent-subnormal

Resolves #3093.
Description

What is the purpose of this pull request?

This pull request:

adds constants/float32/max-base10-exponent-subnormal

Related Issues

Does this pull request have any related issues?

This pull request:

resolves #3093

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

Open to reviews!!
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

ready for review @Planeshifter !


GooglePlaceAutoCompleteTextField: Unhandled Exception with Null check operator

I'm encountering an issue with the GooglePlaceAutoCompleteTextField widget from the google_places_flutter package. Every time I type a location into the search bar and select a suggestion from the auto-suggested list, I receive an error in my console logs.
Error:
csharp
Copy code
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: Null check operator used on a null value
#0      _GooglePlaceAutoCompleteTextFieldState.getPlaceDetailsFromPlaceId
google_places_flutter.dart:252

Relevant Code:
dart
Copy code
Future<Response?> getPlaceDetailsFromPlaceId(Prediction prediction) async {
var url = "https://maps.googleapis.com/maps/api/place/details/json?placeid=${prediction.placeId}&key=${widget.googleAPIKey}";
Response response = await Dio().get(url);
PlaceDetails placeDetails = PlaceDetails.fromJson(response.data);
prediction.lat = placeDetails.result!.geometry!.location!.lat.toString();
prediction.lng = placeDetails.result!.geometry!.location!.lng.toString();
widget.getPlaceDetailWithLatLng!(prediction);
}
Steps to Reproduce:
1.Type a location into the GooglePlaceAutoCompleteTextField search bar.
2.Select any location from the suggested dropdown.
3.Observe the error in the console logs.
Additional Context:
The error seems to be related to the getPlaceDetailsFromPlaceId method, specifically when trying to access properties of the placeDetails object. I've ensured that the necessary API keys and configurations are correctly set up.
Thank you in advance.
Screenshots:

https://www.youtube.com/watch?v=3M5fKhc1PJw


“Total Value” section not displayed on Home screen  when user update Valora application from previous build to latest build with logged in account

Frequency: 100%
Repro on build version: Android internal build V1.22.1
Does Not Repro Version: Test Flight Build V1.22.1
Repro on devices: One Plus 7T(11.0), Google Pixel 2XL (11.0), Samsung Galaxy F41  (11.0), Redmi note 8 (9.0)
Does Not Repro on devices: iPhone 12(15.0), iPhone SE (13.6.1), iPhone SE (14.2)
Testing Account:<PHONE_NUMBER>/Recovery Phrase
Pre-condition: Make sure that user account should have some balances
Repro Steps:

Launch the previous build (Play store build V1.21.0 here) & restore the account with the above credentials
Now observe balances from the Hamburger menu
Now update Valora application to the latest build (Android internal build V1.22.1 here)
Now redirect to the Home screen of an application
Observe that,

Current Behavior: “Total Value” section not displayed on Home screen & user not able to see the total sum of all balances on Home screen
Expected Behavior: User should be able to see the total sum of all balances in local currency with “Total value” section on the home screen
Investigation:

Also we have observed the same issue if we restore the account with no balances & then update the app to the latest version
Also we have observed that user all balances displayed in Hamburger Menu instead of Home screen

Impact: Bad user experience as a user not able to see balances on Home screen after upgrading Valora application from previous to latest build
Attachment: TotalValueSectionNotDisplayedAfterUpdating.mp4

I think this is due to the remote config not loading immediately, it should fix itself after a while. I think while unfortunate it's not too big a deal. @ValoraQA can you confirm that after some time the "Total Value" section starts showing up?

Hey, @gnardini We have re-verified this issue using Android internal build V1.22.1 & observed that issue is still reproduced

[ ] We have verified by waiting more time after updating the Valora application to the latest build but still not able to see the "Total  Value" section on the Home screen
[ ] Also we have tried with Kill & Relaunching the application after upgrading but facing the same issue

Verified On Devices: Redmi Note 8 (9.0), Samsung Galaxy F41  (11.0)
Attachment: NotAbleToSeeAfterWaitingForLongTime

Hey, @jeanregisser We have a re-verified the issue using Android internal build V1.22.1 & observed that issue is still reproduced. Also, we have attached logs for the same.
Verified On Device: Redmi Note 8(9.0), Redmi Note 8(10.0), Samsung Galaxy F41 (11.0)
Attachment:  NotAbleToSeeTotalValueStill
Logs: Celo_Logs
Thanks..!!

Hey @MuckT , We have a re-verified the issue using Android internal build V1.22.1 & observed that issue is still reproduced.
Observation : "total balances" section is not seen after we update the build V:1.21.0 to V:1.22.1
Verified On Devices: Redmi Note 8(9.0), OnePlus 7t(11.0)
Attachment: update_issue.mp4


Question about Samesite and GA for MSAL Angular

Please follow the issue template below. Failure to do so will result in a delay in answering your question.
Library

[ ]<EMAIL_ADDRESS>or<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>
Description
Hi Team, Currently i have used adal-angular package in one of my production application. For samesite issue I found that there is no update happening in adal-angular package. So I would like to upgrade my application from adal-angular to msal-angular. But I think msal-angular is still in preview stage,   Is msal-angular in a stage where it can be configured and used in production application?

MSAL Angular is nearing GA, closing as no further action at this time.


Dependency update

To resolve https://github.com/frictionlessdata/implementations/issues/34
    - cchardet >=1.0
    - click >=6.7
    - jsonpointer >=1.10
    - jsonschema >=2.5
    - requests >=2.8
    - six >=1.10
    - tableschema >=1.1.0
    - tabulator >=1.20
    - unicodecsv >=0.14

Do you want to send a PR to fix that? All you want to do is to update the deps and bump the build number. Also, consider adding yourself as a maintainer so you can fix and merge this next time :wink:

@ocefpaf
Thanks. Done for both:

https://github.com/conda-forge/tableschema-feedstock/pull/17
https://github.com/conda-forge/datapackage-feedstock/pull/10


conditional templates (aka the red squiggles are a lie!)

When I try to use code like this:
    steps:
    - ${{ if ne('','${{ parameters.publishModule }}') }}:
      - template: Publish-Module-step.yml
        parameters:
          sourcePath: '${{ parameters.StagingDirectory }}\${{ parameters.compiledArtifact }}\${{ parameters.publishModule }}'
          targetPath: '${{ parameters.StagingDirectory }}\${{ parameters.packageArtifact }}'

I get red squiggles all over the step and down onto the next one, claiming first that the ${{ if ... is (or has? the error isn't clear) an unexpected property, and then that "The first property must be task" ...

Of course, the red squiggles are lying, and this syntax is perfectly fine ... as long as the template is a task template.

Yes - we need to invest in our handling of ${{ }} constructs.

@vtbassmatt Is there any progress with this? It's really annoying having that many syntax errors, even tho the document is correct and executes without problems!

No progress to report, I'm sorry 😞

Dupe of #187


Synth-Validation for Estimator Selection

Hey there!
Have you considered / read the paper on Synth-Validation? I think including some similar method would benefit the DoWhy package as it helps to choose the right estimator given a specific dataset (especially, when no graph is given).
We are working on an R implementation of the paper, which could possibly be included via RPy if you consider that something worthwhile at some point.
Either way, thanks for the awesome project!

Thanks for your comment @MaximilianFranz ! Yes, synth-validation is an exciting idea. We are also exploring other methods for doing validation, such as bayesian model criticism and methods that introduce an interpretable parameter for confounding and then rerun the estimates.
Curious to hear your thoughts on these as we prioritize next steps for DoWhy.
And thanks for building out an R implementation of Synth-validation. Would love to integrate it with DoWhy. I am not an expert at RPy---Would you mind adding a Jupyter notebook that shows how to use the R implementation in python?

@MaximilianFranz Wanted to share that we just released a roadmap for dowhy's development. Of course, synth-validation and related refutation methods are a high priority. Are you still interested in contributing to the repo?
Would also appreciate your feedback on the roadmap here: https://github.com/microsoft/dowhy/wiki/Roadmap

Thanks for letting me know. I haven't forgotten about Synth-Validation, but the colleague who translated the code into R isn't sure about publishing it to the DoWhy repository yet. I will check again with him and our supervisor for further information.
If I am not mistaken, the result of their evaluation was that the Synth-Validation method is not as effective as proposed, once the setting becomes more realistic. I'll keep you posted!

Ah, alright! Thanks for the update @MaximilianFranz. Curious to hear more about the evaluation, that sounds really interesting. Would you be comfortable sharing the results?

Late reply, sorry for that.
My last information was that the institute was not comfortable publishing the R version of SynthValidation, as it might not be identical and is not robust.
I am currently busy with implementing a framework for academic method evaluation using parametric DGPs (JustCause, so I won't be able to work on Synth-Validation anytime soon, though it would be cool to have!


in Ubuntu can't installe

can't find dns_sd_bindings

i think u miss a dns_sd.h .
so i can't make mdns right.
in your dns_sd.cpp you include dns_sd.h.
but i can't find it

On 04.06.2016, at 14:27, chenLX<EMAIL_ADDRESS>wrote:
i think u miss a dns_sd.h .

Hehe, and I think you are missing dns_sd.h.
Please see the installation instructions in the README.

so i can't make mdns right.
in your dns_sd.cpp you include dns_sd.h.
but i can't find it
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

很抱歉，这是我自己的问题，谢谢您的回复，我已经解决了这个问题。


[BUG] Unable to login

Describe the bug
Android application was not allowing me to login. Previously was unable to but now does not register login.
Attempted Fixes:

Cleared cache and closed out browsers & apps
Reinstalled application
Restarted phone after cache clear
Created second Spotify account to test a different login method

Smartphone (please complete the following information):

Device: Samsung Note 9 Android version 10 FB Login & Spotify Login
Emulator : Nexus Android Version7 Spotify Login

https://drive.google.com/file/d/1YhnJWppqOv81XK6afRx4PjShZhrBWtXh/view?usp=sharing

I'm having the same problem on a Moto G7 Power with Android version 9.

same. I have ios iphone 11.

New Android & iOS app have been pushed to testers to see if it works! Found two issues here:

When logging in with Facebook, Facebook deeplink adds a #__=_ which breaks the entire code received back from spotify. I made sure to rip that out

Deep linking was happening on every rerender of the auth component. If spotify auth is called two quickly like that, it says hell no and returns an error. I moved this to the main App component and deep linking seems to be working fine on Android and iOS!

Please confirm and then I can resolve this if everything works!

Checked again this morning and not running into issues it seems. Going to close this out!


Error with Ruby 1.9

When I follow the first two steps from your readme,  after adding a model I first get the following:
zlib(finalizer): Zlib::GzipWriter object must be closed explicitly.
zlib(finalizer): the stream was freed prematurely.
When I run 'sitemap.generate' I get the following exception: https://gist.github.com/886702
Btw. I am using Rails 3.0.3 and PostgreSQL.

I can't recreate this by writing ASCII-8BIT characters to Zlib::GzipWriter.  Do you have a test case that I can use to debug this?

From the gist looks like it was perhaps an invalid multi-byte string inside an ascii-8-bit string.  Ruby 1.9 does weird stuff with things like this, I've struggled with it in other areas (though haven't had any problems with sitemaps)


Update ungoogled-chromium to 83.0.4103.116-1

Ungoogled-chromium 83.0.4103.116-1 compiled and is running well. No changes to the patch set were required, but I opted to edit fix-ignored-pragma-optimize.patch to reduce some of the warning spam.

Got some errors about missing clang-format

Problem while looking for clang-format in Chromium source tree:
Could not find checkout in any parent of the current path.
Set CHROMIUM_BUILDTOOLS_PATH to use outside of a chromium checkout.

So I set export CHROMIUM_BUILDTOOLS_PATH=$_src_dir/third_party/llvm-build/Release+Asserts in build.sh

Problem while looking for clang-format in Chromium source tree:
File does not exist: /Users/macadmin/git-repos/ungoogled-chromium-macos/build/src/third_party/llvm-build/Release+Asserts/mac/clang-format

But apparently it will look in the sub-folder mac, which doesn't exists (sub-folder bin exists and contains the needed binaries)
So I added a symlink to bin with name mac (also in build.sh, after genrating the flags, only then did my build finish.
cd "$_src_dir/third_party/llvm-build/Release+Asserts/" && ln -sv bin mac

GitHub Actions did not run into this error, same for @Zoraver apparently. Something seems to be missing in my config, any idea what it could be? Or should we augment build.sh for macOS for this case?

@kramred I did run into an issue with clang-format a bit over a month ago. fix-clang-format-path.patch was created to address it, and I have not had any problems with clang-format since. Beyond the workaround for the issue that you described, have you made any other changes to the build configuration that could be causing this (changes to the gn args, patch series, etc...)?

Yeah, my bad. I had depot_tools in my $PATH , which contains a clang-format.
Totally forgot about that – sorry.


Static files not getting displayed when backend server is started

Hi jobic,
I found your project interesting and wanted to contribute to it
But when I cloned it on my machine and started running your project, so there is an issue that it's not displaying the frontend resources
Also for the reference I have attached an image below

Hi Anubhav Pabby, thanks for reaching out.
I already collected static files into static folder.
I'm currently away and not with my PC.
Please work with that instead.
I'll fix this up when I'm back.
Do lemme know if you have further questions/issues.
Thanks once again.

Hi Pabby, please check.
I've updated it. Do let me know if you have more questions...
Waiting for your contribution :-)


[WIP] Splash Page

I've added a splash page and changed a couple things around. It's very much a work in progress, as I wasn't quite sure what to put into the grid section. I figured I should stick this out there in case you all prefer the splash page version to the current version. This is highly customizable, so please take a look when you get a chance.
To view the splash page, run:
git checkout csp/splash-page
cd docs/site
jekyll serve

You'll need Jekyll already installed. More info can be found on the directions for building the site locally here.

@cpfiffer @yebai what's the plan for this PR? It's been open for a while now.

@cpfiffer  I don't think the new landing page is ready. Could we temporarily merge this new landing page into a new dir (e.g. turing.ml/splash/). Once the content and layout is ready, we can move the stuff to root dir.

I really wanted to see whether people actually wanted this type of splash page or if they're happy with the current front page before I did more work on it. I will move it into turing.ml/splash/ so people can look at it a bit easier.


fix for Either.tryCatch to remove the lint warning and make this safer

/// Constructs a new [Either] from a function that might throw
  static Either<L, R> tryCatch<L, R, Err extends Object>(
      L Function(Err err) onError, R Function() fnR) {
    try {
      return Right(fnR());
    } on Err catch (e) {
      return Left(onError(e));
    }
  }

Hi, thanks. I add this solution to the new release


Final merging and regeneration for v1.0

https://github.ibm.com/arf/planning-sdk-squad/issues/750
This PR merges the latest from develop to v1.0 (both for the Swift SDK and watson-swagger-codegen). I did another code generation. I then removed everything marked as deprecated.
I noticed that a ton of API docs changed due to the generation. This commit from earlier this month was also a regeneration commit, that somehow changed a lot of the API docs. I'm not sure how, since I was unable to reproduce those API doc changes, no matter which watson-swagger-codegen commit I used. So the generation done in this PR reverts the API doc changes back to what they are in the current/latest release of the Swift SDK.
The regeneration was done with the following commits:

API Definitions: 69548d73e9f9b65a549772bdc949087959f9a35e
Watson Swagger Codegen: 17986b7921b9440e72bfb68d3febeb0cda12b7bd

The API Definitions commit is the same as in https://github.com/watson-developer-cloud/swift-sdk/pull/906, but the Swagger Codegen commit is later. Specifically, I needed to include this change to the generator that causes breaking changes to the API.

Ready for review @mkistler. It looks like a lot, but the majority of the changes are in the API docs (explained in the description above).

Actually, not yet @mkistler. This commit broke a lot of VR integration tests. That commit was from regenerating with the change that Phil made in the generator to make properties optional that were nonoptional. This is causing deserialization errors.

Ok, NOW it this is ready for review @mkistler. I added a few things that are outside the scope of what this PR was originally intended for, but it's stuff that had to be done.


Enable gzip compression

What problem are you facing?

From @thephred:

Currently requests going to the proxy subdomain which is handled by the crossplane-router component are not being gripped. Gzipping GraphQL requests has a significant impact on their size.

I actually naively thought the Go HTTP server had compression enabled by default, but it turns out that's not the case.
How could Upbound help solve your problem?

We could enable gzip! Looks like there's a middleware for chi, the HTTP framework that we use.
https://github.com/go-chi/chi/blob/master/middleware/compress.go

/points 2


Update README.md

Added Codecov badge

Codecov Report

Merging #3 (a01a672) into master (13fd7aa) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@           Coverage Diff           @@
##           master       #3   +/-   ##
=======================================
  Coverage   97.27%   97.27%
=======================================
  Files           7        7
  Lines         220      220
=======================================
  Hits          214      214
  Misses          6        6

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Enhances flow run list, Closes #3709

Closes #3709

Awesome work @nicodecleyre! We'll review it shortly.

Merged manually. Great enhancement! Thanks!


The community index image missed some etcd operator versions

As you can see from the below, only the v0.6.1/v0.9.4 versions are in this registry.redhat.io/redhat/community-operator-index:v4.9 index image. But, in fact, there is the v0.9.2 version in the https://github.com/redhat-openshift-ecosystem/community-operators-prod/tree/main/operators/etcd source code. I'd suggest that we add them into this community index image so that align with the source code, thanks!
[cloud-user@preserve-olm-env jian]$ oc port-forward community-operators-89rpn 50051
Forwarding from <IP_ADDRESS>:50051 -> 50051
Forwarding from [::1]:50051 -> 50051
Handling connection for 50051
...
[cloud-user@preserve-olm-env jian]$ grpcurl -plaintext -d '{"name":"etcd"}' localhost:50051 api.Registry/GetPackage
{
  "name": "etcd",
  "channels": [
    {
      "name": "alpha",
      "csvName": "etcdoperator.v0.6.1"
    },
    {
      "name": "clusterwide-alpha",
      "csvName": "etcdoperator.v0.9.4-clusterwide"
    },
    {
      "name": "singlenamespace-alpha",
      "csvName": "etcdoperator.v0.9.4"
    }
  ],
  "defaultChannelName": "singlenamespace-alpha"
}

Hi @jianzhangbjz,
Could you please check it now? The 4.9 indexes was generated successfully.
Please, let us know if you find any issue.

Could we close this one?

Hi @jianzhangbjz,
By looking at the audit reports I can see that the following bundles are published on 4.9.
Seems like that the command used in https://github.com/redhat-openshift-ecosystem/community-operators-prod/issues/306#issuecomment-952560347 is only returning the head of channels.

Hi @jianzhangbjz,
Could you please try to use the endpoint ListBundles? It shows that the GetPackage returns PackageManifest object which only presents the head of the channel. It has been always the case and with ListBundles you can get all the bundles in an image.
Please, let me know if it will solve the problem and if we can close this one.

Hi @camilamacedo86 Yes, it works well and I can find all etcdoperator versions. Many thanks for your help! Sorry for my mistake, close it.
mac:~ jianzhang$ grpcurl -plaintext localhost:50051  api.Registry/ListBundles |grep etcdoperator -A 3
  "csvName": "etcdoperator.v0.6.1",
  "packageName": "etcd",
  "channelName": "alpha",
  "bundlePath": "quay.io/openshift-community-operators/etcd@sha256:7f689b4d96172a6ee2a7b86d9ca554239e4d51b75e6235fa5a0f359a108877fb",
--
  "csvName": "etcdoperator.v0.9.0",
  "packageName": "etcd",
  "channelName": "clusterwide-alpha",
  "bundlePath": "quay.io/openshift-community-operators/etcd@sha256:a6f69bf73af305f0beabf23b10dbc76efce897468fe21308c0527bc095fd4c66",
--
  "csvName": "etcdoperator.v0.9.0",
  "packageName": "etcd",
  "channelName": "singlenamespace-alpha",
  "bundlePath": "quay.io/openshift-community-operators/etcd@sha256:a6f69bf73af305f0beabf23b10dbc76efce897468fe21308c0527bc095fd4c66",
--
  "csvName": "etcdoperator.v0.9.2",
  "packageName": "etcd",
  "channelName": "singlenamespace-alpha",
  "bundlePath": "quay.io/openshift-community-operators/etcd@sha256:d976e5a01b20e39c4227bca469cf6c6744e61d1140ac1d4db994154f4b451a81",
--
  "replaces": "etcdoperator.v0.9.0"
}
{
  "csvName": "etcdoperator.v0.9.2-clusterwide",
  "packageName": "etcd",
  "channelName": "clusterwide-alpha",
  "bundlePath": "quay.io/openshift-community-operators/etcd@sha256:80c4690a6c9d2cf533ee5b505e675a572f5b0f96de48e82893a3fe6cce5219be",
--
  "replaces": "etcdoperator.v0.9.0"
}
{
  "csvName": "etcdoperator.v0.9.4",
  "packageName": "etcd",
  "channelName": "singlenamespace-alpha",
  "bundlePath": "quay.io/openshift-community-operators/etcd@sha256:94346b5ee6149d1411b2f37f815526db3b86e62a03879337f6194428d52c336e",
--
  "replaces": "etcdoperator.v0.9.2"
}
{
  "csvName": "etcdoperator.v0.9.4-clusterwide",
  "packageName": "etcd",
  "channelName": "clusterwide-alpha",
  "bundlePath": "quay.io/openshift-community-operators/etcd@sha256:3bc855e2b0eb9950854f6e36f4d697eb424a9dbe6e331ff3cf7924a0d8e3ecab",
--
  "replaces": "etcdoperator.v0.9.2-clusterwide"
}
{
  "csvName": "flux.v0.13.4",


Installation with Fermitools

Discussed in https://github.com/threeML/threeML/discussions/576

Originally posted by PepeJoseHU September 11, 2022
Hello, I plan to install 3ML for Fermi data with CONDA, but looks 3ML have dependence with fermitools. But when I install 'fermitools', it also make an environment with CONDA, so how to fix this problem or if there have way to make connection between different CONDA environments?
Thanks!

@PepeJoseHU
Please install fermitools (version 2.2.0 or newer) via conda or mamba as described here:
https://fermipy.readthedocs.io/en/latest/install.html
Then use pip to install fermipy into the same environment (as shown there as well). Then use pip install threML to install threeML into the same environment as well.

Thanks henrikef,
I try to install fermitools with 'conda install fermitools/ conda install -c conda-forge fermitools'
But it have an error said : 'PackagesNotFoundError: The following packages are not available from current channels:"
Do you know how to fix that? I used ubuntu 16.04 and this environment is python3.7.
BTW, if fermipy can be used with python 3.7?
Thank you very much!

your conda channel has not added Fermi channel, because fermitools are stored in fermi channel.

Thanks Jisans,
Yes, even I add the channel, but it still not working.
So finally, I make a new environment to install, looks working now. still test. Thanks

@PepeJoseHU Very good. I want to know if you install threeML, fermitools and fermipy in the same environment, and whether the kernel will be killed when you from threeML import *.this situation puzzled me for a long time.

@PepeJoseHU Now I have successfully installed threeml, fermitools, fermipy in the same environment,and threeml works well.

@Jisans Hello, glad to hear that, it is also my first time to use it. So, how to check if the kernel kill that?
I tried with from 3ml import and looks  just have several warnings, not sure if that is that means killed.
Yes, 3ml fermitool fermipy together in one environment.

@PepeJoseHU This is normal,If you don't want to have these warnings, you can set them in .bashrc if your shell is bash,
export OMP_NUM_THREADS=1
export MKL_NUM_THREADS=1
export NUMEXPR_NUM_THREADS=1

@Jisans Thanks, Yes, I used ubuntu 16.04. But those export not work for me, still have those warnings appear.
Not sure if that is the problem of a old ubuntu.

@PepeJoseHU Some warnings may pop up because some of your modules are not installed.These modules need to be installed additionally, such as ROOT, PyGMO, cthreeML, etc

@Jisans OMG, Do you know if these modules not installed,  is the 3ml will still works properly? Otherwise, I think I need to install them also. Thanks!

@PepeJoseHU It does not affect the 3ml work. These additional 3ml libraries are used in specific 3ml tutorials, such as PAGMO minimizer. At the same time, the 3ml development team members have also attached links to open source projects.

@Jisans Thanks a lot! I got it. Then I will only install them when it is needed. Thank you very much!^_^

@PepeJoseHU You are welcome！！！

@PepeJoseHU It looks like you were able to install everything together now. I'm going to close this issue. Please re-open if you still have installation issues, and open a new one for any new error.

Ok, Thanks!


Remove unused imports

I noticed a number of unused imports when looking at the code. This PR removes all unused imports in Python files.

Thanks!

Cherry-picked for 3.1.1.


Revert mvn package

Coverage remained the same at 44.705% when pulling 806ada6c1c0547eaef07a323dbb4d9696598919a on yiming187:package_revert into 88626dc495af58f8380a80061ff50f7632767890 on ctripcorp:master.


sergen does not pick field for IIdField IIdRow.IdField

Hi
I'm a big fan of Serenity and Appreciate work done around serenity, big salute to you Volkan
Requesting to help for silly issue
Tried latest build of Serenity with VS 2017 community edition, found that IIdField IIdRow.IdField does not picks the ID field automatically, My row id (identity) field is named PKEY
Even after making the following changes in the XXXXRow.cs
IIdField IIdRow.IdField
{
get { return Fields.PKey; }
}
I do not get records in Grid (List), Console is saying
Uncaught Each data element must implement a unique 'ID' property. Object at index '0' has no identity value: {"Pkey":1,"Name":"                                   ","IsActive":1,"InsertUserId":1,"InsertDate":"2016-03-20T15:17:45.633"}
But i do have identity attribute
[DisplayName("Pkey"), Column("pkey"), NotNull, Identity]
public Int64? Pkey
{
get { return Fields.Pkey[this]; }
set { Fields.Pkey[this] = value; }
}
Please suggest what is being overlooked here by me.
Thanks in advance

Generated files for new Table, from MSSQL, using sergen
Able to get the records in list, for this new Table, no issues
compared the cs file of row class and row.ts with one which does not gets data in list view, no difference.
Still surprised as to what is missing.

Pkey rename it to ID and it will work. This happens if the field Pkey is not the primary key or create a grid-based representation.

Transform templates

Thank you Volkan, but it never solved my issue, Build and then Transform templates are basic steps.
Did all possible ways to find missing links then i gave up and  deleted all files related to that table, regenerated them using sergen, now things are fine.

In your xxxxGrid.ts add
protected getIdProperty() { return yourEntityRow.idProperty; }