NoSuchMethodError: The getter 'path' was called on null. When trying to build web app version.

I follow all the comands from Flutter oficial documentation for transform my app in a web project, this is the steps I followed to make the problem show
flutter channel beta
flutter upgrade
flutter config --enable-web
When I execute this
flutter devices
worked fine and give me this result
Web Server • web-server • web-javascript • Flutter Tools
Chrome     • chrome     • web-javascript • Google Chrome 81.0.4044.129
after I make this
flutter create . ( to add web support to my project )
and finally when I do this
flutter run -d chrome
just show me this error

Unhandled exception:
NoSuchMethodError: The getter 'path' was called on null.

Syncing files to device Chrome...                               20.944ms (!)
Failed to compile application.

This is my flutter doctor :
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, 1.18.0-11.1.pre, on Microsoft Windows [versÃ£o 10.0.18363.836], locale pt-BR)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
[√] Chrome - develop for the web
[!] Android Studio (version 3.5)
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code (version 1.45.1)
[√] Connected device (3 available)

! Doctor found issues in 1 category.

Hi @astrO1
I just followed the same steps
with the "hello world" app
without encountering issues

logs
 nevercode@Nevercodes-Air  ~/Desktop/projects  flutter_beta create beta                                                                                 ✔  1671  11:26:44
