Doc Feedback: OPA array comparison is wrong

The Array comparison is Rego is wrong,
In docs:
user == role[_]
Correct way:
user[_] == role[_]
Location : https://is.docs.wso2.com/en/latest/learn/using-opa-policies-for-adaptive-auth/
reference: https://www.openpolicyagent.org/docs/latest/policy-language/#array-comprehensions

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Or@aaaaa

Replace this sentence with a brief description of the awesome changes your PR has. 😊

✅ By submitting this PR, I have verified the following

[] Added descriptive name to PR

Your PR should NOT be called Update index.md since it does not help the maintainer understand what has been changed.
For example, if you create a Variables article inside the Python directory, the pull request title should be Python: add Variables article.
Other examples are Git: edit Git Commit article or PHP: create PHP section and add Data Structures article

[] Reviewed necessary formatting guidelines in CONTRIBUTING.md.
[] No plagiarized, duplicate or repetitive  content that has been directly copied from another source.

Haha

how to resolve this problem

Gg


modbus error: [connection] failed to connect[modbustcpclient()]; retrying in background

Hello everyone,
after upgrading from 0.1.0 to any recent version, I get the following error:
modbus error: [connection] failed to connect[modbustcpclient()]; retrying in background
I tried to delete the custom_component folder and manually reinstall different versions but had no success.
As it seems, something breaks on TCP level and no communication is possible.
Any idea how I could debug that error or why it happens on a clean installation?
Best regards
Christoph

I think I have found and fixed an issue which might cause that problem. Could you please check the release 2023.8.1?

you are the MAN,It works.. Thank you very, very much!


Learn Greetings in your First Day at the Office blanks typo

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

I have read and followed the how to open a pull request guide.

We have missed it in reviewing this PR, but you should always use a title that follow the PR guide when opening a PR.


Add an open date option to open the datepicker on a certain date

This addresses  #319 and #85 .
Let me know your thoughts.  Thanks!

Coverage decreased (-0.7%) to 98.258% when pulling 687d256a855dcb5ffbc72c98aa1cd5cf7abab525 on pdong:master into 4b085f4ac58e3b528f9b3edc491e5c22e37bff4c on charliekassel:master.

Thanks @pdong - this feature has been asked for a few times.
Due to an earlier merge this now has conflicts - can you take a look please?

Sorry for not keeping up to date with this; I'll take a look at resolving the merge conflict tonight. 👍

Coverage decreased (-0.7%) to 98.282% when pulling 4a7013c35ccafbe26da35bde729a39b689cd9105 on pdong:master into 5785111a206a6062113dd8024da03c064bfc1a22 on charliekassel:master.

@charliekassel should be able to merge now. Let me know if that works for you.

Coverage decreased (-0.6%) to 98.392% when pulling e71e1c0d5fae1efc4ae34b61b40864d140a69c42 on pdong:master into 0db6f1e4ba10538f6616c94517940022bd9a915d on charliekassel:master.

Coverage decreased (-0.3%) to 98.714% when pulling 0c8386a1dec88a3c178982a9f1644d8da0b4ba26 on pdong:master into 0db6f1e4ba10538f6616c94517940022bd9a915d on charliekassel:master.


Avoid concurrent device polling in daemon; add timeout

Apply a 30 second timeout to Android/iOS device polling.
If there's a device poll already in progress, skip polling for new
devices; wait for the first request to return/timeout.

One of several patches to fix #11124


Windows position is still being forgotten in multi-monitor setup

Even after https://github.com/danielbuechele/goofy-core/pull/1 it still doesn't work with multi-monitor setup.
With the latest version it only remembers size/position if app was closed on the main screen. If I move window to the second screen and reopen, it will be opened on the main screen with small size and some default position.
Example: external monitor + laptop. Monitor is the main screen.
What works:

Open Goofy on the main screen, resize, move but keep on the same screen, close, reopen.

What doesn't work:

Open Goofy on the main screen, move to the second screen (laptop), resize, close, reopen. It will be opened with default size/position on the main screen.

Am using electron-window-state in v3.4.3 which says it supports multi-monitor - will leave this open for now and confirm later in the week when I'm in the office and can plug in my second monitor

Going to unschedule this for now as I'm no longer on a second monitor.  If someone has one and would like to fix / send a PR, let me know and I'll be more than happy to merge!


A conceptual problem when used for mocking

First of all the directory structure within the DiskStorage persister is cumbersome and hard to understand. I will suggest a simpler structure. But I will create another issue for that probably later.
But the main point here is that when you are creating mock responses you often want to have multiple mock responses for the same uri. For examples a 404 response and a 200 response. This is not possible  today and kind of messes up the entire idea behind Regurgitator. So the question is if we should create a special MockStorage implementation that will support storage of different status codes and let the mock loader ask for the specific response code.
I think we should have a discussion about this.

Solved and will be a part of version 1.0


Handle probabilities (i.e. 1 in N chance effects)

Description
Handle the various probabilistic effects of things like the "Bloodstone" joker, lucky enhanced cards, etc. Currently, they're not taken into account at all.
Motivation
Some way to handle probabilities is definitely needed. Now I don't want to just roll the dice and have scores change based on whether, for example, a lucky card was triggered. I don't really have good ideas for this so far.
Some rough sketches:

Show a worst case and best case score (this would be a decent "best effort" as probabilistic effects in Balatro are usually binary: they apply or they don't)
Allow user to choose the result of the "dice rolls" (either on a global level (simpler) or per effect (more complicated))

Jokers:
Note that a lot of probabilistic jokers don't affect joker (e.g. Gros Michel)

Bloodstone
Oops! All 6s (meta)
Misprint (random value instead of a binary dice roll)

Modifiers:

Lucky enhancement

A range is what I went with for my calculator, but another feature that you might consider is showing the average scoring result which is probably more useful in cases where the range is very significant, for example:

I now show a mean and median in mine:

I've added handling of probabilities in https://github.com/kleinfreund/balatrolator/commit/a5b71896573120b70ce240a5c88b1b189d4b0624. I went with the following approach:
The calculator now determines the score using three different luck "modes": no luck (i.e. the lowest score possible), average luck, and all luck (i.e. the highest score possible).
"No luck" means no probabilistic effects are activated. This represents the lowest possible score one can get. This "mode" effectively behaves as the calculator did before this change: lucky cards, Bloodstone, and Oops! All 6s don't (and didn't) increase the score.
"All luck" is the other extreme: all probabilistic effects are always activated and they always have the best possible effect (lucky cards always add their +Mult, Bloodstone always triggers, and Misprint always adds its highest +Mult).
"Average luck" tries to produce a more or less expected score value. Instead of actually rolling any dice (which would produce different values every time), the probabilistic effects/values are averaged during scoring:

Lucky Cards: 4 +Mult (representing the 1 in 5 chance by dividing the enhancement's 20 +Mult by 5)
Misprint: 11.5 +Mult (the average of the 0 to 23 +Mult range of the joker)
Bloodstone: 4/3 xMult (representing the 1 in 3 chance of triggering a 2 xMult by instead always applying a 1.333 xMult)

Oops! All 6s doubles these effects (Lucky: 8 +Mult; Misprint: 11.5 +Mult, i.e. the same as it's not a 1 in N chance probability; Bloodstone: 5/3 xMult). I'm not totally sure, but I think one can't copy the Oops! All 6s effect, but I would need to check that.

You can't blueprint/brainstorm Oops! All 6s but you can have multiple of them and the effect stacks up to 100% chance.
Is there a reason not to the show the result of all modes at once (only when they're not all the same)?
Also, if Oops! All 6s makes the chance 100%, that probably aught to be reflected in the lower bound.

Also, if Oops! All 6s makes the chance 100%, that probably aught to be reflected in the lower bound.

Good call. In my first iteration I wasn't handling multiple Oops! All 6s and consequently didn't bother "raising" the lower bound if your jokers make you chances guarantees (like 2x Oops! All 6s would for Bloodstone). I fixed that now. Works for both Bloodstone and lucky cards (however unlikely that is in practice).

Is there a reason not to the show the result of all modes at once (only when they're not all the same)?

It's somewhat arbitrary, but I don't see a strong reason to show the three results if they're the same anyway.


Update all raw.githubusercontent.com apps to latest versions

For example:
https://github.com/lukesampson/scoop/search?q=lukesampson%2Fpsutils&unscoped_q=lukesampson%2Fpsutils
Perhaps we create a cron that checks all raw.githubusercontent.com apps, and updates them accordingly?
See also
https://github.com/lukesampson/scoop/search?q=raw.githubusercontent.com&unscoped_q=raw.githubusercontent.com

Implemented, all of them should have autoupdate


Warnings on builds and failure on tests due to access of [UIApplication applicationState] and [UIApplication statusBarOrientation] from a thread other than the main thread

Integration Method: CocoaPods
**Xcode Version: 9.0
Library Version: v3.2.0
Platform: iOS
Language: Objective-C
Description:  Warnings on builds and failure on tests due to access of [UIApplication applicationState] and [UIApplication statusBarOrientation] from a thread other than the main thread.
xCode is showing the following errors on build:

but it doesn't look like it's having a hard time pinpointing the location of the causes for the warnings because those marked location don't look like they have anything to do with it.
There's a note on the v3.2.0 release that made me thing this was addressed but it doesn't look like that's the case.
Expected Behavior: Would be nice if it didn't break the tests =)

Never mind. For whatever reason, I had to restart xCode for it to start working. Probably some caching issue...

I just got crash on what seems to be just that. Mixpanel (~> 2.9.9) is used by static framework I use.

Hey @gustavengvallthomascook all the UI main thread issues that we know about have been fixed in later versions of the library.

Yes thanks. Saw now that v3.2.0 had this fix.


pull request for e2e test at 01/26/2017 23:45:10

:white_check_mark: Validation status: passed
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.


fdp-play August 2022 Release

We have automatic release branches that tag versions of the library, so I don't think we need to create separate issues for releases.
Latest release PR: #34


Cppify

Several relatively small changes. Makes sure that NevolutionX builds properly against nxdk master, enables linking against libc++ (corrects #28 not linking), mounts the drives for compatibility with upcoming nxdk changes, tosses out folderparse and replaces it with winapi calls, plus some refactoring.
Please test that the file listing changes work - they should, but I wasn't able to properly test this yet because NevolutionX is crashy on my Xbox.

I decided to steal half of your Makefile changes in the meantime. Thanks and sorry.

Great stuff. Thanks!


gnu(4416)=10094

gap> time/60000*1.0;
28.5628
gap> Size(x);Collected(List(x,Size));ForAll(x,IsGroup);
10094
[ [ 4416, 10094 ] ]
true
gap>
Duration : 29 minutes with GAP 4.8.3 using package grpconst 2.5 under Windows Vista

Thanks - I suggest to switch to using https://github.com/alex-konovalov/gnu/blob/master/lib/grpconst.g - it produces nice report and must get timings on 32-bit Windows right, without overflows. Would you mind rerunning it by reading that file into GAP and then calling
r:=GnuByConstructAllGroups(4416);;

Note double semicolon at the end to suppress output.

Hi, yes, I can do that in the near future. What about my prime-factor-project ? There seems to be no feedback at all.

gnu(4416)=10094
GAP      4.8.3
GrpConst 2.5
Runtime: 6125440 ms (1.7 hrs)
Isomorphic groups eliminated
In case this value is new, add the next line to data/gnudata.g
GNU_SAVE( 4416, 10094, WITH_GC );

gap>
In fact, the duration given by GAP was totally off (by more than a factor 3). I will use this package in the future.

@gnufinder - very good, thanks!
So we don't have regressions comparing GAP 4.8.3 on our systems and on yours (but we still observe them comparing stable and development versions of GAP).

Thank you for submitting new gnu(n). We will recalculate it and add to the database if we get the same result.
Checklist for the reviewer:

[ ] checked and assigned labels "new (n<50000)" or "recomputation", if needed
[ ] set "replication needed" label (unless it starts immediately)
[ ] changed it to "replication in progress" label when the replication has been started
[ ] changed it to "replicated" after successful replication review
[ ] reproducible value of gnu(n)
[ ] no essential runtime differences
[ ] sufficient level of technical details

Checklist for the maintainer:

[ ] correct arguments of command to store data
[ ] correct location of new line in the data file
[ ] mention submitter and reviewer in the commit message
[ ] Close corresponding issue from the commit message

Hi, I tried the package with 4536. The last few line are

#I    loop over 1 coset reps
#I     compute generators of subdirect product
#I     compute perm rep

Constructed a list of length 4360
It contains 4359 groups and 1 sublists
Length of sublists are [ 2 ]
The program is still in progress. Does it make isomorphic-checks automatically ?

If this is the case, then there is a drawback : If lists are returned and I do not want to run the time-consuming checks, then I cannot report the time.

@gnufinder good point. Please get the next version of https://github.com/alex-konovalov/gnu/blob/master/lib/grpconst.g which is more informative. For example,
GnuByConstructAllGroups(9261);;
reports:
****************************************
Constructed a list of length 214
It contains 213 groups and 1 sublists
Length of sublists are [ 2 ]

214<=gnu(9261)<=215

Runtime of this construction: 53413 ms (53 s)
Now checking non-isomorphism of groups in sublists ...
Success! All pairs contain non-isomorphic groups

gnu(9261)=215

GAP      4.8.3
GrpConst 2.5
Runtime of ConstructAllGroups: 53413 ms (53 s)
Returned a list of length 214 containing 213 groups and 1 sublists
Length of sublists : [ 2 ]
Runtime to check non-isomorphism of groups in pairs: 9652 ms (9 s)

To maintainers: for new results, add to data/gnudata.g this line:
GNU_SAVE( 9261, 215, WITH_GC );

****************************************

OK, thats fine!

gnu(4416)=10094
GAP      4.8.3
GrpConst 2.5
Runtime: 6083208 ms (1.69 hrs)
Isomorphic groups eliminated
Replicated by @alex-konovalov on Linux server (AMD Opteron 6376 1400 MHz processor, 512 GB RAM)
In case this value is new, add the next line to data/gnudata.g
GNU_SAVE( 4416, 10094, WITH_GC );

As communicated by Mike Newman, 4416 fits into the pattern 192*p with prime p congruent to 11 mod
12:
    2112 = 192*11; 4416 = 192*23; 9024 = 192*47


Listings mass_event not working

What version of Music Assistant has the issue?
2023.6.0b6
The problem
The event handler does not show any event when trying to listen to mass_event.
How to reproduce
Start listing in developer events
Relevant log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2023.12.4
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

May I first ask what you're trying to accomplish ?
So why you are listening to mass_event ? I don't think we're still forwarding those events (I think we did in V1)

OK, I have added an extra attribute to the media_player's attributes called "stream_title" which will include the title as it is broadcast by the radio station (if exists). This change will be available in the next update of the HA integration for MA so keep an eye on HACS updates.

Please report if this still an issue after beta7 of the integration is released


Proposal: Enhance Experimental Networking and Services UI

Add --net=NETWORK  where NETWORK is created via docker network create
Update --publish-service to use NETWORK:NAME where NETWORK is the namespace under which to publish and NAME is the name of the service

Example
docker network create frontend
docker network create backend
# publish a service
docker run -itd --publish-service=frontend:web nginx
# publish a service (explicit network - it's optional but not required)
docker run -itd --net=frontend --publish-service=frontend:web
# consume a service only
docker run -itd --net=frontend busybox

These changes are motivated by https://github.com/docker/compose/pull/1676 and designed to accomplish the following use cases
Related to: https://github.com/docker/docker/pull/14143
Developed and discussed with @monadic @bboreham @squaremo @aanand @bfirsh @lxpollitt

So we are assuming that networks can communicate with each other since you can publish a service to a different network?

No you can only publish a service on a network that you are attached to

Oh I see, specifying the network name on --publish-service means to join that nework. I assume --net=<network1> --publish-service=:` would be throw an error?

docker run -itd --net=frontend --publish-service=frontend:web

Something is wonky in the above command.  Does the above create 2 network interfaces attaches to the same network? If not, how do you attach 2 networks to a container?

@cpuguy83 yep, --publish-service=NETWORK:NAME = join me to NETWORK and create a service called NAME. We don't error out on --net=NETWORK --publish-service=NETWORK:NAME` providing that you are joining the same network as you are publishing a service on.... It's purely the explicit form of the earlier command.
We would error out on --publish-service=:, as you can just use --net to the same affect - join but do not publish a service.
@shettyg per the explanation above, in this case the --net is redundant, it's just here to be explicit and doesn't create a second interface.
Attaching a container to multiple networks is something that we (those in the PR above) decided to defer to tackle later as there are some complexities in the implementation that we aren't quite happy with.
I'm going to set up a networking working group call where we can discuss these kind of things - I'll add details to the libnetwork wiki soon - and would love it if you could join too.

+1 for this proposal from me.

+1

+1

-1
I'm sorry guys.  I really am.  But there is something still incomplete in my mind.  The mere presence of the term "service" means we have a incomplete thought.  Those asking for "networks" and those asking for "services" are having two different conversations.  We need to separate concerns.

I'll do my best to add something productive to this conversation, but still working on a complete thought.

would be good to clarify failure cases (per @shettyg comment above)

@dave-tucker I've just realized the example you gave at the top of this PR may confuse people because of the "frontend" and "backend" network name choices.  Some may infer from that they various different network-to-network and cross-network-service-discovery behaviors - which as I understand it are not supported in this initial proposal.  Might be better just to replace with "mynetwork" or similar?

+1

@lxpollitt done.
@ibuildthecloud imo, networking and services are indeed different concerns in this example.
You can create networks and use --net etc... if you don't care about service discovery.
Likewise, if you are using service discovery, you can use --net and/or --publish-service
Anyway, would love to hear your thoughts - feel free to ping me directly if you want to talk it over.

@monadic added failure cases

thanks @dave-tucker
is docker run -itd --net=backend --publish-service=frontend:web an error?
^^^^^^^^                              ^^^^^^^^

@monadic I'm assuming so based on the discussions we had re: explicit vs implicit and multiple networks. I'm interpreting the user intent in your example as, attach me to frontend and backend and publish service web on front-end...

we lose the "implicit" behaviour of publish-service joining a network too, when it's used with --net
as we are now in "explicit" mode, we have to specify both the networks in --net for this command to be valid

otherwise the only constraint that we are enforcing (at this time) is that you can't have "discoverability" without "reachability" - it makes no sense to find a service when you can't access it. this may change in time as the features mature.

+1
@dave-tucker - thanks for being flexible and exposing this UI, all looks good.
Would love to join the mailer list and actively participate as per below:

I'm going to set up a networking working group call where we can discuss these kind of things - I'll add details to the libnetwork wiki soon - and would love it if you could join too.

I'm going to set up a networking working group call where we can discuss these kind of things - I'll add details to the libnetwork wiki soon - and would love it if you could join too.

Me too, thanks @dave-tucker

@dave-tucker I'll probably ping you directly.  I've almost got it sorted out in my brain, but still -1.  I'll hopefully have a write up of what I'm thinking by Monday.

I really think the conflation of network and service here is wrong.

docker network create mynetwork

OK

docker run -itd --publish-service=mynetwork:web nginx

BAD.  If I understood the other thread, you want to publish a service into a scope, not into a network.  Are scopes and networks 1:1 ?  I don't know that they have to be.  Can I define a network with more than one scope?
I think instead you want to disaggregate the ideas:
Simple services:
# make a network
docker network create mynetwork

# make a service scope
docker scope create myscope --net=mynetwork

# publish a service
docker run -itd --publish-service=myscope:web nginx

# consume a service only
docker run -itd --scope=myscope busybox

Ignoring services:
# make a network
docker network create mynetwork

# publish a service
docker run -itd nginx

# consume a service only
docker run -itd --net=mynetwork busybox

+1
I'd written a patch for this before finding this issue: https://github.com/rlane/docker/commit/9be0775950d3d5112e7044d37aef30c3db2ee5a3

@thockin I think the intention is that initially (i.e. in the increment covered by this PR) networks and scopes are 1:1, but that there is potential for scopes to be defined in the future that are not 1:1 with networks. I think this could do with being more clearly stated since right now the PR talks about publishing a service to a network, when it should probably talk about publishing to network's default scope (or something similar that de-conflates the concepts)?
I believe DNS is the assumed service discovery mechanism for now, so fully flexible scopes become interesting, but not impossible, to spec right so they make sense for the app developer and can be implemented by a broad range of network / service discovery drivers.  I think that's a reasonable enough justification for simplifying in the short term and making scopes and networks 1:1.  Obviously though there is a huge danger that this short term 1:1 leads to conflation, particularly if not explained and documented clearly.

This seems to have gone silent, despite that there seems to be at least 1/2 dozen issues (some closed, some still open) on this (and related) topics. Closest wrt question below seems https://github.com/docker/libnetwork/issues/150 , now closed and referring here.
Also while I'm conscious of the fact that we need to think of the consequences, I'd rather have this discussion focused on one topic, with other issues opened accordingly.
The topic is "simple":  Pertain to the ability of marking the actions relating to network constructs with (arbitrary) labels
Particularly:

Network creation:

docker create network -d my_plugin -l foo=bar -l baz=boo -l dodo=bird mynet

Run time

docker run --net mynet  -l runtimelabel1=one -l runtimelabel2=two  mycontainer
Apart from the fact that in case 1) the label namespace is the network (rather than the driver) it is up to the respective plugin to make the necessary sanity checks and define the semantics of their usage.
According to @rlane above there is even a patch that addresses this.
CC @dave-tucker @mavenugo @nerdalert

Closing in favour of what was implemented in #16645


[bug] Safari MacOS Spelling is Hiding the Styles / Underline for Errors

Describe the bug
When building tauri for macOS the native spelling styles no longer appear. Specifically around the underline styles, however, if you right click on a misspelled word the native spellchecker options still appear so functionally it's working but without the UI it makes it hard for the user to see / correct errors.
Reproduction
In just the regular safari browser open place cursor in an input type field (input, text area etc) and mispell a word. Observe that safari underlines the misspelled or incorrect word.
Run the same app using npm run tauri dev and repeat the same steps and observe that the underlines are hidden.
Photos Provided show the following:
1.) Safari underlines showing in browser
2.) Tauri Build hiding underlines
3.) Hidden tauri underlines will work when right clicked

Expected behavior
Underline spelling should be visible to the user in tauri mac os builds.
Platform and versions
[✔] Environment
    - OS: Mac OS 13.5.0 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.68.0 (2c8cc3432 2023-03-06)
    ✔ Cargo: 1.68.0 (115f34552 2023-02-26)
    ✔ rustup: 1.25.2 (fae52a197 2023-02-01)
    ✔ Rust toolchain: stable-x86_64-apple-darwin (default)
    - node: 16.18.1
    - yarn: 1.22.19
    - npm: 8.19.2

Stack trace
No response
Additional context
I talked with @FabianLars about this in discord and his guess was at the webview issue and asked me to open this bug. Finally getting around to it

Hi, just want to make sure that you enabled the "Check spelling while typing" in the App. I guess the red wavy line is handled by the system?

And if you're not using a <input> (like <div>, <p>), you'll need to add contenteditable="true" to the tag's attribute.

I have no clues, but most of the apps on my Mac were turned off by default.
I found there is a property list key called WebContinuousSpellCheckingEnabled. This key will be stored in the app's property list (~/Library/Preference/bundleId.plist) and control the Check Spelling While Typing.

By Command

defaults write {App BundleId} WebContinuousSpellCheckingEnabled -bool true

By Code

let user_defaults: id = msg_send![class!(NSUserDefaults), standardUserDefaults];
let () = msg_send![user_defaults, setBool:YES forKey:NSString::new("WebContinuousSpellCheckingEnabled")];

I'm not sure if there's any way to set the key in somewhere and let the system merge itself or we can just execute a script and run the command before the app's first launch. But if we decide to set it by the code, then we need to call it before the webview is created otherwise it requires restarting the app to take effect.


More fine-grained control of enclose

I would like to have more fine-grained control to enclose nodes, i.e., right now enclose snaps directly around the nodes, but I would like to have more control of the spacing.
Is there another way to use rectangles with rounded edges around nodes that I can place at will?

If setting the inset and corner-radius options of the enclosing node doesn't give you enough control, the backup solution is to use the diagram(render: ..) option to draw things with CeTZ directly. CeTZ interop is still a little awkward, but there's an example in the manual.

Thanks!


Potential memory leak in diagnostics

Hey! First of all I'd like to say thanks for this fantastic plugin. I've been trying it for the past couple days and it looks and feels beautiful, and I hope to use + contribute to it in the future.
I've been experiencing a memory leak (climbs to 500mb+ after causing a few errors in the repository, and continues to the GB's before crashing). I've singled this plugin out as the cause, and have noticed that disabling diagnostics makes it chill out at 250mb.
For context, my memory rests at ~130mb usingnvim-tree under the same conditions; the LSP I'm using is dartls (note, feverishly slow), and SLOC is ~100k.
Sorry for the lack of reproducibility; I'm more than happy to provide any extra context or information.
Thanks again for the plugin, I really hope I can fully replace nvim-tree in the near-future!

