Struggling with regex - capture version or any text

Hi guys, is there a way I can capture the version from this example App Store page?
https://apps.apple.com/gb/app/my-english-literature-gcse/id1335737542

I've used the example at https://monitoror.com/documentation/#tile-http-raw and amended to (just capitalized the V and removed the ::
{
  "type": "HTTP-RAW",
  "params": {
    "url": "https://apps.apple.com/gb/app/my-english-literature-gcse/id1335737542",
    "regex": "Version\s*([^\s]*)"
  }
}

But is not happy: "Your configuration cannot be parsed, please verify it".
I have played around regex for a few days now, referring to https://golang.org/s/re2syntax as recommended in the documentation, but I'm not getting anywhere to be honest.

Duplicates #249

To be more clear: Your issue is the same than #249: you did not escape backslashes.
Try "regex": "Version\\s*([^\\s]*)"

Thanks @Alex-D . Escaping does not fail the configuration, however, doesn't produce a great result:

Any thoughts?
    {
      "type": "HTTP-RAW",
      "params": {
        "url": "https://apps.apple.com/gb/app/my-english-literature-gcse/id1335737542",
        "regex": "Version\\s*([^\\s]*)"
      }
    }

view-source:https://apps.apple.com/gb/app/my-english-literature-gcse/id1335737542
There is a match before the one you want ^^'
Since you are trying to parse HTML, be more specific, try this:
{
  "type": "HTTP-RAW",
  "params": {
    "url": "https://apps.apple.com/gb/app/my-english-literature-gcse/id1335737542",
    "regex": ">Version\\s*([\\.\\d]*)<"
  }
}

Thank you very much @Alex-D , that works. I don't pretend to understand how it does it yet but will try my best.
Do you mind sharing another example on how to scrape the version from the next line of a text like on https://play.google.com/store/apps/details?id=com.m360.android&hl=en_GB?

Will try to compare the two solutions for two different use cases and understand more about how it works.

Open the HTML
check what you want to catch
do the regex

@Alex-D , it took me a while (I'm thick) but I've got it:
"regex": ">Current Version

*([\\.\\d]*)<"
I guess there would have been a better way, something like Version\n([\.\d]){5}, but c'est la vie. :)
If someone comes across this, https://regex101.com/ is a helpful tool (see the Golang flavour).

Current Version\n*([.\d]*) if would have been plain text.


Fix -Wconversion warnings

I changed two inline helper functions to use int16_t instead of uint16_t. I don't think it's a big issue because using an out-of-range value wouldn't have worked properly anyways.
This should fix #1213.

Looks good! Thank you very much!


Alias is only on the last created index

Hi,
I'm new here so I'm not sure it is a real problem, but there's something I do not understand :
When I create multiple indices "foobar_{date}" with the alias "foobar", only the last index is aliased. The former indices are not aliased anymore.
I work on V1.0.2 and ES 7.10.0
I hope someone can clarify this to me, thank you !

:wave:
This is normal. Elastically creates a new index everytime you call IndexBuilder->createIndex and change the alias to te latest index with the method markAsLive.
If you want to remove old indices because you don't need them anymore, there's a method purgeOldIndices in the IndexBuilder.php.
Call it, and old indices will be removed.
See the doc here: https://github.com/jolicode/elastically/blob/223752b125f17e7ccb8563adc0657c1eccfa3a94/README.md#demo

Actually the alias is only moved to the new index only if you call $indexBuilder->markAsLive($index, 'beers');.
But anyway, this is the intended behavior. You only want ONE index to be "live" at a time because this is where your searches are done.
Does that answer your question?
May I recommend reeding https://jolicode.com/blog/introducing-elastically-our-elastica-ally too?
Cheers

Thank you for your quick replies !
Yes you answered my question, I read the entire documentation more carefully and the method I was looking for is migrate
As far as I understand, when I need to update my index while keeping the old data available, I need to call migrate, markAsLive and purgeOldIndices
Thank you
Cheers

Yes absolutely :+1: Thanks!


Created csv file for wrestrc waypoints

Hello,
I have updated the PR.
Thank you.

Hello,
I updated the waypoints to not go over the pond (I see what you're saying about the algae).
Thanks.


Cannot import model_specs after change in model config handling

This code now fails because model_specs is not defined
https://github.com/USEPA/ElectricityLCI/blob/2232c41f2cb4fd333ad59c8710aa55906e6a7ed3/electricitylci/eia923_generation.py#L9
It seems when this change was made
https://github.com/USEPA/ElectricityLCI/commit/587a093cf4b62cf316b61017a1d05dfe7adbdced#diff-31f24fa7269e7b74b1866eb183ffb1b9
that the import handling was not all updated

@bl-young can you respond to this

Are you calling eia923_generation.py directly from some other code? main.py should build model_specs here. If you do want to call directly, you'll need some other code:
import electricitylci.model_config as config
config.model_specs=config.build_model_class("ELCI_1")
# or config.model_specs=config.build_model_class() to get prompted.

Correct - the original challenge was that you couldn't access individual modules outside of running the entire code, so the change implemented allows for pulling specific modules directly. As Matt said, you end up needing an extra line or two to specify the model_specs before you can access those.
See the conversation here: https://github.com/USEPA/ElectricityLCI/pull/128#issue-455439423

I'm sure this needs to be updated in the wiki

OK thanks. This is helpful. yes a wiki update would be great. I will close this issue


Should all title headers be {Page} | ACM at CSUF or ACM at CSUF | {Page} ?

What happened?
As i was fixing Issue 522, I came across inconsistencies among different titles and wasn't sure what looked right.
My solutions were:
Option 1 - ACM at CSUF | {Page}
Option 2 - {Page} | ACM at CSUF
My issue with option 2 was the 404 page.
404 | ACM at CSUF doesn't read right to me compared to ACM at CSUF | 404.
But maybe it does and i'm just being weird about it.
Any recommendations, ideas, or solutions would be very much appreciated.

closed by https://github.com/EthanThatOneKid/acmcsuf.com/pull/565 and https://github.com/EthanThatOneKid/acmcsuf.com/pull/562


Bug fix: Fixed Partner select not showing all partners

Close #160

Added SelectOneSearch component to replace the previous Select component for the partner_name field in POST/PUT opportunities. This allows users to search and select a partner, rather than selected a partner by itself. I felt this was necessary considering that VOA has a ton of data.

Test this:
Use the POST/PUT opportunity forms with the new functionality.
I tested this with POSTing an opportunity.

@Alex-Cannon I tested this one but am not seeing any results when searching for a partner in the Add Opportunities form. I've search known partners but still see 'No Results'

@stevenabadie do you have partners in your database? As of my knowledge, whoosh is setup to match whole words, not partial matches.
When I search "volunteers", I see "volunteers of america".
When I search "vol", I see 0 results.
This should be expected.

@stevenabadie I tested this again. It works for me. The search must match an exact word in the partner_name. Then, you must choose the partner from the drop-down instead of typing it in.
Let me know if it still doesn't work for you.

This is merged in


fix(aws_eks_addon): addon name should be in spec instead of using XR name

Description of your changes
Change aws_eks_addon external name to have the addon name in spec instead of using XR name
Fixes #603
I have:

[ ] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
Tested on multiple clusters with ebs_csi_driver addon

looks good to me !

/test-examples="examples/eks/addon.yaml"

/test-examples="examples/eks/addon.yaml"

/test-examples="examples/eks/addon.yaml"


publish everything from the staging directory to artifacts

publish everything from the staging directory to artifacts, including binaries, symbols and zip.

verifed that with the PR, binaries, symbols and zip files are published to artifacts. ApiPort NuGet package is real signed, APIPort.dll is also signed.,


fix: update release pipeline

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

Project coverage is 42.16%. Comparing base (9f454fc) to head (5759c19).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #701   +/-   ##
=======================================
  Coverage   42.16%   42.16%
=======================================
  Files          19       19
  Lines         600      600
  Branches       76       76
=======================================
  Hits          253      253
  Misses        272      272
  Partials       75       75

Flag
Coverage Δ

unittests
42.16% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


bitswap: Update libp2p

As suggsted in #485 I re-started my efforts starting with the /bitswap subtree for updating libp2p.
Supersedes #485

Feel free to suggest how to continue! :laughing:

Great you've been making progress, thanks also for Max (cannot tag from mobile ui) for helping out. I will be out of office until next week (xmas holidays) when I hope to fix the build and then merge this. Again, thanks for doing this!
Note that I only suggested that you'd start the upgrade from first getting the bitswap/ work, possibly leaving it implicit that you should continue to upgrade ipfs or the root crate after that. The libp2p upgrade should be on a single PR, even though it affects two parts or more parts (http/). Also, feel free to rebase your work on the PR as much as you want, just avoiding merges in the PR branch. However if the git-fu becomes an issue, I can take care of that when merging as well.

I will be out of office until next week

Sure, no hurry!

Note that I only suggested that you'd start the upgrade from first getting the bitswap/ work, possibly leaving it implicit that you should continue to upgrade ipfs or the root crate after that.

Yes, sure! Upgrading bitswap was ... doable, but I fail to see why the root crate does not compile, so I figured I rather push this into a PR and we go from there instead me just becoming desperate :laughing:

However if the git-fu becomes an issue, I can take care of that when merging as well.

No worries, I am a git ninja (>10 years experience, with different workflows and even email workflows etc etc)!

Similar to #485, closing this as libp2p has been upgraded to 0.43.


"Aurora has stopped working" at boot or launch

2017_30_10.log
What are you experiencing an issue with?

[x] Aurora Lighting issue

What kind of an issue is it?

[x] Crash

Actual behavior:
When i boot or when I lauch aurora, aurora work properly (RGB profil is correctly loaded) but i have this crash report:

https://img4.hostingpics.net/pics/662573auroraerror.png

When I click OK, aurora stop
How often does this problem occur?
Every time
Explanation
At first, Aurora worked perfectly, one day I left my computer on all day while I was at work for some downloads
When I returned to my computer, it was totally frozen, aurora took 100% use of my CPU.
I restarted my computer, uninstalled and reinstalled aurora.
Since, this error message appears at each startup or when I try to launch the application
.
I reinstalled the latest version of aurora and the previous version several times, and then tried to clone the git to the location indicated by the error message without success.
Sorry for my french and thanks in advance

Delete %appdata%/Aurora/Config.json


Background service is not working?

Android 7.0 not working backgound service. How to run service in background.Same code working very well upto 6.0,,,i used LocationUpdatesPendingIntent project in that background service is not working form 7.0.when app is forground its it working well but when  i kill the application location not getting updating...please help me any sir

Same issue for me as well. I use the location services for geofencing and it never works. i have tried almost everything


driver: watchdog: wdt_ifx_cat1: masking added

Masking is added so that WDT is not invoked multiple times

You need to amend the commit and change the actual commit title


fix(Examples): remove unused variable to resolve warning

There was an unused variable introduced in the previous capsense
axis commit. The fix is to remove said variable.

Note: This targets the release branch because the issue is only apparent in that one. The master branch doesn't have the issue.


JSHint updated

When JSHint releases a new version, this grunt lib do not increase a number version. So for using a new version of JSHint we need to remove and re-install this lib.
An issue I had, just to exemplify:
In my local environment grunt-contrib-jshint works perfectly, but crashes when I applied last changes to my server. After a little investigation I discovered that grunt jshint lib was in same version on both environments, but the dependency 'jshint' of grunt-contrib-jshint was on 2.8.0 on my local and 2.7.0 on my server.

That's how npm and semver works.

SEMVER says:
"What should I do if I update my own dependencies without changing the public API?(...) Determining whether the change is a patch level or minor level modification depends on whether you updated your dependencies in order to fix a bug or introduce new functionality. I would usually expect additional code for the latter instance, in which case it's obviously a minor level increment."
As I understand, if this lib depends on another and this dependency introduce a new feature, I should increment a minor level.
Am I wrong?


PMD and Findbugs

There are a lot of PMD and Findbugs warnings that have to be looked at, and if reasonable, solved

Issue has been resolved in #83


Use debugger in PlatformIO IDE over USB (no hardware needed) using openocd

Please, use the following diff to enable debugger support in PlatformIO using openocd:
In boards/lilygo-t-displays3.json  replace existing openocd_target with:
openocd_board": "esp32s3-builtin.cfg
In platformio.ini add in [env]:
debug_tool = esp-builtin
upload_protocol = esp-builtin

If the GSB single-stepping/breakpoint doesn't work because software breakpoint cannot be written (code executed from FLASH), then in the debugger console mark the code memory as read-only, for example:
mem 0x40000000 0x4fffffff ro
Without these changes the openocd is run with incorrect interface and there are error messages about invalid command espusbjtag.
diff --git a/boards/lilygo-t-displays3.json b/boards/lilygo-t-displays3.json
index b840211..ab9ad67 100644
--- a/boards/lilygo-t-displays3.json
+++ b/boards/lilygo-t-displays3.json
@@ -26,7 +26,7 @@
     "bluetooth"
   ],
   "debug": {
-    "openocd_target": "esp32s3.cfg"
+    "openocd_target": "esp32s3-builtin.cfg"
   },
   "frameworks": [
     "arduino",
@@ -42,4 +42,4 @@
   },
   "url": "https://www.lilygo.cc/products/t-display-s3",
   "vendor": "LILYGO"
-}
\ No newline at end of file
+}
diff --git a/platformio.ini b/platformio.ini
index de7e99e..190dc2f 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -35,6 +35,8 @@ platform = espressif32
 board = lilygo-t-displays3
 framework = arduino
 ; extra_scripts =  ./script/pos_extra_script.py
