Notify web UI when starting up and shutting down

Yep, tested as well, seems to be working fine. The only thing I'm running into is that sometimes the page loaded from the local vite dev server doesn't load in the browser (it shows a blank loading page and is completely frozen, without working option to cancel anything or even open the dev console). Maybe that's because the npm run start-based vite test server proxies all the notifications stuff to the backend API and runs into some trouble when it can't reach the backend or something.


Set skeleton path on outline mesh.

When creating an outline mesh, we copy the bone data from the original
but don't set the skeleton_path. Since the outline is added as a child
of the original MeshInstance, the skeleton_path defaults to ".." and the
outline is not bound to the skeleton in the same way the parent is.
With this patch, the skeleton path is set appropriately, so you can use
an outline mesh on a rigged model.
Another option would be to create the outline mesh as a sibling of the
original rather than a child.

Before

After

Any blockers to merging this one? Should be a small, useful change, I hope :bow:


axisY title getting cut off on left edge

I'm having an issue, which is also evident in the example on the Chartist plugins page, where the left edge of the y-axis title is cut off.
How do I go about fixing this?

Forgot to attach my code...
    chart = new Chartist.Line('.ct-chart', data, {
        lineSmooth: Chartist.Interpolation.simple(),
        low: 0,
        fullWidth: true,
        chartPadding: {
            right: 30,
            left: 30,
            bottom: 30
        },
        plugins: [
            Chartist.plugins.ctAxisTitle({
                axisX: {
                    axisTitle: 'Date/Time',
                    axisClass: 'ct-axis-title',
                    offset: {
                        x: 0,
                        y: 50
                    },
                    textAnchor: 'middle'
                },
                axisY: {
                    axisTitle: 'Seconds',
                    axisClass: 'ct-axis-title',
                    offset: {
                      x: 0,
                      y: 0
                    },
                    textAnchor: 'middle'
                }
            })
        ]
    });

Also, I have tried varying amounts of left padding, but it never seems to help.

Hi, thanks for reporting this. If you change axisY.offset.y to be -5, it will then show the whole of the title. When I get a chance I will remove the need for this as it should be displaying properly by default.
The reason you change the y value is because the titles axis gets rotated by 90 degrees, therefore swapping over the axes compared to how you would normally position using x and y. I will either make this clear in the docs or look at another approach.

Sweet.  That fixed it.  Thanks for the quick reply and putting this plugin out there.  You saved me a ton of time trying to draw it manually myself.

You're welcome, thanks for using it! :]


[BUG] Incorrect versioning of JDBC Jar

What is the bug?
The JDBC jar is always at version <IP_ADDRESS> (at least in the filename). I just checked here and the Jar file still has <IP_ADDRESS> in the filename.
How can one reproduce the bug?
Check the filename of the JDBC jar file. It will have <IP_ADDRESS> in the name rather than the actual version.
What is the expected behavior?
Jar artifacts contain the proper version in the filename.
What is your host/environment?
N/A
Do you have any screenshots?
N/A
Do you have any additional context?
No

@normanj-bitquill what version did you expect?
OpenSearch project tries to follow semantic versioning. JDBC driver is fairly straight-forward and did not need to break backwards compatibility yet. It should be compatible with any version of OpenSearch available.

I expect that the JDBC Driver follows standard versioning.

The version increases with time
Each version maps to one and only one commit in your repo

Every single build of the JDBC jar file that OpenSearch is producing has the version <IP_ADDRESS>. If I download the jar today, it claims to be version <IP_ADDRESS>. If it come back in a few months and download the latest, it will still claim to be <IP_ADDRESS>.
There should be public releases of the OpenSearch JDBC jar. You should never have two releases with the same release number.
I can't think of how to make this clear. Just start versioning the OpenSearch JDBC Driver. Look at the OpenSearch project. It has releases 1.2, 2.0, 2.1, etc. Each one of those releases maps back to a tag in the repo.
This is what OpenSearch JDBC is doing:
Create version <IP_ADDRESS>
Add a feature
Publish version <IP_ADDRESS>
Fix a bug
Publish version <IP_ADDRESS>
This is what almost every other software project does (including OpenSearch):
Create a version 1.1
Add a feature
Publish version 1.2
Fix a bug
Publish version 1.2.1

@normanj-bitquill you are correct, but so far there has been no new features to the JDBC driver since <IP_ADDRESS>.
There are a couple of JDBC bug fixes, and once they go in, we can publish a new version of the JDBC drivers (probably: 2.0)

we only released <IP_ADDRESS> once, and JDBC didn't have any new releases since <IP_ADDRESS>
If we are publishing a new release, it should be <IP_ADDRESS> unless there is a breaking change

I see. I didn't realize that there had been no changes in a while. I'll close this issue.


applicative lifting for Option, Try, Future...

javaslang has one implementation of an applicative: Validation.
But for instance if I have two Option and want to combine them, or two Try, or two Future... today we have sequence. And it's really quite good already!
I do wonder, would it be good to add also Option.lift, Try.lift, Future.lift and so on. These would be:
Function<Option<T>,Option<U>,Option<V>> Option.lift(Function<T,U,V>)
Function2<Option<T>,Option<U>,Option<V>,Option<W>> Option.lift(Function2<T,U,V,W>)
...
up to Function7, and same for Try, Future and probably others.

Then you can do for instance:
Future.lift(Clazz::handleResults).apply(future1, future2)

