Flat decorator cause App server crash after update to hrev54755

After updating to hrev54755, I rebooted and app server crashed leaving me with this in syslog:
KERN: stack trace, current PC 0x2a281eebb7  _ZN13FlatDecorator10_DrawFrameE5BRect + 0x7:
KERN:   (0x7f2a03a61150)  0x1fdc0dd706a  _ZN6Window11_DrawBorderEv + 0xea
KERN:   (0x7f2a03a611c0)  0x1fdc0dd9a0b  _ZN6Window17RedrawDirtyRegionEv + 0x5b
KERN:   (0x7f2a03a611f0)  0x1fdc0dcaad1  _ZN12ServerWindow14_MessageLooperEv + 0x2a1
KERN:   (0x7f2a03a61260)  0x1fdc0da898a  _ZN13MessageLooper15_message_threadEPv + 0xa
KERN:   (0x7f2a03a61270)  0xe0f80c33b9  thread_entry + 0x19
Booting an older state and switching back to default decorator allowed to boot on hrev54755 without error.
Could be caused by https://dev.haiku-os.org/ticket/16638 , see https://dev.haiku-os.org/ticket/16630 for details.

Correct @Briseur, fixed. Was necessary update some files in the includes. Recompile it o use the news binaries. thanks!


Promote @objectiser to full maintainer

Gary made a number of commits to the backend and even more to Java client.
@jaegertracing/jaeger-maintainers

+1

+1
On Tue, Oct 30, 2018, 4:03 PM Won Jun Jang<EMAIL_ADDRESS>wrote:

+1
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jaegertracing/jaeger/issues/1155#issuecomment-434448984,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACMpUao8Qdk1TTT5f6K4Tpa55hQLyROKks5uqLCRgaJpZM4YCv0A
.

+1

+1

🎉
Congrats, @objectiser !

yay, congrats!

Thanks!

Congrats @objectiser  !


matrix-vector multiplication not working

A checkerboard matrix right-multiplied by a unit vector:
using LinearAlgebra, LatticeUtilities, Checkerboard

# construct square lattice neighbor table
L       = 12 # lattice size
square  = UnitCell(lattice_vecs = [[1.,0.],[0.,1.]], basis_vecs = [[0.,0.]])
lattice = Lattice(L = [L,L], periodic = [true,true])
bond_x  = Bond(orbitals = (1,1), displacement = [1,0])
bond_y  = Bond(orbitals = (1,1), displacement = [0,1])
nt      = build_neighbor_table([bond_x,bond_y], square, lattice)
N       = nsites(square, lattice)

# corresponding hoppig for each pair of neighbors in the neighbor table
t = fill(1.0, size(nt,2))

# discretization in imaginary time
Δτ = 0.1

# define checkerboard matrix
Γ = CheckerboardMatrix(nt, t, Δτ)

# define a unit vector
a = zeros(Float64, L^2)
a[1] = 1.0

b = similar(a)
mul!(b, Γ, a)

gives
ERROR: BoundsError: attempt to access 2×4 Matrix{Int64} at index [1, 5]
Stacktrace:
 [1] getindex
   @ ./array.jl:925 [inlined]
 [2] checkerboard_color_lmul!(v::Vector{Float64}, color::Int64, neighbor_table::Matrix{Int64}, coshΔτt::Vector{Float64}, sinhΔτt::Vector{Float64}, colors::Matrix{Int64}; inverted::Bool)
   @ Checkerboard ~/.julia/packages/Checkerboard/ALfxT/src/matrix_vector_mul.jl:74
 [3] checkerboard_lmul!(v::Vector{Float64}, neighbor_table::Matrix{Int64}, coshΔτt::Vector{Float64}, sinhΔτt::Vector{Float64}, colors::Matrix{Int64}; transposed::Bool, inverted::Bool)
   @ Checkerboard ~/.julia/packages/Checkerboard/ALfxT/src/matrix_vector_mul.jl:29
 [4] lmul!
   @ ~/.julia/packages/Checkerboard/ALfxT/src/CheckerboardMatrix.jl:304 [inlined]
 [5] mul!(u::Vector{Float64}, Γ::CheckerboardMatrix{Float64}, v::Vector{Float64})
   @ Checkerboard ~/.julia/packages/Checkerboard/ALfxT/src/CheckerboardMatrix.jl:249
 [6] top-level scope
   @ REPL[7]:25

Oh wow, thanks for pointing out this bug!
In my (meager) defense, for my dqmc code all I needed was matrix-matrix multiplies and I tested that functionality a lot. I sort of added the matrix-vector multiplies as an afterthought. And I clearly did not test it well enough.
Regardless, I found the bug and fixed it I believe. The code above now runs. I additionally added this new unit test:
# test vector multiplication
v  = randn(N)
v′ = zeros(N)
mul!(v′, Γ, v)
lmul!(Γ⁻¹, v′)
@test v′ ≈ v

I have registered a new version package, v1.2.6, with the fix.
Again, it may take a few hours for is to appear publicly in Julia's general registry.
Thank you for pointing out this bug!

No problem. Thank you for the ultra-quick update! Matrix-vector multiply is indeed rare in dqmc code, and I just tested it for the sake of a few special measurements.


Can't get it working on mac

Plugin works fine on windows but on my Macbook running Osx I don't see any mesh in my scene.
No errors or warnings showed up..

at least it is working on my and my colleagues' machines. I need more information. can you send me Editor.log file?

Nevermind import works fine! My mistake :|

I'm relieved.


nearly double Ruby memory usage if 900 Rollbar.error(e) invocations in a few hours

Is it normal to see huge (nearly double) Ruby memory increase if Rollbar.error(e) is called an average of 6 or 7 times per minute?
Yesterday we started investigating Rollbar (gem 3.0.0) for use with our several Heroku apps. The first guinea pig was a Rails <IP_ADDRESS> app, Ruby 2.4.5, Puma web server (4.3.6), 3 workers, 1 thread, on Heroku 2X dynos.
 This generated about 800 Rollbar events over a 2 hour period (average 6 per minute). And our max-memory nearly doubled from 675MB to 1150MB.
To my surprise, the use of Rollbar.error(e) seems to correlate with very significant memory bloat in Ruby memory.
So it seems even "swallowed" exceptions that would otherwise have no zero impact on user experience will significantly degrade user experience if Rollbar is enabled triggered an average of every 10 seconds.
To be precise, the benign exceptions do not, absent Rollbar, increase app memory use, which you can see in the Heroku memory metric screenshot attached, which shows the two hours before-and-after setting Rollbar's config.enabled to false ... the memory increase did not re-occur under similar traffic conditions once we disabled Rollbar by setting config.enabled = false
Heroku memory use before and after disabling rollbar:

Approx same timeframe in Rollbar dashboard:

The gem creates the payload as a Ruby hash, which is then converted to a JSON string. The amount of memory used should correlate pretty closely with the size of hashes and strings created. This is all garbage collected by Ruby at some point, and the memory plateau (roughly from 9:00 - 10:00) maybe looks like the normal case that memory was allowed to grow until it hit one of the GC limits. Or, maybe there are some objects not getting dereferenced correctly.
I'll set up a test here.

@jpwynn I've tested, sending thousands of Rollbar.error(e) events and monitoring GC using GC.stat. https://ruby-doc.org/core-2.6.3/GC.html#method-c-stat
The GC was able to work efficiently, and I didn't see evidence of unfreed objects accumulating.
In my test, the memory didn't grow to the old object limit either. (Objects allocated during Rollbar.error(e) were freed by the minor GC.) However, that behavior in Ruby depends on the overall allocation pattern of objects in the app. Objects that remain referenced after several minor GCs will be marked as old and will only be freed during major GC. So it is possible for total memory usage to grow to your current old object/old malloc limit even if those objects were already freed. Whatever your ceiling is for memory usage, GC limits should be set to reflect that.
If you test with GC.stat and are seeing anything different, I'm happy to take a look and will try to replicate your conditions here.

What you say makes sense, and you can see on the Heroku memory chart I provided that it indeed plateaus when it hits the max. But FWIW on Heroku if memory plateaus "at/near" the GC limit that still causes lots of R14 errors because each little incremental bump in memory during operation generates a R14 which degrades performance, until some event like a dyno reboot.
So I guess my underlying quesiton is, is that level of memory allocation (several hundred MB) for 800 Rollbar events in quick succession typical?

In Rails environments, it's pretty easy to generate large payloads because Rails backtraces are large. The final payload is limited to a half MB, but more than a MB of objects can get allocated. So yes, several hundred MB for 800 Rollbar events sounds plausible, and if it were all collected on the minor GC, it would get regularly freed and that would be fine.
Here are some ideas to mitigate.
It sounds like multiple minor GCs are happening during the processing of a single Rollbar event. This causes the Rollbar allocations to get pushed to the major GC. Reducing the amount of data processed for the payload could help by requiring fewer minor GCs and preventing objects from being marked as "old". The backtrace_cleaner Rollbar option can be used to filter or truncate the stack trace to focus on the parts relevant to your app and trim most of the bulk of it. Any BacktraceCleaner object can be passed, including the default Rails one. https://api.rubyonrails.org/classes/ActiveSupport/BacktraceCleaner.html What makes this effective is that the stack is already smaller (maybe much smaller) before rollbar-gem tries to process it.
Another thing to look at is your GC settings. I think Heroku does give you access to these.
Set RUBY_GC_OLDMALLOC_LIMIT and RUBY_GC_OLDMALLOC_LIMIT_MAX lower. These values control when major GC runs, and in your case you want it to run sooner.
For these settings, GC.stat will let you see their current values, and will help you confirm the new settings are being used.


GCP BigQuery Solution: Added 3.0.0 version package

Required items, please complete
Change(s):

Added package for 3.0.0 version

Reason for Change(s):

Needed 3.0.0 version as per discussion with Prateek

Version Updated:

Package with version 3.0.0 created

Testing Completed:

Yes

Checked that the validations are passing and have addressed any issues that are present:

Yes

From Content Hub:

From Items in Solution:

Closing and creating a new pr with other 3.0.0 package changes into  pr


Iterate through TrajectoryCollection

Would be great to be able to write
for traj in traj_collection:

Wouldn't this be as simple as adding the following to the TrajectoryCollection class?
def __iter__(self):
    return iter(self.trajectories)

Are there issues I'm missing here?
A few related questions:
I have a use-case where I want to filter a TrajectoryCollection based on a time window.  I want to do something like this:
start = '2020-02-01'
end = '2020-02-02'

for idx in range(len(traj_collection)):
    traj_collection.trajectories[idx].df = traj_collection.trajectories[idx].df[start: end]

Do you foresee any issues modifying the Trajectorys of a TrajectoryCollection after instantiation?
Would there be issues if after instantiation, some of the TrajectoryCollection's Trajectorys have empty dataframes?
Is it safe to remove Trajectories from a collection after instantiation?