+debug_tool = esp-builtin
+upload_protocol = esp-builtin

 build_flags =
     -DLV_LVGL_H_INCLUDE_SIMPLE

It has been updated, you can check it out


Update documentation with available message customizations

Hi,
Thank's for the good job on the lib.
I'd like to suggest an update in the library documentation, specifically at this page:
https://github.com/Mobius1/Selectr/wiki/Options#messages
There are two customizable messages that are not yet documented: noOptions and searchPlaceholder.
I'd update the Wiki myself but unfortunately AFAIK Github does not allow pull-requests on Wiki's.

+1


Add potential interactions in 4C

In this PR I added the following things:

A new top level directory FourC (I learned that Python modules are not allowed to start with a number, e.g., 4C) which now includes the beam_potential.py file for potential interactions.

Therein, I've added a new class BeamPotential which helps with the header and runtime output definition as well as the boundary conditions for potential interactions

I also added your proposed code snippet to the utilities of MeshPy, as this is a very useful tool.

The final structure is probably upon discussion, therefore, I've waited to add a test (as this only tests for simple header changes this is not yet important)
Finally I now use this code:

Click me
import numpy as np

from meshpy import (
  InputFile,
  GeometrySet,
  Function,
  MaterialReissner,
  Beam3rHerm2Line3,
  BoundaryCondition,
)

from meshpy.conf import mpy
from meshpy.FourC.beam_potential import BeamPotential
from meshpy.mesh_creation_functions.beam_basic_geometry import create_beam_mesh_helix
from meshpy.utility import find_node_on_plane

def main():
  """Minimal example of multiple helical beams with potential interactions."""

  ### define input file
  input_file = InputFile()

  ### define material
  mat = MaterialReissner(youngs_modulus=1000, radius=0.5, shear_correction=1.0)

  ### determine quantities of helice
  # define radii of differing helical segments
  radii = np.array([0, 3, 6, 9, 12, 15, 18])

  # determine twist angles if helical segments
  outermost_twist_angle = np.deg2rad(45)
  twist_angles = []
  for radius in radii:
      if np.isclose(radius, 0.0):
          twist_angles.append(np.pi / 2)
          continue
      twist_angles.append(
          np.arctan((radii[-1] / radius) * np.tan(outermost_twist_angle))
      )

  ### Define functions for line charge density
  fun_1 = Function("TESTFUNCTION 123")
  fun_1.n_global = 1
  fun_2 = Function("TESTFUNCTION 234")
  fun_2.n_global = 2

  ### Define beam potential
  beampotential = BeamPotential(
      input_file,
      pot_law_prefactor=[-1.0e-3, 12.45e-8],
      pot_law_exponent=[6.0, 12.0],
      pot_law_line_charge_density=[1.0, 2.0],
      pot_law_line_charge_density_funcs=[fun_1, fun_2],
  )

  ### Add header and runtime output to .dat file

  beampotential.add_header(
      cutoff_radius=10.0,
      evaluation_strategy="SingleLengthSpecific_SmallSepApprox_Simple",
      potential_reduction_length=15.0,
  )
  beampotential.add_runtime_output()

  ### Create helices and add potential charge condition to each
  for radius, twist_angle in zip(radii, twist_angles):

      helix_set = create_beam_mesh_helix(
          input_file,
          Beam3rHerm2Line3,
          mat,
          [0, 0, 1],  # axis
          [0, 0, 0],  # axis_point
          [radius, 0, radius],  # start_point
          twist_angle,  # twist_angle
          height_helix=80,
          n_el=20,
          warning_straight_line=False,
      )

      beampotential.add_potential_charge_condition(geometry_set=helix_set["line"])

  ### Add boundary condition to bottom and top node
  input_file.add(
      BoundaryCondition(
          GeometrySet(
              input_file.get_nodes_by_function(
                  find_node_on_plane, normal=[0, 0, 1], origin_distance=0.0, tol=0.1
              )
          ),
          "NUMDOF 9 ONOFF 1 1 1 1 1 1 0 0 0",
          bc_type=mpy.bc.dirichlet,
      )
  )

  input_file.add(
      BoundaryCondition(
          GeometrySet(
              input_file.get_nodes_by_function(
                  find_node_on_plane, normal=[0, 0, 1], origin_distance=98.0, tol=0.1
              )
          ),
          "NUMDOF 9 ONOFF 1 1 1 1 1 1 0 0 0",
          bc_type=mpy.bc.dirichlet,
      )
  )

  input_file.write_input_file("_test_output/test.dat", header=False)
  input_file.write_vtk("test", "_test_output/")

if __name__ == "__main__":

  main()

to create the following perfectly fine input file (.txt instead of .dat due to Github not supporting .dat files)
test_potential_interaction.txt
I would be more than happy to get your feedback regarding these changes 😊

Closes #72

One thing I am unsure about is how to add a global (or get) a global ID (number) for a defined function?
I specifically set it with
fun_1.n_global = 1

@davidrudlstorfer in general the script looks good to me, one comment:
input_file.write_input_file("_test_output/test.dat", header=False)

In testing we always turn the header off, but in practice I would keep it on, as it adds some information to your input file that can later be used to help to identify the state of the script when the file was created.

@isteinbrecher thanks for your review! I've added all of your recommendations to latest changes.  Also thanks for the help with the function numbering within the .dat file.
Regarding the tests:
I took the liberty and renamed testing_utility.py into utilities.py and created a testing_utility.py for the newly added node testing function. This was done to adhere with the current file naming scheme of the test files.

@davidrudlstorfer everything looks good to me, if you think this is ready, we can merge this.

Can you click on the merge button or is this for member of the group imcs-compsim only?

Unfortunately I am not authorized to push the big button

I invited you to the project with write acces, does it work now?

@isteinbrecher thanks for the invitation, unfortunately it still does not work

How about now?

Yes - worked like a charm. Thanks for your help and review regarding this PR! This concludes the first steps for me regarding MeshPy. I am now going to include it within my own repo for the creation of input files. I am going to contribute further to MeshPy depending on different upcoming needs :smile:

Thanks for your contributions and looking forward to the next ones! I might come up to you for some small improvements cleanup in the future 😉


Add spec for Warning.warn

for #473
I wanted to add another spec for redefining .warn, but for some reason it didn't work.  I assume MSpec redefines it already before running each spec.

Yes, MSpec itself uses Warning.warn in https://github.com/ruby/mspec/blob/2fdb1503bdf546bb5a996fc0028a04ec1f75c299/lib/mspec/utils/warnings.rb#L18

There are a few interesting things with the new Warning.warn:
Warning extends itself.
And actually Warning.warn is just Warning#warn:
> Warning.method :warn
=> #<Method: Module(Warning)#warn>

This is useful so one can redefine Warning#warn like so:
def Warning.warn(message)
  if message =~ /.../
  else
    super
  end
end

Would you like to try to add specs for some of these interesting details? (the module extends itself, that Warning.method(:warn).owner == Warning, and it can be overridden and use super).
Overriding is the tricky one, you need to make sure to restore the Warning.warn from MSpec after that example.

I can't really test for Warning.method(:warn).owner == Warning, because it has already been overridden by MSpec.  To illustrate:
2.4.2 :001 > Warning.method(:warn).owner
 => Warning
2.4.2 :002 > Warning.method(:warn).owner.class
 => Module
2.4.2 :003 > Warning.class
 => Module
2.4.2 :004 > Warning.method(:warn).owner == Warning
 => true
2.4.2 :005 > def Warning.warn(msg); "testing"; end
 => :warn
