Github Actions: Create CI job to build winafl

Github action output can be previewed here: https://github.com/moshekaplan/winafl/actions/runs/764881284

Thanks! There were some proposals in the past to do similar things using third-party infrastructure, but I think now, with GitHub Actions, is probably a good time to actually do this :-)
I won't pretend to know much about GitHub Actions, but what I saw LGTM.


Can't go pass Active Directory start

Hi Jaromir,
I am trying to use your script on my laptop and haven't change anything . I am getting stuck at "Waiting for Active Directory on WSLab-DC to be Started." . Would you please suggest how can i solve the issue ?
thanks,
Fazle

Well, this is weird! Can you share logs (result from 2_createParentDisks.ps1)?

Thanks for your reply .Here I have attached the log .Please check
CreateParentDisks.log

well, something weird happened "Files found in E:\WSLab\LAB\DC. DC Creation will be skipped" ... It actually did not create DC. Did you just run first script, then second? Second is supposed to create DC... maybe it failed and you tried it once again?

The fastest way is to start from scratch, and after running first script just copy Win2019 VHDs from old folder to new (just parent disks folder). This will speed up parent disk creation as it will be skipped :). So just DC will be created...

I have started fresh  after failing to install the DC just to find out it's failing again . I have attached new log .please check.
CreateParentDisks.log
Prereq.log

please ping me at<EMAIL_ADDRESS>We can schedule teams meeting to troubleshoot today. thank you!

Weird!
Mount-WindowsImage : Incorrect function
what module do you have?

Lab was hydrated on external disk with exFAT filesystem. We need to add check for volume filesystem (must be NTFS or ReFS).

added checks for ntfs/refs in latest commit.


Missing: Array of Parrays to Parray of Arrays

Hi @fverdugo, I think there is a functionality missing that could be useful in some cases.  Again, I might be missing something but I haven't found an elegant way of dealing with it.
It involves converting an Array of PArrays to a PArray of Arrays. Consider the following example:
using PartitionedArrays

ranks = with_debug() do distribute
  distribute(LinearIndices((4,)))
end

a = map(r -> r, ranks)
b = map(r -> -r, ranks)

# Array of PArrays
v = [a,b];

# PArray of Arrays
map(ranks) do r
  map(v) do v_i
    # Used to be: PartitionedArrays.get_part(v_i,r)
    # But now is limited to:
    PartitionedArrays.getany(v_i)
  end
end

The current code works fine for MPIArrays, but not for DebugArrays (since getany always returns the first element). The old solution (commented) does not work anymore since there is no way to access a particular element in a DebugArray/MPIArray without getting an error/warning (even if it is safe to do so).
I think the solution to this involves a new function (basically an analog to tuple_of_arrays) that specializes for DebugArray and MPIArray. Would that be  something you would like to have in PartitionedArrays?

I see 2 possible solutions:

Map over v and the over ranks if possible in your context
Implement getindex in MPIArray and return the value only if the given index is the current rank, otherwise error since we would need communication. This would be analogous to the former get_part

Both solutions are compatible

The solution I now have is
function to_parray_of_arrays(a::AbstractArray{<:MPIArray})
  indices = linear_indices(first(a))
  map(indices) do i
    map(a) do aj
      PartitionedArrays.getany(aj)
    end
  end
end

function to_parray_of_arrays(a::AbstractArray{<:DebugArray})
  indices = linear_indices(first(a))
  map(indices) do i
    map(a) do aj
      aj.items[i]
    end
  end
end

My question was if you'd like this implemented in PartitionedArrays since it is a generic usecase.

Hi @JordiManyer I would go with this other option:

Implement getindex in MPIArray and return the value only if the given index is the current rank, otherwise error since we would need communication. This would be analogous to the former get_part


BUG: fused types not subscriptable in Cython.Shadow

Closes #4840

Thanks. It's looks like we've backported similar fixes to 0.29.x so I'll do that here too


Unable to configure Turbine with Spring Please share a working example

Hi ,your given docs are ambiguous when it comes for dashboard configurations as of now was not able to configure turbine for Spring without using spring boot there is no working example how to put files and let turbine aggregate all data kindly provide one example with spring only.

We don't use either Spring or Turbine internally, so I'm afraid I don't have anything to offer here.  Anybody else able to share knowledge on how to get this configured properly?


lite: filter out mirror when downlaoding Eigen

Eign is original stored on BitBucket and there is mirror on Bazel.
In workspace.bzl, the mirror is now hosted by tensorflow.org where
often fail to download. So to filter out mirror.tensorflow.org.

Just ran into the problem while trying to build TFLite on my Pi, this helps a lot!
Thanks :)

Just ran into the problem while trying to build TFLite on my Pi, this helps a lot!
Thanks :)

Glad to hear :)

Hi, just want to thank you for helping resolving this issue, since I also ran to this problem when installing the Tensorflow Lite for my RPi as well.
On that note, it seems that although the changes listed here has been approved, some checks failed which caused the merge to the master branch unsuccessful? I'm just wondering whether the TF admins can help sort this out as it is a very useful change for all of those who wants to install TF Lite natively on their RPi.
Thanks again, especially for @jackwish, and hopefully this fix can be successfully merged to the main branch in the future.

Hi, just want to thank you for helping resolving this issue, since I also ran to this problem when installing the Tensorflow Lite for my RPi as well.
On that note, it seems that although the changes listed here has been approved, some checks failed which caused the merge to the master branch unsuccessful? I'm just wondering whether the TF admins can help sort this out as it is a very useful change for all of those who wants to install TF Lite natively on their RPi.
Thanks again, especially for @jackwish, and hopefully this fix can be successfully merged to the main branch in the future.

Thank you, especially for your attention to the progress of this PR :) And, don't worry about the "failed checks", only the ones marked with Required must pass. PR which tagged with ready-to-pull will be merged automatically.


Clicking the refresh button of bdc dashboard will cause 2 refreshes

So that's not really an issue - we do the queries separately. The first one (endpoints) usually returns much more quickly than the second (BDC status) so you'll see the Endpoints refresh first and then later on the top status section will refresh.
I'm closing this as by design for now but if you think that this behavior should be changed (for example to only refresh the UI once all queries complete) then re-open and we can discuss further.


Remove/replace google+ share icon

Google+ is no more for public, but there is a share to google plus icon.
My proposal is to remove it or replace it with some other newly founded or existing social network (diaspora, reddit, ...).
What are your thoughts about it?

Fixed with https://github.com/Athou/commafeed/commit/3f3ef27d6b07f39fbb83adbd8ba04f15f3eb27ae


Update scripts following repo submodule removal and rename