Creating project beta...
  beta/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata (created)
  beta/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (created)
  beta/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (created)
  beta/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (created)
  beta/ios/Flutter/Release.xcconfig (created)
  beta/ios/Flutter/Debug.xcconfig (created)
  beta/ios/Flutter/AppFrameworkInfo.plist (created)
  beta/ios/.gitignore (created)
  beta/ios/Runner/Base.lproj/LaunchScreen.storyboard (created)
  beta/ios/Runner/Base.lproj/Main.storyboard (created)
  beta/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json (created)
  beta/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md (created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
  beta/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png (created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
  beta/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
  beta/ios/Runner/Info.plist (created)
  beta/ios/Runner.xcworkspace/contents.xcworkspacedata (created)
  beta/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (created)
  beta/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (created)
  beta/test/widget_test.dart (created)
  beta/.gitignore (created)
  beta/web/favicon.png (created)
  beta/web/index.html (created)
  beta/web/manifest.json (created)
  beta/web/icons/Icon-512.png (created)
  beta/web/icons/Icon-192.png (created)
  beta/.metadata (created)
  beta/android/app/src/profile/AndroidManifest.xml (created)
  beta/android/app/src/main/res/mipmap-mdpi/ic_launcher.png (created)
  beta/android/app/src/main/res/mipmap-hdpi/ic_launcher.png (created)
  beta/android/app/src/main/res/drawable/launch_background.xml (created)
  beta/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png (created)
  beta/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png (created)
  beta/android/app/src/main/res/values/styles.xml (created)
  beta/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png (created)
  beta/android/app/src/main/AndroidManifest.xml (created)
  beta/android/app/src/debug/AndroidManifest.xml (created)
  beta/android/gradle/wrapper/gradle-wrapper.properties (created)
  beta/android/gradle.properties (created)
  beta/android/.gitignore (created)
  beta/android/settings.gradle (created)
  beta/android/app/build.gradle (created)
  beta/android/app/src/main/kotlin/com/example/beta/MainActivity.kt (created)
  beta/android/beta_android.iml (created)
  beta/android/build.gradle (created)
  beta/beta.iml (created)
  beta/README.md (created)
  beta/pubspec.yaml (created)
  beta/ios/Runner.xcodeproj/project.pbxproj (created)
  beta/ios/Runner/AppDelegate.swift (created)
  beta/ios/Runner/Runner-Bridging-Header.h (created)
  beta/lib/main.dart (created)
  beta/.idea/libraries/Dart_SDK.xml (created)
  beta/.idea/libraries/KotlinJavaRuntime.xml (created)
  beta/.idea/modules.xml (created)
  beta/.idea/workspace.xml (created)
  beta/.idea/runConfigurations/main_dart.xml (created)
Running "flutter pub get" in beta...                                2.5s
Wrote 76 files.

All done!
[✓] Flutter: is fully installed. (Channel beta, 1.18.0-11.1.pre, on Mac OS X 10.15.4 19E287, locale en-GB)
[✓] Android toolchain - develop for Android devices: is fully installed. (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS: is fully installed.

You may need to restart any open editors for them to read new settings.
 nevercode@Nevercodes-Air  ~/Desktop/projects/beta  flutter_beta create .                                                                                 ✔  1674  11:27:44

Recreating project ....
Wrote 3 files.

All done!
[✓] Flutter: is fully installed. (Channel beta, 1.18.0-11.1.pre, on Mac OS X 10.15.4 19E287, locale en-GB)
[✓] Android toolchain - develop for Android devices: is fully installed. (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS: is fully installed.
Syncing files to device Chrome...
23,537ms (!)
Debug service listening on ws://<IP_ADDRESS>:58953/83YFHH0Qq6o=

Warning: Flutter's support for web development is not stable yet and hasn't
been thoroughly tested in production environments.
For more information see https://flutter.dev/web

🔥  To hot restart changes while running, press "r". To hot restart (and refresh the browser), press "R".
For a more detailed help message, press "h". To quit, press "q".

Application finished.
 nevercode@Nevercodes-Air  ~/Desktop/projects/beta 

Can you please provide your pubspec.yaml
and a minimal complete reproducible code sample.
Thank you

Of couse

name: App44Online
description: Plataforma online que conecta lojistas da 44 e revendedoras do Brasil inteiro.

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 2.0.2+10

environment:
  sdk: ">=2.7.0 < 3.0.0"

dependencies:
  font_awesome_flutter: ^8.8.1
  configurable_expansion_tile: ^1.0.0
  flutter_widget_from_html: ^0.3.3+4
  transparent_image: ^1.0.0
  flutter_sticky_header: "^0.4.2"
  visibility_detector: ^0.1.5
  flutter_staggered_grid_view: "^0.3.0"
  extended_image: ^0.8.0
  cached_network_image: ^2.2.0+1
  carousel_pro: ^1.0.0
  shared_preferences: ^0.5.7+3
  event_bus: ^1.1.1
  pull_to_refresh: ^1.5.7
  provider: ^4.1.2
  after_layout: ^1.0.7+2
  google_fonts: ^1.0.0
  intl: ^0.16.1
  url_launcher: ^5.4.5
  video_player:
  animations: ^1.0.0+5
  progress_dialog: ^1.2.2
  fluttertoast: ^4.0.0
  responsive_builder:
  device_preview:
  page_transition: "^1.1.5"
  flutter_spinkit: "^4.1.2"
  flutter_swiper: ^1.1.6
  rxdart: "0.23.1"
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2

dev_dependencies:
  flutter_test:
    sdk: flutter

  flutter_launcher_icons: "^0.7.3"

flutter_icons:
  android: true
  ios: true
  image_path: "assets/icons/logo_mobile.png"
  adaptive_icon_background: "#3f1585"
  adaptive_icon_foreground: "assets/icons/adaptive_logo_mobile.png"

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:
  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # To add assets to your application, add an assets section, like this:
  # assets:
  #  - images/a_dot_burr.jpeg
  #  - images/a_dot_ham.jpeg
  assets:
    - assets/
    - assets/icons/categories/
    - assets/icons/tabs/
    - assets/icons/profile/
    - assets/icons/payment/
    - assets/icons/error/
    - assets/images/
  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware.
  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages
  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages

I was seeing this issue as well; it appeared after I added a dependency (cloud_firestore). Felt like a dirty build / hot-reload type issue but doing flutter clean didn't help.
Now its gone - I started putting together a sample project as a minimal repro, but couldn't reproduce and now can't in the original project either.

I don't know why, but I just tried again yesterday and now is working good, the problem now is the FPS is to low for web :/

Hi @jaysephjw
in your casethe issue is related to a FlutterFire plugin rather than to Flutter itself.
Please open the issue in the dedicated repository.
@astrO1 I'm glad that you fixed the error
for the performance issue issue please look at these docs
performance best practices
Optimizing your Flutter App

I'm closing this issue as the error is solved
if the performance issue persist you may want to open
a specific issue for that
Thank you

I'm installed nothing and today when I try to build. I'm getting this error again. Any clues?

@astrO1  Use --verbose to locate the problem
flutter run -d chrome --verbose.


Scale down happens, even when the worker is working on job(s)

I stumbled over something in our staging environment, that normally does not happen on any of our LIVE instances.
Situation:

worker is working on one job for > scaledown timeframe (i.e. 180 seconds)
no additional jobs in the queue

Outcome:

worker is being scaled down automatically

This is of course not an ideal situation, and maybe a very rare edge case, but it should be something that the addon should handle.
When I do find some time, I will look into this a bit more, and create an example setup, but I guess the situation is not hard to reproduce.

@mobilutz Thanks for reporting this. I've added some support docs about it, but I agree long-running jobs need a real solution.

@mobilutz Do you still have an issue with long-running jobs being terminated?
I have a solution that's working well, and I'm currently beta testing with a few customers. Email me (Adam at Rails Autoscale) if you're interested!


Installation Instructions for Linux

Hi @h0lg ,
I am trying to run your code on Ubuntu system. I've installed Mono-MCS framework but I dont how to proceed further.
Could you help me in running code on Linux based system ?
Additionally, could you provide instructions to compile the project in windows?

Hey @ayushbits ,
I haven't tried running the executable on Linux, but theoretically that should work after installing .NET Core runtime.
Concerning building - and never mind the OS:
The SubTubular.csproj is an MSBuild script that you should be able to run via dotnet build SubTubular.csproj on any system you can find a .NET Core SDK (containing the dotnet command line tool) for.
If you're asking about developing or running the code from source, you'd want an IDE that supports C# and interfaces with the .NET Core SDK.
I'm currently using VSCode on Windows with the following extensions:

C# language & debugging support
NuGet Package Manager for loading referenced packages
.NET Core Tools - Optional. Adds options for running and building the project to the context menu

Good luck!


Improved error handling if service unavailable

If the api endpoint is unavailable (dawa.aws.dk), the current implementation will retry with a default delay at 500ms and write an error to console.
This makes it very difficult to handle errors (regardless of how stable Dawa autocomplete2 is).
It would be nice with the ability to handle the potential connection error:

Throw error
Emit error event
provide an optional errorHandler function (similar to selectInitial)

@HenrikKorsgaardKnowit  - we will not add any new features or improvements to autocomplete
gsearch is the new autocomplete
if gsearch is lacking in features, perfomance or other issues - please let us know and we will fix it if we are able to to
have a nice weekend

@DocDemar That would have been very interesting information to have, especially before we started implementing dawa-autocomplete2 in our solution ;).
Perhaps the README file of the data-autocomplete2 repo can be updated to reflect this, just like the documentation found here: https://dawadocs.dataforsyningen.dk/dok/guides

sry for that - we weren't quit ready to push this recommendation
We will update the docs as soon as possible

Hi Henrik
DAWA-autocomplete2 will in time be replace (deprecated) by gsearch and gsearch-ui.
The timeline is not yet decided. We need input from you and other users as to what is missing in Gsearch in order to be able to make the switch fra Autocomplete to Gsearch.
It is neccesary to create a token at dataforsyningen.dk in order to use Gsearch
there is no change in terms of use.
We know that autocomplete is a blockbuster API and we will do our best to replace it with something as great as autocomplete.
Any specific input will be very valued in order for us to make Gsearch and Gsearch-iu as great as Autocomplete

@DocDemar you are more than welcome to reach out when you need input. I'd be happy to review and give input for gsearch when you are ready.

Thanks - if you have any input we will be happy to recieve it now

Hi @DocDemar,
Could you please clarify the reasoning behind creating a new GSearch-UI component? DAWA-autocomplete2 has proven to be a robust and effective solution that has consistently addressed our use cases over time.
Additionally, we have been extensively utilizing DAWA APIs, like https://api.dataforsyningen.dk/autocomplete, along with other DAWA endpoints, as reliable sources for Danish addresses and the associated information. Are these APIs also at risk of deprecation?
From your implementation of the Gsearch UI, which uses GSearch endpoint https://api.dataforsyningen.dk/rest/gsearch/v2.0/, it appears to function quite differently by calling multiple resources at once, such as:
navngivenvej, husnummer, adresse, stednavn, kommune, region, retskreds, postnummer, opstillingskreds, sogn, politikreds, matrikel, matrikel_udgaaet,
and then combining the data on the frontend without an autocomplete feature. This approach seems more limited in functionality compared to the DAWA web services we are currently using.
Looking forward to your thoughts.

Hi @DocDemar,
Is there an update on the roadmap for deprecating autocomplete2 and replacing it with gsearch?
Who within SDFIdk would be able to answer questions related to the roadmap? This is a critical dependency for a couple of projects of ours.

Hi @HenrikKorsgaardKnowit
@DocDemar is on leave and will return in January.
Until then, you can try reaching out to these guys that have more say over the roadmap for DAWA and DAWA-autocomplete.

Hi @HenrikKorsgaardKnowit
If you have any questions regarding DAWA, please write to<EMAIL_ADDRESS>Plan for DAWA can be followed in the below page
https://dataforsyningen.dk/data/4924

@MargitKildevang thank you for the link. It seems to describe the plan for DAWA and not this specific library.  I will write the folks at Support and the link @iamfrank sent.


Parse error with named mapping

Hello,
When running some surya function such as inheritance or graph on solidity code (> 0.8.18) that implement mapping we get a parse error.
Let's say the following mapping
mapping(uint256 num1 => uint256 num2) myMapping;

Will result in
errors: [
    {
      message: "extraneous input 'num1' expecting '=>'",
      line: 61,
      column: 20
    },
    {
      message: "extraneous input 'num2' expecting ')'",
      line: 61,
      column: 45
    }
  ]
}

Hey @chalex-eth can you please try to uninstall surya and install again?
npm uninstall -g surya
npm install -g surya

The reason why I suggest this is because there is a floating dependency on the parser and it might just be an old parser version.

can you please try to uninstall surya and install again?

This doesn't work unfortunately ☹ . I converted the named mapping to a normal (unnamed) mapping and then it works as expected.

Same error using OpenZeppelin v5 ERC20 implementation that uses named mapping.
message: "extraneous input 'account' expecting '=>'",

ref: https://github.com/Consensys/vscode-solidity-auditor/issues/137
@GNSPS might require a parser update to v0.16.x

Updated! 🙏 Closing!

did not work for me on first install. cleaning cache currently. we'll see if that helps

<EMAIL_ADDRESS>  version "0.4.6"
  resolved "https://registry.yarnpkg.com/surya/-/surya-0.4.6.tgz#295a426eff219720d9b7963e04a50206288c321b"
  integrity sha512-zaTYkRbms26cuOWu5jon5l4OsToHX7ZEflqTozXgq/XxUL3VY+tEnxT9Te2WVsA/sYgZPwcH92yQZJgljsss4g==
  dependencies:
    "@solidity-parser/parser" "^0.14.1"

ah, was a new version not published @GNSPS ?

yup. 2 years ago: https://www.npmjs.com/package/surya
new pkg needs to be published to link it to solidity metrics and beyond

Yep, sorry, was waiting for a PR fix from myself for address member calls.
Published a new "patch" version: v0.4.7, can you try now? 🙏

works! 🎉


internal/olm/operator/internal: tools to work with manifest registries

Description of the change: Methods on a RegistryResources allow creation and deletion operations as well as staleness detection on an operator-registry registry-server.
See the proposal doc for details on how the registry is managed.
Motivation for the change: Broken out of #1912.
/ping @ecordell @njhale @kevinrizza

@jmrodri @hasbro17 @camilamacedo86 I'm going to follow up this PR with some of the suggested changes. These changes won't affect how this library is used very much or at all.

@estroz 👍 We can do a follow up to clean up the formatting of the functional options.


Rename labelMaker folder

Just renamed the folder with the label maker so it doesn't look like my personal directory anymore.


just tips to get it working perfectly first try... at least after my 15 failures, this worked.

after about 15 attempts and trying different ways, it just would not install correctly and function.....
SO.......
after a number of times and just about losing my shit at your code for being so @#$%ing difficult while at the same time advertising pretty much a perfect combination of elements for site building (that was very very forward thinking fo you... this stack holds up today as modern)
i found the exact three simple lines, and i was in business, flawless, errorless. perfect.
next step is to get semantic-ui in there, and i've got the full stack i need to develop the app i want to build.
~PLEASE~ update your instructions...
~ for everyone who uses this's benefit~
in root empty directory, drop the zip, or clone or however you got the project files..
standard "cd /rootfolderwhereiprojectis/" etc...
"navigate to project folder and open up a bash terminal"
then type
`npm obsolete``     - This lists all the packages in the JSON file that are out of date, and/or missing, at their current version/missing status, the requested version by the JSON, and the latest version available for download..... and stores that in memory.
Then type
npm update  - this will get the latest versions of every single file, missing or old versions, it just gets it all and puts it where it belongs.
and then
Yarn install
and there ya go,  it's ready to launch yarn dev with no problems....
at least, that worked for me gangbusters after a number of tries to follow the instructions, which i think might not correspond perfectly to the actual state of the package. close, but because so many dependencies need to get an up-to-date version before yarning and yarndevving, it just made sense to check out "NPM outdated."... a long lnog list of outdated red colored deprecated dependencies.
oooh, and read the think about gulps yet? gulp-util is broken as hell fairly intentionally to get people to start using the individual pieces of it which have been split into their own npms. Gotta Maintaiiiiin.

Thanks for the feedback, I do not update the documentation because my English is too bad, I am open to Pull Requests.
Did you try to make a yarn upgrade? or to delete the yarn.lock?

i'm kind of new at programming.. ii worked in operations for a long
time, and do consulting  on operations, systems logic, basically a
different level of the tech stack..  i'm just learning how to use
programming because i came up with an idea and put together a system
that nobdy else is doing right now, and it could take off bigtime...
i'm rtying to get to proof of concept myself to get enough money
raised that i can hire programmers to build the vision and systems
i've been doing the diagrams for. i've even got all the software parts
and pieces picked out.......
i'm not entirely sure how the .lock files even work. i've been
searching for a generator that has all the hot reload and react stuff
going on for it, but with feathers underneat it to pump in and out
auth calls and api calls to multiple services and multiple clients....
the closest thing to what i'm thinking and have dreamed up is
Grafana, but i'd be more personal apis, e-mail, social media, CRM's,
newsfeeds, instagram, twitter, salesforce, just about any kind of
service, but instead of just loading up a bunch of iframes on a
responsive grid... make all the users able to log in and customize the
grid layout, what apps they want to use, but have everything top to
bottom skinned and themed using semantic-ui,... meanwhile, each
individual module/tile on the draggable grid has it's own auth built
in and stores it in a gapped off and firewalled userdb that you need
to oauth MFA through two firewalls on different accounts to access...
i've got a pretty elaborate system charted out..
but......     i DO know   raeact/semantic front end, so it looks
pretty and only loads the minimal amount of data that it has to....
modules will be using reuasable components from as small a library as
i can get, with minor overrides at the mod level
user switchable themes, a whole grid of social login icons that you
can tie into a single sign on... App itself using fusionAuth to
authenticate app users,...
anyway.. i'm a genius when it comes to system design and ideas, so i
figured, i'm checking out the best possible solutions.....
feathers>sails>express  for what i want of it... a straight up
horizontally scaling api only machine.... communicating with only two
things..... the router and KrakenD, through sockets. be as transparent
as it can be... Krakend meanwhile does the actual talking to the
outside world through  the firewall and load distributer which shows
only one  ip, but is really going to a a CDN for all my static content
(components, module frames, css, html)...
don't know why i'm ranting about all this.. but...
i DO know, you were definitely on the ball years ago about where this
stack was going, and i really hope you maintain it.
i know that gulp-utils is done, and is breaking up into smaller
individual packages specialized, and i think to myself...
that's java for you...  shifting dependenciesand causing breaking
changes so you gotta be on top of everything and test test test. make
sure an app won't die over a non-semantic update...  damned breaking
changes.
but yeah, i'm cobbling together the best pieces of software i can to
put the minimal amount of code i can muster to make some things
functional... (i'm way into design. though)...i could front end this
whole project in daysif i just felt like using a web editor and doing
it visually.... it's that zone that doesn't exist... one  where i can
design visually on top of living code..... i need that.
but... your system is the right system functionally and strategically
(to my best knowledge). a react front end for pushing the visual
elements from a CDN, and feathers talking to KrakenD (which is boss as
an api gateway w/refactoring/filtering at lightning speed... scale out
feathers to handle the talking from the app's modules and sending the
requests to krakenD who replies with the least amount of data,
combined from whatever multiple apis at once into nice packages,
feathers forwards those packages to the modules running in the apps on
peoples screens, tada....
react pulls from semanticui pieces and module framework components  to
make the skeleton on the display grid that's draggable and droppable
with memeory layout saved with user profiles,so that's reacts left
arm... and the right arm it displays whatever information is being
thrown at it by feathers. feathers gets it's calls from mudules,
feathers sends to krakend, krakend sends to world, world replies,
krakend sends to feathers... feathers sends module api info to mods,
to integration platform (mini zapier) and to the auth server, which
locks away the info...  feathers just sits in the jmiddle being an api
wonderkind sending api calls wherever the react router tells it to,
...
fun idea... HARD to implement for a non-programmer.
tools like yours are invaluable for learning and understanding..
OOOOH......
questions...
HOW can i install semanticui on top... if i want it to be
folder-appropriate locationed, i have to install to the same folder,
but then there's multiple package.json files.... do i haveto learn how
to combine and make my own package files?
(sorry, that was the first thing you mentioned).. do i have to though?
i'm thinking i can probably design visually the modules and draw the
flowcharts of the endpoints between the module and the app, and the
app to the outside world's sweet nectar of api goodness.,
i seriously can't believe that netvibes is the only thing out there
cklose to what i'm thinking...  Wavebox is like a computer bound
version which is web applications on tabs all in one program... but
it's stilll a program that runs on computers, and it just loads mbile
or cropped versions of website servivces.... wheras i want to skin
every last thing that comes in, so that the user has total controlo
over their own layout and look and themes.
remember igoogle some 10-15 years ago? it was AWESOME... it had
everything you needed, your email, messenger, rss feeds, everything,
and it was drag and droppable to layout however you wanted...
there's 500 or so Business dashboards or server monitoring dashboards.........
and ALLL this API madness going on right now...  and NOBODY is taking
advantage of creating social network 3.0.... taking all the networks
and eliminating them from controll over how you see your information,
and eliminates  being tracked, and my app never actually holds onto a
single stitch of customer information, and it's TLS encrypted from
point to point.... api to middleware to app.... or i may even make it
so the modules call the apis directly through krakenD and the app
never so much as sees the information even streaming through it...
the app is just an empty skeleton on a CDN that the framework loads
from my URL, then the scaffolding from a CDN, and the information to
fill the scaffolding the app contacts the API's directly...
now wouldn't that be fast...
uh.... sorry to say this... but i've divulged so much information, i'm
carbon copying my lawyer because this is a quarter billion dollar
idea... you touch it, it won't end well.... but you're very welcome to
contribute and will be appreciated appropriately for any input of any
type.
This is  ALL IP, original ideas i've been working on for 6 months,  planning.
but that aside...
am i on the right track using your choice of framework to jump off from?

I didn't read all that... but I do not recommend this boilerplate at your skill level with programming. You'll save yourself a lot of time and headaches by going with an actual web framework vs. this boilerplate which is more a collection of libraries that I definitely wouldn't consider stable.
I'd recommend Angular personally. There will be a ton of tutorials for it already, plenty of online courses that can be taken to get up to speed, it follows a bunch of (biased, in a good way) best practices, and you can hire any "angular" developer to take over.
This one is more for people who already know what they're doing looking to keep up to date with the latest hot technologies.
With that said, I start with this for every project I work on (shout out to Bertho-Zero for keeping this thing awesome), but again I absolutely don't recommend it for your use case.
Side note: you might want to take it a little easier on the amphetamine use lol

well.. the amphetamine use is prescribed by my doctor, and i asked for the lowest dose of sustained release possible.
i'm an odd duck. i've a 155 iq and aspergers. systems are very learnable. i built my first computer from spare parts in 1990 when i was 9 years old. got banned from the school network for being the source of finding all the bypasses for security measures and disseminating them amongst other students. i have two college diplomas with relevant transferrable skilsl. audio and sound engineering and computer network adminnistration.
plus i'm an electrician.
and worked 20 years throughout in operations capacities.
all i know how to do is push the limits of what i can understand
and i'm in part time school for the next 6 months, i have 1200$ credit between my google compute accounts to use in the next year, and nothing but time and interest.
i was looking for a way to build this stack after a couple of weeks of research,.
i literally have the schematic for theway i wanted the front end and back end to each communicate separately to middleware and feathers being my API client, using react/redux/router, doing 90% of this stack was on my agenda to learn how to do.
but.. it's done for me...
so i've been exploring it, and how it works. building pages and tearing them down, i've already systemized my own way of making new pages from a template.  if i get reallyannoyed and want to go faster, eventually i'll learn what i need to and write the script to "one click" a fresh page with all the linkages in place.
i DID notice that this template Doesn't GAFF about script kiddies or newcomers.. it's not very well documented internally.  i'm thinking of forking it just to make a commented version with tweaks to make it much easier on newcomers to explain how the kit is actually set up, so they can skip the learning proccess i'm going through.
damn a manual would be nice.
anyway.. i have nothing but time on my hands, a brain built for patterns and abstractions and systems.
i make flowcharts and 3D model floorplans of basic architecture and study technical things and design websites and other graphic art.  i might as well use 6 months of 10 hours a day free time to do something useful like learn complex programming and build a MVP of an app i have in my head.
anyway.. props to the maintainer of this project. when i get friendlier with the project, i'm going to definitely want to fork it and contribute.
OH.
one thing that's bothered me.... I haven't been able to switch themes, can't seem to find them,
do regular semantic-ui themes work, or do they ~have~ to be be the semantic-ui-react library ones.
because i found another semantic-react library that WAAAAY should have been taken in as official...
it's a blooody gorgeous library and has tons of components, more than the official one i believe by far.
is it safe to just import the themes how i feel like, or is there a structure to the themes beacuse of the auth system?
and what if i want to ~not~ use the current auth system but rather have passport login to Fusionauth as an app login, and logging in through other providers would store those tokens alongisde the fusionauth profile in a nice secure database.
i think after i work out what i'm currently doing, auth behaviour is next....
launching down to the backend server of feathers for all user profile and auth and stuff
out the client feathers to get the api
i should flowchart how i think this rig works and you can tell me how right or wrong i gotn it... maybe this afternoon i'll make that a project..  i'll take corrections, and after a revision or 3, have a really nice clean well designed chart to help people who use this template have visual reference.
that's a good way i can contribute. i love flow charts. and design language.
i'll make a design language and chart out things that i learn, and contribute them to the maintainer as submissions to the doc files... cause this project could use all the care and attention on the docs side.
i'm good at writing a whole lot of words.. even better at it when it's not jsut 120 wpm stream of consciousness style.  deu care and attention got me a 97% final overall average aggregate through colleges, i can apply that to chipping in here and there if there's a task list board .

lol


Installing [image] extras is not sufficient on Python 3.6?

🐛 Bug
On Python 3.6, pip install lightning-flash[image] is not sufficient to allow me to use an ObjectDetector:
from flash.image import ObjectDetector

# error: tells me I need to `pip install 'lightning-flash[image]'`, but I already did!
model = ObjectDetector.load_from_checkpoint("https://flash-weights.s3.amazonaws.com/object_detection_model.pt")

I believe the issue is that pycocotools has a python_version >= 3.7 marker in the requirements file. Either that environment marker is necessary, in which case the image extras only support Python 3.7+, or the marker should be removed.
FWIW, I manually pip install pycocotools and was able to successfully use the checkpoint that I tried to load in the example code below.
To Reproduce
Create a fresh environment:
conda create -n test python=3.6
conda activate test

pip install lightning-flash
pip install 'lightning-flash[image]'

Now try to use the image extras:
from flash.image import ObjectDetector

# error: tells me I need to `pip install 'lightning-flash[image]'`, but I already did!
model = ObjectDetector.load_from_checkpoint("https://flash-weights.s3.amazonaws.com/object_detection_model.pt")

Environment

OS (e.g., Linux): macOS 10.14.6
Python version: Python 3.6.13 :: Anaconda, Inc.
Lightning Flash version: 0.4.0

Hi @brimoor, thanks for bringing this to our attention. I can see that there was some discussion about it in the original PR here: https://github.com/PyTorchLightning/lightning-flash/pull/56/files#r571734084
@kaushikb11 Is there something we can put in the requirements so we can remove the Python 3.7 check?
Otherwise at the very least we can remove the check for coco from the check for image extras, but ideally this would just work as expected.


Update for Ubuntu 18.04

Looks like you haven't updated in a while. Any chance of one in the future? This feature would be greatly appreciated...I've looked at other terminals and their quirks outweigh the benefit of right-click paste

https://github.com/jrnewell/ubuntu-gnome-terminal-patch/pull/3


Crash when contributers.txt has empty lines

Everything is in the title. When using
> GitRewrite.exe --contributer-names .git > contributers.txt

with file contributers.txt that contains empty lines (in my case three at the end of the file) it craches.

Hi, can you give a little more detail on when the crash occurs and what the error is? Because the command you stated does not read the text-file at all and the "> contributers.txt" has nothing to do with GitRewrite...
So basically:

What is the exact command where the error occurs
What is the error message

Assuming you mean not creating the contributors.txt but using it, then you might want to try the code in branch issue/9, which might fix your problem.

Should fix your problem, if it does not please reopen the issue

Thanks for considering my request. I haven't checked yet if it is ok now, but I can give you more details. There was an exception "Mapping is not formatted properly." due to empty lines in the file. So I suppose the corresponding code was from line 21 of RewriteContributorTask.cs.

I wanted to test the new version, but I was not able to do it. The following command crashes:
> GitRewrite.exe .\temp\.git\ --rewrite-contributers .\contributers.txt
Unhandled exception. System.ArgumentException: Could not parse arguments.
   at GitRewrite.CommandLineOptions.TryParse(String[] args, CommandLineOptions& options)
   at GitRewrite.Program.Main(String[] args)

I checked in powershell and in gitbash, same result.

Ah yes, see #5, the parameter must be --rewrite-contributors now, this was a typo before

Well it works now, with empty lines and with contributors ;)


Execution error when I run TPC-DS query-82 [QST]

below is 2 error logs of 2 node:

I attempt to increase spark.sql.shuffle.partitions, up to 8000+ , it also occurs this error, I don't know why ,it seems not a out of memory problem ,because  I found that gpu memory usage is low by dcgm.
I attemp to set the concurrentTask = 1 , it not work
I attemp to set the rapids_batch_size_bytes = 1024G, it not work
my configuration is :
spark-shell
--master yarn
--num-executors 3
--conf spark.plugins=com.nvidia.spark.SQLPlugin
--conf spark.executor.cores=48
--conf spark.executor.memory=144g
--conf spark.rapids.sql.concurrentGpuTasks=1
--conf spark.rapids.memory.pinnedPool.size=30G
--conf spark.executor.memoryOverhead=30g
--conf spark.sql.broadcastTimeout=1500
--conf spark.locality.wait=0s
--conf spark.sql.files.maxPartitionBytes=1024m
--conf spark.rapids.sql.explain=ALL
--conf spark.rapids.sql.castFloatToString.enabled=true
--conf spark.sql.shuffle.partitions=8640
--conf spark.rapids.sql.variableFloatAgg.enabled=true
--conf spark.sql.optimizer.inSetConversionThreshold=1000
--conf spark.rapids.memory.gpu.pooling.enabled=false
--conf spark.executor.resource.gpu.amount=1
--conf spark.task.resource.gpu.amount=0.020833
--conf spark.executor.resource.gpu.discoveryScript=/home/hduser/nvidia-spark3.0-rapids/getGpusResources.sh
--files /home/hduser/spark-3.0.1-SNAPSHOT-bin-hadoop3/conf/executor_log4j.properties
--jars ${SPARK_CUDF_JAR},${SPARK_RAPIDS_PLUGIN_JAR} \
TPC-DS query-82 is :
val rdd_store_sales = spark.read.parquet("/tpcds/9.1T_parquet/store_sales/part*.parquet");
val df_store_sales = rdd_store_sales.toDF("ss_sold_date_sk", "ss_sold_time_sk", "ss_item_sk", "ss_customer_sk", "ss_cdemo_sk", "ss_hdemo_sk", "ss_addr_sk", "ss_store_sk", "ss_promo_sk", "ss_ticket_number", "ss_quantity", "ss_wholesale_cost", "ss_list_price", "ss_sales_price", "ss_ext_discount_amt", "ss_ext_sales_price", "ss_ext_wholesale_cost", "ss_ext_list_price", "ss_ext_tax", "ss_coupon_amt", "ss_net_paid", "ss_net_paid_inc_tax", "ss_net_profit");
df_store_sales.createOrReplaceTempView("store_sales");
val rdd_Inventory = spark.read.parquet("/tpcds/9.1T_parquet/inventory/part*.parquet");
val df_Inventory = rdd_Inventory.toDF("inv_date_sk","inv_item_sk","inv_warehouse_sk","inv_quantity_on_hand");
df_Inventory.createOrReplaceTempView("inventory");
val rdd_date_dim = spark.read.parquet("/tpcds/9.1T_parquet/date_dim/part*.parquet");
val df_date_dim = rdd_date_dim.toDF("d_date_sk", "d_date_id", "d_date", "d_month_seq", "d_week_seq", "d_quarter_seq", "d_year", "d_dow", "d_moy", "d_dom", "d_qoy", "d_fy_year", "d_fy_quarter_seq", "d_fy_week_seq", "d_day_name", "d_quarter_name", "d_holiday", "d_weekend", "d_following_holiday", "d_first_dom", "d_last_dom", "d_same_day_ly", "d_same_day_lq", "d_current_day", "d_current_week", "d_current_month", "d_current_quarter", "d_current_year");
df_date_dim.createOrReplaceTempView("date_dim");
val rdd_item = spark.read.parquet("/tpcds/9.1T_parquet/item/part*.parquet");
val df_item = rdd_item.toDF("i_item_sk", "i_item_id", "i_rec_start_date", "i_rec_end_date", "i_item_desc", "i_current_price", "i_wholesale_cost", "i_brand_id", "i_brand", "i_class_id", "i_class", "i_category_id", "i_category", "i_manufact_id", "i_manufact", "i_size", "i_formulation", "i_color", "i_units", "i_container", "i_manager_id", "i_product_name");
df_item.createOrReplaceTempView("item");
spark.sql("SELECT i_item_id, i_item_desc, i_current_price FROM item, inventory, date_dim, store_sales WHERE i_current_price BETWEEN 62 AND 62 + 30 AND inv_item_sk = i_item_sk AND d_date_sk = inv_date_sk AND d_date BETWEEN cast('2000-05-25' AS DATE) AND (cast('2000-05-25' AS DATE) + INTERVAL 60 days) AND i_manufact_id IN (129, 270, 821, 423) AND inv_quantity_on_hand BETWEEN 100 AND 500 AND ss_item_sk = i_item_sk GROUP BY i_item_id, i_item_desc, i_current_price ORDER BY i_item_id LIMIT 100 ").show;

by the way， I want to know can current version run all querys of TPC-DS successfuly  ?

it seems not a out of memory problem ,because I found that gpu memory usage is low by dcgm.

I suspect one of the joins may be exploding, and that can cause an OOM error even when the GPU memory utilization is low because it would be trying to allocate a very large amount of GPU memory all at once.
Normally increasing the partitions would help alleviate this type of problem, but there may be skew in the data where the join is producing a lot of results only for very specific keys.  Since the same keys will all hash to the same task, increasing the shuffle partitions won't help in that case.  Do any tasks in this stage complete or do they all fail with OOM?  If the former, do you have any stats from the Spark metrics on how much input shuffle data the task that failed received vs. tasks that succeeded?  That could indicate whether there's a join key skew issue.

I want to know can current version run all querys of TPC-DS successfuly ?

We have not explicitly tested TPC-DS.  They all should work at least up to a certain scale factor.  Once the scale factor gets high there can be GPU OOM issues due to skew or insufficient partitioning.  Spark CPU has the same skew issues, but data is spilled from host memory to disk in that case to handle it.  We currently do not support spilling sort/join/groupby inputs to host memory and/or disk if a particular column batch input and output for an operation does not fit in GPU memory.
Another limitation is the 2GB data limit for all the data in an individual column of a columnar batch.  This can become a factor for string columns.  If the data has a column with very long string values it can aggravate this issue by pushing the total amount of string data in the column across this limit as you encountered in #458.  This is a current limitation in cudf, and there has been discussions on how to fix this, see https://github.com/rapidsai/cudf/issues/3958.

@jlowe
" Since the same keys will all hash to the same task, increasing the shuffle partitions won't help in that case"
in this case, do there exist a way in spark/rapids to fix this prob?
"We currently do not support spilling sort/join/groupby inputs to host memory and/or disk if a particular column batch input and output for an operation does not fit in GPU memory"
when rapids/cudf will supprot this feature?

in this case, do there exist a way in spark/rapids to fix this prob?

The skew problem could be addressed in a few ways:

Using Adaptive Query Execution may help here, since skewed joins are one of the query problems targeted by AQE.  Currently the plugin is not fully compatible with AQE but we are actively working on resolving those issues and plan on  supporting it in the 0.2 release.
The user can manually refactor their query to avoid the skewed join.  Obviously this is not ideal for the end user.
The plugin adds support for spilling GPU memory to host and/or disk to try to avoid OOM situations.  This is what Spark CPU is doing to avoid the issue.  Query performance suffers badly but at least it doesn't crash.

when rapids/cudf will supprot this feature?

I don't have an answer.  Spilling to host memory or disk is a non-trivial task.  We currently support spilling shuffle inputs and outputs in the UCX-accelerated shuffle manager because we aggressively cache shuffle outputs in GPU memory to help increase shuffle performance when using GPUs.  However this doesn't apply to individual operators like join, groupby, sort, etc.  In some cases supporting spill will need to be addressed by the type of operation.  For example, supporting spills during sort would require splitting the input into batches, sorting the batches in GPU memory then spilling the output to host memory or disk, then finally performing a streaming merge sort of the sorted batches to produce the final output.  Supporting spill during some operations will require additional features in cudf.
The good news is the basic framework for migrating GPU buffers between host memory and disk is there as part of adding support for it during UCX-accelerated shuffle.  We should be able to leverage it during these operations to help them handle memory pressure more gracefully.  It is likely that some operators will support spilling before others, e.g.: I wouldn't be surprised if we support spill during a join before spill during a sort.

@chenrui17 @JustPlay are there any unresolved questions from this issue or can it be closed?

@chenrui17 @JustPlay are there any unresolved questions from this issue or can it be closed?

ok ,I will close this issue


cmd+enter should execute cell but not proceed to next cell

Problem
When I'm working on a cell, I want to execute it but not immediately move to the next cell - this helps me iterate on the current cell.
shift+enter executes the cell, but moves to the next cell. In classic notebook, cmd+enter executes the cell and doesn't move to the next cell.
Proposed Solution
Implement cmd+enter to execute current cell and not move to next cell.
Additional context
Brought up by @papajohn while teaching data8 at Berkeley, where we're trying to switch from classic notebook to retrolab

Thanks @yuvipanda for opening this issue :+1:
I just tried with RetroLab 0.3.16 on Binder with this gist: https://gist.github.com/jtpio/4a6a34da66b32249e28df718ec30e4d7
And it seems to be working as intended on Firefox 96 (Ubuntu 20.04) with the Ctrl-Enter keyboard shortcut:
https://user-images.githubusercontent.com/591645/151215291-4038eefb-5987-4a5a-a622-a3e67004fbe4.mp4

I encountered this issue on a Mac. In old Jupyter, both Ctrl+return and Cmd+return had this behavior. I see that Ctrl+return still works in retro, which is sufficient. Thanks for the tip. Fine with me if we close this issue.

@jtpio ah, indeed - ctrl+return works, but cmd+return doesn't (as @papajohn said). Let's bind to cmd+return too?

I opened https://github.com/jupyterlab/retrolab/pull/330 as an attempt to fix this.
@yuvipanda @papajohn would you be able to try it on the Binder for that PR, since you both have access to a Mac? Thanks!
https://mybinder.org/v2/gh/jtpio/retrolab/cmd-enter?urlpath=retro

@jtpio it works!

I opened this PR upstream so it's also the case in JupyterLab by default: https://github.com/jupyterlab/jupyterlab/pull/11942


How can I register a Future State at runtime in my Controller

I would like to register dynamic states determined once the user logs in. I find I can register states with the $futureStateProvider at the config() phase but if I try to register the state in my Controller at runtime it is registered but not resolved. I'm keeping a reference to the $futureStateProvider, so I thought I could register the state in the Controller.
This seems to only happen when navigating by Url (http://localhost:3000/home/iframe2). If I navigate with $state.go("iframe2") it works.
Below is a demo where I'm trying to register a simple state.
Any help is appreciated :)
Controller
app.controller("DemoController", function () {

   // NOTE - This doesn't work !
    var futureState = {
        stateName: "iframe2",
        url: "/home/iframe2",
        type: "dataStoreState",
        src: "iframe2.html"
    };

    app.futureStateProvider.futureState(futureState);

});

Router
app.config(function ($futureStateProvider,$stateProvider, $locationProvider) {

    $locationProvider.html5Mode({
        enabled: true,
        requireBase: false
    });

    $stateProvider
        .state("app", {
            abstract: true,
            templateUrl: "/app/layouts/app",
            controller: "ApplicationController as vm"
        })
        .state("app.home", {
            url: "/home",
            views: {
                "content": {
                    templateUrl: "/app/home/index",
                    controller: "DemoController as vm"
                }
            }
        });

    function dataStoreStateFactory($q, futureState) {

        var state = {
            name: futureState.stateName,
            url: futureState.url,
            parent:"app",
            views: {
                "content": {
                    templateUrl: "/app/home/demo"
                }
            }
        };
        return $q.when(state);
    }

    app.futureStateProvider = $futureStateProvider;
    app.futureStateProvider.stateFactory("dataStoreState", dataStoreStateFactory);

    // NOTE: If I register the future state here it works fine
    var futureState = {
        stateName: "iframe2",
        url: "/home/iframe2",
        type: "dataStoreState",
        src: "iframe2.html"
    };

    app.futureStateProvider.futureState(futureState);
});

I put your code into a plunker and it works fine:
http://plnkr.co/edit/KP7VzfIxFzCYjr6yKBpY?p=info

Hi, I have checked the plunker code and it is not running. Could you please help in this as I am also stuck with this issue.


chore: fitactivity simplify notify signal

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (68a45e7) to head (fc164c4).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #429   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           42        42
  Lines         3672      3672
=========================================
  Hits          3672      3672

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Swift 3 "Cannot create asynchronous query while in a write transaction" exception

Goals
Fix a crashes.
Expected Results
Transactions completes successful without crashes.
Actual Results
Part of stack trace:
2017-01-12 14:53:56.523 MyApp [5631:145205] An uncaught exception was raised
2017-01-12 14:53:56.523 MyApp[5631:145205] Cannot create asynchronous query while in a write transaction
2017-01-12 14:53:56.523 MyApp[5631:145205] (
0   CoreFoundation                      0x00007fff98e5c4f2 __exceptionPreprocess + 178
1   libobjc.A.dylib                     0x00007fff9874373c objc_exception_throw + 48
2   Realm                               0x0000000100be4f2c -[RLMRealm beginWriteTransaction] + 77
3   RealmSwift                          0x0000000100a47b8e TFC10RealmSwift5Realm5writefzFzT_T_T + 46
Steps to Reproduce
We migrated our project from swift 2 to swift 3. Realm changed from v1.0.2 to v2.1.1.
Some of transactions worked in past now crashes.
On iOS same transactions works good. On OSX it's throws exception.
Code Sample
let realm = try Realm()
let allMessages = realm.objects(Message.self)
let messages = allMessages.filter("(state == 1) AND (dateSent <= %@)",  dateSent)

try realm.write ({
    messages.forEach { message in message.state = .seen }
})

Version of Realm and Tooling
Realm version: Realm v2.1.1
Xcode version: 8.2.1
iOS/OSX version: iOS (10.2) OSX (10.12)
Dependency manager + version: Carthage v0.18.1

Are you using Realm notification elsewhere in your app? The stack trace may simply be misleading, but if it is accurate then the exception is being thrown from within beginWriteTransaction, which would indicate either a bug in Realm or that you're doing something from within a notification block which is causing it.

@Jufina: Just bringing attention back to @tgoyne's question: Are you using Realm notification elsewhere in your app?
Some additional information would be appreciated. :)

Bringing attention back to my request, @Jufina.

@Jufina: Just bringing attention back to @tgoyne's question: Are you using Realm notification elsewhere in your app?

Solved this.
The issue is about that Realm handle block is called while in write transaction.
We just used a main queue for handler.
fileprivate func obtainDialoguesChanges(_ changes: RealmCollectionChange<Results<Dialogue>>) {
        DispatchQueue.main.async {
            switch changes {
            case .initial:
                self.tableView.reloadData()
                break
            case .update(_, let deletions, let insertions, let modifications):
                let insertionsIdxSet = NSMutableIndexSet()
                let deletionsxSet = NSMutableIndexSet()
                let modificationsIdxSet = NSMutableIndexSet()

                if insertions.count > 0 {
                    insertions.forEach{insertionsIdxSet.add($0)}
                }

                if deletions.count > 0 {
                    deletions.forEach{deletionsxSet.add($0)}
                }

                if modifications.count > 0 {
                    modifications.forEach{modificationsIdxSet.add($0)}
                }

                self.tableView.beginUpdates()
                self.tableView.removeRows(at: deletionsxSet as IndexSet, withAnimation: .effectFade)
                self.tableView.insertRows(at: insertionsIdxSet as IndexSet, withAnimation: .effectFade)
                self.tableView.reloadData(forRowIndexes: modificationsIdxSet as IndexSet, columnIndexes: IndexSet(integer: 0))
                self.tableView.endUpdates()

                break

            default:
                break
            }

            self.updateTableView()
        }
    }

@Jufina: Do you need any more assistance with this issue in particular?

@istx25
No, thanks for help with notifications handler. It works now.

Awesome, good to hear. :-)

Thanks @Jufina. That fixed it for me too.
For reference, I was getting libc++abi.dylib: terminating with uncaught exception of type NSException exception on a Realm().write {} call. It wasn't printing that particular exp in the console.  I tracked it down through breakpoint stepping in.
Wrapping the notification callbacks to run in main thread fixed it.


Configure locations__api_db_admin machine class

This creates a dedicated database admin machine for Locations API.
https://trello.com/c/8LF9ATDM/2833-create-locations-api-db-admin-machines-3

Superseded by #11540.


Fix issues when trying to run docker-compose

it took me a while to notice that we were using nigiri.
I've realised that the easiest way to work around it is to not run 10101 and nigiri at the same time for the time being; I've described how to clear docker state.
Also, I'm using AirPlay and port 5000 blocked me from running the setup.

Thank you for adding that. Yes we've built our docker-compose based on nigiri, but essentially we are only using chopsticks which is nigiri specific. The rest (esplora, electrs and bitcoind) are only vulpemventures docker images. I think we are not dependent on them.
There is also a ticket to potentially getting rid of chopsticks #171 as it is not doing a lot for us.
Anyhow, welcome back 🙂

the thing is that nigiri users (like me ;D ) with the same docker images with the same container names and ports cause errors if you have nigiri running.
perhaps in longer term, we could change all container names and ports? This seemed like too big of a change for the upcoming objective, but would solve this problem as well.
thank you, nice to be back :-)


Prevent ellipse-ing of control menu text

The control menu text in project files was getting ellipsed seemingly randomly.  @susanev hunted down the cause, and it turned out a css selector was leaking from the api-tokens page.
:nut_and_bolt: Description: What code changed, and why?
The fix in this branch encapsulates those selectors so they no longer leak.
:chains: Related Resources
Fixes: https://github.com/chef/automate/issues/3983
:+1: Definition of Done
Text inside control menus is not longer being cut off and ellipsed.
:athletic_shoe: How to Build and Test the Change
build components/automate-ui-devproxy && start_all_services
make serve
on a clean branch to repro the issue

navigate to api tokens
create a token
open the token control menu
navigate to projects
create a project
open that menu and it will have the ...
hard refresh, open projects again notice no ...
then repeat above and it should show the ... again

on this branch
Run through the repro sets and you should no longer see this happen.
:white_check_mark: Checklist

[x] I have read the CONTRIBUTING document.
[ ] Tests added/updated?
[ ] Docs added/updated?
[x] All commits have been signed-off for the Developer Certification of Origin.

:camera: Screenshots, if applicable

I just have to point out that it is not an ellipse, but an ellipsis, so the correct title of this PR should include "ellipsis-ing". 😁

I just have to point out that it is not an ellipse, but an ellipsis, so the correct title of this PR should include "ellipsis-ing". 😁

😂  - touché


Odd Error on Terminal/Powershell: ParserError

Describe the bug
Terminal/Powershell spit this out when trying to run WinUtil:

CategoryInfo : ParserError: (:) [Invoke-Expression], ParseException

FullyQualifiedErrorId : RedirectionNotSupported,Microsoft.PowerShell.Commands.InvokeExpressionCommand

To Reproduce
Steps to reproduce the behavior:

Open Terminal as admin
Paste "irm christitus.com/win | iex"

Expected behavior
WinUtil launches
Screenshots

Edit: it appears the launch code has changed since the last time I used it, the new one is "irm https://christitus.com/win | iex"
Please delete this issue, the new launch code works fine.


Retrieve oauth client ID and secret from env vars

Updated README.md to reflect this too. This commit includes a fix for the previous PR that failed build tests.

Whoops! I shall try again...


Allow relative URI in Location response header

Allow relative URL in Location response header. Actually please roll back changes from v18.7.0 release: "finatra-http: (BREAKING API CHANGE) Fix HttpResponseFilter to properly respect URI schema during location header overwritingPHAB_ID=D191448"
This article stated that HTTP standard has been relaxed and actually allows relative URL in Location header: https://en.wikipedia.org/wiki/HTTP_location
Expected behavior
Relative URL in Location header should not be extended with host:port which might be inaccurately discovered.
Actual behavior
Any relative URL in Location header is automatically converted to absolute URL. The resulting absolute URL can be totally misleading because sometimes application cannot determine its absolute URL if it works behind proxy.
Steps to reproduce the behavior
private val defaultResponse = {
val response = Response(Version.Http11, Status.SeeOther)
response.location = "/help"
response.contentType = "text/plain"
response.contentString = ""
response
}
get("/") ((_:Request) => defaultResponse)
The actual response on the wire is expected to have:
HTTP/1.1 303 See Other
Location: /help

Hi @vi-p4f, thanks for reporting this. We'll look into it and report back.

Hi @vi-p4f, I wanted to let you know that I did look into this. This code was changed in response to an issue raised by an internal team. I'm attempting to understand the back story in order to know what prompted the behavior change. You're correct that a relative should be fine here.

@vi-p4f just to update, we are testing a change to allow relative references again in Location response header values. We hope to have this in time for our May release. Thanks!

Changes merged in b6453a4d0b047e965b5d43f319d028739b80d5d3. Should be in the 20.5.0 release happening shortly.

Released in 20.5.0.


Search strategy

Hi all,
Is is possible to keep the default search strategies on all variables and only set a search strategy on a subset of variables. The problem I've had is as follows. Let say I have 3 variables x, y and z and 3 constraints c_xy, c_xz, and x_yz. If I define  a search strategy (ss1) by only on x and z and call solver.set(ss1); I will get solutions that omit constraints c_xy and x_yz. I think that this comes from how set(AbstractStrategy... strategies) is implemented. Is it possible to keep previous search strategies when calling set(AbstractStrategy... strategies)?

Hi Mohamed,
Yes you can!
Note that the setter may have multiple search strategies as argument
solver.set(s1,s2...);
And you can retrieve the current search strategy (potentially composite) with solver.getSearchLoop().getStrategy()
So, you should do something like:
solver.set(myNewStrategy,solver.getSearchLoop().getStrategy());

Thank you @jgFages
Magnificent, I tried it and it works. But It only works if I called set beforehand in my configureSearch(). I guess because before this stage there is no default search strategy.
Cheers,

I should also say that it only works if my myNewStrategies cover all variables!

Yes the default search strategy is created just before solving in case no search is defined, so you need to create you own "complete" search.
And yes the overall strategy should cover all variables, but you can do it in two steps:
solver.set(mySearch(X), ISF.lexico_LB(ArrayUtils.append(X,Y,Z)));

Okay I see, thank you Jean-Guillaume.


[BUG] no convenience API to set PublicNetworkAccess in Vault

Describe the bug
azure sdk for java does not offer diable PublicNetworkAccess for keyvaults
Exception or Stack Trace
import com.azure.identity.DefaultAzureCredential;import com.azure.resourcemanager.AzureResourceManager;import com.azure.resourcemanager.keyvault.models.Vault;import com.azure.resourcemanager.keyvault.models.VaultCreateOrUpdateParameters;import com.azure.resourcemanager.keyvault.models.VaultProperties;import com.azure.resourcemanager.resources.fluentcore.arm.Region;import com.azure.resourcemanager.resources.fluentcore.utils.ResourceManagerUtils;
public class CreateKeyVaultExample {
public static void main(String[] args) {
String subscriptionId = "";
String resourceGroupName = "";
String keyVaultName = "";
    // Authenticate using DefaultAzureCredentialAzureResourceManager azureResourceManager = AzureResourceManager.configure()
            .withLogLevel(HttpLogDetailLevel.BASIC)                .authenticate(new DefaultAzureCredential())
            .withDefaultSubscription();

    // Create a new Key VaultVault vault = azureResourceManager.keyVaults().define(keyVaultName)
            .withRegion(Region.US_WEST)
            .withNewResourceGroup(resourceGroupName)
            .withEmptyAccessPolicy()
            .create();

    System.out.println("Key Vault created: " + vault.vaultUri());
}

}
To Reproduce
When coding with to the SDK properties there is no .withPublicNetworkAccess to set to False
It creates it with PublicNetworkAccess enabled
Code Snippet
See above
Expected behavior
To be able to disable publicNetwokAccess
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):

OS: [Mac]
IDE: [IntelliJ]
Library/Libraries: [azure-resource-manager-keyvault 2.36.0]
Java version: coreto 21
App Server/Environment: [openshift]
Frameworks: Spring Boot]

If you suspect a dependency version mismatch (e.g. you see NoClassDefFoundError, NoSuchMethodError or similar), please check out Troubleshoot dependency version conflict article first. If it doesn't provide solution for the problem, please provide:

verbose dependency tree (mvn dependency:tree -Dverbose)
exception message, full stack trace, and any available logs

Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[ ] Bug Description Added
[ ] Repro Steps Added
[ ] Setup information Added

PR https://github.com/Azure/azure-sdk-for-java/pull/39309
Should be included in next 2.37.0 release, scheduled before end of March.


Modifying the TextureList to use EventBrowser-style chooser.

Description
This modifies the Texture List to use the same style column chooser as the Event Browser.  It also adds the ability to sort the columns.

I'm working through your suggestions now.  I'll let you know if I have any questions.

Oh also I forgot - check out the CI failures. I think it's just missing a class RDTreeWidgetItem declaration, it looks like it's failing on the platforms that don't have precompiled headers, which can sometimes hide issues like that.


[SPARK-16726][SQL] Improve Union/Intersect/Except error messages on incompatible types

What changes were proposed in this pull request?
Currently, UNION queries on incompatible types show misleading error messages, i.e., unresolved operator Union. We had better show a more correct message. This will help users in the situation of SPARK-16704.
Before
scala> sql("select 1,2,3 union (select 1,array(2),3)")
org.apache.spark.sql.AnalysisException: unresolved operator 'Union;
scala> sql("select 1,2,3 intersect (select 1,array(2),3)")
org.apache.spark.sql.AnalysisException: unresolved operator 'Intersect;
scala> sql("select 1,2,3 except (select 1,array(2),3)")
org.apache.spark.sql.AnalysisException: unresolved operator 'Except;

After
scala> sql("select 1,2,3 union (select 1,array(2),3)")
org.apache.spark.sql.AnalysisException: Union can only be performed on tables with the compatible column types. ArrayType(IntegerType,false) <> IntegerType at 2th column of second table;
scala> sql("select 1,2,3 intersect (select 1,array(2),3)")
org.apache.spark.sql.AnalysisException: Intersect can only be performed on tables with the compatible column types. ArrayType(IntegerType,false) <> IntegerType at 2th column of second table;
scala> sql("select 1,2,3 except (select 1,array(2),3)")
org.apache.spark.sql.AnalysisException: Except can only be performed on tables with the compatible column types. ArrayType(IntegerType,false) <> IntegerType at 2th column of second table;

How was this patch tested?
Pass the Jenkins test with a new test case.

Test build #62850 has started for PR 14355 at commit 98682a5.

@dongjoon-hyun Do you mind if I ask a question please?
It seems it works in MySQL supports UNION ALL for the compatible types, for example, numeric compatible types. If my understanding is correct, it seems it throws an exception when they are any combination of mismatched types. Should this be maybe considered as well?

Test build #62850 has finished for PR 14355 at commit 98682a5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Yes, for the compatible types, Union works perfectly. :)

Hi, @hvanhovell .
Could you review this PR? I thought the error message is weird since we support Union.

Thank you for review, @hvanhovell . I'll update like that.

Hi, @hvanhovell .
There is two cases statements including mine (the second one). May I change both? Actually, I followed the style of the previous one.
 case s: Union if s.children.exists(_.output.length != s.children.head.output.length) =>
    val firstError = s.children.find(_.output.length != s.children.head.output.length).get
    failAnalysis(
      s"Unions can only be performed on tables with the same number of columns, " +
        s"but one table has '${firstError.output.length}' columns and another table has " +
        s"'${s.children.head.output.length}' columns")

+ case Union(c) if c.exists(_.output.map(_.dataType) != c.head.output.map(_.dataType)) =>
+   val firstError = c.find(_.output.map(_.dataType) != c.head.output.map(_.dataType)).get
+     failAnalysis(
+       s"Unions can only be performed on tables with the compatible column types, " +
+         s"but one table has '[${c.head.output.map(_.dataType).mkString(", ")}]' " +
+         s"and another table has '[${firstError.output.map(_.dataType).mkString(", ")}]'")

Yeah please do! Combining them would be the easiest I suppose.

Yep. Also, I'll handle INTERSECT and EXCEPT. They have the same issue. Thank you!

Test build #62925 has started for PR 14355 at commit 5fd0948.

Hi, @hvanhovell . The followings are updated.

Union/Intersect/Except statements are handled.
Merge with the previous case statement for checking mismatched number of columns.
Show the mismatched column number.

The PR and JIRA are updated together.

Test build #62925 has finished for PR 14355 at commit 5fd0948.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62925/
Test PASSed.

Hi, @hvanhovell .
It's updated according to the advice.
Thank you!

Test build #62929 has started for PR 14355 at commit d2e51f7.

Test build #62929 has finished for PR 14355 at commit d2e51f7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62929/
Test PASSed.

Merged build finished. Test PASSed.

Hi, @hvanhovell .
The logic is refactored into a function now.

Test build #62948 has started for PR 14355 at commit 71e8ec9.

Test build #62948 has finished for PR 14355 at commit 71e8ec9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62948/
Test PASSed.

Hi, @hvanhovell .
Could you review this PR again when you have some time?

Rebased.

Test build #63022 has started for PR 14355 at commit 2b2d59e.

Test build #63022 has finished for PR 14355 at commit 2b2d59e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/63022/
Test PASSed.

Test build #63066 has started for PR 14355 at commit 6b20ffb.

Test build #63066 has finished for PR 14355 at commit 6b20ffb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/63066/
Test PASSed.

LGTM - merging to master. Thanks for working on this!

Thank you, @hvanhovell !


[BUG] ChromeDriver not found after updating NuGet package from <IP_ADDRESS>30 to <IP_ADDRESS>10

Bug Report
Issues should only be created for items related to covered functionality.
Not covered functionality, feature requests, and questions should use the Feature Request or Question templates.
EasyRepro Version

[ ] Microsoft Dynamics 365 Online Version 8.2 (8.2.x) (DB 8.2.x) online
[ ] Microsoft Dynamics 365 Online Version 9.0 (9.0.x) (DB 9.0.x) online
[ ] Microsoft Dynamics 365 Online Version 9.0.2 (9.0.2) (DB 9.0.2) online
[X] Microsoft Dynamics 365 Online Version 9.1 (9.1.x) (DB 9.1.x) online

UCI or Classic Web

[X] UCI (XrmApp)
[ ] Classic Web (XrmBrowser)

Online or On Premise

[X] Online
[ ] On Premise

Browser

[X] Chrome
[ ] Firefox
[ ] IE
[ ] Edge

Describe the bug
I updated the NuGet package from <IP_ADDRESS>30 to <IP_ADDRESS>10. When i try to login (which starts the browser) I now get an error message that the ChromeDriver cannot be found. For some reason it searches in the TestResults folder.
** Error Message **
OpenQA.Selenium.DriverServiceNotFoundException: The file C:\Github\mVermaat\Crm.Specflow\TestResults\chromedriver.exe does not exist. The driver can be downloaded at http://chromedriver.storage.googleapis.com/index.html
StackTrace:
   at OpenQA.Selenium.DriverService..ctor(String servicePath, Int32 port, String driverServiceExecutableName, Uri driverServiceDownloadUrl)
   at OpenQA.Selenium.Chrome.ChromeDriverService..ctor(String executablePath, String executableFileName, Int32 port)
   at Microsoft.Dynamics365.UIAutomation.Browser.BrowserDriverFactory.CreateWebDriver(BrowserOptions options)
   at Microsoft.Dynamics365.UIAutomation.Browser.InteractiveBrowser.get_Driver()
   at Microsoft.Dynamics365.UIAutomation.Browser.BrowserPage.Execute[TResult,T1,T2,T3,T4](BrowserCommandOptions options, Func`6 delegate, T1 p1, T2 p2, T3 p3, T4 p4)
   at Microsoft.Dynamics365.UIAutomation.Api.UCI.WebClient.Login(Uri orgUri, SecureString username, SecureString password)
   at Microsoft.Dynamics365.UIAutomation.Api.UCI.OnlineLogin.Login(Uri orgUrl, SecureString username, SecureString password)
   at Vermaat.Crm.Specflow.EasyRepro.UCIBrowser.Login(Uri uri, UserDetails connectionString) in C:\Github\mVermaat\Crm.Specflow\Vermaat.Crm.Specflow\EasyRepro\UCIBrowser.cs:line 44
   at Vermaat.Crm.Specflow.EasyRepro.BrowserManager.GetBrowser(BrowserOptions options, UserDetails userDetails, Uri uri) in C:\Github\mVermaat\Crm.Specflow\Vermaat.Crm.Specflow\EasyRepro\BrowserManager.cs:line 37
   at Vermaat.Crm.Specflow.SeleniumTestingContext.GetBrowser() in C:\Github\mVermaat\Crm.Specflow\Vermaat.Crm.Specflow\SeleniumTestingContext.cs:line 37
   at Vermaat.Crm.Specflow.Commands.CreateRecordCommand.ExecuteBrowser() in C:\Github\mVermaat\Crm.Specflow\Vermaat.Crm.Specflow\Commands\CreateRecordCommand.cs:line 32
   at Vermaat.Crm.Specflow.Commands.BrowserCommandFunc`1.Execute(CommandAction commandAction) in C:\Github\mVermaat\Crm.Specflow\Vermaat.Crm.Specflow\Commands\BrowserCommand.cs:line 29
   at Vermaat.Crm.Specflow.CommandProcessor.Execute[TResult](ICommandFunc`1 command, CommandAction commandAction) in C:\Github\mVermaat\Crm.Specflow\Vermaat.Crm.Specflow\CommandProcessor.cs:line 22
   at Vermaat.Crm.Specflow.Steps.GeneralSteps.GivenEntityWithValues(String entityName, String alias, Table criteria) in C:\Github\mVermaat\Crm.Specflow\Vermaat.Crm.Specflow\Steps\GeneralSteps.cs:line 40
   at lambda_method(Closure , IContextManager , String , String , Table )