2.4.2 :006 > Warning.method(:warn).owner
 => #<Class:Warning>
2.4.2 :007 > Warning.method(:warn).owner.class
 => Class
2.4.2 :008 > Warning.class
 => Module
2.4.2 :009 > Warning.method(:warn).owner == Warning
 => false

I guess MSpec needs to be changed to override it using a module instead.  Then this check would pass:
2.4.2 :001 > Warning.method(:warn).owner == Warning
 => true
2.4.2 :002 > module Warning; def warn(msg); msg.upcase; end; end
 => :warn
2.4.2 :003 > Warning.method(:warn).owner == Warning
 => true
2.4.2 :004 > Warning.warn "i scream"
 => "I SCREAM"

Calling super still works in there.

One nice trick to get around whatever MSpec changes, or to monkey-patch freely is to execute code with ruby_exe(code).
This creates a new Ruby process, which does not load MSpec and returns the standard output as a String.
So something like
ruby_exe("p Warning.method(:warn).owner").should == "Warning\n"

should work.

Thanks for showing the trick with ruby_exe, this will help a lot with this.


Failed to restart the AZHOST2

I have found the new issue about rebooting the AZHOST2.
This is related New-AzSHCISandbox.ps1:2718
Restart-Computer $AzSHOST -Force -Confirm:$false -Credential $using:domainCred

VERBOSE: Rebooting SDN Host AzSHOST2
Failed to restart the computer AzSHOST2 with the following error message: Illegal operation attempted on a registry key that has been
marked for deletion. (Exception from HRESULT: 0x800703FA).
At C:\AzHCI_Sandbox\AzSHCISandbox-main\New-AzSHCISandbox.ps1:2588 char:5

Invoke-Command -ComputerName Admincenter -Credential $domainCred  ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : OperationStopped: (AzSHOST2:String) [Restart-Computer], InvalidOperationException
FullyQualifiedErrorId : RestartcomputerFailed,Microsoft.PowerShell.Commands.RestartComputerCommand
PSComputerName        : Admincenter #

Ran another test fix, this has been resolved and tested. You will either need to delete the deployment, and the source files to ensure you get a recent update, or delete the Resource Group Deployment and redeploy entirely.


NR1 Catalog launch improvements

Closes #21
Improves dev dependencies
Removes root.js

:tada: This PR is included in version 0.5.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


completed password strength checker

This Python script is a password strength checker tool that allows users to input passwords and evaluates their strength based on certain criteria. It includes the following features:
Password Generation: It generates a strong random password of at least 12 characters, combining digits, uppercase letters, lowercase letters, and symbols to ensure complexity.
Password Strength Rating: The script uses the zxcvbn library to rate the strength of the provided password. It categorizes passwords as either "Weak" or "Strong" based on their complexity and checks them against a provided weak wordlist to ensure they are not commonly used.
Suggested Strong Password: If a password is rated as "Weak," it suggests a strong random password generated earlier for the user to consider using instead.
Custom Wordlists: Users can provide their custom wordlists for both weak and banned passwords.
Interactive Usage: It allows users to test multiple passwords in a loop and provides strength feedback for each password entered.
In summary, this script helps users assess the strength of their passwords and provides recommendations for stronger alternatives when needed. It also gives users the flexibility to customize wordlists for more tailored password checks.

Here is a sample picture for the above code ! .... Do let me know if something else was expected. Thanking you for your time and consideration

issue #14

@Transyltooniaa delete the Conflicting files   ".DS_Store"

Please check I have removed the conflicting files


Column in sample-collection template for specimen type (output)

Mentioned in #1217. This would add a column to create an axiom connecting the specimen collection process to the bearer of the specimen role created in the process.
C has_specified_output some (% and 'has role' some 'specimen role')

Makes sense to me.

Makes sense to me.


left-to-right

how can I make the transition left to right?
instead right to the left

Hi @mostafaac30.
Thank you for making the issue!
I thought transition left to right was necessary too. But I had not yet implemented it.
It will be added in the next version.
Please wait a moment!

Hi! Dear @mostafaac30 .
turn_page_transition has been released version 0.2.0 and it allows left-to-right turns.
I hope this package will help you.

That's the best,
It helped me too much.
Thanks @Shoryu-Y


Cannot interpret URL paths in manifest

I'm trying to run a Vue app in dev mode (i.e. vue serve from the CLI.  My manifest correctly records URLs to the dev server, e.g.
{
  "chunk-vendors.js": "http://localhost:8080/chunk-vendors.js",
  "vue_app_01.js": "http://localhost:8080/vue_app_01.js",
  "vue_app_02.js": "http://localhost:8080/vue_app_02.js",
  "favicon.ico": "http://localhost:8080/favicon.ico",
  "img/logo.png": "http://localhost:8080/img/logo.png",
  "index.html": "http://localhost:8080/index.html"
}

However, it seems that django-manifest-loader is presuming all resources in the manifest are paths to Django staticfiles.   My template renders:
<!-- manifest -->
 <script src="/static/http%3A/localhost%3A8080/vue_app_01.js"></script>

<!-- manifest_match -->
<script src="/static/http%3A/localhost%3A8080/vue_app_01.js"/>

I'd like to be able to use django-manifest-loader to easily switch between dev mode and static build mode on my Vue app without altering any code.  Is this possible?

Hi @ilikerobots, sorry for the delay in looking at this. This app was designed to assume all paths are Django staticfiles.
I could add a setting that would allow you to turn that off, and to just use the exact string that the manifest file is passing in. Would that solve your problem? You'd be able to use it something like this:
# settings.py

MANIFEST_LOADER = {
    'map_to_staticfiles': not DEBUG
}

Where in this example if you were running in DEBUG mode it would just pass the exact string the manifest files is pointing to, and when you're not running in DEBUG mode it would work as normal. You could, of course, implement your own logic as to when to flip this setting to meet your own needs.
Alternatively, there could be a setting
# settings.py

MANIFEST_LOADER = {
    'map_urls': False
}

This would inspect strings that are to be mapped to in order to see if they are a URL or not, and if they are it would skip the mapping.
Thoughts?

Sorry for the delay.  I looked at the PR and I think you've picked the perfect way to handle it.  The settings option above could be clunky because a difference in the rebuild of the JS project (e.g. vue serve vs vue build) would require also a change in the django settings.
Your implemented solution however solves the issue effectively and unambiguously I believe.  Thanks.

I'm still experience this issue using the latest version published in pypi https://pypi.org/project/django-manifest-loader/
0.1.0.
Is there anything else needed to have this working?


Move ItemListEditorPlugin to a sidedock

See godotengine/godot-proposals#368 for the problem. This commit moves the ItemListEditor from a popup window to a side dock. Additionally, the delete button is now disabled if no item is selected.
Explanation:
When working with nodes that use an ItemList, the ItemListEditor is often used. It is found in a toolbar button, which wouldn't be bad if it was an infrequently used feature or if this wasn't the only editor (like for Sprite2D). Additionally, the toolbar button is easily missed, leading some users to add nodes as children of an ItemList. Moving the editor from the popup window to the sidedock should make it more clear how to use it, and doesn't require opening and closing popup windows. The portion of the screen that is taken up when selecting such a node can be justified by how essential this functionality is to an ItemList, and a popup window disables the whole editor anyway.

Other options were

highlighting the toolbar: doesn't solve much, as the popup window is still awkward to use.
putting the editor in the inspector as a dictionary: makes the inspector too messy.

From Travis CI macOS build log:

Updating Homebrew
$ rvm $brew_ruby do brew update 1>/dev/null
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received
The build has been terminated

Not sure if I can fix this, maybe restart the build?

Will this fix #30636 ?  I'm curious if the previous broken behavior is due to modality conflict with the original popup and current inspector.

Will this fix #30636 ? I'm curious if the previous broken behavior is due to modality conflict with the original popup and current inspector.

No, that seems to still happen. A solution for that is not fit for this PR, as it seems to be a problem in the way plugins are iterated over. The editor loops over different plugin lists multiple times, first activiting the ItemList editor, then hiding it for the TextureRegion editor.

Wondering if this is still desired. Currently, the editor automatically opens when selecting an itemlist node in the scene tree. The toolbar button was often missed, but it could be added again to be able to hide the editor.

Sorry for the late review, but once https://github.com/godotengine/godot/pull/52277 gets a merge, it will make this PR obsolete. We will likele make the ItemList node expose properties for each item and show them as an array in the inspector.


Add fixture_support requirement.

It fixes #71.

You're awesome!

That was a super quick merge. TravisCI wasn't even able to run all test cases due to merged PR :)

@apotonick - The man who merges faster than his shadow.
(Not really, ask @fernandes hahahaha) :laughing:

:+1:

hahahahhahahah mean time for merging PRs: 3 months while in world tour conferences and 2 weeks when working hahahhaha

@opti Does that still work with Rspec-rails 3.2?

@apotonick should be


ERROR message 'iomem=relaxed'  ASUS CN60 chromebox

Thanks for your amazing work ...Everything is working no issues since I installed MrChromebox on my ASUS CN60 chromebox. But I also recently installed Ubuntu 23.04 and i ran the script from the firmware guide on MrChromebox.tech website.
( cd; curl -LOk mrchromebox.tech/firmware-util.sh && sudo bash firmware-util.sh)
but I keep getting error  message when trying to run the script ..
You may need to add 'iomem=relaxed'  to your kernel parameters or trying running from a live USB with a more permissive kernel (eg, Ubuntu 23.04+)
Can't seem to figure out how to fix it, I'm just trying to see if I can update the Bios. Any help would be greatly appreciated.

you should have no issues running the script on Ubuntu 23.04, it works fine on a live USB here. If the installed version behaves differently, you might need to do what the error says -- add 'iomem=relaxed' to your kernel boot parameters.
PS - you don't need the 'k' in the script command, not sure why you're using it.

Hi,
I'm still getting error message after adding 'iomem=relaxed' to kernel parameters,  I also upgraded to Ubuntu  23.10.
lsb_release -a  15:50:17
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 23.10
Release:	23.10
Codename:	mantic
cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-6.5.0-17-generic root=UUID=4a46ba30-61de-45cb-8ab1-13669fffa628 ro iomem=relaxed quiet splash vt.handoff=7
cd; curl -LO mrchromebox.tech/firmware-util.sh && sudo bash firmware-util.sh
MrChromebox Firmware Utility Script starting up
Downloading supporting files...
Downloading required tools...
Getting device/system info...
Flashrom is unable to read current firmware; cannot continue:
flashrom 1.4.0-devel on Linux 6.5.0-17-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
ERROR: Could not get I/O privileges (Operation not permitted).
Your kernel may prevent access based on security policies.
Issue a 'dmesg | grep flashrom' for further information
Error: Programmer initialization failed.
You may need to add 'iomem=relaxed' to your kernel parameters,
or trying running from a Live USB with a more permissive kernel (eg, Ubuntu 23.04+).
See https://www.flashrom.org/FAQ for more info.