In general, when iterating over a TrajectoryCollection and modifying/removing Trajectorys, would it be safer to just create a list of the modified list of Trajectorys and create a newTrajectoryCollection?
TrajectoryCollection.split_by_observation_gap() returns a new TrajectoryCollection created by copying the input TrajectoryCollection and replacing the list of Trajectorys with a new list.  This seems to suggest modifying the list of Trajectorys is okay?  Is that right?

Thanks @stevemarin! Iterating is most likely as simple as you showed, plus some time to update the documentation and tutorials accordingly. PRs are welcome, if you'd like to do it.
So far, I haven't run into any issues with replacing the list of trajectories in a collection. I think this approach should also work for filtering by start and end time. Trajectories with empty dataframes sound less ideal. I don't think we have checks for this (except for in the Trajectory constructor).

I'm happy to put this in a PR.  In terms of empty dataframes, would something like this would work:
def __iter__(self):
    for traj in self.trajectories:
        if not traj.df.empty:
            yield traj

Would you prefer also raising a warning if the df is empty?  Or some other approach completely?

I think trajectories with empty df shouldn't be allowed to exist. Or do you see a use case for such trajectory objects? For example, the trajectory constructor currently checks that there are at least two rows in the df.

I don't see a use.  So maybe __iter__ should check each df has at least 2 points and raise an exception otherwise?
This suggests that any function / method that could filter a df down to 0 or 1 points is responsible for removing those Trajectorys from the list?  Then they would follow your convention of copying the TrajectoryCollection and then replacing the Trajectorys with the modified list?

Yes, I think functions / methods that can reduce a df down to < 2 should be responsible to remove invalid trajectories (i.e. ones with fewer than 2 rows). If a collection contains invalid trajectories, something went wrong.

I've just fixed Travis. So if you want to send a PR that implements this feature, the CI should work correctly.


Running Ansible and Rundeck on separate hosts

I have Ansible and Rundeck running on separate hosts. How do I tell the plugin where the Ansible host is? Is this even possible?

The plugin just spawns Ansible processes under the Rundeck user. There is no support for a remote Ansible and I can't imagine how this could work.
If anyone has good ideas on this, feel free to post them!

Then the rundeckd server and Ansible and my playbooks need to stay on the same server. :(


Stream consent

Consent steaming - in the true sense of the word.
https://github.com/xmtp/libxmtp/issues/1114

@codabrink One thing that would be helpful here are some race tests. Our streams don't guarantee ordering, so if you quickly toggle a user from allowed to blocked and back, I'm not sure this streaming setup is going to reliably give you a consistent output.

@neekolas No problem, I can add some in a small follow-up PR.


Define MSRV == 1.58?

Hiya, https://github.com/DioxusLabs/dioxus/blob/master/packages/desktop/src/events.rs#L29 is also using the format! string variable capture behavior introduced in rust 1.58, similar to the issue in #246 and #189.
Perhaps it is time to state (and test) that rust 1.58 is the MSRV?

I think we should just remove our use of 1.58 features and then try to find an MSRV that we compile for that's a little bit lower.
I wonder if there's a way we can force features < 1.58  for cfg uses.

Sounds like a plan. :-)


Explicitly set LIBCXXABI_USE_LLVM_UNWINDER off

Clang trunk has recently turned it on, and also now fails the build when libunwind is not built at the same time.

I'm baffled that this breaks things, considering OFF was the default before...

Ok, it's broken even without the patch: https://github.com/glandium/wasi-sdk/actions/runs/7550972389/job/20557473630#logs
Something has changed in the environment between the last green run on main and now, presumably wasmtime.

Yeah, looks like a WASI signature change. I wonder if we should just pin Wasmtime for now or figure out how to recompile with the new signature.

@abrown Several recent PRs are blocked by the signature change, what's the plan of fixing it?

Ok, it's broken even without the patch: https://github.com/glandium/wasi-sdk/actions/runs/7550972389/job/20557473630#logs Something has changed in the environment between the last green run on main and now, presumably wasmtime.

I believe #382 fixes this so a rebase on top of that (once it merges) should fix the test failure. It's related to the ABI of the preview1-to-preview2 adapter that Wasmtime uses.

Merged in #393


feat(module:inputNumber): limit integer, decimal input and decimal in…

…put control by nzStep
nzStep is a integer,limit only integer input
close #42
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[x] Yes
[ ] No

Other information

Coverage remained the same at 52.163% when pulling e8f8f9e2b22db78c5da3518a3475197d7bfc47e4 on giscafer:inputNumber-limit-input into 44865c21c1039584d87b1f883a08f0b691b49e13 on NG-ZORRO:master.

I'll close the PR for the time being.
Please comment if I'm missing something.


Notebooks: Handle missing provider contribution

With latest changes you can say you have a provider but then never register it. We should be resilient to this.

This has been fixed, we fall back to builtin in this case


Add Secure WebSockets example

Adding an example on how to use wss as it seems possible.

(triage note) this looks good, but needs https://github.com/libp2p/js-libp2p-websockets/pull/130 to ship first.

The problem is in here: https://github.com/libp2p/js-libp2p-websockets/blob/master/src/listener.js#L71
When we "reconstruct" the addresses that we are listening on in websockets transport, we have ws hardcoded, which means it will return the peer address with ws instead of wss. As a result, when you use libp2p.multiaddrs to add the address to the peerStore, the address used will not be the wss. In the websockets ssl test, the multiaddr with wss is used and that is why it works.
We should in websockets get the multiaddr component of ws or wss instead of hardcoding ws. Would you like to get a PR to fix this?

Hi @vasco-santos, sorry for the lack of response and thanks for the PR!

@D4nte we just shipped<EMAIL_ADDRESS>fixing this. Mind updating the package.json and retry this?

Looks much better, thanks!
Unfortunately it fails due to the certificate being self-signed:
4.js
node 1 is listening on:
/ip4/<IP_ADDRESS>/tcp/10000/wss/p2p/QmRSqcpLbMk1ThEm8v83jSVBvXxi5DnXMMCC9RApKfH9es
node 2 is listening on:
/home/froyer/src/libp2p/js-libp2p/node_modules/p-some/index.js:31
                        reject(new AggregateError(errors));
                               ^

AggregateError:
    Error: self signed certificate
        at TLSSocket.onConnectSecure (node:_tls_wrap:1541:34)
        at TLSSocket.emit (node:events:365:28)
        at TLSSocket._finishInit (node:_tls_wrap:952:8)
        at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:723:12)
    at maybeSettle (/home/froyer/src/libp2p/js-libp2p/node_modules/p-some/index.js:31:11)
    at /home/froyer/src/libp2p/js-libp2p/node_modules/p-some/index.js:69:23
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

I am basing my test on the one in libp2p-websocket.
I assumed that rejectUnauthorized: false allows self-signed certificate:
https://github.com/libp2p/js-libp2p-websockets/blob/62a3276b8398669f4d4a95c2a869d878033d91ac/test/node.js#L322
But it does not seem to be the case as I tried both:
const { stream } = await node2.dialProtocol(node1.peerId, '/print', { websocket: { rejectUnauthorized: false } })
``

and