Yes got the same problem, i guess it's the way the new package try to find the chromedriver extension.
I tried to solve it but nothing works so far so I did downgraded to <IP_ADDRESS>30.
@tylerd for you information :)

I got a similar issue:

The file C:\Users\rs\AppData\Local\Temp\chromedriver.exe does not exist. The driver can be downloaded at http://chromedriver.storage.googleapis.com/index.html

Is anyone looking into this problem, which makes the latest version completely useless and persists for almost two months?

Ok, found a workaround: one needs to set the DriversPath in the options object:
`var options = new BrowserOptions
{
BrowserType = BrowserType.Chrome,
UCITestMode = true,
DriversPath = GetDriverPath()
};
       var webClient = new WebClient(options);
        crm = new XrmApp(webClient);

`
I still think this behaviour should be fixed, because it worked without an explicit path before the mentioned updated. Moreover the default selenium webdriver does not require an explicit path, so why does EasyRepro?
Luckily in my case the driver is in the same location as the executing assembly:
`protected static string GetDriverPath()
{
var assemblyPath = Assembly.GetExecutingAssembly().Location;
Logger.Debug($"Assembly Path: {assemblyPath}");
        var indexFileName = assemblyPath.LastIndexOf('\\');
        return assemblyPath.Substring(0, indexFileName);
    }`