Update scripts following repo submodule removal and rename
portage-stable and coreos-overlay used to be submodules of scripts, but this is no longer true in any release channel, so we can drop any code that handles the migration.
These package repositories will also be moved and renamed to gentoo-subset and flatcar-overlay respectively, so these scripts need adjusting accordingly. The changes are backwards-compatible, so we don't need to wait for the move/rename to actually happen first.
A couple of other scripts are obsolete and can simply be removed.
How to use
Use the scripts as usual!
Testing done
I have tested coreos-overlay-diff.py (which has another issue, see #159) and show-changes. The other changes are either trivial or hard to test, like tag-release.

I have tested coreos-overlay-diff.py (which has another issue, see https://github.com/flatcar/flatcar-build-scripts/issues/159) and show-changes. The other changes are either trivial or hard to test, like tag-release.

I was about to ask about testing - you should be able to test this your own fork.

Looking good.
$ VERSION=9123.9.9 SDK_VERSION=4012.0.0 CHANNEL=alpha ./tag-release
Running with CHANNEL=alpha VERSION=9123.9.9 MAJOR=9123
SCRIPTS_REF=origin/flatcar-9123
Preparing scripts
Deleting tag alpha-9123.9.9 if it exists in scripts
Deleted tag 'alpha-9123.9.9' (was ba48bb99fa)
To /tmp/scripts
 - [deleted]               alpha-9123.9.9
Checking out scripts branch flatcar-9123 to create version file
branch 'flatcar-9123' set up to track 'origin/flatcar-9123'.
Reset branch 'flatcar-9123'
Your branch is up to date with 'origin/flatcar-9123'.
Already up to date.

###### Writing versionfile 'sdk_container/.repo/manifests/version.txt' to SDK '4012.0.0', OS '9123.9.9'. ######
[flatcar-9123 3b30a1f603] New version: alpha-9123.9.9
fatal: ambiguous argument 'alpha-9123.9.9': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Enumerating objects: 1, done.
Counting objects: 100% (1/1), done.
Writing objects: 100% (1/1), 865 bytes | 865.00 KiB/s, done.
Total 1 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
To /tmp/scripts
   1fd1608412..3b30a1f603  HEAD -> flatcar-9123
Enumerating objects: 1, done.
Counting objects: 100% (1/1), done.
Writing objects: 100% (1/1), 808 bytes | 808.00 KiB/s, done.
Total 1 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
To /tmp/scripts
 * [new tag]               alpha-9123.9.9 -> alpha-9123.9.9
Done


telink: Add Telink TLx boards

Added Telink TLx board:

tl3218 Board is using RISC-V core refers SOC family telink_tlx:
telink_321x
telink_721x

The following west manifest projects have been modified in this Pull Request:

Name
Old Revision
New Revision
Diff

hal_telink
https://github.com/telink-semi/hal_telink/commit/9e86abb71b179007fc9a1fa03e84dd354b77b560
https://github.com/telink-semi/hal_telink/commit/a13095974e1da55f643cf9e273621dbf0821761e
<EMAIL_ADDRESS>

Note: This message is automatically posted and updated by the Manifest GitHub Action.


[backswipe] check for existing swipe handlers

@Kedlub
As per:

You can do stuff like:
(Bangle["#onswipe"] instanceof Array)&&Bangle["#onswipe"].length>1

to detect if there's >1 handler. It's not documented but honestly at this point it's unlikely to change :)

Originally posted by @gfwilliams in https://github.com/espruino/BangleApps/issues/2524#issuecomment-1406230564
I'll test it in just a minute.

I find it's a little hard to decide when backswipe should be active. For example on my setup there is 2-3 swipe handlers active at a time, and sometimes a drag handler.
Right now I think the most feasible solution is to have several "tiers" of black- and whitelists:

Always on,
On if more than x # of swipe handlers,
On if more than y # of drag handlers.
An app would have to satisfy both the swipe whitelist and drag whitelist in order for backswipe to be active. This way the user can fine tune to match their setup.

But ideally backswipe could do these judgments, could it index whether swipe handlers use the LR-direction?

I assume there is a way to check the first position parameter to see if it's an underscore or a named one...

There is, but it's super hacky. I wouldn't be very happy doing that at all.
Maybe the best bet is to add a third argument to swipe in the firmware, which passed an object:  { ud, lr }. Then, for the main users of swipe (I guess the clock_info is one?) we could set e.handled=1 and that could then be checked.
We can do that with other event types right now but because swipe just passes int they're passed by value so it's not possible.

Maybe the best bet is to add a third argument to swipe in the firmware, which passed an object:  { ud, lr }. Then, for the main users of swipe (I guess the clock_info is one?) we could set e.handled=1 and that could then be checked.
We can do that with other event types right now but because swipe just passes int they're passed by value so it's not possible.

Would that noticeably impact the responsiveness of swipes?
I guess we would also need to establish a hierarchy of swipe/drag handlers as well? (maybe that's what your saying with "main users")
I'm not qualified to say if it's the best way or not :P

I've now got a working solution where backswipe looks to see if there are extra swipe or drag handlers and so will not trigger the goBack function. This will probably not cover all cases yet. To do that, per app settings for number of handlers can be added.
But it may still be better to go forward with @gfwilliams solution. I just wanted to get to a working alternative for now.

Thanks - this looks good. At least it doesn't need firmware changes... You think it's ready to merge?
Does backswipe work on clocks? Because if so maybe it makes sense for 'clock_info' to be modified such that swipe handlers are only added when the clockinfo is focussed. I think right now they are on regardless and that would confuse this.

Would that noticeably impact the responsiveness of swipes?

I don't think so, no...

Does backswipe work on clocks?

It doesn't seem to trigger on BW Clock for me now at least. But I think I remember it did before..
@Kedlub, does/should backswipe work on clocks? My first intuition would be no, but maybe there's a justification for it?
(I think clocks generally don't have back functions set? But there could be I guess, and then maybe backswipe should work.. I don't know)

Because if so maybe it makes sense for 'clock_info' to be modified such that swipe handlers are only added when the clockinfo is focussed. I think right now they are on regardless and that would confuse this.

I guess that would make sense if backswipe should be active on clocks.

You think it's ready to merge?

I added a readme with info regarding # handlers I felt needed to be there. Ok by me to merge now. :+1:

Then we seem to be in agreement 🙂 backswipe shouldn't trigger on clocks. If we notice it does somehow that will be a bug to fix.

but thanks to you it works perfectly.

Thanks! But I suspect this solution will show to not be absolutely perfect in one situation or another 😛😅😉

Great - thanks!


Compatible off-the-shelf robots?

Huge thanks for making all of this available!
Can you recommend any (low-cost) off-the-shelf robots to work with?

We are working on Moss v1 which will be off-the-shelf and more affordable than Koch v1.1

Probably mid-October

Thank you for all your amazing work.
I'll be ready for a bulk order :)

Would something like this work: https://www.trossenrobotics.com/pincherx100 ?

You can use the pincher pretty trivially the problem is you don't have a controller that works off the shelf.

@danielfriis @yarcles I'm providing a batch of 10 Koch 2.0 arms near cost for early access. with code LEROBOT at checkout.
They come pre-assembled and calibrated -- ready for plug and play use with LeRobot. No questions asked return. Willing to customize material for the first 10 as well!
I'm building an all-in-one mini-aloha and this was step one for me to scratch my itch! You could also checkout the Moss arm for a simpler build with limited 3D printing.


port and url

@mvazquezc I found these options were helpful when I was doing some patching for a demo tomorrow

@mvazquezc I'm not sure how we should handle the variable swap. I do like having it defined in the inventory json because it is right here for the user to see and modify


Generated modules: Manifest

Scenario: I use Requires to dictate a specific version of a required module
    Each stub module must include a manifest describing the source module version

Closing this for the time-being. Modules which are OS locked tend not to define a version (beyond 1.0.0). May re-open if I discover manifests might become more than clutter.


JSDoc description for ES6 class properties does not show up in intellisense

TypeScript Version:  2.2.1
This is a JS only project.
Code
/**
 * Test class description.
 *
 * @export
 * @class Tester
 */
export class Tester {
  /**
   * Creates an instance of Tester.
   * @param {any} [params]
   */
  constructor (params) {
    /**
     * Test description 1
     * @type {String}
     * @description test description 2
     */
    this.name = params.name
  }

  /**
   * Test method description
   * @memberOf Tester
   */
  testMethod () {

  }
}

// Then open intellisense for an instance of Tester
const test = new Tester()
test.

Expected behavior:
Show the description, like testMethod:

Should show "Test description 1" or "test description 2"
Actual behavior:
No description is shown for the property name:

I have the same problem. JSDoc description for class properties is not shown in intellisense as expected.
This is a single JS file for demo


chown: cannot access '/var/www/owncloud/custom/onlyoffice'$'\r': No such file or directory  not found  onlyoffice

I can run the OwnCloud docker.
but this instegrated one keeps producing errors, could someone help? this is my first time using dockers

i was missing one file which wasn't pulled when i closed the repo


Galaxy not listed in physical devices drop down

Why is that? I'm confused. Something I don't understand about Galaxy phones? Are they on this list by another name?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 77921f62-3d69-ff6e-57a8-ebe4bffde990
Version Independent ID: d12d0c6d-5e03-533e-a6cc-fe940ff18206
Content: Xamarin Android Device Manager - Xamarin
Content Source: docs/android/get-started/installation/android-emulator/xamarin-device-manager.md
Service: unspecified
GitHub Login: @mgmclemore
Microsoft Alias: mamcle

Hi @Triwaters, thanks for the feedback. Galaxy devices are listed as Galaxy Nexus and 4.65" 720p (Galaxy Nexus) in the device drop-down. If you think you've found a bug, it's best to file it here (the xamarin-docs repo is for feedback about documentation). Hope this helps.


 PRs of real contributors will be accepted only.
Comment on the Issue asking @all-contributors to add a contributor:
@all-contributors please add <username> for <contributions>
<contribution>: See the Emoji Key (Contribution Types Reference) for a list of valid contribution types.
The bot will then create a Pull Request to add the contributor, then reply with the pull request details.

@all-contributors please add @jaideepghosh for code

@all-contributors please add @yigitcukuren for code

@all-contributors please add @vj-abishek for code

@all-contributors please add @romasinha for code


Define rule: Among the ScheduledInstances in a ScheduleTimeline, at least one has a relationship to ScheduleTimelineExit

I.e., each timeline must have at least one exit, and therefore one step that leads to an exit.
Possible further rules:
A timeline which does not include branching (via a ScheduledDecisionInstance) may have only one exit.
A ScheuledDecisionInstance may create branching or looping. A timeline which includes branching has an exit for each branch.

Moved text from Plain Language Expression to Validator Rule Message and removed Criteria from the reference because most attributes are blank (and can't be removed individually).  Added value for Origin and Rule Identifier / Version.
Review complete.


Portuguese and Spanish processor improvements

All Portuguese and Spanish part-of-speech and parsing models have improved training and testing:

Contractions are removed from training files.
Separate tests are administered per test corpus.
Part-of-speech models are BiMEMM
Tests of SpanishCluProcessor have been added.

Additionally, Spanish tokenization and sentence splitting have been implemented:

Spanish- (and Catalan-)specific characters have been added to the word forms, and are protected from normalization to non-accented equivalents.
Common Spanish abbreviations and sentence-starts are enumerated to improve sentence splitting.
Spanish contractions del and al are each split into their constituents

Hi @danebell: this looks good, but checks are failing in travis. Can you please check?
Also, did you implement those steps we discussed about removing contractions? If so, it seems to me that the LAS/UAS scores are still very low, more than 10% lower than English...

@MihaiSurdeanu Yes, I did remove contractions for both Spanish and Portuguese. I'm not sure how to resolve the low scores. One possibility is to slightly expand the training set by using the PUD corpus for training instead of testing. Since it is only a testing set, I have only used it for testing so far. But it's not that large at 1000 sentences, so I doubt it would raise the score by 10%.

is this pr ready to be merged?

Yes! I thought this was merged...
I'll merge this.

Hold on. There are some conflicts here. I'll work with @gcgbarbosa to fix them.

Ok, @gcgbarbosa and I solved the conflicts.
If tests pass, I will merge soon.

Hey @kwalcock and/or @marcovzla: we are getting time out errors on tests that would succeed given more time. Any solutions other than making our unit tests smaller?

Can you point us to a test where that happens?

It happened here, but the timer reseted after I typed a new comment...
I think a major reason why this happens is because of the cross build for 2.11 and 2.12, which effectively doubles the test time.

In any case, this branch is now merged in master.
When should we release a new processors?

I think this was a travis issue: https://twitter.com/traviscistatus/status/1027937440340664320
I think we should play a little bit with the portuguese stuff in eidos webapp to convince ourselves all is good. Maybe later today?

@gcgbarbosa: can you please help @marcovzla review the PT tools in processors before we release?

Sure. I am doing it right now @MihaiSurdeanu.

@MihaiSurdeanu, @marcovzla, if there are dependencies, it might help to have Travis cache them (to Amazon S3) and retrieve them from there rather than wherever they usually come from.  Eidos has these additional lines in travis.yml, which seemed to help that project.  YMMV though.  It seems like a corrupted cache can sometimes breaks the build, so heads up.
before_cache:
  - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
  - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/
    - $HOME/.ivy2
    - $HOME/.m2
    - $HOME/.sbt

Thanks @kwalcock!
I will try this out. It currently takes around half an hour for travis to finish, so any speedup would be nice.


22 refactor cowbird services to handlers

Renamed Cowbird services term to handlers, to avoid confusion with Magpie services.

Codecov Report

Merging #23 (b544dc4) into master (b588b3d) will not change coverage.
The diff coverage is 93.40%.

@@           Coverage Diff           @@
##           master      #23   +/-   ##
=======================================
  Coverage   83.79%   83.79%
=======================================
  Files          40       40
  Lines        2487     2487
  Branches      373      373
=======================================
  Hits         2084     2084
  Misses        297      297
  Partials      106      106

Impacted Files
Coverage Δ

cowbird/monitoring/monitoring.py
87.50% <ø> (ø)

cowbird/request_task.py
100.00% <ø> (ø)

cowbird/api/handlers/views.py
64.70% <64.70%> (ø)

cowbird/cli/handlers.py
75.00% <71.42%> (ø)

cowbird/handlers/handler.py
88.88% <84.61%> (ø)

cowbird/handlers/handler_factory.py
97.05% <97.05%> (ø)

cowbird/api/handlers/__init__.py
100.00% <100.00%> (ø)

cowbird/api/schemas.py
92.76% <100.00%> (ø)

cowbird/api/webhooks/views.py
91.80% <100.00%> (ø)

cowbird/app.py
92.00% <100.00%> (ø)

... and 9 more

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


Patch python deps for oiffile

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Required by:

https://github.com/conda-forge/staged-recipes/pull/17861

@jaimergp could you review this PR :)
Thanks!

I would maybe add a timestamp check too, like in the record above @goanpeca

Sounds good! thanks :)

Is this PR still relevant 2.5 years later?


addedd BFS and DFS for Binary Search Tree

Issue #85

If you find this pull request useful please merge it with Hacktofest-Accepted label.
Peace ✌


fix(cadc_pi): Fixed InvalidURL error

Error was surfacing on Courtlistener when trying to get the download_url of scraped items
Problem was a duplication of https protocol inserted on parsing code https:https://
This was useful in the past, causing errors now. Still, code is adapted in case it changes back to the old format
Solves: #817

Thanks @grossir this looks great.


Detect '_ <- mapM' and 'mapM >>= _' (fixes 353)

Here you go sir! #353

Awesome! You're on a roll 😄


update ios admob sdk to 7.21.0

Google:HTML You are currently using version 7.20.0 of the SDK. Please consider updating your SDK to the most recent SDK version to get the latest features and bug fixes. The latest SDK can be downloaded from http://goo.gl/iGzfsP.
I am getting this issue and it is causing the banner to show a white blank space when there is no network . How can i fix it.

solved it by removing the plugin and reinstalling it again.
thank you for the awesome work @ratson


Can't select current page in PaginationItem

Missed a convenient way to select a page button, like 'selected =true '

Not sure when it will be fixed


Link to the Github project

Link to Github project.
Note: We are a group of two students.

Hi Team,
You can go ahead with your project
Congratulations! 🎉

Highlights
✅ Tasks are assigned properly
✅ Good task description
Optional suggestions
N/A
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


DLL-Hell from System.Net.Http when installing latest versions

I have a solution with a bunch of .NET Framework 4.6.1 projects. Into a couple of them, I install RdbmsEventStore which takes an explicit dependency  on Nito.AsyncEx.Coordination v1.0.2  (mainly for AsyncLock). That in turn has dependencies on Nito.AsyncEx.Tasks, Nito.Collections.Deque and Nito.Disposables, so in total the following Nito packages are installed when I install RdbmsEventStore:
Nito.AsyncEx.Coordination    v1.0.2
Nito.AsyncEx.Tasks           v1.0.1
Nito.Collections.Deque       v1.0.0
Nito.Disposables             v1.0.0

All is well so far.
Now, Visual Studio suggests that I should update the latter three projects, since they were installed with dependency resolution strategy 'Lowest'. I do so, and instead end up with
Nito.AsyncEx.Coordination    v1.0.2
Nito.AsyncEx.Tasks           v1.1.0
Nito.Collections.Deque       v1.0.4
Nito.Disposables             v1.2.3

In addition, I get a bunch of warnings about differing versions of an assembly being loaded, and suggestions to add BindingRedirect statements to my app.config files. Regardless of if I do or not, the application breaks, failing to load System.Net.Http version <IP_ADDRESS>. The only thing I did between it working and not, was to update these packages. The warnings seem to appear even if Nito.Disposables is the only package I upgrade.
Do you have any idea what I'm doing wrong here? What's the "correct" way to resolve this problem (seeing as binding redirects only seem to make things worse...)

Further info:
If I update just one of the packages, Nito.AsyncEx.Tasks can be updated without causing problems, but both Nito.Collections.Deque and Nito.Disposables cause the same set of compiler warnings and runtime assembly load errors.

The problem is due to how NETStandard depends on System.Net.Http. There have been endless problems with this (e.g., 1, 2).
I recommend first backing out your NETStandard.Library install, if possible. You can do the following steps:

Temporarily uninstall all Nito.* and RdbmsEventStore references from your solution.
Manage NuGet Packages for your Solution, and install NETStandard.Library 1.6.1 into all projects that have any NETStandard.Library version (this will purposely downgrade any NETStandard.Library 2.0.0 projects to 1.6.1).
Keep those projects selected, and choose to Uninstall NETStandard.Library 1.6.1, being sure to check both the Remove dependencies and Force uninstall options.

Once NETStandard.Library 1.6.1 has been uninstalled, then for all your .NET 4.6.1 projects, install NETStandard.Library 2.0.0.
Next, repeatedly try to build your project, installing individual NuGet packages as necessary. (The NETStandard 1.6.1 uninstall-with-dependencies often removes a few packages you actually need).
Once your project builds, then try to install RdbmsEventStore again. It should pick up on the already-installed NETStandard.Library 2.0.0 references and avoid the dll hell (fingers crossed).

@StephenCleary Thanks for getting back to me. It turned out the steps you listed where not, at least in my project, enough, although they did lead us down the right path to eventually resolving this.
Here are the steps I took:

Start from the git commit before all of this (i.e. don't try to salvage, just start over).
Remove all references to the GAC version of System.Net.Http in my projects
I didn't have .NET Standard Library installed in any project, so I installed v1.6.1 in all projects (just in case that replaces some GAC references).
Uninstalled .NET Standard Library again, with the Remove dependencies and Force uninstall options as suggested.
Installed .NET Standard Library 2.0.0 in all projects. This also installed Microsoft.NETCore.Platforms 1.1.0, which I upgraded to 2.0.0.

There's now a bunch of build errors due to missing System.Net.Http. Turns out adding the .NET Standard Library package is not enough to actually resolve everything there when you're not under the new SDK, so you also need to

Add <DependsOnNETStandard>True</DependsOnNETStandard> to all project files.

 I resolved those like this:

Remove all binding redirects in all projects (applications and tests)

Add the following tags to all test csprojs (it didn't work for the web application, because it apparently only works for app.config, not web.config):
<AutoGenerateBindingRedirects>True</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType>True</GenerateBindingRedirectsOutputType>

Re-build again, and there's now only a single warning to generate binding redirects in web.config.

Let VS generate those remaining binding redirects by double-clicking the warning.

After this, I could install RdbmsEventStore and update the Nito packages without ending up in DLL Hell again 🎉 Along the way, my understanding for how the .NET Standard Libarary and the various SDKs play together has grown, but all of this still seems so much messier than it should have to be. I can't wait to be on .NET Core and just have a single SDK version at a time to worry about... :)

Thanks for the detailed follow-up!

Powershell for this (except for 7. and 1.):
Get-Project -All | ForEach-Object { $projectName = $_.ProjectName; Install-Package -ProjectName $projectName -Id NETStandard.Library -Version 1.6.1; Uninstall-Package -ProjectName $projectName -Id NETStandard.Library -Force -RemoveDependencies; Install-Package -ProjectName $projectName -Id NETStandard.Library -Version 2.0.1; Update-Package -ProjectName $projectName -Id Microsoft.NETCore.Platforms -Version 2.0.1; $projectFile = $_.FullName; $xmlProjFile = [xml](get-content $projectFile); $nsDefault = $xmlProjFile.DocumentElement.NamespaceURI; $elemProject = $xmlProjFile.Project; $elemPropertyGroup = $elemProject.PropertyGroup[0]; $wasWorkDone = $false; if($elemPropertyGroup.DependsOnNETStandard -eq $null) { $elemDependsOn = $xmlProjFile.CreateElement("DependsOnNETStandard", $nsDefault); $elemDependsOn.InnerText = 'true'; $elemPropertyGroup.AppendChild($elemDependsOn); $wasWorkDone = $true; }; if($elemPropertyGroup.AutoGenerateBindingRedirects -eq $null) { $elemAutogen = $xmlProjFile.CreateElement("AutoGenerateBindingRedirects", $nsDefault); $elemAutogen.InnerText = 'true'; $elemPropertyGroup.AppendChild($elemAutogen); $wasWorkDone = $true }; if($elemPropertyGroup.GenerateBindingRedirectsOutputType -eq $null) { $elemGenBr = $xmlProjFile.CreateElement("GenerateBindingRedirectsOutputType", $nsDefault); $elemGenBr.InnerText = 'true'; $elemPropertyGroup.AppendChild($elemGenBr); $wasWorkDone = $true }; if($wasWorkDone) { $xmlProjFile.Save($projectFile); }; };


License agreement Setup Installation step

Expected behavior:
Go to next step in the wizard installation.
Actual behavior:
I cannot go the next next step of the wizard installation. I click on "Continue" button to accept the License agreement but I always stay in the same step.
Reproduce steps:
http://localhost:8080/TastyIgniter-2.1.1/setup/
Version:
TastyIgniter-2.1.1
Additional Information:
Without errors in the browser

https://forum.tastyigniter.com/d/1353-setup-loop
Could you please try this?

I've tried to this but I continue with the same problem. Any idea?

@marcalbet What's your php version?


[SPARK-41049][SQL][FOLLOW-UP][3.5] stateful expressions test uses different pretty name

What changes were proposed in this pull request?

We need use a different pretty string for the stateful expression test case in branch-3.5.
Why are the changes needed?

Fix the failing test case.
Does this PR introduce any user-facing change?

NO
How was this patch tested?

Existing UT
Was this patch authored or co-authored using generative AI tooling?

NO

@cloud-fan

the test failure is unrelated, merging to 3.5!

Merged to branch-3.5.


panic + hang

I have written this simple program (my first ever in roc):
app [main] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.15.0/SlwdbJ-3GR7uBWQo6zlmYWNYOxnvo8r6YABXD-45UOw.tar.br" }

File.readUtf8 "myfile.txt"

I run it with
RUST_BACKTRACE=full roc build test.roc

I get:
thread 'main' panicked at crates/reporting/src/error/parse.rs:681:14:
not yet implemented: unhandled parse error: UnexpectedTopLevelExpr(@146)
stack backtrace:
   0:     0x59ba19d4b8ab - <unknown>
   1:     0x59ba1900d1e0 - <unknown>
   2:     0x59ba19d47113 - <unknown>
   3:     0x59ba19d4b644 - <unknown>
   4:     0x59ba19d4d1a0 - <unknown>
   5:     0x59ba19d4cebf - <unknown>
   6:     0x59ba19d4d6be - <unknown>
   7:     0x59ba19d4d5c2 - <unknown>
   8:     0x59ba19d4bda6 - <unknown>
   9:     0x59ba19d4d324 - <unknown>
  10:     0x59ba18f02e75 - <unknown>
  11:     0x59ba19aef3e3 - <unknown>
  12:     0x59ba19ae91ef - <unknown>
  13:     0x59ba197730bd - <unknown>
  14:     0x59ba19738d9d - <unknown>
  15:     0x59ba19740b7d - <unknown>
  16:     0x59ba19736bd6 - <unknown>
  17:     0x59ba196d5179 - <unknown>
  18:     0x59ba19217d26 - <unknown>
  19:     0x59ba19333205 - <unknown>
  20:     0x59ba191dcb43 - <unknown>
  21:     0x59ba191cfba3 - <unknown>
  22:     0x59ba191cfbc3 - <unknown>
  23:     0x59ba19d3ce2a - <unknown>
  24:     0x59ba191e25c5 - <unknown>
  25:     0x7ac87de29d90 - __libc_start_call_main
                               at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  26:     0x7ac87de29e40 - __libc_start_main_impl
                               at ./csu/../csu/libc-start.c:392:3
  27:     0x59ba18fa06ce - <unknown>
  28:                0x0 - <unknown>

roc nightly pre-release, built from commit 06996d8 on Fr 25 Okt 2024 09:02:07 UTC (on linux x86-64)

Ow, sorry to get you started with an error like this @mcol!
The important thing is that you need to have a main function in your file.
Instead of reading a file, it can be easier to import it like here. If you do prefer to read it the traditional way, check out this example (make sure to switch out "../platform/main.roc" with the basic-cli url).
We should definitely provide a nice error message for this case.


add new lyrics style 🎉

🎊🎉🎉🎉🎉🥳🎉🎉🎉🎉🎊

@SunsetTechuila it was a long, interesting and nice project.
thanks for letting everyone bloom more beautiful!
Keep Blooming! thanks


ver 1.0 htmml files problem

html files wont open. Bug or I just missing something? Maester 0.3.0 was working fine. First time trying version 1.0.
It creates file and file size indicates that there is data, just wont see it.

I believe I'm having this same issue. The previous version of Maester outputted HTML that opened just fine on my Mac. Maester 1.0 produces HTML files (alongside the .json and Markdown files) but it's just displaying as blank in the browser (tried Safari + Firefox).

any news or ideas what might be causing this?

I was able to recreate the behavior. I don't know whether this will also work as a workaround for you.
The report was ok with a clean installation.
When I used the example from the following link I got the error:
https://maester.dev/docs/ca-what-if#example-2-test-if-non-admin-users-are-blocked-from-accessing-the-azure-portal
It works for me to define more than one “tag”.
Like:
Describe “ContosoEntraConfig” tag “CA”, “Contoso” {
Link to formatting guide:
https://maester.dev/docs/writing-tests/formatting-test-results#a-custom-maester-test-to-check-conditional-access-policies-standards


Uncaught Error: Requested measurement of a line that is not currently rendered

[Enter steps to reproduce:]

...
...

Atom: 1.19.0-beta0 x64
Electron: 1.6.9
OS: Mac OS X 10.12.5
Thrown From: Atom Core
Stack Trace
Uncaught Error: Requested measurement of a line that is not currently rendered
At /Applications/Atom Beta.app/Contents/Resources/app/src/text-editor-component.js:2137

Error: Requested measurement of a line that is not currently rendered
  at horizontalPositionsToMeasure.forEach (<embedded>:8112:29)
  at Map.forEach (native)
  at TextEditorComponent.measureHorizontalPositions (<embedded>:8105:45)
  at TextEditorComponent.measureContentDuringUpdateSync (<embedded>:6350:16)
  at scheduler.readDocument (<embedded>:6240:20)
  at ViewRegistry.module.exports.ViewRegistry.performDocumentUpdate (<embedded>:20026:15)
  at <embedded>:19838:65

Commands
     -0:53 editor:toggle-line-comments (input.hidden-input)
     -0:51.2.0 core:save (input.hidden-input)
     -0:15.8.0 core:backspace (input.hidden-input)
     -0:11.8.0 core:save (input.hidden-input)

Non-Core Packages
autocomplete-modules 1.6.10
autocomplete-paths 1.0.5
file-icons 2.1.7
language-babel 2.66.0
nuclide 0.232.0
wakatime 7.0.3

Thanks for the report!  Can you confirm a few things for us?

what were you doing at the time of the error?
is the error is reproducible?
if reproducible, do you see the error in safe mode (atom --safe)?

I was just selecting some text, atom deselected and then started showing me the error again and again.
Til then I'm still working with atom-beta and the error never appeared again, but now the selection and deleting of a block of code it's weird, I select the code I want to delete, then press the delete key, the editor deletes that lines but the code below gets automatic selected, if I try to write before deleting I delete more lines that I wanted

Atom version: 1.19.0-beta2
It happend when I tried to open file with conflicts after running the git rebase command.

Randomly happens to me when copy/pasting code. The code looks half-pasted, where the first half of the code is just empty. Atom 1.19.0-beta2

This just happened to me for the first time on 1.19.0-beta2 upon opening a file containing a merge conflict. It wouldn't let me scroll down more than five lines. I closed the file, fixed the merge conflicts with vim and now Atom is fine.

Just happened to me after updating some packages in Atom and then trying to save a file

Looks like I just hit this as well in Atom Beta.
I was simply copying text from MS Word and pasting it in a new file in Atom Beta 1.19.0-beta3.
Clicking anywhere on the pasted text in Atom pops up this Uncaught Error.
This is on:
System Version:	OS X 10.11.6 (15G1510)
Kernel Version:	Darwin 15.6.0
/Applications/Atom Beta.app/Contents/Resources/app/src/text-editor-component.js:2150 Hide Stack Trace Error: Requested measurement of a line that is not currently rendered     at horizontalPositionsToMeasure.forEach (/Applications/Atom Beta.app/Contents/Resources/app/src/text-editor-component.js:2148:29)     at Map.forEach (native)     at TextEditorComponent.measureHorizontalPositions (/Applications/Atom Beta.app/Contents/Resources/app/src/text-editor-component.js:2141:45)     at TextEditorComponent.measureContentDuringUpdateSync (/Applications/Atom Beta.app/Contents/Resources/app/src/text-editor-component.js:382:16)     at scheduler.readDocument (/Applications/Atom Beta.app/Contents/Resources/app/src/text-editor-component.js:266:20)     at ViewRegistry.module.exports.ViewRegistry.performDocumentUpdate (/Applications/Atom Beta.app/Contents/Resources/app/src/view-registry.js:191:15)     at /Applications/Atom Beta.app/Contents/Resources/app/src/view-registry.js:3:65

Til then I'm still working with atom-beta and the error never appeared again, but now the selection and deleting of a block of code it's weird, I select the code I want to delete, then press the delete key, the editor deletes that lines but the code below gets automatic selected, if I try to write before deleting I delete more lines that I wanted

Are you still seeing this with the latest beta (1.19.0-beta4) @g33ktony?  If so can you open a new issue and fill out the template?

For folks hitting this error copying/pasting text, can anyone confirm if it's reproducible in safe mode (atom --safe) and if so, can you share the text so we can try to reproduce?

I just stop using beta


gtk3 has a runtime dependency on glib.dev

Issue description
pavucontrol depends on glib.dev and this dependency is introduced via gtk3.
Steps to reproduce
$ grep -R $(nix-build -A glib.dev) $(nix-build -A gtk3)
Binary file /nix/store/0dq80h3lm1lk6ics1a57qfzhj8686bir-gtk+3-3.22.4/lib/libgtk-3.so matches
Binary file /nix/store/0dq80h3lm1lk6ics1a57qfzhj8686bir-gtk+3-3.22.4/lib/libgtk-3.so.0.2200.4 matches
Binary file /nix/store/0dq80h3lm1lk6ics1a57qfzhj8686bir-gtk+3-3.22.4/lib/libgtk-3.so.0 matches

The exact culprit seems to be
/nix/store/d77mcvm3qc1incky0zwn744anxn8d1qk-glib-2.50.2-dev/include/glib-2.0/gobject/gobjectnotifyqueue.c

cc maintainers @7c6f434c @lovek323

I just found in the changelog
commit 2819dd60b7b2feaa0609c1017e20105852ca92e4
Author: Benjamin Otte<EMAIL_ADDRESS>Date:   Fri Jul 23 10:49:26 2010 +0200

    notify: Readd g_object_notify_queue_from_object()

    gobjectnotifyqueue.c is a public header, so we cannot remove
    files from
    it. (Yes you read that right, this .c file is a public header. See
    your
    installation directory.)

ATM it's not clear to me how/why that string gets in. It might be __FILE__ again, like in #15931.

Confirmed! I'll prepare a fix for staging.

Note: 16.09 isn't affected (gtk+3-3.20.9).


10.0.0-alpha.0 - compat cloneElement ignoring props and children

I believe this bug might have originated here: https://github.com/developit/preact/commit/d3c12b7ea3c16f0fa545842ac3bd2b79567e347c

Can you share some code where the issue can be reproduced? Something like a simple snippet in CodeSandbox helps tremendously in fixing issues.

@marvinhagemeister Here is a snippet showing a difference between using cloneElement from preact vs from preact/compat https://codesandbox.io/s/34z0lkm6pm

Ok, I was able to narrow down the issue to using compat together with createElement from core. Because we're only checking for $$typeof to mark a vnode as valid it seems like we need to allow standard preact vnodes, too. Will investigate further.


open vscode in lite mode

Hello everyone,
first of all thanks to everyone who contribute on this amazing project.
sometimes i want to open vscode in lite mode without eslint sever or ts server and without autocomplete just i want view the code with less cost, i think it will be great if we can do this with command line, pass it as argument
code ./path/to/project --lite-mode

thanks

you can use  --disable-extensions or  --disable-extension <ext-id> for this

you can use  --disable-extensions or  --disable-extension <ext-id> for this

@jrieken  thanks for this handy solution, but the ts server will keep running, is there any way to stop ?


Please add a bit of color to the hyperlinks

Hello
Firstly, this is a fantastic theme.
I do feel that the hyperlinks on my post are not that evident that they are links. They seem like underlined text rather than a link.
For example, for this post: https://merecivilian.com/keychronk1/
See attached images.

I am not fussed on which color but I feel any color would make it more obvious that it is a link. The Ghost default theme (casper) basically changes the color when you hover over the link. This is also good option.
Thanking you once again for making this theme.

The latest version implements a hover state for links in posts. However, if you want to use another color you have to change it by yourself through the Admin panel.


The codec API should report better errors.

Currently any error that happens while decoding an image in codec.cc is reported back to the Framework as a null return value, which is translated to an operation failed exception by _futurize. This isn't very useful when debugging image decoding issues (e.g #26757).
We should refactor the Codec API to report back meaningful errors.

We did this


[Feature] Support using code-generator to generate client

/assign

@majian159  Please note this repo is automatically updated by script. \cc @yangsoon

Hi, @majian159. the code of repo kubevela-core-api was generated from kubevela/apis. Every release of kubevela will trigger the github-action to sync the code. you can refer to this PR https://github.com/oam-dev/kubevela/pull/1523. We suggest you could also generated the code of client by script.


Should authenticated checkpoint data structure contain epoch ID?

i.e. SignedCheckpoint and CertifiedCheckpoint: should they contain epoch ID when signed?

I think they should, since they might be used in a context where the epoch cannot be inferred by the signatures on them, such as when they are authenticated by a long chain of checkpoints with a final certificate.


local title editing

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

translation edited to give the actual meaning.

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


Organization  & Project on Authentication

Preflight Checklist

[X] I could not find a solution in the existing issues, docs, nor discussions
[X] I have joined the ZITADEL chat

Describe your problem
Using Zitadel Cloud
Created one Instance
Create two Organizations (ORG1, ORG2)
Create a Project for each Organizations.
Create a user  for each Organizations.( i.e., users are separate with no Grants)
Description:
• Organization 1 is for administrators.
• Organization 2 is For Client
The Idea behind this.
Client  Organization can only  use there SAML Project
Administrator Organization  can use any project.  So, I wanted to  Grant permission to Administrators to other Organizations and the client Organizations   are restricted.
Two applications and both application are in the same Domain.

IPAM for admins
Zabbix for client

Before I set  grants/permission it seems the Client users can logon to  Administrator projects. I tested this with two separate  zabbix-servers, two separate IPAM servers, Nextcloud-servers, etc... to make sure it wasn’t my  application.
I'm using this documentation or am I not understanding it correctly?
https://zitadel.com/docs/guides/manage/console/organizations
I guess the main question is how to keep clients  from being able to log on to my administrator Projects?  I was assuming  since each user is in their own Organizations this would prevent this from happing.
Describe your ideal solution
To have Project on Authentication  enable when creating a project, as described “It is checked whether the user's organization has this project. If not, the user cannot be authenticated.”
This might prevent  issues  when a user creates a project and  other users are able to log on to a project not in their organizations.
Version
v2.40.4
Environment
ZITADEL Cloud
Additional Context
another solution  might be in the documentation,  perhaps highlight/link the project settings .
https://zitadel.com/docs/guides/manage/console/organizations

Hei @HungryHowies
We do differ between authentication and authorization. The login is only authentication and can be done per default by any user. If you want to restrict the organization, you could send the org scope urn:zitadel:iam:org:id:{id} https://zitadel.com/docs/apis/openidoauth/scopes#reserved-scopes
In that case we assume that authorization (permissions) are handled within your application.
The second possibility is to enable the setting "check authorization on authentication" in your project. If that is set the user needs a authorization in your project, without the user will not be able to login.

Hei @HungryHowies We do differ between authentication and authorization. The login is only authentication and can be done per default by any user. If you want to restrict the organization, you could send the org scope urn:zitadel:iam:org🆔{id} https://zitadel.com/docs/apis/openidoauth/scopes#reserved-scopes
In that case we assume that authorization (permissions) are handled within your application. The second possibility is to enable the setting "check authorization on authentication" in your project. If that is set the user needs a authorization in your project, without the user will not be able to login.

Understood and thank you for the reply,  I didnt know about the  first part ( urn:zitadel:iam:org🆔{id} ) but I   was able to  find the  "check authorization on authentication" and that worked.  I assumed that  users were restricted already per organization then "Grants" as needed.
Thanks again


Fix mining all blocks instantly (except unbreakable ones)

Fixed by https://github.com/Lea-fish/Leafish/pull/340 and https://github.com/Lea-fish/Leafish/commit/98c00e6ec7c47b7925f9212ac50a4253356d9ad3


include cardboard box for systems tests

This just includes the cardbox sdf that is used for system tests obstacle.
Related pr
https://github.com/ros-navigation/navigation2/pull/4440

Can't you pull this from the fuel database? https://app.gazebosim.org/OpenRobotics/fuel/models/Cardboard box
<include>
<uri>
https://fuel.gazebosim.org/1.0/OpenRobotics/models/Cardboard box
</uri>
</include>

I meant more in its use in system tests, but I see you're spawning it so I think yeah this probably makes sense unless you hardcoded that SDF in the launch file itself

Can't you pull this from the fuel database? https://app.gazebosim.org/OpenRobotics/fuel/models/Cardboard box
<include>
<uri>
https://fuel.gazebosim.org/1.0/OpenRobotics/models/Cardboard box
</uri>
</include>

I get this error though, but does not crash anyways, it an issue with the model  itself.

5: [ruby $(which gz) sim-1] [Err] [SystemPaths.cc:525] Could not resolve file [cardboard_box.png]

Actually @stevedanomodolor there's a models directory in the nav2 systems test package: https://github.com/ros-navigation/navigation2/tree/main/nav2_system_tests/models I think this should move over there instead

Actually @stevedanomodolor there's a models directory in the nav2 systems test package: https://github.com/ros-navigation/navigation2/tree/main/nav2_system_tests/models I think this should move over there instead
I think we can broadly delete the other things in that directory now with this repo

here I plan to do that, in the final cleanup stage, to remove all the modem and world there.

here I plan to do that, in the final cleanup stage, to remove all the modem and world there.

I don't understand, can you rephrase?

how can I hardcode it during launch, can you give me an example, I still have to create the file separately right?

For example just having this trivial SDF as a string defined in a python variable and passing that into the spawner. But, I think having this SDF file makes sense, just should be in nav2_system_tests/models so its a testing asset

here I plan to do that, in the final cleanup stage, to remove all the modem and world there.

I don't understand, can you rephrase?

how can I hardcode it during launch, can you give me an example, I still have to create the file separately right?

For example just having this trivial SDF as a string defined in a python variable and passing that into the spawner. But, I think having this SDF file makes sense, just should be in nav2_system_tests/models so its a testing asset

Ok, Understood. Although, what if we put all assets in this repository and after porting to the new gazebo, delete the urdf and world folder in the nav2_system_tests package?, or do you prefer to keep the cardboard in the nav2_system_tests package?

Although, what if we put all assets in this repository and after porting to the new gazebo, delete the urdf and world folder in the nav2_system_tests package?,

I think you can delete all of those now, we won't use them again, that's what this repo is for. But this repo is also a stand alone sim for the TB3/4 - not just Nav2 system testing (also our bringup or just other people that want to use TB3/4 using standard ROS tooling).

or do you prefer to keep the cardboard in the nav2_system_tests package?

I'd prefer that, so that the models/ just has this (maybe more later?). This is a Nav2-system-testing-specific asset, so I think for organization that's where it belongs

OK, then closing this pr then.


enable apache_php_max_input_vars

This adds the param apache_php_max_input_vars to the zabbix::web class.
It will allow us to configure the amount of max input vars for GET/POST
requests. On large installations you need 2000 or more vars on mass
updates. 1000 is the default value on CentOS which gets set in the
zabbix::params.pp

Thanks!


Add the .gitignore file; Detele files generated by compiler; fix an error(calling a not existing method)

Add the .gitignore file;
Detele files generated by compiler

Would you please check this?  @sabir-aspose , @fahadadeel .  thanks.

@caoyongxu Please check this comment: https://github.com/fileformat-words-gists/FileFormat.Words-for-.NET/issues/2#issuecomment-2218668007


fix deprecation warnings for collections.abc (will break in Python 3.9)

Codecov Report

Merging #1865 into develop will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #1865      +/-   ##
===========================================
+ Coverage    92.56%   92.56%   +<.01%
===========================================
  Files           53       53
  Lines        10000    10006       +6
===========================================
+ Hits          9256     9262       +6
  Misses         744      744

Impacted Files
Coverage Δ

botocore/session.py
98.13% <100%> (+0.01%)
:arrow_up:

botocore/awsrequest.py
98.37% <100%> (+0.01%)
:arrow_up:

Continue to review full report at Codecov.

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

FYI the title seems misleading: it breaks with the newly released Python 3.8, not the next-year unreleased 3.9. We haven't tested yet, but the message seems straightforward about this:
/opt/api_venv/lib/python3.7/site-packages/botocore/awsrequest.py:624: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working

Thanks, it would be great to see this PR merged!
@b4stien it looks like they actually pushed the removal to 3.9 when they released 3.8--see https://github.com/boto/botocore/issues/1615#issuecomment-548108554 or this Twitter thread for more details.

@toolness I didn't realize it moved! I thought I just remembered it incorrectly.
I had checked the Python source and saw it in 3.8 when I was checking this and itypes, which I had on an ignore list for the DeprecationWarning and was preparing to start testing against 3.8.

Is this fixed yet? I feel like this should be a higher priority item. Lambda supports 3.8 yet we cannot safely use boto3 because of this deprecation.

Python 3.9 will raise an ImportError as per upstream PR : https://github.com/python/cpython/pull/10596

Will anyone ever merge this?

@tirkarthi thanks, I updated the test!
Now to get this merged :thinking:...

This is no longer needed with #1922 which does the same thing.


Focal Loss is Huge

Focal loss is huge. Why is that?
For example: loss: 38107.2309

Probably just because it isn't normalised by the number of pixels anywhere (only K.sum is used).

Use reduce_sum instead of K.sum

https://github.com/mkocabas/focal-loss-keras/commit/5852a8857014ba05eedbc8ffab264f955acb16b6 should solve the issue


Cross platform passwd functions

Moved from https://github.com/joyent/libuv/issues/468

@isaacs said:

Regarding: joyent/node#2857
It'd be lovely if there was a way to call a uv_* version of the pwnam family of functions. See man 3 pwnam.

This is needed to reliably and quickly get the home directory path. The home directory path is needed by a lot of node modules, but in some environments the $HOME environment variable is not defined. This can make all kinds of things fail as most code depend on it being defined. The same applies for getting the username of the current user, which is also currently slow and convoluted.

Does Windows have a concept of group names or user ids?

From my little research, user group names seem to be the primary key of indexing a user group on Windows, and there's a scarcely-documented part of a SID called the RID (Relative Identifier), which looks to be pretty similar to Unix UIDs (System accounts < 1000, regular users at 1000+).

We now have uv_os_homedir thanks to @cjihrig. Can we close this now or is anything else wanted? NOte that if you ask for it you are implicitly volunteering to write the code! ;-)

I'd like to work on a uv_getlogin(), since I already have the code mostly written elsewhere.

@cjihrig kewl, lets keep it open then!

Just to be clear, the original request is not just to get the currently logged-in user's info, but rather to get info about any arbitrary user.
For example, in node-glob, I'd like to be able to expand paths like ~someuser/foo/bar to /home/someuser/foo/bar, or get the uid/gid/groups for a user by name, or get a username by uid, or a group name by gid.

I agree with above. These are basic platform primitives that are currently missing from Node. I currently use uid-number, but it comes with some overhead. I could also use the ~someuser expanding for https://github.com/sindresorhus/untildify/issues/1.

Hi all, maybe there is a small problem as SHGetKnownFolderPath used by uv_os_homedir is defined only on Windows Vista and successive OS.
https://msdn.microsoft.com/en-us/library/windows/desktop/bb762188(v=vs.85).aspx?f=255&MSPPError=-2147217396

@Pagghiu You're right! I guess we need a fallback SHGetFolderPath to with CSIDL_PROFILE.
Refs: https://msdn.microsoft.com/en-us/library/windows/desktop/ee417685(v=vs.85).aspx and https://msdn.microsoft.com/en-us/library/windows/desktop/dd378457(v=vs.85).aspx

Regarding the ability to look up information for arbitrary users, the challenge is on the Windows side. From my research, it seems like you either need an access token for the user in question, or need to dig through the registry. Here is a good explanation. If anyone knows of a simpler/better way to do this on Windows, I'd love to know. I also didn't find a cross platform way for doing this in Python, likely for the same reasons.

Can this issue be closed now that 217f81b has landed?

Probably. But, uv_get_passwd() only works for the current user. It would be nice to work for arbitrary users, but I ran into some trouble with the Windows implementation.

Let's close it with "patches with more enhancements are welcome". There is no better way to start the week than with less issues :-)

Is it worth opening a new issue to do this for arbitrary users, or is that a WONTFIX feature?
I get asked occasionally to support ~username/some/path in node-glob, and that'd require arbitrary user support.  If we're never going to get it, then I can just say "sorry, not happening".  But if that's worth digging into and supporting eventually, it seems like a new issue?

I'd love to support arbitrary users.
@piscisaureus or @orangemocha any clue how this would work, or if it is really feasible on Windows?

@isaacs FWIW, here is how Python does it on Windows: https://github.com/python/cpython/blob/master/Lib/ntpath.py#L295-L337
I wouldn't mind having this in libuv, on Unix we'd use the pw family of functions.

@saghul is there an alternative that doesn't rely on environment variables? It looks like that code assumes that all users home directories are in the same place. Can Windows users move their home directories?

@cjihrig TBH I have no idea.

Can Windows users move their home directories?

Yes, that's possible through the registry. To get a certain user's homedir, we would have to obtain the user's SID and then look up the ProfileImagePath value in the registry path below and possibly expand things like %SystemDrive% in the value:


× Unhandled Rejection (TypeError): Cannot set property 'support' of undefined

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: 6.2.0

Platform/Target and Browser Versions: Windows w/ Edge

What you did
I am adding  into the react element
Expected Behavior
Swiper renders
Actual Behavior

What does this mean?

Was importing Slider via
import { Swiper } from 'swiper';
should have been
import { Swiper, SwiperSlide } from 'swiper/react';


Automate merging of statements

Current way of merging of duplicated statements involves some manual work. In many cases it could be automated. Currently the process of merging is as follows:

Select the statement this error message "This statement is the same as the previous one - 'label'" appeared for by clicking the checkbox left to the statement. This must be the statement right above the error message. And make sure this is the only statement selected.
Click "Merge two similar statements" button. This button looks like two lines merging into a single line (like Y).
A dialog should appear where you will have possibility to select what statement you want to continue using. (you selected one statement,  metamath-lamp finds another duplicated statement automatically)
This way one of the duplicated statements will be removed automatically and metamath-lamp will update all the justifications which used the removed statement so they will use the statement you chose to continue using.

The "auto merge" feature should not remove the G step.

Handle this case too:

This is implemented on dev.
Automatic merging of similar steps is optional. There is a global setting "Merge similar steps automatically". It is Off by default. It can merge only in simple cases: 1) both similar steps must be P or G (not H); 2) one of them must have a non-empty justification and another must have an empty justification. Only in that case the one with an empty justification will be removed and all references to it will be replaced with the label of the remaining step. If automatic merging is not possible then the manual merging is still available and works as before (the Merge icon).

One more case is added which the automatic merging can handle - if both statements have same justification. In that case the upper one will remain and the lower one will be removed.

This is available in version 16


Leveraging vectored I/O during serialization

Right now, the Serialize trait looks something like this:
pub trait Serialize {
    type Bytes;
    fn serialize(&self) -> Self::Bytes;
    fn serialize_into(&self, bytes: &mut Vec<u8>);
}

Meanwhile, the Request trait has a method like this (ignoring the existence of fds):
fn serialize(self, extension_opcode: u8) -> Vec<Vec<u8>>

In practice, this usually means that for the request, the "body" (i.e. the non-list part of the request) is serialized into one vector, and the remaining lists are serialized into a Vec<u8> each. While this is good, it means that we're spending time serializing and buffering our data, which is a problem that vectored writes were designed to solve.
In breadx, I was experimenting with a trait design like this:
pub trait Serialize {
    fn num_slices(&self) -> usize;
    // returns remainder in slices and count in bytes
    fn serialize<'a>(&'a self, slices: &mut [IoSlice<'a>]) -> (&mut [IoSlice<'a>], usize);
}

// usage
let num_slices = foo.num_slices();
let mut slices = Vec::with_capacity(num_slices);
slices.resize_with(num_slices, || IoSlice::new(&[]));
foo.serialize(&mut slices);

Where num_slices tells the user how many IoSlices the object will use during serialization, and serialize writes those slices into the given buffer. In my experiments I also added a with_slices method that takes a callback with the mutable IoSlices. By default it used the Vec implementation above, but it could be overridden to use an array and completely avoid heap memory.
The main issue with the above, which I discovered during experimentation, is that requests end up having several fields, and dedicating an I/O slice to each one ends up with needing dozens of I/O slices for memory that's mostly contiguous. However, my solution to that was to use bytemuck to convert raw structures to bytes, like so:
struct FooRequest<'input> {
    foo: u32,
    bar: u32,
    my_list: Cow<'input, [OtherThing]>,
}