```js
  const { stream } = await node2.dialProtocol(node1.peerId, '/print', { rejectUnauthorized: false })

What am I missing?

@D4nte the problem here is the following:
By default, when libp2p discovers a peer (and has less than the minimum connections configured in connMgr) it will attempt to dial the peer. This way, when node2.peerStore.addressBook.set(node1.peerId, node1.multiaddrs) happens a dial will be triggered. This dial does not include the rejectUnauthorized: false.
Consequently, when you trigger the dial manually const { stream } = await node2.dialProtocol(node1.peerId, '/print', { websocket: { rejectUnauthorized: false } }), the previous dial already started and libp2p identifies that a dial is already in progress for this target peer. So, it will just "merge" both dials, with the second waiting for the result of the first.
This should not happen in production, as a self signed certificate should not happen. There are two solutions for this example:

Disable autoDial in libp2p configuration:

config: {
  peerDiscovery: {
    autoDial: false
  }
}

Do not add to the peerStore and dial the actual address directly

const targetAddr = `${node1.multiaddrs[0]}/p2p/${node1.peerId.toB58String()}`
const { stream } = await node2.dialProtocol(targetAddr, '/print', { websocket: { rejectUnauthorized: false } })

Probably the second solution is cleaner, given that we do not change the default config of libp2p

Actually, the only way for the test to work is to disable the autoDial. I tried solution 2 by itself but as part of the dialProtocol, the peer gets added to the book and the autodial kicks off before the manual dial, making the test fail. Peer added here:
https://github.com/libp2p/js-libp2p/blob/06e8f3dd42432e4b37ab7904b02abde7d1cadda3/src/dialer/index.js#L147

Actually, the only way for the test to work is to disable the autoDial. I tried solution 2 by itself but as part of the dialProtocol, the peer gets added to the book and the autodial kicks off before the manual dial, making the test fail. Peer added here:

That is true, good catch. We can live with that for now. One of the plans with https://github.com/libp2p/js-libp2p/issues/744 is to get rid of this autoDial strategy and have the node be more intelligent on finding out the nodes it should connect to.

@vasco-santos looking back at this, is it possible to pass { rejectUnauthorized: false } to websocket when creating the libp2p instance? So that the autodial or libp2p-bootstrap can pick it up?


Adding a section on Metadetection

Following issue #18 . I added a new section, for now under "calibration" but this may change, describing the metadetection method and main results from the paper. I included an example on how detection can be different when the image is artificially sheared in one way or another.

Seems like the history is a bit ugly, I will try to fix that


Function that returns a component causes false positive unused react/prop-types warning in typescript

The folllowing code causes a false positive for the react/proptypes, with 'className' missing in prop-types declaration. Since this is typescript, and ComponentProps includes className, I'd expect this to not happen.
import * as React from "react";

type ComponentProps = {
  className?: string;
};

class Test {
  getAComponent(): React.FC<ComponentProps> {
    return function ComponentName(props: ComponentProps): React.ReactElement {
      return
Hello
;
    };
  }
}

const test = new Test();
const Comp = test.getAComponent();

export default function App(): React.ReactElement {
  return (

      <Comp className="text-success" />

  );
}

If the component is instead defined outside of the method that returns it, then the warning dissapears, like this (the rest of the example remains the same):
const getAComponentNotInClass = function ComponentName(props: ComponentProps): React.ReactElement {
  return
Hello
;
};

class Test {
  getAComponent(): React.FC<ComponentProps> {
    return getAComponentNotInClass
  }
}

Added a repo with the code and relevant config/packages here. Just run npm install, and npx eslint Example.tsx.

I'm confused; you have a component factory in a class method?

Yeah, the real example is a component generator that is used like
const PaddableDiv = classed.div((padded) => padded ? 'p-3' : '')
Then you use it like this:
<PaddableDiv padded={true}/>
Previously I had methods like makeClassedDiv(), but classed.div is a nicer looking interface and keeps all methods self contained, which is also nice. In order to do this classed.div() needs to take the styles (classnames) to be applied and return a react component as a function, not a ReactElement.

I think that since it's working when declared at module level, but not when inside this class method, that there's definitely a bug.

There are 2 scenarios that are added as tests, both passing as valid, but one of them should not be. This one:
import React from 'react'
class Factory {
  getRenderFunction() {
    return function renderFunction({ name }) {
      return
Hello {name}

    }
  }
}

In this one intended to not raise a warning because the function has no caps?

Yes - <renderFunction /> wouldn't work, so that's not a component.

In my case, I'm also getting false-positives for react/prop-types in my typescript project, only when i use the name props
{[{ label: 'Thing', value: 'thing' }].map(props => <MyComponent key={props.value} {...props} />)}

If i change the arrow function's name from props to something else, no error.
Seems someone else had the same issue, but in my case i'm spreading props, so I can't destruct like the accepted answer.

Side Note: is there a codesandbox/playground for this plugin, so it's easy to demo issues to maintainers?

@k-funk could you file a new issue for that?
There isn’t a playground I’m aware of; the best way to demo the issue is a PR with a failing test case - the second best way is a repro repo.


acpi: parse the HPET system description table

Summary
Parse and build a structure with the info in the HPET found in the RSDT. See section 3.2.4 in HPET spec and the relevant OSDev wiki page HPET.

I can take this issue.

Awesome. This will be really handy for distributing time interrupts to the guests.


[ALLUXIO-2503]Improve javadoc for getLostBlocks() in BlockMaster.java

(https://alluxio.atlassian.net/browse/ALLUXIO-2503)
Improve javadoc for getLostBlocks() in BlockMaster.java

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13086/Failed Tests: 1org.alluxio:alluxio-tests: 1alluxio.master.MasterFaultToleranceIntegrationTest.workerReRegister
Test FAILed.

Merged build finished. Test FAILed.

Jenkins, test this please.

LGTM

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13099/
Test PASSed.

Merged build finished. Test PASSed.

LGTM


Relealse 3.1.5

What problem does this PR solve?
What is changed and how it works?
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Code changes

Has exported function/method change
Has exported variable/fields change
Has interface methods change
Has persistent data change

Side effects

Possible performance regression
Increased code complexity
Breaking backward compatibility

Related changes

Need to cherry-pick to the release branch
Need to update the documentation
Need to update the tidb-ansible repository
Need to be included in the release note

/run-all-tests

/run-all-tests

/run-all-tests tidb=v6.5.0 tikv=v6.5.0 pd=v6.5.0

/run-all-tests tidb=v6.1.0 tikv=v6.1.0 pd=v6.1.0

/run-all-tests


[feature]: add support for int64 ids to tapdb

Background
Currently we use the postgres engine to generate the boilerplate db code with sqlc.
To keep compatibility between sqlite and postgres we write "the most standard" sql code and make some changes in the table definitions when running a migration in postgres.
One of those changes are translating INTEGER PRIMARY KEY to SERIAL PRIMARY KEY.
This has a couple of effects that we may want to fix:

Sqlite is using int64 for storing the ids while postgres is using int32
In postgres, we have 31 bits before overflowing (~2.147B)

31 bits may be more than enough. If we do 10 inserts per second, we will have 864000 new rows per day and it will take us almost 7 years to hit the type limit. I do not know if it makes sense to tackle this problem, but the next two sections show the current state in detail and a possible fix.
Current setup
CREATE TABLE IF NOT EXISTS myTable {
    id INTEGER PRIMARY KEY
}

SQLite behaivour: INTEGER PRIMARY KEY is autoincremetnal and it's stored as int64.
PostgreSQL behaivour: INTEGER PRIMARY KEY is substituted by SERIAL PRIMARY KEY which is auto-incremental and stored as int32
SQLC go code: INTEGER PRIMARY KEY, with the postgres engine is translated as int32
Proposed solution
Objective: autoincremental int64 ids
CREATE TABLE IF NOT EXISTS myTable {
    id BIGINT PRIMARY KEY
}

SQLite behaivour: BIGINT PRIMARY KEY IS NOT autoincremetnal in sqlite. It is also stored as int64. We would substitute it for INTEGER PRIMARY KEY
PostgreSQL behaivour: BIGINT PRIMARY KEY is substituted by BIGSERIAL PRIMARY KEY which is auto-incremental and stored as int64
SQLC go code: BIGINT PRIMARY KEY, with the postgres engine is translated as int64

https://github.com/lightningnetwork/lnd/pull/7357/commits/0c1ffbabb1b80c0cac874de7d02ea58df1902119


Makefile doesn't yet include 1.14

What would you like to be added:
Makefile should include a target for 1.14
Why is this needed:
So that I can run make 1.14. Support for 1.14 seems to otherwise be in the repo, just not in the Makefile

Can you please let us know when are we merging this change. We would like to use 1.14

Could we merge this please?


Difference of embedding layer dimension between pretrained model and dict.txt

Hi there,
I'm trying to load pretrained weights of molecular pretrain(https://github.com/dptech-corp/Uni-Mol/releases/download/v0.1/mol_pre_no_h_220816.pt), but using the example_data/molecule/dict.txt leads to an Exception below.
RuntimeError: Error(s) in loading state_dict for MoleculeEmbeddingModel:
        size mismatch for embed_tokens.weight: copying a param with shape torch.Size([31, 512]) from checkpoint, the shape in current model is torch.Size([30, 512]).
        size mismatch for gbf.mul.weight: copying a param with shape torch.Size([961, 1]) from checkpoint, the shape in current model is torch.Size([900, 1]).
        size mismatch for gbf.bias.weight: copying a param with shape torch.Size([961, 1]) from checkpoint, the shape in current model is torch.Size([900, 1]).

I got the cause of this Exception, since adding a line code in the unimol/infer.py
self.mask_idx = dictionary.add_symbol("[MASK]", is_special=True)  solves this problem.
(https://github.com/dptech-corp/Uni-Mol/blob/27ad2a0dbfafc9795b36efb279d7ed7c6d87a34a/unimol/tasks/unimol.py#L122)
My question is, why don't you just add a line of [MASK] to dict.txt to solve this problem?
My point is, whenever we use the checkpoints you offer, this code is irrelevant to coding but necessary for running.
What's your concern about this?

Got it, and which task is associated with this issue? ([mol/pocket pretrain; mol/pocket property prediction; conf gen; binding pose prediction; binding pose demo; mol repr demo]). Moreover, if a running script like this is provided, it could help us to reproduce the problem and fix it.
data_path="./conformation_generation"  # replace to your data path
results_path="./infer_confgen"  # replace to your results path
weight_path="./save_confgen/checkpoint_best.pt"  # replace to your ckpt path
batch_size=128
task_name="qm9"  # or "drugs", conformation generation task name
recycles=4

python ./unimol/infer.py --user-dir ./unimol $data_path --task-name $task_name --valid-subset test \
       --results-path $results_path \
       --num-workers 8 --ddp-backend=c10d --batch-size $batch_size \
       --task mol_confG --loss mol_confG --arch mol_confG \
       --num-recycles $recycles \
       --path $weight_path \
       --fp16 --fp16-init-scale 4 --fp16-scale-window 256 \
       --log-interval 50 --log-format simple

btw, instead of reading source code directly, are there any resources to learn your framework?

Hope this helps.
https://github.com/dptech-corp/Uni-Core#acknowledgement


Mostly working prototype of a feed summary screen (FEEDBACK REQUESTED)

Sketch based on reddit conversation with @skeeto for a feed summary that shows you a screen by feed (with counts and dates) instead of by article.
I've hooked into the toplevel elfeed using a defcustom elfeed-summary-as-top-level, such that if t, you get a selection flow like this:
"work" ---(M-x elfeed)---> feed summary ---(Ret)---> search ---(Ret)---> article/entry

and then a reverse flow popping back up
"back to work"  <---(Q)--- feed summary <---(Q)--- search <---(Q)--- article/entry

TODO:

desktop support?
hooks?
bookmarks support?
user might want to configure columns

This feed summary screen looks interesting. I like it.

I found this PR useful, but it's not working with the current elfeed anymore (it's been a while). I've updated the PR accordingly and made some smaller improvements / bugfixes. If there is interest in this, I'll contribute either to this PR or a new PR.

Hi, feel free to hijack this PR. I would like to see it finished also.
On Fri, Jun 12, 2020, 3:19 PM Rainer Gemulla<EMAIL_ADDRESS>wrote:

I found this PR useful, but it's not working with the current elfeed
anymore (it's been a while). I've updated the PR accordingly and made some
smaller improvements / bugfixes. If there is interest in this, I'll
contribute either to this PR or a new PR.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/skeeto/elfeed/pull/288#issuecomment-643442419, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGXKBJYMR3QMPWQMFQ5XQ3RWJ5K5ANCNFSM4FLGPFIQ
.

Ok, see #384.


Are custom rules still disabled by default

Discussed in https://github.com/detekt/detekt/discussions/3850

Originally posted by sschuberth June  2, 2021
I'm just wondering whether the sentence

By default all rules not annotated with @ActiveByDefault are disabled.
That means your custom rules are also disabled if you have not explicitly enabled
them in the detekt yaml configuration file.

is still true, as my custom rules neither have the @ActiveByDefault annotation, nor are they activated in the YAML configuration file, but still they work fine.
So, is this really still valid, or can the sentence be deleted?

I guess we should remove examples that use the EmptyConfig as base class. We shouldn’t promote this kind of rule writing style. A comment in the EmptyConfig code to describe this special behavior is definitely helpful.


New-DbaDiagnosticNotebook

based off of Gianluca's wildly popular post: https://spaghettidba.com/2019/03/20/generating-a-jupyter-notebook-for-glenn-berrys-diagnostic-queries-with-powershell/
To compliment current Diagnostic commands:

@spaghettidba - are you interested in creating this command or would you prefer someone else take it on?
(open to a different name if anyone has a proposal)

New-DbaDiagnosticAdsNotebook
AdsNotebook = Azure Data Studio NoteBook. It makes a bit more clear, then the help we can get the ADS short url: https://aka.ms/azuredatastudio

I can do this! Shawn's name looks ok to me.
A few things to consider:

how to accept the version as a parameter: my script accepts the path to one of the diagnostic queries, while the script to use for Invoke-DbaDiagnosticQuery is instead decided at runtime, based on the version of the target instance. Generating a notebook does not require a connection: can this be a straight parameter (like $TargetVersion = [2005|2008|2012|2014|2016|2016SP2|2017|2019])?

Do you feel like a selection helper like the one in Invoke-DbaDiagnosticQuery is needed? In my script I excluded database scoped queries, but I see how they could be useful for somebody.

Any other parameter I should add?

I tried to see how to debug dbatools when working on it locally, but I don't remember how this is done (modify allcommands.ps1? unload installed dbatools before testing?). Is there a documentation page covering this? I could not find it in the contributing guide.

@wsmelton - isn't this a Jupyter notebook, though? Microsoft was kind granting us the aka.ms/sqlslack url, I think if we requested a short url, adding extra wouldn't be a deciding factor. If we believe this is the first of many Ads commands, we could go the DbaAds way. I'm still not sure how to use it so don't know if there's opportunity but it kinda seems like it?'
@spaghettidba

Yes, you can go one of two ways: Provide both $TargetVersion and $SqlInstance. If they use SqlInstance, then dont require a TargetVersion, otherwise, require.

You can skip for v1 if you like. If not, perhaps it's time to do a Get-DbaDiagnosticQuery that can feed to Out-GridView that can feed to both of your commands? Alternatively, his helper can just be busted out into an internal function so that it's shared by both if it's nto already.

I like the idea of DiagnosticScriptPath being optional and you figure it out based on #1 or you can make diagnosticscript pipable so they Get-ChildItem script.sql | New-Dba....

notebookOutputPath should probably be named FilePath unless it's a directory then that'd be Path. Also, we need the usual EnableException and wrapping of potential exceptions.

Good call, we do need to add debugging info to the contributing guide. I'll take a moment to add that. If you work off of the cloned repo, it will detect .git and enable debugging in VS Code. allcommands.ps1 is only for end-users. Developers develop on the commands themselves in functions and internal\functions.

If you work off of a zip file, you can extract it and create the .git folder or specify  $script:multiFileImport = $true; $script:serialImport = $true.
So pumped! Thanks for this 😎

The term notebook is not something the basic DBA or user-base we have is going to be aware of on average. It is also to generic of a Noun for me as I know the term is used as a file extension for software that has a completely different purpose than SQL Server or what a DBA might use.
I would say we just call it New-DbaJupyterNotebook and make it accept an input object from anything dbatools related. Based on what Gianluca wrote you just need that preamble and then the closing braces, then dump the json in between of the data collected (spconfigure output, XEL file content, etc.).

I do love that idea, but, and i know this is my own peccadillo, but i dont like that name, Jupyter. I do think ADS will make notebooks totally popular and it'll become part of our vernacular.
New-DbaAdsNotebook or New-DbaNotebook?
I like the idea of two commands. One for generic objects and one that helps ease the diagnostics part. So Gianluca would basically wrap New-DbaAdsNotebook  and add in additional handling for diagnotebook.
OKay so

New-DbaAdsNotebook, which is for generics and keeps options open for future potential Ads commands
New-DbaDiagnosticNotebook, which is piled in with the other Diagnostics commands

hey @spaghettidba - any chance we can get this in within the next 30 days?

done-o-rama! 🍝


test: skip differential loading cache test on CI

There is a large amount of performance variability on CI which can cause test flakes.

Good call!


I Want to customize and install own add-ons in Neko Rooms

if it's possible for customize and install own add-ons in Neko Rooms

Yes, you need to set up storage and then you can use browser policy to install browser extensions. Currently there is specified list of supported images and addons, but it can be extended.

current firefox default install NordVPN and Other add-ons, how can I remove add-ons

I tried your steps but I can't remove add-ons in firefox ex nordvpn

Apologies for commenting on a closed issue.
I know that this (https://neko.m1k1o.net/#/getting-started/?id=want-to-customize-and-install-own-add-ons-set-custom-bookmarks) is how you enable custom addons/extensions for a specific neko container.
How do I get that working when using neko rooms?

@madindehead Right now, on the client there are specified just some addons. But if you use API, you can send any addon-id that will be installed.
On the other hand, you can mount own policy file, as you mentioned. That can be done, after enabling storage for neko rooms.
It looks like, on GUI there is missing posibility to add own addon ID. Would be a nice and easy PR.


Search by package name returns no matches

Describe the bug
Searching package on pypi.org by its full name returns zero results for package pyemf:
0 projects for "pyemf" Did you mean 'pyamf'?

Searching for pyemf in Google returns PyPI link as first result: https://pypi.org/project/pyemf/
Expected behavior
PyPI should be able to find a package.
To Reproduce
Click https://pypi.org/search/?q=pyemf
My Platform
Web browser.

Hi! I would like to work on this if there any objection :)

It seems like the package is not in the search index for some reason. One thing we could do to help here would be to provide a way for PyPI administrators to trigger the reindex_project task from the Admin UI:
https://github.com/pypa/warehouse/blob/12c2b81b190c6bff5c1664d44879e6eca1135a68/warehouse/search/tasks.py#L229-L250

Taking a second look at this, it's likely that the age of the package in question (last published Jan 1 2006) has something to do with this.

I am getting the same issue with my brand new package, “oligoss”. It does not appear on any searches. However, direct link to the project works.
To reproduce: https://pypi.org/search/?q=oligoss&o=
Link to project: https://pypi.org/project/oligoss/

I've just observed this issue. Searching by networkx returns 0 results, however searching by "networkx" returns some results with the https://pypi.org/project/networkx/ package on top.

My library is not searchable, what should I do?
Library: https://pypi.org/project/alerts-in-ua.py/

I am encountering a similar issue with my new package, "msci.sdk".
It does not show up in any searches, but the direct link to the project works fine.
https://pypi.org/search/?q=msci.sdk&o=
https://pypi.org/project/msci.sdk/
If you're interested, I wanted to let you know that the search functionality is working perfectly fine on testpypi for the same package.

@mscisdk search finds your project now. Sometimes our search index lags behind.

Thanks for checking @miketheman . the search functionality is working fine now.

I think it's time to close this issue for a few reasons.

The original issue of not finding pyemf - I have discovered the real reason it wasn't found in the search index, and it's that this project has no files associated with it. If you try to pip install pyemf, you get an error. If there's nothing to install, we don't add it to the index. See https://github.com/pypi/warehouse/pull/8111 for the history on that.
The feature request of adding an Admin utility to trigger a reindex has been added in https://github.com/pypi/warehouse/pull/8822
Other reports of not being able to search for projects (networkx, alerts-in-ua.py, msci.sdk) all work proerly.

All existing mysteries have been answered!

To reopen this issue, I uploaded a package singletCode. I can install it via pip. However, I cannot find it on search and Google search. This was uploaded on 25th March. Is it just a matter of waiting for it to get indexed? Thank you for the help.


Investigate using AWS lambda

We could render our app on AWS lambda mate.

Maybe google cloud function as an alternative!

Also, if we separate static file rendering server from api server, we should introduce something like jwt token to authorize.

Yes!
On Tue, 28 Mar 2017 00:03 Hyunyoung Cho<EMAIL_ADDRESS>wrote:

Also, if we separate static file rendering server from api server, we
should introduce something like jwt token to authorize.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/reactGo/reactGo/issues/849#issuecomment-289432973,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADnMbWWwdzVAoJTsAfWUkEVBGIKzF0FYks5rp6UzgaJpZM4Mp18L
.


Gauge increments the metric value

Gauge should set the metric to an absolute value but rather increments the previous value by the set value.

fixed in v.1.4.0


feat(shareBehavior): add shareBehavior and its tests

This is bike-shedding, but wasn't this called "shareValue" before? Is that a better term? What would make the most sense for people new to the library? (FWIW: I found the name of "BehaviorSubject" to be essentially nonsense when I first started using Rx)

Also, wasn't there a problem with shareBehavior, @staltz? Or was that only for shareReplay? (The problem being that it creates a new Subject in it's multicast)

This is bike-shedding, but wasn't this called "shareValue" before? Is that a better term?

It was, but we discussed here and reached a consensus to align the sharing names to their respective subjects, for symmetry:

share uses Subject
shareReplay uses ReplaySubject
shareBehavior uses BehaviorSubject

To rename it to shareValue would mean also renaming BehaviorSubject to ValueSubject. I'm not contesting that actually. My brain got used to BehaviorSubject as a name, and perhaps to people migrating to v5 it would be easier to keep the same names, but I actually agree that ValueSubject would be more intuitive.

Also, wasn't there a problem with shareBehavior, @staltz? Or was that only for shareReplay?

Both shareBehavior and shareReplay "have problems" (this issue), and these tests are not covering those problems yet. So this PR here is agnostic to whatever happens to our decision regarding issue #453. When that's decided, we need to add more tests for these sharing operators.

Okay, thanks for the clarification. Looking over this in more detail it looks fine. Sorry, I was going through 30+ PRs or something yesterday. LOL.

merged with 97ff1ec, thanks @staltz


Asset validation failed

Description
Xcode 13
"react": "17.0.1",
"react-native": "0.64.0",
I'm having problems uploading the project to apple, I've tried several solutions
Note: for some reason the GENERAL tab in my project destination disappeared
Errors so far:
Asset validation failed (90023)
Missing required icon file. The bundle does not contain an app icon for iPad of exactly '152x152' pixels, in .png format for iOS versions >= 10.0. To support older operating systems, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface (ID: c2f8d801-e383-427d-a58e-c8b1e9895c25)

Asset validation failed (90704)
Missing App Icon. An app icon measuring 1024 by 1024 pixels in PNG format must be included in the Asset Catalog of apps built for iOS, iPadOS, or watchOS. Without this icon, apps cannot be submitted for review. For details, see https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/. (ID: 51029efb-1bd3-422f-8817-e366402a69fa)

Asset validation failed (90022)
Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 10.0. To support older versions of iOS, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See
https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface (ID: 1d7500a3-cbf2-4115-a849-997dfc09ca93)

Pod:
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '15.5'

target 'my_project' do
  config = use_native_modules!

  use_react_native!(:path => config["reactNativePath"])

  use_flipper!
  post_install do |installer|
    flipper_post_install(installer)

    installer.pods_project.targets.each do |target|
      if target.name == "React-Core.common-AccessibilityResources"
        target.remove_from_project
      end
    end

    react_native_post_install(installer)
    __apply_Xcode_12_5_M1_post_install_workaround(installer)
    `sed -i -e  $'s/__IPHONE_10_0/__IPHONE_15_5/' Pods/RCT-Folly/folly/portability/Time.h`

    copy_pods_resources_path = "Pods/Target Support Files/Pods-my_project/Pods-my_project-resources.sh"
    string_to_replace = '--compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"'
    assets_compile_with_app_icon_arguments = '--compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${BUILD_DIR}/assetcatalog_generated_info.plist"'
    text = File.read(copy_pods_resources_path)
    new_contents = text.gsub(string_to_replace, assets_compile_with_app_icon_arguments)
    File.open(copy_pods_resources_path, "w") {|file| file.puts new_contents }

  end

  target 'my_projectTests' do
    inherit! :complete
    # Pods for testing
  end

end

target 'my_project-tvOS' do
  # Pods for my_project-tvOS

  target 'my_project-tvOSTests' do
    inherit! :search_paths
    # Pods for testing
  end
end

target 'my_projectNotificationServiceExtension' do
  pod 'OneSignal', '>= 3.0', '< 4.0'
end

Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>CFBundleDevelopmentRegion</key>
	<string>en</string>
	<key>CFBundleDisplayName</key>
	<string>XXXX</string>
	<key>CFBundleExecutable</key>
	<string>$(EXECUTABLE_NAME)</string>
	<key>CFBundleIconName</key>
	<string>AppIcon</string>
	<key>CFBundleIcons</key>
	<dict>
		<key>CFBundlePrimaryIcon</key>
		<dict>
			<key>CFBundleIconName</key>
			<string>AppIcon</string>
			<key>CFBundleIconFiles</key>
			<array>
				<string>20x20.png</string>
				<string>29x29.png</string>
				<string>40x40.png</string>
				<string>50x50.png</string>
				<string>57x57.png</string>
				<string>58x58.png</string>
				<string>60x60.png</string>
				<string>72x72.png</string>
				<string>76x76.png</string>
				<string>80x80.png</string>
				<string>87x87.png</string>
				<string>100x100.png</string>
				<string>114x114.png</string>
				<string>120x120.png</string>
				<string>144x144.png</string>
				<string>152x152.png</string>
				<string>167x167.png</string>
				<string>180x180.png</string>
				<string>1024x1024.png</string>
			</array>
			<key>UIPrerenderedIcon</key>
			<false/>
		</dict>
		<key>UINewsstandIcon</key>
		<dict>
			<key>CFBundleIconFiles</key>
			<array>
				<string></string>
			</array>
			<key>UINewsstandBindingType</key>
			<string>UINewsstandBindingTypeMagazine</string>
			<key>UINewsstandBindingEdge</key>
			<string>UINewsstandBindingEdgeLeft</string>
		</dict>
	</dict>
	<key>CFBundleIcons</key>
	<dict/>
	<key>CFBundleIdentifier</key>
	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>$(PRODUCT_NAME)</string>
	<key>CFBundlePackageType</key>
	<string>APPL</string>
	<key>CFBundleShortVersionString</key>
	<string>$(MARKETING_VERSION)</string>
	<key>CFBundleSignature</key>
	<string>????</string>
	<key>CFBundleURLTypes</key>
	<array>
		<dict>
			<key>CFBundleTypeRole</key>
			<string>Editor</string>
			<key>CFBundleURLSchemes</key>
			<array>
				<string>com.googleusercontent.apps.703084581804-fumcmm3perbsbbf3trp6nub0p03g02kl</string>
			</array>
		</dict>
	</array>
	<key>CFBundleVersion</key>
	<string>$(CURRENT_PROJECT_VERSION)</string>
	<key>LSRequiresIPhoneOS</key>
	<true/>
	<key>NSAppTransportSecurity</key>
	<dict>
		<key>NSAllowsArbitraryLoads</key>
		<true/>
	</dict>
	<key>NSCameraUsageDescription</key>
	<string>The application allows you to capture a photo to use on your profile or in your rooms, using your camera.</string>
	<key>NSLocationWhenInUseUsageDescription</key>
	<string>The application records your location to more quickly notify you of message delivery.</string>
	<key>NSPhotoLibraryUsageDescription</key>
	<string>The application allows you to capture a photo to use on your profile or in your rooms, using your gallery.</string>
	<key>UIAppFonts</key>
	<array>
		<string>Ionicons.ttf</string>
		<string>AntDesign.ttf</string>
		<string>Entypo.ttf</string>
		<string>EvilIcons.ttf</string>
		<string>Feather.ttf</string>
		<string>FontAwesome.ttf</string>
		<string>FontAwesome5_Brands.ttf</string>
		<string>FontAwesome5_Regular.ttf</string>
		<string>FontAwesome5_Solid.ttf</string>
		<string>Fontisto.ttf</string>
		<string>Foundation.ttf</string>
		<string>MaterialCommunityIcons.ttf</string>
		<string>MaterialIcons.ttf</string>
		<string>Octicons.ttf</string>
		<string>SimpleLineIcons.ttf</string>
		<string>Zocial.ttf</string>
		<string>ubuntu-bold.ttf</string>
		<string>ubuntu-medium-italic.ttf</string>
	</array>
	<key>UIBackgroundModes</key>
	<array>
		<string>remote-notification</string>
	</array>
	<key>UILaunchStoryboardName</key>
	<string>LaunchScreen</string>
	<key>UIRequiredDeviceCapabilities</key>
	<array>
		<string>armv7</string>
	</array>
	<key>UIRequiresFullScreen</key>
	<true/>
	<key>UISupportedInterfaceOrientations</key>
	<array>
		<string>UIInterfaceOrientationPortrait</string>
		<string>UIInterfaceOrientationLandscapeLeft</string>
		<string>UIInterfaceOrientationLandscapeRight</string>
	</array>
	<key>UIViewControllerBasedStatusBarAppearance</key>
	<false/>
	<key>XSAppIconAssets</key>
	<string>Media.xcassets/AppIcons.appiconset</string>
</dict>
</plist>

Version
0.64
Output of npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 12.4
CPU: (8) x64 Intel Core 2 Duo P9xxx (Penryn Class Core 2)
Memory: 787.92 MB / 7.91 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.15.1 - /usr/local/bin/node
Yarn: Not Found
npm: 7.24.2 - ~/Documents/my_project/node_modules/.bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 13.4/13F17a - /usr/bin/xcodebuild
Languages:
Java: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
go up to apple
Snack, code example, screenshot, or link to a repository
in the description

Asset validation failed (90023)
Missing required icon file. The bundle does not contain an app icon for iPad of exactly '152x152' pixels, in .png format for iOS versions >= 10.0. To support older operating systems, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface (ID: c2f8d801-e383-427d-a58e-c8b1e9895c25)
Asset validation failed (90704)
Missing App Icon. An app icon measuring 1024 by 1024 pixels in PNG format must be included in the Asset Catalog of apps built for iOS, iPadOS, or watchOS. Without this icon, apps cannot be submitted for review. For details, see https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/. (ID: 51029efb-1bd3-422f-8817-e366402a69fa)
Asset validation failed (90022)
Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 10.0. To support older versions of iOS, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See
https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface[](https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface) (ID: 1d7500a3-cbf2-4115-a849-997dfc09ca93)

Have you provided the missing icons that are requested in this error message?
Also this is not necessarily related to React Native

Asset validation failed (90023)
Missing required icon file. The bundle does not contain an app icon for iPad of exactly '152x152' pixels, in .png format for iOS versions >= 10.0. To support older operating systems, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See [https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface](https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface[](https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface)) (ID: c2f8d801-e383-427d-a58e-c8b1e9895c25)
Asset validation failed (90704)
Missing App Icon. An app icon measuring 1024 by 1024 pixels in PNG format must be included in the Asset Catalog of apps built for iOS, iPadOS, or watchOS. Without this icon, apps cannot be submitted for review. For details, see [https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/.](https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/.[](https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/.)) (ID: 51029efb-1bd3-422f-8817-e366402a69fa)
Asset validation failed (90022)
Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 10.0. To support older versions of iOS, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See
[https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface[](https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface)](https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface[](https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface)) (ID: 1d7500a3-cbf2-4115-a849-997dfc09ca93)

Have you provided the missing icons that are requested in this error message? Also this is not necessarily related to React Native

I provided yes, and I opened it here because in version 63 I didn't have this problem

I provided yes, and I opened it here because in version 63 I didn't have this problem

I'm sorry but we're at RN 0.69 and we can't offer support for the RN version you're using as it's 2+ years old. I'd suggest to try against the latest version of RN and re-open if the issue persists

I provided yes, and I opened it here because in version 63 I didn't have this problem

I'm sorry but we're at RN 0.69 and we can't offer support for the RN version you're using as it's 2+ years old. I'd suggest to try against the latest version of RN and re-open if the issue persists

Sorry, I have version 0.68.2 and I was opening the package-Json of an example project.


Is Rigidbody supposed to be compatible with the TransformControls of Threejs

Maybe related to this issue #53, but I wanted to know if the Rigidbody component is supposed to be compatible with the ThreeJS TransformControls.
I'm building a game engine and react-three-rapier seems to be the best physic engine for it, but the thing is when I want to drag an item that has physic with my TransformControls implementation it seems buggy.
I tried on a vanilla react-three-fiber and it seems to be buggy as well.
Here is my dirt codesandbox that represents the issue.
https://codesandbox.io/p/github/fgarrec0397/rapier-issue/draft/nostalgic-sammet?file=%2Fsrc%2FApp.tsx
Just drag the cube and you will see what I'm talking about.
Thanks a lot!

When you wrap a scene object in a rigid body, the physics engine takes over control of the scene object, so anything else that wants to modify it will directly compete with it. The solution here would involve finding a way to pause the physics simulation while the transform controls are being used, and having them update the controlling rigidbody's transform instead of the scene object's.

That's a good strategy! The problem is if the physic is paused the setTranslation method doesn't work right?
Maybe I'm wrong, but from the RapierJS documentation it's the only way to move a Rigidbody and the position attribute seems to only work on the first render

With the last release it fixed my problem, so I will close this issue. Thanks!


Discuss: Extend guide with other translation repository strategies

Hi,
During the searches that led me to discover this nice guide, I found that there were at least two other translation repository strategies used by sphinx-doc projects, aside of the 'mono-branch' one described ATM:

Dual branch: translations are maintained in a separate, translation dedicated, branch.
I have to make a second pass to grasp the pros of this one and see if some use language specific branches.
Dual repo: translations are maintained in a separate repo.
Major pro of this strategy is avoiding cluttering the main repo history with translations commits.
Again, I have to dig deeper to get all the pros and cons.

If you don't mind, I'll announce publishing of this guide source and RFC to this in the few most significant issues where I've found the guide mentioned :)
Thanks again for sharing this
TY
J

Sure, feel free to share it!


Tooltips without white space overflow background

Version & browser
0.19.1 in Chrome 64.0.3282.186
Which component
Tooltips
Steps to reproduce the problem
Add a tooltip with a long text without white space
https://codepen.io/anon/pen/paMXEP (hover the red asterisk)
Expected behavior
Tooltip should be as long as the text
Actual behavior
Tooltip background is cut, but the text overflows it

this is actually a css problem. you can fix this by adding:
.tooltip-inner {
  max-width: unset !important;
}

Ah, I see it's from Bootstrap itself and since I am using bootstrap-scss it is controllable via $tooltip-max-width. 👍


pull request for e2e test at 11/16/2016 07:45:08

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Sniff for strings containing a placeholder but no translator comment

Strings that contain placeholders (such as __( 'Howdy, %s' )) should always have a corresponding /* translators: ...*/ comment above it that provides information about the placeholder value.
AFAIK this is not [yet] a requirement or recommendation in WP's coding standards, but I think it should be.
Can such a sniff can be implemented?

Yes, a sniff should be possible. We would check for %s within a i18n function and then check if there is a translator comment before it.

Closing as duplicate of #423


Feature: Replace GroupType with GroupLevel in dfSummary.

Feature Details
Level makes more sense than type to RBQM team.
Example Code

Possible Implementation

Additional Comments

makes sense- assuming we would then want to change GroupType to GroupLevel in all functions and dfs?


Knowledge - Files shown in Pending state for a very long time after using Include all files option to ingest all files. After long delay the state gets to Ingested for all most all files without showing "ingesting" state.

Steps to reproduce the problem:

Create an agent with knowledge from coral.org
Once sync is completed for 250 files, use include all files options to ingest files.

Notice that user will be stuck in this state for a long time (~7.5 minutes in my case) after which we will see the file status changes to "ingested".

During this 7.5 minutes , when you scroll down we can see the file approval for the files happening sequentially.
But once i see the approval for all the files done , all most all files gets ingested very quickly. I saw only few files get into "ingesting" state . Most of them reported "Ingested" state directly  from "Pending" state.
During the time when i see the files are in "Pending" state I am actually able to see ingestion of many of the files being already complete when running otto8 runs command. API calls done ui -https://test.otto8.ai/api/agents/<agent-id>/knowledge-sources/<source-id>/knowledge-files hangs and does not return.
Related slack thread - https://acorn-io.slack.com/archives/C07FZ46QA2J/p1732302661791439
Agent - https://test.otto8.ai/admin/agents/a19vlp5

During the time when ingestion is in progress , i also see the server response for api calls relating to other agents also degrading. I saw that clicking on editing other agents or even listing agents was taking very long time.

Tested with latest build. This issue is not seen anymore.


The order confirmation email is not sent

Hello,
I had an issue with 1.0.6 (https://github.com/PayboxByVerifone/Magento2/issues/6), fixed in 1.0.7, but it seems to be back since 1.0.8 (with Magento 2.2.6).
My confirmation mails are not sent after payment.
After payment, status is OK at Processing.
In the orders notes I can see:
"You notified customer about invoice #XXXXXXX"
But Order & Account Information says "The order confirmation email is not sent".
We have customers feedback telling they did not get the messages.
Any idea on what could be wrong please ?

Well, looking a little further, "You notified customer about invoice #%1." seems to happen when email is sent:
if ($invoice && !$invoice->getEmailSent()) {
...
$order->addStatusHistoryComment(__('You notified customer about invoice #%1.', $invoice->getIncrementId()))
->setIsCustomerNotified(true)
->save();
...
}
So the payment gateway seems to do the job.. ?
Configuration is OK, and server OK too.
As admin I receive the confirmation mails as my address is in "Send Invoice Email Copy To" field in the configuration.
Maybe I should just look at an SMTP service to upper my sending/receiving rates.. ?
Could you please confirm everything works OK in the gateway ?


new k2cli jenkins job should include spinning up a full cluster

k2cli is our officially supported option for cluster interactions.  we should be using in our ci job.

being done as part of the k2cli issue:  samsung-cnct/k2cli#79


Can Detox deal with http calls (as we do with Cypress in web development)?

Coming from web development and being quite a fan of Cypress.io, I'd like to know how to deal with the following use cases with Detox:
I'd like to spy http requests sent by my app, and possibly get some information, for instance an authentication token so that I can initialize datasets before running tests or check changes in database (then I may need the ID of the element just created).
I could understand that one says "Detox acts as a real user, then doesn't have access to http requests".
Another great thing allowed by Cypress.io is that we can log in through an HTTP call, which prevents from having a single point of failure (the authentication screen) for a lot of tests. Is there a way to do so with Detox ?

Not really possible. If you use React Native's JS network APIs, you can perhaps mock those to do what you'd like.


Removing status.nixos.org (only static html/css/js)

because it is being moved to a separate repository (https://github.com/nixos/nixos-status) to be deployed to Netlify, like we are already doing for https://nixos.org and https://search.nixos.org.
Why
The reason for this change was that we want to add similar design to https://status.nixos.org as we have it on https://nixos.org. For that it would be nice to have similar workflow as we already have for https://github.com/nixos/nixos-homepage and https://github.com/nixos/nixos-search. And who knows maybe that would allow us to improve https://status.nixos.org page even further.
As we did with https://nixos.org the point of moving is not to move it to Netlify, but to make https://status.nixos.org a static website that we can deploy anywhere. The reasons why Netlify was selected was already discussed when we had this discussion regarding moving https://nixos.org.
How
And as it was the problem with https://nixos.org the migration is not as straightforward as we would like. We will have to move this in few steps:

[x] 1. Point monitoring.nixos.org to eris's IP (like we currently do for status.nixos.org)

[x] 2. Serve https://status.nixos.org/prometheus and https://status.nixos.org/grafana under subdomain alongside existing domain. The proposed subdomain: https://monitoring.nixos.org/prometheus and https://monitoring.nixos.org/grafana. #138

[x] 3. Move status html/js/css to a static page and deploy to Netlify. We need to create proxy for /grafana and /prometheus which point to subdomain. https://github.com/NixOS/nixos-status/pull/3

[x] 4. Change DNS for status.nixos.org to point at Netlify.

[x] 5. Remove status html/css/js and remove serving status.nixos.org with erin. This PR, #137.

[x] 6. Move any issues regarding status page to https://github.com/nixos/nixos-status.

Have I missed something?

I'd prefer keep grafana and prometheus on the same domain, with a path. This is in case more tools get put up or something to that effect.

@grahamc why would be a bad idea having each tool per subdomain? We don't know what the future holds and we don't want to paint our-self again in the corner like we did with nixos.org and status.nixos.org. I don't think it costs us anything.
On the other side I'm fine with what ever is decided. I thought I would bring this up.

Would my "4 step" plan create any (significant) downtime?
Is something else missing from the list?

It is not trivial to add new records, and I don't want to be in a position where we're working around that by adding a subpath to grafana.nixos.org or something weird. Please use a single subdomain. Other than that, I think this will work okay.

@grahamc Maybe you didn't know but @edolstra moved DNS servers to Netlify as well and it is a single click to add more. Even sharing the access to this is now possible.
But yeah, if you still like this is not good, i'll use monitoring.nixos.org domain. Can you be more specific where about prometheus and grafana URL?

Ah, nice. However, I would still prefer a single domain for now. Let's do monitoring.nixos.org/prometheus, monitoring.nixos.org/grafana and the root page can be trivial redirect to status.nixos.org where we can maintain the index.

PR updated to use monitoring.nixos.org.

Update:

step 1: monitoring.nixos.org now pointing to <IP_ADDRESS> (erin).
step 2: https://github.com/NixOS/nixos-org-configurations/pull/138
step 3: https://github.com/NixOS/nixos-status/pull/3

merged master since #138 was merged and deployed.

I moved further and redirect status.nixos.org domain at netlify. Now all that needs to be done is a clean up.

@edolstra this PR is now ready to be merged and eris redeployed.

I tranfered all the issues/prs to nixos-status repo. I consider this migration done.

I tranfered all the issues/prs to nixos-status repo. I consider this migration done.


Quotation missing in code

Step 2: Run PowerShell commands - need a beginning quotation in the $AllowGroupCreation = "$False" line before False.

Hello @tjclark2. Thanks for the feedback! Can you please tell us to which article this applies?

Hey Denise!
Sorry – here is the article I mentioned:
Manage who can create Microsoft 365 Groups | Microsoft Docshttps://docs.microsoft.com/en-us/microsoft-365/solutions/manage-creation-of-groups?view=o365-worldwide
Respectfully…
Thomas J. Clark
Consultant | Microsoft Federal
954.375.3649  | thomas.clark<EMAIL_ADDRESS>[MSFT_logo_Print_small]
From: Denise Vangel-MSFT<EMAIL_ADDRESS>Sent: Monday, December 7, 2020 2:25 PM
To: MicrosoftDocs/microsoft-365-docs<EMAIL_ADDRESS>Cc: Thomas Clark<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/microsoft-365-docs] Quotation missing in code (#3654)
Hello @tjclark2https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftjclark2&data=04|01|thomas.clark%40microsoft.com|2d81c8cd4303491baafb08d89aee34cf|72f988bf86f141af91ab2d7cd011db47|1|0|637429695161449707|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Ycxi75Gyj33iWifPF8DgIUCAaZJHex8zVoDADK6L5x8%3D&reserved=0. Thanks for the feedback! Can you please tell us to which article this applies?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fissues%2F3654%23issuecomment-740159674&data=04|01|thomas.clark%40microsoft.com|2d81c8cd4303491baafb08d89aee34cf|72f988bf86f141af91ab2d7cd011db47|1|0|637429695161459709|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=uxxPCBWlm0EZ0rJkMK%2BR8t0qumiVYYd8eHflkI355UI%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGC3BE24GM7BIA2N3DQK6LSTU22VANCNFSM4UQT2KRQ&data=04|01|thomas.clark%40microsoft.com|2d81c8cd4303491baafb08d89aee34cf|72f988bf86f141af91ab2d7cd011db47|1|0|637429695161459709|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=8v8c8CA5ZQW7rxfNQY7DZPtQL6Y6tnzmao8Q30i5gAM%3D&reserved=0.

@tjclark2 Thank you for the feedback. Since $false is a boolean value. we don't need a quotation. I tested the same and it works. Let me know if you receive any specific error when you run without a quotation or as it is in the document.
Thanks
Sri

Hey Sri!
I went to the site and it looks good now. When I reported the problem there was a quotation mark at the end of $False. When we tested it, it didn't work unless we added the matching quotation mark in the beginning. Removing both works as well. Thank you!
Respectfully...
Thomas J. Clark
Consultant | Microsoft Federal
954.375.3649  | thomas.clark<EMAIL_ADDRESS>[MSFT_logo_Print_small]
From: Sriraman M S<EMAIL_ADDRESS>Sent: Monday, December 14, 2020 4:42 AM
To: MicrosoftDocs/microsoft-365-docs<EMAIL_ADDRESS>Cc: Thomas Clark<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/microsoft-365-docs] Quotation missing in code (#3654)
@tjclark2https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftjclark2&data=04|01|thomas.clark%40microsoft.com|b1961767e3f0431a822b08d8a01ce4ee|72f988bf86f141af91ab2d7cd011db47|1|0|637435393247622734|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=aQuy7mX63CR03OF1OG71Q0%2BmrCeoEIknatDWpOxQky0%3D&reserved=0 Thank you for the feedback. Since $false is a boolean value. we don't need a quotation. I tested the same and it works. Let me know if you receive any specific error when you run without a quotation or as it is in the document.
Thanks
Sri

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fissues%2F3654%23issuecomment-744351620&data=04|01|thomas.clark%40microsoft.com|b1961767e3f0431a822b08d8a01ce4ee|72f988bf86f141af91ab2d7cd011db47|1|0|637435393247632724|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=gJFfcoQHg8G9edxXB1NxyrR7t6dn65QH7ZgpxVwFLjI%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGC3BFMCJMYQK2KLAT44RDSUXTXVANCNFSM4UQT2KRQ&data=04|01|thomas.clark%40microsoft.com|b1961767e3f0431a822b08d8a01ce4ee|72f988bf86f141af91ab2d7cd011db47|1|0|637435393247632724|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=iFs9Ba6Ehjw2XPuOeD1yiMRHk8Mcy1DL0O6Z%2BgJM0ms%3D&reserved=0.

@msbemba Thank you very much for the contribution and sharing this explanation. @tjclark2 Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Backfilling bootstrap v4.0.0

Love it !
Thanks

Ripple - wave-effect (waves-attach) are not present anymore ?

Hi @djibe waves have been removed from the latest version (by the way, textarea auto resize is removed, too). The reason is that these third party plugins can be used without any modifications, unlike pickadate as its CSS and JavaScript have to be modified to work with Material. Leaving out these third party plugins can 1) bring down the size of the CSS and JavaScript of this project a bit, 2)  provide some flexibility for developers to use their preferred waves plugin. Having said that, the initial idea included a migration doc covering these changes but I was not able to write that up in time of the stable v4 release.
In the meantime, a quick guide here:

The JavaScript plugin used in alpha and beta to adjust the height of the textarea automatically (i.e. textarea-autosize) is: https://github.com/javierjulio/textarea-autosize
The JavaScript plugin used in alpha and beta to create the ripple effect on click (i.e. waves) is : http://fian.my.id/Waves/#start

Hi @djibe I have created #167 to track migration doc progress


SELinux is preventing PROGRAM from write access on the file PROGRAM_PATHNAME

Describe the bug

After falco 0.31.0-1 update, there are thousands AVCs similar to the one below
SELinux is preventing hostname from write access on the file /usr/bin/hostname
Downgrading to falco 0.30.0-1 resolves the issue (makes AVCs to go away).
It seems, in security context type that is not unconfined_t, each exec call generates an AVC "SELinux is preventing PROGRAM from write access on the file PROGRAM_PATHNAME". For example, there are AVCs about /usr/sbin/unix_chkpwd, /usr/lib64/sa/sadc, /usr/libexec/postfix/cleanup, etc.
When a trivial C "Hello world" program is executed from an unconfined shell via runcon, the similar AVC happens (no matter if statically or dynamically linked). For example
type=AVC msg=audit(020822 20:40:05.529:18092) : avc:  denied  { write } for  pid=928343 comm=hello_static name=hello_static dev="dm-6" ino=301756 scontext=system_u:system_r:cockpit_ws_t:s0 tcontext=unconfined_u:object_r:hostname_exec_t:s0 tclass=file permissive=0

It seems that AVC happens inside falco kernel module right before exit from execve() call to the hello program address space. The kernel and user backtraces at AVC event are (as reported by perf)
hello_static 1234164 [045]<PHONE_NUMBER>79: avc:selinux_audited: requested=0x4 denied=0x4 audited=0x4 result=-13 scontext=system_u:system_r:cockpit_ws_t:s0 tcontext=unconfined_u:object_r:hostname_exec_t:s0 tclass=file
	ffffffffa3587003 avc_audit_post_callback+0x1d3 ([kernel.kallsyms])
	ffffffffa3587003 avc_audit_post_callback+0x1d3 ([kernel.kallsyms])
	ffffffffa35a8f31 common_lsm_audit+0x111 ([kernel.kallsyms])
	ffffffffa3587a99 slow_avc_audit+0x69 ([kernel.kallsyms])
	ffffffffa358a2fb audit_inode_permission+0x6b ([kernel.kallsyms])
	ffffffffa358ff3f selinux_inode_permission+0x16f ([kernel.kallsyms])
	ffffffffa3583bc0 security_inode_permission+0x30 ([kernel.kallsyms])
	ffffffffc0a04759 f_proc_startupdate+0x5a9 ([kernel.kallsyms])
	ffffffffc0a00956 record_event_consumer.part.0+0x236 ([kernel.kallsyms])
	ffffffffc0a01a22 record_event_all_consumers+0x52 ([kernel.kallsyms])         <----- suspicious
	ffffffffc0a01e65 syscall_exit_probe+0x105 ([kernel.kallsyms])
	ffffffffa3171002 syscall_exit_to_user_mode_prepare+0x112 ([kernel.kallsyms])
	ffffffffa3c54e49 syscall_exit_to_user_mode+0x9 ([kernel.kallsyms])
	ffffffffa3c50ff8 do_syscall_64+0x48 ([kernel.kallsyms])
	ffffffffa3e0007c entry_SYSCALL_64_after_hwframe+0x44 ([kernel.kallsyms])
	          401550 _start+0x0 (/usr/bin/hello_static)

The issue has been also reported as Red Hat Bugzilla – Bug 2052346.
How to reproduce it

Install falco-0.31.0-1.x86_64
Start falco.service

# systemctl start falco.service

build hello_static program

# cat - > hello.c <<EOF
#include <stdio.h>
int main() {
    printf("Hello !!!\n");
}
EOF

# dnf install glibc-static.x86_64
# gcc -static -o hello_static hello.c

Install hello_static program

# mv hello_static /usr/bin/
# chown root:root /usr/bin/hello_static
# chcon -t hostname_exec_t /usr/bin/hello_static

Make and install SELinux module that grants runcon the entrypoint to hello program

# cat - > hello_static.te <<EOF
module hello_static 1.0;
require {
	type hostname_exec_t;
	type cockpit_ws_t;
	class file entrypoint;
}
allow cockpit_ws_t hostname_exec_t:file entrypoint;
EOF

# rm -f hello_static.mod hello_static.pp
# checkmodule -M -m -o hello_static.mod hello_static.te
# semodule_package -o hello_static.pp -m hello_static.mod
# semodule -i hello_static.pp

Run hello_static via runcon to get the AVC

# runcon system_u:system_r:cockpit_ws_t:s0  /usr/bin/hello_static

Search the journal for the AVC

# journalctl -b | grep SELinux
Feb 08 20:26:06 host.example.com setroubleshoot[927067]: SELinux is preventing hello_static from write access on the file hello_static. For complete SELinux messages run: sealert -l bfcb5073-3bca-42c7-934b-ca92840f8c8b

Print AVC details (use actual UUID)

# sealert -l bfcb5073-3bca-42c7-934b-ca92840f8c8b

Use perf to get the kernel and user backtraces

# dnf install -y perf
# perf record -o perf_static.data -a -g --call-graph dwarf -e avc:selinux_audited -- runcon system_u:system_r:cockpit_ws_t:s0 /usr/bin/hello_static
# perf script -i perf_static.data
<see the backtrace example above>

Expected behaviour

No AVCs.
Screenshots

Environment

Falco version:

0.31.0-1.x86_64

System info:
"machine": "x86_64",
"nodename": "host.example.com",
"release": "5.15.11-200.fc35.x86_64",
"sysname": "Linux",
"version": "1 SMP Wed Dec 22 15:41:11 UTC 2021"

Cloud provider or hardware configuration:
AMD Ryzen Threadripper 3960X 24-Core Processor
RAM 128 GiB
OS:

NAME="Fedora Linux"
VERSION="35 (Workstation Edition)"
ID=fedora
VERSION_ID=35
VERSION_CODENAME=""
PLATFORM_ID="platform:f35"
PRETTY_NAME="Fedora Linux 35 (Workstation Edition)"
CPE_NAME="cpe:/o:fedoraproject:fedora:35"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f35/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=35
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=35
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Workstation Edition"
VARIANT_ID=workstation

Kernel:

Linux glaive.castle.aimk.com 5.15.11-200.fc35.x86_64 #1 SMP Wed Dec 22 15:41:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Installation method:

# falcosecurity-rpm - packages by falcosecurity
[falcosecurity-rpm]
name=falcosecurity-rpm
baseurl=https://download.falco.org/packages/rpm
gpgcheck=1
gpgkey=https://falco.org/repo/falcosecurity-3672BA8F.asc
repo_gpgcheck=0
enabled=1
Additional context

The hello program security context type is set to hostname_exec_t (the same as for /usr/bin/hostname). The hello program is run in cockpit_ws_t domain (to simulate calling /usr/bin/hostname from /usr/share/cockpit/motd/update-motd script).
record_event_all_consumers() function is a part of main.c.
Red Hat Bugzilla – Bug 2052346 for more details including

AVC List
AVC details
Audit records
Strace output

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/reopen

@FedeDP: Reopened this issue.

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Add static Reflect function to Vector3

This adds a static function to Vector3 to Reflect a vector off the plane defined by a normal

@AlvaroHerreroDev can you add the normalized comment to the doc of the normal parameter ?


Show type information for field completions

fixes https://github.com/jwilm/racerd/issues/26

Screenshot of it working:

Note that non scalar primitive types do not show up properly. On completing the following code:
struct Foo<'a> {
 reference: &'a u8,
 array: [u8; 5],
 slice: &'a [u8],
}

fn foo(x: Foo) {
 x.
}

the following completions show up. We might want to add a TyPrimitive to handle &T, &[T; N] and &[T] (not sure if we should attempt to work with function types).

Awesome work, thanks @Manishearth

Huzzah! :100:

(Will do the racer release tonight when I get home)


Add functions to deal easily with paths

[x] parentdir
[x] filename
[x] filestem
[x] fileexts
[x] fileext

Done in c4d239a.


fix people

temporarily added api.hive.blog as rpc node

This is already being fixed. You can test on D.Buzz, you can search for people with @ and also see their HP @gacbaluyot


Icon missing on steam game list [BUG]

My games are showing this little icon on the steam list instead of the games icon, game icons on streamgrid are working properly

Hey,
Thanks for your issue. I will take a look before the end of the week.
The icon on the uwphook grid are pulled from the steam api but from the game directly which is sometimes better.
However it's pretty weird that you get the same game icon for the 3 games.
Will keep you in touch.

Hello @XmutanoX,
Find below the last release with the fix. Enjoy !
https://github.com/stevealexandre/UWPHook/releases/tag/2.15.1
Let my know if the issue is fixed on your side to close the issue.

issue is fixed! Thanks for the help


DNN-8396: added a fix for web request cache provider which throws …

…exceptions some times.

Code review done


Musescore dmg cannot find app.

The code for "musescore" is looking for the musescore 3.app in the dmg download (download still works fine), but the app is now version 4 (musescore 4.app) so it is failing to install.  Changing the install code to "musescore 4" worked to fix the label, however a more long term fix would to remove the reliance on a version #.
Error message:
2023-01-27 18:57:36 : ERROR : musescore : ERROR: could not find: /Volumes/MuseScore-4.0.1/MuseScore 3.app
2023-01-27 18:57:36 : REQ   : musescore : ################## End Installomator, exit code 8
With Corrected Code:
2023-01-27 19:09:16 : INFO  : musescore : Verifying: /Volumes/MuseScore-4.0.1/MuseScore 4.app
2023-01-27 19:09:41 : INFO  : musescore : Copy /Volumes/MuseScore-4.0.1/MuseScore 4.app to /Applications

This was using installomator 10.2 script.

fixed in #872

now fixed in #883


Android support improvements

+1

Rerolled to remove commits on sensors and hopefully pass testing. It really does need the full mnit, event after the 2nd try to PR!

+1


Add Support for Data Flow Task Launcher Sink

Fixes #21 and Fixes #22

Change sftp.task-launcher-output from boolean to enum (NONE, STANDALONE, DATAFLOW). STANDALONE behaves as before with sftp.task-launcher-output=true. DATAFLOW outputs a Task Launch Request compatible with the dataflow-task-launcher-sink.

NOTE this is a breaking change, so more to follow:

The last commit changes the sftp.batch property prefix to sftp.task and removes job from property names. This is appropriate since the TaskLaunchRequest is provided by Spring-Cloud-Task, which is independent of, but supports Spring Batch. Since this PR adds the application-name property, task.application-name is more appropriate than batch.application-name and the same is true for all properties pertaining to the TLR.

Adds README content pertaining to Task Launch Requests.

Fixes the @ConditionalOnProperty intention in SftpSourceTaskLauncherConfiguration. The annotation had no effect since the method was only @Transformer and not @Bean.  Having this work correctly is required(convenient at least) for providing multiple sftp.task-launcher-output transformations.

two things i can across while testing so far:

when doing an app info the default type for sftp.task-launcher-output shows: <none> -- does that represent "no default value defined" or is it the rendering of NONE as shown in the description: Default is NONE`