Hey! First of all I'd like to say thanks for this fantastic plugin. I've been trying it for the past couple days and it looks and feels beautiful, and I hope to use + contribute to it in the future.

Thanks!

I've been experiencing a memory leak (climbs to 500mb+ after causing a few errors in the repository, and continues to the GB's before crashing). I've singled this plugin out as the cause, and have noticed that disabling diagnostics makes it chill out at 250mb.

Does each new edit eat up a bit more memory, or does it start to climb on its own at some point? How long does it take to climb to 500+ mb? Is it like this at the end of the day or does it get there quickly?
I'll definitely keep an eye on this as I use it today.

It climbs to 500mb+ in ~2-3 minutes I would say. Each new edit eats up a bit more memory, and it's definitely exponential. Also, I did some simple debugging on a local fork, and found that the diagnostics function in components.lua is called even when I'm just moving my cursor. Perhaps the diagnostics reported by the LSP are being staggered when affecting multiple files in the workspace?

It's based on the built-in DiagnosticChanged event which I think will fire on every edit. It is debounced to only run once per 500ms by default,  but you can alter that value in your fork to see if it helps:
https://github.com/nvim-neo-tree/neo-tree.nvim/blob/b500daadd5ff0cce16c2a8e827b6d08a8b16357d/lua/neo-tree/setup/init.lua#L47

Sorry to make this issue even more vague, but I can confirm that enabling diagnostics just seems to speed the problem up. Even with it disabled, my memory usage still gets to the 500mb+ range.
Also, increasing the debounce to 2s+ made no tangible difference.
Here's my config if it helps at all:
vim.cmd [[ let g:neo_tree_remove_legacy_commands = 1 ]]

require('neo-tree').setup {
  close_if_last_window = false, -- Close Neo-tree if it is the last window left in the tab
  popup_border_style = 'rounded',
  enable_git_status = true,
  git_status_async = true,
  enable_diagnostics = true,
  default_component_configs = {
    indent = {
      indent_size = 2,
      padding = 1, -- extra padding on left hand side
      -- indent guides
      with_markers = true,
      indent_marker = '│',
      last_indent_marker = '└',
      highlight = 'NeoTreeIndentMarker',
      -- expander config, needed for nesting files
      with_expanders = nil, -- if nil and file nesting is enabled, will enable expanders
      expander_collapsed = '',
      expander_expanded = '',
      expander_highlight = 'NeoTreeExpander',
    },
    icon = {
      folder_closed = '',
      folder_open = '',
      folder_empty = 'ﰊ',
      default = '*',
    },
    name = {
      trailing_slash = false,
      use_git_status_colors = true,
    },
    git_status = {
      symbols = {
        -- Change type
        added = '✚',
        deleted = '✖',
        modified = '',
        renamed = '➜',
        -- Status type
        untracked = '★',
        ignored = '◌',
        unstaged = '',
        staged = '✓',
        conflict = '',
      },
    },
  },
  window = {
    position = 'left',
    width = 35,
    mappings = {
      ['<space>'] = 'toggle_node',
      ['<Tab>'] = 'toggle_node',
      ['<2-LeftMouse>'] = 'open',
      ['<cr>'] = 'open',
      ['s'] = 'open_split',
      ['v'] = 'open_vsplit',
      ['C'] = 'close_node',
      ['<bs>'] = 'navigate_up',
      ['.'] = 'set_root',
      ['H'] = 'toggle_hidden',
      ['R'] = 'refresh',
      ['/'] = 'fuzzy_finder',
      ['f'] = 'filter_on_submit',
      ['<c-x>'] = 'clear_filter',
      ['a'] = 'add',
      ['A'] = 'add_directory',
      ['d'] = 'delete',
      ['r'] = 'rename',
      ['y'] = 'copy_to_clipboard',
      ['x'] = 'cut_to_clipboard',
      ['p'] = 'paste_from_clipboard',
      ['c'] = 'copy', -- takes text input for destination
      ['m'] = 'move', -- takes text input for destination
      ['q'] = 'close_window',
    },
  },
  nesting_rules = {
    ['dart'] = { 'config.dart', 'pearl_config.dart', 'g.dart', 'model.dart' },
  },
  filesystem = {
    filtered_items = {
      visible = false, -- when true, they will just be displayed differently than normal items
      hide_dotfiles = true,
      hide_gitignored = false,
      hide_by_name = {
        '.DS_Store',
        'thumbs.db',
        --"node_modules"
      },
      never_show = { -- remains hidden even if visible is toggled to true
        ".DS_Store",
        "thumbs.db"
      },
    },
    follow_current_file = true, -- This will find and focus the file in the active buffer every
    -- time the current file is changed while the tree is open.
    hijack_netrw_behavior = 'open_default', -- netrw disabled, opening a directory opens neo-tree
    -- in whatever position is specified in window.position
    -- "open_current",  -- netrw disabled, opening a directory opens within the
    -- window like netrw would, regardless of window.position
    -- "disabled",    -- netrw left alone, neo-tree does not handle opening dirs
    use_libuv_file_watcher = false, -- This will use the OS level file watchers to detect changes
    -- instead of relying on nvim autocmd events.
  },
  buffers = {
    show_unloaded = true,
    window = {
      mappings = {
        ['bd'] = 'buffer_delete',
      },
    },
  },
  git_status = {
    window = {
      position = 'float',
      mappings = {
        ['A'] = 'git_add_all',
        ['gu'] = 'git_unstage_file',
        ['ga'] = 'git_add_file',
        ['gr'] = 'git_revert_file',
        ['gc'] = 'git_commit',
        ['gp'] = 'git_push',
        ['gg'] = 'git_commit_and_push',
      },
    },
  },
}