/ FfDL/demos/fashion-mnist-adversarial/README.md references internal repository

Acknowledgements section:

Special thanks to Anupama-Murthi and Vijay Arya who created the original notebook which we modified here to showcase how to use ART with FfDL. If you would like to try Watson Machine Learning (WML) Service with ART check out Anupama and Vijay's notebook here:
https://github.ibm.com/robust-dlaas/ART-in-WML/Use ART to check robustness of deep learning models.ipynb

The referenced notebook is not publicly accessible.

Fixed by #157 since the referenced notebook is not publicly available.


v2 - v4

ASA-9151
Handled the deprecated v3 APIs of actions & node-16

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: vishalhcl-5960:x: mattmurpYou have signed the CLA already but the status is still pending? Let us recheck it.


Updating to reflect new spo admin center

more info https://techcommunity.microsoft.com/t5/microsoft-onedrive-blog/bringing-onedrive-settings-into-sharepoint-admin-center-for/ba-p/2054894
closes https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/issues/2833

@kaarins please review

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@kaarins PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@kaarins Kaarin can you kindly review and merge, please? Thank you

@kaarins Kaarin can you kindly review and merge, please? Thank you


Portable Ruby 2.6.8_1

Release notes: https://github.com/Homebrew/homebrew-portable-ruby/releases/tag/2.6.8_1

