Support for subfolders insert new note

I'm using telekasten as wiki with subfolders to organize topics a bit.
When I'm in a file of a subfolder, say home/subfolder/file.md and try to create a new link through insert_link() new_note() it creates it in the root home.
Maybe one could do a setting like in Obsidian:

I think you addressed this a bit in https://github.com/renerocksai/telekasten.nvim/issues/12#issuecomment-982792303 .
Currently I'm using wiki.vim to create new notes in subfolders. Following a link there also creates it in the current directory like Obsidian/Foam/...
Anyway, great Plugin and refreshing approach with Telescope 👍

I see a point there. I consider adding an option for that. I, for myself, do not want to worry what path my current note is in when I create a new one. I like to know that it's always created in the home dir unless I specify a different folder.
So one man's feature sometimes is another one's bug :smile: - let there be options!

I see a point there. I consider adding an option for that. I, for myself, do not want to worry what path my current note is in when I create a new one. I like to know that it's always created in the home dir unless I specify a different folder.
So one man's feature sometimes is another one's bug 😄 - let there be options!

Thanks for the fast answer. The options feature would be great.
When using Telekasten as Journal or with the Zettelkasten method I totally understand the current approach. But when using a Wiki I think it would help to be able to support subfolders.
Regarding:

I like to know that it's always created in the home dir unless I specify a different folder.

Is it currently possible to specify a different folder? Couldn't find anything 🤔
P.S: In the original description I meant new_note() and not insert_link() . But I think you got it the point.

Thanks for the fast answer. The options feature would be great. When using Telekasten as Journal or with the Zettelkasten method I totally understand the current approach.

But when using a Wiki I think it would help to be able to support subfolders.

Can you elaborate on how sub-folders are not supported by this plugin? Notes are found in sub-folders even when you don't specify them in the [[link]]. They are considered when they are present in a [[subfolder/link]]. The [[subfolder/link]] is the current standard format of how links to notes in sub-folders are created. With a future option, that could be changed to never put sub-folders into links.

Regarding:

I like to know that it's always created in the home dir unless I specify a different folder.

Is it currently possible to specify a different folder? Couldn't find anything

Yes. When prompted for a title, type in the subfolder(s) followed by a slash before you type in the title:

Thanks for the explanation, I think I understood your points.  Following this maybe the following could be feasible:
Regarding just creating notes: Typing the path when creating a note like you described works 👍  . So yeah, I think this could be leaved as it is.
Directly typing non-existent link and creating the file: This use case would be like the current follow_link() feature combined with creating notes on the fly:

Be in a file
Create a link [[link]]  or   [[other/folder/link]].
Then, being on the link(Like with follow_link()), using new_note() or new_templated_note() would create the note in the current(Single filename in Wikilink) directory or in a specific Path(Path in Wikilink). It would be cool if follow_link() creates the note if it does not exist.

That would help in keeping the flow of creating and following a link. Currently you've to more or less create a new File and then navigate back and insert the link. That's not suuuch a big deal, but typing the link and creating the note directly would be smoother. I think that's how most alternatives work, or do I oversee something?

So yeah, the current approach works. But Maybe you could take something out of my second thoughts. Nevertheless, for being a few weeks old it's pretty useful 😄

I appreciate that you took the time to write all this. But did you read the README?
From the highlights:

From the section about the lua functions:

So, what I will keep from your suggestions is an option that will make the plugin create new notes in the sub-directory of the currently active note in the editor. That spares you from having to type the folder name. However, what if you are in sub/dir/one and create [[blog/cool new post]] or some other weird case?
That requires some conflict resolution protocol, with the following being the easiest (imho): 'when subfolders are present in a link to a non-existing note - and such a link is followed, ignore the current working directory and use the one specified in the link instead'. (Again, I am against relative links, shortest path links, as they are a recipe for broken links). I like 'the easiest', simple rules, because anything more complex often leads to confusion, misunderstandings, wrong expectations, and eventually to disappointment. Funnily enough, simple rules that are easy to understand are often also easy to work around should they get in your way. But that's a whole bunch of opinions :smile:.
Do you have other suggestions for how that scenario should be handled?

I appreciate that you took the time to write all this. But did you read the README?

Hmm, I read it but somehow oversaw it or so. I'm sorry.

will make the plugin create new notes in the sub-directory of the currently active note in the editor

Yep, that would be great 👍
I assume, that by creating new notes you also mean the case when follow_link() creates a new note.

'when subfolders are present in a link to a non-existing note - and such a link is followed, ignore the current working directory and use the one specified in the link instead'.

That's fine for me. I also get your point with relative links as we do not alter the link path on location change.

Yes, follow_link() / any method to create a new note would honor the new setting. That's the only consistent and sane option :smile:
Great! Will probably implement it soon! There's that day job though :smile: .

will update readme with new config options new_note_location and template_handling soon.


Moving to Capacitor 3.0

https://github.com/capacitor-community/capacitor-googlemaps-native/pull/45

https://github.com/capacitor-community/capacitor-googlemaps-native/pull/45#issuecomment-851930297

Released in v1.0.1


Use round time instead of server time for criminal history

About the PR
Title. Made the criminal record computers use round time instead of server time.
Why / Balance
Fixes #26909.
Technical details
I've looked into and mimicked the way the news console does it (e.g. I used a method of GameTicker instead of Robust's Timing)
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes
None.
Changelog

fix: Round time is now used instead of server time in criminal records.

Looking at the screenshot some more, I'm not sure if it makes any sense actually. This group of timers on the debug screen kinda confuses me. ^^'

I am assuming the test failing has nothing to do with this?

Looking at the screenshot some more, I'm not sure if it makes any sense actually. This group of timers on the debug screen kinda confuses me. ^^'

Round time isn't displayed in the F3 menu as it's not something the engine itself deals with.

I am assuming the test failing has nothing to do with this?

Yeah


Assertion failed: (0), function +[MMKV mmkvWithID:cryptKey:rootPath:mode:]

App Crashing on IOS, It is stuck on Splash screen,
I get following error also screenshot is attached.
Assertion failed: (0), function +[MMKV mmkvWithID:cryptKey:rootPath:mode:], file /Users/zeeshanwarriach/Documents/ChatApp/ios/Pods/MMKV/iOS/MMKV/MMKV/libMMKV.mm, line 174

Is there any body who can help me with this?

Seems multiprocess mode doesnt work on ios

Yes its not working on IOS, I disabled it and it worked.


Update valet share command over TLS

The result is the same, but some backend codes are optimized and better placed.


Support Active Support 5.2

cc @Shopify/rails

Hi,
Even though this moves forward, won't we need to update active_utils as well? Currently it depends on activesupport < 5.2.0.

#556


Enable rubocop

Coverage remained the same at 100.0% when pulling c913ab663895993d342b6e18f6fa969055cf4d4a on enable_rubocop into ffa7734cb4e5898e140d577a1878a8e5f56217a7 on master.

Coverage remained the same at 100.0% when pulling c913ab663895993d342b6e18f6fa969055cf4d4a on enable_rubocop into ffa7734cb4e5898e140d577a1878a8e5f56217a7 on master.

Coverage remained the same at 100.0% when pulling c913ab663895993d342b6e18f6fa969055cf4d4a on enable_rubocop into ffa7734cb4e5898e140d577a1878a8e5f56217a7 on master.

Coverage remained the same at 100.0% when pulling c913ab663895993d342b6e18f6fa969055cf4d4a on enable_rubocop into ffa7734cb4e5898e140d577a1878a8e5f56217a7 on master.


Referring to a specific commit

The article says "If you want to pin a specific commit, first create a tag pointing to that commit, then pin to that tag". However, the easiest way to refer to a specific commit is using SHA:
resources:
  repositories:
    - repository: templates_repo
      type: git
      name: pipeline-test-00/templates
      ref: f87406def01b44505687d0ff7928d6f0f6113132

Tested in this pipeline: https://dev.azure.com/sapozhkov/pipeline-test-00/_build/results?buildId=683&view=logs&j=8282e427-bffc-5a10-a8ab-7ce1defcccbe&t=70b0d9ad-f882-52ee-ffc2-2818d5f8e4b9

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

ID: 6724abea-bbdc-bf66-ed5e-3214fa6c3e66
Version Independent ID: 4f8dab21-3f0e-da32-cc0e-1d85c13c0065
Content: Templates - Azure Pipelines
Content Source: docs/pipelines/process/templates.md
Service: azure-devops-pipelines
Sub-service: azure-devops-pipelines-process
GitHub Login: @juliakm
Microsoft Alias: jukullam

Thanks @shurick81! I'll update the article to reference that option.


Editor layouts don't work

Godot version
v4.0.rc4.official [e0de3573f]
System information
w10 64 with 2 monitors.
Issue description
The layouts are not loaded.

Steps to reproduce
Just set up your docks and place them on the 2nd monitor.
Save your layout.
Close godot.
Open godot and load the layout.
Nothing happens, the docks are not positioned in the place where they were saved.
Minimal reproduction project
...

Works fine in v4.4.dev1.official [28a72fa43], I don't know in which version it was fixed

This issue should be reopened.
Layout loading works now but there is still a problem.
Now the layout loading does not work correctly.
1 - Disable the "single window" mode.
2 - Create and save a layout where the script editor is attached to the main editor.
3 - Detach the script editor into a separate window.
4 - Now load the layout saved in step 2 where the script editor is attached to the main editor.
The layout loading will not attach the script editor that you detached from the main editor in step number 3.

Please open a new issue with the relevant description


How to deal with huge data?

I'm currently trying to generate a dataset based on your tutorial, but i was wondering how to deal with a huge data(10 gb of images). My laptop can't handle the huge amount of data(because the tutorial told us that we need to store the data into array variable first). Is there anyway to handle this? Thanks

you can use the input queues to read from the filesystem instead of loading everything to memory, this is discussed in this tutorial https://ischlag.github.io/2016/06/19/tensorflow-input-pipeline-example/

Thanks for the response @aditbiswas1 . If my current dataset directory structure is like this:
Dataset
->Category A
--->Photos
->Category B
--->Photos
->Category C
--->Photos
->Category D
--->Photos
should i make the csv file containing the path to the datasets first or is there any other way to deal with that kind of problem?