vim.api.nvim_set_keymap('n', '\\', '<cmd>Neotree reveal<cr>', { silent = true })
vim.api.nvim_set_keymap('n', '<leader>o', '<cmd>Neotree reveal<cr>', { silent = true })
vim.api.nvim_set_keymap('n', '<leader>to', '<cmd>Neotree reveal toggle<cr>', { silent = true })

Thanks!

It is possible it's the interaction of neo-tree with another plugin that is causing the leak, or it can be your specific version. Can you test these situations:

Running the nightly version of neovim (unless you already are, what version are you on?)
Removing all other plugins except for neo-tree

If you are in the root of the repo, you can run a minimal init with:
nvim --noplugin -u tests/mininit.lua

not sure if this is related, but today I had this manual "task" where i was editing json files in like 90 separate folders ...so each time I opened folder in neo-tree, opened json file, edited it, navigated back to neo-tree, closed node and moved to another one. After like 50 folders I realized my pc fan spins like crazy and neovim uses 40% of my 16gb ram (according to htop). I will try to localize if this is another plugin issue, but definitely something leaks

I just experienced this as well. I was working with neo-tree open and edited ~20 files. Suddenly everything started slowing to an absolute crawl. Checked memory usage, and all of my 32G were used. Then neovim just crashed and left this in my terminal:
[neo-tree.nvim] [ERROR 15:32:15] ...packer/start/neo-tree.nvim/lua/neo-tree/events/queue.lua:144: Error in event handler for event vim_diagnostic_changed[filesystem.vim_diagnostic_changed]: ...im/site/pack/packer/start/nui.nvim/lua/nui/tree/init.lua:365: Vim:E315: ml_get: invalid lnum: 2%

Not sure if that is of use. I will do some more investigation on this. This seems to happen when neo-tree is open only.

I've discovered that the leak happens in NuiTree's render method and opened an issue there: https://github.com/MunifTanjim/nui.nvim/issues/117
The trick to force it to happen is to just keep refreshing the tree repeatedly. That's why the diagnostics made the leak worse, it will refresh the tree every 500 ms when you are actively editing because the diagnostic messages are constantly changing.

@MunifTanjim was able to fix the memory leak we found in NuiTree. Hopefully that's the only one in play here but we'll see...
Can you please update your plugins, including nui.nvim, and tell me if that fixes the memory leak issue?

@cseickel Updated and have no longer seen any memory leaks in the past ~24hrs :+1:

I might be a bit premature in writing this...but I've updated everything today and still experience some mild slowdowns with neo-tree open (and only when open) still. It doesn't seem to suck up all of my memory, but there's still something going on :thinking:

I have noticed that having a neo-tree window open seems to utilize 3 - 5 % of my cpu. I have been tryimng to figure out why but I haven't come up with any explanation yet. Maybe that issue affects you as well and that is the "mild slowdown" you are experiencing.

Wowowow, it seems like I've missed out on some serious bug discussed here. I hope this problem can be addressed soon! (I have to go back to work with my typescriptbabelwebpackpolyfill stuff, which is another tragedy)

I have noticed that having a neo-tree window open seems to utilize 3 - 5 % of my cpu. I have been trying to figure out why but I haven't come up with any explanation yet. Maybe that issue affects you as well and that is the "mild slowdown" you are experiencing.

I've addresses this issue in main, it will be released in the next day or two. It turns out it was just the overhead of using the resize timer. I adjusted it from a default of every 50ms to 500ms, with a temporary speed up after a resize is detected. That reduces the cpu to an average of 0.5% when idle.
68b3f8f04f34fef1d5192a1028dfdf45a21cce2d
If you still have a slowdown after receiving this update, please open a new issue.


Adjust FindSDL2 to hopefully be able to find the framework on Mac (take two)

This makes the aforementioned changes in https://github.com/OSVR/OSVR-Core/pull/232#issuecomment-147109322 and works for me.

Aside from some minor formatting tweaks (I hate spaces vs tabs and wish editors would  just handle it automatically better than they do), this looks great, thanks!
I assume you've tried it locally and it works with SDL? Doesn't look like Travis has SDL installed.

Yep, this works with SDL. I could add SDL to the Travis configs if you want.

cool. Feel free to, the more stuff builds on CI, the better it serves as a check to development.


Implement logic for callback and autocompletion

:sparkles: Implement logic for callback and autocompletion based on type annotations. Including docs and tests.

Superseded by #68


When F# is not installed, error message is confusing to beginners

Description
If someone new to F# tries to run the build.sh script on a Linux system where F# isn't installed yet, he may be confused by the resulting error messages.
Repro steps

In a fresh Linux install, install git and mono-complete.
Do not install fsharp.
Clone the ProjectScaffold repo.
Run build.sh.

Expected behavior
An error message that would be easily comprehensible to F# beginners, like "It seems F# isn't installed on your system. To install it, you should install the 'fsharp' package, then re-run this build script." (Or even "Would you like us to install it for you?" and, if yes, run sudo apt-get install fsharp or sudo yum install fsharp or other package-manager commands as appropriate to the user's system. I think a simple "Please install this package via your system's package manager" message should be sufficient, though.)
Actual behavior
The error message that you actually get if you don't have F# installed is:
Running build failed.
Error:
Building /home/rmunn/code/TryScaffold/TryScaffold.sln failed with exitcode 1.
Status:        Failure
  1) Building /home/rmunn/code/TryScaffold/TryScaffold.sln failed with exitcode 1.
  2) : /home/rmunn/code/TryScaffold/src/TryScaffold/TryScaffold.fsproj(0,0): Target named 'Rebuild' not found in the project.
  3) : /home/rmunn/code/TryScaffold/tests/TryScaffold.Tests/TryScaffold.Tests.fsproj(0,0): /home/rmunn/code/TryScaffold/tests/TryScaffold.Tests/TryScaffold.Tests.fsproj: The required attribute "Project" in Import is empty

If I was an F# beginner, I would have no clue that "Target named 'Rebuild' not found in the project." and "The required attribute "Project" in Import is empty" were solvable by running sudo apt-get install fsharp. There is no obvious link between the error message and the solution.
Known workarounds
No workarounds; the problem is easily solved by installing the fsharp package, but since there's no clear error message to inform users of that fact, they won't know that.
Suggested fix
In build.sh, test for the presence of the relevant parts of the fsharp package. If they're missing, warn the user that the build may fail because the fsharp package appears not to be installed. Ask them to install that package and then re-run the build script.
Related information

Tested on Debian Sid as of 2016-05-05.
Master branch
Mono version 4.2.1 (Debian <IP_ADDRESS>+dfsg2-7)

Second this one - we lost many hours troubleshooting our CI build over this error message.  If you're not super into MSBuild the message is quite undebuggable


confused scope causing invalid suggestion