Review period skipped due to critical label.

Thanks again @Bo98!


Validation | Revise validation messaging |1|

Task:
This card is to revise some of the data validation error messages
Schedules A, B, C:

Current message: "The Quantity of Fuel Supplied cannot contain a zero, negative or decimal value."
Revised message: "The quantity of fuel cannot be zero, negative, or contain a decimal value."
Current message: "There are duplicate trade records, please combine the Quantity into a single value on one row."
Revised message: "There are duplicate entries, please combine the quantity into a single value on one row."

Schedule B:

Current message: "A GHGenius Fuel Code was not found, please create a record in Schedule D."
Revised message: "A GHGenius Modelled entry was not found, please create a record in Schedule D."

https://trello.com/c/QcjbFmAf/1964-validation-revise-validation-messaging-1

 Validation | Revise validation messaging |1|

resolved in sprint vulcan


feat: More Distinct Timeline Colors

Is your feature request related to a problem?
User Experience Related
This is an amazing tool, thank you for working on it! I sometimes have a hard time distinguishing between the colors in the timeline. My eyes have trouble distinguishing between the "SOQL", "Method", and "Flow" blocks. It is also difficult for me to distinguish between the "DML" and "Workflow" blocks. If other people are also affected by this I think it might be a good idea to change the colors so they aren't so close.
Please see the below image for what I am referring to.