hmm, ya using a csv sounds like a reasonably well way to solve the problem 👍

is there any tutorial that you know to create csv out of it? sorry i'm new at this @aditbiswas1

hi @aditbiswas1 i've learn on how to do things from the tutorial you gave, but i was wondering if i wanted to  resize my image first, in which step i can do it? this is the tutorial btw https://ischlag.github.io/2016/06/19/tensorflow-input-pipeline-example/

oh hi, sorry didnt see the previous notification. hmm, you can create a csv in multiple ways, I would normally try to find a way to create a python list from all the fileobject names and then just dump that into a csv using the inbuilt csv module, you'll most likely want to just write some loops to do this. you can get a list of what files are present in the directory by using os.listdir("directory")
regarding resizing of the images. this  can be part of your preprocessing right after you've decoded the image file. an example for this can be found in the docs here
https://www.tensorflow.org/api_docs/python/image/resizing#resize_images

since you also wanted to do some stuff like grouping by labels, you probably want to look at something like pandas which is super useful for manipulating datasets. http://pandas.pydata.org/pandas-docs/version/0.13.1/index.html

hi @aditbiswas1 i've managed to enter the training step, but at certain epoch the training is stopped. It said that there is an Out of Range Error because of FIFO batch. Here is the error:
OutOfRangeError (see above for traceback): FIFOQueue '_3_batch/fifo_queue' is closed and has insufficient elements (requested 8, current size 5)
[[Node: batch = QueueDequeueMany[_class=["loc:@batch/fifo_queue"], component_types=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](batch/fifo_queue, batch/n)]]
I'm following the tutorial you gave, but i uncomment the num_thread line in the tf.train.batch

Hmm, looks like you are trying to read 8 elements but the batch size has
been declared at 5. Are you getting this after some iterations? Or does the
error come immediately? If it's coming immediately then some variable got
configured incorrectly, but if you managed to run few iterations it means
the last iteration caused the issue because the number of training data is
not a factor of 8, I think you could declare the batch size as None and
possibly solve the issue, will look into it
On Mon, Jan 23, 2017, 8:39 AM aryopg<EMAIL_ADDRESS>wrote:

hi @aditbiswas1 https://github.com/aditbiswas1 i've managed to enter
the training step, but at certain epoch the training is stopped. It said
that there is an Out of Range Error because of FIFO batch. Here is the
error:
OutOfRangeError (see above for traceback): FIFOQueue '_3_batch/fifo_queue'
is closed and has insufficient elements (requested 8, current size 5)
[[Node: batch = QueueDequeueMany[_class=["loc:@batch/fifo_queue"],
component_types=[DT_FLOAT, DT_INT32], timeout_ms=-1,
_device="/job:localhost/replica:0/task:0/cpu:0"](batch/fifo_queue,
batch/n)]]
I'm following the tutorial you gave, but i uncomment the num_thread line
in the tf.train.batch
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sjchoi86/Tensorflow-101/issues/12#issuecomment-274388916,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAe8wxaUPHAdhfNiwPHnRCdVl7l8SIE-ks5rVBn7gaJpZM4Lkg2z
.

yes i've managed to reach 600-ish iterations, and i got the error, and i set the batch size into 8, and i also suspect that the last batch is not dividable by 8, but i've used this line of code : allow_smaller_final_batch=True
but still didn't work


[NTRN-78] Feat: add voting registry tests

task: https://hadronlabs.atlassian.net/browse/NTRN-78

https://github.com/neutron-org/neutron-tests/actions/runs/6260256840


CI pipeline for frontend

Is your feature request related to a problem? Please describe.

There is no CI pipeline for frontend development

Describe the solution you'd like

Configure CI pipeline for code linting, running unit test and coverage, etc.

Describe alternatives you've considered

N/A

Additional context

N/A

I believe @AB27-source has plans to complete this if you would like to assign the task to him. If not, someone else can pick this issue up.


want to remove feedback widget from index and intro chapters if the intro is just what the course is about

we got feedback from people that they don't like having the widget too early

think we could use: https://stackoverflow.com/questions/46027246/in-r-markdown-create-header-footer-on-every-page-regardless-of-output-type-pdf
and https://mirror.las.iastate.edu/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf


GPT4 support and formatting changed text only

gpt-4 and gpt-4-32k support added;
If no text is selected for request then the whole line gets selected automatically
Format Document option changed to Format Changed Text - only the part that is changed will be formatted, not the whole document
CodeIt - programming language name (document type actually) is added as a prefix to the request
A markdown code wrapping tags are removed from the response

Hi @gluks
It is released with v1.2.0
Thanks for your great contribution!


Package signature verification failed. Tableau Server

Hello. I did everything according to the instructions, installing the latest versions of the driver and connector, but get the following error:

Linux 4.15.0-55-generic x86_64
clickhouse-jdbc-0.3.2-patch2-shaded.jar
clickhouse_jdbc_0.2.1.taco

How can it be fixed?

The screenshot you've provided looks like the one of the previous version of the Connector
(something like 0.1.1 or less). The error is about the Connector (*.taco) file not to be signed properly.
Please make sure you've installed and activated the newest release (version 0.2.1 as of now).

Hi! Which version of Tableau Server are you using?

@yurifal thank you, re-starting tsm helped to fix this issue. But I received another error:

I use the same credits on the server as for the Tableau desktop where the connection works. Should I open a new ticket for this error?
@artshevchenko Tableau Server Version: 2021.4.1 (20214.21.1214.2057) 64-bit Linux

As far as I know, the connections on the http protocol (port 8123)
to the CH managed instances hosted in the Yandex Cloud network
are allowed from the hosts belonging to the same net (Y.Cloud only).
The 'external' connections have to be using https (port 8443) and SSL.
Please check the subnet of the host running your Tableau Server
(as compared to the computer with the Tableau Desktop).

@max-zorn Hi!
Did Yuri's comment help? I found the proof in the documentation.

Please refer to this my comment (and the picture of the Advanced tab):
https://github.com/analytikaplus/clickhouse-tableau-connector-jdbc/issues/23#issuecomment-1013135359


Format document doesn't use space and tab settings

Issue Type: Bug
In Preferences/Settings, I set the Editor: tab size setting to 2 and the Editor: Insert  Spaces setting to checked.  When selecting "Format Document" neither of those settings is used.
VS Code version: Code 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-03-09T19:47:57.235Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (12 x 3696)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.88GB (27.48GB free)

Process Argv

Screen Reader
no

VM
40%

Extensions (1)

Extension
Author (truncated)
Version

vscode-hexdump
sle
1.7.2

/needsMoreInfo
Please update this issue after reading https://github.com/Microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions#writing-good-bug-reports-and-feature-requests. Thanks.

Expected behavior:  When the Insert Spaces setting is checked, format document will not insert tabs for indenting, only spaces.  When tab setting size is set to 2, format document will use 2 spaces rather than 4 spaces when indenting.

All formatting is done through extensions. Since you don't tell me in what language (and with what file) this happens, I am assuming this isn't any of the built-in extensions.

I am editing HTML, JavaScript, and CSS files.  I believe that the built-in extensions are used for those types of files.
It appears that the user setting for Editor: Detect Indentation affects how indentation is performed during "Format Document."  When unchecked, my tab size settings are used during formatting.  When I thought there was a problem, this setting was checked.
Sometimes as a developer, one will receive requests from layman users.  One shouldn't expect them to be knowledgeable about the inner workings of a program.  Part of your job as a developer is to interpret those ill-defined requests into working requirements, or to point the user to relevant documentation.  :)


CARDS-2131: Increase test coverage cards-permissions

PermissionsManagerServiceTest - > not covered cases from line 175 of PermissionsManagerService:
if (!restrictions.containsKey(key) || !entry.getRestriction(key).equals(restrictions.get(key)))

SessionSubjectRestrictionPatternTest -> 2 of 4 branches missed for line 99 of SessionSubjectRestrictionPattern.

jacoco.zip
jacoco:report html file attached


Fix bug in :str parameter

Currently, the documentation says :str "can use special sequence [|] (e.g. octop[us|i]) where string to the left of the | will be used when the list contains just one item and the string to the right will be used otherwise," but it uses the string to the left of the | when the list contains one OR TWO items.
This change corrects the behavior to conform with the documentation.

Good catch, thank you!


Debug App using VScode issue

Steps to reproduce

Clean build
Debug the app using vscode

Expected results
debug the app with VSCODE without issues
Actual results
#0      _Completer.completeError (dart:async/future_impl.dart:19:31)
#1      ThreadInfo.resolveUrisToPathsBatch.<anonymous closure> (package:dds/src/dap/isolate_manager.dart:1136:58)
#2      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:633:13)
#3      ThreadInfo.resolveUrisToPathsBatch (package:dds/src/dap/isolate_manager.dart:1136:20)
<asynchronous suspension>
#4      ThreadInfo.resolveUrisToPackageLibPathsBatch (package:dds/src/dap/isolate_manager.dart:1089:21)
<asynchronous suspension>
#5      IsolateManager._sendLibraryDebuggables (package:dds/src/dap/isolate_manager.dart:913:5)
<asynchronous suspension>
#6      Future.wait.<anonymous closure> (dart:async/future.dart:523:21)
<asynchronous suspension>
#7      IsolateManager._configureIsolate (package:dds/src/dap/isolate_manager.dart:451:7)
<asynchronous suspension>
#8      IsolateManager.registerIsolate (package:dds/src/dap/isolate_manager.dart:247:7)
<asynchronous suspension>
#9      DartDebugAdapter._configureExistingIsolates.<anonymous closure> (package:dds/src/dap/adapters/dart.dart:790:11)
<asynchronous suspension>
#10     Future.wait.<anonymous closure> (dart:async/future.dart:523:21)
<asynchronous suspension>
#11     DartDebugAdapter._configureExistingIsolates (package:dds/src/dap/adapters/dart.dart:783:5)
<asynchronous suspension>
#12     DartDebugAdapter._withErrorHandling (package:dds/src/dap/adapters/dart.dart:2596:14)
<asynchronous suspension>
#13     DartDebugAdapter.connectDebugger (package:dds/src/dap/adapters/dart.dart:716:5)
<asynchronous suspension>
#14     FlutterDebugAdapter._connectDebugger (package:flutter_tools/src/debug_adapters/flutter_adapter.dart:381:9)
<asynchronous suspension>
#15     FlutterDebugAdapter._handleDebugPort (package:flutter_tools/src/debug_adapters/flutter_adapter.dart:462:7)
<asynchronous suspension>