when trying to define a stream with the following definition, it fails:

app register --name sftp --type source --uri file:////Users/cschaefer/work/sftp/apps/sftp-source-kafka/target/sftp-source-kafka-2.0.3.BUILD-SNAPSHOT.jar
app register --name log --type sink --uri maven://org.springframework.cloud.stream.app:log-sink-kafka:2.0.1.RELEASE
app register --name task-launcher-local --type sink --uri maven://org.springframework.cloud.stream.app:task-launcher-local-sink-kafka:2.0.1.RELEASE

stream create --name inboundSftp --definition "sftp --username=user --password=pass --host=<IP_ADDRESS> --port=6666 --allow-unknown-keys=true --task-launcher-output=DATAFLOW --remote-dir=/tmp/blah --resource-uri=file:////Users/cschaefer/work/dataflow/spring-cloud-dataflow-samples/batch/file-ingest/target/ingest-1.0.0.jar --data-source-url=jdbc:h2:tcp://localhost:19092/mem:dataflow --data-source-user-name=sa --local-file-path-parameter-value=/tmp/ --application-name=sftpTest | task-launcher-local" --deploy

with the following exception snippet:
2018-08-20 16:09:42.881  INFO 98648 --- [container-0-C-1] o.s.c.task.launcher.TaskLauncherSink     : Launching Task for the following uri null
2018-08-20 16:09:42.887 ERROR 98648 --- [container-0-C-1] o.s.integration.handler.LoggingHandler   : org.springframework.messaging.MessageHandlingException: nested exception is org.springframework.cloud.deployer.resource.support.ResourceNotResolvedException, failedMessage=GenericMessage [payload=byte[115], headers={sequenceNumber=1, file_remoteDirectory=/tmp/blah/, sequenceSize=1, deliveryAttempt=3, kafka_timestampType=CREATE_TIME, kafka_receivedMessageKey=null, kafka_receivedTopic=inboundSftp.sftp, kafka_offset=0, scst_nativeHeadersPresent=true, kafka_consumer=org.apache.kafka.clients.consumer.KafkaConsumer@128f1765, correlationId=b1b1a896-951f-e71f-2c76-1191ce89e31f, kafka_receivedPartitionId=0, contentType=application/json, kafka_receivedTimestamp=1534795779713}]