You are absolutely right the colours can be hard to tell apart. We will definitely look at making the differentiation easier.
In the mean time you can check out the color settings section in the readme to pick your own custom ones.

@lcotterffdc I had no idea those color settings existed or I would not have raised this issue. Thank you!

@robertStrunk
I have raised a pull request to try and make the colours easier to tell apart.
I would to see what you think and if this would help people out of the box.
https://github.com/financialforcedev/debug-log-analyzer/pull/230


Move server files to typescript

Convert the mongoose models in server/models to Typescript
Refactor server/actions and move server/actions/admin.js to Typescript
Fix encountered type errors

Consider splitting types.ts into several files.
resolve #68

Thanks for your contributions! There are some merge conflicts with the develop branch; can you resolve those?


BREAKING: Alias merge as concat for Set and Map collections

These methods are extremely similar, but have differing implementations with different performance characteristics. This makes concat an alias of merge, sharing the implementation for those methods.

I upgraded to RC9 and at runtime, orderedMaps can't concat. Concat returns as undefined. Working on a test case now.

Given a package.json:
{
  "name": "immmutable-bug-simple",
  "version": "1.0.0",
  "main": "index.js",
  "license": "MIT",
  "dependencies": {
    "immutable": "^4.0.0-rc.9"
  }
}