// have some conversion method to convert FooRequest to FooRequestSer, like
// maybe an IntoSerializable trait

struct FooRequestSer<'input> {
    body: FooBody,
    my_list: Cow<'input, [OtherThing]>,
}

#[derive(bytemuck::Pod, bytemuck::Zeroable)]
#[repr(C)]
struct FooBody {
    foo: u32,
    bar: u32,
}

// FooRequestSer can be converted into two I/O slices: one for FooBody
// (we can get this using bytemuck::bytes_of()), and one for my_list
// (if OtherThing is plain old data, we can use bytemuck::cast_slice() to
// cast it to a slice of bytes)

What are your thoughts on this? It would certainly be no small amount of work, and I'm not sure it would be worth it, but this is pretty close to what libxcb does through unsafe pointer casting.

Since you are talking about optimisations, I fear I would want some benchmarks on this. Something that uses criterion to serialise a request and compares that against a hand-written solution? What would be a "bad" request where this matters a lot?

and the remaining lists are serialized into a Vec each

What would be a request where this matters a lot? My "go to example" for "requests causing problems with lots of data" would be PutImage, and there we directly provide the raw pixel bytes for I/O without needing to copy them:
https://github.com/psychon/x11rb/blob/e6a7071f8c3f472781815cd1457966fd20533cfd/x11rb-protocol/src/protocol/xproto.rs#L17028
https://github.com/psychon/x11rb/blob/e6a7071f8c3f472781815cd1457966fd20533cfd/x11rb-protocol/src/protocol/xproto.rs#L17076
But this 'input lifetime is a problem that I did not manage to pass through an trait, which is why the serialize method is outside of a trait. Then.... I basically gave up and did the horrible thing of "just copy everything":
https://github.com/psychon/x11rb/blob/e6a7071f8c3f472781815cd1457966fd20533cfd/x11rb-protocol/src/protocol/xproto.rs#L17127-L17136
So, I bet it would be quite simple to write code that does better than this serialize trait impl. Dunno how much the allocations in the non-trait serialized really costs, but it should also be better to do better than that.
GetImage likely is a bad example for this kind of experiments. I just looked through xproto.xml and did not find a single request with more than one list. xkb has SetCompatMap and SetDeviceInfo with two lists each. xinput has XIPassiveGrabDevice and SendExtensionEvent with two lists. Hm, yeah....
Another thing that came to my mind while looking through the XML: This proposal means that we now need #[repr(C)] and have to insert padding where needed etc. Oh and the Request structs need new fields for the automatically-set things like major request number and the length field. That's more complication than I expected...
Anyway, what I really wanted to point at is https://bugs.freedesktop.org/show_bug.cgi?id=23403 and https://gitlab.freedesktop.org/xorg/lib/libxcb/-/issues/36. I think your proposal does not have this problem, but I just wanted to point out that even libxcb did not manage to get (the C equivalent of) the #[repr] business right. As Josh wrote ten years ago:

Yeah.  Normally, the X protocol padding rules always agree with compiler padding rules, but not when a struct ends with a smaller-than-4-byte field.

This is one thing that I always liked about x11rb: I can be quite confident that we do not have any "the compiler decided to screw us up"-problems since we do all the parsing/serialising "by hand" (which of course means more code that basically does not do anything....).
So, yeah... dunno what to do, but I'd definitely hope for some strong benchmark results indicating that such a change is worthwhile. After all, we are doing I/O and that should be a lot slower than any of the temporary memory allocations on the way there (except for that useless copy in the current Request trait, that one I consider an obvious bug that I just do not know how to fix).

So, yeah... dunno what to do, but I'd definitely hope for some strong benchmark results indicating that such a change is worthwhile.

Yeah, I definitely think we should get benchmarks up and running first. I just wanted to discuss what a potential trait design could look like.

I just wanted to discuss what a potential trait design could look like.

Sure!
My previous attempts / thoughts can be found in #656 and #657. Quote from #657:

Compared to the original idea from https://github.com/psychon/x11rb/issues/656, I changed the result type to use Vec instead of PiecewiseBuf<'static>. Request sending needs to consume the struct since FDs need to be consumed, but that means that 'static is the only possible life time. At that point, I am not sure whether the "picewise buffers" really help much. We would still have to clone the "big argument" to PutImage to get rid of the 'input lifetime, so putting everything into a single buffer is not all that much worse, I guess.

