Double tapping in a CupertinoTextField behaves differently from native iOS components

Steps to Reproduce

In a CupertinoTextField, enter

Hello                          world

Double tap within the blank area between Hello and world

Current behavior
Only the blank spaces between Hello and world are selected.
Expected
The characters from H through the space character the first tap landed on should be selected.

Issue still exist on
Code Sample
import 'package:flutter/cupertino.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return CupertinoApp(
      title: 'Cupertino App',
      home: CupertinoPageScaffold(
        navigationBar: CupertinoNavigationBar(
          middle: Text('Cupertino App Bar'),
        ),
        child: Center(
          child: CupertinoTextField(),
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel dev, v1.16.3, on Mac OS X 10.15.4 19E266, locale en-GB)
    • Flutter version 1.16.3 at /Users/taha/Code/flutter_dev
    • Framework revision be3a4b37b3 (4 days ago), 2020-03-26 18:08:05 -0700
    • Engine revision b2bdeb3f0f
    • Dart version 2.8.0 (build 2.8.0-dev.17.0 1402e8e1a4)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/taha/Code/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4, Build version 11E146
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.43.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.8.1

[✓] Connected device (5 available)
    • SM M305F      • 32003c30dc19668f          • android-arm64  • Android 10
      (API 29)
    • Taha’s iPhone • 00008020-001059882212002E • ios            • iOS 13.4
    • macOS         • macOS                     • darwin-x64     • Mac OS X
      10.15.4 19E266
    • Chrome        • chrome                    • web-javascript • Google Chrome
      80.0.3987.149
    • Web Server    • web-server                • web-javascript • Flutter Tools

• No issues found!


NS++ recruitment CPU burn

When will NS++ be useable again?  In my two main regions, using NS++ slows the system down to a point of practical standstill (and then the page typically crashes), nor has NS++ sent out any recruitment TGs in about 3 weeks.

Are you using firefox?
I am about to release a bunch of changes for chrome, but investigating the problem I've heard of on firefox with excessive CPU usage may take some time.


[BB-9306] Change license to Apache 2.0

Description
This PR changes the license from AGPL to Apache 2.0
Supporting information
OpenCraft Internal Jira ticket: BB-9306

:+1:


Little error with the display of owned accessory and magical Power

A Friend of mine found out that the display of accessory's and the breakdown of accessory's for the calculation of the magic power don't add up if you have the same accessory multiple times in different rarity's like recombed and non recombed deletor's

so basically the total count and the break down have wrong values which weird
i dont have the know how so i should not say to much
but i believe its because of the fact that both accessory's are in the wrong place

(For references his acc: https://sky.shiiyu.moe/stats/Freddi004/Kiwi#Accessories)
I am not used to Github and i just made my account so i can report this bug if this has already been reported sry for wasting your time
thanks for your work
-some skyblock player

Fixed in https://github.com/SkyCryptWebsite/SkyCrypt/pull/1898


After upgrade from 3.0.0 plugin is not loaded correctly.

What issue do you have? Please be as thorough and explicit as possible.
I was using old version of this plugin 3.0.0.
Unfortunately after restore of homebridge my setup broke so i decided to install the latest version and switch to the cloud-control feature.
But after uninstalling 3.0.0, rebooting, instaling latest version, im receiving the following error:
[15/01/2022, 14:13:06] No plugin was found for the accessory "Meross" in your config.json. Please make sure the corresponding plugin is installed correctly.

Config.json:
{
            "name": "Meross",
            "username": supersecure",
            "password": "supersecure",
            "connection": "default",
            "debug": true,
            "accessory": "Meross"
        }

Plugin is installed correctly.
Complete server reboot did not solve the problem unfortunately
Details of your setup.

I use Homebridge UI-X

Which version of Homebridge/HOOBS do you have?
1.3.9

Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.
Rasperry Pi 1,  Node 16.13.1, npm 8.1.2

Which version of this plugin (homebridge-meross) do you have? Has the issue started since upgrading from a previous version?
6.7.1

Which Meross devices do you have that are causing issues? Please include product models if applicable.
All

hi @TautFlorian
i believe you need to remove the accessory line from your config, ie,
{
            "name": "Meross",
            "username": supersecure",
            "password": "supersecure",
            "connection": "default",
            "debug": true
        }

@bwp91 Thanks for the fast answer, that worked.
All devices have been loaded now, but now im receiving the error:
[15/01/2022, 14:31:26] [Meross] [Charger1] failed to request status as the request timed out.
For every device.
My settings are forcing cloud control.

Did you sort this out at all?

Did you sort this out at all?

It just worked after some waiting.


Is there any way to skip print preview dialog in android and ios both using this plugin

Yes, you can use the below code
cordova.plugins.
printer.print('Hello World,
{ printerId: '' }
);

Yes, you can use the below code
cordova.plugins. printer.print('
Hello World
,
{ printerId: '' }
);

Thank you for responding...could you please clarify what will go under printerid? will it be blank?

Yes, you can use the below code
cordova.plugins. printer.print('
Hello World
,
{ printerId: '' }
);

This might work with IOS, on android it is not working

Hope you are calling the plugin inside the deviceReady block ?
document.addEventListener('deviceready', function () {
cordova.plugins.
printer.print('Hello World',
{ printerId: '' }
);
});
Printer ID value can be the IP address of the printer that you are connected with

i am getting this error "Object literal may only specify known properties, but 'printerId' does not exist in type 'PrintOptions'. Did you mean to write 'printer'?"..it is allowing me to use name 'printer' instead of 'printerid'

Hope you are calling the plugin inside the deviceReady block ?
 document.addEventListener('deviceready', function () {
    cordova.plugins.
printer.print('
Hello World
',
{ printerId: '' }
);
 });

Printer ID value can be the IP address of the printer that you are connected with

i am getting this error "Object literal may only specify known properties, but 'printerId' does not exist in type 'PrintOptions'. Did you mean to write 'printer'?"..it is allowing me to use name 'printer' instead of 'printerid'

Yes, it must be 'printer'


Failed to load a json file from ICBM

https://gist.github.com/dmodoomsirius/9963d8a0aecd19c8db09005fc023eb1a
Might be because i have a space in the name of the path.

https://github.com/VoltzEngine-Project/Engine/commit/c1acabd2b507910240912c2c4aa9db926d51b7cc

Fixed https://github.com/VoltzEngine-Project/Engine/commit/46a872d5b31462fbd0133b5023e45b9e6359d42e


wireshark3.6: Add version 3.6.8

This is the last version of the official 32-bit Windows packages for Wireshark.
Details: https://www.wireshark.org/docs/relnotes/wireshark-4.0.0.html

[x] I have read the Contributing Guide.

/verify

/verify


Add LVI mitigation option

This PR adds the option for supporting build with LVI mitigation.
Signed-off-by: Ming-Wei Shih<EMAIL_ADDRESS>

/LGTM


Object in a different schema

within the same database, I created the view in a different schema
create or replace view "target".customer as (   select c.id,     f_mask_varchar(c.first_name) first_name,     f_mask_varchar(c.last_name) last_name,     f_mask_varchar(c.login) login,     c.email_address   from  "source".customer_raw c ) with no schema binding;
and then I ran
grant usage on schema "prolaio-target" to analyst_test;
and finally once querying the target view as the analyst_test user I get the error
ERROR: permission denied for schema source [ErrorId: 1-63df96c7-2cd9dfc8346e71ac66bec3da]
Does this mean that in fact the approach shown does not work if the view is created in a different schema than the one where the raw table exist?

I got the above to work by running
grant usage on schema "prolaio-source" to analyst_test;
which gives the user visibility to the schema but not to the underlying tables
when I test the same thing with a redshift spectrum schema it doesn't work at all. Is this example not applicable for redshift spectrum tables?


"numberFormat" style ignored

I just started using xlsx-populate (awesome API, by the way!) and am unsing it in the browser.
All things work so far, except that the numberFormat style is being ignored. I'm using the format can be found in the docs, for testing:
let val = new Date();
let cell = sheet.row(rowIdx + 2).cell(colIdx + 1);
cell.value(val);
cell.style("numberFormat", "dddd, mmmm dd, yyyy");

Displayed in Libre Office I only get the numeric date:

Same thing applies to currency cells that I tried to format as cell.style("numberFormat", "0.00 €");  - same problem (cols D and E in the screenshot).
I've attached the generated file: test (37).xlsx
I don't have the original MS Excel and can only test with LibreOffice Calc <IP_ADDRESS> on a Windows 10 PC that uses german locale (if that matters).
Am I doing something wrong?

Just noticed that applying cell.style("numberFormat", "dddd, mmmm dd, yyyy"); to any cell (even text cells) changes their display font from a sans-serif font to a serif font, despite Libreoffice reporting Cambria font for all cells. What is going on?

Ok, this seems to be LibreOffice related.
Excel displays the file as intended:

Still, could there be a slight xls-populate bug/incompatibility (or error on my side) that causes LibreOffice to display these cells incorrectly? Maybe Excel has better error handling or something?

That could definitely be the case. To find out you'd have to look at the xl/styles.xml file that are produced by Excel and LibreOffice to see what the differences might be. To look at them simply rename the .xlsx files as .zip and unzip.

The file generated by xlsx-populate contains this:

I'm not familiar with the file format, but this looks like the format I'm setting in the lib.
When I save the file as a copy with Libreoffice, I get this:

Here is the file:
test.37-libreoffice.xlsx
I can't do the same test with Excel because I have no licence (only a Excel Viewer).
Hope this gives you some hints....

test.38.xlsx
downloaded your generated file and saved as with excel 2013

As Alan shows, it looks like the difference is that when you set this number format in Excel it adds backslashes before the commas and spaces. xlsx-populate doesn't do that. I'm willing to bet that if you set the style with dddd\,\ mmmm\ dd\,\ yyyy that it will work properly in LibreOffice. Note you'll need to double up the backslashes when setting:
cell.style("numberFormat", "dddd\\,\\ mmmm\\ dd\\,\\ yyyy");

I'm guessing there is some format escape behavior that we're missing. I did some Googling but didn't find anything. If anyone can find some docs on the proper behavior that would be most helpful!

I'll poke around :P
On Aug 29, 2017 5:27 PM, "Dave T. Johnson"<EMAIL_ADDRESS>wrote:

As Alan shows, it looks like the difference is that when you set this
number format in Excel it adds backslashes before the commas and spaces.
xlsx-populate doesn't do that. I'm willing to bet that if you set the style
with dddd,\ mmmm\ dd,\ yyyy that it will work properly in LibreOffice.
Note you'll need to double up the backslashes when setting:
cell.style("numberFormat", "dddd\,\ mmmm\ dd\,\ yyyy");
I'm guessing there is some format escape behavior that we're missing. I
did some Googling but didn't find anything. If anyone can find some docs on
the proper behavior that would be most helpful!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dtjohnson/xlsx-populate/issues/78#issuecomment-325842187,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF7q0c5-iS_GbktA5mq92Ub44PqsnTppks5sdKxhgaJpZM4PC0hO
.

I'm willing to bet that if you set the style with dddd,\ mmmm\ dd,\ yyyy that it will work properly in LibreOffice.

I tried with...

Looks fine in Excel 2016 viewer (but stops using my german system date settings and uses english slashes instead) - but still shows the number in LibreOffice :-(

I'll mess around with Libra when I get to work and figure out how it stores
dates I'm interested in fixing this.. haha I use Libra office every day but
everyone else in my company uses office
On Aug 30, 2017 2:48 AM, "jampy"<EMAIL_ADDRESS>wrote:

I'm willing to bet that if you set the style with dddd,\ mmmm\ dd,\ yyyy
that it will work properly in LibreOffice.
I tried with...
[image: image]
https://user-images.githubusercontent.com/820758/29866491-d7e9638c-8d78-11e7-87fd-2266d6557939.png
Looks fine in Excel 2016 viewer (but stops using my german system date
settings and uses english slashes instead) - but still shows the number in
LibreOffice :-(
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dtjohnson/xlsx-populate/issues/78#issuecomment-325941377,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF7q0XzyIs_tR_k3cy8iJ1tx0lz8y_osks5sdTAIgaJpZM4PC0hO
.

Could it be related to the count attributes that are missing in the files generated by xlsx-populate?
I tried to manually patch the xlsx file by changing the node to <numFmts count="2"> but it did not help.

FYI, I have another web-generated xlsx file here that is being displayed correctly by LibreOffice. It begins with...
<?xml version="1.0" encoding="UTF-8" standalone="true"?>


Docs: "Improve this doc" button doesn't work

cc @dotansimha
http://www.angular-meteor.com/migration/angular2/intro

fixed and deployed

thanks for the heads up @lorensr


backwards input on Android < 4.4

Hey! I had someone file a complaint with a Samsung Galaxy 6 Edge, which looks to be a recent Android 5.1 phone?
I wasn't able ton get more info, nor do I have the phone, but I tested this library with emulators using 4.2 and 4.3 and figured it might be a similar problem. When you come across decorative characters, it types the first letter and moves the cursor to the left of it.
Phone numbers for example: trying to type in (123) would become (231), and the problem keeps compounding as you come across more.
I've heard Android keyboard events can be problematic for this kind of library. I was just wondering if you were aware and if maybe there's room for supporting fallback/compatibility behavior in the library itself?

@pstoica Thanks for the bug report.
I tried it on Samsung Galaxy Nexus with Lollipop and it's working fine. I realize Lollipop is newer than 4.4, but Android is at version 6 now, right? I don't think we can support that old of a version of Android.
Here's a video of what I tried


[REVIEW] qwe123coder

GitHub Profile Link:

https://github.com/qwel-exe

remove the profile view count due its inaccurate
maybe add a direct link to your discord

Nice profile! I would suggest you to remove the profile view counter as it works incorrectly, as mentioned above. Great you mentioned Eddie on our profile page!👍

thanks and how do you join the  EddieHub Organizations ?

@qwe123coder You would need to create an issue over here: https://github.com/EddieHubCommunity/support/issues/new?assignees=&labels=invite+me+to+the+organisation&template=invitation.yml&title=Please+invite+me+to+the+GitHub+Community+Organization and you would automatically get added into this organization.

Thank you for sharing, we will review on a live stream soon 👍

i made new updates in my readme.md

@qwel-exe I believe you changed your GitHub name... Please update the url in the description to https://github.com/qwel-exe

@qwel-exe I believe you changed your GitHub name... Please update the url in the description to https://github.com/qwel-exe

Other then that, really like the README.md... Like the banner, everything looks good!

Looks good, some thoughts...

Very creative
GitHub profile is very long (about 5 pages), suggest removing some widgets
On the contributing graph, try to do commits, issues and pull requests


minor fix for xrCreateActionSet

In the sample code, actionSetCI.priority is set after the call to xrCreateActionSet, it should be before?

Yep that should be done before calling xrCreateActionSet


Test improvements

Description :sparkles:
Make applicant tests run a bit faster by using a function that has fewer browser input steps. Also remove the nag that is caused because of masking the radio button's native <input>.

API branch is deployed to platta: https://helsinkilisa-pr2917.api.dev.hel.ninja/healthz :rocket::rocket::rocket:

HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr2917.dev.hel.ninja :rocket::rocket::rocket:

APPLICANT branch is deployed to platta: https://helsinkilisa-ui-pr2917.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://helsinkilisa-ui-handler-pr2917.dev.hel.ninja :laughing::tada::tada::tada:

TestCafe result is success for https://helsinkilisa-ui-pr2917.dev.hel.ninja :laughing::tada::tada::tada:


add mixture description and state of matter

Thanks for the comments.

The MixtureDescription field seems a bit unnecessary. I get wanting to understand the "texture/phase" (for lack of a better phrase) from the perspective of processability, so we should include it somehow
Perhaps StateOfMatter could be generalized a bit more to includeSLURRY and other ways that you would describe a potential input. This would be the singular enum we would use to record this information
Is there any world in which we simply expand the product texture field and use it for the ProductCompound, Compound, CrudeComponent, and ReactionInput fields?

My idea was just to expand texture but it feels really weird to put "dispersion" or "gas" there. A more suitable term may be morphology or simply form. But I'm not sure if changing message names would break compatibility.
Another thing is the current options of texture are not disjoint (ex. a powder, as a solid, can also be a crystal). I feel two enum each with three disjoint options and clear physical meaning are often better than one enum of >9 options.

CUSTOM should always be the second enum option after UNSPECIFIED, and all enums should have a CUSTOM option (probably including this texture/state/phase
Having this kind of texture/state/phase defined at the Compound, CrudeComponent, and ReactionInput level seems okay. We would need to expand the validations for this to (1) ensure details are given if type is CUSTOM, and (2) make sure that single-compound inputs have the same texture/state/phase as the compound when both are defined

Got it, will do this after we settle the design.

Probably don't need plasma, lol

Only include for completeness... although this is in a recent JACS Plasma Electrochemistry for Carbon–Carbon Bond Formation via Pinacol Coupling

(hope we don't need to describe excited states in the future)

todo: throw a warning for a ReactionInput when

there is only one Compound, and
ReactionInput.texture is different from Compound.texture

Moving Texture out from ProductCompound seems backward compatible.
$ python validate_dataset.py --input=ord_dataset-e984b2d4813f44d59867e1771acc9b66.pb.gz
INFO 2023-09-14 07:19:11,320 validate_dataset.py:49: Found 1 datasets
INFO 2023-09-14 07:19:11,320 validate_dataset.py:54: Validating ord_dataset-e984b2d4813f44d59867e1771acc9b66.pb.gz
INFO 2023-09-14 07:19:14,273 validations.py:122: Validation summary for ord_dataset-e984b2d4813f44d59867e1771acc9b66.pb.gz: (720,)/720 successful (0 failures)

4 tests failed, all seem unrelated to ord_schema but come from npm install<EMAIL_ADDRESS>which requires a non-existing version of<EMAIL_ADDRESS>(latest 7.22.17).

4 tests failed, all seem unrelated to ord_schema but come from npm install<EMAIL_ADDRESS>which requires a non-existing version of<EMAIL_ADDRESS>(latest 7.22.17).

This issue has been resolved in jest@29.7.0,all checks passed.

please update the PR description; only deals with Texture now


Add information about target tracing

The following information about the target trace should be added.

RMS
Function
Order

This information should be printed in the log as well as a record in the file's header.

It seems that some cleaning iteration would help to improve the fitting.


Maktest: Watch z(?!z)z

Maktest requests the watch of the watch_keyword z(?!z)z. See the MS search here and the Stack Exchange search here.

z(?!z)z has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


Non-square 2D FFT (errors) - Valid supported lengths

I am finding a major issue with clFFT. I have the following configuration w.r.t the code:
a.) Latest checkout from repo.
b.) Having the following H/W configuration:
Number of platforms:				 2
Platform Profile:				 FULL_PROFILE
Platform Version:				 OpenCL 1.2 pocl 1.1 None+Asserts, LLVM 6.0.0, SPIR, SLEEF, DISTRO, POCL_DEBUG
Platform Name:				 Portable Computing Language
Platform Vendor:				 The pocl project
Platform Extensions:				 cl_khr_icd
Platform Profile:				 FULL_PROFILE
Platform Version:				 OpenCL 2.1 AMD-APP (2814.0)
Platform Name:				 AMD Accelerated Parallel Processing
Platform Vendor:				 Advanced Micro Devices, Inc.
Platform Extensions:				 cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
Platform Name:				 Portable Computing Language
Number of devices:				 1
Device Type:					 CL_DEVICE_TYPE_CPU
Vendor ID:					 1022h
Max compute units:				 16
Max work items dimensions:			 3
Max work items[0]:				 4096
Max work items[1]:				 4096
Max work items[2]:				 4096
Max work group size:				 4096
Preferred vector width char:			 16
Preferred vector width short:			 16
Preferred vector width int:			 8
Preferred vector width long:			 4
Preferred vector width float:			 8
Preferred vector width double:		 4
Native vector width char:			 16
Native vector width short:			 16
Native vector width int:			 8
Native vector width long:			 4
Native vector width float:			 8
Native vector width double:			 4
Max clock frequency:				 3000Mhz
Address bits:					 64
Max memory allocation:<PHONE_NUMBER>
Image support:				 Yes
Max number of images read arguments:		 128
Max number of images write arguments:		 128
Max image 2D width:				 16384
Max image 2D height:				 16384
Max image 3D width:				 2048
Max image 3D height:				 2048
Max image 3D depth:				 2048
Max samplers within kernel:			 16
Max size of kernel argument:			 1024
Alignment (bits) of base address:		 1024
Minimum alignment (bytes) for any datatype:	 128
Single precision floating point capability
Denorms:					 Yes
Quiet NaNs:					 Yes
Round to nearest even:			 Yes
Round to zero:				 Yes
Round to +ve and infinity:			 Yes
IEEE754-2008 fused multiply-add:		 Yes
Cache type:					 Read/Write
Cache line size:				 64
Cache size:					 8388608
Global memory size:<PHONE_NUMBER>6
Constant buffer size:				 4194304
Max number of constant args:			 8
Local memory type:				 Global
Local memory size:				 4194304
Kernel Preferred work group size multiple:	 8
Error correction support:			 0
Unified memory for Host and Device:		 1
Profiling timer resolution:			 1
Device endianess:				 Little
Available:					 Yes
Compiler available:				 Yes
Execution capabilities:
Execute OpenCL kernels:			 Yes
Execute native function:			 Yes
Queue on Host properties:
Out-of-Order:				 No
Profiling :					 Yes
Platform ID:					 0x7fe5a9935020
Name:						 pthread-AMD Ryzen 7 1700 Eight-Core Processor
Vendor:					 AuthenticAMD
Device OpenCL C version:			 OpenCL C 1.2 pocl
Driver version:				 1.1
Profile:					 FULL_PROFILE
Version:					 OpenCL 1.2 pocl HSTR: pthread-x86_64-pc-linux-gnu-znver1
Extensions:					 cl_khr_byte_addressable_store cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr_spir cl_khr_fp64 cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64
Platform Name:				 AMD Accelerated Parallel Processing
Number of devices:				 1
Device Type:					 CL_DEVICE_TYPE_GPU
Vendor ID:					 1002h
Board name:					 Baffin [Radeon RX 460/560D / Pro 450/455/460/555/560]
Device Topology:				 PCI[ B#34, D#0, F#0 ]
Max compute units:				 14
Max work items dimensions:			 3
Max work items[0]:				 1024
Max work items[1]:				 1024
Max work items[2]:				 1024
Max work group size:				 256
Preferred vector width char:			 4
Preferred vector width short:			 2
Preferred vector width int:			 1
Preferred vector width long:			 1
Preferred vector width float:			 1
Preferred vector width double:		 1
Native vector width char:			 4
Native vector width short:			 2
Native vector width int:			 1
Native vector width long:			 1
Native vector width float:			 1
Native vector width double:			 1
Max clock frequency:				 1250Mhz
Address bits:					 64
Max memory allocation:<PHONE_NUMBER>
Image support:				 Yes
Max number of images read arguments:		 128
Max number of images write arguments:		 8
Max image 2D width:				 16384
Max image 2D height:				 16384
Max image 3D width:				 2048
Max image 3D height:				 2048
Max image 3D depth:				 2048
Max samplers within kernel:			 26607
Max size of kernel argument:			 1024
Alignment (bits) of base address:		 1024
Minimum alignment (bytes) for any datatype:	 128
Single precision floating point capability
Denorms:					 No
Quiet NaNs:					 Yes
Round to nearest even:			 Yes
Round to zero:				 Yes
Round to +ve and infinity:			 Yes
IEEE754-2008 fused multiply-add:		 Yes
Cache type:					 Read/Write
Cache line size:				 64
Cache size:					 16384
Global memory size:<PHONE_NUMBER>
Constant buffer size:<PHONE_NUMBER>
Max number of constant args:			 8
Local memory type:				 Scratchpad
Local memory size:				 65536
Max pipe arguments:				 16
Max pipe active reservations:			 16
Max pipe packet size:<PHONE_NUMBER>
Max global variable size:<PHONE_NUMBER>
Max global variable preferred total size:<PHONE_NUMBER>
Max read/write image args:			 64
Max on device events:				 1024
Queue on device max size:			 8388608
Max on device queues:				 1
Queue on device preferred size:		 262144
SVM capabilities:
Coarse grain buffer:			 Yes
Fine grain buffer:				 Yes
Fine grain system:				 No
Atomics:					 No
Preferred platform atomic alignment:		 0
Preferred global atomic alignment:		 0
Preferred local atomic alignment:		 0
Kernel Preferred work group size multiple:	 64
Error correction support:			 0
Unified memory for Host and Device:		 0
Profiling timer resolution:			 1
Device endianess:				 Little
Available:					 Yes
Compiler available:				 Yes
Execution capabilities:
Execute OpenCL kernels:			 Yes
Execute native function:			 No
Queue on Host properties:
Out-of-Order:				 No
Profiling :					 Yes
Queue on Device properties:
Out-of-Order:				 Yes
Profiling :					 Yes
Platform ID:					 0x7fe5a33e6a30
Name:						 gfx803
Vendor:					 Advanced Micro Devices, Inc.
Device OpenCL C version:			 OpenCL C 2.0
Driver version:				 2814.0 (HSA1.1,LC)
Profile:					 FULL_PROFILE
Version:					 OpenCL 1.2
Extensions:					 cl_khr_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_media_ops cl_amd_media_ops2 cl_khr_subgroups cl_khr_depth_images cl_amd_copy_buffer_p2p cl_amd_assembly_program
c.) I tried playing around with the example code in 2D. I wanted to check for a supported dimension. I selected a dimension of 5 (i.e., N0, N1 = 5). the result is shown:
Platform found: Portable Computing Language
Device found on the above platform: pthread-AMD Ryzen 7 1700 Eight-Core Processor
Performing fft on an two dimensional array of size N0 x N1 : 5 x 5
(0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000)
(0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000)
(0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000)
(0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000)
(0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000)
fft result:
(12.500000, 12.500000) (0.000000, 0.000000) (0.000000, 0.000000) (0.000000, 0.000000) (0.000000, 0.000000)
(0.000000, 0.000000) (0.000000, 0.000000) (0.000000, 0.000000) (0.000000, 0.000000) (0.000000, 0.000000)
(0.000000, 0.000000) (0.000000, 0.000000) (0.000000, 0.000000) (0.000000, 0.000000) (0.000000, 0.000000)
(0.000000, 0.000000) (0.000000, 0.000000) (0.000000, 0.000000) (0.000000, 0.000000) (0.000000, 0.000000)
(0.000000, 0.000000) (0.000000, 0.000000) (0.000000, 0.000000) (0.000000, 0.000000) (0.000000, 0.000000)
And it confirms with what fftw reports (checked it in Octave).
Now,  I changed the dimensions to N0=4 and N1=5 (4 rows and 5 columns). Note that the matrix is not a square matrix but the dimensions are supported by clFFT. This is what I get:
Platform found: Portable Computing Language
Device found on the above platform: pthread-AMD Ryzen 7 1700 Eight-Core Processor
Performing fft on an two dimensional array of size N0 x N1 : 4 x 5
(0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000)
(0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000)
(0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000)
(0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000) (0.500000, 0.500000)
fft result:
(8.495893, 8.500000) (0.503536, 0.500000) (0.497035, 0.500000) (0.503536, 0.500000) (0.961790, -1.894016)
(0.961790, -1.894016) (-0.319927, 0.633399) (-0.321936, 0.627217) (-0.319927, 0.633399) (2.098526, 0.329434)
(2.098526, 0.329434) (-0.701261, -0.108538) (-0.696003, -0.112359) (-0.701261, -0.108538) (0.335170, 2.097617)
(0.335170, 2.097617) (-0.113476, -0.700479) (-0.108217, -0.696658) (-0.113476, -0.700479) (-1.891379, 0.966965)
Obviously the result is incorrect; Comparison result using fftw in Octave:

a=[0.5 0.5 0.5 0.5]+i*[0.5 0.5 0.5 0.5]
a =

0.50000 + 0.50000i   0.50000 + 0.50000i   0.50000 + 0.50000i   0.50000 + 0.50000i

b=conj(a')*ones(1,5)
b =

0.50000 + 0.50000i   0.50000 + 0.50000i   0.50000 + 0.50000i   0.50000 + 0.50000i   0.50000 + 0.50000i
0.50000 + 0.50000i   0.50000 + 0.50000i   0.50000 + 0.50000i   0.50000 + 0.50000i   0.50000 + 0.50000i
0.50000 + 0.50000i   0.50000 + 0.50000i   0.50000 + 0.50000i   0.50000 + 0.50000i   0.50000 + 0.50000i
0.50000 + 0.50000i   0.50000 + 0.50000i   0.50000 + 0.50000i   0.50000 + 0.50000i   0.50000 + 0.50000i

fft2(b)
ans =

10 + 10i    0 +  0i    0 +  0i    0 +  0i    0 +  0i
0 +  0i    0 +  0i    0 +  0i    0 +  0i    0 +  0i
0 +  0i    0 +  0i    0 +  0i    0 +  0i    0 +  0i
0 +  0i    0 +  0i    0 +  0i    0 +  0i    0 +  0i
I think the problem is related to plan baking; and that too when we are building a column plan.
Can someone please explain why this may be happening? @bragadeesh @kknox

@skn123
clFFT has not seen active maintenance/testing in a while; but functionality you are describing was tested and is expected to work in the supported platforms; It could be the environment, problem with unsupported gpu or ocl platform

@bragadeesh I understand that. I am getting the same results when I use any AMD or NVIDIA or Intel GPU/CPU. That is why I have reported this bug. I am also aware that this library has not seen any update. I am unable to fathom why it should only behave badly for non-square matrices. Can you also confirm from your end that this bug is repeatable on any supported platforms? If so, maybe you can keep this open and someone else can figure out a way to fix this. I am suspecting this has something to do with the logic in the clfftBakePlan function.

Just had my unit tests running on version 2.12.2 of clFFT and I can not reproduce your problems. Testet all combinations of 2D FFT with lengths 4 and 5, inplace and out-of-place, forward and backward with platforms Intel (GPU+CPU), NVidia(GPU) and AMD(CPU). All results were correct.
Are you sure you are calling clFFT correctly? Perhaps there is a problem with your strides or other parameters? Can you test if 2.12.2 is working correctly for you? If yes we know that the problem is not on your side.

@clSharp indeed that specific tag works! I think I will use that tag instead.

I think that's a reason not to close this issue. It seems that there is a regression in one of the commits after 2.12.2.

@skn123: As you have a running test environment: Would you mind to bisect the commits to find the one introducing the regression?


Add a migration to fix subscriber lists with no title

For each subscriber list with no title, it fetches the topic from GovDelivery and either puts in the title or deletes the subscriber list if it has no subscribers.
In production there are 740 subscriber lists with no title, and out of them about half have no subscribers.
The migration takes about 15 minutes to run.
Trello Card

Closed in preference to using: https://github.com/alphagov/email-alert-api/blob/master/lib/tasks/data_hygiene.rake#L17


pcap.h not found compile time on PcapDotNet.Core module

I downloaded project and open from VS 2017 when i clicked to build solution i got failed bacause PcapDotNet.Core main module can not found pcap.h reference in project. How can i find this library ?

can you help us @shargon  @bricknerb @FlorianHockmann

Please use the Pcap.Net Q&A Group to ask questions.


cannot open shared object file: No such file or directory

I had to build pHash 0.9.6 from source because the node docker image is Jessie which has no libphash0-dev package. But when I try to run
    var phash = require('phash-image');
I get the error
  Module._extensions[extension](this, filename);
                               ^
Error: libpHash.so.0: cannot open shared object file: No such file or directory
    at Error (native)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/usr/local/src/web/node_modules/phash-image/index.js:3:13)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)

Any thoughts appreciated.
pHash is installed in node-module's parent dir.

how did you build it from source? i haven't experienced this, though i had to built it from source on my ubuntu 15.04 desktop

https://github.com/polachok/py-phash/issues/4


Fix forge times

bot literally unusable (for legal reasons this is a joke)
fixes titanium artifact and sapphire polished drill engine times, adds diamonite forge time

thank


Allow custom inspection of errors

Not all errors should be counted towards tripping the circuit breaker, this PR adds support for a custom inspection strategy to determine if an error should trip the circuit breaker or not.

This would be very useful for my usecase as well - Since gRPC returns errors to denote 4XX Status codes (e.g. NotFound) I am getting a lot of false-positives.

@dmarkhas
Sorry for the late reply. Your idea sounds good. But I think IsSuccessful is more straightforward than ShouldTrip.

Renamed :)

Coverage decreased (-1.0%) to 97.98% when pulling 425c6ee4796381f8f68fd137b000f8306f84da3b on dmarkhas:inspect_err into 92b9680a31b97b984e5c59865844f538d6f75d45 on sony:master.

Coverage decreased (-1.0%) to 97.98% when pulling 425c6ee4796381f8f68fd137b000f8306f84da3b on dmarkhas:inspect_err into 92b9680a31b97b984e5c59865844f538d6f75d45 on sony:master.

Thanks, I've addressed your comments.

Thanks, I've addressed your comments.

Thank you!

Thank you!

Is the next version of the package coming out soon (as I am eagerly awaiting this feature) ?

Is the next version of the package coming out soon (as I am eagerly awaiting this feature) ?


defmt with rtic

I'm not sure whether to file this under rtic or defmt, but I'm having trouble using these together.
When I do, I get this:
    Finished dev [optimized + debuginfo] target(s) in 1.06s
     Running `probe-run --probe '0483:374b' --chip stm32g071 target/thumbv6m-none-eabi/debug/application`
  (HOST) INFO  flashing program (4.99 KiB)
  (HOST) INFO  success!
  (HOST) ERROR Max number of RTT attach retries exceeded.
Error: RTT control block not found in target memory.
- Make sure RTT is initialized on the target.
- Depending on the target, sleep modes can interfere with RTT.

That's when I do cargo run with an stm32g071 dev board attached. Relatively minimal source directory attached:
defmt_and_rtic.tar.gz
If I comment out the rtic code and uncomment the regular #[entry], then it works as expected.
Is it expected that these can't work together, or is there something I can do to make it work?
Thanks for defmt by the way, it's been awesome.

If I remember correctly, I had this issue when I used wfi in my idle function rather than just looping.

Apply this workaround in init: https://github.com/probe-rs/probe-rs/issues/350#issuecomment-740550519
You'll probably have to adjust it for the g0.

Thank you. Both solutions worked!
I had no idle function, which presumably meant that rtic was putting the CPU to sleep. Adding an idle function with a loop made it work:
#[idle]
    fn idle(_ctx: idle::Context) -> ! {
        loop {}
    }

Alternatively, based of @Dirbaio's suggestion, adding the following to my init function fixed it.
ctx.device.RCC.ahbenr.modify(|_, w| w.dmaen().set_bit());

I now realise that probe-run mentioned in the error that "Depending on the target, sleep modes can interfere with RTT". I was thinking of sending a PR to add some documentation about how to make this work. Do you have any thoughts about where such documentation should belong? Alternatively, more detail could be added to the error - or perhaps a link to suggestions for how to resolve the problem.

Hi @davidlattimore, good to see that you were able to figure it out with the help of the community!
Such documentation would fit well into our "Troubleshooting" section in the REAMDE: https://github.com/knurling-rs/probe-run#troubleshooting
I am awaiting your PR! 😄

Solved by https://github.com/knurling-rs/probe-run/pull/183


[SPARK-39528][SQL] Use V2 Filter in SupportsRuntimeFiltering

Context

Spark-3.4 PR: https://github.com/apache/spark/commit/f49411e3cf

What changes were proposed in SPARK pull request?
Add a new interface SupportsRuntimeV2Filtering similar to SupportsRuntimeFiltering, except it uses
data source V2 Predicate instead of data source V1 Filter.
Why are the changes needed in Spark?

Data sources can implement this interface if they can filter initially planned InputPartitions
using predicates Spark infers at runtime.
This makes the new interface preferred over SupportsRuntimeFiltering.

Does this PR introduce any user-facing change?
Yes, new interface SupportsRuntimeV2Filtering
Why it might affect RAPIDS?

P.S: ORC/Parquet support Runtime filtering do not support Runtime filtering on datasource V2 yet.
We may still want to review whether we may end up in a situation where we mix-use the two new
interfaces on a datasource.
RAPIDS defines ShimSupportsRuntimeFiltering extends SupportsRuntimeFiltering for 3.2+ shims.
By default, this will use data source V1 Filter. We may consider using SupportsRuntimeV2Filtering
interface instead depending on Predicate support.
Revisit GpuBatchScanExec and iterate over the scan to review scan.asInstanceOf[SupportsRuntimeFiltering]
At the time of checking, it is hard to confirm if this spark PR causes build problems, because the
build is broken already by previous Spark-audit issues.

Impact on Testing?
NA.
Requires Doc update?
No.

At minimum, will have to update the 340 shim for Scans to account for this interface and fall back to CPU. SupportsRuntimeFiltering in 3.4.0 currently extends SupportsRuntimeV2Filtering, so will need to update the type check there.
For example, see RapidsOrcScanMeta.scala:
class RapidsOrcScanMeta(
    oScan: OrcScan,
    conf: RapidsConf,
    parent: Option[RapidsMeta[_, _, _]],
    rule: DataFromReplacementRule)
  extends ScanMeta[OrcScan](oScan, conf, parent, rule) {

  override def tagSelfForGpu(): Unit = {
    GpuOrcScan.tagSupport(this)
    // we are being overly cautious and that Orc does not support this yet
    if (oScan.isInstanceOf[SupportsRuntimeFiltering]) {
      willNotWorkOnGpu("Orc does not support Runtime filtering (DPP)" +
        " on datasource V2 yet.")
    }

GpuBatchScanExec updates were actually already made in #7696


[FAIL] artemis controller with cert manager test FAILS on power-architecture(ppc64le)

we tried to reproduce the build till version 1.2.1 and everything was working correctly,
on 1.2.2 a couple of test cases seem to be failing.
Reporting it to fix a fix or a workaround it
Steps to recreate:

cloning 1.2.2 version
building the repo using make build
then while running make test the following errors are observed

Summarizing 2 Failures:
[FAIL] artemis controller with cert manager test certificate rotation [It] broker certificate rotation [controller-cert-mgr-test, certificate]
/home/activemq-artemis-operator/controllers/activemqartemis_controller_cert_manager_test.go:344
[FAIL] artemis controller with cert manager test certificate rotation [It] broker issuer certificate rotation [controller-cert-mgr-test, certificate]
/home/activemq-artemis-operator/controllers/activemqartemis_controller_cert_manager_test.go:484
Ran 191 of 192 Specs in 131.794 seconds
FAIL! -- 189 Passed | 2 Failed | 0 Pending | 1 Skipped
--- FAIL: TestAPIs (131.80s)
failures observed on 1.2.2.txt
complete-log.txt

[!TIP]
Vote this issue reacting with :+1: or :-1:

@shubham-bhagwat0 I confirm your findings, those test failures will be resolved in 1.2.3 by https://github.com/artemiscloud/activemq-artemis-operator/commit/51b137a04720fde7a88aadc43c7b6a6cc1513f23

@brusdev
alright, will deploy till v1.2.1 then
thanks for the quick response


WIP - Refactor comments to support markup types (#707)

Added a markup column in the comments table using
a migration script.
When creating or updating a comment, the default markup
is used if none was provided.
When showing comments, the default markup is also returned
if none was found in the database (ie, for older comments).
Fixes #707

Marked as WIP since this PR is based on a commit for issue #714 whose PR (https://github.com/almighty/almighty-core/pull/716) is still pending

Codecov Report

Merging #717 into master will increase coverage by 0.16%.

@@            Coverage Diff             @@
##           master     #717      +/-   ##
==========================================
+ Coverage   71.12%   71.28%   +0.16%
==========================================
  Files          80       80
  Lines        4603     4601       -2
==========================================
+ Hits         3274     3280       +6
+ Misses       1013     1005       -8
  Partials      316      316

Impacted Files
Coverage Δ

comment/comment.go
72.28% <ø> (ø)
:white_check_mark:

account/user.go
45.61% <ø> (ø)
:white_check_mark:

work-item-comments.go
73.01% <100%> (-2.43%)
:x:

migration/migration.go
50% <100%> (+0.22%)
:white_check_mark:

rendering/markup_content.go
86.11% <100%> (+1.73%)
:white_check_mark:

comments.go
77.33% <100%> (+1.99%)
:white_check_mark:

userspace.go
0% <ø> (ø)
:white_check_mark:

workitem.go
93.67% <ø> (+0.37%)
:white_check_mark:

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 3aae5ac...748a186. Read the comment docs.


Laravel spatie permissions issue

Bug description
first thank you for this beautiful package.
I dont now if it's a bug or a doc improvement , but there is a bug when you try in the same request to change the tenant, the laravel spatie permissions still in memory, so you need to clear them after tenant switch
The solution is easy like the freamwork is verry configurable:
In the TenancyServiceProvider just add this:
        Events\TenancyEnded::class => [
            Listeners\RevertToCentralContext::class,
            function (Events\TenancyEnded $event) {
                PermissionRegistrar::$cacheKey = 'spatie.permission.cache';
                app(PermissionRegistrar::class)->clearClassPermissions();
            }
        ],

        Events\BootstrappingTenancy::class => [],
        Events\TenancyBootstrapped::class => [
            function (Events\TenancyBootstrapped $event) {
                PermissionRegistrar::$cacheKey = 'spatie.permission.cache.tenant.' . $event->tenancy->tenant->id;
                app(PermissionRegistrar::class)->clearClassPermissions();
            }
        ],

Steps to reproduce

create a migration file that init the permission table with for example: create_user
in the same request switch the tenant to the new one $tenant->create->init
You will get the permission already exist exception, because spatie keep this in memory

Expected behavior
the new tenant should be created without permission exception
Laravel version
9
stancl/tenancy version
3.6

This is a support question, so use the proper channels for that.

Can you share the entire file? When I try I get an error.

Object of class Closure could not be converted to string app/Providers/TenancyServiceProvider.php:123

What is the content of line 123 ?

This method, line 123 is the foreach line
 protected function bootEvents()
    {
        foreach ($this->events() as $event => $listeners) {
            foreach (array_unique($listeners) as $listener) {
                if ($listener instanceof JobPipeline) {
                    $listener = $listener->toListener();
                }

                Event::listen($event, $listener);
            }
        }
    }

Here is the full TenancyServiceProvider.php
<?php

declare(strict_types=1);

namespace App\Providers;

use App\Jobs\CreateFrameworkDirectoriesForTenant;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\ServiceProvider;
use Spatie\Permission\PermissionRegistrar;
use Stancl\JobPipeline\JobPipeline;
use Stancl\Tenancy\Events;
use Stancl\Tenancy\Jobs;
use Stancl\Tenancy\Listeners;
use Stancl\Tenancy\Middleware;

class TenancyServiceProvider extends ServiceProvider
{
    // By default, no namespace is used to support the callable array syntax.
    public static string $controllerNamespace = '';

    public function events()
    {
        return [
            // Tenant events
            Events\CreatingTenant::class => [],
            Events\TenantCreated::class => [
                JobPipeline::make([
                    Jobs\CreateDatabase::class,
                    Jobs\MigrateDatabase::class,
                    Jobs\SeedDatabase::class,

                    // Your own jobs to prepare the tenant.
                    // Provision API keys, create S3 buckets, anything you want!
                    CreateFrameworkDirectoriesForTenant::class

                ])->send(function (Events\TenantCreated $event) {
                    return $event->tenant;
                })->shouldBeQueued(true), // `false` by default, but you probably want to make this `true` for production.
            ],
            Events\SavingTenant::class => [],
            Events\TenantSaved::class => [],
            Events\UpdatingTenant::class => [],
            Events\TenantUpdated::class => [],
            Events\DeletingTenant::class => [],
            Events\TenantDeleted::class => [
                JobPipeline::make([
                    Jobs\DeleteDatabase::class,
                ])->send(function (Events\TenantDeleted $event) {
                    return $event->tenant;
                })->shouldBeQueued(true), // `false` by default, but you probably want to make this `true` for production.
            ],

            // Domain events
            Events\CreatingDomain::class => [],
            Events\DomainCreated::class => [],
            Events\SavingDomain::class => [],
            Events\DomainSaved::class => [],
            Events\UpdatingDomain::class => [],
            Events\DomainUpdated::class => [],
            Events\DeletingDomain::class => [],
            Events\DomainDeleted::class => [],

            // Database events
            Events\DatabaseCreated::class => [],
            Events\DatabaseMigrated::class => [],
            Events\DatabaseSeeded::class => [],
            Events\DatabaseRolledBack::class => [],
            Events\DatabaseDeleted::class => [],

            // Tenancy events
            Events\InitializingTenancy::class => [],
            Events\TenancyInitialized::class => [
                Listeners\BootstrapTenancy::class,
            ],

            Events\EndingTenancy::class => [],
            Events\TenancyEnded::class => [
                Listeners\RevertToCentralContext::class,
                function (Events\TenancyEnded $event) {
                    PermissionRegistrar::$cacheKey = 'spatie.permission.cache';
                    app(PermissionRegistrar::class)->clearClassPermissions();
                }
            ],

            Events\BootstrappingTenancy::class => [],
            Events\TenancyBootstrapped::class => [
                function (Events\TenancyBootstrapped $event) {
                    PermissionRegistrar::$cacheKey = 'spatie.permission.cache.tenant.' . $event->tenancy->tenant->id;
                    app(PermissionRegistrar::class)->clearClassPermissions();
                }
            ],
            Events\RevertingToCentralContext::class => [],
            Events\RevertedToCentralContext::class => [],

            // Resource syncing
            Events\SyncedResourceSaved::class => [
                Listeners\UpdateSyncedResource::class,
            ],

            // Fired only when a synced resource is changed in a different DB than the origin DB (to avoid infinite loops)
            Events\SyncedResourceChangedInForeignDatabase::class => [],
        ];
    }

    public function register()
    {
        //
    }

    public function boot()
    {
        $this->bootEvents();
        $this->mapRoutes();

        $this->makeTenancyMiddlewareHighestPriority();
    }

    protected function bootEvents()
    {
        foreach ($this->events() as $event => $listeners) {
            foreach (array_unique($listeners) as $listener) {
                if ($listener instanceof JobPipeline) {
                    $listener = $listener->toListener();
                }

                Event::listen($event, $listener);
            }
        }
    }

    protected function mapRoutes()
    {
        if (file_exists(base_path('routes/tenant.web.php'))) {
            Route::middleware('tenant')
                ->namespace(static::$controllerNamespace)
                ->group(base_path('routes/tenant.web.php'));
        }

        if (file_exists(base_path('routes/tenant.api.php'))) {
            Route::middleware('tenant')
                ->namespace(static::$controllerNamespace)
                ->group(base_path('routes/tenant.api.php'));
        }
    }

    protected function makeTenancyMiddlewareHighestPriority()
    {
        $tenancyMiddleware = [
            // Even higher priority than the initialization middleware
            Middleware\PreventAccessFromCentralDomains::class,

            Middleware\InitializeTenancyByDomain::class,
            Middleware\InitializeTenancyBySubdomain::class,
            Middleware\InitializeTenancyByDomainOrSubdomain::class,
            Middleware\InitializeTenancyByPath::class,
            Middleware\InitializeTenancyByRequestData::class,
        ];

        foreach (array_reverse($tenancyMiddleware) as $middleware) {
            $this->app[\Illuminate\Contracts\Http\Kernel::class]->prependToMiddlewarePriority($middleware);
        }
    }
}


[Feature Request] Custom resolution

First of all, I want to say that your software is amazing.
I've been using it with an Android Phone and Tablet.
Instead of VNC I used Nomachine.
It supposed to be faster, I can choose the remote monitor and I can see the remote cursor.
For latency I have used USB tethering. It made a huge difference.
Using USB the "monitor" is also charging from the laptop.
Also I have defined a new resolutions for my phone:
     Resolution(1080, 2340, 398, true,  "P30 Pro Portrait"),
     Resolution(2340, 1080, 398, true,  "P30 Pro Landscape"),

It would be nice if the user could define custom resolutions from the menu.
With your software and a phone or a tablet plus a cheap holder from Aliexpress any laptop can became a dual display laptop.
You can have a debug screen, chats, videos or whatever on your second mini screen.

Probably a duplicate of #5, although that one is currently focused on defining the resolutions using a config file rather than through the GUI.


Create 2279. Maximum Bags With Full Capacity of Rocks.cpp

You can follow me on github and give star to this repo.


only enable flathub-verified by default, but allow user to enable flathub in yafti at install time

https://github.com/secureblue/secureblue/pull/90


fix: memory leak in metalViewRegistry

This PR fixes a memory leak that was coming from metalViewRegistry.
Actually, it was never cleared 😅
In this PR I've changed:

Assing _contextId of a given view in the update props method
Check if key _contextId exists in metalViewRegistry and clear it properly.

Before this PR I've noticed some crashes and also metalViewRegistry was filled up with all the views that I've spawned.

nice 😊😊😊


create flag to trigger --inspect-brk on test runner

[x] This is a small change

Description:
I added a flag to allow attaching a debugger to the underlying test runner.
Usage:
detox test --debug-test-runner

Haven't updated the docs yet, I wanted to get some initial feedback before doing so.

@adkenyon , doesn't that workaround work?
https://github.com/nodejs/help/issues/910

CI failed due to a flaky test. I've restarted the associated downstream, stay tuned.
Anyways, where are on this?

Haven't had the time to test @noomorph's suggestion. Hopefully will have some time by the end of the week

@noomorph running NODE_OPTIONS='--inspect-brk' detox test -c ios.sim.debug didn't work for me. I could attach the debugger momentarily before the command would crash. Below is the following output, I checked for any other running debuggers. My guess is that the subprocesses created by detox test are all trying to debug on the same port
Debugger listening on ws://<IP_ADDRESS>:9229/7ad603d0-c5d7-4589-9dd4-3f0752c60973
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
Debugger attached.
Debugger attached.
yarn run v1.22.4
$ detox test -c ios.sim.debug search-autocomplete
Starting inspector on <IP_ADDRESS>:9229 failed: address already in use
error Command failed with exit code 12.```

@adkenyon, okay, I see, thanks for checking.
Nevertheless, I would suggest renaming  --debug-test-runner to --inspect-brk before we merge.
It would feel less nonstandard and more intuitive for people who spend time debugging Node.js projects from CLI.

@noomorph wasn't quite ready yet. Still needed to test out the workers flag. I'll follow up if there's an issue

@adkenyon, well, I just checked manually that it does not break anything if you specify it with multiple workers. That was sufficient for me.
And yes, I think there's a minor issue with it when there are multiple workers — it does not really work. 😆
I think that you can submit one more PR, that forces workers to be 1, if --inspect-brk is specified — that is welcome.


feat: avoid page scrollbar jump

FX-4235
This pull request fixes jumping width behaviour of the page. The problem is caused by scrollbar that appears if the content is high enough.
https://github.com/toptal/picasso/assets/1390758/cd6f0f78-84f7-4d21-9bc4-9c8a670cb530
The problem was already addressed in Client Portal in https://github.com/toptal/client-portal/pull/6048/files#diff-2544365cf05041a8ae61f573f230da494c339ec97e660e49f175b1684011b0baR36 (Slack discussion https://toptal-core.slack.com/archives/CEW0UBG5B/p1678095730351189), but the fix was removed after Client Portal fully moved to Picasso layout components.
Technical details
Why workaround with vw?
Reasons

it is approved by Design Team
it has been already used in Client Portal

Alternatives

have a reserved space for scrollbar so the page does not change its width (via scrollbar-gutter or overflow CSS properties) – ⚠ rejected on design level, more in https://toptal-core.atlassian.net/browse/FX-4235?focusedCommentId=286579
do nothing – ⚠ rejected on design level, more in https://toptal-core.atlassian.net/browse/FX-4235?focusedCommentId=286579

How many users are affected?

Desktop Operating System Market Share Worldwide  – 80% of desktops have this problem (mostly Windows users, MacOS does not have this problem if default scrollbar settings are enabled)
Mobile Operating System Market Share Worldwide  – not a problem on mobile devices, overlay scrollbars are used most of the time (at least, on iOS and Android)

How to test

Temploy
Try different page state combinations at Client Portal temploy (log in as https://staff-portal.toptal.net/clients/767902 at https://staff-portal.toptal.net/ first)

Open short page like https://client-portal-pr-7165.toptal.rocks/jobs
Open long page like https://client-portal-pr-7165.toptal.rocks/ or https://client-portal-pr-7165.toptal.rocks/team
Open and close modal at long page https://client-portal-pr-7165.toptal.rocks/

Screenshots
https://github.com/toptal/picasso/assets/1390758/2e46e845-a709-4495-8ad9-87e6004fda97
Development checks

[x] Add changeset according to guidelines (if needed)
[x] Read CONTRIBUTING.md and Component API principles
[x] Make sure that additions and changes on the design follow Toptal's BASE design, and it's been already discussed with designers at #-base-core
[x] Annotate all props in component with documentation
[N/A] Create examples for component
[x] Ensure that deployed demo has expected results and good examples
[x] Ensure the changed/created components have not caused accessibility issues. How to use accessibility plugin in storybook.
[x] Self reviewed
[N/A] Covered with tests (visual tests included)

Breaking change

[N/A] codemod is created and showcased in the changeset
[x] test alpha package of Picasso in Client Portal https://github.com/toptal/client-portal/pull/7165

All development checks should be done and set checked to pass the
GitHub Bot: TODOLess action

PR commands

List of available commands:

@toptal-bot run package:alpha-release - Release alpha version
@toptal-anvil ping reviewers - Ping FX team for review

PR Review Guidelines

When to approve? ✅
You are OK with merging this PR and

You have no extra requests.
You have optional requests.

Add nit: to your comment. (ex. nit: I'd rename this variable from makeCircle to getCircle)

When to request changes? ❌
You are not OK with merging this PR because

Something is broken after the changes.
Acceptance criteria is not reached.
Code is dirty.

When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:

There are leftovers like unnecessary logs, comments, etc.
You have an opinionated comment regarding the code that requires a discussion.
You have questions.

How to handle the comments?

An owner of a comment is the only one who can resolve it.
An owner of a comment must resolve it when it's addressed.
 What do you think about property being named reservePageScrollbarSpace?

@toptal-anvil ping reviewers

@toptal-bot run package:alpha-release

@toptal-bot run package:alpha-release


Temperature Calculator

Calculator Functions
The calculator will convert temperature from one unit to the other. It will have options for conversion between any two of the following units:

Celsius
Kelvin
Fahrenheit

Contribution Event
No response
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

🙋♂𝗛𝗶 Akshita Singh
This is Sayed Tabish. I'm participant of GirlScript Summer Of Code 2022.  And also I'm Experienced Freelance Web Developer with a demonstrated history of working in the internet industry. Strong engineering professional with a Bachelor of Technology - BTech focused in Information Technology from Dr. A.P.J. Abdul Kalam Technical University.
👨💻And It's very nice to contribute and work for CalcHub I am interested to work on this issue And also I want to work on such a project that. because I have already worked on similar kind of calculations and mathematical projects.
Link: JavascriptAppCalculator.github.io
 ,    ,
It will give me a stage to apply my knowledge. building innovative product and put my technical skill to use.


Help with custom log format

Hello,
First of all, thank you for your work on GoAccess. :-)
Please could you help me figure out the correct settings to use?
Thank you very much if so. :-)
Web server: Nginx (with multiple vhosts)
OS: Ubuntu 20.04
GoAccess version: 1.5.2 (installed via apt)
Time zone configured on server: Europe/Bucharest
Error on executing goaccess:
root@myserver ~ # goaccess /var/log/nginx/access.log
==1203796== GoAccess - Copyright (C) 2009-2020 by Gerardo Orellana
==1203796== https://goaccess.io -<EMAIL_ADDRESS>==1203796== Released under the MIT License.
==1203796==
==1203796== FILE: /var/log/nginx/access.log
==1203796== Parsed 10 lines producing the following errors:
==1203796==
==1203796== Token '+0300]' doesn't match specifier '%h'
==1203796== Token '+0300]' doesn't match specifier '%h'
==1203796== Token '+0300]' doesn't match specifier '%h'
==1203796== Token '+0300]' doesn't match specifier '%h'
==1203796== Token '+0300]' doesn't match specifier '%h'
==1203796== Token '+0300]' doesn't match specifier '%h'
==1203796== Token '+0300]' doesn't match specifier '%h'
==1203796== Token '+0300]' doesn't match specifier '%h'
==1203796== Token '+0300]' doesn't match specifier '%h'
==1203796== Token '+0300]' doesn't match specifier '%h'
==1203796==
==1203796== Format Errors - Verify your log/date/time format
Custom log format configured in /etc/nginx/nginx.conf:
log_format vhosts '$host $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for"';
Three lines from log
<IP_ADDRESS> - - [02/Oct/2021:17:22:57 +0300] "GET /socket.io/?accessToken=f604642812d18f6f7df84e1111b3f00d44f91bf7&EIO=4&transport=polling&t=Nn1OlNu HTTP/2.0" 403 1673 "https://somesite.com/videos/local?a-state=42" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
<IP_ADDRESS> - - [02/Oct/2021:17:22:57 +0300] "GET /socket.io/?accessToken=f604642812d18f6f7df84e1111b3f00d44f91bf7&EIO=4&transport=polling&t=Nn1OlP7 HTTP/2.0" 403 1673 "https://somesite.com/videos/local?a-state=42" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
<IP_ADDRESS> - - [02/Oct/2021:17:22:57 +0300] "POST /inbox HTTP/1.1" 204 0 "-" "PeerTube/3.4.0 (+https://tv.poa.st)"
<IP_ADDRESS> - - [04/Oct/2021:23:28:24 +0300] "POST / HTTP/1.1" 404 197 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36"
<IP_ADDRESS> - - [04/Oct/2021:23:29:09 +0300] "GET /.env HTTP/1.1" 404 197 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36"
<IP_ADDRESS> - - [04/Oct/2021:23:29:09 +0300] "POST / HTTP/1.1" 404 197 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36"

Hi @DalekDave
You maybe try this:
--date-format='%d/%b/%Y'
--time-format='%T' or --time-format='%H:%M:%S'
--log-format='%h %^ %^ [%d:%t %^] "%r" %s %b "%R" "%u"'
or into goaccess.conf like:
date-format %d/%b/%Y
time-format %T or time-format %H:%M:%S
log-format %h %^ %^ [%d:%t %^] "%r" %s %b "%R" "%u"
I hope that I could help you.

Thank you so much for your help. :-)
The lines below worked in my /etc/goaccess/goaccess.conf
date-format %d/%b/%Y
time-format %T
log-format %h %^ %^ [%d:%t %^] "%r" %s %b "%R" "%u"

I will close the issue. Thank you again for your help! :1st_place_medal:


ValidationError is no longer handled correctly by flask-restful

We have been noticing a new behaviour in our APIs after upgrading from 3.x to 4.x.  Here's an example that illustrates the problem, consider this a main.py file:
from marshmallow import Schema, validate
from flask import Flask
from webargs import fields
from webargs.flaskparser import use_kwargs
from flask_restful import Resource, Api

class MySchema(Schema):
    class Meta:
        strict = True
    email = fields.String(location='json', validate=validate.Email(), required=True)

app = Flask(__name__)
api = Api(app)

class PersonalInfo(Resource):
    @use_kwargs(MySchema)
    def put(self, email):
        print email
        return {'hello': 'world'}

api.add_resource(PersonalInfo, '/')

if __name__ == "__main__":
    app.run()

Previous behaviour:
$ pip installl 'webargs<4.0.0'
$ python main.py

$ curl -X PUT http://<IP_ADDRESS>:5000/ -d email=hello -i
HTTP/1.0 422 UNPROCESSABLE ENTITY
Content-Type: application/json
Content-Length: 62
Server: Werkzeug/0.14.1 Python/2.7.15
Date: Tue, 16 Oct 2018 15:04:31 GMT

{"messages": {"email": ["Missing data for required field."]}}

Current behaviour:
$ pip install 'webargs>=4.0.0' --upgrade
$ python main.py

$ curl -X PUT http://<IP_ADDRESS>:5000/ -d email=hello -i
HTTP/1.0 500 INTERNAL SERVER ERROR
Content-Type: application/json
Content-Length: 37
Server: Werkzeug/0.14.1 Python/2.7.15
Date: Tue, 16 Oct 2018 15:11:01 GMT

{"message": "Internal Server Error"}

The error I get is:
[2018-10-16 17:11:01,398] ERROR in app: Exception on / [PUT]
Traceback (most recent call last):
  File "/Users/hassene/Projects/personal/housing-market/env/lib/python2.7/site-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "/Users/hassene/Projects/personal/housing-market/env/lib/python2.7/site-packages/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Users/hassene/Projects/personal/housing-market/env/lib/python2.7/site-packages/flask_restful/__init__.py", line 273, in error_router
    return original_handler(e)
  File "/Users/hassene/Projects/personal/housing-market/env/lib/python2.7/site-packages/flask/app.py", line 1695, in handle_user_exception
    assert exc_value is e
AssertionError

Any idea where this is coming from?

You need to use a custom error handler when using webargs with Flask-RESTful. See the example here: https://github.com/sloria/webargs/blob/56dabfe1c6644b320c9e5ce24626007696659faf/examples/flaskrestful_example.py#L71-L77

Thanks!


RFE: bpftrace exporter

Consider adding bpftrace exporter in the spirit of stap-exporter (see https://www.mankier.com/8/stap-exporter) that would allow providing bpftrace results to Prometheus and other such tools capable consuming the exported data.
From the stap-exporter man page:
stap-exporter runs a set of systemtap scripts and relays their procfs outputs to remote
HTTP clients on demand.  This makes systemtap scripts directly usable as individual
prometheus exporters.

Thanks.

Something simple, sure. I think for daemons/agents many may end up done in bcc, if they need many customizations beyond bpftrace. bpftrace would be a good version one of deamons, and then they move to bcc when needed.

A partial solution (2021) is to combine:

The json output bpftrace -f json
Periodic dumping of variables/maps/histograms/... of interest:

    interval:s:1
    {
        print(@some_maps);
    }

Consumption of the json output by a custom exporter

Check out https://github.com/cloudflare/ebpf_exporter  it is quite good.
I'll recommend closing this issue with the above xref.

I'm closing this issue, if anyone believes there's more to discuss we can reopen it


Exclude JSX navigation div if there are no actions

Due to the navigation padding, the layout of the parent dialog is altered. When there are no actions, the layout fits if we leave out the <nav> element when rendering..

Makes sense, thanks!


LIKUNTA-115 | Add accessibility statement and about us pages

This PR adds accessibility statement and about us pages. I'm still wondering if I should have created one component that eats PAGE_QUERY as the data is almost identical between the pages 🤔.

Codecov Report

Merging #57 (c01dd5f) into main (9b8a7b9) will decrease coverage by 0.01%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main      #57      +/-   ##
==========================================
- Coverage   62.45%   62.44%   -0.02%
==========================================
  Files          73       73
  Lines         879      884       +5
  Branches      197      212      +15
==========================================
+ Hits          549      552       +3
- Misses        329      331       +2
  Partials        1        1

Impacted Files
Coverage Δ

i18nRoutes.config.js
100.00% <ø> (ø)

src/components/footer/Footer.tsx
81.81% <ø> (ø)

src/components/htmlToReact/HtmlToReact.tsx
76.19% <60.00%> (-6.17%)
:arrow_down:

src/components/section/Section.tsx
91.66% <100.00%> (+0.75%)
:arrow_up:

Continue to review full report at Codecov.

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

One thing I am thinking is whether we should have moved this particular menu into the CMS at this point: https://liikunta.content.api.hel.fi/wp-admin/nav-menus.php?action=locations
Perhaps we could have used a tertiary menu for this? Not entirely sure about the purpose for it. I assume that primary is the main menu and secondary is the menu in the footer.


App suggests 1.5 trillion cases worldwide

Running v3.8.6

Use the latest version of the CLI. npm i -g corona-cli@latest


The newest build come with http:/// no ip no connection old version worked fine

the newest build <IP_ADDRESS>178413 come with http:/// no ip no coeection old version2.25.15. is working fine
raspi v2

Please press ALT+F2 on your keyboard and see why you got no IP address or what might be the reason.

here the screenshot.

This looks more like the SD card image is somewhat broken or was not written correctly to the microSD card. please try to flash the *.img on the microSD card again. Also verify that the *.img matches the sha256 checksum so that you can be 100% sure that the downloaded *.img is not broken.

Any news on this?

Yes, SD recreated.
Frohe Ostern!


Started documentation

Fixes https://github.com/NLeSC/team-beta/issues/28

This pull request has diverged too much from master and therefore no longer mergable with any confidence.


suggestion

a medal changer, inventory changer and maybe a rank changer would be good as i said on pm.

stubs for the rank changer (and a few more) has already been implemented a while ago, inventory and pins however require some protobuf magic, which i haven't yet decided to implement

whoops didnt mean to close

filter out skin names  in gui like when i want to select asiimov skin for awp there are 3 asiimovs and i have to apply everyone of them to get 1 for awp ...same goes for knife there are 10+ dopplers and in gloves too ... add name after the skin like
asiimov(awp)
asiimov(ak)
asiimov(m4)


Updated complicated example so that it works better out of the box

Added a couple lines of code to get the actual path to the caches directory within the app sandbox and then append "/CleanroomLogger" so that this section of code is more plug 'n play. With these couple lines of code, it makes it easier for a new user to CleanroomLogger to copy and paste and get going. Obviously, the previous path does not work out of the box because it is not the full path to the app's sandbox.
Plus, it may encourage users to put logs in the Caches directory in case an iPhone user is low on space and the logs are taking up a lot of room. If desired, we could easily switch the sample code to use .documentDirectory instead.
Also, fixed the formatting of the RotatingLogFIleConfiguration initializer because the last few parameters were off the screen.

Would it be better to just use:
let logsDirectoryPath = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("CleanroomLogger").path


Native editor run all cells (when first running) does not run the first cell

I'm using our manualTestFile.py converted to .ipynb in the native editor.
Doing a run all cells it seems to not execute the first cell so that the notebook fails.

Validated


Retry connection attempt to hawkular

I'm trying to test heapster with hawkular with docker-compose.
heapster:
    image: kubernetes/heapster:canary
    ports:
        - "8082:8082"
    links:
        - hawkular
        - cadvisor
    command: --source="cadvisor:external?cadvisorPort=8081" --sink=hawkular:http://hawkular/?user=jdoe&pass=password --vmodule=*=4
    volumes:
        - ./sample-hosts.json:/var/run/heapster/hosts
cadvisor:
    image: google/cadvisor:latest
    ports:
        - "8081:8080"
    volumes:
        - /:/rootfs:ro
        - /var/run:/var/run:rw
        - /sys:/sys:ro
        - /var/lib/docker/:/var/lib/docker:ro
hawkular:
    image: hawkular/hawkular:latest
    ports:
        - "80:8080"
    links:
        - cassandra
    environment:
        CASSANDRA_NODES: cassandra
        TEST_MODE: true
cassandra:
    image: cassandra:2.1

The problem is hawkular takes some time to come up, but heapster doesn't wait and just dies:
F1014 16:04:52.539332       1 heapster.go:67] Get http://hawkular///metrics?type=gauge: dial tcp <IP_ADDRESS>:80: connection refused

Would it be possible to implement connection retry policy?

cc @burmanm

Also, maybe I'm doing something wrong, but even after launching docker containers manually (with the same options as in compose), I cannot to find any data from cadvisor in hawkular.

I think the issue with reconnection is that the Register method will return an error and Heapster will die in these cases. Restart policy for Heapster is probably the best workaround for now.

Support for docker compose is out of the scope of the Heapster.


enable true node instead of mean node

Is using the true node instead of the mean node an option in this library? I can't seem to find it as a setting. Thanks!

If anyone is wondering, I figured it out. Unfortunately you have to edit one of the library files. But if you change the dictionary value for the north node const in ephem/swe.py from 10 to 11, it will give you true north and south nodes instead of mean nodes.


using this library sometimes places is getting and sometime not getting.why?

Subject of the issue
Describe your issue here.
Steps to reproduce
Tell us how to reproduce this issue. Please provide a working demo.
Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead

It has to do with your billing for your google api key account


add  Optimisticlock in gen

Describe the feature
add  Optimisticlock in gen

Motivation

Related Issues

GEN allow you to specify field type on your own. https://github.com/go-gorm/gen#generate-model
g.GenerateModel("people", gen.FieldType("version", "optimisticlock.Version"))


404 Error Page Re-design

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
The current error page is as follows

Expected Behavior
The text in the error page should be made more clear and re-aligned. Also a button should be added so that a user can go back to the Homepage
Steps To Reproduce
No response
Anything else?
No response
What browsers are you seeing the problem on?
No response

I am working on this issue


Int2ObjectCache get returns unmatched item

Int2ObjectCache.java  method get returns unmatched value!
Please take a look at line #246 - the value is assigned and will be returned from the get method even if the key don't match.
this change was introduced in v 1.16.0
It is probably critical, also, please check other collections with similar code

@dmtsyganov Thanks for the report. It is indeed a regression in 1.16.0 which we are going to fix.
It only happens if for a key/hash an entire set is filled but none match the given key.

Fixed with https://github.com/real-logic/agrona/commit/87efa5a80aeba09d3fd4d6640c46a9d5cc3bc0b1.

Thank you for fixing it so quick! Will there be a new version release, or is it fixed under the current version?

No immediate plans for a release. If you are on commercial Aeron support then use your support contact to discuss scheduling a release.

Got it, thank you, Martin!

@vyazelenko do you know when a release date is planned?  When we increase the version we encountered this bug


Improve SEO/searchability

I guess this is more of a feature request. It took me over an hour of searching to find this extension because it is difficult to Google (or duckduckgo, or find on the vscode extension marketplace). Here are some of the things I tried:

vs code typescript extension expand types
vs code typescript extension expand types in comment
vs code typescript extension "// ^"
vs code extension that shows typescript type in comment
vs code extension that shows type in comment
vs code extension that writes type in comment

Perhaps there is some way to make it easier to find this extension. Almost all of these searches brought up "Top x vs code extensions for TypeScript," and I don't recall finding this extension anywhere in the results or in those articles.
Even if you know what you are looking for by pronunciation, typing "two slash" into the extension marketplace shows this extension as the 15th result. ("twoslash" finds it as the 1st/2nd though).

++ I only found this b/c I scrolled through my installed extensions / eventually remembered the feature was called two slash

dunno what to really offer here, happy to accept README or package.json changes with some of these ideas but I'm not certain if that helps with respect to searching in thevscode extensions marketplace

I was reading this as more general search engine SEO, since if you can find the repo you can then click through to the extension page

@orta yeah it's challenging for sure, and I'm not an SEO expert. For clarification, I meant what @jasikpark said. I care more about finding it through a Google search than the vscode marketplace. This issue I've created might actually help merely by existing.
I saw that there is a twoslash website. Does it link to this extension?
As another idea, maybe we could find YouTube tutorials that use the extension (that's how I learned of its existence) and ask if they can link to it if they only mention it in text. (This was one of the routes I took to find its name. Unfortunately, I couldn't remember the video.)
For the readme, that image is really helpful, but maybe some text-based examples could be included after it? (I have no idea of this would make a difference.)
I'm happy to pursue some of these ideas, just let me know which ones (if any) sound good.

It is true that it is very hard to google this, currently my only way to search this extension is by this youtube video by Matt Pocock:

I've done some changing to the name and description in the extension and README with 1.2.0, should be better now


add pandas to requirements/requirements.txt

refactor normalizer/eval_utils.py to use pandas
and output results to a csv file

@scottlimmer, would you mind taking a look at this and let me know what you think of the changes.


BUG: Config Presets breaks in A1111 v1.6

FYI, in case you didn't know, Config Presets is broken in A1111 version 1.6, because they removed the Restore faces checkbox and changed the enable HR Fix checkbox to be triggered by the state of the new expander.  I found that these element ids were hardcoded into the plugin, as shown in this code:
`def init(self, *args, **kwargs):
super().init(*args, **kwargs)
    # Load custom tracked components
    txt2img_custom_tracked_components_ids = load_txt2img_custom_tracked_component_ids()
    img2img_custom_tracked_components_ids = load_img2img_custom_tracked_component_ids()

    # These are the settings from the UI that are saved for each preset
    self.txt2img_component_ids = [
        "txt2img_sampling",
        "txt2img_steps",
        "txt2img_width",
        "txt2img_height",
        "txt2img_batch_count",
        "txt2img_batch_size",
        "txt2img_restore_faces",
        "txt2img_enable_hr",
        "txt2img_hr_scale",
        "txt2img_hr_upscaler",
        "txt2img_hires_steps",
        "txt2img_denoising_strength",
        "txt2img_cfg_scale",
    ]
    self.txt2img_component_ids += txt2img_custom_tracked_components_ids # add the custom tracked components

    self.img2img_component_ids = [
        "img2img_sampling",
        "img2img_steps",
        "img2img_width",
        "img2img_height",
        "img2img_batch_count",
        "img2img_batch_size",
        "img2img_cfg_scale",
        "img2img_denoising_strength",
        "img2img_restore_faces",
    ]
    self.img2img_component_ids += img2img_custom_tracked_components_ids # add the custom tracked components

    # Mapping between component labels and the actual components in ui.py
    self.txt2img_component_map = {k: None for k in self.txt2img_component_ids}  # gets filled up in the after_component() method
    self.img2img_component_map = {k: None for k in self.img2img_component_ids}  # gets filled up in the after_component() method

    # Load txt2img and img2img config files
    self.txt2img_config_presets = load_txt2img_config_file()
    self.img2img_config_presets = load_img2img_config_file()

`
I was able to disable the necessary fields to get up and running, but for end user experience, you may want to consider not hardcoding any element ids at all and using the configuration file for all relevant IDs.  That way, if something fundamental changes in A1111, a user can go in to their config file and disable as necessary to get back up and running without having to open up plugin code.
Cheers

My bad, I see some recent commits that address this.


what happens if  hit multiple non-priority entries or hit no entries(including priority and non-priority) ?

What will happen when hit multiple non-priority entries ?

For example, hit non-priority entry1 and gets all the permission needed. Also, hit non-priority entry2 and the rwx permission is 3'b000. In this case, is it legal  or not? Should interrupt or error response be generated based on entry2's setting? Please help clarify this in spec.

what will happen when no entries(including priority and non-priority) are hit ?

The case is legal. Entry2 is not considered a hit. An entry is hit when the entry matches all bytes of a transaction and the entry grants the transaction permission. Of course, the entry must have the highest priority. The rules about multiple non-priority entries have been clarified in the latest commit 1461046.

The transaction is illegal. If RRID of the transaction is legal, the error code of the transaction is "Not hit any rule".


Fix MessageId::getDataAsString() crashed with MSVC debug config

Fixes https://github.com/apache/pulsar-client-cpp/issues/107
Motivation
The MessageId::getDataAsString() API returns a std::string to the application side. In most cases it's not an issue. However, when building Windows DLLs with LINK_STATIC=ON, the library will be built with /MTd or /MT option to link 3rd party dependencies statically. In this case, the DLL and the application have different C runtime libraries that allocate or deallocate memory. The returned std::string object is allocated inside the DLL, while it will be destroyed in the application for debug build because RVO is not applied. The destruction could crash because the application C runtime cannot find the heap address from the C runtime in DLL.
Modifications
For MSVC debug build, change the API to return a const reference to std::string. Then the original std::string object will be deallocated inside the DLL.

Though it changes the public API, but it's only for Windows debug artifacts, which should only be used for tests, not in production. For users of Windows debug libraries, returning a const reference won't affect the application code.

ping @merlimat @RobertIndie @Demogorgon314


c-ares: update source URL

Description of changes
c-ares has moved to the new URL in 2021^1, and now old link only redirects to the new one. Moreover, old link is broken on IPv6-only networks (old domain resolves to IPv6 address, but this address refuses connections). This commit changes link to the current one.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I would like this to be backported to the release-23.11 branch as well.


Unable to Load Pre Trained Checkpoint for evaluation

I have set up the repo as explained in the ReadMe and Install instructions.  I had to modify the Yaml files for the Output Directory to get it to make the right directories.
When I run the CLI command to download the pre trained model weights from the Model Zoo I get an error.
For others PLEASE NOTE that the --config-file maskdino_R50_bs16_50ep_4s_dowsample1_2048.yaml doesn't find the YAML fille unless you provide the full path to it from the repo code in the CLI.
python ./train_net.py \
    --config-file maskdino_R50_bs16_50ep_4s_dowsample1_2048.yaml \
    --eval-only \
    --num-gpus 1 \
    MODEL.WEIGHTS ./model_final.pth

For some reason the command can't find the checkpoint.  It runs through all the configurations and displays a great deal in the logging, but in the end it gives the following error.
[11/08 21:52:44 d2.checkpoint.detection_checkpoint]: [DetectionCheckpointer] Loading from ./model_final.pth ...
[11/08 21:52:44 fvcore.common.checkpoint]: [Checkpointer] Loading from ./model_final.pth ...
Traceback (most recent call last):
  File "/home/ubuntu/git/doc_segmenter/./train_net.py", line 392, in <module>
    launch(
  File "/home/ubuntu/.pyenv/versions/3.10.12/lib/python3.10/site-packages/detectron2/engine/launch.py", line 84, in launch
    main_func(*args)
  File "/home/ubuntu/git/doc_segmenter/./train_net.py", line 360, in main
    DetectionCheckpointer(model, save_dir=cfg.OUTPUT_DIR).resume_or_load(
  File "/home/ubuntu/.pyenv/versions/3.10.12/lib/python3.10/site-packages/fvcore/common/checkpoint.py", line 227, in resume_or_load
    return self.load(path, checkpointables=[])
  File "/home/ubuntu/.pyenv/versions/3.10.12/lib/python3.10/site-packages/detectron2/checkpoint/detection_checkpoint.py", line 62, in load
    ret = super().load(path, *args, **kwargs)
  File "/home/ubuntu/.pyenv/versions/3.10.12/lib/python3.10/site-packages/fvcore/common/checkpoint.py", line 153, in load
    assert os.path.isfile(path), "Checkpoint {} not found!".format(path)
AssertionError: Checkpoint ./model_final.pth not found!

I don't know if the author of this repo removed the checkpoint or just provided the wrong information to get it.
I went to Model Zoo and there is no repo listed for SwinDocSegmenter.
Has anyone gotten past this point?

Did you try by downloading the wights and given the proper path from the command line??

Yes I tried to do it from the command line, but it failed to find the checkpoint file and download the weights.  When you say proper path I am assuming you are referring to the path you listed in the Readme.
python ./train_net.py \
    --config-file maskdino_R50_bs16_50ep_4s_dowsample1_2048.yaml \
    --eval-only \
    --num-gpus 1 \
    MODEL.WEIGHTS ./model_final.pth

Thanks that will help to know that I need to modify that.  I'll try that.  Thanks.

Ok I added to the CLI
./model_final_doclay_swindocseg.pth
I still got the following errror.
[11/09 15:41:51 d2.checkpoint.detection_checkpoint]: [DetectionCheckpointer] Loading from ./model_final_doclay_swindocseg.pth ...
[11/09 15:41:51 fvcore.common.checkpoint]: [Checkpointer] Loading from ./model_final_doclay_swindocseg.pth ...
Traceback (most recent call last):
  File "/home/ubuntu/git/doc_segmenter/./train_net.py", line 392, in <module>
    launch(
  File "/home/ubuntu/.pyenv/versions/3.10.12/lib/python3.10/site-packages/detectron2/engine/launch.py", line 84, in launch
    main_func(*args)
  File "/home/ubuntu/git/doc_segmenter/./train_net.py", line 360, in main
    DetectionCheckpointer(model, save_dir=cfg.OUTPUT_DIR).resume_or_load(
  File "/home/ubuntu/.pyenv/versions/3.10.12/lib/python3.10/site-packages/fvcore/common/checkpoint.py", line 227, in resume_or_load
    return self.load(path, checkpointables=[])
  File "/home/ubuntu/.pyenv/versions/3.10.12/lib/python3.10/site-packages/detectron2/checkpoint/detection_checkpoint.py", line 62, in load
    ret = super().load(path, *args, **kwargs)
  File "/home/ubuntu/.pyenv/versions/3.10.12/lib/python3.10/site-packages/fvcore/common/checkpoint.py", line 153, in load
    assert os.path.isfile(path), "Checkpoint {} not found!".format(path)
AssertionError: Checkpoint ./model_final_doclay_swindocseg.pth not found!

Do I first need to manually download the model from the Model Zoo area of the Readme and put it on my linux server before I run the CLI command?
If so do I need to put it in a specific directory or just at the root of the repo?

I apologize if I am not following your instructions very well.

Yes you need to download the model manually and put it into the folder from where you are running train_net.py

That worked. I got a new error, but I'll put that in a new ticket.  Your instruction worked for the checkpoint so if it ok with you I'll close this ticket.


[Question] How can I make my items flow in 3 columns?

Each of the column should be 1/3 of the available width.
[      ][      ][      ]
[      ][      ][      ]
[      ][      ][      ]
[      ][      ]

Just set FlowColumnCount property to 3 :)


missing 1 required positional argument: 'x'

encounter this error when I run python -m torch.distributed.launch --nproc_per_node=1 tools/train.py configs/MIAOD.py
2021-04-15 16:49:08,902 - mmdet - INFO - load model from: torchvision://resnet50
2021-04-15 16:49:09,276 - mmdet - WARNING - The model and loaded state dict do not match exactly

unexpected key in source state_dict: fc.weight, fc.bias

fatal: Not a git repository (or any of the parent directories): .git
2021-04-15 16:49:14,869 - mmdet - INFO - Start running, host: z00495072@poweredge-server-01, work_dir: /home/z00495072/Projects/MI-AOD-master/work_dirs/MI-AOD/20210415_164906
2021-04-15 16:49:14,869 - mmdet - INFO - workflow: [('train', 1)], max: 3 epochs
Traceback (most recent call last):
  File "tools/train.py", line 267, in <module>
    main()
  File "tools/train.py", line 180, in main
    distributed=distributed, validate=(not args.no_validate), timestamp=timestamp, meta=meta)
  File "/home/z00495072/Projects/MI-AOD-master/mmdet/apis/train.py", line 120, in train_detector
    runner.run(data_loaders_L, cfg.workflow, cfg.total_epochs)
  File "/home/z00495072/anaconda3/envs/miaod/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 122, in run
    epoch_runner(data_loaders[i], **kwargs)
  File "/home/z00495072/anaconda3/envs/miaod/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 32, in train
    **kwargs)
  File "/home/z00495072/anaconda3/envs/miaod/lib/python3.7/site-packages/mmcv/parallel/data_parallel.py", line 31, in train_step
    return self.module.train_step(*inputs[0], **kwargs[0])
  File "/home/z00495072/Projects/MI-AOD-master/mmdet/models/detectors/base.py", line 228, in train_step
    losses = self(**data)
  File "/home/z00495072/anaconda3/envs/miaod/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/z00495072/Projects/MI-AOD-master/mmdet/core/fp16/decorators.py", line 51, in new_func
    return old_func(*args, **kwargs)
TypeError: forward() missing 1 required positional argument: 'x'
Traceback (most recent call last):
  File "/home/z00495072/anaconda3/envs/miaod/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/z00495072/anaconda3/envs/miaod/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/z00495072/anaconda3/envs/miaod/lib/python3.7/site-packages/torch/distributed/launch.py", line 263, in <module>
    main()
  File "/home/z00495072/anaconda3/envs/miaod/lib/python3.7/site-packages/torch/distributed/launch.py", line 259, in main
    cmd=cmd)
subprocess.CalledProcessError: Command '['/home/z00495072/anaconda3/envs/miaod/bin/python', '-u', 'tools/train.py', '--local_rank=0', 'configs/MIAOD.py']' returned non-zero exit status 1.

encounter this error when I run python -m torch.distributed.launch --nproc_per_node=1 tools/train.py configs/MIAOD.py
2021-04-15 16:49:08,902 - mmdet - INFO - load model from: torchvision://resnet50
2021-04-15 16:49:09,276 - mmdet - WARNING - The model and loaded state dict do not match exactly

unexpected key in source state_dict: fc.weight, fc.bias

fatal: Not a git repository (or any of the parent directories): .git
2021-04-15 16:49:14,869 - mmdet - INFO - Start running, host: z00495072@poweredge-server-01, work_dir: /home/z00495072/Projects/MI-AOD-master/work_dirs/MI-AOD/20210415_164906
2021-04-15 16:49:14,869 - mmdet - INFO - workflow: [('train', 1)], max: 3 epochs
Traceback (most recent call last):
  File "tools/train.py", line 267, in <module>
    main()
  File "tools/train.py", line 180, in main
    distributed=distributed, validate=(not args.no_validate), timestamp=timestamp, meta=meta)
  File "/home/z00495072/Projects/MI-AOD-master/mmdet/apis/train.py", line 120, in train_detector
    runner.run(data_loaders_L, cfg.workflow, cfg.total_epochs)
  File "/home/z00495072/anaconda3/envs/miaod/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 122, in run
    epoch_runner(data_loaders[i], **kwargs)
  File "/home/z00495072/anaconda3/envs/miaod/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 32, in train
    **kwargs)
  File "/home/z00495072/anaconda3/envs/miaod/lib/python3.7/site-packages/mmcv/parallel/data_parallel.py", line 31, in train_step
    return self.module.train_step(*inputs[0], **kwargs[0])
  File "/home/z00495072/Projects/MI-AOD-master/mmdet/models/detectors/base.py", line 228, in train_step
    losses = self(**data)
  File "/home/z00495072/anaconda3/envs/miaod/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/z00495072/Projects/MI-AOD-master/mmdet/core/fp16/decorators.py", line 51, in new_func
    return old_func(*args, **kwargs)
TypeError: forward() missing 1 required positional argument: 'x'
Traceback (most recent call last):
  File "/home/z00495072/anaconda3/envs/miaod/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/z00495072/anaconda3/envs/miaod/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/z00495072/anaconda3/envs/miaod/lib/python3.7/site-packages/torch/distributed/launch.py", line 263, in <module>
    main()
  File "/home/z00495072/anaconda3/envs/miaod/lib/python3.7/site-packages/torch/distributed/launch.py", line 259, in main
    cmd=cmd)
subprocess.CalledProcessError: Command '['/home/z00495072/anaconda3/envs/miaod/bin/python', '-u', 'tools/train.py', '--local_rank=0', 'configs/MIAOD.py']' returned non-zero exit status 1.

Please refer to Modification in the mmcv Package. That is, you are supposed to copy the “epoch_base_runner.py” provided in this repository to the mmcv directory (as described in the README.md).

thx! problem solved!


fix(ui): wallet settings has no way to return to overview

To reproduce:

Connect wallet
Open wallet
Click on "Settings"
There's no way to back to overview. And reopening the wallet shows the settings.

Hi @mikeeus,
Thanks for your time to explore around the development. We have already fixed and are preparing a patch for.
If you don't mind, I'll close the issue.
Duplicates #200


frontend homework 15

Metric
Value

alert_status
:white_check_mark: OK

bugs
0

code_smells
1

reliability_rating
A (0 Bugs)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0