the following code
{-# LANGUAGE TypeApplications #-}

module Database.Doctors where

import Control.Monad.Reader (ReaderT)
import Database
import Database.Esqueleto.Experimental

getPatients :: Entity Doctor -> ReaderT SqlBackend IO [Entity Patient]
getPatients dbDoctor =
  select $ do
    (pats :& _ :& docs) <-
      from $
        table @Patient
          `InnerJoin` table @PatientDoctor
          `on` (\(pats :& patientDoctorMap) -> pats ^. PatientId ==. patientDoctorMap ^. PatientDoctorPatientId)
          `InnerJoin` table @Doctor
          `on` (\(_ :& patientDoctorMap :& docs) -> patientDoctorMap ^. PatientDoctorDoctorId ==. docs ^. DoctorId)
    where_ (docs ^. DoctorId ==. val (entityKey dbDoctor))
    return pats

yeilds a suggestion to "Fuse on/on". Which leads to the very broken:
getPatients :: Entity Doctor -> ReaderT SqlBackend IO [Entity Patient]
getPatients dbDoctor =
  select $ do
    (pats :& _ :& docs) <-
      ( from $
          table @Patient
            `InnerJoin` table @PatientDoctor
        )
        `on` ( ( (\(pats :& patientDoctorMap) -> pats ^. PatientId ==. patientDoctorMap ^. PatientDoctorPatientId)
                   `InnerJoin` table @Doctor
               )
                 . (\(_ :& patientDoctorMap :& docs) -> patientDoctorMap ^. PatientDoctorDoctorId ==. docs ^. DoctorId)
             )
    where_ (docs ^. DoctorId ==. val (entityKey dbDoctor))
    return pats

Not sure how useful of a bug report this as when https://github.com/ndmitchell/hlint/issues/1001 is resolved I'd imagine my issue would also be resolved (the issue obviously does not occur with a qualified import of  Database.Esqueleto.Experimental). I'd be happy to be pinged when that fix goes through and be used as a test case if desired.

never mind I'm pretty sure this falls under

HLint operates on each module at a time in isolation, as a result HLint does not know about types or which names are in scope. This decision is deliberate, allowing HLint to parallelise and be used incrementally on code that may not type-check.

Thanks for the report - I think you're right that #1001 will probably fix this, but useful to leave it tagged so the test case can be extracted from it.


SparseLogisticRegressionWithBFGS on Tencent dataset usage?

I plan to use SparseML's SparseLogisticRegressionWithBFGS API to test Tencent dataset so that I can compare the performance with Parameter Server's LR implementation.
After simply referring to the SparseML/examples dir, I guess the core SparseML's LR application code is as follows:
val lr = new SparseLogisticRegressionWithLBFGS()
      .setNumClasses(numClasses)
lr.optimizer.setNumIterations(numIterations)
val model = lr.run(trainingData)

I took these and ran test on tencent dataset on Gondolin 8-node-cluster but always get Exexutor time out problem and after carefully check I'm sure that the cluster nodes is okay.
After simply looking through the SparseLogisticRegressionWithBFGS calling tree I found that following code:
override private def run(input: RDD[LabeledPoint], initialWeights: Vector, userSuppliedWeights: Boolean):
  LogisticRegressionModel = {
    // ml's Logistic regression only supports binary classification currently.
    if (numOfLinearPredictor == 1) {
      log.info("numOfLinearPredictor == 1")
//      def runWithMlLogisitcRegression(elasticNetParam: Double) = {
//        // Prepare the ml LogisticRegression based on our settings
//        val lr = new org.apache.spark.ml.classification.LogisticRegression()
//        lr.setRegParam(optimizer.getRegParam())
//        lr.setElasticNetParam(elasticNetParam)
//        lr.setStandardization(useFeatureScaling)
//        if (userSuppliedWeights) {
//          val uid = Identifiable.randomUID("logreg-static")
//          lr.setInitialModel(new org.apache.spark.ml.classification.LogisticRegressionModel(
//            uid, initialWeights.asML, 1.0))
//        }
//        lr.setFitIntercept(addIntercept)
//        lr.setMaxIter(optimizer.getNumIterations())
//        lr.setTol(optimizer.getConvergenceTol())
//        // Convert our input into a DataFrame
//        val sqlContext = new SQLContext(input.context)
//        import sqlContext.implicits._
//        val df = input.map(_.asML).toDF()
//        // Determine if we should cache the DF
//        val handlePersistence = input.getStorageLevel == StorageLevel.NONE
//        // Train our model
//        val mlLogisticRegresionModel = lr.train(df, handlePersistence)
//        // convert the model
//        val weights = Vectors.dense(mlLogisticRegresionModel.coefficients.toArray)
//        createModel(weights, mlLogisticRegresionModel.intercept)
//      }
//      optimizer.getUpdater() match {
//        case x: SquaredL2Updater => runWithMlLogisitcRegression(0.0)
//        case x: L1Updater => runWithMlLogisitcRegression(1.0)
//        case _ => super.run(input, initialWeights)
//      }
      super.run(input, initialWeights)
    } else {
      log.info("numOfLinearPredictor != 1")
      super.run(input, initialWeights)
    }

did nothing but simply calling spark-mllib-2.10's run method.
So my question is:

My idea is right or not? if not, what the right usage of SparseML's sparseLR algorithm?

if the usage is okay, so what's the optimization of SparseML's SparseLogisticRegressionWithBFGS?

Thanks advance for any help and advice!
@dding3

For 1, Please refer LogisticRegressionExample.scala . We didn't migrate it here to avoid duplicate lr example.
For SparseLogisticRegressionWithLBFGS class, you may need help from @hhbyyh .

@zhichao-li To refer LogisticRegressionExample.scala, perhaps I need access to the WebScaleML project.


how to correctly use global error message

hello, thanks for your awesome work. redux-form is a brilliant tool for me.
however, I just follow your tutorial to use _error object
also I use invalid to disable submit button if any error exists
Here is the question, if my submit validation fails and reject({_error: 'oops'})
even I change all the values in the form, the invalid is still true and I can never submit again
Is there any obvious mistake I made ?
thanks again

Ha! No, no mistake on your part. Just another edge case I had not considered.
I think you're going to have to not disable your submit button on invalid, like the example does.

@erikras Got the same problem here - the case kind of gets worse when I have nested / dynamic forms. Implementing 'disabling' submit button seems to involve checking each nested input :(

Actually, @hiEven I decided to put global form errors in the form's local state, i.e., state = { saveError: ''}
When there's validation error just call this.setState({saveError: error}), and in render() render this.state.saveError if exists.
Basically staying away from the _error, and thus still able to use invalid to disable the submit button.

@erikras however, I do some synchronous validation there. If I don't use invalid for disabling purpose.
Does that mean I need to handle i.e. disabled={fields.email.error || fields.password.error} ?
@shawnxusy
For now, my workaround is disabled={invalid && !submitFail}. It works for me, I can let user submit again and still can validate other values

Does that mean I need to handle i.e. disabled={fields.email.error || fields.password.error} ?

I think so, yes. 😞

For now, my workaround is disabled={invalid && !submitFail}. It works for me, I can let user submit again and still can validate other values

👍 👍

ok, still looking forward to have some way to clean global error.
I am about to close this issue
Thanks a lot.

dispatch(stopSubmit({})) will clean it, I think, if you want to do it manually. But a more elegant cleanGlobalErrorOnAnyChange: true setting to change the default reducer behavior would be nicer.

Hello
Does/Will such a cleanGlobalErrorOnAnyChange: true exist ?
Best regards

I'm still struggling with dismissing the global submission error (I have a typical x button inside the error msg with an action attached to it ) , I'm in 6.6.3
Neither dispatch(stopSubmit({})) nor dispatch(clearSubmitErrors({})) change the error prop or the submitFail prop


ippserver: Add sparse updates support to Update-Output-Device-Attributes

Currently ippserver does not support sparse updates of attributes.

[master 17838d7] Implement sparse updates (Issue #82)


Unable to use Biome Painter tool on PlotSquared plots without admin-only permission

To Reproduce

Claim P2 plot with /p auto or /p claim.
Make sure you have only all needed AxiomPaper permissions or axiom.*.
Select Biome Painter tool and try to paint on the plot.
Receive message about the need for the P2 admin-only permission plots.admin.build.other.

Demo
https://pixeldrain.com/api/file/jT4cTzTB
Tech Info
– Paper 1.20.4 build 2176
– Axiom 2.8.1
– AxiomPaper 1.5.9
– PlotSquared 7.3.3

This should have been fixed in Axiom Paper 1.5.11, you are using an outdated version


Create 2023-11-10-Poloniex looses $125 million in heist

Requested changes completed.

What's the process for updating an pull request once more information is released?

@aholman0725 fix the name of the file (look at other articles) and information about alleged attackers.

Yes ma’am. I knew we were forgetting something.  With warm regards,~Amanda Amanda O’ConnorVirtual Administrative AssistantShineBright Freelancing(516) 308-1432 From: AlbinaSent: Wednesday, November 22, 2023 4:01 AMTo: 1712n/dn-instituteCc: aholman0725; MentionSubject: Re: [1712n/dn-institute] 2023-11-10-Poloniex (PR<EMAIL_ADDRESS>could you email your BTC address to<EMAIL_ADDRESS>? Please include the QT code.—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


Improve stdout/stderr logging

This PR introduces a second logging layer filter, which formats stderr/stdout messages without fields/target information; this should make it much easier to tell what has gone wrong when a build/test/boot run fails.

bors merge

bors merge


Feature/gat

This PR addresses #216 and includes the following:

[x] Graph Attention layer implementation
[x] GAT class implementation (a stack of Graph Attention layers)
[x] FullBatchNodeGenerator class
[x] Demos:

[x] python script
[x] notebook

[x] Unit tests
[x] README updated

[x] Reference to GAT paper added
[x] GAT algorithm added

[x] AUTHORS updated with GAT authors

The predictions obtained using predict_generator ignore the arguments to the .flow method of the generator. This could be confusing for users, and is different from the behaviour of the GraphSAGE model.
I've added a comment to both demos, explaining this difference.

The number of attention heads at the final layer is set to 1 always.
Fixed: now it can be either a single int (in which case it's that number for all but the last layer, and one for the last layer), or a list of ints.

I like the model checkpointing and early stopping in the python script, but I think it's overkill for the notebook – it slows down the execution of the notebook and also prints out a lot of epochs when running it.
True, although I wanted to have few more new things in the notebook demo, compared to those using GraphSAGE for the same task. Otherwise the difference boils down to 2 lines of code: different generator and different model. Kind of boring. This way people who only look at notebooks (and not the scripts) would see how to organise early stopping and checkpointing :)

Also note that the model is different from the published GAT model: they have the final layer output the number of classes and apply a softmax over that. We add a dense layer. The accuracy isn't much different between either option, but maybe we can point out that we are doing it differently.
I've changed the model architecture in the notebook, to match that of the GAT paper.

Hi @youph
it looks good. Have a look at my comments.
I noticed that running the notebook does not produce the same result as the reference paper. I get about 80% accuracy and the paper states 83%. It looks like the parameter setting are the same. Maybe later we should have a look at why there is a difference.
Regards,
P.

@PantelisElinas that's true; one possible reason is a somewhat different model architecture. I've updated the model architecture in the notebook demo, to match that of the paper more closely.

Hi @youph .. The changes look good to me.
In terms of documentation, we'll need to add the GAT class to the docs/api.txt file in a similar way to GraphSAGE or GCN.  To make the automatic API documentation work, all documentation for a class needs to be under the main class definition, not in the __init__ method.
You can check the docs locally by doing the following:
pip install sphinx_rtd_theme sphinx
cd docs
make html
open _build/html/index.html

@adocherty thanks for the instructions about the docs; I've updated the docs api, and brushed the doc strings.

@wangzhen263 Please modify the doc strings in GCN layer and class as well, to make sure they are displayed nicely in the docs, as per @adocherty's instructions above. In particular, to make the automatic API documentation work, all documentation for a class needs to be under the main class definition, not in the __init__ method.


Added 'lang' opt

It's probably unused but thought I should add it in as per https://notifications.spec.whatwg.org/#language

This looks great, thanks for contributing!


HTTP Trigger not scaling up

I am trying to deploy an HTTP Trigger to keda. I have installed Osiris components for the same. It helped me to scale to zero when no request is coming, but it is not scaling up from 1 instance. I have removed all replica-constraints from deploy.yaml file still no effects. Can you help me with any supportive links?

@asavaritayal to find the right place for the issue. This looks like an Osiris issue.

Thanks for looking into the issue. Can you please confirm if it is an issue with Osiris? I have been trying from days to test this and no luck on autoscaling Http Trigger. But Queue trigger is working without any issue.
Also please let us know if Keda support for TimeTrigger will be available in near future?

I assume by HTTP Trigger you mean an HTTP Azure Function?
The scale to/from zero you are referring to is only achieved via Osiris, KEDA is not in play here at all, and thus this has to be a (potential) Osiris issue.
You can look for Osiris logs for the different Osiris components under the osiris-system namespace to help you understand if something went wrong.

Thank you for the response. I have raised a bug to the osiris team and checking with them.

Keda team, please review this:
https://github.com/deislabs/osiris/issues/34?_pjax=%23js-repo-pjax-container#issuecomment-513327042
The issue is with the func toolset that has a missing configuration. e.g if you add this then everything work as expected:
"osiris.deislabs.io/loadBalancerHostname": "locahost"
In my case, localhost was the loadbalancer (Docker Desktop/Kubernetes) but it should be the actual balancer DNS name.

I presume this issue can be closed as it's not related to KEDA?


live server

Issue Type: Feature Request
My visual code studios live server is not funtioning properly i need help regarding the same
VS Code version: Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4, 2021-02-11T11:48:04.245Z)
OS version: Windows_NT x64 10.0.18363

/causedByExtension
This functionality provided by an extension and should be reported in its repo


iOS can't play the video on background

[x] I have read the Get Started - Installation section
[x] I have read and done the Get Started - Setup Android section
[x] I have read and done the Get Started - Setup iOS section
[x] I have already searched for the same problem

Environment

Technology
Version

Flutter version
2.0.1

Plugin version
5.2.1+1

Android version

iOS version

Xcode version

Device information:
Description
Expected behavior:
The video need to be play on background like safari.
Current behavior:
Webview application opens the video as fullscreen. If I enable the mediaPlaybackRequiresUserGesture feature. It is not open the video on full screen but don't play it on background as well.
The problem does not exist on the Android side or Safari. It only exists on iOS side.
Please look at the video which I attached. I have show the error on the video
https://user-images.githubusercontent.com/23620744/113502572-c8d2de00-9535-11eb-9223-e46104146a9e.mp4

You need to set allowsInlineMediaPlayback: true, instead you are using it with false.
Also, check https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1614793-allowsinlinemediaplayback for details.


Corrupt images when downloading via docker pull.

  In the past week, three of our engineers have ended up with what appeared to be corrupted images.  To solve the problem, we simply stop and rm the containers, and then blow away the corrupted images, and on the next download they worked correctly.  The corruption manifested itself as:

A copy of the dnsmasq binary that file thought was binary data, not an ELF executable.
A copy of nginx that, when loading one of its dependent .so files, reported it was corrupted.
A copy of the Java runtime that appeared to be missing the runtime (rt.jar).

It seems like an awful coincidence that we're seeing these all happen in the same time-frame.  Because these are all new engineers, they all have similar (very new) Mac hardware which might be related.
Curious if anyone else has seen this or is aware of mitigation techniques.  Can we force docker pull to verify the content hash of images after download, for example?
$ docker version
Client:
 Version:	17.12.0-ce
 API version:	1.35
 Go version:	go1.9.2
 Git commit:	c97c6d6
 Built:	Wed Dec 27 20:03:51 2017
 OS/Arch:	darwin/amd64

Server:
 Engine:
  Version:	17.12.0-ce
  API version:	1.35 (minimum version 1.12)
  Go version:	go1.9.2
  Git commit:	c97c6d6
  Built:	Wed Dec 27 20:12:29 2017
  OS/Arch:	linux/amd64
  Experimental:	true

$ docker info
Containers: 21
 Running: 7
 Paused: 0
 Stopped: 14
Images: 296
Server Version: 17.12.0-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host ipvlan macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 89623f28b87a6004d4b785663257362d1658a729
runc version: b2567b37d7b75eb4cf325b77297b140ea686ce8f
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.60-linuxkit-aufs
Operating System: Docker for Mac
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 3.855GiB
Name: linuxkit-025000000001
ID: AJAO:AOB2:XSS5:6CU5:63LS:N77L:WX3D:I44A:RVFM:TMCF:ZN3Q:S2IQ
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 84
 Goroutines: 92
 System Time: 2018-01-25T19:22:54.474436689Z
 EventsListeners: 2
HTTP Proxy: docker.for.mac.http.internal:3128
HTTPS Proxy: docker.for.mac.http.internal:3129
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

I have noticed similar behaviour when downloading oracle images. Sometimes it interrupt pull with EOF exception another time it pull it successfully but when I start the DB it claims that dbf files are corrupted. However it happens to me only at work. When I download same image from my home it's OK.
I have very last 2017 MBP 17".
Containers: 2
 Running: 1
 Paused: 0
 Stopped: 1
Images: 4
Server Version: 17.12.0-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host ipvlan macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 89623f28b87a6004d4b785663257362d1658a729
runc version: b2567b37d7b75eb4cf325b77297b140ea686ce8f
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.60-linuxkit-aufs
Operating System: Docker for Mac
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.786GiB
Name: linuxkit-025000000001
ID: BCPJ:3XKC:PDRK:IWIX:EGNV:4B33:HWBA:IPHD:4PXV:2K7J:AUE2:E6YL
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 21
 Goroutines: 40
 System Time: 2018-02-05T06:37:10.178346657Z
 EventsListeners: 2
HTTP Proxy: docker.for.mac.http.internal:3128
HTTPS Proxy: docker.for.mac.http.internal:3129
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

Images are already verified by digest (or hash, if you will) on pull.
As @thaJeztah indicated, this is likely an issue with docker4mac. Please file an issue there. Make sure to include the error message that makes you think there is a corruption.

Thanks.  Based on the timing it was probably https://github.com/docker/for-mac/issues/2625.  Only new employees were running into this, so they had the newer filesystem by default.


New mode that sets charge speed based on configurable total amp on main

Create a mode where the charging speed is determined by a configurable total load on the main power.
F.e. configurable total load is 25 amps, the rest of the house is consuming 10 amps -> this means that the car should be charging at 15 amps.
This mode will allow Belgians to make sure they're not hitting high loads and have to pay high fees. ( capacity tariff / capaciteitstarief )

Implemented by this commit
18e28ca37180f0ee0636e4b45bd8188107a4b012 #


R tests are failing on main

Bug description
I merged jupyterhub/repo2docker#1104 followed by jupyterhub/repo2docker#1107, and in combination the tests are failing.... in hindsight I should've closed/reopened jupyterhub/repo2docker#1107 before merging to trigger an updated CI check.
@yuvipanda Do you want to have a look? Or shall we revert jupyterhub/repo2docker#1107 since it's the most recent PR so that CI is green and fix it later?

Yep, let's revert that for now? I'll look on Monday
Thanks for catching these!

I opened a PR to revert #1107 (https://github.com/jupyterhub/repo2docker/pull/1110
) but the tests on that PR are failing so maybe there's a problem in #1104, even though the tests were definitely passing before I merged it :cry:
I'll leave things as they are for now.

I can't seem to reproduce this locally unfortunately...

Could be my cache, busting it now.  I re-ran the tests on main and it passed now.

@manics this PR also passes: https://github.com/jupyterhub/repo2docker/pull/1110. I suspect it was an MRAN outage.

Good thing you're replacing MRAN 😁


Update Biomedical Concepts with conditional and UML [IG]

Made small updates to IG Activities section, added UML and described conditional class.
See https://wiki.cdisc.org/display/USDMIGv3/Activities


[DRAFT] Speed up setup when cache is hit

Fixes #
Description
How was this change tested?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.05%) to 81.338%

Files with Coverage Reduction
New Missed Lines
%

pkg/controllers/node/controller.go
7
70.59%

Totals

Change from base Build<PHONE_NUMBER>:
0.05%

Covered Lines:
6904

Relevant Lines:
8488

💛  - Coveralls


Database refactoring

Hi Reday, I found that the code for the historyMap database part does not follow the object-oriented structure defined in historyMap.js (historyMap.nodes is an example). I made an example in the new branch 'rebuild-mvc-db-refactoring': 965a93b8df9a47e218612159553ae9071f95769f. Please follow the pattern to refactor the code.

There are a few changes I have made:
First, the 'database' is now not part of the historyMap.model and became an independent part. The historyMap looks like this now. I kept the old DBSave and DBLoad. These should not be objects, but functions inside sessions.
const historyMap = {
        model: {
            nodes: {},
            tree: {}, // real data
            tabs: {} // the status of the opened tabs in the browser
        },
        view: {
            vis: {},
            layout: {},
            redraw: {}
        },
        controller: {
            browser: {}
        },
        database: { // saving and loading the historyMap sessions
            user: {},
            sessions: {},
            // DBSave: {},
            // DBLoad: {}
        }
    };

Also, I created a new file database.js, which will have all the code related to database, including user login. So far, I only moved part of the code in the historyMapData.js to there. Some of the code currently in the session.js should be in there, too.

Wouldn't that be just to rename the functions ?

In database.js, so far I created a user object (= historyMap.database.user). Inside user, the profile object stores all the information related to the user and the addUser function is adapted from the old hisotryMap.API.DBSave.DBaddUser.
Please follow this pattern and :

add any other 'user'-related object and functions to the user;
create a session object and add 'session'-related object and functions there.

We can have a discussion if anything is not clear.

@kaimdx just a quick question, what exactly supposed to be in database.js ?
currently session.js includes code that interacts purely with sessions, this means loading session and further.
I would imagine that database.js has code related to saving to the DB ?

DB Refactoring 1.0
See changes in https://github.com/Vis4Sense/SenseMapExtension/commit/274baf7efed852537f54fb194440bab54237fecf

removed unused variables
changed code to match OO Structure
relocated code working with database to database.js
refactored functions to meet new structure
removed unused code and comments

to do:
slightly change Node2DB and Tree2DB


Serialization Exception

Hi.
Not sure what happened, but something happened :)

I updated all projects from .NET Core 3.0 to 3.1
Made some changes in MySQL DB

Now, I get various errors from GenericXmlDataContractSerializer. Surprisingly, exception happens only when I build project the second time, after the first build it works fine. I mentioned DB, because I serialize trained model using MemoryStream and save it as a byte[] to the MySQL column of type LongBlob. I'm also using models from ML.NET and export / import them from DB the same way and they work fine, so probably DB is not an issue. All projects in the solution are built as x64. Serializer fails on any model, either RandomForest or AdaBoost, with the same exception.
The issue

build the project and start debugging
create, train model, and save it to DB as byte array using GetPredictor method below
select byte array from DB, deserialize to a model, provide test data and get estimate - OK
stop debugging, repeat steps 1-3, now prediction method fails with the exception below - NOT OK

The question
Maybe somebody knows what could be the reason for serializer to fall with the exception? Also, can I serialize trained model to MemoryStream using different serializer, without GenericXmlDataContractSerializer?
Most common exception
System.Runtime.Serialization.SerializationException: Element 'http://schemas.datacontract.org/2004/07/Core.Learners.SharpLearning.EngineSpace:Model' contains data from a type that maps to the name 'SharpLearning.RandomForest.Models:ClassificationForestModel'. The deserializer has no knowledge of any type that maps to this name. Consider changing the implementation of the ResolveName method on your DataContractResolver to return a non-null value for name 'ClassificationForestModel' and namespace 'SharpLearning.RandomForest.Models'

After updating all Nuget packages I got another exception only once
Invalid XML at line 1 or something like that

Serializing trained model to byte array and save to DB
public virtual ResponseModel<byte> GetPredictor(IDictionary<int, string> columns, IDataView inputs)
{
  var responseModel = new ResponseModel<byte>();

  using (var memoryStream = new MemoryStream())
  {
    var processor = GetInput(columns, inputs, nameof(PredictorLabelsEnum.Emotion));
    var learner = new ClassificationRandomForestLearner();
    var serializer = new GenericXmlDataContractSerializer();
    var container = new MapModel<int, string>
    {
      Map = processor.Map,
      Model = learner.Learn(processor.Input.Observations, processor.Input.Targets)
    };

    serializer.Serialize(container, () => new StreamWriter(memoryStream));
    responseModel.Items = memoryStream.ToArray().ToList();
  }

  return responseModel;
}

Deserializing model from DB stream and getting prediction
public virtual ResponseModel<string> GetEstimate(IEnumerable<byte> predictor, IDictionary<int, string> columns, IDataView inputs)
{
  var responseModel = new ResponseModel<string>();

  using (var memoryStream = new MemoryStream(predictor.ToArray()))
  {
    var processor = GetInput(columns, inputs);
    var serializer = new GenericXmlDataContractSerializer();
    var model = serializer.Deserialize<MapModel<int, string>>(() => new StreamReader(memoryStream));
    var predictions = model.Predict(processor.Input.Observations);

    responseModel.Items.Add(predictions.OrderByDescending(o => o.Key).First().Value);
  }

  return responseModel;
}

Method GetInput in the code above is just a conversion from IDataView format in ML.NET to ObservationSet format in SharpLearning. MapModel is a wrapper that allows to save text labels along with numeric ones.

Actually, just tried to use custom serializer and it seems to work.

Hi @artemiusgreat,
Yes, it should be possible to use a another serializer to serialize/deserialize the models.
From the exception my best guess is that the project deserializing the model is missing a reference to the assemblies containing ClassificationForestModel and the ClassificationAdaBoostModel. Note, that the project might have the correct references, but if the types are not used anywhere in the code, the references might be optimized away.
To ensure that the references are kept you can try add them as known types to the GenericXmlDataContractSerializer like this:
var knownTypes = new[]
{
    typeof(ClassificationForestModel),
    typeof(ClassificationAdaBoostModel),
};

var serializer = new GenericXmlDataContractSerializer(knownTypes);

Best regards
Mads


Add the ability to select which functions or processes you which to extract capabilities from

This PR adds the ability to select which function/process capa should extract capabilities from. The proposed syntax is as follows:
$ capa malware.exe --functions 0x645fa0,0x543dd0,0x630ac0 # static analysis
$ capa malware.log --processes 3288,4321,3234 # dynamic analysis

I haven't added a testcase for dynamic analysis. I am planning to do so once the Drakvuf feature extractor gets merged (#2143) since that's a big motive for this PR.
Nuance: I couldn't find the right names for some of the internal variables, so please feel free to set them as you wish.
Thanks :)
Checklist