compared to today
Future.sequence(List.of(future1,future2)).map(l -> handleResults(l.head(), l.get(1))

it's a little untractable however typing the types for local variables, until we'll get var.
Anyway, wrote all in pseudo-code, because I'm thinking about this, didn't try any code. I saw there is something about Applicative in javaslang-pure, but it doesn't seem finished.
Anyway, any opinion about that lift idea? Except if there already something else today besides sequence that I missed? Also, that's a little of "bloat" I guess, another like 7 functions per type we want to cover, of which I listed at least three for now...
Also I didn't actually have a need for that yet, was just thinking about applicatives in general the other day :-)
EDIT a technical issue is that we would like to generate all the overloads but none of the files I listed are generated for now :-(

Hi Emmanuel,
thank you for sharing your thoughts! In fact the javaslang-pure module is exactly the place where functionality like lifting functions to operate on an algebraic layer should be located.
It is meant to be a purely functional add-on to the javaslang-core.
But yes, it is unfinished. Towards Javaslang 2.0.0 I factored-out functionality from the core to the pure module but it is still in an experimental state.
We should take this opportunity and add the functionality you suggested. We did the lifting already for Monads. Applicative needs to be extended in a similar way.
A first step would be to move Application into Generator.scala and add the lift functions. We should keep the operations minimal - Monad currently only has map and flatMap, Applicativ has map. Looking at Haskell is always a good source of useful information.

I'll look at javaslang-pure, not sure how it would fit or how much work there is there. It seems then that it won't be static functions as I had in mind then.
Also, I realized sequence actually wouldn't help for this use-case (because all of the items in the list must have the same type). am I missing something, or do you agree a use-case is currently not covered by javaslang currently here? Example...
I have a Future<UserInfo>, Future<List<UserRight>>, Future<AppConfig>.
And now I want to fetch all of them in parrallel and call a function which takes UserInfo, List<UserRight>, and AppConfig, and returns a User -- and get back a Future<User>.
Not sure how to achieve this today in javaslang, that would cover that use-case (and similar ones with Try, Option and so on). There is for instance Future.reduce, but again.. Same type for all the items.

I will think also about it - today I'm offline for the rest of the day... will comment tomorrow.

yeah definitely no rush!! just thinking out loud mostly :P

ok I've been looking at javaslang-pure's Monad class. I've also looked more in Future and first I must say that in my previous comments on this bug I was confused about two things: 1/ I didn't realize that future is launched async the moment it's instantiated (therefore my concerns about running futures in parallel were unwarranted), and 2/ applicative does not necessarily mean that the branches are run in parallel.
So anyway the API I had in mind was:
Option.lift((Integer a, Integer b) -> a+b).apply(Option.of(1), Option.of(2))

=> Some(3)
What Monad from javaslang-pure allows this is:
 Monad.lift((Integer a, Integer b) -> a+b).apply(Monad.of(Option.of(1)), Monad.of(Option.of(2)).narrow()

=> Some(3)
(assuming we add a Monad.of taking an option, but I did that locally, it's no problem.. actually pure copy-paste of the List version, since it relies on the underlying map & flatMap of the underlying type)
So actually the Monad API covers the need I highlighted... Same functionality. I was mentioning applicative because in this case an applicative is enough. But of course you can also do that with a monad. So that's the API I was looking for!
It is quite verbose though. We have an interface Monad, which contains map & flatMap. It's pretty elegant that the first type parameter of monad is the type of the monadic instance. But in the end it seems to me that this type doesn't buy us much?
We must "lift" the values in the Monad with Monad.of, and later narrow them. At the same time, in Monad we have map & flatMap, but we already had that on the type we wrap?
It could be useful to add the Monad type if we could compose Monads with one another, if a function was taking a Monad instance as input parameter, but unless I'm missing something that's not the case now, and I can't think of any such function.
So in the end I'm not sure what the class Monad brings? Right now appart from theoretical cleanliness it seems to me what I had in mind gives us the same features but in a less verbose way, but most probably I'm missing something?

by the way, you mentioned earlier haskell is a good inspiration. The haskell function I have in mind liftA2 (and liftA and liftA3).
> :t liftA2
liftA2 :: Applicative f => (a -> b -> c) -> f a -> f b -> f c

This signature is as I mentioned: Function<T,U,V> => Function<Option,Option,Option> (and same with Future, Try, ...).
And:
> liftA2 (+) (Just 5) (Just 6)
Just 11

for reference, liftM2:
> :t liftM2
liftM2 :: Monad m => (a -> b -> c) -> m a -> m b -> m c

@emmanueltouzery I've thought about it the last days and also think that we do not need the notion of Monad (as type). Maybe it can be removed in the next version.
I'm still not sure where to place the lift methods. We could use Monad as a helper class:
final class Monad {

    static <T1, T2, R> Function2<Option<T1>, Option<T2>, Option<R>> liftOption(BiFunction<? super T1, ? super T2, ? extends R> f) {
        return (o1, o2) -> o1.flatMap(t1 -> o2.map(t2 -> f.apply(t1, t2)));
    }

    // ... liftTry, liftFuture, ...

}

But the lift methods would also fit very well directly in Option, Try, Future, etc. Maybe we should offer these methods for all single-valued types in the core module javaslang (and not in javaslang-pure).

Good points! For me, I think this mechanism is useful enough to fit in the actual javaslang module, but it's your call obviously.
But if we put them there, there is the issue that we want to use code generation (we'll want the overloads probably up to Function7), and the classes for Option, Try and so on are not code generated.
Putting them there would be more elegant in a way Option.lift vs Monad.liftOption, but we probably don't want to sprinkle each class with code generated sections... So for that technical reason we could mix them all in a single class, like Monad. Now, how we name that class (Monad or something else), and whether we put it in the pure module or not... It's probably a decision for you to make.
In a way it could be irrelevant with the 2.1 approach of importing everything in a single namespace. We could put these functions directly in API... (but in that case I'm unsure whether we would capitalize them or not).
One more thing... I was looking again at the API of the Validation class, which also runs on applicative:
Validation<List<String>,String> result = valid1.combine(valid2).ap((name,age) -> "Name: "+name+" Age: "+age);

It is clearly again solving the same problem, but it's the same thing as with the Monad class in pure, that you must wrap each Option (for instance), while with the API I had in mind, that would not be necessary. Just mentioning another data point, food for thought.

I'm not sure if API (aka the '2.1 approach') is the right place, there are already efforts to remove some methods (#1662, #1651). But we will find an appropriate place - this goes in the right direction.

ok, about the class name... in haskell liftA2 is under Control.Applicative. Now I see in scalaz it's also under applicative (search for lift, lift2, ...). Well actually Applicative extends Functor and Apply among others, and lift is in Functor, and from lift2 they're in Apply. So I guess the name could be Applicative or Apply, based on that.
In scala cats, though my scala is a bit weak to really understand the type definition, it seems the function is called mapX under Apply:

Control.Applicative defines a function that’s called liftA2, which has a type of
liftA2 :: (Applicative f) => (a -> b -> c) -> f a -> f b -> f c .

Remember parameters are flipped around in Scala. What we have is a function that takes F[B] and > F[A], then a function (A, B) => C. This is called map2 on Apply.

see cats Apply
So I guess Applicative or Apply are options. Otherwise we could say we implement liftM2 not liftA2 (which is the same in most cases) but a google for scalaz liftM2 or cats liftM2 doesn't yield anything special. It's true that really you rarely need liftM2, liftA2 is mostly the same in non-degenerate cases I would say.
PS: this lift in theory could be implemented for all applicatives, including List for instance =>
> liftA2 (+) [1,2] [3,4]
[4,5,5,6]

I didn't mention those so far, as List.lift() would have been "strange", but if we do a separate class maybe we can include them, though the list monad/applicative starts getting a little in the "advanced"/unintuitive territory in a way.

depends on #1716

See also Groovy Monads (/Applicatives)


Adding code to upgrade to PKGBASE.

Summary by Sourcery
This pull request adds support for upgrading to PKGBASE by introducing several new functions for package management and system configuration. It also includes a refactoring to centralize subprocess command execution and updates the project version.

New Features:

Introduced functions to support upgrading to PKGBASE, including checking for OS generic packages, setting package base config files, removing OS generic packages, installing GhostBSD base packages, and restoring vital files.

Enhancements:

Refactored subprocess command execution into a reusable function run_command with error checking.

Chores:

Updated the version number in setup.py from 4.8 to 5.1.

@sourcery-ai review

Thanks for implementing the changes. I found no discrepancies in these changes. The code looks great.


repl: make the sources more portable to cl

This allows us to build with cl as well as as clang.  Furthermore, it
allows building on Windows.  A follow up change would actually load the
swiftCore DLL.

CC: @dcci

@swift-ci please test

@swift-ci please test and merge

@swift-ci please test


Debugging doesn't work with vyper

Bug Report
Summary
Debugger doesn't work with vyper contracts
Current behavior
The embark console debug doesn't show the code nor the local variables when attempting to step into it.
How to reproduce
Using the following contract:
storedData: public(uint256)

@public
def set(x: uint256):
    y: uint256 = x + 10
    z: uint256 = y * 2
    self.storedData = z

@public
@constant
def get() -> uint256:
    return self.storedData

Run and compile a contract with vyper.
Send a transaction that alters state ( the set method )
Find the transaction in the cockpit
run 'debug [tx]' in the embark console
no code or local variables show up

Expected behavior
I expect there to be some code listing and the ability to inspect the local variables with 'vl'
If you encounter an error, please create a logfile using the following command and post the output here
$ embark run

Do I have to use vyper-debug somehow with this?
Please provide additional information about your system
OS: MacOs 10.13.6
Embark Version: 4.0.2
Node Version: 9.5.0
NPM Version: 6.5.0
Sometimes issues are related to Embark's installation. Can you provide information on how Embark was installed?
npm -g install embark

@iamwilhelm the debugger does not currently work with vyper, sorry about that. You can use vyper-debug in the meanwhile however.


feat request: collection view indicates annotated images

some simple visual that shows what images are annotated/need annotation would be a nice-to-have

might need API updates so endpoint returns the fact of annotations made; may increase server load but not an issue anyway


Black formatter setup

Configuration for Black + formatting of the whole project using that configuration.

This closes issue #144


Merging - test, don't merge

test - don't merge

Adding cla: yes label, as the PR author is a googler at the time of this PR was created.


Buildscripts are hard. Fixed faulty gradle code.

Coverage remained the same at 0.391% when pulling 28d3292d90903cec7c3fb383e7b5d2e8e4e5d0c6 on pr-fixreleasebuildscript into 7ba9d871d04c2df90d9c19a6b13f8aa70fe4748e on dev.


The source file has a password... What happens to the code?

The source file has a password... What happens to the code?

Sorry, I wouldn't publish the source code for this pet-project. At least for now ;)


Travis can't publish online package docs

For some reason I can't get Documenter to persuade Travis to publish the package's documentation. I've raised this as JuliaDocs/Documenter.jl#237. @MichaelHatherly I'd appreciate any suggestions you have if you can see what stupid thing I've done wrong...

Fixed.


Fix build issues with 0.4.0

Fixes #565
Waiting to merge until we can get the false positives resolved

@maxkorp I think the false positives in CI should be a different PR. We should get this merged in ASAP IMO.

Seg faults in iojs on linux :(

I'd like to get it working on iojs in linux before merging, but I'm cool waiting on the false positives thing. I can take a crack at it in a few.

I'm unable to repo the seg fault on linux. @tbranyen could you give this a try?

So apparently its an issue with iojs 2+. Any ideas/thoughts?

Only in linux, OSX looks to be good. Have you tried windows?

Removed the bumping nan and supporting io.js from this PR.


[Manage User Profile] The initial letters of the user's name and surname in cyrillic aren't displayed in the user icon when the user hasn't added a profile photo

Environment: Mi 8 Lite Android 10.
Reproducible: always.
Build found: Build Android and iOS #231: Commit 85fb6ee
Preconditions
A user is registered in Cyrillic.
A user is logged into the application.
Steps to reproduce

Tap "My Profile" tab on the footer
Pay attention to the user icon on a Profile page
Actual result
There is no initial letters in the user's icon. User icon is empty.

Expected result
The initial letters of the user's name and surname should be displayed in the user icon when the user hasn't added a profile photo.

User story and test case links
E.g.: "User story #18
Labels to be added
"Bug" ("bug"), Priority ("pri: ")

this user had a filled image ID field in the database


[Bug][RoutineLoad] Fix bug that routine load thread on BE may be blocked

Proposed changes

Hold the load while shutting down the msg queue
Double the timeout of routine load task to avoid task abort.

This bug will cause the routine load job throw TOO MANY TASK error, and routine
load job is blocked.
Types of changes
What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)
[ ] Code refactor (Modify the code structure, format the code, etc...)
[ ] Optimization. Including functional usability improvements and performance improvements.
[ ] Dependency. Such as changes related to third-party components.
[ ] Other.

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have created an issue on (Fix #ISSUE) and described the bug/feature there in detail
[ ] Compiling and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If these changes need document changes, I have updated the document
[ ] Any dependent changes have been merged

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

Please fix ut


Design of fromRationalRepetend

Currently:
-- If the limit is not reached or no limit was specified @Right (s,
-- mbRepetendIx)@ will be returned.
<...>
fromRationalRepetend
    :: Maybe Int -- ^ Optional limit
    -> Rational
    -> Either (Scientific, Rational) (Scientific, Maybe Int)

This forces the caller to handle a Right result even the caller knows that will never happen because they used Nothing to specify no limit.
What about breaking it into two functions?
fromRationalFoo -- Not sure about the names
    :: Int -- ^ Limit
    -> Rational
    -> Either (Scientific, Rational) (Scientific, Maybe Int)

and
fromRationalBar :: Rational -> (Scientific, Maybe Int)

Awesome! Thanks again for your hard work:)


Editing: Merge sections on Peripherals?

Currently we discuss peripherals/memory mapped registers in two places:

https://github.com/rust-embedded/book/blob/master/src/start/registers.md
https://github.com/rust-embedded/book/tree/master/src/peripherals

I think there is a little bit of overlap here, but generally the second portion covers a little more theory on why we don't do it like C does, but I haven't written the part that explains what we actually do instead. Instead there is just a placeholder. I think portion 1 above is generally most of what I wanted to cover in this section.
CC @thejpster for thoughts

lol. What's happened here is I've totally misunderstood the brief of "semihosting and register access".

Let's move start/registers.md to src/peripherals. @japaric can you clarify what you'd like me to cover in the "start" section?

Sorry for taking so long to look at this. I agree that we should move start/registers.md to src/peripherals. I think it should go first so the peripherals chapter should cover: mmio (volatile op), structs (repr(C)) and then "the case for singletons", which is what src/peripherals currently has.
The getting started chapter is about "how do I" and "what can I do with this".  So start/peripherals.md should cover one of the cortex-m peripheral APIs, e.g. peripheral::SYST. Specifically it should cover: taking peripherals into the current scope (skipping explaining why is done like that), the low level API (read / write on individual registers: e.g. SYST.rvr.write) and the high level API (SYST.enable_counter, which is just some registers reads / writes).

@japaric, is https://github.com/rust-embedded/book/pull/76 heading in the right direction?

@japaric, is https://github.com/rust-embedded/book/pull/76 heading in the right direction?

This was done in #76.


How to compare two objects with expect() similar ad Truffle?

How to compare two objects with expect()  as the following sample as in Truffle?
···
await expect(call(gov, 'getReceipt', [proposalId, accounts[2]])).resolves.toPartEqual({hasVoted: false});
···

Need help on two more questions:

Freeze the block timestamp for testing.
Quick move block number to the specifed value.
Is there someone kown how to code these two special test requirement?

You can use mocha expect(await call(...)).to.deep.include({...});


DOC 2644 - adds Stream examples in Node.js

Description
DOC-2644

Streams tutorial: code examples in Node.js

Checklist

[ ] Does npm test pass with this change (including linting)?
[ ] Is the new or changed code fully tested?
[ ] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

my primary comment here (which makes it harder to test) is that the IDs generated dont correspond to what a user would see if running it themselves, which then breaks the rest of the example code.


Failures on [infra] Copy llvm-symbolizer to shards....Move and rewrite PrefixedNamespaceTest.

There are new test failures on [infra] Copy llvm-symbolizer to shards....Move and rewrite PrefixedNamespaceTest..
The tests
vm/dart/v8_snapshot_profile_writer_test RuntimeError (expected Pass)

are failing on configurations
vm-aot-mac-release-simarm64

It seems even after https://github.com/dart-lang/sdk/commit/9fc1f76e028c5aa5c5048c20a018ef5ed8681c85 landed, the vm-aot-mac-release-simarm64 is still failing with an error indicating the llvm-strip binary isn't there.
@rmacnak-google Any ideas why your changes to the infra would cause this issue in the first place and why the fix didn't fix it?

Some of the test checks if clangBuildToolsDir exists, so I think before my changes the test was just skipping more. I'm still puzzled why llvm-strip appears to be missing when it is included in the fileset.


support jwt authentication using cookies and support uri whitelist

jwt support authentication using cookies and uri whitelist

Please have a look at https://github.com/Mashape/kong/pull/2363 . There are some comments regarding tests and migrations. Can you update your code with those?
Can you please explain what the whitelist intention/use case is?

whitelist intention/use case is that, we have user micro service，if  enabled jwt certification，it can't login, because jwt can not be obtained until the user has logged in.

@Tieske how i can use proxy_client:send function send cookie?? can like this
it("finds the JWT if given in cookie", function()       PAYLOAD.iss = jwt_secret.key       local jwt = jwt_encoder.encode(PAYLOAD, jwt_secret.secret)       local authorization = "Bearer " .. jwt       local res = assert(proxy_client:send {         method  = "POST",         path    = "/request",         headers = {           ["Host"] = "jwt1.com",           ["Set-Cookie"] = "Authorization=" .. authorization .. "; path=/;",         }       })       assert.res_status(200, res)     end)

whitelist intention/use case is that, we have user micro service，if enabled jwt certification，it can't login, because jwt can not be obtained until the user has logged in.

Ok, I see what you are trying to do, but this logic does not belong in the plugin. The plugins only concern is to authenticate, that's it. (unfortunately some of the current plugins have some more logic in them that doesn't belong there, but while we're planning on refactoring that, we should not be adding more technical debt to it).
So I'm afraid that code has to go 😞 .

This has been implemented in #2973 which also supports configuring various names for cookies. Thank you for your contribution @icyxp.


Update Spell Lists in magic.gen.js for new syntax.

Add "1st Level" to levels in spell list.  convert spell list to moustache syntax.

What's all this user page 3d stuff? Is that needed for this PR?

Frack, no. Saved it to wrong branch. If you can remove it, great, or I can when I get back to computer after baby bed time.

I'll let you handle it. If I modify it myself I would be overwriting your
master branch and I don't want to risk deleting your other work.
On Thu, Jul 29, 2021 at 7:51 PM Gazook89 @.***> wrote:

Frack, no. Saved it to wrong branch. If you can remove it, great, or I can
when I get back to computer after baby bed time.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/naturalcrit/homebrewery/pull/1479#issuecomment-889531247,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABM3GBQ2LA42NLWKVGXTAP3T2HSR5ANCNFSM5BGV52HA
.

Okay, think it's all set.

These changes were already included in #1480


Initial value not set in dynamic forms (felte - Svelte)

Describe the bug
In the example on dynamic forms mentioned in the doc, the initial value of textarea name='bio' does not get set.
Note that data-felte-keep-on-remove is enabled and works as expected - the $data store shows that the bio field is kept even after hasBio is false.
Issue
When hasBio is toggled back to true, the textarea doesn't get populated with the value
Expected behavior
When hasBio is toggled back to true, the textarea must get populated with the value of $data.bio
Which package/s are you using?
felte (Svelte)
Environment

OS: macOS Ventura (13.1)
Browser: Version 108.0.5359.124 (Official Build) (arm64)
Version<EMAIL_ADDRESS><EMAIL_ADDRESS>
To reproduce

{JSON.stringify($data, null, 2)}

<form use:form>
  <fieldset data-felte-keep-on-remove>

      <input name="username">

      <input type="checkbox" name="hasBio" bind:checked={hasBio}>

    {#if hasBio}

        <textarea name="bio" />

    {/if}
  </fieldset>
</form>

Small reproduction example
https://svelte.dev/repl/0e866d6f96bd4e08a64422404ff9a20e
Screenshots
No response
Additional context
No response

You could resolve this with bind:value={$data.fieldname} but this introduces another problem: when you use field name with . such as profile.name it serializes into profile.name: "value" instead of profile: { name: "value" }


Unable to reach Provider. See Logs for details.

Good Day.
I am trying to set up Loadshedding integration in Home assistant but when I type in the area I just get "Unable to reach Provider. See Logs for details."
Please advise
Regards

I am getting the same error on my side also. I tried to check the search area functionality on nodered and its working.

Please "See Logs for details".  search logs for load_shessing and post here
Are you using more one API key?

My issue is now fixed. I had the same API key on the configuration.yaml code. After removing it on the Configration.yaml code and  the next API call I was able to add the integration to HA


Integrate DropzoneJS for file uploads #84

So I purpose something about multiple uploads via Dropzone lib.
When click on "upload file" button, a modal appears (the same as before) but now we can drop / select files to upload. Once selected they are automaticly uploaded, so I had to remove the possibility to change file name before upload :/ but I have an idea : what about adding a "edit" button (next to the preview or the trash) to change the name and/or the file itself ?
I need help to refacto the existing upload unit test, now that files are uploaded asynchronously by Dropzone and not via a basic form.
I hope to do well this pull request, let me know if something is wrong or missing !

@soywod Thanks for creating this. I'll pull it down and test it out shortly, and let you know if I see anything that should be tweaked.

@soywod Looks like there are a few conflicts with this branch. Could you remedy those and then I'll keep checking this out? Thanks!

It seems to be good, you confirm ? Conflict was on .js.map files, strange ... are they generated with gulp --production command ? Or only with gulp ?

Thanks! The assets are always compiled with 'gulp --production'. I'll pull this down shortly.

I fixed the new conflict (since laravel shift 5.3), but this one must be merged before, then I'll push my fix

Looks like there are just a few conflicts left with this one @soywod. Would you be able to take a look at them?

Closed in lieu of #180


Action status check in pr is not updated

Description
Action status check is not updated on the pull_request synchronize event.
# .gitea/workflows/build.yaml
name: Gitea Actions Demo
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
on:
  pull_request: yes
  push:
    branches:
      - main
jobs:
  Explore-Gitea-Actions:
    runs-on: ubuntu-20.04
    steps:
      - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
      - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
      - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
      - name: Check out repository code
        uses: actions/checkout@v3
      - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
      - run: echo "🖥 The workflow is now ready to test your code on the runner."
      - name: List files in the repository
        run: |
          ls ${{ github.workspace }}
      - run: echo "🍏 This job's status is ${{ job.status }}."

I create a PR #3 from dev to main, and the status check is enabled. When I push a commit 1703af8060 to dev, action is triggered. But the status check on the PR page is not updated.
commit page

action page

Gitea Version
df411819eb
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
build Gitea myself
run from command-line
Database
SQLite

Should be fixed by #23613, so I believe we will have it on v1.19.1

@wolfogre My build is newer than https://github.com/go-gitea/gitea/pull/23613

@Zettat123 Could you please take a look at it?

@Yiklek Could you please change
on:
  pull_request: yes
  push:
    branches:
      - main

to
on: pull_request

and test again?

@Yiklek Could you please change
on:
  pull_request: yes
  push:
    branches:
      - main

to
on: pull_request

and test again?

@Zettat123 It doesn't work on the pull_request synchronize event yet. The status check is only updated on PR opened.

Maybe the reason is that PR's branch is from the same repo.

Maybe the reason is that PR's branch is from the same repo.

I think not. In my test, pull_request_sync event can be triggerd by a PR from the same repo.

Maybe the reason is that PR's branch is from the same repo.

I can reproduce this in gitea.com and PR's repo is not  related
https://gitea.com/yp05327/testrepo/pulls/1
https://gitea.com/yp05327/testrepo/pulls/2


Maintenance: Upgrade to Hass.io 0.63.x

As an admin, I want to be using the lastest Hass.io version so that my configuration is up to date.
Acceptance criteria

It's done when Hass.io version is upgraded to 0.63.x.
It's done when all configuration is ported to support the latest version.
It's done when all custom components are ported to support the latest version.

Supporting info
https://home-assistant.io/blog/2018/02/10/release-63/

Upgrade successful.
GTFS custom component had to be modified based on updated source and yet unreported issue with offset handling.


ReplicaSet + Stateful set with securityContext: privileged breaks pod creation

Greetings.
I have the falcon-operator installed on a GKE 1.20 test cluster
`✗ kg nodes -o wide
NAME                                          STATUS   ROLES    AGE   VERSION             INTERNAL-IP     EXTERNAL-IP      OS-IMAGE                             KERNEL-VERSION   CONTAINER-RUNTIME
gke-cluster-2-20-default-pool-d4df75be-5c22   Ready       40h   v1.20.10-gke.1600   x.x.x.x   x.x.x.x     Container-Optimized OS from Google   5.4.120+         containerd://1.4.4
gke-cluster-2-20-default-pool-d4df75be-bb8g   Ready       40h   v1.20.10-gke.1600   x.x.x.x   x.x.x.x   Container-Optimized OS from Google   5.4.120+         containerd://1.4.4
gke-cluster-2-20-default-pool-d4df75be-l0sr   Ready       40h   v1.20.10-gke.1600   x.x.x.x   x.x.x.x   Container-Optimized OS from Google   5.4.120+         containerd://1.4.4`
It seems that when a deployment is 1 of Statefulset or Replicaset with
securityContext:
privileged: true
replicaset error
the following error is thrown and does not allow pods to be created:
  Warning  FailedCreate  10s (x19 over 14m)  replicaset-controller  Error creating: Internal error occurred: add operation does not apply: doc is missing path: "/metadata/annotations/container.apparmor.security.beta.kubernetes.io~1crowdstrike-falcon-container": missing value
statefulset error
  Warning  FailedCreate  7m23s (x18 over 18m)  statefulset-controller  create Pod redis-0 in StatefulSet redis failed error: Internal error occurred: add operation does not apply: doc is missing path: "/metadata/annotations/container.apparmor.security.beta.kubernetes.io~1crowdstrike-falcon-container": missing value
This does not happen for kind: Deployment with the same securitycontext set.
It looks suspiciously similar to: https://github.com/kubernetes/kubernetes/issues/69953 though i may be way off.

Thanks for opening this. This might be due to the fact that a PSP needs to be created to deploy correctly when privileged which isn't something that the operator does today.

Closing this as PSP is no longer supported and there is now official support for GCOS using a DaemonSet method which is now preferred over crowdstrike-falcon-container


Set time of day for Time Dynamic Sandcastle example

Since we fixed the lighting so models aren't exceedingly bright, I noticed the truck in the time dynamic Sandcastle example is now pretty dark:
https://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Time Dynamic Wheels.html

This is just because of the time of day. So this PR just sets it to a time when the sun is up so you can better see the spinning wheels which this Sandcastle demonstrates:

Thanks for the pull request @OmarShehata!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

@IanLilleyT bump


install issue macOS

Hi I try to install SOIL2 on macOs
unfortunately when I try to make it I got:
../../src/test/test_SOIL2.cpp:12:11: fatal error: 'SDL.h' file not found
#include <SDL.h>
I have install SDL via home-brew

You should install it as a framework or change the include to
#include <SDL/SDL.h>
since homebrew install it in a subfolder.

You should install it as a framework or change the include to
#include <SDL/SDL.h>
since homebrew install it in a subfolder.

what do you mean whit "install as a framework"?
I try also to install SDL from https://www.libsdl.org via GitHub mirror https://github.com/SDL-mirror/SDL but the header is in /usr/local/include SDL2
so the solution is to change all the #include in SOILD2  to #include <SDL/SDL.h>?
I will do it but for the future is not more easy to change it directly in your repository since the installation of SDL see to be always in a subfolder?

what do you mean whit "install as a framework"?
I try also to install SDL from https://www.libsdl.org via GitHub mirror https://github.com/SDL-mirror/SDL but the header is in /usr/local/include SDL2
so the solution is to change all the #include in SOILD2  to #include <SDL/SDL.h>?
I will do it but for the future is not more easy to change it directly in your repository since the installation of SDL see to be always in a subfolder?

The official SDL2 library distribution is provided as a macOS framework, and the paths are different than the homebrew version. The framework can be downloaded from the official site: https://libsdl.org/release/SDL2-2.0.14.dmg. After installing the framework, to generate the project run:
premake5 --use-frameworks [projecttype, ex: gmake]
Otherwise, you can change the includes, yes. But, since I can't detect the SDL2 library path from your installation, and by default tries to use the "official" SDL2 path, it won't work with the homebrew paths. Anyway, this is only to run the demo, SOIL2 does not depend on SDL2. I could improve this by checking if the build runs from a framework or a custom installation, I'll do that for sure in the near future.

The official SDL2 library distribution is provided as a macOS framework, and the paths are different than the homebrew version. The framework can be downloaded from the official site: https://libsdl.org/release/SDL2-2.0.14.dmg. After installing the framework, to generate the project run:
premake5 --use-frameworks [projecttype, ex: gmake]
Otherwise, you can change the includes, yes. But, since I can't detect the SDL2 library path from your installation, and by default tries to use the "official" SDL2 path, it won't work with the homebrew paths. Anyway, this is only to run the demo, SOIL2 does not depend on SDL2. I could improve this by checking if the build runs from a framework or a custom installation, I'll do that for sure in the near future.

Mmh: it actually already does that: https://github.com/SpartanJ/SOIL2/blob/8cf904d99680fdd768b2a999f8c1bfe09be5a796/src/test/test_SOIL2.cpp#L11
How you built the project?

Mmh: it actually already does that: https://github.com/SpartanJ/SOIL2/blob/8cf904d99680fdd768b2a999f8c1bfe09be5a796/src/test/test_SOIL2.cpp#L11
How you built the project?

hi
now I have the SDL lib installed from https://github.com/SDL-mirror/SDL
and I have the SDL file in /usr/local/include/SDL2
for SOIL I have done:
premake4 gmake premake4.lua
cd make/macosx
make config=release
and I get
==== Building soil2-static-lib (release) ====
==== Building soil2-shared-lib (release) ====
==== Building soil2-test (release) ====
test_SOIL2.cpp
../../src/test/test_SOIL2.cpp:12:11: fatal error: 'SDL.h' file not found
#include <SDL.h>
^~~~~~~
1 error generated.
make[1]: *** [../../obj/macosx/release/soil2-test/test_SOIL2.o] Error 1
make: *** [soil2-test] Error 2

hi
now I have the SDL lib installed from https://github.com/SDL-mirror/SDL
and I have the SDL file in /usr/local/include/SDL2
for SOIL I have done:
premake4 gmake premake4.lua
cd make/macosx
make config=release
and I get
==== Building soil2-static-lib (release) ====
==== Building soil2-shared-lib (release) ====
==== Building soil2-test (release) ====
test_SOIL2.cpp
../../src/test/test_SOIL2.cpp:12:11: fatal error: 'SDL.h' file not found
#include <SDL.h>
^~~~~~~
1 error generated.
make[1]: *** [../../obj/macosx/release/soil2-test/test_SOIL2.o] Error 1
make: *** [soil2-test] Error 2

but since SDL is only need to run the demo
it is not possible to split the process in two parts? the installation of SOIL2 and the demo?
So that you don't have compile the demo and thus I can avoid to install SDL?

but since SDL is only need to run the demo
it is not possible to split the process in two parts? the installation of SOIL2 and the demo?
So that you don't have compile the demo and thus I can avoid to install SDL?

Use:
make config=release soil2-static-lib or make config=release soil2-shared-lib
To build the test you'll have to change:
#include <SDL.h>
to
#include <SDL2/SDL.h>

Use:
make config=release soil2-static-lib or make config=release soil2-shared-lib
To build the test you'll have to change:
#include <SDL.h>
to
#include <SDL2/SDL.h>

I should delete the premake4 version, it's not updated, that's what it's failing.

I should delete the premake4 version, it's not updated, that's what it's failing.

ok thanks..
my be it would be nice have a make install that copy the lib in /usr/local/lib and copy all the .h in a SOIL2 folder in /usr/local/include

ok thanks..
my be it would be nice have a make install that copy the lib in /usr/local/lib and copy all the .h in a SOIL2 folder in /usr/local/include

premake4 gmake project should work fine with your configuration with the latests changes.

premake4 gmake project should work fine with your configuration with the latests changes.

it works!!
Thanks!!!

it works!!
Thanks!!!

it works!!
Thanks!!!

it works!!
Thanks!!!

Hello, Mr.SpartanJ.
I have SDL2 and SOIL2 in /usr/local/include.
Then I have done:
premake5 gmake premake5.lua
cd make/macosx
make
I got:
clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument]
test_SOIL2.cpp
clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument]
../../src/test/test_SOIL2.cpp:15:11: fatal error: 'SDL2/SDL.h' file not found
        #include <SDL2/SDL.h>
                 ^~~~~~~~~~~~
1 error generated.
Thx, look forward to your answer...

You probably just need to change the include:
#include <SDL2/SDL.h>
to
#include <SDL.h>
How did you install SDL2?

I installed it as a framework, and I put SDL2.framework on /usr/local/include
OK I have changed the #include <SDL2/SDL.h> to #include <SDL.h>, but that error is what I got > make`
==== Building soil2-static-lib (debug_x86_64) ====
==== Building soil2-shared-lib (debug_x86_64) ====
==== Building soil2-test (debug_x86_64) ====
test_SOIL2.cpp
clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument]
../../src/test/test_SOIL2.cpp:16:14: fatal error: 'SDL.h' file not found
    #include <SDL.h>
             ^~~~~~~
1 error generated.
make[1]: *** [../../obj/macosx/x86_64/debug/soil2-test/test_SOIL2.o] Error 1
make: *** [soil2-test] Error 2
This is how I changed on SOIL2/src/test/test_SOIL2.cpp
#define NO_SDL_GLEXT
#if ( ( defined( _MSCVER ) || defined( _MSC_VER ) ) || defined( __APPLE_CC__ ) || defined ( __APPLE__ ) ) && !defined( SOIL2_NO_FRAMEWORKS )
	#include <SDL.h>
	#include <SDL_opengl.h>
#else
//	#include <SDL2/SDL.h>
    #include <SDL.h>
	#include <SDL2/SDL_opengl.h>
#endif

I installed it as a framework, and I put SDL2.framework on /usr/local/include
That is not how it works. Download the libsdl dmg and follow the instructions in the ReadMe file. Then follow my instructions.


MV stating that world cannot be loaded

I have an old 1.8 World that I'm trying to import in.
I ran it through the optimizer to bring it up to 1.44.4. And it loads as a SP and it loads in the normal Generic Vanilla MC server.
But when I load it into my server, it loads but crashes the server.
when the server starts I get this.
I did as the error suggested and ran the world corrupter fix tool as listed in the error and it found no issues.
I have TWO worlds with this issue.
I'm running the most current version of Essentialsx (With XMP not configured) and worldedit. both of these worlds used to have a stupid amount of command blocks, and I've disabled the use of them because I was afraid they were causing issues.
06.11 02:16:00 [Server] WARN java.lang.NullPointerException
06.11 02:16:00 [Server] WARN at org.bukkit.craftbukkit.v1_14_R1.CraftServer.createWorld(CraftServer.java:1004)
06.11 02:16:00 [Server] WARN at org.bukkit.Bukkit.createWorld(Bukkit.java:492)
06.11 02:16:00 [Server] WARN at org.bukkit.WorldCreator.createWorld(WorldCreator.java:284)
06.11 02:16:00 [Server] WARN at com.onarandombox.MultiverseCore.utils.WorldManager.doLoad(WorldManager.java:467)
06.11 02:16:00 [Server] WARN at com.onarandombox.MultiverseCore.utils.WorldManager.doLoad(WorldManager.java:448)
06.11 02:16:00 [Server] WARN at com.onarandombox.MultiverseCore.utils.WorldManager.doLoad(WorldManager.java:423)
06.11 02:16:00 [Server] WARN at com.onarandombox.MultiverseCore.utils.WorldManager.loadWorld(WorldManager.java:404)
06.11 02:16:00 [Server] WARN at com.onarandombox.MultiverseCore.commands.LoadCommand.runCommand(LoadCommand.java:36)
06.11 02:16:00 [Server] WARN at com.onarandombox.commandhandler.CommandHandler.checkAndRunCommand(CommandHandler.java:296)
06.11 02:16:00 [Server] WARN at com.onarandombox.commandhandler.CommandHandler.processFoundCommands(CommandHandler.java:143)
06.11 02:16:00 [Server] WARN at com.onarandombox.commandhandler.CommandHandler.locateAndRunCommand(CommandHandler.java:93)
06.11 02:16:00 [Server] WARN at com.onarandombox.MultiverseCore.MultiverseCore.onCommand(MultiverseCore.java:910)
06.11 02:16:00 [Server] WARN at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
06.11 02:16:00 [Server] WARN at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
06.11 02:16:00 [Server] WARN at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchCommand(CraftServer.java:739)
06.11 02:16:00 [Server] WARN at net.minecraft.server.v1_14_R1.PlayerConnection.handleCommand(PlayerConnection.java:1800)
06.11 02:16:00 [Server] WARN at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1608)
06.11 02:16:00 [Server] WARN at net.minecraft.server.v1_14_R1.PacketPlayInChat.a(PacketPlayInChat.java:47)
06.11 02:16:00 [Server] WARN at net.minecraft.server.v1_14_R1.PacketPlayInChat.a(PacketPlayInChat.java:5)
06.11 02:16:00 [Server] WARN at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:23)
06.11 02:16:00 [Server] WARN at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18)
06.11 02:16:00 [Server] WARN at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136)
06.11 02:16:00 [Server] WARN at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
06.11 02:16:00 [Server] WARN at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109)
06.11 02:16:00 [Server] WARN at net.minecraft.server.v1_14_R1.MinecraftServer.aX(MinecraftServer.java:1029)
06.11 02:16:00 [Server] WARN at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:1022)
06.11 02:16:00 [Server] WARN at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeAll(IAsyncTaskHandler.java:95)
06.11 02:16:00 [Server] WARN at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1158)
06.11 02:16:00 [Server] WARN at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:925)
06.11 02:16:00 [Server] WARN at java.lang.Thread.run(Thread.java:748)
06.11 02:16:00 [Server] ERROR [Multiverse-Core] The world 'castle' could NOT be loaded because it contains errors and is probably corrupt!
06.11 02:16:00 [Server] ERROR [Multiverse-Core] Try using Minecraft Region Fixer to repair your world! 'castle'
06.11 02:16:00 [Server] ERROR [Multiverse-Core] https://github.com/Fenixin/Minecraft-Region-Fixer