please try with a 2304 live USB and let me know if you have an issue there

I just tried it again on 23.04 USB live same error message..
all good it was worth a try. thanks again

this doesn't make any sense. I just booted Ubuntu 23.04 Live USB, installed curl, and ran the script without issue on my CN60

This started happening to me a week or two (or three...) ago on a GALLOP chromebook running Fedora 39. Perhaps something has changed with the kernel? If I reboot and add 'iomem=relaxed' to the kernel options in grub, firmware-util.sh runs normally. If I don't add that option, I get this:

Downloading supporting files...

Downloading required tools...

Getting device/system info...

Flashrom is unable to read current firmware; cannot continue:

flashrom 1.4.0-devel on Linux 6.7.4-200.fc39.x86_64 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Cannot open file stream for /dev/mtd0
coreboot table found at 0x76b58000.
Found chipset "Intel Jasper Lake".
Enabling flash write... Warning: Setting BIOS Control at 0xdc from 0x8b to 0x89 failed.
New value is 0x8b.
Error accessing SPIBAR, 0x1000 bytes at 0x00000000fe010000
/dev/mem mmap failed: Operation not permitted
FAILED!
FATAL ERROR!
Error: Programmer initialization failed.

You may need to add 'iomem=relaxed' to your kernel parameters,
or trying running from a Live USB with a more permissive kernel (eg, Ubuntu 23.04+).

See https://www.flashrom.org/FAQ for more info.

Fantastic work, btw. I've been running Fedora on this thing for many months without issue. It's much more useful to me than ChromeOS and it works great. This is the first problem I've run into (sound doesn't work, but I don't really care), and so far the iomem=relaxed workaround works.

I'm using dual boot could that be what's causing this issue?

And this time with adding iomem=relaxed.

Is there another way to update the bios?

@EpicPotatohead please see the chrultrabook docs for info on getting audio to work under Linux
@StarMusa88 seems like something must have changed in the default kernel config. Try using 22.04 instead? you'll likely need to install curl via apt first.

Hi @MrChromebox - I have an update, I finally figured what the issue was . I had secure boot enabled that's what was preventing the script from executing.  I was able to update the bios with no error message...Thanks again for your help much appreciated.

@StarMusa88 thanks for circling back :)


Implemented SA1112 ClosingParenthesisMustBeOnLineOfOpeningParenthesis

Fixes #46

Can you enable the diagnostic by default?
Other than the small things mentioned above this looks good.

@pdelvo  thanks !

@macpak I've marked this as "in progress" while you update it to address those issues. If you decide you want me to handle them as a separate commit during the merge, just let me know.

We can wait, I will correct those issues soon.

Ok, done.


Get MS Dynamics sandbox access

This will be useful for testing out CSV import/export and API connection. Some programs we work with will use MS Dynamics CRM.

Just got access today


small typo error in the documentation for jobs

In the page at https://github.com/oracle/oci-data-science-ai-samples/tree/master/jobs
there is a small error in the introduction section, where it is written:
"... for each programing langugage"

Thanks @luigisaetta . fixed the issue. thank you.


How do I know if a consumer is also a producer?

It's still not clear to me from your data structure how I know if a supplier is a consumer.
I would like the consumer to have an attribute OwnerOf which would then be a list of pwerplants he could own.
I would then do a test
if hasattr(c,'OwnerOf'):
  if c.OwnerOf:
     # Take power from my power plant...

Would this be ok with you guys?

I would prefer it if the consumer always has this attribute, then we do not need to ask if it has the attribute but can immediately loop over it:
for power_plant in consumer_property:
    power_plant.check_capacity()


Add Deploy instructions

Add instructions for common solutions for deploying trained models developed with the template

Will be solved & documented creating model store & production environment


setReadCursor no longer working

What?
Using setReadCursor no longer works. Appears to be since Thursday, Feb 1. No code changes happened, but started getting errors in the completion handler of setReadCursor saying:

[DEBUG] Unsupported API event name received: cursor_set

Environment

PusherChatkit version: 1.3.0
Xcode version: 10.1
Swift version: 4.2
Platform(s) running PusherChatkit: iOS 12+

Demo Project (if you have one; it helps a lot!)

CC @hamchapman

Seems to be fixed as of Friday, Feb 5

Issue has reappeared. Testing as of 2019-02-06 00:47:53 +0000

same problem with [DEBUG] Unsupported API event name received: cursor_set

I'm using following PusherChatkit 1.4.1, still getting this issue as follows

[DEBUG] Unsupported API event name received: cursor_set

Hi. The debug logging you quote is not an error - the event for new cursors changed in the past and currently both are sent with one being ignored as unrecognised. I've also checked the code, and we don't pass an error with test like that back to you in any completion handler, we only log it (at debug, not error or warn) and ignore the event.
If read cursors really have stopped working for you, please contact<EMAIL_ADDRESS>who can help you diagnose the problem.
I'm closing this issue, as nothing described here suggests read cursors actually aren't working. Again, if you have evidence other than the debug logging that they are not working, please contact support.


fly-over

abstracted out an ArcGISSceneViewController which is a SceneView that can be used with UIKit
some renames
removed some duplicate properties
cleaned up some Task code (used detached)
created an augmented reality examples category

please hold off for a bit, I'm not happy with some of the renames.

ok, this is ready for review now.


Postgres connection can be specified in environment variables.

Very useful if you are running in a container or other environment where you don't want to manage the connection specification in the application.

Thanks, it's a great addition! I adjusted the formatting to fit the rest of the documentation.


Resolve consistent build failures due to listen port

Right now whenever unit tests are ran, there's a high likelihood of at least one of the (6 total) tests failing, due to a port already being listened on. This is pretty agitating, having to continually run the tests, so I need to figure out a better way of running tests/choosing a port.

Randomized ports are one thing, but I either have to rely on the travis CI config or check, at boot time, if we're in a test environment--this still relies on travis.


Google results capture extra text

Using the following scrape job config:
let scrape_job = {
        search_engine: 'google',
        keywords: ['trump'],
        num_pages: 1,
        // add some cool google search settings
        google_settings: {
            gl: 'us', // The gl parameter determines the Google country to use for the query.
            hl: 'en' // The hl parameter determines the Google UI language to return results.
        },
    };

Some results will have extra texts for the title and snippet.
For example the following result have the link https://www.foxnews.com/politics/trump-says-appointing-sessions-was-is-biggest-mistake as part of the tittle
{
  "link": "https://www.foxnews.com/politics/trump-says-appointing-sessions-was-is-biggest-mistake",
  "title": "Trump says appointing Sessions was his biggest mistake | Fox Newshttps://www.foxnews.com/politics/trump-says-appointing-sessions-was-is-biggest-mistake",
  "snippet": "President Trump admitted in an interview aired Sunday that he views appointing Jeff Sessions as his attorney general was his “biggest mistake” as president ...",
  "visible_link": "https://www.foxnews.com/politics/trump-says-appointing-sessions-was-is-biggest-mistake",
  "date": "",
  "rank": 7
}

This one has the date-time 3 hours ago  in the snippet
{
   link:'https://www.cnn.com/2019/06/24/politics/iran-immigration-donald-trump-2020-reelection/index.html',
   title:"Iran and immigration: How politics explains Donald Trump's U-turns ...https://www.cnn.com/2019/06/24/politics/iran-immigration...trump-2020.../index.html",
   snippet:"3 hours ago - The whims and last minute reversals of President Donald Trump's impulsive leadership style are sending America and the rest of the world on a wild and sometimes dangerous ride. From Iran to immigration policy and North Korea to trade wars, Trump's tactic of escalating ...",
   visible_link:'https://www.cnn.com/2019/06/24/politics/iran-immigration...trump-2020.../index.html',
   date:'3 hours ago - ',
   rank:4
}

This is intentional. The date part is part of the snippet, when it's available I just parse it out.


Fix extent for text decoration

When using the extent parameter for underlined, overlined or striked text, the extent is currently applied twice on one side:
#set page(width: auto, height: auto, margin: (x: 2cm, y: 1em))
#underline(extent: 0.5cm)[Some text]

Before:

After:

oops. Thanks!


Archiving

Description
Add archivation info to README file
Type of change

[ ] A bug fix (PR prefix fix)
[ ] A new feature (PR prefix feat)
[ ] A code change that neither fixes a bug nor adds a feature (PR prefix refactor)
[ ] Adding missing tests or correcting existing tests (PR prefix test)
[ ] Changes that do not affect the meaning of the code like white-spaces, formatting, missing semi-colons, etc. (PR prefix style)
[ ] Changes to our CI configuration files and scripts (PR prefix ci)
[x] Documentation only changes (PR prefix docs)

@martinhaus
Please archive this repo after merging this PR


Update Vaadin link to Hilla