[ ] No CHANGELOG update needed

[ ] No new tests needed

[ ] No documentation update needed

First, I think this is a very reasonable feature to add, especially with the Drakvuf sandbox support! I'm happy that we should be able to remove similar logic in show-features (here) with these changes. It seems like there are multiple places that this would fit in.
There are two things to discuss:

the command line argument syntax, and
the design of the filtering.

For (1), I don't imagine any major problems, though we may want to consider if these arguments are commonly used enough to be shown all the time, or only in an "expert" mode, or suggested when the Drakvuf sandbox is encountered, etc. That being said, let's be careful not to get derailed by tiny details and hold up the merge. If there's debate, the arguments could always be considered "experimental" for a bit until we stabilize them.
For (2), the question is: how do we filter the functions/scopes/features, particularly in a way that enables further extension, if necessary? That is, say we want to also filter on threads or basic blocks, could we build this easily?
The primary place to consider is the function signature to find_capabilities (and related routines). I am concerned about adding too many optional arguments that become difficult to reason about. I'd prefer the signature of this core routine to be as succinct as possible.
An alternative design is to introduce wrappers around the feature extractors that can filter the scopes/features. They would act just like the underlying feature extractor, but would yield only the entries that are requested. Then, the wrapped feature extractor can be passed around as-is today. Notably, we can trivially create wrappers for different scopes/features without threading optional arguments around. Also, they could potentially be combined (though I don't think we're likely to really need this functionality).
For example:
class StaticFeatureExtractorFilter:
    def __init__(self, inner: StaticFeatureExtractor):
        self.inner = inner

    def __getattr__(self, name):
        if hasattr(self, name):
            # if the filter has an override, use that
            return getattr(self, name)
        # otherwise use the inner feature extractor
        return getattr(self.inner, name)