seems the resource-url isn't getting passed through (or my stream def is just wrong)?

Yeah, app-info always does that for enum AFAICT.

DATAFLOW will only work with task-launcher-dataflow (which is also in PR).  You need STANDALONE for the existing ones.

ah right, thanks. worked for me, merged in d498a0


Feature/csi endpoint update

This PR includes two changes:

Commit
Description

519dc39
Updates the Gopkg.toml file to fix the incorrect entry for the dependency golang.org/x/crypto

a19227e
CSI_ENDPOINT will now interpret a file path as an implicit UNIX socket file

Codecov Report

Merging #1017 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1017      +/-   ##
==========================================
- Coverage   34.19%   34.16%   -0.04%
==========================================
  Files          36       36
  Lines        2901     2901
==========================================
- Hits          992      991       -1
- Misses       1806     1807       +1
  Partials      103      103

Impacted Files
Coverage Δ

libstorage/api/types/types_localdevices.go
84.93% <0%> (-1.37%)
:arrow_down:

Continue to review full report at Codecov.

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


improved data-collapsed documentation

I have added the code fragment and a small comment to improve the data-collapse doc.

How can you store each state of node when I refresh the whole tree's data?

Relates to Issue #712

@blackat can you please rebase to resolve merge conflicts


Open File... selection is first file rather than last / In quick input move active item to the very first item in the list rather than the very last