Fixed this by making each world the primary world the server starts up too, then reverting back the one where I wanted it to start. This allowed them to load for some reason.


appimage-run: parse readelf's output in C locale

fixes #101137
cc @bignaux @Mic92 @prusnak
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

A good candidate for backporting.

Backported in https://github.com/NixOS/nixpkgs/pull/104798


Allow to eject static websites

Is it possible to eject a static website (discarding the CMS capabilities) to be hosted on a CDN, e.g. a landing page?
I couldn't find any reference to that in the documentation.
If it's not possible, that'd be an awesome feature.

Interesting question @dbarbosapn, our thesis is actually the other side of your rational: How can we KEEP CMS capabilities but allow to changing the underlying hosting platforms?
Theoretically you can host a deco site in any deno-supported platform, it is just a matter of deno task start working, so yes, you can


fileSystemUtils used in pascal_context_to_lmdb.py but not provided

The file pascal_context_to_lmdb.py contains statement import fileSystemUtils as fs, but it is not provided in the repository not is it publicly available elsewhere.

I haven't integrated the module into the repo. You can find it on gists
here https://gist.github.com/kashefy/2c098bd356dea090001e
On Oct 13, 2015 22:02, "mtmann"<EMAIL_ADDRESS>wrote:

The file pascal_context_to_lmdb.py contains statement import
fileSystemUtils as fs, but it is not provided in the repository not is it
publicly available elsewhere.
—
Reply to this email directly or view it on GitHub
https://github.com/kashefy/caffe_sandbox/issues/1.