class FunctionFilter(StaticFeatureExtractorFilter):
    def __init__(self, inner: StaticFeatureExtractor, functions: Set[Address]):
        super().__init__(self, inner)
        self.functions = functions

    def get_functions(self):
        yield from (f for f in self.inner.get_functions() if f.address in self.functions)

Then we can use the filter like so:
wanted_functions: Set[Address] = get_wanted_functions_from_cli(args)
if wanted_functions:
    # if the user wants to only show specific functions, we filter them down
    feature_extractor = FunctionFilter(feature_extractor, wanted_functions)
else:
    # otherwise, we use the full feature extractor
    pass

...

# use either the filtered extractor or the full extractor interchangably
find_capabilities(feature_extractor, ...)

Of course, we can filter processes/threads/basic blocks/etc. in the same way.
Would you be open to discuss alternative designs like this @yelhamer? Or any thoughts @mr-tz @mike-hunhoff

@williballenthin I really like the design you proposed and I'm willing to implement it. Would the filter classes reside in the base_extractor.py file?
Also, should we make the base "StaticFeatureExtractorFilter" a child of the "StaticFeatureExtractor" class? since I think there are some cases (if I am not mistaken) where we use the instance of the extractor we're passing to determine whether the analysis is static or dynamic.

I think there are some cases (if I am not mistaken) where we use the instance of the extractor we're passing to determine whether the analysis is static or dynamic.

Good point. Also I think this will better satisfy mypy.
OTOH, I'm not sure that the hasattr checks will work as written (since the base class has empty implementations of these) so that will take some tweaking. Should still be possible.
We should also pass along the inner name appropriately, since I think the metadata structure includes the feature extractor name.

@williballenthin I have also thought of the following possible implementation using a function factory:
def FunctionFilter(extractor: StaticFeatureExtractor, functions: Set) -> StaticFeatureExtractor:
    from types import MethodType

    get_functions = extractor.get_functions  # fetch original get_functions()

    def filtered_get_functions(self):
        yield from (f for f in get_functions() if f.address in functions)

    extractor.get_functions = MethodType(filtered_get_functions, extractor)
    return extractor

Then we can do as you suggested:

wanted_functions: Set[Address] = get_wanted_functions_from_cli(args)
if wanted_functions:
    # if the user wants to only show specific functions, we filter them down
    feature_extractor = FunctionFilter(feature_extractor, wanted_functions)
else:
    # otherwise, we use the full feature extractor
    pass

...

# use either the filtered extractor or the full extractor interchangably
find_capabilities(feature_extractor, ...)

Another question remains which is whether we want to register which filters an extractor has installed in it. If we want to do so then we might just consider storing the set of desired functions as an attribute in the extractor, then reference it internally in the get_functions() routine (without needing any wrapping or so).

I have also thought of the following possible implementation using a function factory

This looks like it would also work. I'm not sure of the pros/cons right now, so perhaps try one of the new implementations and let's see how it feels?

@williballenthin @mr-tz , I have made some adjustments right now, please feel free to review them.
Also, this PR would make the Drakvuf extractor (and other extractors) faster, but I was also thinking of also applying the function/process filters to the extractors when they are constructed, so that non-essential functions/processes don't get loaded in the first place.
My main motive behind that is that the Drakvuf extractor consumes too much RAM upon initialization, and it would be nice to not create Pydantic models for the (winapi/native) calls that won't be used anyways. I am thinking of doing that (once both PRs I have open are merged) by passing the list of target processes to the feature extractor when it gets constructed (i.e., passing them to the get_extractor_from_cli() method down to the extractor.from_raw_report() method), and I was wondering whether the approach we have in this PR makes sense for that goal. In other words, do you think there could be a another approach to the problem of this PR that would allow us to filter unnecessary processes/functions upon extractor construction? or is it better that we keep the two separate?
Idk if what I said makes sense :sweat_smile:  , if it isn't then please let me know and I'll try to reword it.

I see what you're saying about extractors using the CLI target args so they don't have to do so much work.
I think it's ok for the current strategy to work alongside extractors using the CLI args to do less work. Though I'd like to see how many changes are needed to thread this new information to the Drakvuf extractor.
Alternatively, if only Drakvuf will usually use this targets functionality, I wonder if we can instead provide some utilities to pre-process the report so that it's optimized for capa.

Tests pass!

I'll defer to @williballenthin for final review and to comment on the maturity of this to be merged.

@williballenthin I think I have addressed all of the the comments. Let me know if there's anything else I need to do :)

ah, CLA failure is cause GH associated the wrong email with my suggestions. well, its me, and i'm covered under the CLA.

let's go!


Create runbook for AWS credentials disclosure remediation process