As always, FDs make everything complicated. ;-)
(In case the above is not clear: For a request with FDs, the request struct contains the FD. Since FDs are neither Copy nor Clone, serialising has to either dup() the FD (ugly and I would count this as "does I/O", so does not belong into x11rb-protocol) or has to consume the request struct. And since it is a trait, this means that all trait implementations have to do this. And thus we cannot borrow from the request struct any more, since it consumed. Everyone is sad.)
Now that I have written this, I wonder whether one could move the problem to the impl:
impl Request for RequestWithFDs { stuff }
impl Request for &RequestWithoutFDs { stuff }

By implementing the trait for a reference to a struct, one can work around the "consumes the struct". However.... I don't think the lifetimes would work out, would they?

So, for your example from above, that would mean:
struct FooRequest<'input> {
    foo: u32,
    bar: u32,
    fd: RawFdContainer,
    my_list: Cow<'input, [OtherThing]>,
}

struct FooRequestSer<'input> {
    body: FooBody,
    my_list: Cow<'input, [OtherThing]>,
}

impl<'input> IntoSerializable for FooRequest<'input> {
    type Target = FooRequestSer<'input>;
    fn into_serializable(self, fds: fds: &mut Vec<RawFdContainer>) -> Self::Target {
        fds.push(self.fd);
        Self::Target {
            body: FooBody {
                foo: self.foo,
                bar: self.bar,
            },
            my_list: self.my_list
        }
    }
}