Vaadin Fusion got re-launched as Hilla (https://hilla.dev). This PR updates the logo and link on the front page to the new page.

/gcprun

/gcbrun

Preview at https://pr713-ae121de---lit-dev-5ftespv5na-uc.a.run.app/

Looks good!


[View] Container borderRadius covered by sub view

In the root view, I set borderRadius is 17, it display well on right, but on the left, the border radius covered by green sub view and yellow sub view, is this a bug?

Could you try setting overflow: 'hidden', on the root view's style?

@thomasvm Hi, I add overflow: 'hidden' on the root view's style and then it works well. Thank you very much. In iOS native code the root view's borderRadius would't affected by subview default, so I once considered this is a bug in RN.
Thanks for your suggestion again^_^

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/view-container-borderradius-covered-by-sub-view
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.


Fix misleading terminology

As described in https://bz.apache.org/bugzilla/show_bug.cgi?id=58798, the terminology used here is misleading: hashing (one-way algorithm) is not a form of encryption (two-way algorithm).

Committed to httpd's svn (http://svn.apache.org/r1884207) with some further changes in the dbmmanage[.in] script itself (the .html documentation is generated from the .xml files, so the changes there were non included).
Thanks!


Serialization of 'PDO' is not allowed, when using eloquent assets in a no cache region

Bug description
I've been trying to migrate our assets to eloquent, but when using assets in a nocache region we get an error Serialization of 'PDO' is not allowed
Below is the template we use and removing nocache tags fixes the issue
{{ nocache }}

        <button class="c-basket__button" @click="open('basket')">
            {{ svg src="basket" }}

                    {{ sc:cart:quantityTotal }}

        </button>
        <template x-teleport="body" >

                        {{ if { sc:cart:quantityTotal } !== 0 }}

                                {{ sc:cart:items }}
                                    {{ partial:products.partials.basket }}
                                {{ /sc:cart:items }}

                                    {{ trans:newby.total }}
                                    {{ sc:cart:total }}

                                        {{ trans:newby.view_cart }} ({{ sc:cart:total }})

                                        {{ trans:newby.continue_checkout }}
                                        {{ svg src="arrow-right" }}

                        {{ else }}

                                {{ trans:newby.empty_basket }}

                                    {{ trans:newby.shop_products }}
                                    {{ svg src="arrow-right" }}

                        {{ /if }}

        </template>

{{ /nocache }}

How to reproduce

Setup new project
Use eloquent assets
Create template which uses assets and a nocache tag

Logs
https://flareapp.io/share/NPGYZMn5

Environment
Environment
Application Name: Newby Leisure
Laravel Version: 10.48.11
PHP Version: 8.2.19
Composer Version: 2.7.6
Environment: local
Debug Mode: ENABLED
URL: newbyleisure.test/
Maintenance Mode: OFF

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: pusher
Cache: redis
Database: mysql
Logs: stack / single
Mail: smtp
Queue: redis
Session: file

Locales
Installed
Locales Version: 1.9.0
Protected

Localization
Installed: en, es
LaravelLang\Attributes\Plugin: 2.10.5
LaravelLang\HttpStatuses\Plugin: 3.8.3
LaravelLang\Lang\Plugin: 13.12.0
Protected Locales: en
Publisher Version: 14.7.1

Simple Commerce
Currencies: GBP, EUR
Gateways: Stripe, Invoice
Repository: Customer: DuncanMcClean\SimpleCommerce\Customers\UserCustomerRepository
Repository: Order: App\Repositories\EloquentEntryOrderRepository
Repository: Product: DuncanMcClean\SimpleCommerce\Products\EntryProductRepository
Shipping Methods: Free Shipping
Tax Engine: DuncanMcClean\SimpleCommerce\Tax\BasicTaxEngine

Livewire
Livewire: v3.4.12

Statamic
Addons: 15
Sites: 2 (English,, Spanish)
Stache Watcher: Disabled
Static Caching: Disabled
Version: 5.4.0 PRO

Statamic Addons
appswithlove/statamic-one-click-content-translation: 5.2.1
duncanmcclean/simple-commerce: 7.2.0
jacksleight/statamic-bard-texstyle: 3.2.2
jonassiewertsen/statamic-livewire: 3.3.1
markkravchuk/statamic-activity-book: 1.0.1
nineteensquared/instagram: 1.2.0
rootstudio/cache-primer: 0.12
rootstudio/monitor: 0.3
rootstudio/mux-video: 0.6
rootstudio/turnstile: 0.3
statamic-rad-pack/meilisearch: 3.3.0
statamic-rad-pack/runway: 7.1.0
statamic/collaboration: 1.0.0
statamic/eloquent-driver: 4.0.0
stillat/relationships: 2.2.0

Statamic Eloquent Driver
Asset Containers: file
Assets: eloquent
Blueprints: file
Collection Trees: eloquent
Collections: file
Entries: eloquent
Forms: eloquent
Global Sets: file
Global Variables: eloquent
Navigation Trees: eloquent
Navigations: file
Revisions: eloquent
Taxonomies: file
Terms: eloquent

Additional details
No response

What makes you sure it's the assets? It seems youre using eloquent globals and they are in your template too - it could be them.

As soon as I swap assets to file based it works.
It could be a combination of both which I can have a go at testing

Are you able to add a dd($region) here so I can inspect the data its attempting to store?
https://github.com/statamic/cms/blob/df7412095459999e59b87eaeff07ab8f804acaae/src/StaticCaching/NoCache/Session.php#L153

What about adding select="zzz|yyy" to the region so you only store the data you need?

That doesn't have an effect. Even a region without any variables throws the error
Statamic\StaticCaching\NoCache\StringRegion {#18163 ▼ // vendor/statamic/cms/src/StaticCaching/NoCache/Session.php:153
  #key: "14264ae7f4a8d2243427655ee00d70c17e3c567e5d48317a123dd7fb6e3c333cfc3bf221"
  #context: []
  #session:
Statamic\StaticCaching\NoCache
\
Session {#3236 ▶}
  #content: "
No content
"
  #extension: "antlers.html"
}

I can't see any reason for this - @duncanmcclean do you have any ideas?

I don't have any ideas off the top of my head. I'd probably need to have a dig around to figure out what's causing it.
@byron-roots Are you able to share access to the repo or reproduce the issue on a fresh Statamic site?

I can't add you to the repository, could I send it as a support ticket?

I can't add you to the repository, could I send it as a support ticket?

Sure, you can send it in as a support request: https://statamic.com/support

I've done a little bit of digging. From what I can tell, it seems like it has something to do with the media field on your shared_content global.
In the blueprint, the field looks like this, just a normal assets field:
-
  handle: media
  field:
    mode: list
    container: assets
    restrict: false
    allow_uploads: true
    show_filename: true
    show_set_alt: true
    type: assets
    display: Media
    icon: assets
    listable: hidden
    instructions_position: above
    visibility: visible
    hide_display: false

In the hotlinks/default.antlers.html partial, it's looping through the hotlinks field on the shared_content global:
{{ shared_content:hotlinks }}

        {{ partial:general.article article_class="c-article--center" :article_image="media" }}

{{ /shared_content:hotlinks }}

If I comment out the {{ partial }} bit, or even just remove the article_image parameter that's being passed in, the error goes away and the page loads normally.
When I ray() the context before it gets passed into the nocache region here, this is what the view array looks like:

I need to head off now but wanted to leave some notes here for future me or someone else who ends up looking into this.

Thanks for looking into that, much appreciated. I'll have another dig around and see if I can find out anything else

Setting the max_files option to 1 on the asset field appears to fix the issue


What are the advantages of auto implemented properties?

What are the advantages of auto implemented properties and why does the VS2017 ide suggest using them in Visual Basic?

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

ID: 5eef8ea6-7067-a274-6b6c-84ea894941ad
Version Independent ID: f6820eb1-15a6-2988-bf98-82355c68d81a
Content: Auto-Implemented Properties (Visual Basic)
Content Source: docs/visual-basic/programming-guide/language-features/procedures/auto-implemented-properties.md
Product: dotnet-visualbasic
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

It saves time.
It is less error-prone.

They are functionally equivalent, except the compiler will create and manage the backing field for you, saving the developer from having to declare a private backing field.
If you are going to have any functionality to your getter/setter, you must implement this yourself.
For quick properties with no special functionality, this is the way to go.

Why not make the private backing field protected so you can use inheritance?

Why not make the private backing field protected so you can use inheritance?

Usually the data is private, for better protection.

These questions have been answered. Closing this.


Remove nightmare

It doesn't actually use PhantomJS, it uses electron
Electron doesn't seem to run headless (in fact, the webdriver port for electron requires xvfb)

Even though it might not be truly headless, I still believe that the project is interesting enough to be included in this list, and it is for the reader to decide whether or not it is acceptable for their use case. If you want to add a note about it not being truly headless, I am open to that.

@dkastner Thoughts? I'll go ahead and close the PR and you can open another issue or PR in case you believe a note should be added.


Add normalisation raw CUDA kernel

You should try to calculate the mean separately, using cupy's mean function, and then use an Elementwise  kernel for the rest.

After seeing you walk us through how you rewrote the Paganin filter using ElementWise kernels, I was curious to try out exactly that!
Do you think it would be interesting to compare how this RawKernel performs in comparison to a version using ElementWise kernel? One thing I was curious about was how the thread-block and grid dimensions are determined when using ElementWise kernel, since with RawKernel I have chosen a particular (naive) way to set them: https://github.com/DiamondLightSource/httomolib/blob/ccdb0b901ee5ae9cb874cf5bc1334f8774fe511e/httomolib/prep/normalize.py#L76-L88
which could possibly affect the "generality" of the kernel (ie, for different height/width projection images it would be launched with a specific value for the block/grid dims based on the arithmetic above, and if this could affect how it performs)?
For simple processing where the indexing involved in the raw CUDA code isn't too bad, I'm kinda curious to see if RawKernel has any performance benefit compared to ElementWise, do you have any thoughts on this? Or would it be a silly/pointless thing to check?

I think if the Elementwise kernel can do the job, you'll have a hard time being faster with a RawKernel, unless you're doing some non-standard operations. Kernel performance is mostly about access patterns and data organisation in memory - and cupy has that figured out depending on the arrays you feed to the call.
Usually a RawKernel makes sense if you're doing something different than strictly elementwise operations.


Misspelling in one of the headings

Existing text:

Follow Up: After you configure the recovery internal option

Proper text:

Follow Up: After you configure the recovery interval option

The entire page is about recovery interval option, and there's no user-facing "recovery internal" stuff in SQL Server.
Thanks.

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

ID: e8da8755-3783-0ca0-d1d0-ce289f1e785f
Version Independent ID: 53fe9f1e-4eef-9207-ec68-62fa01c8f81c
Content: Configure the recovery interval Server Configuration Option - SQL Server
Content Source: docs/database-engine/configure-windows/configure-the-recovery-interval-server-configuration-option.md
Product: sql
Technology: configuration
GitHub Login: @markingmyname
Microsoft Alias: maghan

@Hermholtz -- thank you for catching this.  I am updating the article.

Thank you for your feedback.  I have updated the documentation and it should be live by tomorrow.


[WIP][stdpar] Update stdpar to remove Product, ScopedContext, device abstraction

As discussed in #368 this PR contains an updated to cudart api utilization to get closer to standard c++ and no cuda dependencies.
Changes

No longer use the cudaStream and cudaEvent APIs.
Removed multiple classes in CUDACore which are no longer necessary
Updated Plugins and tests to be compatible with the previously mentioned changes.
Refactored multiple producers to inherit from EDProducer instead of EDProducerExternalWork

Current issues to be fixed

Multiple tests still manage memory through cudaMalloc / cudaMemcpy, this should be updated to use std::unique_ptr
There are still runtime errors. I am currently working on figuring out exactly what's the issue. I've noticed that some kernels seem to produce incorrect results (e.g. theSiPixelRawToClusterCUDA module). I updated the gpuClustering_t test to work with std::unique_ptr and it fails with the following output:

[esseivaj@zeus pixeltrack-standalone]$ test/stdpar/gpuClustering_t
created 175031 digis in 8960 clusters
CUDA countModules kernel launch with 2000 blocks of 256 threads
CUDA findModules kernel launch with 2000 blocks of 256 threads
before charge cut found 0 clusters
ERROR!!!!! wrong number of cluster found
found 897 Modules active
gpuClustering_t: /bld4/home/esseivaj/devel/pixeltrack-standalone/src/stdpar/test/gpuClustering_t.h:284: int main(): Assertion `h_clus[i] < int(nclus[h_id[i]])' failed.
Aborted (core dumped)

Changes listed in the original comment have been implemented. The tests below are still failing:

HistoContainer_t
OneToManyAssoc_t
prefixScan_t
radixSort_t
Tests depending on a plugin

Fixing those will require updating many Kernels so it should probably be done in a future PR as this one is getting fairly large. Some of these tests (e.g. prefixScan_t / prefixScan.h) are still pretty much identical to the original cudauvm version, the only change being update to #define directives to compile the correct code with nvc++ so it's suggesting some issues with nvc++

Yes we can merge now I will fix the remaining issues with HistoContainer, prefixScan and radixSort in the next pull request.


Ip ranges

root@kali-linux:~# echo "<IP_ADDRESS>/24" | hakrevdns
root@kali-linux:~# echo "<IP_ADDRESS>/8" | hakrevdns
Somethign like this doesnt work. Make it workable for ip ranges.

Use prips, as in the example on the readme :)


"DEPRECATION WARNING: Faraday::Error::ConnectionFailed is deprecated! Use Faraday::ConnectionFailed instead." / Fastlane spaceauth: Could not login to App Store Connect

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
A weird error appears when trying to login via spaceauth.
I am not able to reproduce this locally. The error occurs on our servers.
I also tried another server with a fresh IP, this did not resolve the problem.
Command executed
fastlane spaceauth
Complete output when running fastlane, including the stack trace and command used
# fastlane spaceauth
[✔] 🚀
[23:39:03]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
Username<EMAIL_ADDRESS>Logging into to App Store Connect (xxx@xxx.xxx)...
-------------------------------------------------------------------------------------
Please provide your Apple Developer Program account credentials
You can also pass the password using the `FASTLANE_PASSWORD` environment variable
-------------------------------------------------------------------------------------
Password (for xxx@xxx.xxx): ***
Two-factor Authentication (6 digits code) is enabled for account<EMAIL_ADDRESS>More information about Two-factor Authentication: https://support.apple.com/en-us/HT204915

If you're running this in a non-interactive session (e.g. server or CI)
check out https://github.com/fastlane/fastlane/tree/master/spaceship#2-step-verification

(Input `sms` to escape this prompt and select a trusted phone number to send the code as a text message)

(You can also set the environment variable `SPACESHIP_2FA_SMS_DEFAULT_PHONE_NUMBER` to automate this)
(Read more at: https://github.com/fastlane/fastlane/blob/master/spaceship/docs/Authentication.md#auto-select-sms-via-spaceship-2fa-sms-default-phone-number)

Please enter the 6 digit code:
xxxxxx
Requesting session...
DEPRECATION WARNING: Faraday::Error::ConnectionFailed is deprecated! Use Faraday::ConnectionFailed instead.
DEPRECATION WARNING: Faraday::Error::TimeoutError is deprecated! Use Faraday::TimeoutError instead.
Could not login to App Store Connect
Please check your credentials and try again.
This could be an issue with App Store Connect,
Please try unsetting the FASTLANE_SESSION environment variable
(if it is set) and re-run `fastlane spaceauth`

Exception type: RuntimeError

Looking for related GitHub issues on fastlane/fastlane...

➡  "Can't modify frozen String" error when setting output_name in Gymfile via ENV[...]
    https://github.com/fastlane/fastlane/issues/8548 [closed] 6 💬
    18 Jun 2017

➡  Exception running gym with ouput_name set to ENV variable
    https://github.com/fastlane/fastlane/issues/5206 [closed] 7 💬
    06 Dec 2016

➡  Getting Exception on Wildcard App Identifier
    https://github.com/fastlane/fastlane/issues/3063 [closed] 3 💬
    22 Sep 2016

and 1 more at: https://github.com/fastlane/fastlane/search?q=can%27t%20modify%20frozen%20String&type=Issues&utf8=✓

/var/lib/gems/2.3.0/gems/fastlane-2.131.0/spaceship/lib/spaceship/client.rb:811:in `force_encoding': [!] can't modify frozen String (RuntimeError)
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/spaceship/lib/spaceship/client.rb:811:in `log_response'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/spaceship/lib/spaceship/client.rb:846:in `block in send_request'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/spaceship/lib/spaceship/client.rb:620:in `with_retry'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/spaceship/lib/spaceship/client.rb:844:in `send_request'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/spaceship/lib/spaceship/client.rb:688:in `request'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/spaceship/lib/spaceship/two_step_or_factor_client.rb:290:in `store_session'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/spaceship/lib/spaceship/two_step_or_factor_client.rb:189:in `handle_two_factor'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/spaceship/lib/spaceship/two_step_or_factor_client.rb:20:in `handle_two_step_or_factor'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/spaceship/lib/spaceship/client.rb:494:in `send_shared_login_request'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/spaceship/lib/spaceship/tunes/tunes_client.rb:127:in `send_login_request'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/spaceship/lib/spaceship/client.rb:770:in `do_login'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/spaceship/lib/spaceship/client.rb:384:in `login'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/spaceship/lib/spaceship/client.rb:346:in `login'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/spaceship/lib/spaceship/tunes/spaceship.rb:24:in `login'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/spaceship/lib/spaceship/spaceauth_runner.rb:18:in `run'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/spaceship/lib/spaceship/commands_generator.rb:43:in `block (2 levels) in run'
	from /var/lib/gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
	from /var/lib/gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
	from /var/lib/gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
	from /var/lib/gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/spaceship/lib/spaceship/commands_generator.rb:49:in `run'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/spaceship/lib/spaceship/commands_generator.rb:14:in `start'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/fastlane/lib/fastlane/cli_tools_distributor.rb:111:in `take_off'
	from /var/lib/gems/2.3.0/gems/fastlane-2.131.0/bin/fastlane:23:in `<top (required)>'
	from /usr/local/bin/fastlane:22:in `load'
	from /usr/local/bin/fastlane:22:in `<main>'

Seeing the same issue

I solved it by downgrading faraday to the previous version (before 0.16)

Can you share how exactly you did that @yenda so others can just follow your instructions?

@janpio your PR will fix it in next release I suppose but for now:
add gem "faraday", "0.15.4"' in your 'Gemfile" run bundle install`

Likewise faced the same issue, also solved by downgrading faraday.
Thanks @yenda

Faraday 0.16.2 has been pushed to ruby gems, does it solve this issue?

We will know when CI finished testing https://github.com/fastlane/fastlane/pull/15407

Unfortunately not, still getting test failures like this:
Failures:
  1) Spaceship::Portal::Persons should change role
     Failure/Error: expect { person.change_role("member") }.to_not(raise_error)
       expected no Exception, got #<RuntimeError: can't modify frozen String> with backtrace:
         # ./spaceship/lib/spaceship/client.rb:811:in `force_encoding'
         # ./spaceship/lib/spaceship/client.rb:811:in `log_response'
         # ./spaceship/lib/spaceship/client.rb:846:in `block in send_request'
         # ./spaceship/lib/spaceship/client.rb:620:in `with_retry'
         # ./spaceship/lib/spaceship/client.rb:844:in `send_request'
         # ./spaceship/lib/spaceship/client.rb:688:in `request'
         # ./spaceship/lib/spaceship/portal/portal_client.rb:449:in `team_set_role'
         # ./spaceship/lib/spaceship/portal/person.rb:45:in `change_role'
         # ./spaceship/spec/portal/person_spec.rb:58:in `block (3 levels) in <top (required)>'
         # ./spaceship/spec/portal/person_spec.rb:58:in `block (2 levels) in <top (required)>'
     # ./spaceship/spec/portal/person_spec.rb:58:in `block (2 levels) in <top (required)>'
  2) Spaceship::Tunes::IAPList IAPList can delete
     Failure/Error: deleted = app.in_app_purchases.find("go.find.me").delete!
     RuntimeError:
       can't modify frozen String
     # ./spaceship/lib/spaceship/client.rb:811:in `force_encoding'
     # ./spaceship/lib/spaceship/client.rb:811:in `log_response'
     # ./spaceship/lib/spaceship/client.rb:846:in `block in send_request'
     # ./spaceship/lib/spaceship/client.rb:620:in `with_retry'
     # ./spaceship/lib/spaceship/client.rb:844:in `send_request'
     # ./spaceship/lib/spaceship/client.rb:688:in `request'
     # ./spaceship/lib/spaceship/tunes/tunes_client.rb:1235:in `delete_iap!'
     # ./spaceship/lib/spaceship/tunes/iap_list.rb:72:in `delete!'
     # ./spaceship/spec/tunes/iap_list_spec.rb:28:in `block (3 levels) in <top (required)>'
  3) Spaceship::Tunes::Members members creates a new member role: admin, apps: all
     Failure/Error: Spaceship::Members.create!(firstname: "Helmut", lastname: "Januschka", email_address<EMAIL_ADDRESS>     RuntimeError:
       can't modify frozen String
     # ./spaceship/lib/spaceship/client.rb:811:in `force_encoding'
     # ./spaceship/lib/spaceship/client.rb:811:in `log_response'
     # ./spaceship/lib/spaceship/client.rb:846:in `block in send_request'
     # ./spaceship/lib/spaceship/client.rb:620:in `with_retry'
     # ./spaceship/lib/spaceship/client.rb:844:in `send_request'
     # ./spaceship/lib/spaceship/client.rb:688:in `request'
     # ./spaceship/lib/spaceship/tunes/tunes_client.rb:502:in `create_member!'
     # ./spaceship/lib/spaceship/tunes/members.rb:26:in `create!'
     # ./spaceship/spec/tunes/members_spec.rb:19:in `block (4 levels) in <top (required)>'

Reported at faraday: https://github.com/lostisland/faraday/issues/1038

Hi, I tried as @yenda suggest but still got the same error.
`$ bundle info faraday

faraday (0.15.4)
Summary: HTTP/REST API client library.
Homepage: https://github.com/lostisland/faraday
Path: /Library/Ruby/Gems/2.3.0/gems/faraday-0.15.4
`

So you can confirm https://github.com/lostisland/faraday/pull/1039 fixes the problem? Then we can push for that to be 0.16.3 of faraday asap and be all happy again ;)

So you can confirm lostisland/faraday#1039 fixes the problem? Then we can push for that to be 0.16.3 of faraday asap and be all happy again ;)

Yep, confirm that.

How can I solve this problem? I will encounter the same problem after upgrading the bundle update.

It might help someone else, as it helped me (I was having frozen string error even on 0.15.4):
Make sure you are using compatible version of ruby. In my case it was 2.4.0-dev which was causing error. After upgrading to 2.5.3 the error was gone. Found fix here: https://github.com/mikel/mail/issues/1209

I had this issue with ruby 2.7.0, fastlane 2.137.0, faraday v0.17.3 and faraday_middleware 0.13.1.
Downgrading to ruby 2.5.3 and faraday 0.15.4 fixed it.

In case it helps others, I also had success with reversions, but for me I was able to revert to ruby-2.6.3 + fastlane 2.131 and it worked - or I should say it exposed the real problem which is that I was attempting to rebuild certificates without having any devices in my profile and with the reverted versions I got a real error message, while with current-everything I got the frozen string error.
Easy enough workaround, and thanks for fastlane, even researching and doing this workaround was still faster than trying to do all the cert stuff myself :-). Cheers.

