Unable to compile iOS code when using package written in swift

Steps to Reproduce

"flutter create test"
add an library written in swift to the project. e.g. "https://github.com/s-bauer/loca_notifications_own"
try running on iOS using "flutter run"
Build fails with the log output found below

In contrast, anything works fine when I create the project using "flutter create -i swift test"
Logs
flutter run
Launching lib/main.dart on iPhone 8 Plus in debug mode...
Running pod install...                                       0.8s
CocoaPods' output:
↳
      Preparing

    Analyzing dependencies

    Inspecting targets to integrate
      Using `ARCHS` setting to build architectures of target `Pods-Runner`: (`arm64`)

    Fetching external sources
    -> Fetching podspec for `Flutter` from `Pods/.symlinks/flutter/ios`
    -> Fetching podspec for `local_notifications` from `Pods/.symlinks/plugins/loca_notifications_own-64f732ba11141f2e5b53bc6c53e67c65b0fa7657/ios`

    Resolving dependencies of `Podfile`

    Comparing resolved specification to the sandbox manifest
      A Flutter
      A local_notifications

    Downloading dependencies

    -> Installing Flutter (1.0.0)

    -> Installing local_notifications (0.0.1)
      - Running pre install hooks
    [!] Pods written in Swift can only be integrated as frameworks; add `use_frameworks!` to your Podfile or target to opt into using it. The Swift Pod being used is: local_notifications

    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer/xcode/target_validator.rb:116:in `block (2 levels) in verify_framework_usage'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer/xcode/target_validator.rb:111:in `each'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer/xcode/target_validator.rb:111:in `block in verify_framework_usage'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer/xcode/target_validator.rb:108:in `each'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer/xcode/target_validator.rb:108:in `verify_framework_usage'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer/xcode/target_validator.rb:38:in `validate!'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer.rb:406:in `validate_targets'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer.rb:118:in `install!'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/command/install.rb:41:in `run'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/command.rb:52:in `run'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/bin/pod:55:in `<top (required)>'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/bin/pod:22:in `load'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/bin/pod:22:in `<main>'
Error output from CocoaPods:
↳

    [!] `<PBXGroup UUID=`97C146E51CF9000F007C117D`>` attempted to initialize an object with an unknown UUID. `CF3B75C9A7D2FA2A4C99F110` for attribute: `children`. This can be the result of a merge and  the unknown UUID is being discarded.

    [!] Automatically assigning platform `ios` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
Error running pod install
Error launching application on iPhone 8 Plus.

[✓] Flutter (Channel master, v0.2.5-pre.44, on Mac OS X 10.13 17A365, locale en-DE)
    • Flutter version 0.2.5-pre.44 at /Users/simonbauer/Desktop/flutter
    • Framework revision 067be92ae8 (3 days ago), 2018-03-26 22:16:48 -0700
    • Engine revision dd6f46c485
    • Dart version 2.0.0-dev.41.0.flutter-2f68e82526

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).
      If Android SDK has been installed to a custom location, set $ANDROID_HOME to that location.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.2, Build version 9C40b
    • ios-deploy 1.9.2
    • CocoaPods version 1.4.0

[✗] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).

[✓] Connected devices (1 available)
    • iPhone 8 Plus • C8428C0E-6FBB-413C-904B-F00861D5DE56 • ios • iOS 11.2 (simulator)

! Doctor found issues in 2 categories.

A workarround I found is to copy the "ios/" directory of an swift project to the "normal" objective-c project. Then it compiles without problems

Duping into #16049


PIA, Image Injection, and Multival Expansion

Added PIA support
Added Image Injection support
Expanded Multival nodes

For PIA and Image Injection support, it was my first time adding mid-sampling model switching (to perform VAE Encoding/Decoding). I will be able to make some updated nodes for other features now to do this too, but that's for future me to worry about.
I have not tested PIA or image injection in lowvram/novram, so no idea if there are any changes that I need to make to get it to work. Again, future me's problem.

Thanks as always for the hard work 🔥

Thank you so much for all your hard work! Please give example usages for these new features. The image injection was something I was hoping to see, and the PIA looks great too. Would really like to see workflow example usage on these.


How can I animate the offset to go forth and back

I want when a swipe button is click to trigger an animation when the button fill the entire cell and then come back to it's original state (hidden). The issue is when a try to modify the offset of the button in the completion block I get an "EXC_BAD_ACCESS" error. Do you know the origin of this error?
        self.setSwipeOffset(UIScreen.mainScreen().bounds.width, animated: true, completion: { (true) in             self.hideSwipeAnimated(true)         })

Fixed in the master branch.
Thanks for the info!


xmldom security vulnerability CVE-2021-32796

@bentley/itwin-client package has a dependency on "xmldom": "^0.6.0"
per the security advisory Misinterpretation of malicious XML input
could we get this package updated to "@xmldom/xmldom":"^0.7.0"

Should be fixed in 2.19.12, which is now available.


[Feature] Multiple shadows

i recently came across some ui elements where multiple shadows are used, especially in neumorphism designs like the one below

i'm a big fan of PancakeView and wanted to ask if such a functionality is planned? I think #74 could also be important for designs with multiple shadows.
Thanks

As much as this is possible on iOS, there's no decent way to implement this on Android as far as I can find. Since I want to keep the package as cross-platform as possible I have no immediate plans to implement it for just iOS.

thanks for the info 👍 I know gradients on Android can be messy. I will look into this and how SkiaSharp can help me, but in a different repo because that's would be quite a dependency for PancakeView.

We can leave the feature open for all I'm concerned. However, it probably will not happen or have a very low priority :)

And again, you can grab ideas here

This will not make its way into PancakeView any time soon. For all your shadowing needs I would suggest using Sharpnado:
https://www.sharpnado.com/sharpnado-shadows-add-many-shadows-to-any-xamarin-forms-view/


update deku dependency

Dependency deku 0.15 introduced major breaking change by upgrading to bitvec 1.0 (see changelog.
Had to modify the codebase a little to make it work.
Tests passes now but I lack of expertise on bitvec. May introduce untested breaking.

Origin of this PR is that for some reasons pantrace fails to install anymore (on macOS at least):
$ cargo +nightly install pantrace

Caused by:
  failed to select a version for the requirement `funty = "~1.2"`
  candidate versions found which didn't match: 2.0.0, 1.1.0, 1.0.1, ...
  location searched: crates.io index
  required by package `bitvec v0.22.1`
      ... which satisfies dependency `bitvec = "^0.22.1"` of package `deku v0.12.0`
      ... which satisfies dependency `deku = "^0.12"` of package `warts v0.3.0`
      ... which satisfies dependency `warts = "^0.3"` of package `pantrace v0.5.0`

This looks OK to me:
cargo run --example write_traceroute | sc_warts2json

{"type":"cycle-start", "list_name":"default", "id":0, "hostname":"ubuntu-linux-20-04-desktop", "start_time":1670579418}
{"type":"trace","version":"0.1", "userid":0, "method":"udp-paris", "src":"<IP_ADDRESS>", "dst":"<IP_ADDRESS>", "sport":57352, "dport":33435, "stop_reason":"COMPLETED", "stop_data":0, "start":{"sec":1670579418, "usec":458487, "ftime":"2022-12-09 10:50:18"}, "hop_count":7, "attempts":2, "hoplimit":0, "firsthop":1, "wait":5, "wait_probe":0, "tos":0, "probe_size":44, "probe_count":8, "hops":[{"addr":"<IP_ADDRESS>", "probe_ttl":1, "probe_id":1, "probe_size":44, "tx":{"sec":1670579418, "usec":458485}, "rtt":1.057, "reply_ttl":254, "reply_tos":0, "reply_ipid":387, "reply_size":56, "icmp_type":11, "icmp_code":0, "icmp_q_ttl":1, "icmp_q_ipl":44, "icmp_q_tos":0}]}
{"type":"cycle-stop", "list_name":"default", "id":0, "hostname":"ubuntu-linux-20-04-desktop", "stop_time":1670579418}


Compile against Swagger 2.0.0-SNAPSHOT

The master branch uses the last rc release of swagger-parser-v3 as dependency:
<dependency>
    <groupId>io.swagger.parser.v3</groupId>
    <artifactId>swagger-parser-v3</artifactId>
    <version>2.0.0.unblu-3</version>
</dependency>

Maybe an other branch (develop or swagger-snapshot) could be added to this repository in order to use 2.0.0-SNAPSHOT as dependency:
<dependency>
    <groupId>io.swagger.parser.v3</groupId>
    <artifactId>swagger-parser-v3</artifactId>
    <version>2.0.0-SNAPSHOT</version>
</dependency>

This way, when the next rc is released, the necessary work would already be prepared on this new branch.
The only breaking change I have found so far is:
https://github.com/swagger-api/swagger-core/commit/9674c950f31db17f8ed03728901b00259be477c0
If you are interested, I would submit a Pull Request in order to fix the build for this branch.

Corresponding change is here: https://github.com/unblu/openapi-diff/commit/bf94811672924653a5394ae9657d7f1ddd482160

Hi,
yes it's a good idea 👍
swagger-snapshot is a good idea !
But why are you removing allowEmptyValue change in Header ?

I think you need to create the branch. Otherwise, I can not submit a PR against it.

Done.

Pull Request: https://github.com/quen2404/openapi-diff/pull/35

But why are you removing allowEmptyValue change in Header ?

The corresponding pull request is here: https://github.com/swagger-api/swagger-core/pull/2693. Maybe you should ask there.

Cool there is also CircleCI support for the swagger-snapshot branch: https://circleci.com/gh/quen2404/openapi-diff/tree/swagger-snapshot


Node should support passing in Properties that don't support PhET-iO

Over in https://github.com/phetsims/scenery/issues/1158 and other issues like it, we have added support for passing in Properties to Node through options/mutate.
Currently this is supported by:
visibleProperty
enabledProperty
inputEnabledProperty
The support thus far has been dictated on the need to support these as PhET-iO instrumented sub-Properties of a Node. That said there are many other TinyProperties in Node that don't need PhET-iO support, but that we may want to still be able to pass in a Property for. The list to me is:
pickableProperty
opacityProperty
disabledOpacityProperty
clipAreaProperty
Do we want to support passing in Properties via options for these?
It would be some work (mostly boilerplate) to outfit TinyForwardingProperty and unit tests to support this non-phet-io case, but it is likely worth it for a consistent API. I think I would like to ask developers before spending time on this. I'm going to mark this as high priority because there is cleanup around setPickableProperty that has not been cleaned up yet from https://github.com/phetsims/scenery/issues/1158 because it is waiting on this decision. Marking for a (hopefully) short discussion on supporting passed-in Properties that aren't conditionally instrumented for PhET-iO.

From 4/1/21 dev meeting:
JO: What's the cost for supporting this for everything?
MK: It would take work to make sure this was done correctly
MK: I think it is the right decision to do this, and I would like to, but am unsure of priority

I'm going to remove this from high priority until someone wants to pass in one of these Properties. It wouldn't be a simple item to accomplish


Three database queries in CanonicalSlugDetailMixin

I have a simple ProductDetailView, where I'm seeing three queries instead of the expected one, only when using CanonicalSlugDetailMixin - at least according to django-debug-toolbar.
In the SQL tab of the debug toolbar I see the expected single call to SELECT ••• FROM "products_product" WHERE "products_product"."id" = '1' when not using the mixin, but that query is duplicated three times just as soon as the mixin is added to my detail view, in the following locations:

_braces/views/other.py in dispatch(79) obj = self.get_object()
_braces/views/other.py in get_canonical_slug(111) return self.get_object().slug
_braces/views/other.py in dispatch(101) request, *args, **kwargs)

I'm running django-braces 1.11.0, Django 1.11.3, and Debug Toolbar 1.8.

closing very old issues


selectize losing its selected status when filter_by is defined

i'm using 2 modelchoicefields in my modelform definition, the second one is filtered by the first one's id like it's given in the example(17.2.2. Filtering Select Options).
when looking at an editview for the said model, the second field loses its preselected choice. the form is prefilled properly when i remove the filter_by definition.
i am thinking it's a js problem since when i look at the source of the page, the proper option's selected tag is rendered in html.
thanks in advance!

Example 17.2.2 works. Submitted data is send to the server.
So, if you believe that's a bug, please create a reproducible setup.

okay, I've reproduced the same error with the state demo.
I've completed all the steps from 22 and edited state.py modelchoicefields to following to preselect items:
state = models.ModelChoiceField(
        label="State",
        queryset=State.objects.all(),
        widget=Selectize(
            search_lookup='name__icontains',
        ),
        initial=2
    )

county = models.ModelChoiceField(
    label="County",
    queryset=County.objects.all(),
    widget=Selectize(
        search_lookup=['name__icontains'],
        filter_by={'state': 'state__id'},
    ),
    initial=3
)

the selectbox of county on the browser gets unselected. but like i said on my previous post, the html selected tags are transferred correctly:
<option value="2" selected>Alaska</option>
<option value="3" selected>Barbour (AL)</option>

if I do a manual setValue call on the tomselect object of the element in chrome console, i can make it select the option, that's my current workaround.
i am thinking the reason for the bug is that the second field's options array is not populated when it reads the selected html tag. because the second field is dependent on the first one, so the array is filtered with an ajax call when the page loads and it cannot find the value it needs to select it.

you never pointed me on the forked branch of your repository, therefore I was not able to reproduce this bug.

https://github.com/ozgur-as/django-formset/tree/selectize-bug
you can reproduce the bug with this branch on testapp/default/state example.

Thanks for reporting and apologies for the long delay fixing it.
The current fix in main branch should fix this. Please recheck. I then will release it as version 1.1.1
Btw.: I used id=70 for "Anchorage (AK)" instead of id=3 as in your example because the latter is "Barbour" which is located in Alabama and not Alaska. Using state=2 and county=3 also works, although it's an invalid choice. This then however is enforced by the server and hence in its responsibility.

Follow up: Version 1.1.1 has been released. This should fix the problem you described.

it's still not fixed. the part where you used selectizemultiple renders preselected on the browser while the county option is still rendering not preselected. tried it with chrome, edge, forefox and webkit to see if it's a problem at the browser side, all rendered the same.

you're right, there is a typo.
In testapp/forms/state.py please change line 41
        widget=SelectizeMultiple(
            search_lookup=['name__icontains'],
 -           filter_by={'states': 'state__id'},
 +           filter_by={'state': 'state__id'},
        ),
        initial=[3, 70, 2940],
    )

yup, you're right about the typo, but the typo is in line 27. changing state to states in line 27 fixed it.


No longer getting transcripts

Hello,
I was able to get transcripts for videos about a month ago, but it seems that all attempts now return an error that the transcripts aren't available. I have tried multiple videos.  Thanks

Have you tried upgrading your youtube-transcript-api package? There were quite a few issues opened about 20 days ago when youtube changed their formatting for the captions, so if you haven't updated in the last month that could be it.
If you are on the latest version of the package, could you please provide which video IDs are not working for you now, because I tested a few random vids and the package was working for me.
Thanks

Thank you! I thought I had updated, but I'm a novice in python, so it was a simple mistake. Sorry!

Its no problem. Glad you got it working!

I'm sorry for disturbing you,  I am using the latest version 0.1.9, however,  I get an error.
The error message is as follows.
Traceback (most recent call last):
  File "E: \ 06_python_venvs \ youtube_data_lesson4 \ lib \ site-packages \ youtube_transcript_api \ _api.py", line 95, in get_transcript
    return _TranscriptParser (_TranscriptFetcher (video_id, languages, proxies) .fetch ()). parse ()
  File "E: \ 06_python_venvs \ youtube_data_lesson4 \ lib \ site-packages \ youtube_transcript_api \ _api.py", line 121, in fetch
    + len (self.TIMEDTEXT_STRING) + 1
IndexError: list index out of range
I am trying to take the caption of the video here.
https://www.youtube.com/watch?v=wIjK-6Do6lg
Anything is fine so please help me!

I'm sorry. I just made a mistake here.
Wrong) YouTubeTranscriptApi.get_transcripts(video_id)
Correct) YouTubeTranscriptApi.get_transcript(video_id)

I am new here. I am using youtube transcript api to get the subtitles; but the times of "duration" keys  do not seem correct to me. Because they overlap. Is there a way to find out the start and end date of each word spoken in the video?
Help me please. Its important to me.

@sekpona1-crypto The duration is the on-screen time of the subtitle box on YouTube. Since there usually are at least two subtitle boxes overlapping, durations will also overlap. There's no way to work around this as the information when a sentence ends is not available.


Feature request - per-directory and per-file settings

Hello!
I would like to discuss a potential new feature - per-directory and per-file settings. Would any of these be at all possible and wanted? I would certainly appreciate a feature like that - in bigger projects I quite often have additional flags for some folder trees, sometimes there's a need to have specific compiler flags for some selected source files.
The first variant - per-directory - would probably fit well with the concept of .gcc-flags.json file. Personally I imagine a feature like that would apply flags from .gcc-flags.json file to files in this folder and all subfolders. I suppose that top-level .gcc-flags.json file should provide "global" settings and .gcc-flags.json files in other folders could append some other flags (in case of gccDefaultCFlags, gccDefaultCppFlags and gccIncludePaths) or override values (in case of execPath, gccErrorLimit and gccSuppressWarnings).  However it would be nice if there would be a switch that would allow all settings to be overridden. I guess this could take a form of different name of the file with settings - for example .gcc-flags-top.json would contain "top-level" options - no file "above" this one would need to be parsed.
The second variant - per-file - seems a little more complicated to fit nicely with the files with settings, but I guess this would also be possible.

Hello! Yes I like all those ideas! How about this: I add a parameter called Priority to .gcc-flags.json. This parameter is a simple integer which allows you to select which file has priority over which. The .gcc-flags.json file with the largest Priority gets used.
linter-gcc will then look for three files and read them if they exist:

If your source file is called file.cpp, it will look for file.cpp.gcc-flags.json
It looks for a .gcc-flags.json in the current subdirectory
It looks for a .gcc-flags.json in the project root

It then compares the Priority parameters of these three files, and simply uses the one with the highest priority. This means if you just want to keep things simple, you can just have one .gcc-flags.json file in your project root, and those settings are used. If you really want more control, you can create per-directory and per-file settings and set the priority parameters accordingly.
I think implementing these features will turn linter-gcc into a very powerful package - one that offers much more control than any other C++ IDE out there. I look forward to hearing what you think!

I'm glad to hear that you found the idea interesting (;
I think that the priority variable would complicate things and bring little value. My personal opinion here is that if all 3 types of files are found, then the per-file settings should have priority over per-directory settings which would have priority over per-project settings.
The reasoning behind that is that if user creates a per-file settings then he/she definitely want's them to be used - there's no need to state explicit priority in that case. The same goes for per-directory settings.
Per-directory settings are actually the same as per-project settings if the per-directory settings would be implemented in a "hierarchical" way - when .gcc-flags.json file defines settings for the current folder and all its subfolders. So the top-level per-project settings are - in fact - per-directory settings located in the top folder of the project, affecting all subfolders of the project.
Only one thing in such per-project file has to be handled differently - when the top-folder of the project is reached, the search doesn't go any "higher". This could take a form of special name or special variable.
It would be pretty cool if the settings would be somehow hierarchical, which I guess is the most common scenario. In the top-level, per-project settings you define the global settings. Now if you provide a per-directory or pre-file settings, these values override the settings found "higher" - if top-level file set variable1 to value1 and variable2 to value2 and some per-directory file sets variable1 to valueA but doesn't have variable2 at all, then the settings for the folder would be variable1 = valueA and variable2 = value2. This idea could also include global user-settings as the "highest" level of options. The reasoning is that the need to change gccIncludePaths is much more common than the need to change - for example - execPath.
Another reason for having that hierarchical is that if you want to have special settings for a subtree with 100 directories then having 100 identical settings files (instead of just one - at the root of the subtree) in each of them makes little sense (;
However - in some cases - it would be nice to just "append" the value to some variable. For example per-project include path is ./include and in some subfolder you'd just like to add some/folders/private/include to it. This could be done in two ways:

if you could somehow access the current value of variable, then in per-folder/per-file settings you could just say "gccIncludePaths": "$gccIncludePaths,some/folders/private/include",
maybe there is some "append" operator for JSON which could be used in place of :? Or maybe a special syntax could be introduced, like "gccIncludePaths": "+some/folders/private/include", or sth like that?

Ok yes that makes sense. So if I understand you correctly, linter-gcc would follow this procedure until it finds a .gcc-flags.json file:

Look for file specific settings
Look for settings in current directory
Keep going up the tree until you reach the project root

If after all this, no .gcc-flags.json file is found, just use the settings on the configuration page.
That makes sense, but I'm not sure about the idea of leaving out variables. This would potentially make the script do a lot of work going all the way up to the project root until it finds a settings file that allows all values to be defined. linter-gcc runs on file-save, and crawling up the directory every time you save a file (which is usually pretty frequent) can make the package unresponsive. I think I should play around with this and see how well it works.
Appending to variables only really makes sense with the include directories - there is no real meaning to appending values to any of the other variables, but again this depends on how responsive the package is. Using this feature, it is possible to make the package go up the entire tree on every save (you just put "$gccIncludePaths" in every .gcc-flags.json file all the way up) so again I would have to play around.
I will try to add the two features this evening and see how well things work. If everything goes well, I will publish it as an update.

Ok yes that makes sense. So if I understand you correctly, linter-gcc would follow this procedure until it > finds a .gcc-flags.json file:

Look for file specific settings
Look for settings in current directory
Keep going up the tree until you reach the project root

If after all this, no .gcc-flags.json file is found, just use the settings on the configuration page.

Yes, this is exactly how I would imagine that (;

That makes sense, but I'm not sure about the idea of leaving out variables. This would potentially make > the script do a lot of work going all the way up to the project root until it finds a settings file that allows all values to be defined. linter-gcc runs on file-save, and crawling up the directory every time you save a file (which is usually pretty frequent) can make the package unresponsive. I think I should play around with this and see how well it works.

Well, you are right that it could potentially slow down the script... Maybe if it really does, this feature could be optional, enabled in the settings? Anyway - I hope that it will not impact performance a lot - after all the folder hierarchy of your project is rarely "high", but usually "wide" - I think most of the projects don't have nesting deeper than - say - 10 levels. I was clicking around the linux source tree and didn't encounter any place that was deeper than 5-6 levels, but I did not check all folders - just clicked "at random" for a while (; We'll see how much would performance be affected.

Appending to variables only really makes sense with the include directories - there is no real meaning to appending values to any of the other variables, but again this depends on how responsive the package is. Using this feature, it is possible to make the package go up the entire tree on every save (you just put "$gccIncludePaths" in every .gcc-flags.json file all the way up) so again I would have to play around.

Yes, this is true that appending makes any sense only for some variables, but these are not only include flags. Here's a list of flags for which I think appending makes sense:

gccDefaultCFlags (for example new warning flags or no-warning flags, macro definitions),
gccDefaultCppFlags - as above,
gccIncludePaths.

So for half of them it makes sense, for half it doesn't. I guess that appending is not the most important thing here - the hierarchical organization of the files is much more important, appending would be nice to have, but everyone can live without it. Without this feature the behavior of the package would be more deterministic, with it - more flexible. In any way - these two things (per-directory/per-file settings organized hierarchically and appending/ommiting variables) are actually two distinct features, so we can discuss the second one separately (;
BTW - is it possible to just use CFlags and CppFlags (with -I... prefix) instead of gccIncludePaths?

I will try to add the two features this evening and see how well things work. If everything goes well, I will publish it as an update.

Thanks for that! Your effort is much appreciated!

Hello! Just wanted to give you an update - I have implemented the hierarchical settings behavior as we discussed, and things seem to be working pretty well. I just need a bit more time to play around and make sure everything is  working as it should. I have a busy weekend ahead of me but you can expect an update with the new features in 2-3 days time!

Hi!
Many thanks for your work! There's no rush here - I'll be happy when you publish your changes, no matter when will that happen (; It's better to wait a few days more and rule out more potential bugs instead of publishing something broken, so I totally understand you.
Thanks again!

Hello again!
I have just pushed the update to the package that implements the changes discussed here. You can get the latest version by simply updating the package inside atom. I look forward to hearing what you think!

Great - thanks! For now I just browsed through the commits, I'll try the package soon (in a few days) and I'll let you know (;
Have you run some performance tests that showed how slow (or fast) would it be to parse the options from multiple files (in case of omitted variables or in case of appending)?
Oh - and another question - would it be possible to "lint as you type" instead of "lint as you save" or maybe it's not possible with GCC?

I've checked the features you implemented - they work as expected, but I guess you already know it (; Thanks for your work!
Please keep in mind the idea of parsing multiple files (omitted variables & appending) (;

Hello. Sorry I've just been a bit busy. I'm glad you like the new functionality. I hope the users enjoy the new features as well. Linting on-the-fly is not possible because linting a C++ file involves compiling it, and making linter-gcc lint (compile) on the fly can make it unresponsive for large files.
I will try to get the omitted variables and appending working this week. Thise  the plan for the two features:

For omitted values values, the package can just use the values set in the configuration page.
To append values, the package can either go up the directory tree till it reaches the root, or the other way around. How did you imagine this feature working?

Your proposals seem reasonable.
As for the number 2, I guess that some form of special syntax would be needed, like the mentioned earlier "gccIncludePaths": "$gccIncludePaths,some/folders/private/include",. If that syntax would be used, then $gccIncludePaths should be replaced with the value of variable from "one-level-up":

if used in file-specific file - use variable for current folder
if used in directory-specific file - use variable from the file "higher" in the hierarchy
if used in top-level folder of the project - use variable from user settings

Assume that gccIncludePaths is set in user settings to ".".

top-level .gcc-flags.json file has "gccIncludePaths": "$gccIncludePaths,./include",, then at this level the complete value of gccIncludePaths is .,./include
.gcc-flags.json file in "./X" folder has "gccIncludePaths": "$gccIncludePaths,./X/include",, then at this level the complete value of gccIncludePaths is .,./include,./X/include
sample.cpp.gcc-flags.json file in "./X" folder has "gccIncludePaths": "./X/samplePreIncludes,$gccIncludePaths,./X/samplePostIncludes",, then for ./X/sample.cpp the complete value of gccIncludePaths is ./X/samplePreIncludes.,./include,./X/include,./X/samplePostIncludes

Note the order in item number 3 - using the syntax with $gccIncludePaths (or something similar) it is possible to get whatever order you need.
Does that sound reasonable and "doable"? (;

Hello. Just wanna let you know that this issue is on my to-do list, I've just been busy dealing with the $PATH issue. Let's keep this issue open until I have the variable replacement working.


Not switching window on Mac OS X with tmux

I'm using the same vim configuration on both my personal macOS Sierra (10.12.4) laptop and on my CentOS 7 server.  I have tmux running on both and let g:autoswap_detect_tmux = 1.  On CentOS if I have the file open in one vim session and I try to open it in a new pane the cursor jumps panes correctly.  On my laptop if I try the same thing it instead falls back to opening a readonly version.  What am I missing?

Hi @ddickstein, could you please install the branch verbose-debug, run a test on macOS and paste here the content of /tmp/vim-autoswap.log?

Starting session<PHONE_NUMBER>
testing already loaded?...
...no, set variable
testing tmux support set?...
...yes, use it
Starting session<PHONE_NUMBER>
testing already loaded?...
...no, set variable
testing tmux support set?...
...yes, use it
testing is $TMUX set?...
...yes, tmux not running
detected active window = <>
Swapfile detected... opening read-only

I'm also facing the same issue, using NVIM v0.2.1-237-gf4fddbfb
Starting session<PHONE_NUMBER>
testing already loaded?...
 ...no, set variable
testing tmux support set?...
 ...yes, use it
testing is $TMUX set?...
 ...yes, tmux not running
tmux: pid = >['18521']<
tmux: tty = >[]<
tmux: window = >[]<
detected active window = <[>
Switched to existing session in another window
g:autoswap_detect_tmux = 1
testing is $TMUX set?...
 ...yes, tmux not running
AS_RunningTmux() = 1
has('macunix') = 1
has('unix') = 1
testing is $TMUX set?...
 ...yes, tmux not running

Starting session<PHONE_NUMBER>
testing already loaded?...
 ...no, set variable
testing tmux support set?...
 ...yes, use it

@gioele @ddickstein I've opened a pull request that should solve this issue. Could you guys test it and see if it works, please?

@ddickstein, @thalesmello: I think I have found a way to support tmux on both Linux and MacOS with a single code path. Could you please test 994c14073b3091fbce2120366d502098e1150e8d or the branch tmux-on-macos?
@lutostag: you contributed the initial code to support tmux on Linux. Could you see if this change broke something for you? Thanks

@gioele Not working.

@gioele The following modified function makes it work for me on MacOS.
I've removed trailing whitespaces from the tty variable, and changed the grep regex you applied on the tmux list-panes command. See if that works for you.
function! AS_DetectActiveWindow_Tmux (swapname)
	let pid = systemlist('fuser '.a:swapname.' 2>/dev/null | grep -E -o "[0-9]+"')
	if (len(pid) == 0)
		return ''
	endif
	let tty = systemlist('ps -o "tt=" '.pid[0].' 2>/dev/null')
	if (len(tty) == 0)
		return ''
	endif
	" Remove trailing whitespaces when on MacOS
	let tty[0] = substitute(tty[0], '\s\+$', '', '')
	"FIXME: `pts/1` matches `pts/11` as well

	" The output of `list-panes` on MacOS is `/dev/ttys007` and tty is
	" `s007`, so we need the systemlist to match the substring `s007`
	" inside of `/dev/ttys007`.
	let window = systemlist('tmux list-panes -aF "#{pane_tty} #{window_index} #{pane_index}" | grep -F "'.tty[0].'" 2>/dev/null')
	if (len(window) == 0)
		return ''
	endif
	return window[0]
endfunction

Thanks @ddickstein and @thalesmello for the report and the help. I merged the fix for tmux on MacOS.
Some days ago I left a message about about some tiny changes I made and how perverse the MacOS's tty naming scheme was. Shame that it somehow got lost. ;)
Everything should work fine now. Feel free to reopen this issues if this is not the case.


error a nil value

Je suis en mode Dark RP et j'essaye d'utiliser votre script afin de faire des test sur vos bots.
Hélas, au moment où je nomme le bot, ma console est spammée d'erreur :
[Custom Gmod Bot] lua/autorun/server/trizzlebot_base.lua:5665: attempt to compare number with nil

TBotFindHealTarget - lua/autorun/server/trizzlebot_base.lua:5665
func - lua/autorun/server/trizzlebot_base.lua:3885
3. unknown - lua/includes/modules/hook.lua:247

[Custom Gmod Bot] lua/autorun/server/trizzlebot_base.lua:4214: attempt to perform arithmetic on field 'FollowDist' (a nil value)

TBotIdleState - lua/autorun/server/trizzlebot_base.lua:4214
func - lua/autorun/server/trizzlebot_base.lua:3991
3. unknown - lua/includes/modules/hook.lua:247

Je précise que lorsque je créer un bot sans nom "unnamed", il fonctionne très bien sans générer d'erreur. Pouvez-vous m'aider ?

Ok, I looked into your issue, and it appears to be because the bot isn't properly initialized. You should only create bots using the TBotCreate function, TRizzleBotCreateMenu, and the TRizzleCreateBot console command. Since it appears that you only need to name the bot I will show you how to use the bot properly.

The TRizzleCreateBot console command:
TRizzleCreateBot is a very complex command but only requires one of the many parameters the bot's name.
In your console just enter the following "TRizzleCreateBot "
Here is an example: TRizzleCreateBot "Alyx Vance"

The TRizzleBotCreateMenu console command:
This is the easiest way to create a bot use fill in the information on the vgui and you should be go to go.

The TBotCreate function:
I don't recommend creating a bot this way, but if you have to. Here is some code that will I hope do what you intend to do.
TBotCreate( Entity(1), "TBotCreate", { "Alyx Vance" } )
You can change the name in the table to whatever you want.

Please let me know if you try all three solutions and still encounter the error!

It's been a while since there was any activity on this issue, so I don't have enough info to fix the issue that you are experiencing. If this was made in error, please let me know.


Dependency no more available: php-http/client-implementation

The php-http/client-implementation is no more available, so the library can't be installed.
Any solution ?
Thanks for all

@fbourigault Any ideas?

The pho-http/client-implementation is a virtual package. You have to install a client or an adapter which provide the implementation. You can read the installation section of this repository readme.

Thanks !

I suppose Guzzle can do the job ?


Billing is requested in some stores in a test state.

Issue summary
App billing is only requested in some stores in a test state. I believe this is a bug.
Please let me know the solution.
The store plans requested in the test condition were Custom and Shopify Plus.
However, the majority of stores on the same plans do not have billing requested in the test condition.

@shopify/shopify-app-remix package and version:1.3.0
Operating system: Mac
shopify.server.js

export const MONTHLY_PLAN = 'Basic';
const shopify = shopifyApp({
  billing: {
    [MONTHLY_PLAN]: {
      amount: 3.49,
      currencyCode: 'USD',
      interval: BillingInterval.Every30Days,
      trialDays: 7
    },
  },
});

routes/app.jsx
import { MONTHLY_PLAN, authenticate } from "~/shopify.server";
export async function loader({ request }) {
  const { billing } = await authenticate.admin(request);
  await billing.require({
    plans: [MONTHLY_PLAN],
    isTest: false,
    onFailure: async () => billing.request({
      plan: MONTHLY_PLAN,
      isTest: false,
    }),
  });
}

Hi, thanks for raising this. Based on the code samples, it seems to me like your app should be requesting non-test payments for every store, so I'm surprised to see the difference in behaviour.
A few questions:

is it possible that you have a different loader or action that's setting the flag to true?
have you changed this code after you started making "real" payment requests?
could the test charges be from before you switched on real payments? E.g. if you transferred a development store?

Unfortunately, it's difficult for me to tell what's going wrong here just based on the code. If you're able to get a set of steps to reliably reproduce this, we can fix it if it's a bug, but otherwise you could try contacting support to see if they can help identify the issue based on the affected stores.

Thank you for your response.

is it possible that you have a different loader or action that's setting the flag to true?
->  No, the flag is fixed to false.
have you changed this code after you started making "real" payment requests?
-> Yes I have.
could the test charges be from before you switched on real payments? E.g. if you transferred a development store?
-> I do not know how to check about it.

I will try contacting support to see if they can help identify the issue based on the affected stores.

I contacted support and they were able to identify the problem with the store in question.

We have found that the store is connected to a Shopify staff test shop. This would automatically create testing billing plans, usually intended for app troubleshooting on staff test shops, so that's why you are seeing the issue pop up there.

I contacted support and they were able to identify the problem with the store in question.

We have found that the store is connected to a Shopify staff test shop. This would automatically create testing billing plans, usually intended for app troubleshooting on staff test shops, so that's why you are seeing the issue pop up there.

Hey, I think you're spot on - staff stores might be the problem here. We're investigating the ideal way of detecting that scenario so we can forcibly accept test purchases in that case. Thanks for the info folks, this was super helpful!

@paulomarg
Sorry I missed that.
Could you please explain in a different way because I can't understand the question?

@paulomarg
Is there any progress?
My app is being asked by Shopify to fix this issue.


Backport 2.7: Accept getrandom syscall being unknown in mbedtls_platform_entropy_poll() for linux

This is the backport to Mbed TLS 2.7 of #2117, fixing #1212.

@mpg @k-stachowiak Please rereview after pushing commit 766ca32.


pdd fixed

PR-Codex overview
This PR updates the PDD GitHub Action to use the volodya-lombrozo/pdd-action repository instead of g4s8/pdd-action.
Detailed summary

Updated the PDD GitHub Action to use volodya-lombrozo/pdd-action repository instead of g4s8/pdd-action.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@h1alexbel thank you for your Pull Request. I'll assign someone to review it soon.
If this PR solves a todo from the code, please don't forget to remove it.

@h1alexbel please review this Pull Request. Deadline (when it should be merged or closed) is 2024-01-06T06:19:17.000490.
You should check if the requirements have been implemented (partially or in full), if there are unit tests covering the changes and if the CI build passes. Feel free to reject the PR or ask for changes if it's too big or not clear enough.
Estimation here is 30 minutes, that's how much you will be paid. You will be paid even if this PR gets rejected.

@rultor merge

@rultor merge

@h1alexbel OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@h1alexbel Done! FYI, the full log is here (took me 2min)

@h1alexbel thank you for resolving this ticket. I've just added it to your active invoice. You can always check all your invoices and more on the Contributor Dashboard.


Updated validations.py python script.

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #1

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

Re-submitting PR after CLA permissions.


Fix addVCProofs WalletConnect call

Purpose:
Bugfix of addVCProofs WalletConnect call. Currently it doesn't work because an error is thrown.
Current Behavior:

When calling addVCProofs using the HTTP RPC it parses the proofs into a Python dictionary which gets passed into a VCProofs class.
When calling addVCProofs using WalletConnect it parses the proofs into a string which throws an error when passed into a VCProofs class.

New Behavior:

When calling addVCProofs using the HTTP RPC it parses the proofs into a Python dictionary which gets passed into a VCProofs class.
When calling addVCProofs using WalletConnect it parses the proofs into a Python dictionary which gets passed into a VCProofs class.

Merged https://github.com/Chia-Network/chia-blockchain-gui/pull/2166


TypeError: this.endNode is null in Firefox when using element with template part

Description
This is a pretty strange bug. It happens in Firefox. When the render function of an element looks like this:
render() {
  const cool = html`cool!`;
  return html`
    <div>${cool}</div>
  `;
}

And you use this element two times, then you get a TypeError: this.endNode is null in your Firefox console. If you don't use the const but just put the string cool! at the place of ${cool} it doesn't happen.
Live Demo
https://understood-humor.glitch.me/
Source code: https://glitch.com/edit/#!/understood-humor
Steps to Reproduce

Create an element with a render function as mentioned above
Use this element two times on a page
Test in Firefox

Expected Results
You should get two times the text "cool!" underneath each other.
Actual Results
In Firefox the text "cool!" only appears one time. The first element is rendered, after that you get an error in the console TypeError: this.endNode is null.
Browsers Affected

[ ] Chrome
[x] Firefox

Versions

lit-element: v0.6.0
webcomponents: v2.1.2

The issue is actually with the latest release of lit-html. Tracked as https://github.com/Polymer/lit-html/issues/505.

Nice! Thanks :smiley: :+1:


Move GitHub script to separate .js file

As part of #1538, this PR moves the GitHub script code to an external .js file for a better experience when editing

/test-force-approve
The updated workflows are not exercised in pr bot tests or by deploy_tre_branch


fix(parcel-core): only allow client-side env to be included

Details
Code of Conduct

[x] I agree to follow this project's Code of Conduct
[x] I checked the current PR for duplication.

There was a discussion on whether this should be a patch on top of parcel/core instead of a fork.
My rationale for forking it is that it will encourage us to learn the internal in and out of parcel/core, since it powers the bulk of our compiler. The translation between flow -> TS will also allow us to have better grasp at the typing, instead of relying on Parcel usptream flow implementation.


update linux image to 4.19.0-14

Docker images fail to build in pipeline because linux image packages was updated in debian repo.
I updated to 4.19.0-14

fixed linux and freebsd but could someone have a look into the solaris image build?

Anything new here?

Might be best to disable the Solaris images and let someone who needs them fix them.

commented out solaris images

bors r+

build fails because of probably temporary 502 in crates.io :( Some way to start it again?

bors retry


GM:S 1.4 support

Hello, I really liked your program!
But too sad that it can't support GMX project files.... (only .gml files from "scripts" directory)
Is it possible to make GMX support?

Can you tell me more about .gmx files? I apologize!

GMX is the format for GMS1.4 - its an XML format as opposed to the GMS2's .yy JSON files.

Do the .gmx files contain some code? Otherwise I'm not exactly following. We essentially do a glob for .gml files, so even loose files can be formatted. We in no way track project structure

I think GMX files could contain GML code inside of some nodes, yeah. But to make it work perfect you'd need some XML parser and grab out the contents, apply GML_FMT on that and put the XML back together. Maybe a proper regex would work good too?

Neither would be hard, but to be honest, not supporting GMS1.4 is also something good. It's deprecated software, and giving it more legs isn't a good idea, imo

I completely agree :+1:


Enhance Calculator Functionality: Implement "=" on "Enter" Key Press

Issue Summary:
I would like to propose an enhancement to the existing calculator functionality on the project. Currently, the calculator performs calculations when the "=" button is clicked. However, it would be user-friendly to also allow the calculation to be executed when the "Enter" or "Return" key on the keyboard is pressed.
Expected Behavior:
When a user enters an equation and presses the "Enter" or "Return" key on their keyboard, the calculator should perform the calculation, mimicking the functionality of clicking the "=" button.
Steps to Reproduce:

Open the calculator on the project.
Enter a mathematical expression (e.g., 2 + 2) into the input field.
Press the "Enter" or "Return" key on the keyboard.

Current Behavior:
At present, pressing the "Enter" or "Return" key does not trigger the calculation. Users are required to click the "=" button manually.
Suggested Implementation:
To implement this feature, you can use JavaScript to listen for the "Enter" or "Return" key press event when the calculator input field is in focus. When the key is pressed, execute the calculation process as if the "=" button was clicked.

Ok Great @K-RD if you want to add this functionality I will assign the issue to you. Let me know

Please assign me this issue and  add the necessary tags.

As per the advancement in the project, I don't think there is any need to implement this functionality. Please do let me know your opinions, then will close this issue after discussion.


chore(GroupTheory/Coset): split off Defs file

The goal of this PR is to have a file with the definitions for the quotient of a group, in terms of cosets. We include enough theory to put a group structure on the quotient by a normal group.

[ ] depends on: #18345

bors d+

bors merge


Hey, buddy, there's a way h5 can generate a 16MB buffer to send react-native React -native Console.log doesn't work and backfires

Hey, buddy, there's a way h5 can generate a 16MB buffer to send react-native React -native Console.log doesn't work and backfires

@ShunKeJiang -- outside China, H5 doesn't mean anything. Perhaps explain what you're talking about.

@ortonomy

@ShunKeJiang -- outside China, H5 doesn't mean anything. Perhaps explain what you're talking about.

outside China and the html specification


Topbar Center Logo: Should the logo link to the index?

Should the logo be wrapped with a link to the site index here:
https://github.com/zurb/building-blocks/blob/master/src/building-blocks/topbar-center-logo/topbar-center-logo.html#L4
Isn´t that "best practice"? What do you think?
cc @IamManchanda

 would be better!

@IamManchanda would be a nice "first PR", do yu have such a label for contributors which contribute for the first time?


[Bug]: Visual regression tests being skipped

Describe the bug
The Visual regression tests are being skipped after hanging for 20 mins on the install docker step
Expected behaviour / outcome
Tests to run and pass
List the steps necessary to reproduce the bug
Look at the logs for any of the visual regression test runs
Additional context
No response
What version of the ONS Design System are you using?
70.0.15
What device(s) are you using?
Desktop
What operating system(s) are you using?
macOS
What browser(s) are you using?
Chrome

We are now getting this warning on our VR test GitHub action so we may need a solution to this that moves us off macOS 12 and because of that we may need to look to use something other than BackstopJS


Implement schema conversion to returned docs and general improvements

Closes #67
This adds the ability for a user to explicitly state in the schema if a field is multi-value or not.
If the field isn't multi-value the returned field will be unwrapped from it's array wrapper.

Now that this PR is pretty much done I'll do a brief summary of the changes as there are quite a few:

Returned documents are now aligned with the given index schema if a field is missing one is added post search to its given default. I.e single value fields return null, multi-value fields return [] this creates the guarantee that returned documents will always follow the defined schema.
You can now mark a field as required which will cause the system to reject documents if they're missing a required field. This behaviour defaults to false and all fields are optional (as long as one valid field is present) to allow the engine to be more forgiving by default.
Unknown document fields are skipped rather than rejected directly.
Uploading multiple values to a single-value field will result in the last value in the given value list to be used. i.e [1, 2, 3] will result in just 3 being used.
The system now correctly errors when trying to sort by multi-field values instead of panicking. See #70 for multi-value sorting itself.
Term queries can now provide separate boost factors to each target field.
Fields now only need to be defined as fast: bool rather than their specific variants. This is because the cardinality is automatically selected depending on whether the field is multi or not.
Search fields automatically default to all indexed fields (Text, String, And indexed fast-fields) if you don't have any text/string fields however, fuzzy searching will be disabled.

New Shema:
{
  "override_if_exists": true,
  "index": {
    "name": "bench",
    "writer_buffer": 60000000,
    "writer_threads": 8,
    "reader_threads": 1,
    "max_concurrency": 12,
    "storage_type": "filesystem",
    "fields": {
      "release_date": {
        "type": "date",
        "stored": true,
        "indexed": false,
        "multi": true,
        "fast": true
      },
      "title": {
        "type": "text",
        "stored": true
      }
    },
    "boost_fields": {
      "title": 2.0
    },
    "use_fast_fuzzy": true,
    "strip_stop_words": true
  }
}

Results in this set of documents:

Being converted as results into:
{
  "status": 200,
  "data": {
    "hits": [
      {
        "doc": {
          "release_date": [],
          "title": "hello world 4!"
        },
        "document_id": "10994863538528176088",
        "score": 0.3646432
      },
      {
        "doc": {
          "release_date": [
            "2022-01-23T14:23:56+00:00"
          ],
          "title": "hello world 4!"
        },
        "document_id": "11592911168202451198",
        "score": 0.3646432
      }
    ],
    "count": 2,
    "time_taken": 0.0002273
  }
}


Clarify what kind of C++ framework we are developing

Current wording has confused some people.

#125 is supersedes this.


Add example submit files for running EVE on HTCondor

Will pick one representative protein instead of adding all of them

Complete https://github.com/gitter-lab/metl-pub/tree/main/data/eve/htcondor


add TextField95 autofocus

forgot to start on a fresh branch, but it should squash OK
I'm just collecting items I run into in my little side project, and this is the next one

thank you!


Deployment fails if there is more than one image with the same name

/kind bug
What steps did you take and what happened:
Deployment fails if there is more than one image with the same name
What did you expect to happen:
The cluster object showed as provisioned when it wasn't provisioned. It should show as failed
Anything else you would like to add:
Provide an option to pass image UUID if there is an image name overlapping
Environment:

Cluster-api-provider-nutanix version: v1.1.1

Hi @pipoe2h
check in the doc here https://opendocs.nutanix.com/capx/v1.1.x/types/nutanix_machine_template/#configuration-parameters
you can already specify an image with his uuid
image:
  type: uuid
  uuid: XXXXXXXXX

https://github.com/nutanix-cloud-native/opendocs/pull/41

merged


A flame emitter can get Lara on fire when she's in the water

If Lara is on the water and a flame emitter touches her, she gets on fire. The fire will continue burning Lara until she goes underwater. OG behaviour was to damage Lara but she couldn't get on fire whilst in the water.

Fixed


sql-asmt dep on azdata 1.26

Pull Request Test Coverage Report for Build 435702369

0 of 0   changed or added relevant lines in 0 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 43.11%

Files with Coverage Reduction
New Missed Lines
%

extensions/notebook/src/jupyter/serverInstance.ts
4
73.81%

Totals

Change from base Build 434463233:
-0.01%

Covered Lines:
24155

Relevant Lines:
51340

💛  - Coveralls

could you please provide more context here? why does it only work with ADS 1.26 + now

@alanrenmsft Previous version used ariaLabel property for iconCss column. For some reason this property has been renamed to "title" property.
https://github.com/microsoft/azuredatastudio/blob/30054e632c75f8df0ea351f2c51b8ec7d5fa5be5/extensions/sql-assessment/src/assessmentResultGrid.ts#L49
Thus, the extension now uses title property that available in core starting 1.26.
This is not my change.

@alanrenmsft Previous version used ariaLabel property for iconCss column. For some reason this property has been renamed to "title" property.
https://github.com/microsoft/azuredatastudio/blob/30054e632c75f8df0ea351f2c51b8ec7d5fa5be5/extensions/sql-assessment/src/assessmentResultGrid.ts#L49
Thus, the extension now uses title property that available in core starting 1.26.
This is not my change.

@vchvlad that's my change. lol

@vchvlad that's my change. lol


BUG: Fix failing test

This should fix the failing test for Slicer 4.10.
Without this import certain use cases will fail in python 2.7:
>>> print('.', end='')
  File "<console>", line 1
    print('.', end='')
                  ^
SyntaxError: invalid syntax

>>> from __future__ import print_function
>>> print('.', end='')
.

You will see that the import was included in all necessary files in the Slicer repo with this commit https://github.com/Slicer/Slicer/commit/08c6cd78fd25166773a35269ecd2f2c4fc2ea850

@jamesobutler, thanks for the fix!


Functions deployed successfully but still not working

First of all the steps you have mentioned for this project is limited. I searched and then managed to deploy but after deploying functions I got error as below:
"searchentry: undefined
indexentry: undefined"
The log of functions in Firebase:
AlgoliaSearchNetworkError: getaddrinfo ENOTFOUND rb72z01uwb-2.algolianet.com rb72z01uwb-2.algolianet.com:443
at ClientRequest.error (/user_code/node_modules/algoliasearch/src/server/builds/node.js:227:14)
at ClientRequest.g (events.js:291:16)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketErrorListener (_http_client.js:310:9)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
at connectErrorNT (net.js:1020:8)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickDomainCallback (internal/process/next_tick.js:122:9)
Another Error is:
Function killed. Error: quota exceeded
I am currently using Blaze Plan.

Looks like it might be that your Algolia instance is not being found (meaning incorrect config). Are you sure you entered the environment info correctly?

firebase functions:config:set algolia.app_id="myAlgoliaAppId" algolia.api_key="myAlgoliaApiKey"
I am using this command
Here I enter my application id from the algolia in place of app_id and Admin Api key in place of api_key
i have tried without quotes and with quotes but errors are same
I have tried different code that ran easily. My config for that code was the same as this.
I enter the following command before configuring environment
-> cd functions
-> firebase functions:config:set algolia.app_id="myAlgoliaAppId" algolia.api_key="myAlgoliaApiKey"
-> cd ..
-> firebase deploy --only functions
-> successfully deployed

I have searched these steps on Google but I guess there may be some mistake in my steps!

All issues have to follow the issue template provided. I understand this is asking a lot and is generally annoying when you feel your question is straightforward, but just trust that it's critical to keep things streamlined and manageable for our team.


Support searching for titles which contain quotes

Single quotes weren't matching anything; just replace with whitespace

Why whitespace?

Whitespace will match the results which have a quote in them, whereas stripping the quote matches results which don't have a quote:
https://thepiratebay.org/search/Miss Peregrines Home for Peculiar Children/0/99/0
https://thepiratebay.org/search/Miss Peregrine s Home for Peculiar Children/0/99/0

I checked and can confirm, i.e. the movie O'horten:
No results for exact name: https://thepiratebay.org/search/o'horten/0/99/0
No results if you drop the *: https://thepiratebay.org/search/ohorten/0/99/0 But there are results if you replace it with a space (or some other kind of characters like * or with a dot . or a hypen -): https://thepiratebay.org/search/o horten/0/99/0


Double Dice in Better tables

Dice so nice is show in double in Battles Tables (roll+)
Not roll 2 times but show double of dices (repeat)

will have to check it out, have no idea if the issue is on my end

will have to check it out, have no idea if the issue is on my end


multiwallets buy more

Issue:
You buy 5 wallets. And than decide to sell 2 of them. After some time, you buy more. The sniper buys on all 5 again, it does not take into account that 2 sold already.

also, to be verified how the sniper picks up the order from Existing orders, if there only are less wallets left than bought

I tested here: 6457e63e2937fbe8b15ac9f5
and it showed wrong for the 1st wallet. Less amount than it had


Multi select

Multi-select for listbox and combobox, attempts to follow the HeadlessUI versions:
https://headlessui-react-git-multi-value-support-tailwindlabs.vercel.app/listbox/multi-select
https://headlessui-react-git-multi-value-support-tailwindlabs.vercel.app/combobox/multi-select
Scroll down on doc pages to see multi-select examples, or view here:
https://captaincodeman.github.io/svelte-headlessui/example/listbox/multi
https://captaincodeman.github.io/svelte-headlessui/example/combobox/multi
Closes #14
Closes #49
Closes #56

Nice work 👍🏼

Nice work 👍🏼

Thanks!


Add DataType.allPrimitiveTypes(ProtocolVersion).

With the addition of tinyint, smallint, date and time we now have a case where some primitive types are not supported in all native protocol versions.  Therefore it seems useful to be able to request primitive types by version.
This method is currently only exposed as package private for internal use.  Updated tests to use this method in favor of DataType.allPrimitiveTypes() where applicable.
We will also need to make updates when we merge with #355

I may have missed some cases, running regression against all versions now, will post update when finished.

All the integration tests seem to be working against versions 1.2.19, 2.0.15, 2.1.5, 2.2.0-beta1.  I think this is ready for review!

lgtm :+1:


Increment version for cosmosdbforpostgresql releases

Increment package version after release of Azure.ResourceManager.CosmosDBForPostgreSql

API change check
API changes are not detected in this pull request.


Remove suggestion to create custom logger

Quoting @Eilon on a similar issues. Customers who need to do this will figure it out. Suggesting it to everyone is a bad idea.

@HaoK  one sentence delete in this review.
We don't tell them how to create a custom logging provider, so let's not suggest it's an option for most folks.


Regenerate datacatalog client

This PR was generated using Autosynth. :rainbow:
Here's the log from Synthtool:
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/google-cloud-clients/google-cloud-datacatalog/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:6068f67900a3f0bdece596b97bda8fc70406ca0e137a941f4c81d3217c994a80
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/cloud/datacatalog/artman_datacatalog_v1beta1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java.
synthtool > Running java formatter on 10 files
synthtool > Running java formatter on 1 files
synthtool > Running java formatter on 96 files
synthtool > Cleaned up 1 temporary directories.
synthtool > Wrote metadata to synth.metadata.

Blocked on #6379 6379

Closing based on @chingor13's advice to allow regen based on latest changes surfaced by @shollyman.


Create an optimized image for Kafdrop

Optimized images (reduced size) will require new base and openjdk images as well.  The openjdk image may be able to use the headless option mentioned in #25.

#25 was indeed used in the openjdk image via openjdk11-jre-headless.

#25 was indeed used in the openjdk image via openjdk11-jre-headless.


[BUG] can't sync dependency

Describe the bug
can't sync dependency
To Reproduce

clone this repository
cd the root of this repository
run go mod tidy
the console output

~/go/src/github.com/LdDl/video-server(master) » go  mod tidy
verifying<EMAIL_ADDRESS>checksum mismatch
	downloaded: h1:pPU9EkyU6k8xIET23Q+VZgyozCwLkiRUB0feoKynKYM=
	go.sum:     h1:pRCLahoaYW8OCyavzCdB/3c/DONVg1PEvknlsYrRwl8=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.

Expected behavior
after run go mod tidy, it should produce
~/go/src/github.com/LdDl/video-server(master*) » go mod tidy
go: finding module for package github.com/morozka/vdk/av
go: finding module for package github.com/morozka/vdk/format/rtsp
go: finding module for package github.com/morozka/vdk/format/ts
go: finding module for package github.com/morozka/vdk/format/mp4f
go: found github.com/morozka/vdk/av in github.com/morozka/vdk v0.0.0
go: found github.com/morozka/vdk/format/mp4f in github.com/morozka/vdk v0.0.0
go: found github.com/morozka/vdk/format/rtsp in github.com/morozka/vdk v0.0.0
go: found github.com/morozka/vdk/format/ts in github.com/morozka/vdk v0.0.0

Describe the solution you'd like and provide pseudocode examples if you can
I remove go.mod and go.sum and run go mod init go mod tidy, it works, maybe I should send a pull request later.
I think this may caused by vdk updated the source code
Additional context
my environment:

OS: Arch Linux, rolling release
go version:

~/go/src/github.com/LdDl/video-server(master) » go version
go version go1.15.6 linux/amd64

I'll take a look

I'll take a look

https://github.com/LdDl/video-server/pull/14
Well, I tried to fork vdk and set its version to 0.0.1 (for minimal go.mod and also fix index out of range in some cases).
rm'ed mod-files and reinitialize with
go mod init
go mod tidy

Output:
o: finding module for package github.com/LdDl/vdk/format/ts
go: finding module for package github.com/LdDl/vdk/format/mp4f
go: finding module for package github.com/gin-contrib/pprof
go: finding module for package github.com/grafov/m3u8
go: finding module for package github.com/LdDl/vdk/av
go: finding module for package github.com/google/uuid
go: finding module for package github.com/gin-gonic/gin
go: finding module for package github.com/pkg/errors
go: finding module for package github.com/gorilla/websocket
go: finding module for package github.com/gin-contrib/cors
go: downloading github.com/google/uuid v1.1.4
go: finding module for package github.com/LdDl/vdk/format/rtsp
go: downloading github.com/LdDl/vdk v0.0.1
go: found github.com/LdDl/vdk/av in github.com/LdDl/vdk v0.0.1
go: found github.com/gin-contrib/cors in github.com/gin-contrib/cors v1.3.1
go: found github.com/gin-contrib/pprof in github.com/gin-contrib/pprof v1.3.0
go: found github.com/gin-gonic/gin in github.com/gin-gonic/gin v1.6.3
go: found github.com/google/uuid in github.com/google/uuid v1.1.4
go: found github.com/gorilla/websocket in github.com/gorilla/websocket v1.4.2
go: found github.com/grafov/m3u8 in github.com/grafov/m3u8 v0.11.1
go: found github.com/pkg/errors in github.com/pkg/errors v0.9.1

Does this project works for you now?

https://github.com/LdDl/video-server/pull/14
Well, I tried to fork vdk and set its version to 0.0.1 (for minimal go.mod and also fix index out of range in some cases).
rm'ed mod-files and reinitialize with
go mod init
go mod tidy

Output:
o: finding module for package github.com/LdDl/vdk/format/ts
go: finding module for package github.com/LdDl/vdk/format/mp4f
go: finding module for package github.com/gin-contrib/pprof
go: finding module for package github.com/grafov/m3u8
go: finding module for package github.com/LdDl/vdk/av
go: finding module for package github.com/google/uuid
go: finding module for package github.com/gin-gonic/gin
go: finding module for package github.com/pkg/errors
go: finding module for package github.com/gorilla/websocket
go: finding module for package github.com/gin-contrib/cors
go: downloading github.com/google/uuid v1.1.4
go: finding module for package github.com/LdDl/vdk/format/rtsp
go: downloading github.com/LdDl/vdk v0.0.1
go: found github.com/LdDl/vdk/av in github.com/LdDl/vdk v0.0.1
go: found github.com/gin-contrib/cors in github.com/gin-contrib/cors v1.3.1
go: found github.com/gin-contrib/pprof in github.com/gin-contrib/pprof v1.3.0
go: found github.com/gin-gonic/gin in github.com/gin-gonic/gin v1.6.3
go: found github.com/google/uuid in github.com/google/uuid v1.1.4
go: found github.com/gorilla/websocket in github.com/gorilla/websocket v1.4.2
go: found github.com/grafov/m3u8 in github.com/grafov/m3u8 v0.11.1
go: found github.com/pkg/errors in github.com/pkg/errors v0.9.1

Does this project works for you now?

it works

it works


Benchmark binaryGCD and coprime against Prelude alternatives

I took a stab at #80.
So far, I have only benchmarked cases 1 and 2. These are the preliminary results on my box:

I'd appreciate any feedback, aspecially regarding the benchmark cases.

@jgertm which version of GHC are you using?
I run your benchmark on my box with GHC 8.4.1 x64:
GCD/large coprimes/Prelude.gcd           mean 67.30 ns  ( +- 1.517 ns  )
GCD/large coprimes/binaryGCD             mean 120.1 ns  ( +- 2.085 ns  )
GCD/large coprimes/Prelude.coprime       mean 68.65 ns  ( +- 4.798 ns  )
GCD/large coprimes/coprime               mean 123.7 ns  ( +- 7.513 ns  )

GCD/powers of 2/Prelude.gcd              mean 48.41 ns  ( +- 1.175 ns  )
GCD/powers of 2/binaryGCD                mean 30.72 ns  ( +- 781.1 ps  )
GCD/powers of 2/Prelude.coprime          mean 47.16 ns  ( +- 1.209 ns  )
GCD/powers of 2/coprime                  mean 23.58 ns  ( +- 437.1 ps  )

GCD/power of 23/Prelude.gcd              mean 39.66 ns  ( +- 4.347 ns  )
GCD/power of 23/binaryGCD                mean 65.26 ns  ( +- 10.23 ns  )
GCD/power of 23/Prelude.coprime          mean 37.00 ns  ( +- 2.705 ns  )
GCD/power of 23/coprime                  mean 66.35 ns  ( +- 13.97 ns  )

It is interesting that on my box binaryGCD is 30% faster on powers of two, but on your box it is actually slower.

binaryGCD heavily relies on Math.NumberTheory.Utils.trailZeros#. Newer GHCs (>= 7.10) has a built-in ctz# function, which can be used instead. Putting
trailZeros# :: Word# -> Int#
trailZeros# w = word2Int# (ctz# w)

into Math.NumberTheory.Utils results in following benchmarks:
GCD/large coprimes/Prelude.gcd           mean 67.86 ns  ( +- 964.1 ps  )
GCD/large coprimes/binaryGCD             mean 57.80 ns  ( +- 2.449 ns  )
GCD/large coprimes/Prelude.coprime       mean 67.86 ns  ( +- 2.095 ns  )
GCD/large coprimes/coprime               mean 58.43 ns  ( +- 10.66 ns  )

GCD/powers of 2/Prelude.gcd              mean 49.17 ns  ( +- 4.313 ns  )
GCD/powers of 2/binaryGCD                mean 26.42 ns  ( +- 2.844 ns  )
GCD/powers of 2/Prelude.coprime          mean 47.54 ns  ( +- 1.062 ns  )
GCD/powers of 2/coprime                  mean 23.61 ns  ( +- 260.5 ps  )

GCD/power of 23/Prelude.gcd              mean 38.32 ns  ( +- 1.663 ns  )
GCD/power of 23/binaryGCD                mean 40.04 ns  ( +- 1.119 ns  )
GCD/power of 23/Prelude.coprime          mean 36.91 ns  ( +- 1.700 ns  )
GCD/power of 23/coprime                  mean 37.02 ns  ( +- 816.6 ps  )

Here binaryGCD is either as fast as Prelude.gcd, or up to 2x faster.
@jgertm could you please try to reproduce this on your box?

I'll merge it for now, thanks for contribution!


v-for cannot create draggable component

Details:
Im trying to use v-for to dynamically create draggable components. It worked fine with Vue 2. Now on vue 3 I always get one of these two errors:
Errors:
TypeError: normalizedList.flatMap is not a function
    at computeNodes (webpack-internal:///./node_modules/vuedraggable/dist/vuedraggable.umd.js:4607:37)
    at computeComponentStructure (webpack-internal:///./node_modules/vuedraggable/dist/vuedraggable.umd.js:4646:15)
    at Proxy.render (webpack-internal:///./node_modules/vuedraggable/dist/vuedraggable.umd.js:4767:32)
    at renderComponentRoot (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:828:44)
    at componentEffect (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:4294:53)
    at reactiveEffect (webpack-internal:///./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js:71:24)
    at effect (webpack-internal:///./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js:46:9)
    at setupRenderEffect (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:4277:89)
    at mountComponent (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:4235:9)
    at processComponent (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:4195:17)

Error: Item slot must have only one child
    at computeNodes (webpack-internal:///./node_modules/vuedraggable/dist/vuedraggable.umd.js:4621:11)
    at computeComponentStructure (webpack-internal:///./node_modules/vuedraggable/dist/vuedraggable.umd.js:4646:15)
    at Proxy.render (webpack-internal:///./node_modules/vuedraggable/dist/vuedraggable.umd.js:4767:32)
    at renderComponentRoot (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:828:44)
    at componentEffect (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:4294:53)
    at reactiveEffect (webpack-internal:///./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js:71:24)
    at effect (webpack-internal:///./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js:46:9)
    at setupRenderEffect (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:4277:89)
    at mountComponent (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:4235:9)
    at processComponent (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:4195:17)

I looked at the library code and it was counting a comment as another slot node. Removing the comment fixed the issue.

I looked at the library code and it was counting a comment as another slot node. Removing the comment fixed the issue.

Could share the template that has the problem and the corrected template? thanks.

Could share the template that has the problem and the corrected template? thanks.

Working:
<template lang='pug'>
my-other-component(v-for='(SectionValue, SectionName, SectionIndex) in Form.sections')
  template(v-slot:my-other-component-slot)
    div(v-if='!SectionValue.data') No Data
    draggable(v-else v-model='Form.sections[SectionName].data' :group='{ name: SectionName }' item-key='id' @start='dragging=true' @end='dragging=false')
      template(v-slot:item='{ element, index }')
        div {{ element.text }}
</template>

Error: "Item slot must have only one child". It is the exact same code as above but with a pug inline comment.
<template lang='pug'>
my-other-component(v-for='(SectionValue, SectionName, SectionIndex) in Form.sections')
  template(v-slot:my-other-component-slot)
    div(v-if='!SectionValue.data') No Data
    draggable(v-else v-model='Form.sections[SectionName].data' :group='{ name: SectionName }' item-key='id' @start='dragging=true' @end='dragging=false')
      template(v-slot:item='{ element, index }')
        div {{ element.text }}
        // This is a pug inline comment
</template>

Error: "normalizedList.flatMap is not a function"
I do not remember how I got this error.

Working:
<template lang='pug'>
my-other-component(v-for='(SectionValue, SectionName, SectionIndex) in Form.sections')
  template(v-slot:my-other-component-slot)
    div(v-if='!SectionValue.data') No Data
    draggable(v-else v-model='Form.sections[SectionName].data' :group='{ name: SectionName }' item-key='id' @start='dragging=true' @end='dragging=false')
      template(v-slot:item='{ element, index }')
        div {{ element.text }}
</template>

Error: "Item slot must have only one child". It is the exact same code as above but with a pug inline comment.
<template lang='pug'>
my-other-component(v-for='(SectionValue, SectionName, SectionIndex) in Form.sections')
  template(v-slot:my-other-component-slot)
    div(v-if='!SectionValue.data') No Data
    draggable(v-else v-model='Form.sections[SectionName].data' :group='{ name: SectionName }' item-key='id' @start='dragging=true' @end='dragging=false')
      template(v-slot:item='{ element, index }')
        div {{ element.text }}
        // This is a pug inline comment
</template>

Error: "normalizedList.flatMap is not a function"
I do not remember how I got this error.

I just hit the same error. It is indeed a problem with template or even if v-for is called on child component. I think this should be solved.

Getting the same problem ( Without any v-for loops (

Getting the same problem ( Without any v-for loops (

This error happens (in my case) when template have commented elements.
don't work:
<template #item="{ element }">

            {{ element }}

</template>

work:
<template #item="{ element }">

            {{ element }}

</template>

Getting the same problem ( Without any v-for loops (

This error happens (in my case) when template have commented elements.
don't work:
<template #item="{ element }">

            {{ element }}

</template>

work:
<template #item="{ element }">

            {{ element }}

</template>

是这样的

Getting the same problem ( Without any v-for loops (

This error happens (in my case) when template have commented elements.
don't work:
<template #item="{ element }">

            {{ element }}

</template>

work:
<template #item="{ element }">

            {{ element }}

</template>

That is such a silly error and solution but you just saved me from two days of pulling my hair out. Thank you!

When JSON received it would converted to Object instead of Array if indexes is not in sequence as on screenshot.

It worked at first and then I moved my array to my store and I started to get this error  TypeError: normalizedList.flatMap is not a function

It worked at first and then I moved my array to my store and I started to get this error TypeError: normalizedList.flatMap is not a function

Try to check the type of data that is returns from your store, maybe it is Proxy or other, but not an Array.

Getting the same problem ( Without any v-for loops (

This error happens (in my case) when template have commented elements.
don't work:
<template #item="{ element }">

            {{ element }}

</template>

work:
<template #item="{ element }">

            {{ element }}

</template>

I just solved the same problem with your method, Thank you!


Refs #11019: Moved the topological sort implementation into django/utils and add tests

In preparation of the work going on in https://github.com/django/django/pull/11019.

There's one unrelated error because of a missing memcache module:
  File "/home/jenkins/workspace/pr-mariadb/database/mysql_gis/label/mariadb/python/python3.7/django/core/cache/backends/memcached.py", line 148, in __init__
    import memcache
ModuleNotFoundError: No module named 'memcache'
Build step 'Execute shell' marked build as failure
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Finished: FAILURE

Probably a random occurrence.

I confirm it is.


How to set Cognito session from browser's localStorage

This may help: http://nmajor.com/posts/access-and-refresh-token-handling-with-redux


Startup Error

my log id: 5c44610a29e643616fe8781c
The error occurred directly at startup, after the iMac (macOS Version 10.12.6) was booted, after clicking on "Login" in the top macOS status bar.
▶ INFO ignoring error getting keybase status: There were multiple errors: dial unix /Users/JPK/Library/Group Containers/keybase/Library/Caches/Keybase/keybased.sock: connect: no such file or directory; dial unix /Users/JPK/Library/Caches/Keybase/keybased.sock: connect: no such file or directory ▶ INFO ignoring UI logs: There were multiple errors: dial unix /Users/JPK/Library/Group Containers/keybase/Library/Caches/Keybase/keybased.sock: connect: no such file or directory; dial unix /Users/JPK/Library/Caches/Keybase/keybased.sock: connect: no such file or directory

Does restarting your mac work?

That was not necessary. After the client crashed, restarting it was enough. Also I didn't have to log in again.

I'm getting the same issue, but it's not resolved after restart. My log ID: 5f67de9913237ca46ab97b1c

@retrobabel, can you run:
ls -lsa ~/Library/LaunchAgents/

Thanks!

Also:
launchctl list

would be useful too.
thanks!


Introduce ipblock as a separate package

This PR depends on and builds upon #188.

Handled in PR #410


[SOLR-16490] Create a v2 equivalent for /admin/cores BACKUPCORE+RESTORECORE

https://issues.apache.org/jira/browse/SOLR-16490

Description
The /admin/cores?action=BACKUPCORE API have no equivalent in the v2 paradigm. It's an internal API used by Collection Handler to create of backup of collection.
Solution
Current v1 API: GET /solr/admin/cores?action=BACKUPCORE&core=coreName
Proposed v2 API: POST /api/cores/backups/backupName {...}
More info on V2 api mapping is in Google Sheet available here, which includes additional information about each API, such as the hosting RequestHandler.
Tests
Added few test cases. This PR is in draft mode. Later on, more test cases will be added to this commit.
Checklist
Please review the following and check all that apply:

[x] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[x] I have created a Jira issue and added the issue ID to my pull request title.
[ ] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[x] I have developed this patch against the main branch.
[ ] I have run ./gradlew check.
[x] I have added tests for my changes.
[ ] I have added documentation for the Reference Guide

Hi @iamsanjay , sorry for the delay in getting to this.  I've been mostly attending to a blocker for the JAX-RS and v2 API work, SOLR-16531.  But with that recently cleared away I'm turning back to these API conversions.  Hopefully the delay hasn't put you off of collaborating here!
Going to test your change out locally today and hopefully we can understand why the response format doesn't look quite right.

Hi @iamsanjay , sorry for the delay in getting to this. I've been mostly attending to a blocker for the JAX-RS and v2 API work, SOLR-16531. But with that recently cleared away I'm turning back to these API conversions. Hopefully the delay hasn't put you off of collaborating here!
Going to test your change out locally today and hopefully we can understand why the response format doesn't look quite right.

I am glad that things back on track. I will go through your comments and then work on the changes you have suggested. Thank you so much for getting back on this.


GitHub: Make C++ headers actually detect as C++

Absolutely miniscule change, but this makes the C++ header files in the Visual C++ projects detected as C++ rather than C as GitHub Linguist assumes.

What if we'd be using C? Better to rename hpp.

@0x5bfa does the team intend to use C?

For these? No, it's hard to utilize com from c. I was referring to 'maybe' in the future. (Though I'm pretty sure we should be able to merge these c++ projects into Files.App, registering com in the appxmanifest and opening a window from com classes)
Btw what's the reason to make such change? It doesn't matter and no body cares.

Btw what's the reason to make such change? It doesn't matter and no body cares.

Yes, you're absolutely right. It was just a small thing that bugged me after a long time of looking at the repo...
But I don't see what's wrong with this PR since it wasn't a lot of effort to fix a small issue.

It's hard for me to approve and rather don't agree because .h file is C and .hpp is specifically for C++.
@yaira2 i'll leave to you.

I don't mind either way.

LGTM


Atom 1.0.5 and up fail to start

I'm trying to upgrade Atom package in NixOS and we're using .deb as a base.
All Atom versions from 1.0.5 and up fail to start with following message http://i.imgur.com/2X6Xyof.png
[6826:0906/195612:INFO:CONSOLE(56)] "Error: Module did not self-register.
    at Error (native)
    at Object.module.(anonymous function) (ATOM_SHELL_ASAR.js:118:20)
    at Object.module.(anonymous function) [as .node] (ATOM_SHELL_ASAR.js:129:18)
    at Module.load (module.js:347:32)
    at Function.Module._load (module.js:302:12)
    at Module.require (module.js:357:17)
    at require (module.js:376:17)
    at Object.<anonymous> (/nix/store/lyxrsbadnnxb5w50gdz26akc6lbrq2ra-atom-1.0.11/share/atom/resources/app.asar/node_modules/atom-keymap/node_modules/pathwatcher/lib/main.js:6:13)
    at Object.<anonymous> (/nix/store/lyxrsbadnnxb5w50gdz26akc6lbrq2ra-atom-1.0.11/share/atom/resources/app.asar/node_modules/atom-keymap/node_modules/pathwatcher/lib/main.js:207:4)
    at Module._compile (module.js:452:26)", source: file:///nix/store/lyxrsbadnnxb5w50gdz26akc6lbrq2ra-atom-1.0.11/share/atom/resources/app.asar/static/index.js (56)
[6826:0906/195612:INFO:CONSOLE(64)] "Uncaught TypeError: Cannot read property 'dispatch' of null", source: /nix/store/lyxrsbadnnxb5w50gdz26akc6lbrq2ra-atom-1.0.11/share/atom/resources/app.asar/src/space-pen-extensions.js (64)

Upstream bug report: https://github.com/NixOS/nixpkgs/pull/9605
For some users it works, for others it doesn't and we're trying to figure out what could be going on.

Hey @domenkozar. When we see those errors, it usually means there's a native node module that's compiled against the wrong headers (Node rather than Electron). This can happen when a module is compiled with npm install or npm rebuild rather than apm install or apm rebuild. The apm commands run the equivalent npm commands, but link to the Atom-specific headers.

So Nix package manager makes sure the dependency tree is always the same. We have a few users reporting everything is fine, while others get the above error. All with the same dependencies and build process.
See dependency tree: https://gist.github.com/anonymous/a67e188e55a477c28faf
What I don't understand how could sometimes npm be used and sometimes apm? Would removing npm binary help?

I tried removing npm binary in atom package, it still didn't help. Could it be that apm command is broken?

Are people getting build errors trying to build that native module by chance? On second look it doesn't seem like a versioning issue, but just a general problem loading the shared library.

I just installed Atom, ran it and got the error. How do I see if there is an error building the native module? Can I run that outside Atom?

@mnquintana what more information do you need?

There's clearly something wrong with how Atom is being built by that package.
@kevinsawicki Any insight on the Debian package? I have zero context on it.

@domenkozar where did you download the .deb file from?

https://github.com/atom/atom/releases/download/v${version}/atom-amd64.deb

See https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/atom/default.nix, we change the interpreter (shouldn't matter) and then create an environment with libraries that sets LD_LIBRARY_PATH with specified packages

@kevinsawicki any ideas?

any ideas?

Not immediately, Module did not self register usually indicates native modules are being used in Atom that were compiled against a different v8 version than the version shipping with Atom.

Is there a way to debug this? How do I find this native module to check if it works in standalone way?

How do I find this native module to check if it works in standalone way?

All the native modules should be under /nix/store/lyxrsbadnnxb5w50gdz26akc6lbrq2ra-atom-1.0.11/share/atom/resources/app.asar/node_modules

There is only /nix/store/s5xwlnxlzxfb5zllbzmrnybmp72iw1gz-atom-1.0.11/share/atom/resources/app.asar.unpacked/node_modules/pathwatcher/build/Release/pathwatcher.node

Here is how to install Atom, you can reproduce on any Linux distro (works also on OSX, but that's a bit more complicated to install):
$ curl https://nixos.org/nix/install | sh
$ git clone https://github.com/NixOS/nixpkgs.git
$ cd nixpkgs
$ git checkout atom_1_0_11
$ nix-build -A atom
$ /nix/store/s5xwlnxlzxfb5zllbzmrnybmp72iw1gz-atom-1.0.11/bin/atom

Just for reference, same error on 1.0.19:
$ /nix/store/d0wsfsxjixzcx82sqjcgvm194xd72y55-atom-1.0.19/bin/atom -f
[6016:1028/121132:ERROR:browser_main_loop.cc(173)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[6016:1028/121132:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[6016:1028/121132:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[6016:1028/121132:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[6016:1028/121132:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[6042:1028/121132:INFO:renderer_main.cc(200)] Renderer process started
App load time: 377ms
[6059:1028/121133:INFO:renderer_main.cc(200)] Renderer process started
[6016:1028/121133:INFO:CONSOLE(56)] "Error: Module did not self-register.
    at Error (native)
    at Object.module.(anonymous function) (ATOM_SHELL_ASAR.js:137:20)
    at Object.module.(anonymous function) [as .node] (ATOM_SHELL_ASAR.js:148:18)
    at Module.load (module.js:353:32)
    at Function.Module._load (module.js:308:12)
    at Module.require (module.js:363:17)
    at require (module.js:382:17)
    at Object.<anonymous> (/nix/store/d0wsfsxjixzcx82sqjcgvm194xd72y55-atom-1.0.19/share/atom/resources/app.asar/node_modules/atom-keymap/node_modules/pathwatcher/lib/main.js:6:13)
    at Object.<anonymous> (/nix/store/d0wsfsxjixzcx82sqjcgvm194xd72y55-atom-1.0.19/share/atom/resources/app.asar/node_modules/atom-keymap/node_modules/pathwatcher/lib/main.js:207:4)
    at Module._compile (module.js:428:26)", source: file:///nix/store/d0wsfsxjixzcx82sqjcgvm194xd72y55-atom-1.0.19/share/atom/resources/app.asar/static/index.js (56)
[6016:1028/121133:INFO:CONSOLE(64)] "Uncaught TypeError: Cannot read property 'dispatch' of null", source: /nix/store/d0wsfsxjixzcx82sqjcgvm194xd72y55-atom-1.0.19/share/atom/resources/app.asar/src/space-pen-extensions.js (64)

Which hints that following line fails https://github.com/atom/atom/blob/5f4f6d2d175f1877a71c3fcc9657ee1ba14f884b/src/space-pen-extensions.coffee#L34

Looks very similar to https://github.com/atom/atom/issues/5639

I've also tried with a rpm, same result. I'm out of ideas here.

Atom 1.1.0 now starts up successfully.


How to display html text as plain text in SlickGrid column.

Hello sir,
I want to display html text as plain text in grid column, so how to display.

Convert your HTML to Text and then display it.

Create a formatter that just takes the data text and returns it. Then pass the formatter in that column definition.
The default formatter is:
function defaultFormatter(row, cell, value, columnDef, dataContext) {
  if (value == null) {
    return "";
  } else {
    return (value + "").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");
  }
}

which has limited HTML escaping. Just change the last return to: return value; to return the HTML as-is.


bonsai in ATs

PR description
Change ProcessBesuNodeRunner and ThreadBesuNodeRunner to use DEFAULT_BONSAI_CONFIG
the AT flakiness seems to have resolved itself... fishy

original PR which shows failure https://github.com/hyperledger/besu/pull/6619
second PR which shows when it was failing https://github.com/hyperledger/besu/pull/6729 and is now passing (I thought maybe the last change https://github.com/hyperledger/besu/pull/6729/commits/a4d25082d9f6b37f2c8b7ed2c431674fc714e781   was making it pass)
redux PR which has the same code (with and without that last change) and no failures https://github.com/hyperledger/besu/pull/6770

Fixed Issue(s)

Thanks for sending a pull request! Have you done the following?

[ ] Checked out our contribution guidelines?
[ ] Considered documentation and added the doc-change-required label to this PR if updates are required.
[ ] Considered the changelog and included an update if required.
[ ] For database changes (e.g. KeyValueSegmentIdentifier) considered compatibility and performed forwards and backwards compatibility tests

Most advanced CI tests are deferred until PR approval, but you could:

[ ] locally run all unit tests via: ./gradlew build
[ ] locally run all acceptance tests via: ./gradlew acceptanceTest
[ ] locally run all integration tests via: ./gradlew integrationTest
[ ] locally run all reference tests via: ./gradlew ethereum:referenceTests:referenceTests

I want to run the ATs a few more times on this PR to make sure it's not still causing any flakiness - hence still draft.

closing this one since it's a duplicate of #6729


[PG] Document all the supported PostgreSQL configuration parameters

We don't have (or I couldn't find) documentation related to all supported "Advanced Configuration" parameters.

We support a huge part of the postgresql.conf, but we might not support all of them (or have different ones).
Would be nice to have a page/table with:

Name of the parameter
Short description
Range of acceptable values
Warning if changing the parameter triggers a service restart

Try issuing a command to avn for this service type with a config option that isn't valid. The response implies that something, somewhere, knows what values can be sent!
$ avn service create -t pg -p business-4 -c rhubarb=2 lornajane-pg-cli
ERROR	command failed: UserError: Unsupported option 'rhubarb', available options: admin_password, admin_username, backup_hour, backup_minute, ip_filter, migration.dbname, migration.host, migration.ignore_dbs, migration.password, migration.port, migration.ssl, migration.username, migration, pg.autovacuum_analyze_scale_factor, pg.autovacuum_analyze_threshold, pg.autovacuum_freeze_max_age, pg.autovacuum_max_workers, pg.autovacuum_naptime, pg.autovacuum_vacuum_cost_delay, pg.autovacuum_vacuum_cost_limit, pg.autovacuum_vacuum_scale_factor, pg.autovacuum_vacuum_threshold, pg.bgwriter_delay, pg.bgwriter_flush_after, pg.bgwriter_lru_maxpages, pg.bgwriter_lru_multiplier, pg.deadlock_timeout, pg.idle_in_transaction_session_timeout, pg.jit, pg.log_autovacuum_min_duration, pg.log_error_verbosity, pg.log_line_prefix, pg.log_min_duration_statement, pg.max_files_per_process, pg.max_locks_per_transaction, pg.max_logical_replication_workers, pg.max_parallel_workers, pg.max_parallel_workers_per_gather, pg.max_pred_locks_per_transaction, pg.max_prepared_transactions, pg.max_replication_slots, pg.max_stack_depth, pg.max_standby_archive_delay, pg.max_standby_streaming_delay, pg.max_wal_senders, pg.max_worker_processes, pg.pg_partman_bgw.interval, pg.pg_partman_bgw.role, pg.pg_stat_statements.track, pg.temp_file_limit, pg.timezone, pg.track_activity_query_size, pg.track_commit_timestamp, pg.track_functions, pg.track_io_timing, pg.wal_sender_timeout, pg.wal_writer_delay, pg_read_replica, pg_service_to_fork_from, pg_version, pgbouncer.autodb_idle_timeout, pgbouncer.autodb_max_db_connections, pgbouncer.autodb_pool_mode, pgbouncer.autodb_pool_size, pgbouncer.ignore_startup_parameters, pgbouncer.min_pool_size, pgbouncer.server_idle_timeout, pgbouncer.server_lifetime, pgbouncer.server_reset_query_always, pglookout.max_failover_replication_time_lag, private_access.pg, private_access.pgbouncer, private_access.prometheus, privatelink_access.pg, privatelink_access.pgbouncer, project_to_fork_from, public_access.pg, public_access.pgbouncer, public_access.prometheus, recovery_target_time, service_to_fork_from, shared_buffers_percentage, static_ips, synchronous_replication, timescaledb.max_background_workers, variant, work_mem

:sunglasses: you're welcome

There is a command that gives you this info, we need to refactor it
avn service types -v


What OS does it work?

Is this just on windows? or does it also support MacOs?

if you are not a developer it only work for windows. but if you  are a developer, you need to remove
this in console/ change into another logging lib for linux/macos need
 from ctypes import windll

Is this just on windows? or does it also support MacOs?

yes but u need to make small simple changes