and an index.js of
const immutable = require('immutable');

const orderedMap = immutable.OrderedMap();
const orderedMap2 = immutable.OrderedMap();
orderedMap.concat(orderedMap2)

I get:
TypeError: orderedMap.concat is not a function
    at Object.<anonymous> (/Users/rb/code/experiment/immmutable-bug-simple/index.js:5:12)

Working to see if I can help write code to fix.

Opening a new issue too.


'main': Highlight the ! precommand as an error when not at the start of a pipeline.

Fixes #511.

Added tests and addressed the comments.  Thanks for the review.


Third docker container instance always exits right away

I was trying to create a cassandra cluster with multiple nodes using cassandra-docker and I managed to start up two nodes with following commands:
docker run --name=n1 -d tobert/cassandra
docker exec -it n1 nodetool status which returns <IP_ADDRESS> as the IP address and then I run following command to get second node up:
docker run --name=n2 -d tobert/cassandra -seeds <IP_ADDRESS>
When I use nodetool status after a while, it shows second node's status as UN, so I have a cluster of 2 nodes. Then I run the following command to add yet another node into the cluster:
docker run --name=n3 -d tobert/cassandra -seeds <IP_ADDRESS>
The command returns immediately and running the command;
docker ps -a provides following output:

CONTAINER ID        IMAGE               COMMAND                  CREATED              STATUS                      PORTS                                               NAMES
6757f27b5281        tobert/cassandra    "/bin/cassandra-docke"   11 seconds ago       Exited (1) 11 seconds ago                                                       n3
6b5aad3e6f40        tobert/cassandra    "/bin/cassandra-docke"   About a minute ago   Up About a minute           7000/tcp, 7199/tcp, 9042/tcp, 9160/tcp, 61621/tcp   n2
a1b2302e4a92        tobert/cassandra    "/bin/cassandra-docke"   About a minute ago   Up About a minute           7000/tcp, 7199/tcp, 9042/tcp, 9160/tcp, 61621/tcp   n1

Basically third node exits with error code 1. I cannot restart the node, it still fails right away.
Below is the output of docker info command on my machine:

Containers: 3
Running: 2
Paused: 0
Stopped: 1
Images: 1
Server Version: 1.10.3
Storage Driver: aufs
Root Dir: /mnt/sda1/var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 31
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
Volume: local
Network: bridge null host
Kernel Version: 4.1.19-boot2docker
Operating System: Boot2Docker 1.10.3 (TCL 6.4.1); master : 625117e - Thu Mar 10 22:09:02 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.956 GiB
Name: default
ID: ETGO:SLLZ:7ZCJ:FX6C:TXVV:67VJ:T76Z:EIFC:DLLI:5HHN:5NXJ:L5A7
Debug mode (server): true
File Descriptors: 20
Goroutines: 34
System Time: 2016-03-21T22:10:13.734763854Z
EventsListeners: 0
Init SHA1:
Init Path: /usr/local/bin/docker
Docker Root Dir: /mnt/sda1/var/lib/docker
Labels:
provider=virtualbox

Can you try launching the last instance with a volume attached, e.g. --volume /tmp/n3:/data then look in /tmp/n3/logs/system.log. I suspect it's a memory or similar limit causing it to fail.

Attaching the volume did not help unfortunately, the folder /tmp/n3 didn't get created automatically and even if I created manually, nothing was written to it.
I was also suspecting a memory issue but my efforts to increase the allocated memory for the virtual machine by modifying the quick start terminal did not work out. The VM got created with 2048 MB of memory still and third VM still did not get created. After increasing the memory of the VM through VirtualBox helped, now I can create 3 images. Maybe it would be a helpful hint for Mac users that 2048 MB of memory for virtual machine may not be enough for 3 cassandra docker containers running at the same time.
Thank you very much for the suggestion. Closing the ticket as it's not a cassandra-docker image problem.

Ah yeah, IIRC the image defaults to using 1GB of RAM per instance.  You can set your desired heap size by passing -heap and -new (megabytes) the same way you set -node.


patchChangelog breaks changelog format in version 2.1.0