Thank you very much!


The source code is wrong.

@jinwho commented on Tue Apr 21 2020
https://docs.microsoft.com/ko-kr/cpp/cpp/raw-pointers?view=vs-2019#initialization-and-member-access
If you look here, func_A (mc); When calling like this, mc is MyClass type and sends MyClass * as an argument of a function.

문서 세부 정보
⚠ 이 섹션을 편집하지 마세요. docs.microsoft.com ➟ GitHub 문제 연결에 필요합니다.

ID: 2284bc5b-569d-81ee-0b8d-38c711c92656
Version Independent ID: d448ee76-816d-67a9-6c1d-19da30933822
Content: 원시 포인터(C++)
Content Source: docs/cpp/raw-pointers.md
Product: visual-cpp
Technology: cpp-language
GitHub Login: @corob-msft
Microsoft Alias: corob

@srvbpigh commented on Tue Apr 21 2020
Hello, @jinwho
Thank you for your feedback.
We are actively reviewing your comments and will get back to you soon.
Kind regards,
Microsoft DOCS International Team

@CeciAc  Fix in source document should be published tomorrow.


Consider moving ServiceCollection.cs to Microsoft.Framework.DependencyInjection.Interfaces

Even though it's not an interface, it actually makes sense to move it there so that people trying to test out their implementations without having to rely on our DI container implementation.
/cc @glennc @muratg @lodejard