#[derive(bytemuck::Pod, bytemuck::Zeroable)]
#[repr(C)]
struct FooBody {
    foo: u32,
    bar: u32,
}

Right? So... first we have FooRequest. IntoSerializable would then remove any FDs from that (and for things without an FD, it could just return self, I guess). Then FooRequestSer implements some Serialize trait that would then split things up again into "pieces" where each piece can somehow be cast to bytes.
This could possibly end up in a lot of code, but might work, I guess. If you want, you can experiment some more with this. A self-contained, compilable example would be nice, I guess.
I wonder how well the compiler would manage to optimise all those "uselessly move data around" away...
Anyway, gotta go.

I wonder how well the compiler would manage to optimise all those "uselessly move data around" away...

I actually did some experiments with this on Godbolt. Anything less than a pointer in size is usually a no-op, and anything more turns into a mov or three.

Another potential benefit I noticed while analyzing libcairo's source code: vectored I/O can be used to effectively crop and image without using an intermediate buffer: https://github.com/freedesktop/cairo/blob/master/src/cairo-xcb-connection-core.c#L146-L224


Add a simple demo script

The straightforward use case of keras2sql is to send a pickled model the web service to generate the SQL code.
Something prevented keras models to be picklable. An issue has been created  (https://github.com/keras-team/keras/issues/10475). It now fixed. Thanks to the keras team.
The simple demo script should demo some layers (dense + ) and some activation functions (relu + softmax) on the iris dataset.


Error after running gui

Hey @AbdulkadirH5253 , check for the naming convention as listed here -> https://github.com/ParthJadhav/Tkinter-Designer/blob/master/docs/instructions.md


feat: focus tab

Description
Changed the class from focus:ring-0 to focus:ring to improve keyboard navigation and accessibility in the Tab component.
Another class idea I had was focus:ring-1 rounded-t, which would have slightly softer features
Related issue(s)
#305
What kind of change does this PR introduce? (check at least one)

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New Feature (non-breaking change which adds functionality)
[ ] New Feature (BREAKING CHANGE which adds functionality)
[x] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
How has this been tested?

Visual UI/UX test using storybook npm run storybook
Screenshots (if appropriate):
MacBook Pro Sonoma 14.2.1
Chrome Version 123.0.6312.87 (Official Build) (arm64)

The PR fulfils these requirements:

[x] It's submitted to the main branch
[x] When resolving a specific issue, it's referenced in the related issue section above
[ ] My change requires a change to the documentation. (Managed by Tremor Team)
[ ] I have added tests to cover my changes
[x] Check the "Allow edits from maintainers" option while creating your PR.
[x] Add refs #XXX or fixes #XXX to the related issue section if your PR refers to or fixes an issue.
[x] By contributing to Tremor, you confirm that you have read and agreed to Tremor's CONTRIBUTING.md guideline. You also agree that your contributions will be licensed under the Apache License 2.0 license.

Thanks, will check this out this week!


[LOG4J2-3028] OutputStreamManager#flushBuffer always clears the buffer.

@carterkozak, I am joining to the party late, sorry. What is the status of this PR? Can we merge it?

@jkozlowski, thanks so much for the contribution! Would you mind updating the changes.xml too, please? That is,
<action issue="LOG4J2-3028" dev="carterkozak" type="fix" due-to="Jakub Kozlowski">
  OutputStreamManager does not clear buffer on exception.
</action>

@vy should be done now

Hmm, there were merge conflicts, so I merged develop and now builds aren't green; I wonder if it's an actual issue or a flake?

It looks like a build flake, I'll take care of the merge in the next hour

@vy Yep, I've taken care of merging this :-)


add authorization for downloads from platform.planqk.de

The new commit should solve all addressed problems.


Feature/scale image storage

closes USACE/instrumentation#9

CC @KevinJJackson .  Have the fix on the ui-side that implements this.  Will coordinate via PR soon ...


Issue with obj loader

http://www.html5gamedevs.com/topic/33562-why-does-face-flip-occur/?tab=comments#comment-192603

The normals are flipped in the OBJ, it's not a bug. See my answer here: http://www.html5gamedevs.com/topic/33562-why-does-face-flip-occur/?do=findComment&comment=192856


Make cooldown more modifiable.

Probably need to change later, if some add and some multiply, to have consistent order.


Merge conflicts with multi-env with "amplify checkout env xxx"

Amplify CLI Version
12.10.1
Question
There is a file cli-input.json that contains oAuthMetadata, with CallbackURLs and LogoutURLs props
Those properties are different for each environment. Which is causing conflict when switching "env" branches and merging changes between them.
Is there a way to avoid constant merge conflicts?
The workaround I'm using is to keep separate config files, cli-inputs-dev.json and copy them over when applying changes. Not very convenient.
Thanks!

Hi @OperationalFallacy, unfortunately there isn't currently a mechanism for parameterizing those values between environments. What you are currently doing is probably the best workaround (although I agree it's clunky). Marking this as a feature request.