Describe the bug
patchChangelog in version 2.1.0 breaks changelog format adding unneccessary new line.
To Reproduce
Use CHANGELOG.md and run gradle patchChangelog
Expected behavior
Changelog is patched and format is not manipulated.

Version 2.0.0 - CHANGELOG_2_0_0.md (Expected behaviour)
Version 2.1.0 CHANGELOG_2_1_0.md (Wrong changelog format)

Environment:

OS: Windows 11
Gradle Changelog Plugin Version 2.1.0
Gradle Version 8.1.1

Additional context
In previous version before 2.1.0, patchCahngelog works propertly as expected

I've investigated and seems that the issue is caused by this issue on markdown component.
In fact if i use a CHANGELOG.md that use LF line separator, issue is not present. Instad, if file use CRLF or CR, patchChangelog breaks my changelog format.
The only solution that i've found is to use the LF line separator in CHANGELOG.md.


Registration form is not visible for players

Registration form is not visible for players. Tried to reset the game, but it not fixed the problem.

Hi @KestisMo have you checked your the full and minifed url of the Heroku player app?

Hi @pozil Issue resolved, it was a bad credentials, because I made a mistake in salesforce org settings (scratch org). I tried again to create quiz from step 1 and it was working fine. Thank you.

Cool glad to hear that. Enjoy the app!


Add seekable method for TarReader use to determine whether the current reader supports seek

Relevant Issue (if applicable)
#1410
Details
Add seekable method for TarReader use to determine whether the current reader supports seek
Types of changes
What types of changes does your PullRequest introduce? Put an x in all the boxes that apply:

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Go over all the following points, and put an x in all the boxes that apply.

[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.

retest


Manual is on spigot 1.13 server broken in mechanization version 2.0.4b

the manual wont open

+1

Spigot blocks feature that are currently used to make the manual function, and so far they have denied fixing it. A small rework of the manual is being done that should make it compatible.

also there is no function for the recipe for the quarry

Fixed in 2.0.5


[Feature Request] Auto-Preload

For ease of use, hyprpaper should automatically preload any wallpaper you try to use if it is not already preloaded.
Additionally, whenever this automatic preload gets triggered, it should unload all previously auto-preloaded files that are not currently active (to prevent memory usage getting out of hand).
This would make preloading optional, thus making hyprpaper a lot more user-friendly.

>give users control
>users complain about too much control

I don't know about auto-preload, but it we could somehow point and start the "default" wallpaper we set in hyprpaper.conf, that would go a long way in making the desktop startup time at least  'feel' faster.

?
The image still needs to be preloaded. How would that speed anything up?

In the same way 'Azote' or even 'swww' do it. I'm not sure what the exact mechanics are for it. But they somehow cache (maybe even .cache) the image they know they will start with and it doesn't have to go through the same initializations.
Who knows maybe they're leveraging swaybg or something 🤷

my script hyprpaper.sh :
#!/usr//bin/env zsh

WALLPAPER_DIR="$HOME/Pictures/wallpaper"
HYPRPAPER_CONF="$HOME/.config/hypr/hyprpaper.conf"
MONITOR="$(hyprctl monitors|grep 'ID 0'|awk '{print $2}')"

init_config() {
  local monitor=$MONITOR

  # preload wallpaper
  ls $WALLPAPER_DIR | while read -r file; do
    echo "preload = $WALLPAPER_DIR/$file"
  done | tee $HYPRPAPER_CONF

  # set wallpaper
  echo "wallpaper = $monitor,$(shuf -n 1 -e $WALLPAPER_DIR/*)" | tee -a $HYPRPAPER_CONF

  # ipc options
  echo "ipc = on" | tee -a $HYPRPAPER_CONF
}

random_wallpaper() {
  local monitor=$MONITOR
  local wallpaper="$(shuf -n 1 -e $WALLPAPER_DIR/*)"
  notify-send "${wallpaper##*/}"
  hyprctl hyprpaper wallpaper "$monitor,$wallpaper"
}

switch_wallpaper() {
  local monitor=$MONITOR
  local action=$1
  local wallpaper
  local prev_wallpaper
  local next_wallpaper

  current_wallpaper="$(hyprctl hyprpaper listactive | sed 's|.*/||')"
  echo "Currnet: $current_wallpaper"

  ls -1v $WALLPAPER_DIR | while read -r file; do
    [[ -n "$next_wallpaper" ]] && next_wallpaper="$file" && break
    if [[ "$file" == "$current_wallpaper" ]]; then
      next_wallpaper="$file"
    else
      prev_wallpaper="$file"
    fi
  done

  echo "Next: $next_wallpaper"
  echo "Prev: $prev_wallpaper"

  if [[ $action == "next" ]]; then
    [[ -n "$next_wallpaper" ]] && wallpaper=$next_wallpaper
  elif [[ $action == "prev" ]]; then
    [[ -n "$prev_wallpaper" ]] && wallpaper=$prev_wallpaper
  else
    echo "Invalid action" && exit 1
  fi

  if [[ -n "$wallpaper" ]]; then
    notify-send "$wallpaper"
    hyprctl hyprpaper wallpaper "$monitor,$WALLPAPER_DIR/$wallpaper"
  else
    notify-send "No wallpaper found"
  fi
}

# ###  Main  ##################################################################

SHORT="i,r,s:"
LONG="init,random,switch:"
ARGS=`getopt -a -o $SHORT -l $LONG -n "${0##*/}" -- "$@"`

if [[ $? -ne 0 || $# -eq 0 ]]; then
  cat <<- EOF

$0 -[`echo $SHORT|sed 's/,/|/g'`] --[`echo $LONG|sed 's/,/|/g'`]
EOF
fi

eval set -- "${ARGS}"

while true
do
  case "$1" in
  -i|--init) init_config ;;
  -r|--random) random_wallpaper ;;
  -s|--switch) switch_wallpaper $2; shift ;;
  --) shift ; break ;;
  esac
shift
done

hyprland.conf:
...

# auto load wallpaper
exec-once = ~/.config/hypr/scripts/hyprpaper.sh --init && hyprpaper &

# wallpaper submap
submap = wallpaper
bind = ,r, exec, ~/.config/hypr/scripts/hyprpaper.sh --random
bind = ,n, exec, ~/.config/hypr/scripts/hyprpaper.sh --switch next
bind = ,p, exec, ~/.config/hypr/scripts/hyprpaper.sh --switch prev
bind = ,q, submap, reset
submap = reset

...

my script hyprpaper.sh :

That seems massively overcomplicated if our goal is just to auto-preloud, it could be very easily achieved like this:
#!/bin/bash
pgrep hyprpaper || hyprctl dispatch exec hyprpaper && sleep 1
hyprctl hyprpaper preload "$@"
hyprctl hyprpaper wallpaper ",$@"
hyprctl hyprpaper unload unused

The only problem being that the unload command would unload everything that's unused instead of only the things that were autoloaded, but for me i wouldn't really care about that so this is what I'd do.
And if we want something more complicated, like say automatically loading random walls at set intervals, it can also be achieved in a much more simple manner like this
#!/bin/bash

INTERVAL=1800
subdirectories=true

if [[ $# -lt 1 ]] || [[ ! -d "$@"   ]]; then
	echo "Usage:
	$0 <dir containing images>"
	exit 1
fi

$subdirectories || DEPTH="-maxdepth 1"

while true; do
	pgrep hyprpaper || hyprctl dispatch exec hyprpaper && sleep 1
	find "$@" $DEPTH \
		| while read -r img; do
			echo "$((RANDOM % 1000)):$img"
		done \
		| sort -n | cut -d':' -f2- \
		| while read -r img; do
			hyprctl hyprpaper preload "$img"
			hyprctl hyprpaper wallpaper ",$img"
			hyprctl hyprpaper unload unused
			pgrep hyprpaper && sleep $INTERVAL
		done
done

Granted your scripts ability to switch manually to the next and previous image is cool, i can technically do that anyways with mine by just doing pkill sleep, even if that is a bit yikes to do.


Ivy version range [1.0,2.0] is not satisfied by 1.0

Using
Requirement.buildIvy("[1.0,2.0]").isSatisfiedBy(Semver("1.0", Semver.SemverType.LOOSE))

in version 3.1.0 retuns false, but according to the ivy version-matchers specification, it should be true.
This is caused by this check:
semver4j/src/main/java/com/vdurmont/semver4j/Range.java
Line 34 in 7653e41
return version.isGreaterThan(this.version) || version.isEquivalentTo(this.version);
Where in the right-hand side of the ||, "1.0".isEquivalentTo("1.0.0") is checked, which then internally calls "1.0".isEqualTo("1.0.0").
This issue might be related to https://github.com/vdurmont/semver4j/issues/59.
Orginal issue: https://github.com/vdurmont/semver4j/issues/67

This can be handled:
RangesList rangesList = RangesListFactory.create("[1.0,2.0]");
boolean satisfiedBy = rangesList.isSatisfiedBy(coerce("1.0"));
System.out.println(satisfiedBy); //true


How to handle multiple chains in protein structure

Hi, when dealing with a protein structure with several chains, how does Protein class handle that? Does it connect all chains eg. a concatenated residue types list?

Hi! It concatenates all chains, but you can distinguish them by protein.chain_id, which is a per-residue property.


Remove extraneous @escaping and @Sendable attributes from CustomExecutionTrait.execute(...) SPI

This refines the CustomExecutionTrait SPI protocol by removing two unnecessary attributes from the signature of its execute(_:for:testCase:) method requirement:

The @escaping attribute on the function parameter was needed originally to avoid a warning, but function should not actually be considered escaping and part of the contract of this interface is that the implementor must call it before returning. The compiler no longer complains about this, so we can enforce this requirement by removing the unnecessary @escaping attribute now.
The outer @Sendable was necessary when this SPI was first written to avoid a Swift concurrency warning, since a reference to the function is taken elsewhere in the codebase, but this is no longer needed in recent Swift compilers.

Checklist:

[x] Code and documentation should follow the style of the Style Guide.
[x] If public symbols are renamed or modified, DocC references should be updated.

@swift-ci please test

This is technically ABI-breaking, but it's also experimental SPI so it's fine.


New version: k6.k6 version 0.45.0

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/115030&drop=dogfoodAlpha

@wingetbot run


Remove hardforks

Remove code needed for hardforks and move some params to config to make it cleaner

prnet cleaned-up successfully


fix: Typing hints

Standardize hint style: always use list instead of typing.List
Make sure all functions have an output tying hint

Looks good @hananell! I ran black linter for you — you can also do it locally by running make lint (to view issues) and make format (to fix issues) in the future.
The linters are picking up on a couple of issues (looks like the ruff linter), again, you can check locally with make lint or check out the failing action above. If we can get those fixed we can merge, thanks!