We did this


Apple

Added Apple version

Thank you very much Oriol for this great job. This is a very important contribution for the project

Excellent work indeed! Thanks Oriol for all the time and effort put into this!


Server URL unification

Adjust backend URL prefixes, so there is unique service prefix for all different things. Two issues with current URLs:

for adding new data sources need of reconfiguring request "proxies" (cdn, nginx,varnish).
CDN/nginx config becomes messy and issues can happen in management

Internal doc with URLs in different SDK versions.

[x] tiles.json for maps - add /maps/ prefix
[x] /maparea/ prefix for custom maps packages, remove /custom/
[x] /routearea/ prefix for route packages, remove /custom/
[x] /geocodearea/ prefix instead of /geocoding/ - just to fit the pattern of other custom packages
[x] Fix same URLs in SDK 4.1.0 side @mtehver

@cellum

@mtehver updated URLs should work now in server side, doc and tests in runscope are updated.

@jaakla SDK develop branch is now updated according to the new spec. There is a small discrepancy regarding 'maparea' service vs 'routearea' or 'geocodearea': maparea requests do not include additional version number (after the source id) while other requests do. For example:
http://api.nutiteq.com/maparea/v2/carto.streets/wzAzAzAzDMwUTEfwXBV8FwVVPMTUA9dQ1DXUNQAAAPDw8PD8FwVfBcFVQ_XUNQ11DUAAAAAAAAAA.mbtiles?appToken=...
vs
http://api.nutiteq.com/routearea/v2/carto.streets/1/wzwwMMDAwxHRAPPM89Q1AA_UNQAAAAAAAAAA.vtiles?appToken=...
Should we leave this as it is or include version for 'maparea' service also?

Good point, lets have this /1/ - data structure version there. If there are newer incompatible data versions, then the number increases.

The /1/ schema is now used for mappackages also (commit 05c2e20)

Part of SDK 4.1.0RC1


Error when I run an automation task using the terminal cmd.exe