@mikehardy & @frozenzia I'm new to ruby / XCode. Could you print your whole Gemfile? This is mine:
source "https://rubygems.org"

gem "fastlane", "2.131.0"
gem "faraday", "0.15.4"

I then ran bundle install, but unfortunately, I'm still getting the same error when I run bundle exec fastlane beta.
Thank you!

@mikehardy & @frozenzia I'm new to ruby / XCode. Could you print your whole Gemfile?

Glad to oblige. However, I just recently undid this downgrade with the following justification in my commit message:
In conjunction with the previous release, towards the end of
the process, ran into some tool problems related to Faraday library.
"Fix" was to downgrade it (and also needed an older fastlane version).
However, as it turned out, the downgrade in the fastlane version caused
an issue towards the **beginning** of the release process.

It seems that the 0.17 Faraday version is actually ok, and the problem
was possibly due to some 0.16 version info being "stuck" in a cache
somewhere. (0.16 version apparently introduced some "frozen strings"
errors.)

In any case, undoing that downgrade and upgrading to the most recent
fastlane seem to have fixed the problems at both ends of the release
process.

As mentioned in my previous post, my first problem was with fastlane deliver download_metadata (which came at the end of my release process), but downgrading fastlane led to problems with fastlane supply init(at the start of the process) because of the older fastlane version. I believe the older fastlane was still trying to use a deprecated API -- if I remember correctly.
I also ended up at some point installing rbenv.  These are not the instructions I followed to do that, but these at least seem quite thorough and easy-to-follow. Like the writer's humor, too: https://gist.github.com/stonehippo/cc0f3098516fb52390f1 (Install a new Ruby with rbenv on Mac OS) This would be my answer to your question -- how to downgrade ruby?
I think a large part of my problems has stemmed from my not understanding how bundle and fastlane and gem and ruby and homebrew and ... all actually work, and I'm sure that doing some RTFMing would definitely be a good place for me to start! Don't know that there is a single article/tutorial out there that covers that, but if someone finds one, please let me know!
So anyway, after all that prelude, my current gemfile looks like this:
source "https://rubygems.org"