This is inspired by #202367. This doesn't fix it completely as no fuzzy search is working, though at least it makes it easier to reveal stuff in all lists inside VS Code as now if the item was not visible it will appear at the top rather than at the very bottom.
See video for the new behaviour:
https://github.com/microsoft/vscode/assets/9883873/eca0a3e3-2e1c-4339-b8da-72d45816e96f

@microsoft-github-policy-service agree

@Yoyokrazy Hi Michael. What is the policy for contributions from people outside of Microsoft? Does it make sense for me to believe that this will be reviewed any time soon or should I assume that the review process will take at least a month?
Right now I have two possible paths:

Wait for this pull request to be reviewed and released in the VS Code
Create my own VS Code extension which fixes the problems with Open File... dialog

I'm fine with both, though would prefer the first one as you already have a lot of code written here, but if you understand that almost surely this feature will take a very long time to review then please tell me so I start working on the VS Code extension instead without having false expectations

@CrafterKolyan Sorry about the delay, I've gone ahead and assigned a more relevant dev to this and the linked issue.

@TylerLeonhardt Hi Tyler, any chance to review it during this week?

Hi @CrafterKolyan, I'm having a hard time understanding the actual change in behavior here. Can you help me understand a bit more? Perhaps 2 gifs that show the same thing with the difference?