VSCode Version: Code 1.6.1 (9e4e44c19e393803e2b05fe2323cf4ed7e36880e, 2016-10-13T16:21:53.542Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions: abusaidm.html-snippets-0.0.18, akamud.vscode-caniuse-0.5.3, alefragnani.project-manager-0.12.0, alexdima.copy-relative-path-0.0.1, andreaskian.vscode-select-line-0.0.3, bogdan-sinitsa.theme-dark-monokai-0.3.0, christian-kohler.path-intellisense-1.1.0, cmstead.jsrefactor-0.5.3, donjayamanne.bower-0.0.3, donjayamanne.jquerysnippets-0.0.1, donjayamanne.listFiles-0.0.3, HookyQR.beautify-0.5.3, jakelucas.code-select-until-0.6.0, lukasz-wronski.ftp-sync-0.3.1, ms-vscode.cpptools-0.9.2, qinjia.view-in-browser-0.0.3, robertohuertasm.vscode-icons-3.0.7, Shan.code-settings-sync-2.3.3, Tyriar.lorem-ipsum-1.0.0, wcwhitehead.bootstrap-3-snippets-0.0.7

Steps to Reproduce:

When an automation task is executed using the terminal.

For example less to css compiling, in this case I'm using less-watch-compiler (npm package https://github.com/jonycheung/deadsimple-less-watch-compiler):

{[Error: Command failed: C: \ WINDOWS \ system32 \ cmd.exe / s / c "lessc -x less / bootstrap.less> css / bootstrap.css"
The process can not access the file Because it is being used by another process.
]
  Killed: false,
  code: 1,
  signal: null,
  cmd: 'C: \ WINDOWS \ system32 \ cmd.exe / s / c "lessc -x less / bootstrap.less> css / bootstrap.css"'}
If it works and compiles, but not because it tells me that error. I've tried other npm package and always tells me error.

@hugotom the problem is that the output file  bootstrap.css is used by another process hence the less -> css compiler can't write the file. Do you have another tool open that consumes bootstrap.css. Some server ? There is little VS Code can do about this. Under windows you can use https://technet.microsoft.com/en-us/sysinternals/handle.aspx to find out who is holding a write lock on bootstrap.css and therefore blocking updating the fine.


Status check

Hi @SionoiS,
I've been looking for a Prolly Tree impl in Rust and found your library through various IPLD / filecoin searches and whatnot.
I am just wondering how far along you are or if you want/need any help in any area.
I have a bunch of key-values that I want to store then index (and search) across my own nodes and other peoples' nodes and I'm trying to see how Defluencer can help with that.
Wondering where you are at with this project!

Hello! @DougAnderson444
The Prolly tree impl. is fully functional and tested. The MST one not so much, there's a couple of edge cases that need ironing out.
The problem is the lack of standard Traits for IPFS API. It should be easy to substitute any other IPFS impl. but some elbow grease required.

Yeah I noticed the ipfs is this struct use ipfs_api::{responses::Codec, IpfsService};  instead of a trait.

Yeah I noticed the ipfs is this struct use ipfs_api::{responses::Codec, IpfsService}; instead of a trait.

The best would be to have a some kind of standard but rust is low priority for IPFS folks so :shrug:
I was thinking of something like
trait FullAPI: GetAPI, BlockAPI, etc..

so that you can follow the standard but not forced to implement everything. WDYT?


oidcc_token:retrieve/3 returning {error,invalid_input,none}

oidcc version
3.2.6
Erlang version
27.1
Elixir version
1.17.3-otp-27
Summary
Couldn't update to 3.2.6 due to retro compatibility issues.
After a little dig, I could see the problem comes from here:

oidcc_token:add_pkce_verifier/3
oidcc_token:add_pkce_verifier/2

this on 3.2.6 adds {<<"code_verifier">>,none} to BodyQs, which makes uri_string:compose_query/1 to chain up the error {error,invalid_input,none}.
PS: this seems to work well on 3.2.5, but as I've strongly tested the auth flow on 3.2.4, I'm focusing on it.
Current behavior
After updating to 3.2.6 from 3.2.4 oidcc_token:retrieve/3 returns {error,invalid_input,none} when using with plug Oidcc.Plug.AuthorizationCallback.
How to reproduce

Use an out of the box Keycloak with minimal configuration (realm, client and user);
Configure Oidcc.Plug.AuthorizationCallback with following options set:

provider
client_id
client_secret
redirect_uri

Perform the authorization flow (with redirect url)
When on callback action, the plug will return {error,invalid_input,none} when trying to retrieve the token.

Expected behavior
oidcc_token:retrieve/3 on 3.2.6 should keep retro compatibility on patch versions, i.e., be able to return token information when the same parameters are given.

Duplicate of https://github.com/erlef/oidcc_plug/issues/29


Unable to disable TemplatesPanel and SQLPanel using DISABLE_PANELS

Actually, the title is slightly misleading, because I did manage to disable them, but the documentation was misleading and I had to debug the app in order to find what was failing.
The problem is that the documentation says that these panels names are debug_toolbar.panels.templates.TemplatesPanel and debug_toolbar.panels.sql.SQLPanel, and while this is correct for usage on the DEBUG_TOOLBAR_PANELS config, it is wrong for usage on the DISABLE_PANELS config.
In order to understand why I had to look at the code that checks whether panels are enabled or disabled, in particular these two functions:

@property
def enabled(self):
    # Check to see if settings has a default value for it
    if get_name_from_obj(self) in dt_settings.CONFIG['DISABLE_PANELS']:
        default = 'off'
    else:
        default = 'on'
    # The user's cookies should override the default value
    return self.toolbar.request.COOKIES.get('djdt' + self.panel_id, default) == 'on'

def get_name_from_obj(obj):
    if hasattr(obj, '__name__'):
        name = obj.__name__
    elif hasattr(obj, '__class__') and hasattr(obj.__class__, '__name__'):
        name = obj.__class__.__name__
    else:
        name = ''

    if hasattr(obj, '__module__'):
        module = obj.__module__
        name = '%s.%s' % (module, name)

    return name

The first one does the checking by calling the second one. The problem is, when it gets the name with name = obj.__class__.__name__, it gets the fully qualified name of the object which in the case of the SQL and Templates panels, which are not just a single file named sql.py or templates.py but a folder with that name with a panel.py inside, the fully qualified name becomes debug_toolbar.panels.templates.panel.TemplatesPanel and debug_toolbar.panels.sql.panel.SQLPanel.
So, these two names are the ones that actually work on the DISABLE_PANELS config but they are not mentioned anywhere in the docs so of course most users won't be able to find them.
I can see three potential solutions for this:

Changing the docs, replacing all references of debug_toolbar.panels.templates.TemplatesPanel with debug_toolbar.panels.templates.panel.TemplatesPanel (and the same for sql). This is not a great solution since it's easy to have the same problem in the future if we turn another panel from a .py file to a folder.
Change the way we get the object name to actually get the name that we use in the documentation, but I have no idea how to  do this properly.
Replace the __init__.py files in these two folders with the panel.py files. As long as there is no reference to the actual full path (including the .panel), this seems like the easiest solution as it makes the TemplatesPanel and SQLPanel full paths the same as those in the documentation. I tried this for the TemplatesPanel and it seemed to work fine.

Comments?

I'm in favor of option 2.
Option 3 is interesting but experience shows that putting code in __init__.py always creates pain down the line.

Thank you for submitting the issue @fvieira! I implemented option 2.


Firefox freezing effect

Please see this weird behaviour
https://youtu.be/C9s_ai4Xkkw
for test use firefox 75.0 (64-bit) :
https://soundeals.com/v/11050

Video is private..

Video is private..

Sorry, available now


Fix for Makefile when using Tundra as a submodule.

I'm using Tundra as a submodule and the Makefile doesn't work out of the box.
Makefile is using some trickery to find the exact name and hash of the current version. I've replaced the trickery with more simple code and some different trickery to support detached heads.

This change removes the dependency on the head revision, so checking in changes won't update the version C file anymore.


Masking with ParticleContainer not working

I want to apply masking on ParticleContainer or sprites inside ParticleContainer but it seems none of two works.
can we use particle container and masking together?

You can't that is the trade off of using the particle container:
https://github.com/GoodBoyDigital/pixi.js/blob/master/src/core/particles/ParticleContainer.js#L4-L8
/**
 * The ParticleContainer class is a really fast version of the Container built solely for speed,
 * so use when you need a lot of sprites or particles. The tradeoff of the ParticleContainer is that advanced
 * functionality will not work. ParticleContainer implements only the basic object transform (position, scale, rotation).
 * Any other functionality like tinting, masking, etc will not work on sprites in this batch.


consolidate MTC tutorials

Description
Consolidated the MoveIt Task Constructor Example and the Pick and Place with MoveIt Task Constructor Tutorial into one. The Pick and Place tutorial was kept and the other example was removed.
Checklist

[ ] Required by CI: Code is auto formatted using clang-format
[ ] While waiting for someone to review your request, please consider reviewing another open pull request to support the maintainers

Just a quick note: There are some cross-references from the tutorial to the example page that should be fixed if merging the two!

Thanks!


Docker build fails to mount a single file

There is an issue with the version of docker on the latest AzureLinux container image
Docker build failing to mount single file via bind
When running docker build (with DOCKER_BUILDKIT=1) on the mariner image, the RUN stage fails when attempting to mount a single file --mount=type=bind with the error
executor failed running [/bin/bash -euxc bash tmp/test_mount.sh]: failed to mount /var/lib/docker/tmp/buildkit-mount3000888503: [{Type:bind Source:/proc/self/fd/25 Options:[rbind ro]}]: not a directory

To Reproduce
Steps to reproduce the behavior:

Ensure you are running on a mariner OS
Clone repo
Set the Environment Variable export DOCKER_BUILDKIT=1
From the root directory run docker build -t test_dockerfile_mariner -f test.dockerfile  .

I hit this too. With the help of dnf history I managed to inspect my recent upgrades.

sudo dnf downgrade moby-cli-20.10.27-3.cm2.x86_64 didn't seem to help.
sudo dnf downgrade moby-cli-20.10.27-2.cm2.x86_64 still didn't fix it.
sudo dnf downgrade moby-engine-20.10.27-1.cm2.x86_64 worked, I think I had to restart docker too. Maybe the above downgrades aren't needed but I'm holding off upgrading again until this is fixed.

Hi @RocketJas, the link to the repo doesn't seem valid anymore. Do you still have this issue? I can confirm that some of our builds, we do have --mount=type=bind usage in Mariner and it works successfully. We do install moby-buildx package for this functionality.

I recently hit a different problem and installed moby-buildx as a solution. Today I tried the problematic build for the first time in a while, this time with all the latest moby RPMs, and still have this issue.
In your builds, do you use --mount=type=bind for files or directories? I seem to only have the problem for mounting individual files, but I've not tested that extensively.
Solution for me is still:
sudo dnf downgrade moby-engine-20.10.27-1.cm2.x86_64
sudo systemctl restart docker


[bug] OCI collector does not accept sha256 digests

Describe the bug
When using the OCI collector, only a tag can be supplied. However, it is desirable for users to use a sha256 digest which are immutable instead of tags which are mutable.
To Reproduce
Steps to reproduce the behavior:

Run  go run ./cmd/guacone collect image "mcr.microsoft.com/oss/kubernetes/kubectl:v1.28.1". Observe that this works since it is collecting from a tag
Run go run ./cmd/guacone collect image "mcr.microsoft.com/oss/kubernetes/kubectl@sha256:a01b2873f41c65aa9157baf5ec0e0beaf80e9e84bb7dfa94b081cd230b534418" which is using the digest that the tag is pointing to.
Observe that it throws errors like the following:

{"level":"info","ts":1697476678.9117503,"caller":"cli/init.go:53","msg":"Using config file: /home/ridwan/repos/github/ridhoq/guac/guac.yaml"}
{"level":"error","ts":1697476678.912293,"caller":"cmd/oci.go:97","msg":"collector ended with error: image tag not specified to fetch","stacktrace":"github.com/guacsec/guac/cmd/guacone/cmd.glob..func8.2\n\t/home/ridwan/repos/github/ridhoq/guac/cmd/guacone/cmd/oci.go:97\ngithub.com/guacsec/guac/pkg/handler/collector.Collect\n\t/home/ridwan/repos/github/ridhoq/guac/pkg/handler/collector/collector.go:95\ngithub.com/guacsec/guac/cmd/guacone/cmd.glob..func8\n\t/home/ridwan/repos/github/ridhoq/guac/cmd/guacone/cmd/oci.go:100\ngithub.com/spf13/cobra.(*Command).execute\n\t/home/ridwan/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:944\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/home/ridwan/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068\ngithub.com/spf13/cobra.(*Command).Execute\n\t/home/ridwan/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992\ngithub.com/guacsec/guac/cmd/guacone/cmd.Execute\n\t/home/ridwan/repos/github/ridhoq/guac/cmd/guacone/cmd/root.go:56\nmain.main\n\t/home/ridwan/repos/github/ridhoq/guac/cmd/guacone/main.go:23\nruntime.main\n\t/home/ridwan/sdk/go1.21.3/src/runtime/proc.go:267"}
{"level":"fatal","ts":1697476678.9123645,"caller":"cmd/oci.go:101","msg":"image tag not specified to fetch","stacktrace":"github.com/guacsec/guac/cmd/guacone/cmd.glob..func8\n\t/home/ridwan/repos/github/ridhoq/guac/cmd/guacone/cmd/oci.go:101\ngithub.com/spf13/cobra.(*Command).execute\n\t/home/ridwan/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:944\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/home/ridwan/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068\ngithub.com/spf13/cobra.(*Command).Execute\n\t/home/ridwan/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992\ngithub.com/guacsec/guac/cmd/guacone/cmd.Execute\n\t/home/ridwan/repos/github/ridhoq/guac/cmd/guacone/cmd/root.go:56\nmain.main\n\t/home/ridwan/repos/github/ridhoq/guac/cmd/guacone/main.go:23\nruntime.main\n\t/home/ridwan/sdk/go1.21.3/src/runtime/proc.go:267"}
exit status 1

Expected behavior
The command using sha256 digest should have the same result as the command using the tag.
GUAC version
Latest from main

Thanks, @ridhoq! Agree that that should be an acceptable input for the OCI collector.


Remove NIC edits

The Remove NIC cmdlet is wrong. We need to remove it from the VM, not the subscription.
Also, the parameter for "-Name" cannot be a string. This will result in a "Bad Request" error.

@jolleymd,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@jolleymd : Thanks for your contribution to the Azure documentation! The author, @iainfoulds, has been notified to review your proposed change.

I think I did this correctly. Please let me know if I need to take other actions.

I created a quick PR against your doc at https://github.com/jolleymd/azure-docs/pull/1 . It only needs the one update statement to be good to merge and publish. Thanks!

Hi @jolleymd. If you want to keep working on this, please re-open and merge the changes. Or, open a new PR.
For now, PR reviewers #please-close


yaml: Update revision of img-proprietary

Update to latest commit (without outdated binaries).
Signed-off-by: Ruslan Shymkevych<EMAIL_ADDRESS>

Acked-by: Volodymyr Babchuk<EMAIL_ADDRESS>

'Acked-by' is added.
Ready to be merged.


ci: checking git commit hash for GitHub Actions (no need to review)

I'm curious whether GitHub Actions work with commit hash not just git tag

Failed to resolve action download info. Error: Unable to resolve action `GoogleCloudPlatform/cloud-opensource-java@c9f95b6`, the provided ref `c9f95b6` is the shortened version of a commit SHA, which is not supported. Please use the full commit SHA `c9f95b6d730fbaec4c87e004c0995818dac1993c` instead.

The curl url has snapshot and thus should fail anyway. But does GitHub Actions go until that part?

It did work for until curl. Interesting.


terragrunt: 0.28.6 -> 0.28.7

Motivation for this change
Bump terragrunt to 0.28.7
Add install check
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

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

1 package built:

terragrunt

Result of nixpkgs-review pr 113648 at 2dae1318 run on aarch64-linux 1

1 package failed to build:

terragrunt

1 suggestion:

error: no-flags-array
buildFlagsArray is only intended to be used in Bash, not as a Nix attribute.
Near pkgs/applications/networking/cluster/terragrunt/default.nix:18:3:
   |
18 |   buildFlagsArray = [
   |   ^

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

1 package built:

terragrunt


LineChart crashes if all Flspot has the same y value

Describe the bug
LineChart crashes if all Flspot has the same y value
showing:
════════ Exception caught by rendering library ═════════════════════════════════
Unsupported operation: Infinity or NaN toInt
To Reproduce
try a list with several flSpot with same y value in Linechart

I'm also experiencing this issue it started with version 0.40, version 0.36.4 seems fine.

Hi, I am having the sam exception, v0.41.0.

i have the same error

https://github.com/imaNNeoFighT/fl_chart/issues/879#issuecomment-1019085190

It might related to #842

Hi.
We have just fixed it in 0.45.0.
Please check it out!


Changing my own email entry has no effect on notifications

Changing the email address in my own profile has no effect on the notifications. They are still sent to the old email address. Changing the email address from another account works fine.

My failure. I didn't mention that there are no notifications for my own actions


python zq integration prototype

We'd like to produce a prototype quality Python module that supports some zq operations directly, ie, not by exec'ing zq, but via making Python calls. This would be implemented by packaging the zq Go based machinery via Go's c-shared buildmode option, then using some form of FFI between Python and Go.
It should be compatible with Python 3.7 or later, and should be installable via the usual pip install. We should use the manylinux process documented here:
https://github.com/pypa/manylinux
to produce a Python wheel for easy distribution.

This was implemented in #891 and #911 and then removed in #3096.


Grouped inputs aren't validated on any event other than submit

Given this form:
<form method="post" action="/wherever">

        <select name="card_expirationMonth" id="card_expirationMonth">
            <option value="">MM</option>
            <option value="01">01</option>
            <option value="02">02</option>
            <option value="03">03</option>
            <option value="04">04</option>
            <option value="etc">Etc</option>
        </select>

        <select name="card_expirationYear" id="card_expirationYear">
            <option value="">YY</option>
            <option value="2012">12</option>
            <option value="2013">13</option>
            <option value="2014">14</option>
            <option value="2015">15</option>
            <option value="etc">Etc</option>
        </select>

</form>

And the following validation:
$('form').validate({
    rules: {
        card_expirationMonth: 'required',
        card_expirationYear: 'required'
    },
    groups: {
        cardExpiration: 'card_expirationMonth card_expirationYear'
    },
    errorPlacement: function (error, element) {
        if (element[0].name === 'card_expirationMonth' || element[0].name === 'card_expirationYear') {
             error.prependTo('form');
        }
    }
});

It can be seen, on focusout, that the error message will be removed even though one of the two inputs isn't valid.
Interestingly enough the groups demo: http://docs.jquery.com/Plugins/Validation/validate appears to disable onkeyup, onfocusout, onfocusin which means the issues isn't noticed.

I'm sorry for the lack of activity on this issue. Instead of leaving it open any longer, I decided to close old issues without trying to address them, to longer give the false impression that it will get addressed eventually.
To the reporter (or anyone else interested in this issue): If you're affected by the same issue, consider opening a new issue, with a testpage that shows the issue. Even better, try to fix the issue yourself, and improve the project by sending a pull request. This may seem daunting at first, but you'll likely learn some useful skills that you can apply elsewhere as well. And you can help keep this project alive. We've documented how to do these things, too. A patch is worth a thousand issues!


feat: add log

Codecov Report
Base: 14.54% // Head: 14.54% // Decreases project coverage by -0.00% :warning:

Coverage data is based on head (fe44c36) compared to base (a4bc8de).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #298      +/-   ##
==========================================
- Coverage   14.54%   14.54%   -0.01%
==========================================
  Files         116      116
  Lines       14671    14674       +3
==========================================
  Hits         2134     2134
- Misses      12366    12369       +3
  Partials      171      171

Impacted Files
Coverage Δ

pkg/runtime/nodeflush.go
43.43% <0.00%> (-0.67%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

/approved

/lint

/lint

/approve

/lgtm


Error version 3.3.0

What happened?
when i change version from 2.3.0 to 3.3.0 i got error
Repro steps

Version
3.4.0
What Atlas Services are you using?
Local Database only
What type of application is this?
Flutter Application
Client OS and version
Windows 11
Code snippets
No response
Stacktrace of the exception/crash you're getting
Exception has occurred.
RealmException (RealmException: Cannot get app directory. Error: Realm error : Realm SDK package version does not match the native library version (3.3.0 != 2.3.0). This is likely a bug in the Realm SDK - please file an issue at https://github.com/realm/realm-dart/issues)

Relevant log output
No response

Looks like the native library hasn't been replaced correctly - can you try to rebuild your app?

Looks like the native library hasn't been replaced correctly - can you try to rebuild your app?

Yes, I've done a rebuild of my app

Looks like the native library hasn't been replaced correctly - can you try to rebuild your app?

Yes, I've done a rebuild of my app

its still same error

Does this happen in a brand new project? Also, can you try to remove the realm packages from %LOCALAPPDATA%\Pub\Cache and redownload them?

I didn't create a new project, and I also deleted the realm from pub/cache and re-downloaded it, but the error is still the same.

Can you also try a flutter clean inside your project root directory?

Can you also try a flutter clean inside your project root directory?

I've done that, but still the same error.

I think it is highly likely that you have realm_dart.dll in your project directory. Can you search for realm_dart.dll in your project directory. If it is there delete it.
If there is no realm_dart.dll in your project directory, can you search for realm_dart.dll in your drive?
The error you are getting means that realm_dart.dll version 2.3.0 is loaded in your application instead of the 3.3.0 version. You should find the realm_dart.dll and remove it so 3.3.0 is loaded instead.
There is a way to check which dll and from where is loaded in your application but it is more involved,. so for now could you do what I have suggested. If it does not help I will write you what you need to do to find exactly where is this dll loaded from.

If you run the app and let it fail you can open an elevated command prompt and run this power shell command. So

Run command prompt as administrator
type powershell
type this command while your app is running and is still opened and your VS code is showing the error

Get-Process | where {$_.Modules -match 'realm_dart.dll'} | select -ExpandProperty modules | group -Property FileName | select name | where {$_ -match 'realm_dart.dll'}

If you run the app and let it fail you can open an elevated command prompt and run this power shell command. So

Run command prompt as administrator
type powershell
type this command while your app is running and is still opened and your VS code is showing the error

Get-Process | where {$_.Modules -match 'realm_dart.dll'} | select -ExpandProperty modules | group -Property FileName | select name | where {$_ -match 'realm_dart.dll'}
this will give you the exact path from which realm_dart.dll is loaded.
I suspect it is the root dir of your project, but maybe somewhere else.

I don't find realm_dart.dll in my project root. I have done a dir on the project root but I can't find it.

If you run the app and let it fail you can open an elevated command prompt and run this power shell command. So

Run command prompt as administrator
type powershell
type this command while your app is running and is still opened and your VS code is showing the error

Get-Process | where {$_.Modules -match 'realm_dart.dll'} | select -ExpandProperty modules | group -Property FileName | select name | where {$_ -match 'realm_dart.dll'}
this will give you the exact path from which realm_dart.dll is loaded.
I suspect it is the root dir of your project, but maybe somewhere else.

I think this method is very helpful, I just type in powershell and restart the application, and the error is fixed.
Thanks for your help. I really appreciate it

Glad it helped. After one successful run you should not need to this every time you start the app. This is needed only one time untill you have your app running with 3.3.0.


[Bug] "Please fix your bundle id window" - annoyingly keeps appearing!

Description
Not sure why, but now I keep getting this very annoying window about "Please fix your bundle id" on every build.
The bundle id it self is fine, I can work with firebase and everything is working - and even if I select the value and click Apply, the window keeps appearing.
Not sure why that happens but honestly I just want that annoying window gone.
Is there perhaps a secret way I'm missing? 🤞
Reproducing the issue
just building
Firebase Unity SDK Version
11.9.0
Unity editor version
2022.3.27f1
Installation Method
.unitypackage
Problematic Firebase Component(s)
No response
Other Firebase Component(s) in use
Crashlytics
Additional SDKs you are using
Google Analytics
Targeted Platform(s)
Android, Desktop
Unity editor platform
Windows
Scripting Runtime
Mono
Release Distribution Type
Pre-built SDK from https://firebase.google.com/download/unity
Relevant Log Output
No response
If using CocoaPods for Apple platforms, the project's Podfile.lock

Expand Podfile.lock snippet

👀 Replace this line with the contents of your Podfile.lock!

Hey @matanshukry, thanks for reaching out. This looks like a bug, however the window should only appear if the package name from the Player Settings does not match any package name from the google-services.json. I'm wondering if this is the case for you, could you check this out? Also, I'm not encountering this issue on our quickstart. It'll be a great help if you could share with us a minimal reproducible behavior so we can investigate this further. Thanks!


fix: ensure revalidateOnFocus is work

When using the same hook in multiple places, setting revalidateOnFocus in one place does not work

Yes, it’s missing here, it’s been updated

@u3u would you mind giving an usage example to explain more about this issue? or it would be nice if supplement more information to the description!

@huozhi
In most cases, I want revalidateOnFocus to be turned off by default (this can avoid too many unnecessary requests). So I disabled it in SWRConfig. But under certain conditions, I want to enable it (such as a designated tab). Since this hook may be called in multiple places, if only the first hook is checked, the configuration of other components will be invalid


Krzysztofwrobel/sc 22419/update label inspector to unicode 15 1

What about cache? Is there a need to rebuild?


interactive cells should have their own a11y help dialog

cc @jooyoungseo
We now have an a11y help dialog in the repl input. Adding a help dialog like the one for jupyter notebook cells would be a good idea.

verification steps:

create a python REPL with start native REPL
execute a cell
enable screen reader mode
focus on the input box and press alt+f1
focus on the prevously executed cell and press alt+f1

the help dialogs should be different depending on the focus in steps 4 and 5


Default flags in cargo-rmc cause CBMC inviariant violation

Running the regression with the new default flags feature from #263 causes the following error:
CBMC version 5.30.1 (cbmc-5.30.1) 64-bit x86_64 linux
Reading GOTO program from file
Reading: /home/ubuntu/rmc-rebase-3/build/x86_64-unknown-linux-gnu/test/cargo-rmc/simple-lib/test_one_plus_two/target/cbmc.out
Generating GOTO Program
Adding CPROVER library (x86_64)
Removal of function pointers and virtual functions
Generic Property Instrumentation
--- begin invariant violation report ---
Invariant check failed
File: ../src/util/namespace.h:47 function: lookup
Condition: !not_found
Reason: we are assuming that a name exists in the namespace when this function is called - identifier __CPROVER_dead_object was not found
Backtrace:
cbmc(print_backtrace(std::ostream&)+0x50) [0x5632a23794b0]
cbmc(get_backtrace[abi:cxx11]()+0x169) [0x5632a2379a59]
cbmc(std::enable_if<std::is_base_of<invariant_failedt, invariant_failedt>::value, void>::type invariant_violated_structured<invariant_failedt, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x48) [0x5632a1c6bc78]
cbmc(namespace_baset::lookup(dstringt const&) const+0xf3) [0x5632a1d404e3]
cbmc(goto_checkt::goto_check(dstringt const&, goto_functiont&)+0x2658) [0x5632a210bea8]
cbmc(goto_check(namespacet const&, optionst const&, goto_functionst&)+0x60) [0x5632a210d530]
cbmc(goto_check(optionst const&, goto_modelt&)+0x4e) [0x5632a210d74e]
cbmc(process_goto_program(goto_modelt&, optionst const&, messaget&)+0x527) [0x5632a1ffd327]
cbmc(cbmc_parse_optionst::process_goto_program(goto_modelt&, optionst const&, messaget&)+0x139) [0x5632a1c6d489]
cbmc(cbmc_parse_optionst::get_goto_program(goto_modelt&, optionst const&, cmdlinet const&, ui_message_handlert&)+0x5df) [0x5632a1c6e1bf]
cbmc(cbmc_parse_optionst::doit()+0x5af) [0x5632a1c72b8f]
cbmc(parse_options_baset::main()+0x8f) [0x5632a1c69e3f]
cbmc(main+0x39) [0x5632a1c594e9]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f44c72740b3]
cbmc(_start+0x2e) [0x5632a1c6b68e]

--- end invariant violation report ---

------------------------------------------
stderr:
------------------------------------------

------------------------------------------

failures:
    [cargo-rmc] cargo-rmc/simple-lib/test_one_plus_two.expected
    [cargo-rmc] cargo-rmc/simple-lib/test_sum.expected

test result: FAILED. 0 passed; 2 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.75s

Because of that, we call RMC with --no-default-checks but the goal is to remove this argument when running the tests.

More specifically, the failure can be avoided with --no-memory-safety-checks. I suppose one of the CBMC memory-safety flags used by default is adding some verification condition that calls __CPROVER_dead_object which is not found, so it's probably related to linking issues.

I think the root cause is issue 2 from #105. The cargo-rmc process is missing a goto-cc invocation that includes all JSON files and an empty C file so that some (CProver) builtins are included, like we do in the case of the balloon demo: https://github.com/nchong-at-aws/firecracker/commit/5e0703732476ddc28c204a5354a5f04e1adb4346


Following Changes:

Fix issue with Example app not reloading the table view first time with Contacts access permission is not given to the app.
Added +new function as NS_UNAVAILABLE in OHABAddressBookContactsDataProvider and OHCNContactsDataProvider
Removed compiler warning in OHSMSPicker
Removed unwanted _Nonnull in extern declarations as the header function already declares NS_ASSUME_NONNULL_BEGIN/NS_ASSUME_NONNULL_END

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


Support for projects with minimum deployment target less that iOS 17.

For now, it's strictly iOS 17, which makes it impossible to add to projects with a lower minimum deployment target (MDT). What we can do is mark the modifier with @available and let the caller side decide how to handle it in older versions.
For example, it can be handled as a regular .blur() in older versions.

For example, it can be handled as a regular .blur in older versions.

Hey there, Dan!
Thanks for the suggestion. That's actually a great idea that I hadn't really considered. I'll work on it for the 1.0 release.

Done as of b805ea48206c5cbca98ccd54c8424e09847bcab6! Thank you for your contribution @denandreychuk!
What I did was actually make the .glur() modifier work from iOS 13.0 upwards using a "compatibility effect" by layering a blurred version of the view on top of itself and masking it with a linear gradient.
Just beware that, of course, this effect won't be as aesthetically pleasing/efficient/versatile as the iOS 17.0 implementation, but, in some cases, it might work. And, considering how the iOS 17.0 user base is growing, hopefully that won't be as much of an issue soon.


Allow for filtering by DS last updated

Users who run regular queries on the Datastore should have the ability to ensure that they only return data that is new or has changed.
This will significantly ease the burden on import processes where large amounts of data are involved.
Therefore, please can we add a filter which allows the user to filter by the last time the activity has been changed in the Datastore? I assume that there is a db field which allows this?
cc/@bill-anderson

@amy-silcock TOR requirement to be implemented post-launch

As of 1 July IATI will host, manage and service a Datastore service.  This issue will therefore be closed.
Please contact IATI for any question you may have on the new situation.


Compile failed!

It works for me using the latest version of Emscripten. What version of it are you using? Are you using the latest version of this repository from master, with submodules updated (git submodule update --init --recursive)?
Please try a clean build (make clean) with a fresh copy of the latest version of Emscripten and see if the problem persists.

Have you installed SDL? What is the output for sdl2-config?

@kisvegabor I'm pretty sure having SDL installed on the host doesn't affect Emscripten (since it uses its own version), but it's worth a try.

sudo apt-get install libsdl2-dev

These are present on https://lvgl.io/demos too but it's still working

Try running it so that lvgl.html is in the root folder (i.e.. serve the emscripten folder as the HTML root directory).

yes i know, but i want to compile one on my localhost, and came out this problem.

The streaming error shouldn't break the webpage; it's just letting you know that the site will fall back to a different way of downloading the WASM.

@embeddedt Yes, that's what I did

how can i correct it?

Please try in Firefox without a webserver. Pay attention to this: https://github.com/lvgl/lv_sim_emscripten#known-issue-with-firefox

yes, i did it, but it failed, so i put it to the web server.


CDC library - add a "batch sequence" consumer mode, with resuming granularity

Split from #30. Requires #38.
Adds a consumer abstraction layer, and introduces the ability to subscribe to complete batch sequences - i.e. CDC events.
See lengthy rationale in #30 for why this is good, and resumability etc.
PR actually starts at "Add new, common, interface "Change""

@avelanarius @haaawk - enjoy

ping. Updated printer example + readme.

Hi, has this ever been reviewed/planned to be merged?

Yes. But some deliberation determined that there are cases where it does not work so well, so scrapped. Should have closed the PR.


Multiprocessing issue due to dill's recurse=True

Hi. I came across a weird issue when importing CAJAL and then using multiprocessing in NAVis.
This works:
import navis
import cajal

# Dispatch some work using pathos/multiprocessing pool
navis.prune_twigs(navis.example_neurons(3), size=5000/8, parallel=True)

This breaks with RecursionError: maximum recursion depth exceeded in comparison
import navis
import cajal.swc

# Dispatch some work using pathos/multiprocessing pool
navis.prune_twigs(navis.example_neurons(3), size=5000/8, parallel=True)

I tracked it down to this line in swc.py:
dill.settings["recurse"] = True

Multiprocessing is opaque at the best of times so not sure what to do about it - just thought I'd leave a breadcrumb that this might cause breakage in other libraries. If you need that flag, perhaps you could set and unset using a context manager?
On my end, I might add a warning to NAVis when that flag is set to give users the chance set to False manually.

@schlegelp Just wanted to let you know I saw this and will address it when I have time. I may remove dill and use the standard Python multiprocessing library, as in spite of its additional flexibility it has resulted in difficulties which we haven't found workarounds for, discussed here. https://github.com/uqfoundation/pathos/issues/111#top

Recursion removed by https://github.com/CamaraLab/CAJAL/commit/b6228d4371f778bb2d9ae935b782a807e88c7694


TypeError: init() got an unexpected keyword argument 'hooksconfig'

180 INFO: PyInstaller: 3.6
180 INFO: Python: 3.7.5
181 INFO: Platform: Windows-7-6.1.7601-SP1
192 INFO: UPX is not available.
192 INFO: Removing temporary files and cleaning cache in C:\users\root\Application Data\pyinstaller
Traceback (most recent call last):
  File "c:\Python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\Python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Python37\Scripts\pyinstaller.exe\__main__.py", line 7, in <module>
  File "c:\Python37\lib\site-packages\PyInstaller\__main__.py", line 114, in run
    run_build(pyi_config, spec_file, **vars(args))
  File "c:\Python37\lib\site-packages\PyInstaller\__main__.py", line 65, in run_build
    PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
  File "c:\Python37\lib\site-packages\PyInstaller\building\build_main.py", line 734, in main
    build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
  File "c:\Python37\lib\site-packages\PyInstaller\building\build_main.py", line 681, in build
    exec(code, spec_namespace)
  File "login.spec", line 19, in <module>
    noarchive=False)
TypeError: __init__() got an unexpected keyword argument 'hooksconfig'

when I use this action in my project, this error info show each time, and the action will not go on.
please help

I"m having the same problem here :(

I"m having the same problem here
To avoid this error, I just remove the hooksconfig={}, from .spec file

I"m having the same problem here
To avoid this error, I just remove the hooksconfig={}, from .spec file

thanks for your solution,maybe I will try another way