gem "fastlane"

plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)

The one BEFORE only had different "gem" lines:
gem "fastlane", "2.131.0"
gem "faraday", "0.15.4"

Downgrade the ruby version to 2.6.5 worked for me.


Add serverScheme support to bombardier.yml

This logic is copied verbatim from wrk.yml:
https://github.com/dotnet/crank/blob/caf293d98ac2b438b6c77dcb54b72c6d9cc67f3e/src/Microsoft.Crank.Jobs.Wrk/wrk.yml#L33
https://github.com/aspnet/Benchmarks/pull/1587 will depend on this.

I am merging since it's not breaking, and might block you on other prs.

Have you seen the following before?
[STDERR] Unhandled exception. System.ComponentModel.Win32Exception (13): Permission denied
[STDERR]    at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
[STDERR]    at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
[STDERR]    at System.Diagnostics.Process.Start()
[STDERR]    at Microsoft.Crank.Jobs.Bombardier.Program.Main(String[] args) in /tmp/benchmarks-agent/benchmarks-server-3869/sysphbha.nrc/src/Program.cs:line 169
[STDERR]    at Microsoft.Crank.Jobs.Bombardier.Program.<Main>(String[] args)

Yes, flaky test on Linux box since a few weeks ago. Doesn't happen on MacOS and Windows, probably the way the environment in the azdo controller is configured. Haven't been able to fix it so far.
It's failing when the bombardier exe is copied locally, then permissions are set, but starting it fails.


Custom keyword

Hi Team,
I am working on implementing azure speech to text in JavaScript.  I am able to convert text to speech, now I need custom keyword recognition.
In git Get started with Custom Keyword, I don't find any code sample in JavaScript, could you please provide a git hub link or code for integrating custom keyword in JavaScript.

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

ID: 02f19f0c-f14b-bac9-3706-93c888eb3bb2
Version Independent ID: ed76fd34-0256-eb27-a55f-5d2735859f98
Content: Create Keyword quickstart - Speech service - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/custom-keyword-basics.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @trevorbye
Microsoft Alias: trbye

@prasanthranga Thanks for the question! Could you please share the document link you are referring to help you better on this.

@prasanthranga Thanks for the question! Could you please share the document link you are referring to help you better on this.

Hi Team,
Please find below as link,
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/custom-keyword-basics?pivots=programming-languages-objectivec-swift

Hi Team,
Please find below as link,
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/custom-keyword-basics?pivots=programming-languages-objectivec-swift

@prasanthranga Thanks for sharing the link. It looks like a sample for JS is not available in the samples repo. We have assigned this to our content team to review the request and provide a sample that could help. Thanks!

@prasanthranga Thanks for sharing the link. It looks like a sample for JS is not available in the samples repo. We have assigned this to our content team to review the request and provide a sample that could help. Thanks!

@prasanthranga we don't currently have a .js sample for custom keyword, however the design pattern is very similar to the C# example
In the javascript SDK you use the same class KeywordRecognitionModel to load your model from the .table file. From here, the easiest way to do keyword rec is to do it directly off the SpeechRecognizer using the startKeywordRecognitionAsync which allows you to pass your KeywordRecognitionModel directly.
#please-close


Avoid using dist.group on import

PyTorch 1.6 on Windows does not have dist.group.
This fix is to avoid the error when importing PPE.

/test


Invalid prop keyboardShouldPersistTaps of type string supplied to ScrollView, expected boolean.

Tabs are rendering fine (working very well actually) - but I'm seeing this warning in the console when using them:
Warning: Failed prop type: Invalid prop `keyboardShouldPersistTaps` of type `string` supplied to `ScrollView`, expected `boolean`.
    in ScrollView (created by TabViewPagerScroll)
    in TabViewPagerScroll (created by TabViewTransitioner)
    in RCTView (created by View)
    in View (created by TabViewTransitioner)
    in RCTView (created by View)
    in View (created by TabViewTransitioner)
    in TabViewTransitioner (created by TabViewAnimated)
    in TabViewAnimated (created by MyComponent)
    ...

I'm creating the TabViewAnimated like this:
<TabViewAnimated
    style={styles.container}
    navigationState={this.state}
    renderScene={this._renderScene}
    renderHeader={this._renderHeader}
    onRequestChangeTab={this._handleChangeTab}
    />

Any workarounds? Is this a bug?

You are getting the warning because you have an old React Native version and the prop for scrollview is changed in latest React Native. You don't need to worry if everything is working fine.


[Bug][API]edit workflow query resources list error.

Purpose of the pull request
close #12573
Brief change log

Verify this pull request
edit workflow

Codecov Report

Merging #12664 (a6af154) into dev (9e0c9af) will decrease coverage by 0.03%.
The diff coverage is 16.66%.

@@             Coverage Diff              @@
##                dev   #12664      +/-   ##
============================================
- Coverage     39.04%   39.01%   -0.04%
+ Complexity     4185     4182       -3
============================================
  Files          1043     1043
  Lines         39511    39470      -41
  Branches       4540     4527      -13
============================================
- Hits          15428    15400      -28
+ Misses        22324    22309      -15
- Partials       1759     1761       +2

Impacted Files
Coverage Δ

...heduler/api/service/impl/ResourcesServiceImpl.java
37.48% <16.66%> (-0.21%)
:arrow_down:

...eduler/api/dto/schedule/ScheduleCreateRequest.java
83.33% <0.00%> (-2.39%)
:arrow_down:

...dolphinscheduler/remote/future/ResponseFuture.java
81.96% <0.00%> (-1.64%)
:arrow_down:

...e/dolphinscheduler/service/queue/TaskPriority.java
51.31% <0.00%> (-1.25%)
:arrow_down:

...cheduler/plugin/alert/dingtalk/DingTalkSender.java
34.13% <0.00%> (-0.78%)
:arrow_down:

...inscheduler/plugin/registry/etcd/EtcdRegistry.java
50.34% <0.00%> (-0.69%)
:arrow_down:

...he/dolphinscheduler/plugin/task/java/JavaTask.java
58.50% <0.00%> (-0.69%)
:arrow_down:

...lphinscheduler/api/dto/task/TaskCreateRequest.java
83.33% <0.00%> (-0.54%)
:arrow_down:

...hinscheduler/service/storage/impl/HadoopUtils.java
10.59% <0.00%> (-0.49%)
:arrow_down:

.../apache/dolphinscheduler/common/utils/OSUtils.java
33.93% <0.00%> (-0.40%)
:arrow_down:

... and 22 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

I found that this pr can not resolve the issue, when I want to add new shell task, it will query resources and throw error too.
I think we should change the front part, if fullName is empty, don't request resource list.

I found that this pr can not resolve the issue, when I want to add new shell task, it will query resources and throw error too.
I think we should change the front part, if fullName is empty, don't request resource list.

Yours is another request, and reporting an error is not a problem with me

I found that this pr can not resolve the issue, when I want to add new shell task, it will query resources and throw error too.
I think we should change the front part, if fullName is empty, don't request resource list.

Yours is another request, and reporting an error is not a problem with me

related pr #12076   cc @SbloodyS @EricPyZhou

@hstdream please confirm two things:

Do you login as admin user?
Do all tenantCodes used by all users have its path defined in your environment? For example, if you are using S3 bucket, verify that if tenantCode/resources/ exist
If not, then it will throw this error.