Code sample
Code sample

class App extends StatelessWidget {
  final Map<String, dynamic> firebaseData;
  final AppRouter appRouter = AppRouter();

  App({super.key, required this.firebaseData});

  @override
  Widget build(BuildContext context) {
    return MultiBlocProvider(
        providers: [
          BlocProvider<AuthPagesCubit>(
            create: (_) => injector.get<AuthPagesCubit>(),
          ),
          BlocProvider<HomePageCubit>(
            create: (_) => injector.get<HomePageCubit>(),
          ),
          BlocProvider<LandingPageCubit>(
            create: (_) => injector.get<LandingPageCubit>(),
          ),
        ],
        child: Builder(builder: (context) {
          var isDarkMode = MediaQuery.of(context).platformBrightness == Brightness.dark;
          injector.get<AppSharedPreferences>().setDarkThemeEnabled(isDarkMode);

          return MaterialApp.router(
            debugShowCheckedModeBanner: false,
            supportedLocales: const [Locale('en'), Locale('ar')],
            localizationsDelegates: [
              AppLocalizations.delegate(firebaseData),
              GlobalMaterialLocalizations.delegate,
              GlobalWidgetsLocalizations.delegate,
              GlobalCupertinoLocalizations.delegate
            ],
            localeResolutionCallback: (deviceLocale, supportedLocales) {
              for (var locale in supportedLocales) {
                if (deviceLocale != null && deviceLocale.languageCode == locale.languageCode) {
                  return deviceLocale;
                }
              }
              return supportedLocales.first;
            },
            title: 'Shahim',
            theme: isDarkMode ? darkTheme : lightTheme,
            routerConfig: appRouter.config(),
          );
        }));
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs

Launching lib/main_development.dart on Pixel 6 in debug mode...
Building with Flutter multidex support enabled.
✓  Built build/app/outputs/flutter-apk/app-development-debug.apk.
D/FlutterGeolocator(22546): Attaching Geolocator to activity
D/FlutterGeolocator(22546): Creating service.
D/FlutterGeolocator(22546): Binding to location service.
D/FlutterLocationService(22546): Creating service.
D/FlutterLocationService(22546): Binding to location service.
D/FlutterGeolocator(22546): Geolocator foreground service connected
D/FlutterGeolocator(22546): Initializing Geolocator services
D/FlutterGeolocator(22546): Flutter engine connected. Connected engine count 1
21
D/VRI[MainActivity](22546): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false
Connecting to VM Service at ws://<IP_ADDRESS>:34037/-b7y21oR2tM=/ws
200
D/VRI[MainActivity](22546): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false

Flutter Doctor output
Doctor output

## flutter doctor

[✓] Flutter (Channel stable, 3.16.7, on Ubuntu 23.10 6.5.0-14-generic, locale en_US.UTF-8)
• Flutter version 3.16.7 on channel stable at /home/jadaboawwad/Development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ef1af02aea (5 days ago), 2024-01-11 15:19:26 -0600
• Engine revision 4a585b7929
• Dart version 3.2.4
• DevTools version 2.28.5
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /home/jadaboawwad/Android/Sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /home/jadaboawwad/Android/Sdk
• Java binary at: /opt/android-studio/jbr/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Linux toolchain - develop for Linux desktop
• Ubuntu clang version 16.0.6 (15)
• cmake version 3.27.4
• ninja version 1.11.1
• pkg-config version 1.8.1
[✓] Android Studio (version 2022.3)
• Android Studio at /opt/android-studio
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• android-studio-dir = /opt/android-studio
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
[✓] VS Code (version 1.85.1)
• VS Code at /usr/share/code
• Flutter extension version 3.81.20231227
[✓] Connected device (3 available)
• Pixel 6 (mobile) • 23281FDF6000R0 • android-arm64  • Android 14 (API 34)
• Linux (desktop)  • linux          • linux-x64      • Ubuntu 23.10 6.5.0-14-generic
• Chrome (web)     • chrome         • web-javascript • Google Chrome 120.0.6099.129
[✓] Network resources
• All expected network resources are available.
• No issues found!

@Jadaboawwad
Looks like it is similar to https://github.com/flutter/flutter/issues/137163 which has been fixed recently (2 weeks ago) but may not be in stable yet. Can you re-run your scenario after switching to latest master and see if you still get same issue or not ?
flutter channel master
flutter upgrade


Conformance Profiles: Badges for Reports

What type of PR is this?
/kind cleanup
/kind documentation
/area conformance
What this PR does / why we need it:
This adds badges for implementations which are reporting conformance. The badges are placed under the organization name on the implementations.md page, and multiple badges can be listed if there are multiple projects. This helps us meet more of the graduation criteria for GEP 1709 to graduate the conformance profiles work to standard.
For now, these badges are simple and manually managed so that we can just have some display layer to start with. We expect that in the future we'll get tired of this and there will be more iterations to automate this process.
Which issue(s) this PR fixes:
Fixes #2286
Does this PR introduce a user-facing change?:
NONE

Not yet ready to review, I'm testing with the Netlify previews.

/cc @youngnick @robscott @mlavacca @sunjayBhatia @arkodg @howardjohn @sayboras @michaelbeaumont @kate-osborn

/lgtm


Visualizations: OR and RR are being calculated backwards in 2x2 tables

Upon QA of https://github.com/VEuPathDB/plot.data/issues/87, we identified that there is an issue of what group is being used as the reference group for the calculation of odds ratios (OR) & relative risks (RR), described below.
Example: GEMS1 study-> 2 x 2 plot -> X= Case or control participant; Y= Cryptosporidium, by ELISA.
Here we see in the plot that 11.9% of cases have crypto, and 6.4% of controls.
I am expecting an odds ratio of >1 because the plot shows almost twice as many cases infected with crypto compared to controls.
However, I see that the odds ratio is 0.5081. So the odds ratio is clearly being calculated in the reverse way. This odds ratio says: "Cases are less likely to not have crypto infection compared to controls." While this is not wrong, it is certainly confusing.
The default in the EDA is that the first value in the Y axis var is the "event". In the Y axis var "Cryptosporidium, by ELISA", the first value is NO and the second is YES. That's how NO (not being infected with crypto) is ending up as the event.
Possible solutions for this issue (Danica, Nupur, and Sheena met to decide on the path forward on 9/14/2021):
Option 1: Leave out statistics table for Phase 1. Put in a placeholder saying "Coming soon". Re-implement in future when users can choose the reference group (like in shiny apps on live site). This will require UI changes to the variable picker for the 2x2 table in Phase 2. Note: this is the ClinEpiDB team's preference.
Option 2: Frame a sentence below the statistics table in this format. While this sentence looks clunky, it does accurately tell you what the odds ratio is being calculated for.
The odds of "Case" for "Case or control participant" being "No" for "Cryptosporidium, by ELISA" is 0.5081 as compared to "Control".
NOTE: Nothing needs to change in R x C for either phase 1 or 2 with respect to this issue. It affects 2 x 2 table only.


Formattable & Parseable

As per the discussion on the other PR, here's a take on a set of protocols to add simple .formatted and some basic initializers that can be used anytime a simple type (without any sort of customizations).

After looking through the rest of the format styles in the module, I'm not actually too sure how useful this will be. The majority of the styles require various options to be passed in and bits to be flipped. Closing to re-think this.


Update sim0mq-java to Java-17

The current Java version for sim0mq-java is Java-11. Prime Oracle support for Java-11 ended 15 October 2024 (see https://www.oracle.com/java/technologies/java-se-support-roadmap.html). Some other vendors still create new releases (see e.g., https://adoptium.net/support/). It cannot be guaranteed, however, that Java-11 contains (security) bug fixes for all OpenJDK vendors from now on. Therefore, new releases from now onward will be for Java-17 and up.
This has as an additional advantage that new features such as the record, the expanded switch, instanceof casting, and numerous updates in the libraries can be used as well.

Note that the javadoc plugin in the pom file also has to be updated to Java-17 (also the location of the Java API files):
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>${maven.javadoc.version}</version>
        <configuration>
          <source>17</source>
          <links>
            <link>https://docs.oracle.com/en/java/javase/17/docs/api/</link>

Completed. All javadoc generation and unit tests work without warnings or errors.


Installation guide doesnt seem to be enough?

Hi!
I've being trying to set this theme but nothing seems to work.
pacman -S lightdm-webkit-theme-litarvan
sudo vim /etc/lightdm/lightdm.conf
under the section
[LightDM]
greeter-session=lightdm-webkit2-greeter
sudo vim /etc/lightdm/lightdm-webkit.conf
#seems like there was no such file earlier so I wrote
theme = litarvan
Any clue what would be missing?

Checking the logs
sudo less /var/log/lightdm/seat0-greeter.log
(lightdm-gtk-greeter:695): Gtk-WARNING **: 17:19:48.480: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)

Oh it was needed to be under the seat section. It works .. sorry for this issue

It says "lightdm-gtk-greeter" which means you did something wrong on editing lightdm.conf, you are supposed to edit greeter-session for the [Seat:*] section, not an issue with the theme


OCPCLOUD-1741: e2e periodics tests: ControlPlaneMachineSet uninstall

This adds a check to the E2E suite that confirms that, when the control plane machine set is deleted, it gets correctly uninstalled and the cluster is cleaned up as expected.

Your PR title and commit message say periodic when they should be presubmit 😉

/retest-required


improve slideshow

https://github.com/user-attachments/assets/eeb1e9a5-8ed1-4455-aa1b-395861c84498
Improve the slide show by making it automatically move in a loop

go fot it @STXRSHIVA


Add pandas data manipulation transform

This PR adds the following things:

Adds a ManipulateDataTransform: This new transform can be used to manipulate experiments and candidates within a StepwiseStrategy by using string expressions in combination with pandas.DataFrame.eval.
It refactors the StepwiseStrategy in a way that it is not necessary that the domains of all strategies have to be equal to each other. They only have to be compatible to each other. See  methodvalidate_domain_compatibility for further details. This means that for different steps, different representations can be used as long as the final candidates generated in a step are valid by means of the master domain of the strategy. This can be assured by using proper untransformations of the candidates.

Thanks Johannes! I appreciate removing the too strict requirements of the Domain to be equal across all steps. I left some comments.

Hi @bertiqwerty, I do not see any comments ;) Best, Johannes


Dont treat missing node as UI error

A missing node no longer flashes the Trying to reconnect status.
Fixes #607

Works! LGTM


Upgrade undertow version to 2.2.23.SP2-redhat-00001

I was wondering if undertow version can be overridden by the spring boot bom, https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.7.10/spring-boot-dependencies-2.7.10.pom <undertow.version>2.2.23.Final</undertow.version>.
@luigidemasi @cunningt


Hindi Readme for multilinguals

Feature description
New Readme can be written in Hindi to help multilinguals.
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I agree to follow this project's Code of Conduct

Please assign me this issue under iwoc and easy/medium/hard.

We don't need to do Hindi Readme. Sorry.


add blocked version to address performance issue of when N is large

blocked rmsnorm implementation

benefit when N >30K, the best BLOCK_SIZE = 65536
add unit test for N > 30K
add the logic in the wrapper to set the best BLOCK_SIZE

Can you please add performance comparison with and without this change?

Can you please add performance comparison with and without this change?

Can you please add performance comparison with and without this change?

see above

LGTM after outstanding comments are addressed.


Picking a database

Options I've looked at are:

PostgreSQL (pros: relational, good Node support, fast, etc. cons: maybe too big and bloated for a small website like this?)
MariaDB (only advantage to Postgre is ease of installation)
MongoDB (works well with Node, but seems to sometimes be slow and isn't as structured as a relational db)
CouchDB (will have to look more into - looks like an interesting mix of technologies)
Some kind of small, in-memory/flat file database (depending on site load, may not work well)

The database will be used to store the current Facebook activity, upcoming events, and admin credentials (in order to allow admins to login and add events).

For now, I've settled on Mongo as it plays the best with Node and is relatively easy enough to setup


MRG: importing EEGLAB exported BV files: units

EEGLAB can export to BV and it's possibly one of the easier ways to export from EEGLAB to MNE. However, EEGLAB writes very minimal BV headers. In the ones I'm working on right now, no unit information is given at all; importing the file fails with a value error, because unit and resolution info is missing.
These proposed changes allow reading these underspecified files by simply filling in a default.
Sorry for these coming in incrementally, I discover new strange things about our huge collection of BV files every day.
@teonlamont

please add WIP or MRG in PR title to know if it's WIP or ready thx

sorry ... it's a PR.

Sure but indicate in pr title if it's ready for merge. Thx

Yeah, I have now!

Ah, like this ..?

maybe this helps @jona-sassenhagen ?
https://github.com/mne-tools/mne-python/pulls?utf8=✓&q=is%3Apr+is%3Aclosed+MRG
https://github.com/mne-tools/mne-python/pulls?utf8=✓&q=is%3Apr+is%3Aclosed+WIP

Yes, I get it now :)

yep!

@jona-sassenhagen are there any other parameters in the header file that are currently underspecified?

I don't think so, and the files work flawlessly with this fix ... here is the full file I'm dealing with:
Brain Vision Data Exchange Header File Version 1.0
; Data created from the EEGLAB software

[Common Infos]
DataFile=10.dat
MarkerFile=10.vmrk
DataFormat=BINARY
; Data orientation: VECTORIZED=ch1,pt1, ch1,pt2..., MULTIPLEXED=ch1,pt1, ch2,pt1 ...
DataOrientation=VECTORIZED
DataType=TIMEDOMAIN
NumberOfChannels=129
DataPoints=292805
; Sampling interval in microseconds if time domain (convert to Hertz:
; 1000000 / SamplingInterval) or in Hertz if frequency domain:
SamplingInterval=10000

[Binary Infos]
BinaryFormat=IEEE_FLOAT_32

[Channel Infos]
; Each entry: Ch<Channel number>=<Name>,<Reference channel name>,
; <Resolution in microvolts>,<Future extensions..
; Fields are delimited by commas, some fields might be omited (empty).
; Commas in channel names are coded as "^A".
Ch1=E1,,
Ch2=E2,,

and so on, until ...
Ch127=E127,,
Ch128=E128,,
Ch129=Cz,,

And that's it.
A thing might be that the comments say info["highpass"] and ["lowpass"] are set to zero if no filter is found in the header, but they're instead set to None, but I hope I got all parts of the code where that might be a problem.

@agramfort like this? ('resolution' is an empty string in this case)

Thx

Sorry for making a 4-line fix such a complicated thing

No pb


Python3.8 --onefile softlock

There is a problem with my environment, but I don't know why. When using --onefile option, the program is always acquiring a lock, and freezes.
This only happens with this version of python, I have python 3.10 and that works fine.
Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
2.0.1
Commercial: None
Python: 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)]
Flavor: Unknown
Executable: E:\Python\py.exe
OS: Windows
Arch: x86_64
WindowsRelease: 10
Nuitka-Scons: Mismatch between Python binary ('E:\Python\py.exe' -> 'pei-x86-64') and C
Nuitka-Scons: compiler ('C:\bin\gcc.exe' -> 'pei-i386') arches, that compiler is ignored!
Version C compiler: ~\AppData\Local\Nuitka\Nuitka\Cache\downloads\gcc\x86_64\13.2.0-16.0.6-11.0.1-msvcrt-r1\mingw64\bin\gcc.exe (gcc 13.2.0).