Background
First part of #77
This story is to create a runbook for the team of the steps to take if an AWS credential is exposed. Here is an example of a previous incident where an accidental AWS credentials disclosure on 2020-12-18. Jake Mulley ran through the following procedure:
1 .The access keys were deleted
2 CloudTrail shows no activity after 16:43 UK time with those keys
3. I've attached a policy to Daniel's user to deny any actions using a
temporary token from before 17:30 GMT on 17th December 2020
4. I'll keep an eye on the billing for that account & will work my way
through any new IAM users, policies, etc. that were created after
16:30 UK time today.
We should document these steps that we would run through generically and add to our runbooks site.
Definition of done

[ ] Runbook created

Hey team! Please add your planning poker estimate with ZenHub @liban-hmpps @ben-al @Nimphal


🔀 :: (#193) 모집의뢰 상세보기 수정

close #193

Codecov Report

Merging #194 (cc028b1) into main (8ea051b) will decrease coverage by 0.08%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main     #194      +/-   ##
============================================
- Coverage     20.11%   20.03%   -0.09%
  Complexity      181      181
============================================
  Files           143      143
  Lines          1839     1847       +8
  Branches         14       14
============================================
  Hits            370      370
- Misses         1468     1476       +8
  Partials          1        1

Impacted Files
Coverage Δ

...itment/domain/RecruitmentRepositoryCustomImpl.java
0.98% <ø> (ø)

...ain/recruitment/domain/vo/RecruitmentDetailVO.java
0.00% <0.00%> (ø)

...on/payload/response/RecruitmentDetailResponse.java
0.00% <0.00%> (ø)

...domain/recruitment/service/RecruitmentService.java
0.69% <0.00%> (-0.02%)
: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 8ea051b...cc028b1. Read the comment docs.


CacheBuilder not found

Description
Booted up my server and pex didn't load
Detailed Information
Is available here

Same issue here, occurred after restarting all my back-end servers to update a couple of plugins including WorldEdit and Multiverse-Core.

You're running 1.22.x, which is only for 1.7.x versions of MC, on a 1.8 server. Update PEX to the latest version...

@zml2008 It's happening to me with v1.23.3 though.


Can't use any fonts

Acknowledgement of preliminary instructions

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

What problem did you encounter?
So the main reason I download blox strap is I saw a YouTuber using it for cool fonts. I've now been troubleshooting it for a day just to realize it's because of my font I can't even open Roblox when I have a font on i switched between 4 fonts on 2 websites even watched a video nothing worked please help I wanna use fonts.

Idk I tried to use 4 fonts all from different websites is there a cool one you recommend that you think would work? If yes tell me where I can find it

Give me one you tried to use.

Called bubbly on "wfonts.com" I got it recommend to me

Link the specific one you tried to use, there's over twenty results for the word "bubbly".

Issue has been awaiting clarification for over a month, closing as stale. If you have anything further to add, just respond and I'll reopen.

it stopped working for me to


feat(bottom-navigation): add placeholder prop

Checklist
List of tasks you have already done and plan to do.

[ ] Fix linting errors
[ ] Tests have been added / updated (or snapshots)

Change information
Describe your modifications here.
Issues
The issues you want to close, formatted as close #1.
Related Links
Links related to this pr.

还需要修改 types 的 对应文件

好的


chore: bdd-ghfjxy-import-1582608175 to 0.0.1

chore: Promote bdd-ghfjxy-import-1582608175 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


AttributeError: 'NoneType' object has no attribute 'resolve'

Hello,
Thanks for making qsiprep. I am getting an error message using docker, similar to a closed issue with singularity. However, I am not familiar with singularity enough to debug this issue. There was mention of a -w flag. (https://github.com/PennBBL/qsiprep/issues/62)
qsiprep-docker /media/arevell/sharedSSD/linux/papers/paper005/data/data_raw/imaging /media/arevell/sharedSSD/linux/papers/paper005/data/data_processed/imaging/sub-RID0278/ participant --output-resolution 1.2 --fs-license-file $FREESURFER_HOME/license.txt
['/home/arevell/anaconda3/envs/qsiprep/bin/qsiprep-docker', '/media/arevell/sharedSSD/linux/papers/paper005/data/data_raw/imaging', '/media/arevell/sharedSSD/linux/papers/paper005/data/data_processed/imaging/sub-RID0278/', 'participant', '--output-resolution', '1.2', '--fs-license-file', '/home/arevell/freesurfer/license.txt']
RUNNING: docker run --rm -it -v /home/arevell/freesurfer/license.txt:/opt/freesurfer/license.txt:ro -v /media/arevell/sharedSSD/linux/papers/paper005/data/data_raw/imaging:/data:ro -v /media/arevell/sharedSSD/linux/papers/paper005/data/data_processed/imaging/sub-RID0278:/out pennbbl/qsiprep:0.12.2 /data /out participant --output-resolution 1.2
Making sure the input data is BIDS compliant (warnings can be ignored in most cases).
1: [WARN] The recommended file /README is missing. See Section 03 (Modality agnostic files) of the BIDS specification. (code: 101 - README_FILE_MISSING)
Please visit https://neurostars.org/search?q=README_FILE_MISSING for existing conversations about this issue.

    Summary:                Available Tasks:        Available Modalities:
    98 Files, 1.34GB                                T1w
    8 - Subjects                                    dwi
    1 - Session                                     fieldmap
                                                    fieldmap

If you have any questions, please post on https://neurostars.org/tags/bids.

 The -w flag is not singularity specific, but a qsiprep flag. It's the working directory for anyone else that comes across this. You may close this issue. It seems to be an "optional" argument like the freesurfer license.txt file path, but they are actually required (or the default location for $FREESURFER_HOME/license.txt is not actually looked up, so I have to manually specify the default it seems).
I just needed to add a -w flag specifying where intermediate files are stored to the end:
qsiprep-docker /media/arevell/sharedSSD/linux/papers/paper005/data/data_raw/imaging /media/arevell/sharedSSD/linux/papers/paper005/data/data_processed/imaging/ participant --output-resolution 1.2 --fs-license-file $FREESURFER_HOME/license.txt -w /media/arevell/sharedSSD/linux/papers/paper005/data/data_processed


Run spellcheck on all shell scripts

As discussed in #127

spellcheck or shellcheck?

Darn it autocorrect...


4079: Show address or name instead of unknown

Description
We used to show unknown for non-gd wallets or contracts other then bridge.

[x] - Show address for onetimepayments
[x] - Show contract name

About # (link your issue here)
#4079

@johnsmith-gooddollar @sirpy
For all new gd contracts or 3rd party contracts this fix should solve it
either return contractName or when its a proxy, obtain the implementation name
However, after debugging I believe to understand that for the new buygd contracts this currently would display: 'UniswapV3Pool'
According to current flow below would be the event that is registered as 'hit' as its the log for the receiving of g$'s
The from address here is the uniswapv3pool. There is no way to go from that pool contract > buygdclone right? (through querying explorer)

the other 'Transfer' events in logs are the sending of the cUsd (to other receiver addresses ofcourse)
and the 'Initalized' event, which holds the buygdclone address
So the questions:

should this be part of this pr or create a new issue for it?
Am I right in the analysis that if we want to show BuyGD(clone/factory) as contract name
this cannot be done by querying explorer, but needs to be handled in code (like we do the other gd events?)

@johnsmith-gooddollar @sirpy
In favor of the release of tomorrow I am merging this, and make the proper showing of buygd contract part of an action item next sprint (either hotfix, or release later)
The original issue 'Show contract name or address' is solved with this


Bent knee of the reconstructed model

Reconstructed 3d model has bent knees, although the person in the image is standing straight.
Can anyone tell why this is happening???

Hi, this may be caused by the imperfect performance of our model. With only a single image. it's hard for the model to estimate the location in depth axis.
This is a unsolved problem in monocular 3D human pose estimation. Incorporating more training data may alleviate this problem.

Hi, this may be caused by the imperfect performance of our model. With only a single image. it's hard for the model to estimate the location in depth axis.
This is a unsolved problem in monocular 3D human pose estimation. Incorporating more training data may alleviate this problem.


fix filter chain order

Codecov Report

Merging #7305 (bb53679) into master (51d5a88) will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #7305      +/-   ##
============================================
+ Coverage     58.92%   59.01%   +0.08%
+ Complexity      462      461       -1
============================================
  Files          1044     1044
  Lines         42455    42472      +17
  Branches       6222     6228       +6
============================================
+ Hits          25017    25063      +46
+ Misses        14619    14602      -17
+ Partials       2819     2807      -12

Impacted Files
Coverage Δ
Complexity Δ

...ache/dubbo/rpc/protocol/ProtocolFilterWrapper.java
81.81% <100.00%> (ø)
0.00 <0.00> (ø)

...he/dubbo/remoting/transport/netty/NettyServer.java
70.17% <0.00%> (-3.51%)
8.00% <0.00%> (-1.00%)

...pache/dubbo/registry/support/AbstractRegistry.java
79.62% <0.00%> (-1.49%)
0.00% <0.00%> (ø%)

...rg/apache/dubbo/rpc/protocol/AbstractExporter.java
60.00% <0.00%> (-1.12%)
0.00% <0.00%> (ø%)

...g/apache/dubbo/registry/consul/ConsulRegistry.java
60.00% <0.00%> (-0.59%)
31.00% <0.00%> (ø%)

...ache/dubbo/rpc/protocol/AbstractProxyProtocol.java
58.75% <0.00%> (-0.51%)
0.00% <0.00%> (ø%)

...org/apache/dubbo/registry/redis/RedisRegistry.java
48.81% <0.00%> (-0.40%)
27.00% <0.00%> (-1.00%)

.../apache/dubbo/config/bootstrap/DubboBootstrap.java
42.02% <0.00%> (-0.10%)
0.00% <0.00%> (ø%)

.../rpc/cluster/router/condition/ConditionRouter.java
68.75% <0.00%> (ø)
0.00% <0.00%> (ø%)

...apache/dubbo/rpc/protocol/dubbo/DubboExporter.java
100.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

... and 24 more

Continue to review full report at Codecov.

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

I don't know that why to change the filter order? @AlbumenJ

For dubbo filter chain, smaller is higher


typescript OOP support???

I know, I know, seems to be hard could use proppy with TS in a type safe way but are you planning support typescript in a future???...thank you

of course! ProppyJS itself is written in TypeScript. so all the typings are already shipped with the packages from npm :)