Wanted to add to the list of checkout griefs
The checkouts of front-end is even more complicated with dedicated environments in separated accounts

the amplify env checkout doesn't work because standalone front-end dir (not backend edits there)
I have to do "amplify pull --appId xxx --envName prod", because its different aws accounts for environments
that pull tries to overwrite Amplify Studio UI settings, which I had to keep in one env, because they can't be synced
and finally, similarly to the problem with cli-inputs, it overwrites amplifyconfiguration.json which is again env specific


du command completion broken since update to 10.11

I upgrade to 10.11 and the du command is since then behaving strangely.
I expect du to show a list of files (as it always did) but now it only shows options and never shows files again.
Example:
When I write du<space> into the console and press TAB I just end up with this:
$ du -

another TAB
$ du -
- option
-H  -- follow symlinks on the command line
-I  -- ignore files/directories matching specified mask
-L  -- follow all symlinks
-P  -- do not follow symlinks (default)
-a  -- report sizes for all files, not just directories
...

If I remove the du line from the completion file list (~/..zcompdump) for files work but not option. Is there a way to get both working?

I can reproduce on El Capitan with zsh 5.0.8.
This seems to be an issue with zsh itself, not Oh My Zsh. The same behavior happens if I run zsh without OMZ.
Looks like it's fixed in zsh 5.1.1: if I install and run the Homebrew zsh, which is now at 5.1.1, du completion works as expected again. This change in zsh's _du looks like what fixed it. That's the same diff I see between the 5.0.8 and 5.1.1 _du functions installed on my machine.
As a hack, you could just grab the latest version of _du from zsh and get it on your $fpath. The traditional way to do that would be to put it in /usr/local/share/zsh/site-functions. This is on the $fpath in zsh by default. That would fix it on a per-machine basis. You could also make a custom OMZ plugin out of it if you're syncing your custom OMZ between machines and wanted to make it not rely on per-machine configuration.

Ping... is the hack or version bump working for you?

Wow, thanks for this verbose answer. I learnt a lot. I just tested it.
I installed zsh via brew and now it works. Will definitely look now into fpath. And thanks a lot for the link to the _du change commit, was really interesting! I'm closing this issue.

 Glad to be of help.

Well, I use gdu -- a GUN version du command instead.

@apjanke works like a charm.
curl -sL https://raw.githubusercontent.com/zsh-users/zsh/master/Completion/Unix/Command/_du -o /usr/local/share/zsh/site-functions/_du
Just noticed curl tab completion is doing them same thing, on to the next issue!


Analysis fails to identify the correct amount of function arguments

Version and Platform (required):

Binary Ninja Version: 4.2.5828-dev
OS: Arch Linux
CPU Architecture: x64

Bug Description:
Analysis of the mentioned aarch64 binary fails to properly resolve the correct amount of function arguments for certain functions
Steps To Reproduce:

Check out #5809 for initial context (@xusheng6 knows the details, sorry for ping :D)
Grab the first attached binary libckteec.so from the linked issue
Navigate to ckteec_invoke_ta
Find TEEC_InvokeCommand and observe the function call in MLIL and higher lifted variants
→ (compare 1st screenshot)

Another instance where there are too many function arguments:

Same binary
Navigate to ckteec_invoke_init
Find TEEC_InvokeCommand again
→ (compare 2nd screenshot)

Expected Behavior:
Based on the OPTEE client impl the function should look like this:
TEEC_Result TEEC_InvokeCommand(TEEC_Session* session, uint32_t commandID, TEEC_Operation* operation, uint32_t* returnOrigin)

Screenshots/Video Recording:

Additional Information:
Related issue that contains the binary that I was testing with: #5809
The linked issue (also reported by me) was dealing with some functions not properly propagating function arguments even if the registers are clearly setting them up, esp, for external functions as it seemed. After the merged fix, this new behavior was observed on the same binary.

I have a similar issue with symbols containing debug information. Particularly with C++ functions that are non-static. For example, the following is supposed to have a this pointer, but because the symbol has no arguments, it assumes no arguments. I'm not sure if this is a different issue, I think it's the same underlying problem. I think the analyser should use this as a guide and not as definitive information.

Recovering function arguments is a fundamentally undecidable problem so there are bound to be errors especially in regard to un-typed external calls. That said there are likely ways we can improve our analysis provide more accurate parameter recovery. We are unlikely to address this in the short term.


Add Taiwan National Pingtung University

Summary
Add about one of the worst password requirements in a school I've ever seen to this list.

Thank you for the contribution!


Remove references to Chicago-specific things

@pcowgill Thanks! I was unsure if you wanted to keep that form on there or not.


Always 500 as error code

I'm having a trouble with moleculer-web now, I'm always getting 500 as error code.
Scenario :
In my middleware I have the bellow code
  try {
     container = await req.$service.broker.call('store.canAcess', {
        name: container,
        access: access
     });
  } catch (e) {
    console.log('e.code', e.code)//===>401
    return next(e);
  }