@hstdream please confirm two things:

Do you login as admin user?
Do all tenantCodes used by all users have its path defined in your environment? For example, if you are using S3 bucket, verify that if tenantCode/resources/ exist
If not, then it will throw this error.

@hstdream @caishunfeng I think one of the most important issues is the error message. That couldn't tell users what the exact problem is. The error message should tell users like 'You need to set the resource storage in the file of common.properties.'

@hstdream please confirm two things:

Do you login as admin user?
Do all tenantCodes used by all users have its path defined in your environment? For example, if you are using S3 bucket, verify that if tenantCode/resources/ exist
If not, then it will throw this error.

@hstdream @caishunfeng I think one of the most important issues is the error message. That couldn't tell users what the exact problem is. The error message should tell users like 'You need to set the resource storage in the file of common.properties.'

@hstdream please confirm two things:

Do you login as admin user?
Do all tenantCodes used by all users have its path defined in your environment? For example, if you are using S3 bucket, verify that if tenantCode/resources/ exist
If not, then it will throw this error.

@hstdream @caishunfeng I think one of the most important issues is the error message. That couldn't tell users what the exact problem is. The error message should tell users like 'You need to set the resource storage in the file of common.properties.'

#12901 now in this issue, we propose to return empty list when a tenant resource path is not found.

@hstdream please confirm two things:

Do you login as admin user?
Do all tenantCodes used by all users have its path defined in your environment? For example, if you are using S3 bucket, verify that if tenantCode/resources/ exist
If not, then it will throw this error.

@hstdream @caishunfeng I think one of the most important issues is the error message. That couldn't tell users what the exact problem is. The error message should tell users like 'You need to set the resource storage in the file of common.properties.'

+1, The error message should tell users like 'You need to set the resource storage in the file of common.properties.'  is a better suggestion  @hstdream what do you think?

@hstdream please confirm two things:

Do you login as admin user?
Do all tenantCodes used by all users have its path defined in your environment? For example, if you are using S3 bucket, verify that if tenantCode/resources/ exist
If not, then it will throw this error.

@hstdream @caishunfeng I think one of the most important issues is the error message. That couldn't tell users what the exact problem is. The error message should tell users like 'You need to set the resource storage in the file of common.properties.'

+1, The error message should tell users like 'You need to set the resource storage in the file of common.properties.'  is a better suggestion @hstdream what do you think?

Please shift to the discussion in #12901 as it is the dedicated one for designing implementations on resolving this issue.


trace is broken

Fixed with https://github.com/davezuko/halcyon/commit/fa2c253f907aa4b207b7fe8462621ebf2e353592.


Can't install on Laravel v5.4.27

I'm trying to install this package through
composer require laravel/legacy-encrypter

but I run into a
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for laravel/legacy-encrypter ^1.0 -> satisfiable by laravel/legacy-encrypter[v1.0.0].
    - Conclusion: remove laravel/framework v5.4.27
    - Conclusion: don't install laravel/framework v5.4.27
    - laravel/legacy-encrypter v1.0.0 requires illuminate/support 5.3.* -> satisfiable by illuminate/support[v5.3.0, v5.3.16, v5.3.23, v5.3.4].
    - don't install illuminate/support v5.3.0|don't install laravel/framework v5.4.27
    - don't install illuminate/support v5.3.16|don't install laravel/framework v5.4.27
    - don't install illuminate/support v5.3.23|don't install laravel/framework v5.4.27
    - don't install illuminate/support v5.3.4|don't install laravel/framework v5.4.27
    - Installation request for laravel/framework (locked at v5.4.27, required as 5.4.*) -> satisfiable by laravel/framework[v5.4.27].

Installation failed, reverting ./composer.json to its original content.

I suppose this means that this package is not compatible with Laravel 5.4? Although it says in the description:

It is primarily intended to be used to migrate your data to the new OpenSSL based encrypter used in 5.1 through the latest release of Laravel.

I got around this by downloading the package instead of requiring it through the command line.
If you place the contents in your project folder under "/packages/laravel/legacy-encrypter/" then require it as a local repository in your composer.json:
"repositories": [
        {
            "type": "path",
            "url": "packages/laravel/legacy-encrypter/"
        }
    ]

You should be able to install the package this way without conflicts. You will need to update the encrypt and decrypt functions of the McryptEncrypter class to match the new format of Illuminate\Contract\Encryption\Encrypter. Simply add $serialize = true and $unserialize = true to the encrypt and decrypt function arguments respectively.


New format???

hey.
I am in the process of making a new file format
it's going to be ether  .VR or .VIRT
it will be built on the already existing version 5 format of the NBS files
so there can be backward compatibility between my program and this one.
this is only a suggestion for the 4.0 update so you can take this as you will.
I have a python demo of the format for people to try so they can see how it works.
if you want I can comment with a GitHub repo containing the new format maker.
this format is licenced under the MIT licence, allowing it to be open source.
I hope I can make it an open source of not then let me know!

now i do want to let you know that this format will go thru heavy and extensive changes

There was a discussion about the future of the .nbs format in #307.

I have the base for it ready and can make the files and read/write to them. the problem is that I don't really know how Pynbs works. i did the things but it seams to be broken at the moment.

Hi! The new format you proposed is really interesting; however, since it's out of the scope for this project, I will be closing this issue for the moment. Feel free to suggest improvements to the existing format in #307, which is where we're tracking future additions to the current standard!


gRPC is not building with cmake>3.16 and vs2019

gRPC conan package can not be built anymore with following setup:

windows 10 x64
cmake > 3.16
Visual Studio 2019
conan 1.26.0

Conan profile looks like:
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.runtime=MD
compiler.version=16
os=Windows
os_build=Windows

Same issue and errors reported here: https://gitlab.kitware.com/cmake/cmake/-/issues/20209
I was able to fix build locally by patching _configure_cmake method with:
if self.settings.os == "Windows" and not self.options["protobuf"].shared:
    cmake.definitions['Protobuf_USE_STATIC_LIBS'] = "ON"

This pretty much looks like the error I run into on my Windows machine. I will have a look somewhen later
Thanks for the info!

I tested using gRPC repo (not this recipe) and it builds flawlessly with vs2019 and cmake 3.17.0? What's the problem here?

I'm pretty sure this has to do with the interaction with FindProtobuf.cmake provided with CMake:
https://gitlab.kitware.com/cmake/cmake/-/blob/v3.18.4/Modules/FindProtobuf.cmake#L533
It will add "PROTOBUF_USE_DLLS" if "Protobuf_USE_STATIC_LIBS" is not set which causes incorrect linkage.

And it corresponds well with CMake 3.16, that logic where introduced in this commit:
https://gitlab.kitware.com/cmake/cmake/-/commit/3bbd85d5fffe66181cf16c81b23b2ba50f5387ba

Thank you @anton-dirac for the additional information.
The change looks good to me on my local Windows machine. Let's see what CI says

I applied the change for version 1.27.3 and it should be fixed now.
Thanks everyone!


running rootchain deploy command keep asking for stake token

Running rootchain deploy errors out
When running rootchain deploy it causes error and keep asking for stake token and it has been declared
Your environment

OS Debian 11
Polygon Edge 1.3.1

Steps to reproduce

Run this command:
./polygon-edge rootchain deploy
--stake-manager ${stakeManagerAddr}
--stake-token ${stakeToken}
--proxy-contracts-admin ${proxyContractsAdmin}
When running this command it will keep asking for the stake token and the stake token is declared.

Expected behavior

Should complete with no errors and not saying that the stake token is not defined.

is your stake token a valid IERC20?


Strange behavior of ListView when items get removed

Please tell us exactly how to reproduce the problem you are running into, and how you measured the performance.

Build a ListView where each Element consists of a Text with String A and a stateful widget which also builds a Text widget with String A like so:
ListView(
    children: _names
    .map((String name) => Row(
       children: [
       StatefulNameWidget(name: name),
       Text(name),
     ],
   ))
   .toList(),
 )

The StatefulNameWidget receives a String and passes it forward to its state like so:
class StatefulNameWidget extends StatefulWidget {
  final String name;

  const StatefulNameWidget({Key? key, required this.name}) : super(key: key);

  @override
  _StatefulNameWidgetState createState() =>
      _StatefulNameWidgetState(name: this.name);
}

class _StatefulNameWidgetState extends State<StatefulNameWidget> {
  final String name;

  _StatefulNameWidgetState({required this.name});

  @override
  Widget build(BuildContext context) {
    return Text(this.name);
  }
}

If you now add strings to the _names list, we see rows where each consists of two times the string (which is working fine). For example if my _names list is ['A','B','C'], I see:
AA
BB
CC

But if i now remove the first item (so that the list becomes ['B','C']) and call setState, the output is the following:
AB
BC

instead of:
BB
CC

So there is still a StatefulNameWidget with the string 'A' rendered, even tough the 'A' does not exist in the list anymore. Is this the intended behavior?
If i return Text(widget.name) inside the build method, the output is as expected. Also if i use a StatelessWidget, the output is as expected ('BB\nCC'). (See attached main.dart file)

Please attach a small application (ideally just one main.dart file) that
reproduces the problem. You could use https://gist.github.com/ for this.

https://gist.github.com/tunymedia02/a65d805af58a372942f25e40a41dfeb3

Hi @tunymedia02,
Thanks for filing the issue it looks like it is the expected behaviour, When you pass on the value to the widget for the first time,
StatefulNameWidget(name: name)

the widget is created and the value is being stored in the state by calling create state.
 @override
  _StatefulNameWidgetState createState() =>
      _StatefulNameWidgetState(name: this.name);
}

which basically maintains the state and it is only called in these scenarios
 taken from the docs

The framework can call this method multiple times over the lifetime of a StatefulWidget. For example, if the widget is inserted into the tree in multiple locations, the framework will create a separate State object for each location. Similarly, if the widget is removed from the tree and later inserted into the tree again, the framework will call createState again to create a fresh State object, simplifying the lifecycle of State objects.

so when you are try to access this.name in your StatefulNameWidget
return Text(
      this.name,  // it will always return the initial value stored in the state and not the one updated via setState
    );

if you need the updated value you could either  access it like this
return Text(
      widget.name,
    );

or add a uniqueKey to your StatefulNameWidget widget so that when the setState is called uniquekey is assigned everytime and createState is called on each setState to update the state value
 StatefulNameWidget(
   name: name,
   key: UniqueKey(),
  ),

So I am going to close this issue considering it to be invalid, if you disagree feel free to write back, if the argument stands valid I will reopen it.
Thank you.