Hi @TylerLeonhardt, see the video below
https://github.com/microsoft/vscode/assets/9883873/1167f2c6-e696-46ba-b17e-c69b3ed46c03
On the left you see the way Open File... currently works in VS Code
On the right you see the behaviour with this change
Currently it's harder to discover there's folder userData while typing user, because you will only see userActivity (and it will be the last option in the list)

@TylerLeonhardt any updates on the review? I'm not sure if my video helped you to understand the difference. Also I'm not sure if you asked me to do gifs because you need specifically gifs (because e.g. you can't watch video due to too restricting policy of Microsoft or something).

Hi @CrafterKolyan haven't forgotten about this but I'm a bit busy with some other things and a change like this I wanna take time and do some manual tests. The video you supplied is helpful! Thanks!

Is this still relevant?


extending URL proto will fail in general

Typically fails on safari/webkit.
You will have much better luck replacing window.URL by a custom URL that inherits and overrides
the native URL implementation.

I think I've tested it on Safari/WebKit ... are you saying the prototype is sealed?
What is failing exactly?

live test here: http://webreflection.github.io/url-search-params/test/

So the problem is not the URL, the problem is apparently HTMLAnchorElement.prototype
Do you have any better info about this bug? I can debug but it'll take a little while ... this is actually a regression introduced when I've decided to pollute <a> elements without testing WebKit and friends.
Very weird choice to have DOM prototype sealed, it's completely against polyfills :-/

First, typeof window.URL == 'object' here, not 'function'. I suggest to just check if window.URL exists.

using possible getters to feature detect is in general like seppuku as explained in here, always go for in or, in this case, improve the test so that /^function|object$/.test(typeof URL) would do it.
There are way more problems than that, but I am thinking if it's worth the hassle to "fix the impossible".
I'm still trying to wrap my head around this shenanigans for a non configurable and completely screwed descriptor in WebKit. I think like I should file a bug to them instead (I will)

For the record, this is the related WebKit bug I've just filed.

P.S. current version passes all tests that don't patch <a> and URL

Is this fixed now?

Epiphany (GNOME Web), Safari, and WebKit Nightly are all green:
http://webreflection.github.io/url-search-params/test/


Remove Patreon Button from the Launcher

This needs to be done for these branches:

[x] master - Pull Request created
[ ] master-4.0

This was discussed here https://discord.com/channels/500285081265635328/727168636770582581/907948594970099733

Same as in this issue https://github.com/stride3d/stride/issues/1187, this is not going to be ported to master-4.0.


display() - mapbox hover "help" doesn't display non-numeric data

0.86 (not data set specific)
import pixiedust
df=pixiedust.SampleData(2)
display(df)

Select Map chart type
As keys select Longitude and Latitude
As value select a numeric field (e.g. price) and a non-numeric field (e.g. name)
Choose mapbox as renderer
Hover over a marker

Expected behavior
The hover help/tool tip displays the values for the selected numeric field (e.g. price) and non-numeric field (e.g. name).
Actual behavior
The hover help/tool tip displays the values for the selected numeric field (e.g. price) only.
Steps to reproduce the behavior

Requires a re-work of the options for mapping. Probable fix is adding a new option for mapping renderers that allows user to specify fields only for pop-up display.

fixed in https://github.com/ibm-watson-data-lab/pixiedust/tree/mapbox-v2