In my thought the error comes from here in moleculer-web
https://github.com/moleculerjs/moleculer-web/blob/1ba3656095a356ed3fe133161fb93ed46d007100/src/index.js#L505
Because  there you are creating a new MoleculerClientError and passing err.status as code witch is not defined on MoleculerClientError instances, so the new error created will have code equals to 500
Correct me if I'm missing something.

Thanks, yes its a bug. Could you make a fix PR? Just change the err.status to err.code.

Of course sure !


redirect for PROFIND request issues GET request

see code in com.squareup.okhttp.internal.http.HttpEngine#followUpRequest
      case HTTP_MULT_CHOICE:
      case HTTP_MOVED_PERM:
      case HTTP_MOVED_TEMP:
      case HTTP_SEE_OTHER:
        // Does the client allow redirects?
        if (!client.getFollowRedirects()) return null;

        String location = userResponse.header("Location");
        if (location == null) return null;
        HttpUrl url = userRequest.httpUrl().resolve(location);

        // Don't follow redirects to unsupported protocols.
        if (url == null) return null;

        // If configured, don't follow redirects between SSL and non-SSL.
        boolean sameScheme = url.scheme().equals(userRequest.httpUrl().scheme());
        if (!sameScheme && !client.getFollowSslRedirects()) return null;

        // Redirects don't include a request body.
        Request.Builder requestBuilder = userRequest.newBuilder();
        if (HttpMethod.permitsRequestBody(userRequest.method())) {
          requestBuilder.method("GET", null);
          requestBuilder.removeHeader("Transfer-Encoding");
          requestBuilder.removeHeader("Content-Length");
          requestBuilder.removeHeader("Content-Type");
        }

Thus, any http body is lost and out of a PROFIND request I get a GET request instead.
IMHO we need a more flexible solution for coming up with a redirected request. For PROPFIND, the redirected request should again be PROPFIND and the HTTP body should be maintained.

@rburgst does this fix the problem?
https://github.com/square/okhttp/pull/1901

yep, thanks!

seems to be back with okhttp-2.6.0 final

Problem seems to be in HttpEngine.java line 938
      case HTTP_MULT_CHOICE:
      case HTTP_MOVED_PERM:
      case HTTP_MOVED_TEMP:
      case HTTP_SEE_OTHER:
        // Does the client allow redirects?
        if (!client.getFollowRedirects()) return null;

        String location = userResponse.header("Location");
        if (location == null) return null;
        HttpUrl url = userRequest.httpUrl().resolve(location);

        // Don't follow redirects to unsupported protocols.
        if (url == null) return null;

        // If configured, don't follow redirects between SSL and non-SSL.
        boolean sameScheme = url.scheme().equals(userRequest.httpUrl().scheme());
        if (!sameScheme && !client.getFollowSslRedirects()) return null;

        // Redirects don't include a request body.
        Request.Builder requestBuilder = userRequest.newBuilder();
        if (HttpMethod.permitsRequestBody(userRequest.method())) {
>>> HERE IS THE PROBLEM
          requestBuilder.method("GET", null);
          requestBuilder.removeHeader("Transfer-Encoding");
          requestBuilder.removeHeader("Content-Length");
          requestBuilder.removeHeader("Content-Type");
        }


when only vertices are exported as glb, Vertex color is incorrect

What I want to do？
I want to export a point cloud model with color in blender, and render it in babylon.js. Like this photo

Steps to reproduce the behavior:

I generated a mesh point with vertex color data through  geometry node in blender

Then convert it to a vertex-only mesh, and you can query the vertex to see the color attribute

3.Export glb, use recommended vertex export options (cannot export correctly using various options)

I put it into the babylon sandbox and found that the vertex color is incorrect

I want to know what this problem is, please check it out, thank you very much！
The following are the test files（Contains glb and blend files）
test.zip
Version
-windows 11

Blender 4.2
-addon version 4.3.12

I personally speculate that this is because i can only export and import vertex colors based on face corner-byte color  in blender.
If so, I hope that the function of exporting vertex-color can be added to meet the demand of exporting point clouds separately.
Thanks again!

Confirmed.
The exported gltf file is not valid.
I have a fix in progress, but seems I also discovered that it will need more work on alpha VC .

Thanks, I'll be looking forward to this fix


Linkedin auth does not work for specific user profiles

Bug report
Describe the bug
When the user is trying to signIn using Linkedin account and the Linkedin profile does not have profile img/avatar then the login flow fails.
To Reproduce

Create a project with LinkedIn auth
Use LinkedIn account that does not have profile IMG
You are redirected to your app with an error in the URL (which get's replaced in a moment) with error in QS params:
See error: ?error=server_error&error_description=Unable+to+exchange+external+code%3A+AQQcwhaK4Q2zwl5p_uevx88g_DuM_u8cFyR4-Vw35iWSeKdRxewaPkC6y8CM-v8AFXJcGAniR_4wUVaTlRhmB1o0GS92xTS_0rnUTn_ZqiyTKefztCKYlwNcUtabRRIVV2xY9bPjsuzFyyonzMi9szpFJaMPDoOVSGGXzpj8yMUywAhxY0rQHRfmKzL6S0wPpGBAT0GY0FEHIRVwBTI
error response: {"code":500,"msg":"Internal server error","error_id":"0a74f93e-70f4-4635-9cbd-992a95c2d2e7"}

Expected behavior
Looks like it's not an issue on LinkedIn side since I'm able to login to other resources using the same LinkedIn account (without profile IMG)
Screenshots
System information
"@supabase/supabase-js": "^2.0.0",

the issue was present in older package versions as well

👍 Closing in favor of the client lib issue


Does the completness term necessary?

The completness term should be ignored in inpainting task as paper described, but i found completness term still retained in your code, does this necessary?

I am not exactly sure either. I have basically followed the implementation from https://github.com/younesse-cv/PatchMatch


why need the tf.nn.l2_loss?

like the title

@1453042287 l2_loss is used for weight decay of params


How to use it properly with popup?

I'm trying to use the ng-click-outside directive, but it does not work.
It's a popup and when I click outside of the popup it should close the popup. The problem is, that when I click in the document to show the popup it triggers already the outsideClick event. How do I avoid this event to be triggered when my popup first opens?
This is my component:
<div id="template" (clickOutside)="clickOutside($event)" [style.visibility]="isVisible ? 'visible' : 'hidden'">
    <ng-content></ng-content>
</div>

  showPopup(): void {
    this._isVisible = true;
  }

  clickOutside(e: Event) {
    this._isVisible = false;
  }

The clickOutside event is triggered just after showPopup which causes the popup to close automatically.

That was my solution, but smells IMO
 showPopup(): void {
    this._active = true;
    this._isVisible = true;
  }

  clickOutside(e: Event) {
    if (!this._active) {
      this._isVisible = false;
    }

    this._active = false;
  }

Try using [delayClickOutsideInit]="true".

Ah, that makes sense. You could try [clickOutsideEnabled]="isVisible".


pt: Fixed outdated Portuguese content to mention latest KubeCon 2022 conference

Updated the _index.html file content/pt-br/_index.html to include the
latest links for the Cloud Native Computing Foundation’s flagship conference.
KubeCon + CloudNativeCon
These KubeCon conferences are already over but we still have :

KubeCon em Barcelona on Maio 20-23, 2019
KubeCon em Shanghai em Junho, 24-26 de 2019

These have been updated to :

KubeCon na Europa de 16 a 20 de maio de 2022
KubeCon na América do Norte de 24 a 28 de outubro de 2022

Issue Fix : Update Portuguese content to mention KubeCon 2022 conference #31618

/check-cla

/assign @yagonobre

/lgtm


typo fix to quik city overview

just reading the docs and noticed a small typo, figured I could fix it quick ;)
What is it?

[ ✅ ] Docs / tests

Description
just reading the docs and noticed a small typo, figured I could fix it quick ;)
Use cases and why

Fixes a typo so that english speaking developers can more easily read the docs

Checklist:

[ ✅] My code follows the developer guidelines of this project
[✅ ] I have performed a self-review of my own code
[✅ ] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

Hey @willbuck 👋
Good to see you here as well! :)
Thanks for the fix!


Color Blind Mode

I tried reading through all the open issues but didn’t see this. I don’t know how many other are in the same boat as me, but the right place/wrong place colors are very similar to me. If I get one of each it’s doable because I can see the contrast between them, but when I get one it’s tough. I’ve taken a screenshot of the key and put it right next to my browser and it’s still very hard.I know there are lots of different color blind folks so it’s hard to know what will work for everyone. In this case I would think black, white and 50% would be great. Adding patterns is good too. Personally switching one out for a blue or something would be fine. I love your game but the colors are killing me.

adding a high-value-contrast option should be doable. i have a question, though. would it be acceptable, or even preferable, if instead there was some additional permanent style that didnt rely on color or shade or value? maybe adding a 3px solid black border for correct-placement and dotted (or no border) for right-letter-wrong-placement?
if so, i can open a pr adding styles like these and see if the author likes it. i like the idea of accessible-by-default, but my aesthetic sensibilities are not always on target with others' :)

Hey Elliot. Thanks for taking a look at the issue.
The color blind thing is a little weird. I only have my personal experience
to go on, and I know that different people see different things. I can say
that your idea of the dashed and solid outlines is pretty neat, because
that should work for anyone, regardless of which colors work for them or
not. The only thing I might to is maybe make the lines a hair thicker, and
maybe make the spread of the dashes a little further apart if possible.
I've been playing a lot on my phone and when I look at this email on phone
vs computer the dots aren't quite as pronounced.
For me, at least, the difference in the three colors on the Wordle color
blind mode is blindingly different. But I think the outlines would work
well, too. If it were me I'd probably go with whatever was easiest to
code.  :)
Thanks for checking in.
Gabe
On Wed, Jan 19, 2022 at 9:56 PM Elliot Wolk @.***>
wrote:

adding a high-value-contrast option should be doable. i have a question,
though. would it be acceptable, or even preferable, if instead there was
some additional permanent style that didnt rely on color or shade or value?
maybe adding a 3px solid black border for correct-placement and dotted (or
no border) for right-letter-wrong-placement?
if so, i can open a pr adding styles like these and see if the author
likes it. i like the idea of accessible-by-default, but my aesthetic
sensibilities are not always on target with others' :)
[image: a]
https://user-images.githubusercontent.com/592062/150281640-da2d5ab1-368e-4478-bcf8-69f7ce71dc98.png
—
Reply to this email directly, view it on GitHub
https://github.com/octokatherine/word-master/issues/70#issuecomment-1017144652,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXKWKDNK5X5W5BQZWHGGJLTUW6PX5ANCNFSM5MD3GOBA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>