(By the way, the gcc version downloaded by python3.10 and 3.8 is strangely different.)
# python -m nuitka 1.py --show-progress --onefile
Nuitka-Options: Used command line options: 1.py --show-progress --onefile
Nuitka: Starting Python compilation with Nuitka '2.0.1' on Python '3.8' commercial grade 'not
Nuitka: installed'.
Nuitka-Memory: Total memory usage before processing:: 35.61 MB (37343232 bytes)
Traceback (most recent call last):
  File "E:\Python\lib\site-packages\nuitka\__main__.py", line 172, in <module>
    main()
  File "E:\Python\lib\site-packages\nuitka\__main__.py", line 158, in main
    MainControl.main()
  File "E:\Python\lib\site-packages\nuitka\MainControl.py", line 1120, in main
    _main()
  File "E:\Python\lib\site-packages\nuitka\MainControl.py", line 969, in _main
    main_module = _createMainModule()
  File "E:\Python\lib\site-packages\nuitka\MainControl.py", line 156, in _createMainModule
    main_module = buildMainModuleTree(
  File "E:\Python\lib\site-packages\nuitka\tree\Building.py", line 1224, in buildMainModuleTree
    stdlib_modules_names=detectStdlibAutoInclusionModules(),
  File "E:\Python\lib\site-packages\nuitka\freezer\ImportDetection.py", line 343, in detectStdlibAutoInclusionModules
    _stdlib_modules_names = _detectStdlibAutoInclusionModules()
  File "E:\Python\lib\site-packages\nuitka\freezer\ImportDetection.py", line 330, in _detectStdlibAutoInclusionModules
    return _detectImports(command=import_code)
  File "E:\Python\lib\site-packages\nuitka\freezer\ImportDetection.py", line 74, in _detectImports
    _stdout, stderr, exit_code = executeProcess(
  File "E:\Python\lib\site-packages\nuitka\utils\Execution.py", line 452, in executeProcess
    stdout, stderr = process.communicate(input=process_input)
  File "E:\Python\lib\subprocess.py", line 1024, in communicate
    stdout, stderr = self._communicate(input, endtime, timeout)
  File "E:\Python\lib\subprocess.py", line 1395, in _communicate
    self.stdout_thread.join(self._remaining_time(endtime))
  File "E:\Python\lib\threading.py", line 1011, in join
    self._wait_for_tstate_lock()
  File "E:\Python\lib\threading.py", line 1027, in _wait_for_tstate_lock
    elif lock.acquire(block, timeout):
KeyboardInterrupt

1..py
print(1)

Your flavor not being detected probably means it's a very non-standard Python, what is it?

import sys
sys.implementation
namespace(cache_tag='cpython-38', hexversion=50856176, name='cpython', version=sys.version_info(major=3, minor=8, micro=0, releaselevel='final', serial=0))
OK, since I know it is because the flavor is not detected, this may not be a bug.

The flavor is not that, this value is never changed by any flavor, e.g. Anaconda will have it too, and probably every other one too.
Nuitka not detecting the origin means it's not a supported one, and you seem incapable of telling which one it is. If that's like so, we better give up on this.

Thanks! Then I'd better close it.


non-resource variables are not supported in the long term

I get this error
line 351, in from_argparse
    key
mlagents.trainers.exception.TrainerConfigError: The option default was specified in your YAML file, but is invalid.

run
python -m mlagents.trainers.upgrade_config trainer_config.yaml trainer_config_new.yaml


Feature/cdn

Added cdnify.js and updated package.json to reflect this dependency.

It appears this feature isn't being pursued in this way right now. I'm going to close the PR. If it needs to be re-opened, feel free to comment here.


Error encountered when calling log_predictive_density on GPCoregionalizedRegression model

Hi everyone,
I was wondering what is the correct method to obtain the log_predictive_density when using a GPCoregionalizedRegression  model?
I have tried the following approaches, and both result in the same error being thrown
AttributeError: 'MixedNoise' object has no attribute 'gp_link'
Sample 1:
lcm = GPy.util.multioutput.LCM(input_dim=28,num_outputs=2,kernels_list=[k1,k2])
m = GPy.models.GPCoregionalizedRegression([x_train, x_train], [y1_train, y2_train], kernel=lcm)
m.optimize(messages=False)
m.log_predictive_density(newX, newY)

Sample 2:
lcm = GPy.util.multioutput.LCM(input_dim=28,num_outputs=2,kernels_list=[k1,k2])
m = GPy.models.GPCoregionalizedRegression([x_train, x_train], [y1_train, y2_train], kernel=lcm)
m.optimize(messages=False)
noise_dict = {'output_index':newX[:,-1].astype(int)}
m.log_predictive_density(newX, newY, Y_metadata=noise_dict)

I've confirmed that Sample 1 works fine when using the GPRegression model, and noise_dict in Sample 2 also gives correct results for mean, var = m.predict(newX, Y_metadata=noise_dict). Am I missing some adjustment for the log_predictive_density function specifically?
Thanks for your time!

My implementation is very similar to yours and have run into the same issue. Did you find a solution?


Remove lifted fluent restriction when extracting lifted model

fixes ValueError: Could not determine whether the model is grounded or lifted. Fluents are of type <class 'macq.extract.locm.LOCM._step7.<locals>.TemplateFluent'> while actions are of type <class 'macq.extract.learned_action.LearnedLiftedAction'>
now getting mismatched sorts from tarski on example


support old url syntax

The url syntax can come from:

permalink
view all on record related table

This syntax should be converted to the new facet structure.

We decided to drop the support for old urls.


Feature Request: Per page settings using frontmatter.

I'd like to be able to have different settings for each page, and they can set using frontmatter fields. Every setting in the plugin could be its own field. Each note could also specific a specific page name to move completed items to.

Hello, @YousufSSyed
There is now a 'rules' mechanism in the settings, which is potentially more flexible than front-matter. E.g. if you wanted to move tasks from specific files to specific pages, you would have to copy over the front-matter config to each of those files, whereas there could be just one rule covering all those files in one place.
Which settings would you like to be specific to a file?

I was thinking something like this: on a page, rules could be written in for if a task is a certain kind, then .
---
Archiver-Rule1-When: -
Archiver-Rule1-Then: Folder/ Incomplete
---

So if , it gets moved to a page called "Incomplete" in a folder called "Folder." There could also be frontmatter to overwrite the plugin settings. Like maybe you want some pages to archive tasks with a heading, and some not to.

@ivan-lednev can rules be used to handle that I want some files to archive tasks to a separate file (long running areas) while other file (short running projects) to archive tasks within the same file?

It doesn't seem like rules can do that right now, they're applied to all pages only. So I made this feature request: Feature Request: allow users to make lists of pages that can be whitelisted or blacklisted from rules.
That's also what I'm trying to propose here, where you can write your own rules for specific pages with frontmatter.

@tonyxiao, since 0.23.0 you can define a list of path patterns that get handled by each rule.

Looks good, does it completely support regex, or at least to the degree it can?
I should note that it seems like rules that are on top take priority. So one that's one top that applies to all pages is used rather than one below for specific pages. I opened this FR: https://github.com/ivan-lednev/obsidian-task-archiver/issues/43
I also opened this one: https://github.com/ivan-lednev/obsidian-task-archiver/issues/44


[#noissue] Update agent configuration texts

Codecov Report

Merging #7178 into master will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #7178   +/-   ##
=======================================
  Coverage   38.92%   38.93%
=======================================
  Files        3295     3296    +1
  Lines       95957    95957
  Branches    11974    11968    -6
=======================================
+ Hits        37353    37359    +6
+ Misses      55635    55626    -9
- Partials     2969     2972    +3

Impacted Files
Coverage Δ

...rp/pinpoint/rpc/control/ControlMessageDecoder.java
64.28% <0.00%> (-14.29%)
:arrow_down:

...vercorp/pinpoint/rpc/packet/ClientClosePacket.java
55.55% <0.00%> (-11.12%)
:arrow_down:

.../pinpoint/rpc/client/PinpointClientHandshaker.java
60.00% <0.00%> (-6.43%)
:arrow_down:

...p/pinpoint/plugin/vertx/VertxHttpServerConfig.java
76.00% <0.00%> (-4.00%)
:arrow_down:

...navercorp/pinpoint/rpc/common/SocketStateCode.java
82.92% <0.00%> (-2.44%)
:arrow_down:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
79.22% <0.00%> (-1.77%)
:arrow_down:

...java/com/navercorp/pinpoint/rpc/DefaultFuture.java
74.16% <0.00%> (ø)

...m/navercorp/pinpoint/plugin/resin/ResinConfig.java
0.00% <0.00%> (ø)

...corp/pinpoint/plugin/jetty/JettyConfiguration.java
0.00% <0.00%> (ø)

...rcorp/pinpoint/plugin/undertow/UndertowConfig.java
0.00% <0.00%> (ø)

... and 9 more

Continue to review full report at Codecov.

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


Test that scalebar label font color is respected

This is related to mapfish v2 issue: mapfish/mapfish-print#141.

This works, the font-color is used correctly.


Fix U2F for Yubikey 5 tokens

This change avoids AppArmor blocking access to the Yubikey 5 hardware token for 2FA functionality in the Tor browser.

Thanks @jcharaoui :)


improve the quality of some images in fair tutorials

improve the quality of some images in fair tutorials

Thanks @khaled196


Change start of NamedIndividuals' suffices to use last path-segment of class's IRI

Please see the first patch's log message for this PR's rationale.

I think this PR should wait for merging until after the Adoption Committee meeting on 2023-05-09.

Discussed and approved in the 2023-05-09 Adoption Committee meeting


Fixed #963 - Cannot pull changes after sync_gateway goes offline, the…

…n online
Root Cause : see https://github.com/couchbase/couchbase-lite-java-core/issues/963#issuecomment-177007753
Solution: In case http status is error and  mode is one shot, should not continue to process response for _changes API
TEST: I used GrocerySync and SG 1.2 for test.

One of problems: In case of error, response from SG is not JSON Array. But ChangeTracker expects JSON Array, it causes infinite loop.

@hideki I couldn't find how above issue gets handled in this PR. Can you provide more information?

Can you provide more information?

This issue is not caused by retry logic. Retry logic is handle by Pull replicator. This PR does not change any retry logic. The issue is caused by entering infinite-loop at ChangeTracker.java Line 389 because response body is JSON without  Array. See blow message body.
{"error":"Service Unavailable","reason":"DB is currently under maintenance"}

Initial value of ChangeTracker's mode variable is  [OneShot] (https://github.com/couchbase/couchbase-lite-java-core/blob/d704e12d973a1dcd763dd897ad34f0fee3950b5f/src/main/java/com/couchbase/lite/replicator/PullerInternal.java#L135-L139).
Some reason (I need to investigate this more), ChangeTracker is running with OneShot mode without switching to LongPoll mode for retry. Then, ChangeTracker enters infinite loop that is described before.
This PR makes ChangeTracker immediately stops if HTTP Status is Error in case mode is OneShot.

@pasin, Please ping me if you need further information.

@hideki I understand what you describe but

Either normal or longpoll mode, change tracker will return the same format. In case of 503 error, ChangeTracker in longpoll mode also gets the same error massage in the body but it can handle that. Why can't we process the body the same way between normal and longpoll mode?

When we know that we have an error for both one-shot and longpoll mode, can we skip parsing the body (I think this is what iOS is current doing)?

If we really need the while loop to find an array, is it possible to check the end of content and exit the loop?

I have same question. I will investigate it.
As you wrote, longpoll mode also should skip parsing.
I will apply your suggestion.

Hi @pasin,

Both OneShot and LongPoll modes could use same parsing logic. But I don't have enough confidence to change code just before 1.2.0 release. So I will update parsing logic for v1.3 release. https://github.com/couchbase/couchbase-lite-java-core/issues/969
As you suggested, I found problem in the error condition check in initial PR. I fixed it.
In case mode is LongPoll and HttpStatus is error, skip to parse response body.
I also added end of token check for OneShot mode parsing code.

Please review latest PR?
Thanks!


Bug: Add Hover & click Effect to Button 'More' in projects card in projects route

What happened?
Currently, the button 'More' with arrow lacks a hover effect, which affects the overall user experience. I propose adding a simple hover effect as of left button 'GitHub' has, to enhance the button's interactivity and provide visual feedback to users.
For click effect. I would like to decrease the scale as scale-95 for both the buttons shown in the project card.
Add screenshots
https://github.com/priyankarpal/ProjectsHut/assets/104740281/69c5ef02-8636-43f6-8767-0b4262359b9a
What browsers are you seeing the problem on?
No response
Record

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

assigned to you


Ginkgo CI: validate tests/16-cidr-ingress-policy.sh is migrated over to Ginkgo framework

Validate that the functionality in this test is migrated over to the Ginkgo framework - provide references to which test in the Ginkgo framework covers this as a comment on this ticket. If there needs to be changes to achieve parity, make necessary additions to the Ginkgo framework to achieve parity.

Was looking at this to debug something locally, and the Ginkgo test right now doesn't seem to be doing much, because this is the policy it is adding:
script := fmt.Sprintf(`
			[{
				"endpointSelector": {
					"matchLabels":{"id.httpd1":""}
				},
				"ingress": [
					{"fromEndpoints": [
						{ "matchLabels": {"id.app1": ""}}
					]},
					{"fromCIDR":
						[ "%s/32", "%s" ]}
				]
			}]`, app1[helpers.IPv4], app1[helpers.IPv6])

We are allowing traffic from the app1 endpoint, but also allowing traffic from its CIDR, which is redundant. We need to see in the Ginkgo test if a CIDR that is not attached to an endpoint has traffic allowed / denied in accordance with the added policy.


raspberrypifw: fix cross 'builds'

Motivation for this change
unprefixed ar is not found when cross compiling. the change in this PR allows it to build
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Fits CONTRIBUTING.md.

@grahamcofborg build pkgsCross.raspberryPi.raspberrypiWirelessFirmware

Success on x86_64-linux (full log)
Attempted: pkgsCross.raspberryPi.raspberrypiWirelessFirmware
Partial log (click to expand)
unpacking sources
unpacking source archive /nix/store/lqm5hnip4g4b05x6w248fcqxwbjlypcb-bluez-firmware_1.2-3+rpt5.debian.tar.xz
unpacking source archive /nix/store/pqcwn6nq03f2dixwbkmq9c528l4y0v09-firmware-brcm80211_20161130-3+rpt3_all.deb
source root is .
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file ./debian/patches/series
patching sources
configuring
no configure script, doing nothing
installing
/nix/store/fanqskh220zsnxawsvwx6l3bzy9pyc3h-raspberrypi-wireless-firmware-2018-05-30-armv6l-unknown-linux-gnueabihf

Failure on x86_64-darwin (full log)
Attempted: pkgsCross.raspberryPi.raspberrypiWirelessFirmware
Partial log (click to expand)
post-installation fixup
patching script interpreter paths in /nix/store/j3q1fga69iyxr7gd5r8j8nx2hidp4w3z-armv6l-unknown-linux-gnueabihf-stage-static-gcc-debug-wrapper-7.3.0
building '/nix/store/cr067wcz3jva6s4a2b6bkqi33l3dwva2-stdenv-darwin.drv'...
cannot build derivation '/nix/store/jrlhaz3vcd58jg5ii4l2aama5xii54qp-glibc-2.27-armv6l-unknown-linux-gnueabihf.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/bb47wkwzmii22wk7bn6mgbkl8hph5l6d-armv6l-unknown-linux-gnueabihf-binutils-wrapper-2.30.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/5afw0blzkkdfnxj7zk46hl2c7wb02yi7-armv6l-unknown-linux-gnueabihf-stage-final-gcc-debug-7.3.0.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/820kw5613vhaa30i2idczmgx986y3fr3-armv6l-unknown-linux-gnueabihf-stage-final-gcc-debug-wrapper-7.3.0.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/1cx81ax9ndsah42m0nyrh51y63jbzmdr-stdenv-darwin.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ri5lnnzk6zz8z7w88l0bjv4kgywmdf1f-raspberrypi-wireless-firmware-2018-05-30-armv6l-unknown-linux-gnueabihf.drv': 1 dependencies couldn't be built
error: build of '/nix/store/ri5lnnzk6zz8z7w88l0bjv4kgywmdf1f-raspberrypi-wireless-firmware-2018-05-30-armv6l-unknown-linux-gnueabihf.drv' failed

Success on aarch64-linux (full log)
Attempted: pkgsCross.raspberryPi.raspberrypiWirelessFirmware
Partial log (click to expand)
unpacking source archive /nix/store/lqm5hnip4g4b05x6w248fcqxwbjlypcb-bluez-firmware_1.2-3+rpt5.debian.tar.xz
unpacking source archive /nix/store/pqcwn6nq03f2dixwbkmq9c528l4y0v09-firmware-brcm80211_20161130-3+rpt3_all.deb
source root is .
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file ./debian/patches/series
patching sources
updateAutotoolsGnuConfigScriptsPhase
configuring
no configure script, doing nothing
installing
/nix/store/g4mvw4y7v0467vmihjx5586g443f5mby-raspberrypi-wireless-firmware-2018-05-30-armv6l-unknown-linux-gnueabihf

Yeah, changing to fixed-output sounds better. Or maybe instead of open-coding the ar + tar, use dpkg -x.

Or actually, both should be done, they are not mutually exclusive. tar xf data.tar.xz will break if the archive format changes from xz to something else.

What I mean is you can use dpkg -x to unpack the thing in place of the ar + tar like here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/version-management/gitkraken/default.nix#L72

@dezgeg oh, of course. have updated


docs(readme): update tsup link

see https://github.com/egoist/tsup/issues/1134

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


fix: Unify BaseDocument and Document

WORK

Removed BaseDocument from base_document.py

Removed Inheritance of BaseDocument from Document

- class Document(BaseDocument):
+ class Document:

Added all methods of BaseDocument into Document

Rename BaseDocument's __init__() to base_initialization()

changed 3 call :
https://github.com/frappe/frappe/blob/bc8d1eebb0b999df3d694896311348e66e96659e/frappe/model/document.py#L188
https://github.com/frappe/frappe/blob/bc8d1eebb0b999df3d694896311348e66e96659e/frappe/model/document.py#L211
https://github.com/frappe/frappe/blob/bc8d1eebb0b999df3d694896311348e66e96659e/frappe/model/document.py#L230

Moved some attributes and method to document.py from base_document.py

Give alias for compatibility to BaseDocument import in other file as :

from frappe.model.document import Document as BaseDocument

closes :  https://github.com/frappe/frappe/issues/16811

your PR has merge conflicts. they need to be resolved. I think you just copied the files from your older PR - this wasn't what was expected. the file contents need to match with the file contents as in the develop branch (v16).


Refactor Codecs.

As in the Javascript and Python versions, the message codecs should be refactored into a single class per message type (rather than a GossipEncoder and a GossipDecoder for example).

Complete.


Re - Scanning BLE devices

To help us fix your issue, please provide the information in the below template. If something causes a crash, provide as much information as you can gather.
Just imagine: we do not know what you are doing!

Note: There is often little we can do without a minimal reproducible sample of the issue, so please provide that in a standalone git repository and link it here.
When using the BLE plugin,
I have a problem when re-scanning BLE devices.
I created an object that scans BLE devices, finds the desired device and then reads the data from the characteristics.
An adapter is created in the object:
bluetoothAdapter = CrossBluetoothLE.Current.Adapter;
used:
private void OnDeviceDiscovered (object sender, DeviceEventArgs args)
{
if (args.Device! = null &&! string.IsNullOrEmpty (args.Device.Name))
_gattDevices.Add (args.Device);
}
await bluetoothAdapter.StartScanningForDevicesAsync ();
The scan is successful, the data is read too. After that, the object is destroyed.
Then the same object is created again to re-receive data, but in this case, scanning no longer works.
Could you please clarify why the second scan does not occur?
Thanks in advance.

Steps to reproduce

Create an BLE Manager object, which provide scanning for device and read data
bluetoothAdapter = CrossBluetoothLE.Current.Adapter;
private void OnDeviceDiscovered (object sender, DeviceEventArgs args)
{
if (args.Device! = null &&! string.IsNullOrEmpty (args.Device.Name))
_gattDevices.Add (args.Device);
}
await bluetoothAdapter.StartScanningForDevicesAsync ();
Read data;

After that application destroy this object.

Application creates the same object to re-read the data, but scanning no longer works.

Expected behavior
Tell us what should happen
Everything should work as in the first case.
Actual behavior
Tell us what happens instead
Scanning no longer works.
Crashlog
If something causes an exception paste full stack trace + Exception here
Configuration
Version of the Plugin: e.g. 1.0.0 / 1.0.1-alpha3
Platform: e.g. iOS 10.1 / Android 4.4 / ... (including version!!! e.g. Android 5.1 / i0S 10)
Device: e.g. HTC Sensation /i Phone 7 ...

Hi @leomurmur,
I'm the friendly issue checker.
Thanks for using the issue template :star2:
I appreciate it very much. I'm sure, the maintainers of this repository will answer, soon.

Hello,
is there any solution for this issue? I can provide more information if needed.
Thank you

is there a solution to this problem?

Not yet.

Have the same problem with the latest version 2.1.3, Android 10 & 11.

Thanks for the confirmation. So far it was not even clear on which platform it occurs.

Currently there is a hotfix: You can disable Bluetooth and then enable it again.
var bluetoothAdaper = ((BluetoothManager)Application.Context.GetSystemService(BluetoothService)).Adapter;
bluetoothAdapter.Disable();
while (bluetoothAdapter.State != State.Off)
    await Task.Delay(10);
bluetoothAdapter.Enable();

But that no longer works with Android 13 and any connected device loses the connection.

disable()
This method was deprecated in API level Tiramisu. Starting with Build.VERSION_CODES.TIRAMISU, applications are not allowed to enable/disable Bluetooth. Compatibility Note: For applications targeting Build.VERSION_CODES.TIRAMISU or above, this API will always fail and return false. If apps are targeting an older SDK (Build.VERSION_CODES.S or below), they can continue to use this API.


[INPUT-TOGGLE] Doesn't have the expected behaviour

Current behaviour
When the toggle has a rawInputValue set from a store (by example usrStore.usr.isAsctive ==> true) the toggle doesn't display the good information. Switching between our users make the input change but never with the good behaviour.
Good to know, when we look at the data, this data is always good
Expected behaviour
To toggle true or false in a good way
Versions
focus4 : 1.5.8-preview1

After some investigations, it looks like the Switch component from MDL cannot be updated after the initial render. Just use something else...


Add MoKee ROM

Service Name
MoKee ROM

MoKee ROM - Android Community Operating System
License: MIT
Why do you think this helps users privacy?: It's an alternative to Google Android, open source
Under what section should this service be listed?: Operating Systems > Android
Additional comments / info: It uses Android 10 so it's updated

Can you describe the privacy features that make MoKee different from AOSP?

Can you describe the privacy features that make MoKee different from AOSP?

About privacy, is equal to AOSP, however, I suggest it due to its facility to download, install and update the system, that it allows you to root easily and it is constantly and frequently updated. It's very similar to LineageOS so it's like an alternative and it supports some devices that LineageOS doesn't


Crops header incorrectly colored as "Some Crops Grown Out" when crops are withered

As per the title, when some crops are grown out and some crops are withered, the Crops header is showing up with the "Some Crops Grown Out" coloring, which contradicts the ingame description of how it should function.

The header color defaults were just wrong. That's probably also the error for your other issue.


should func getValue free value?

Hello.
Just a question: func getError() calls free(), should also getValue() call ValueFree() or C.free()?

No it shouldn't as you likely want to do other operations on the Value, if it was freed other calls the the Value would panic.
Value's are tracked by the Context that they are created and are freed once context.Close() is called.


storage_driver definitions in docker-compose.yml aren't creating storageDriverService in rancher

Rancher Version: master
Docker Version: n/a
OS and where are the hosts located? (cloud, bare metal, etc): n/a
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB) n/a
Environment Type: (Cattle/Kubernetes/Swarm/Mesos) n/a
Steps to Reproduce:
Run nfs system template via CLI rancher stack create --system or via UI
Results: storage_driver definition is not present in service "data" field
Expected: storage_driver definition is present in service "data" field
network_driver definitions should also be passed in cattle API requests when specified in docker-compose.yml

@LLParse I'm not sure what you mean by service data field.
Using rancher-compose v0.11.0-rc9
Using master from nov 8
I used the following ymls
nfs-driver:
  privileged: true
  image: rancher/storage-nfs:v0.1.1
  pid: host
  labels:
    io.rancher.scheduler.global: 'true'
    io.rancher.container.create_agent: 'true'
    io.rancher.container.agent.role: environment

rancher-compose.yml
nfs-driver:
  storage_driver:
    name: rancher-nfs
    scope: environment
    volume_access_mode: multiHostRW

Launching in rancher-compose CLI,  I can see the service and in the API, I see the storage_driver definition

Can you look again? I am wondering if you had an older version of cattle or rancher-compose.

@deniseschannon It was the opinion of @ibuildthecloud that the storageDriver definition should be put int the docker-compose.yml file. It is understood by the team that it functions when defined in rancher-compose.yml.

It should be supported in both, but are we going to put it in docker-compose.yml by default? Do we put other Rancher specific items in docker-compose.yml in the catalog?

I don't think we put any of the rancher-specific stuff in docker-compose.yml today. Since the definition works in rancher-compose.yml, I don't see this as a high priority item.

@joshuacox @LLParse The idea is that rancher-compose.yml should be optional.  (with the exception of the .catalog key, that's a different story).  So storage_driver should work if I put it in the docker-compose.yml or rancher-compose.yml as a field of the service.  In v1 or v2 format.

Regardless of where it is, I believe that the driver is setting storage driver correctly in the API.
@LLParse If you have any more issues, please re-open.

@deniseschannon I tested this and it does not work in docker-compose.yml, the definition does not appear in the API and the storage handler can't do its thing. It does appear in the API when placed in rancher-compose.yml.

Determined the issue
When storage_driver is in rancher-compose.yml, it correctly creates a storageDriverService in Rancher as expected, but when it's in docker-compose.yml, it creates a service.
updated the templates so that storage_driver is in rancher-compose.yml so that it works, but need a fix in rancher-compose.

Validated in v1.6.0-rc1. The following docker-compose.yml produces a storage service:
nfs-driver:
    nfs-driver:
    storage_driver:
      name: rancher-nfs
      scope: environment
      volumeAccessMode: multiHostRW
    start_on_create: true
    privileged: true
    image: rancher/storage-nfs:v0.1.1
    pid: host
    labels:
      io.rancher.container.agent.role: environment
      io.rancher.container.create_agent: 'true'
      io.rancher.scheduler.global: 'true'


wrong preview shown, when opening layout-chooser

v27
Windows version:
10.0.19042 Build 19042
expected behaviour:
Pressing win+` shows me the currently active Layout, in this case "David's layout".
observed behaviour:
It shows me 4-Columns (or something that looks like 4 columns, anyway).
screenshot:
https://imgur.com/mtUaWJT

Figured out partial cause.
The bottom 1080p monitor was at 2-columns.
Somehow this preview got scaled up to twice the width and it turned to 4-columns on the 4k monitor.
But I'm unsure when this happens exactly and when it doesn't.
Right now, I can't consistently replicate it.

What's the win+` menu called, btw?
There's no window-title, anymore :(

@enricogior, any ideas how to repro this?

@DavidGretzschel
is this 0.27.0 or 0.27.1?


The structure of the tree is crumbling

I have two flows in different forms when switching with a router from one flow to another, flow loses his shape.
And when i refresh the page it returns his form
I use react-flow and dagre

You need to wrap each flow with its own ReactFlowProvider.

Great! Thank you !!!
Пн, 2 авг. 2021 г. в 18:49, Moritz Klack @.***>:

Closed #1410 https://github.com/wbkd/react-flow/issues/1410.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/wbkd/react-flow/issues/1410#event-5099894565, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASVMANQZW7P2EFI4TX3F6PDT225CPANCNFSM5BM6WSVA
.

--
Kirill Aleshkin
Front-end developer
E:     @.***
M:   +972-53-7152801
T:    +972-4-6067772
ciValue https://www.civalue.com/ | Linkedin
https://www.linkedin.com/company/civalue/ |Twitter
https://twitter.com/CivalueInfo | Facebook
https://www.facebook.com/ciValue/ | YouTube
https://www.youtube.com/channel/UCptpJpBGE_WjmqgIVvgzn6A
ciValue was named a 2019 Cool Vendor in Retail for
Excellent Execution of Customer Expectations by Gartner
Download the full report HERE
https://www.civalue.com/lp-download-cool-vendor-report
https://www.civalue.com/


Permission overlay shows repetitive keywords

Found in: https://happa.g8s.gorilla.eu-central-1.aws.gigantic.io/organizations/giantswarm-demos/access-control

Select the read-all role
Select the Permissions tab
Scroll down to the pods/log resources where G (get) and L (list) are highlighted
Hover the permissions column

A big tooltip appears with content get, get, get, get, get, get, get, get, get, get, ... list, list, list, list, list, list, list, list, .

Each permission keyword should appear only once. Here it should be get, list.

We could filter for unique verbs in happa, but looking at the read-all Cluster Role on several installations (including gorilla) show that the following permission rule is repeated multiple times in the resource definition, resulting in the long list we see in the UI:
- apiGroups:
  - ""
  resources:
  - pods/log
  verbs:
  - get
  - list

I think we need to move defining and appending this policy rule out of the for loop in rbac-operator.

Released with rbac-operator v0.33.3


py: clarify hf install instructions

Closes: #370

Description

How Has This Been Tested?

Merge criteria:

All the commits have been signed-off  (To pass the DCO check)

[ ] The commits have meaningful messages; the author will squash them after approval or in case of manual merges will ask to merge with squash.
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[ ] The developer has manually tested the changes and verified that the changes work.
[ ] Code changes follow the kubeflow contribution guidelines.

If you have UI changes

[ ] The developer has added tests or explained why testing cannot be added.
[ ] Included any necessary screenshots or gifs if it was a UI change.
[ ] Verify that UI/UX changes conform the UX guidelines for Kubeflow.

cc: @rareddy @tarilabs

should we go for this in addition to https://github.com/kubeflow/model-registry/pull/373 or as an alternative to it? 🤔
asking because I didn't see comments on #373 and noticed this PR now.

@tarilabs so sorry for duplicating this, I felt like I had already looked at notifications for the day 🙃 . Could you take the message on the import error to your PR then? closing this one.


sleep fails in export_data()

"time" is a parameter in export_data() is a parameter and also there is the python library "time", so time.sleep() fails.
Maybe we can rename the "time" parameter to "time_span" to fix this.

sounds good to me


error accessing easyengine/mail when installing beta 4 v2

Error message

Error response from daemon: pull access denied for easyengine/mail, repository does not exist or may require 'docker login

Debian 9
beta 4 v1 was already installed

Having the exact same issue here and was about to open a new issue :-)
Brand new Ubuntu 16.04 node on DigitalOcean

@eddr @BoweFrankema Can you please share the output of ee cli version. This issue should not be arising in EE 4.0.0-beta.2.

I'm unable to run that command because the installation of EE is not completing..
root@ee-clients-beta:~# ee cli version
/usr/bin/env: 'php': No such file or directory
root@ee-clients-beta:~#

@eddr If beta.1 was already installed, this issue will arise. There are breaking changes between beta.2 and beta.1. We're adding migration handling in beta.3 and you shouldn't face such errors when upgrading.
@BoweFrankema You seem to have missing dependencies. Please rerun the install script.

cli command output "EE 4.0.0-beta.2"
OK, so how do I uninstall ee and reinstall it?

for site in $(ee site list --format=text); do
  sed -i 's#easyengine\/mail.*#easyengine\/mailhog#' ~/ee-sites/$site/docker-compose.yml
  ee site reload $site
done

@eddr I believe this should solve your issue.

for site in $(ee site list --format=text); do
  sed -i 's#easyengine\/mail.*#easyengine\/mailhog#' ~/ee-sites/$site/docker-compose.yml
  ee site reload $site
done

@eddr I believe this should solve your issue.

@BoweFrankema Please open a new issue as your problem is different to the issue @eddr is facing. Your issue is related to install script.

@BoweFrankema  if you're getting this error message

Error response from daemon: pull access denied for easyengine/mail, repository does not exist or may require 'docker login'

During the run of installation script (wget -qO ee rt.cx/ee4beta && sudo bash ee), then don't worry about it. Site creation will still work.
If you're getting this error during site creation, then it is an issue. (During site-creation it will automatically pull the updated new image easyengine/mailhog instead of easyengine/mail which has been deprecated and removed.)
Also, this error during run of installer script has been handled for beta.3 release (https://github.com/EasyEngine/installer/pull/5)

@mbtamuli

PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such column: db_port in phar:///usr/local/bin/ee/php/class-ee-db.php on line 131
PHP Warning:  chdir(): No such file or directory (errno 2) in phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/Site_Command.php on line 493
Reloading nginx
Reloading php

Also, should the beta v2 mail function is now working?

@eddr You'll have to start from scratch with beta.2. The issues you're facing now are fixed in beta.2, but upgrading from beta.1 is not handled.

OK, you mean reinstall debian??
Can I simply remove ee and reinstall it? if so, how?

@eddr Sorry for the late reply.
For now you don't have a command to remove EasyEngine completely. We'll be introducing a uninstall command into EasyEngine beta4 release. Closing this issue for now.


Nested package structure

Is your feature request related to a problem? Please describe.
When you have a nested pkg structure like root/frontend/... the extension still tries to find your package.json at root/package.json instead of root/frontend/package.json
Describe the solution you'd like
Make the root path customizable

Having the same issue. Couldn't solve it. Some cwd option would really help.

Hi guys, that should be solved with the latest version (v0.2.39).
Could you give it a try?

This should be fixed in pre-release 0.5.0 and higher. Note that the extension now requires Vitest 1.4.0 or higher.


TS-4997: Move C++ API to plugins.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/960/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1068/ for details.

Hmmm, are we sure this makes sense? The CPP APIs aren't plugins, and we certainly don't put the TS API's into plugins. I could perhaps see this go into proxy somewhere.

I agree with Leif.  Looking at the patch again I think it is good to move the plugins to example/, but not all cppapi under plugins/.

As I mentioned, from a build and dependencies point of view, cppapi is a plugin. It depends on the TS API layer and is constrained (currently) from using any internal APIs. So the build is basically the same as a plugin.
It certainly does not belong in lib because it is not an internal library and is a consumer of the low layers. plugins is not the ideal home, but it seems like the best option for now.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1069/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/961/ for details.

I'll make a new PR that moves it to lib/cppapi. This isn't ideal, but it removes the unnecessary src directory and we can probably agree on it :)

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1073/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/965/ for details.


Improves tab menu

Resolved / Related Issues
Improves tab menu in horizontal mode. #4796
Details of Changes
Add command to reopen last closed.
show shortcuts in the menu.
Validation
How did you test these changes?

[ ] Built and ran the app
[ ] Tested the changes for accessibility

Screenshots (optional)

@yaichenbaum You are right.


@Getter, @Setter, @NoArgsConstructor, @AllArgsConstructor annotations order is restricted

I'm using Lombok in my Android app project. The following annotations work well:
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class GetBuildInfoRet {
    private boolean isInternal;
}

But if I change the order of some annotations, some methods are not generated. For example, if @Getter is placed after @Setter:

And if @NoArgsConstructor is placed before @Getter:

Is it the intended behavior?

This is not intended behavior. What's your Lombok and and IDE versions?

@omega09 I am using Java 8. The Lombok version is 1.16.18 and the Lombok plugin version is <IP_ADDRESS>. The IDE information is:
Android Studio 3.0 Beta 6
Build #AI-171.4333198, built on September 14, 2017
JRE: 1.8.0_152-release-915-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.12.13-1-ARCH


Pkg 4709 12.4 initial

Destination channel: defaults
Links

PKG-4709

Explanation of changes:

Part of CUDA 12.4 build, following conda-forge's pattern which was developed in conjunction with Nvidia. There isn't a need to stage these then release them all at once. They won't cause a problem released one at a time.
Please check the main branch too, this has just been forked
Changes made to adjust feedstocks for differences between conda-forge and defaults. Please see commit messages for description of changes.

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_b41o_v9wo4/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:64: license_file_overspecified: Using license_file and license_url is overspecified.

===== ERRORS =====

clone/recipe/meta.yaml:64: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:64: missing_dev_url: The recipe is missing a dev_url
===== Final Report: =====
2 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_75fuk6exxn/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:64: license_file_overspecified: Using license_file and license_url is overspecified.

===== ERRORS =====

clone/recipe/meta.yaml:64: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:64: missing_dev_url: The recipe is missing a dev_url
===== Final Report: =====
2 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_c33glv3ak6/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:68: license_file_overspecified: Using license_file and license_url is overspecified.

===== ERRORS =====

clone/recipe/meta.yaml:68: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:68: missing_dev_url: The recipe is missing a dev_url
===== Final Report: =====
2 Errors and 1 Warning were found

Thanks for opening a PR upstream!

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_b9uaiezdk9/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:68: license_file_overspecified: Using license_file and license_url is overspecified.

===== ERRORS =====

clone/recipe/meta.yaml:68: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:68: missing_dev_url: The recipe is missing a dev_url
===== Final Report: =====
2 Errors and 1 Warning were found


Fix namer resolution of redefined methods

Motivation
Fixes an issue described in #1667 where the namer wouldn't resolve symbols correctly: in short, for LSP's sake, we need to be able to look up method symbols by parameter-list shape, so that when we check a file like this twice we know that only the second f is actually a redefinition:
def f; end
def f(x); end

Because we now look up by parameter-matching, we can find the correct f symbols if need be.
Test plan

See included automated tests. Instead of adding a new test case, this simply allows one of the existing tests to test the fast path where it previously did not.

This has switched show to universally not show mangled names, and additionally switched argument hashing over to a vector instead. The only comment that hasn't been addressed is the testing that would have caught the previous block arg problem, but I think that's a bigger issue for another PR.

This has switched show to universally not show mangled names

can this be extracted to a different PR?

https://github.com/sorbet/sorbet/pull/1673#discussion_r320979602 is also still worth extracting

Split out into #1705 and #1706 respectively.


Missing pre-requisites

The line in the script configuration "public_key     = file("/home/azureuser/.ssh/authorized_keys")" assumes that this is a local folder that exists with the appropriate keys in it - typically only present on a Linux host.  Anyone executing this on a Windows host would see a failure.

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

ID: dc3a8a34-f0f0-7aba-b45b-2c59d722b7de
Version Independent ID: 667d19a1-ff34-3979-105c-c0a918d29707
Content: Quickstart - Create a Linux VM with infrastructure in Azure using Terraform
Content Source: articles/terraform/create-linux-virtual-machine-with-infrastructure.md
Service: terraform
GitHub Login: @TomArcherMsft
Microsoft Alias: tarcher

@aricbernard Thank you for the feedback. I've added a note to the documentation explaining the requirements of the Azure VM Agent and warning Windows users.#please-close


Vue3 setup not working

Hi folks, thanks for trying to support vue3.
I have tried to use it on my demo app for a meetup.
I’m currently facing an issue while trying to use the lib. I got this error message :
webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:159 [Vue warn]: A plugin must either be a function or an object with an "install" function.
warn @ webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:159
webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:159 [Vue warn]: injection "Symbol(vue-axe)" not found.
  at <Popup>
  at <App>
warn @ webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:159
webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:159 [Vue warn]: Unhandled error during execution of setup function
  at <Popup>
  at <App>
warn @ webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:159
webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:338 Uncaught TypeError: Cannot read property 'results' of undefined
    at setup (webpack-internal:///./node_modules/vue-axe/dist/vue-axe.esm.js:3193)
    at callWithErrorHandling (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:275)
    at setupStatefulComponent (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:6518)
    at setupComponent (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:6479)
    at mountComponent (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:4219)
    at processComponent (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:4195)
    at patch (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:3822)
    at mountChildren (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:3995)
    at processFragment (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:4155)
    at patch (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:3815)

Please find the repo here to reproduce : https://github.com/Zenika/grenoble-hands-on-vuejs/tree/tests-a11y

@P0ppoff
Try to use use(VueAxe) on line 11

@P0ppoff
Try to use use(VueAxe) on line 11

Thanks a lot !
I haven't seen the diff between import and require object

Thanks a lot !
I haven't seen the diff between import and require object


Add WebIDLs for Filesystem Access API

IDL, MDN Docs
I'm pretty new to contributing to projects like this, please lmk if I did something wrong!
I followed the basic instructions listed in web-sys's Readme.
As far as I can tell, the bindings are correct. However, I don't really know what I am doing, especially about [Throws], so that assumption could be wrong.
The Filesystem Access API seems to be pretty stable, however some browsers do not support it (i.e. Firefox) so I added it to unstable.

Hopefully not a faux pas, but I wanted this too, including the PR feedback, so I made the changes for my personal use, and thought I'd offer it back here: #3427

Closing in favor of #3427.


Fallback values on server

Hi!
We are in the process of translating our website, so currently not everything is translated.
With the I18nProvider (client-side), that's not an issue.
However, with the server methods, there is no fallback available, and it returns the translation key.
From what I see in createGetI18n and createGetScopedI18n, the fallbackLocale is set to undefined.
Is there a reason to that ? Or am I missing something ?
I made a simple test on my end and passing a fallbackLocale directly in those like this, and it seemed to work.
We pass the parameters like this:
import { createI18nServer } from "next-international/server";

export const { getI18n, getScopedI18n, getStaticParams } = createI18nServer(
  {
    en: () => import("./en"),
    fr: () => import("./fr"),
  },
  {
    fallbackLocale: "fr",
  }
);

I think this is indeed something that we forgot to add. For the 1.0.0 release, the API has been updated to provide more flexibility and thus will contain options as the second argument to createI18n* just like you did.
I'm planning to release soon v1.0.0, so I think it's a good idea to release this feature along it (instead of updating the API just before a major)

I've published 1.0.0-rc.0 as a release candidate of the v1 release if you want to try this feature.
This release brings some breaking changes, you can see the upcoming changelog in the PR description: https://github.com/QuiiBz/next-international/pull/126

It's working fine with the release candidate, ty :)

Thanks for trying it out! Closing this issue as v1 will be released in the coming days/weeks.


Intermittently 525 SSL Handshake Error during high traffic

Hi, I have developed my app with this package to run live updates on the app contents, and have been in production for months. My app is using Cloudflare, flexible SSL mode. Regarding the Websocket server, I've been using https scheme, TLS true and port 8443, and it works like charm during normal hours.
However, during peak hours (roughly 2000 users keep on access the server api, and continuously and concurrently subscribing and unsubscribing to multiple channels, "525 SSL handshake error" begins to occur intermittently, looked like my server blocked something and causing unable to send any events to Websocket server for sometime, then it only recovers after awhile when the users become lesser.
What I can identify is this issue only occurs during high traffic.
I would like to ask, whether:

Keep on subscribing and unsubscribing to channel in extremely high frequency is causing this problem?
Or is that keep on sending events to Websocket server causing this.
Or is it some other possible issues causing this?

Thank you!

Cloudflare has websocket connection limits depending on which plan you have for your website, it might be worth looking into if you are using the free plan:
https://support.cloudflare.com/hc/en-us/articles/200169466-Using-Cloudflare-with-WebSockets

Cloudflare has websocket connection limits depending on which plan you have for your website, it might be worth looking into if you are using the free plan:
https://support.cloudflare.com/hc/en-us/articles/200169466-Using-Cloudflare-with-WebSockets

Thanks for the reply,
However I didnt receive any message like mentioning the problems so far, in the article u sent (like cloudflare telling me that my usage is beyond limit, etc), it seems like happened from origin server end, the error message is about Cloudflare is unable to complete the ssl handshake with my server.

Problem Solve!
It was caused by delay during SSL handshake between Cloudflare and my server due to occasional heavy load. I've changed the Cloudflare SSL mode from "Full" to "Flexible",
and set my values as below to fire event directly to localhost instead of going through Cloudflare in broadcasting.php:
'driver' => 'pusher',
'key' => 'XXXX',
'secret' => 'XXXX',
'app_id' => 'XXXX',
'options' => [
'cluster' => 'xxx',
'host' => '<IP_ADDRESS>',
'port' => 8443,
'encrypted' => false,
'scheme' => 'http',
'useTLS' => false,
'curl_options' => [
CURLOPT_SSL_VERIFYHOST => 0,
CURLOPT_SSL_VERIFYPEER => 0,
]
],