text:
error while mirroring ruby process: cannot load such file -- rubygems.rb

Bug Description
While running a sample application for ruby, the following error appears.
✓ config summary
<internal:gem_prelude>:2:in `require': cannot load such file -- rubygems.rb (LoadError)
        from <internal:gem_prelude>:2:in `<internal:gem_prelude>'

I am using the following configuration for mirrord
{
  "target": "deployment/ruby-app",
  "feature": {
    "env": true,
    "fs": {
      "mapping": {
        "/Library/Ruby/Gems/2.6.0/gems/": "/usr/local/bundle/gems",
        "/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib": "/usr/local/lib"
      }
    },
    "network": true
  }
}

I added the mapping to the configuration to get rid of the dependency errors.
Steps to Reproduce

git clone https://github.com/waveywaves/mirrord-ruby-debug-example
cd mirrord-ruby-debug-example
minikube start
kubectl create -f kube
mirrord exec -f mirrord.json ruby -- app.rb -o 0.0.0.0 -p 4567

Backtrace
mirrord exec -f mirrord.json ruby -- app.rb -o 0.0.0.0 -p 4567

New mirrord version available: 3.125.2. To update, run: `"brew upgrade metalbear-co/mirrord/mirrord"`.
To disable version checks, set env variable MIRRORD_CHECK_VERSION to 'false'.
When targeting multi-pod deployments, mirrord impersonates the first pod in the deployment.
Support for multi-pod impersonation requires the mirrord operator, which is part of mirrord for Teams.
You can get started with mirrord for Teams at this link: https://mirrord.dev/docs/overview/teams/?utm_source=multipodwarn&utm_medium=cli
* Running binary "/var/folders/v7/yqyq_d6x2996hfnnwvgs5f080000gn/T/mirrord-bin-ghu3278mz/usr/bin/ruby" with arguments: ["app.rb", "-o", "0.0.0.0", "-p", "4567"].
* mirrord will target: deployment/ruby-app, a configuration file was loaded from: /Users/vibhavbobade/go/src/github.com/waveywaves/mirrord-ruby-debug-example/mirrord.json
* operator: the operator will be used if possible
* env: all environment variables will be fetched
* fs: file operations will default to read only from the remote
* incoming: incoming traffic will be mirrored
* outgoing: forwarding is enabled on TCP and UDP
* dns: DNS will be resolved remotely
⠲ mirrord exec
    ✓ update to 3.125.2 available
    ✓ ready to launch process
      ✓ layer extracted
      ✓ operator not found
      ✓ agent pod created
      ✓ pod is ready
      ✓ arm64 layer library extracted
    ✓ config summary
<internal:gem_prelude>:2:in `require': cannot load such file -- rubygems.rb (LoadError)
        from <internal:gem_prelude>:2:in `<internal:gem_prelude>'

mirrord layer logs
2024-12-01T08:11:36.675461Z TRACE ThreadId(02) replace_path_str: mirrord_layer::file::mapper: new mapping_index=1 path_str="/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/rubygems.rb"
2024-12-01T08:11:36.675465Z TRACE ThreadId(02) replace_path_str: mirrord_layer::file::mapper: return="/usr/local/lib/ruby/vendor_ruby/rubygems.rb" mapping_index=1 path_str="/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/rubygems.rb"
2024-12-01T08:11:36.675469Z TRACE ThreadId(02) replace_path_str: mirrord_layer::file::mapper: close time.busy=4.29µs time.idle=3.25µs mapping_index=1 path_str="/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/rubygems.rb"
2024-12-01T08:11:36.675476Z TRACE ThreadId(02) mirrord_layer::file::hooks: path Success(
    "/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb",
) | open_options OpenOptionsInternal {
    read: true,
    write: false,
    append: false,
    truncate: false,
    create: false,
    create_new: false,
}
2024-12-01T08:11:36.675482Z TRACE ThreadId(02) replace_path_str: mirrord_layer::file::mapper: new mapping_index=1 path_str="/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb"
2024-12-01T08:11:36.675486Z TRACE ThreadId(02) replace_path_str: mirrord_layer::file::mapper: return="/usr/local/lib/ruby/2.6.0/rubygems.rb" mapping_index=1 path_str="/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb"
2024-12-01T08:11:36.675489Z TRACE ThreadId(02) replace_path_str: mirrord_layer::file::mapper: close time.busy=4.08µs time.idle=3.25µs mapping_index=1 path_str="/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb"
2024-12-01T08:11:36.675501Z TRACE ThreadId(02) mirrord_layer::file::hooks: path Success(
    "/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/x86_64-darwin23/rubygems.rb",
) | open_options OpenOptionsInternal {
    read: true,
    write: false,
    append: false,
    truncate: false,
    create: false,
    create_new: false,
}
2024-12-01T08:11:36.675506Z TRACE ThreadId(02) replace_path_str: mirrord_layer::file::mapper: new mapping_index=1 path_str="/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/x86_64-darwin23/rubygems.rb"
2024-12-01T08:11:36.675510Z TRACE ThreadId(02) replace_path_str: mirrord_layer::file::mapper: return="/usr/local/lib/ruby/2.6.0/x86_64-darwin23/rubygems.rb" mapping_index=1 path_str="/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/x86_64-darwin23/rubygems.rb"
2024-12-01T08:11:36.675513Z TRACE ThreadId(02) replace_path_str: mirrord_layer::file::mapper: close time.busy=4.17µs time.idle=3.21µs mapping_index=1 path_str="/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/x86_64-darwin23/rubygems.rb"
2024-12-01T08:11:36.675521Z TRACE ThreadId(02) mirrord_layer::file::hooks: path Success(
    "/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin23/rubygems.rb",
) | open_options OpenOptionsInternal {
    read: true,
    write: false,
    append: false,
    truncate: false,
    create: false,
    create_new: false,
}
2024-12-01T08:11:36.675527Z TRACE ThreadId(02) replace_path_str: mirrord_layer::file::mapper: new mapping_index=1 path_str="/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin23/rubygems.rb"
2024-12-01T08:11:36.675531Z TRACE ThreadId(02) replace_path_str: mirrord_layer::file::mapper: return="/usr/local/lib/ruby/2.6.0/universal-darwin23/rubygems.rb" mapping_index=1 path_str="/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin23/rubygems.rb"
2024-12-01T08:11:36.675534Z TRACE ThreadId(02) replace_path_str: mirrord_layer::file::mapper: close time.busy=4.12µs time.idle=3.29µs mapping_index=1 path_str="/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin23/rubygems.rb"
<internal:gem_prelude>:2:in `require': cannot load such file -- rubygems.rb (LoadError)
	from <internal:gem_prelude>:2:in `<internal:gem_prelude>'

mirrord intproxy logs
No response
mirrord agent logs
No response
mirrord config
{
  "target": "deployment/ruby-app",
  "feature": {
    "env": true,
    "fs": {
      "mapping": {
        "/Library/Ruby/Gems/2.6.0/gems/": "/usr/local/bundle/gems",
        "/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib": "/usr/local/lib"
      }
    },
    "network": true
  }
}

### mirrord CLI version

mirrord 3.124.2

### mirrord-agent version

_No response_

### mirrord-operator version (if relevant)

_No response_

### plugin kind and version (if relevant)

_No response_

### Your operating system and version

MacOS Sonoma 14.2.1

### Local process

/usr/bin/ruby: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64e:Mach-O 64-bit executable arm64e]

### Local process version

_No response_

### Additional Info

_No response_

Not an issue - mirrord doesn't support using code artifacts from the remote by design.

authors: aviramha waveywaves

repo: metalbear-co/mirrord


text:
BIPM "short references" to outcomes: Resolutions, Decisions, Recommendations, Statements

As agreed with BIPM's Janet Miles:
Basic pattern
General:
Long: {group name} -- {type} {number} ({year})
Short: {group name} -- {type-abbrev} {number} ({year}, {lang})

Special case pattern
The basic pattern works fine for all.
Except for these 2 cases:

Decisions of the CIPM (since 2012)
Recommendations/Resolutions/Decisions of the JCRB

Where the committee name is part of the outcome identifier:
Special cases:
Decision CIPM/111-10 (2022) / Décision CIPM/111-10 (2022)
Recommendation JCRB/43-1 (2021) / Recommandation JCRB/43-1 (2021)

Single language version (English)
type can be:

Resolution (RES)
Recommendation (REC)
Decision (DECN)
Statement (DECL)

e.g.
CCTF -- Recommendation 2 (1970)
CCTF -- REC 2 (1970, EN)

Special cases:
Decision CIPM/111-10 (2022)
CIPM DECN CIPM/111-10 (2022, EN)
Recommendation JCRB/43-1 (2021)
JCRB REC JCRB/43-1 (2021, EN)

Single language version (French)
type can be:

Résolution (RES)
Recommandation (REC)
Décision (DECN)
Déclaration (DECL)

e.g.
CCTF -- Recommandation 2 (1970)
CCTF -- REC 2 (1970, FR)

Special cases:
Décision CIPM/111-10 (2022)
CIPM DECN CIPM/111-10 (2022, FR)
Recommandation JCRB/43-1 (2021)
JCRB REC JCRB/43-1 (2021, FR)

Dual language version (language independent version)
type can be in their respective languages or the following abbreviations:

RES
REC
DECN
DECL

CCTF -- Recommandation 2 (1970) / Recommendation 2 (1970)
CCTF REC 2 (1970)

Special cases:
Decision CIPM/110-10 (2022) / Décision CIPM/111-10 (2022)
CIPM DECN CIPM/110-10 (2022)
Recommendation JCRB/43-1 (2021) / Recommandation JCRB/43-1 (2021)
JCRB REC JCRB/43-1 (2021)

No idea what I am meant to do with this, and I cannot do anything with it until https://github.com/relaton/relaton-bipm/issues/34 is actioned anyway.

References can now be entered in short format, and will continue to be referenced in long format. That was always going to flow through immediately from relaton-bipm:
        [bibliography]
        == Bibliography
        * [[[a1,CGPM -- Meeting 1 (1889)]]]
        * [[[a2,BIPM DECN CIPM/101-1 (2012, EN)]]]
      INPUT

      output = <<~OUTPUT
        <sections>
          <clause id='_' obligation='normative'>
            <title>Clause</title>

            <eref type="inline" bibitemid="a1" citeas="CGPM — Meeting 1 (1889)"/>
            <eref type="inline" bibitemid="a2" citeas="Decision CIPM/101-1 (2012)"/>

          </clause>
        </sections>
      OUTPUT

        [bibliography]
        == Bibliography
        * [[[a2,BIPM DECN CIPM/101-1 (2012, FR)]]]
        * [[[a1,CGPM -- Meeting 1 (1889)]]]
      INPUT

      output = <<~OUTPUT
        <sections>
          <clause id='_' obligation='normative'>
            <title>Clause</title>

            <eref type="inline" bibitemid="a1" citeas="CGPM — Réunion 1 (1889)"/>
            <eref type="inline" bibitemid="a2" citeas="Décision CIPM/101-1 (2012)"/>

          </clause>
        </sections>
      OUTPUT

There is nothing further to be done in Metanorma for this ticket, and indeed there never was. Closing this.

source: gharchive/issue

authors: opoudjis ronaldtse

repo: metanorma/metanorma-bipm

license_type: permissive

license_source: github-api


text:
Make snapshot generating method thread-safe.

Is your feature request related to a problem? Please describe.
스냅샷 생성 기능에 thread-safe 하지 못한 부분이 있어 동시에 여러개의 스냅샷을 생성하면 올바른 결과를 만들어내지 못함.
Describe the solution you'd like
TeddyExcutor.java 내의 snapshot 생성 관련 코드들을 thread-safe하게 변경.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
SSID와 관련된 변수들을 hash-map 형태로 관리하여 새로운 스냅샷을 생성할 때 변수들이 뒤섞이는 것을 방지.

Snapshot Cancel 처리도 SSID와 연결된 부분이 있어 확인 필요.

repo: metatron-app/metatron-discovery

license_source: bigquery


text:
Adjusted the align data source to be this.data

this.data holds the alignTitle attribute for the ionHeaderBar when using the ionNavBar.

If this.data is null you get:
 Exception from Tracker afterFlush function: Cannot read property 'alignTitle' of null
TypeError: Cannot read property 'alignTitle' of null
    at IonHeaderBar.alignTitle (http://localhost:3000/packages/meteoric_ionic.js?8d5f600e2a0f01e224c5ba01fd90c6247c7be240:1252:26)
    at Template.ionNavBar.rendered (http://localhost:3000/packages/meteoric_ionic.js?8d5f600e2a0f01e224c5ba01fd90c6247c7be240:1936:27)
    at null.<anonymous> (http://localhost:3000/packages/blaze.js?efa68f65e67544b5a05509804bf97e2c91ce75eb:3008:21)
    at http://localhost:3000/packages/blaze.js?efa68f65e67544b5a05509804bf97e2c91ce75eb:1733:14
    at Object.Blaze._withCurrentView (http://localhost:3000/packages/blaze.js?efa68f65e67544b5a05509804bf97e2c91ce75eb:2043:12)
    at http://localhost:3000/packages/blaze.js?efa68f65e67544b5a05509804bf97e2c91ce75eb:1732:15
    at Tracker.flush (http://localhost:3000/packages/tracker.js?517c8fe8ed6408951a30941e64a5383a7174bcfa:448:11)

A workaround to prevent the TypeError is using ionNavBar with alignTitle:
{{> ionNavBar alignTitle="something"}}

Is this the desired behaviour?

No, it's not the desired behavior. We are constantly fighting with meteor over the this.data property inside templates. I'll just need to sit down and figure out a global fix for this in all the components. However it's very strange that I haven't yet experienced this issue once in any of my apps or demos.

Thanks for the reply @nickw
I'm using Meteor 1.0.3.1 and I tested this on Chrome 40.0.2214.94 (64-bit) and Firefox 37.0a2 (2015-01-21)
I created this repo to reproduce the issue: https://github.com/findingmeteor/minimal-meteroic
I hope it helps

Thanks for the reproduction:) I just pushed something that should fix it - let me know!
Sent from my iPhone

On Jan 31, 2015, at 12:51 PM, Encontrando a Meteor notifications@github.com wrote:
Thanks for the reply @nickw
I'm using Meteor 1.0.3.1 and I tested this on Chrome 40.0.2214.94 (64-bit) and Firefox 37.0a2 (2015-01-21)
I created this repo to reproduce the issue: https://github.com/findingmeteor/minimal-meteroic
I hope it helps
—
Reply to this email directly or view it on GitHub.

Awesome! Works great for me (I cloned the repo inside the packages directory to do the test).
Thanks @nickw !

source: gharchive/pull-request

authors: digilord findingmeteor nickw

repo: meteoric/meteor-ionic

license: mit


text:
Getting no data for some Points

I am not getting any reply for some points using point and fetch. How can I check what the error is?
--# Get hourly data
data = Hourly(point1, start, end, timezone='America/Chicago')
df = data.fetch()
How do I change the radius in this?

What solved this for me was to call Point inside the Hourly() not just reference an already generated point.

Do you know if this library is limited to a certain part of the world? I've been trying to get some temperature readings with coordinates from towns in Mexico, but all I get are NaNs. I don't know whether the elevation data is critical for determining the temperature; the geocoder I use just returns plain 0s

You can check the data sources from https://dev.meteostat.net/sources.html

repo: meteostat/meteostat-python

license: MIT


text:
Import Neighbourhood Processing and add automatic unit testing

This initial import adds the basic neighbourhood processing to IMPROVER together with inbuilt Travis continuous integration testing.
The .travis.yml file controls Travis, and is derived from the Iris one (since installing Iris and the usual associated libraries is the main problem).
The code is a straightforward shift from our internal BGD codebase, except that I have taken the liberty of reorganising it so that the operation method is renamed process, and the cube to be processed is passed in at this point rather than in the __init__ method.

All changes addressed, I think.

repo: metoppv/improver


text:
Speed up rainforests prediction

Add an option to speed up rainforests prediction.
The improved efficiency is achieved by observing that for sets of grid points having very similar values for their features, the features will be binned by LightGBM in the same way for each point, and therefore the predicted value of each point will be the same. Thus we only need to predict once for the whole set of points. This yields a reduction of around 20-40% in processing time for gridded forecasts (depending on file).
Description
Testing:

[x] Ran tests and they passed OK
[x] Added new tests for the new feature(s)

This is still current.

Scheduled tests are failing with the latest env. We should pin the treelite package in latest.yml to resolve.

Thanks for reviewing @benowen-bom and @bomRob, all changes are merged now.

I realised after merging that the fix to envs/latest.yml to pin the treelite package wasn't included here. I'll add a PR tomorrow to enact this change.

authors: benowen-bom btrotta-bom


text:
Weighted-blending with a 0 linear_starting_point.

A Fix to allow a linear_starting_point of zero to be provided to the weighted-blending plugin.
Testing:

[x] Ran tests and they passed OK

Run improver tests and suite and this change looks OK

authors: bayliffe carolinejjones


text:
Make an issue dependency preview

I want a dependency graph of the Rabbit issues. The issues can be fetched at: https://api.github.com/repos/mewore/rabbit/issues
The preview should be served by the server of Rabbit at some sub-URL. However, the functionality for generating the graph (both server-side and client-side) should be in a separate module, potentially in a separate library.

I created a separate repo for this as it isn't related to the rabbit project.

repo: mewore/rabbit


text:
Add a Spiro pen

Requires also adding Spiro support to mfeq/glifparser

Significant progress has been made, I just converted a Spiro to a Bezier spline in Rust:

https://github.com/mfeq/spiro-sys/
This was quite painless, so much so I'm going to write a safe wrapper and publish to crates.io

repo: mfeq/Qglif


text:
idea: allow customizing the code highlighting theme

I like to use the Catppuccin Macchiato theme in my presentations as it matches my other tools (they also use the same theme). Presenterm also comes bundled with the Catppuccin Macchiato theme, so I can use it without any additional setup.
However, code highlighting in the builtin theme is set to base16-eighties.dark which looks a bit strange. I would like my presentations to use the Catppuccin Macchiato theme (from https://github.com/catppuccin/bat) for code highlighting as well.
I verified that currently I can do this by

copying the theme file to /Users/mikavilpas/.config/presenterm/themes/highlighting/xx.tmTheme

creating a copy of the existing theme to /Users/mikavilpas/.config/presenterm/themes/catppuccin-macchiato-mika.yaml

specifying this in my config:
defaults:
  theme: catppuccin-macchiato-mika

manually changing the code highlighting settings in the default theme. However, this is not ideal as I have to maintain the theme myself.

I understand that it might be difficult to bundle the Catppuccin Macchiato code highlighting theme with Presenterm, but do you think it could be possible to allow customizing the code highlighting theme for users that are willing to install it manually?
I would be happy to contribute to this feature if you think it is a good idea.
Possible approaches

Add a new configuration option for specifying the code highlighting theme.

if the user has configured this in their config file, use that highlighting theme instead of one in the user's theme (or the default theme if they have no theme set).
this could also be supported in the frontmatter of the markdown file, but personally I don't think I need it.

Allow partially overriding a builtin theme.

this would allow users to only override the code highlighting settings while keeping the rest of the theme intact.

Maybe there is a better idea that I can't think of. Would love to hear your thoughts.

So just to be clear, you can already partially override a theme in the front matter by using the override key so you could do this on a per presentation basis but I understand this is annoying.
Something that I thought about implementing in the past and would fit here is being able to have themes that extend others. You could create a theme that has an
extends: catppuccin-macchiato

And this means it basically inherits everything from that theme. Then you can add the property to set the code highlighter and there's that. So this would be what you're doing except you wouldn't need to maintain it as it will always inherit everything from the base theme. Would this work for you? This seems in line with the "allow partially overriding a builtin theme" suggestion you have except it applies to any theme, not just built in.

Add a new configuration option for specifying the code highlighting theme

I don't particularly like this solution because the code highlighter theme is just one of the many properties a theme has so adding a config parameter just for this one seems strange.

Yeah, that sounds really good to me. 👍🏻

I created #265 for this but I realized I need a topological sort to deal with theme recursion (A extends B extends C) and I ran out of time today, I'll try to finish it tomorrow. For now it works, except not if you have an extension chain ^.

Thanks, this works perfectly 👍🏻

authors: mfontanini mikavilpas

repo: mfontanini/presenterm


text:
Section 2 & 3 - includes main folder for content react-js

Block 2: State in React
Block 3: Handling Events and Forms

Hola @Flordelola he revisado y en el deploy preview no se ve en el sidebar de la web la nueva sección de react. Creo que hay que añadir las secciones en src/config/sidebar.yml . ¿Se puede revisar? Gracias!

Hola @Flordelola he revisado y en el deploy preview no se ve en el sidebar de la web la nueva sección de react. Creo que hay que añadir las secciones en src/config/sidebar.yml . ¿Se puede revisar? Gracias!

Added as requested

@Flordelola , ¿podemos revisar los saltos de línea de los ejercicios? ahora aparece así

@Flordelola , ¿podemos revisar los saltos de línea de los ejercicios? ahora aparece así en la web. Gracias!

corregido

authors: Flordelola alejandroereyesb

repo: mfrcodingproject/refugeescodematerial


text:
Russian translation was added

Hello, i added my translation

Great job! Thanks!

authors: lskramarov mgechev

repo: mgechev/angularjs-in-patterns


text:
Unable to start

Can't seem to get past this.
[2017-11-14 16:24:30.078] [LOG]   Login using a game account
[2017-11-14 16:24:30.078] [LOG]   doJQueryRequest: https://us.forgeofempires.com/
[2017-11-14 16:24:30.091] [LOG]   Listening at the port 3000, na adresie 127.0.0.1
[2017-11-14 16:24:45.658] [LOG]   myusername(us23): Called method getDefinitions
[2017-11-14 16:24:45.668] [LOG]   myusername(us23): Called method getAccountData
[2017-11-14 16:25:05.061] [LOG]   submitForm: Sending login data…
[2017-11-14 16:25:05.063] [LOG]   Akcja formularza nie jest pełnym URL-em, doklejam protokół i hosta
[2017-11-14 16:25:06.725] [LOG]   Wynik: false, url: undefined, id gracza:
[2017-11-14 16:25:06.725] [LOG]   url = https://us.forgeofempires.comundefined
[2017-11-14 16:25:06.725] [LOG]   doJQueryRequest: https://us.forgeofempires.comundefined

Issue resolved. It was a combination of errors in the userdata/settings.json and different versions of the auto-foe without having done the npm install in-between.

repo: mgierw/auto-foe


text:
🛑 Merchant APP (Core Config API) is down

In 96e0a70, Merchant APP (Core Config API) (https://gateway.wavemoney.io/v2/merchant-api/merchant-core-config) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Merchant APP (Core Config API) is back up in e196860 after 44 minutes.

repo: mgmgpyaesonewin/strapi-upptime


text:
🛑 Merchant APP (Stroy API) is down

In 58a2cee, Merchant APP (Stroy API) (https://gateway.wavemoney.io/v2/merchant-api/merchant-tutorial-stories/1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Merchant APP (Stroy API) is back up in d896dcb after 25 minutes.


text:
enable dynamic steps by watch $destroy event.

i.e.
<wizard><wz-step ng-repeat="step in stpes" title="{{step}}">{{step}}</wz-step></wizard>

in scope, just create and change steps array to dynamic change steps.
help needed, more accurate test.

@pluswave can you fix the merge conflicts by rebasing? I will get the tests working when the PR is mergable.

authors: jacobscarter pluswave

repo: mgonto/angular-wizard


text:
Replacing broken symlinks

What should we do if file '/foo` is to be installed over broken symlink?

Create the missing parent directories and install the file,
Replace the symlink with real file?

<zmedico> mgorny: it removes the broken symlink and merges the regular file

repo: mgorny/atomic-install


text:
:checked causing error

Hi, I was directed here from https://github.com/sass/node-sass/issues/1719#issuecomment-271567256
Since upgrading to node-sass@4.x, which I think meant also upgrading to sass2scss@1.1.0, I have been getting the following error:
Error: property "checked" must be followed by a ':'

with the following code:
div
  :checked ~ p
    display: none

I can fix this with:
div
  input:checked ~ p
    display: none

However, the first syntax is valid and should work (I think!). I don't know if this bug was introduced by https://github.com/mgreter/sass2scss/commit/f03b821e6e82dce096213c1f48350b06489449d8 but it seems related. Let me know if I can help with any further info. Thanks!

Please check with http://www.sassmeister.com/ ! AFAICS it is invalid and the correct fix would be:
div
  \:checked ~ p
    display: none

From your linked issues I see you're talking about property_syntax. Can you make your example compile with official ruby sass cli? So far I'm not even sure if property_syntax will actually fix the issue!

Ah, interesting. I guess my thinking was a little muddled – I suppose what I really meant was that it's valid CSS. I assumed that it would be supported in SASS, but you are right of course, it isn't, at least in Sassmeister. From reading your code around about here, however, it seems you do check for pseudo selectors without an accompanying element selector. Should this code not handle the above use case? If I understand correctly, sass2scss converts to SCSS "manually" so we are not actually using Sass's SASS parser anyway?

Over time that logic got more and more complex. Actually the property_syntax seems to clarify some of the issues I had with understanding how the full logic works. Maybe also take a look at the sample in https://github.com/mgreter/sass2scss/issues/26 and you might see why it is not so easy to distinguish the case you're talking about from BEM (AFAICS).

Yeah I totally see the difficulty. I wonder if the list of conditions here already has the necessary logic. I don't think there are any pseudo selectors that overlap possible BEM prefixes such as margin, border etc. Do you think this is worth pursuing? It's not a common case, and given that :checked can only currently apply to inputs anyway, maybe it's not a big deal. It's possible that this issue would occur with other pseudo selectors, however.

We follow sass logic, so in that regard it seems we behave as ruby sass does? The condition you mention is really just a hack and I would really like to remove it if possible, but I did not see another way to do it at the time I've added it. Also please see this simplified case, which gives another error message in sass:
:checked
  display: none

Results in:
Error: Properties are only allowed within rules, directives, mixin includes, or other properties.
       If ":checked" should be a selector, use "\:checked" instead.
        on line 1 of test.sass

So I don't think there is anything we can do here. You may want to suggest that directly with ruby sass, but I guess they have good reasons to do it the way they do it ...

Yep, fair enough. It does seem strange that this has only just started causing errors – this was working fine before I upgraded from node-sass 3 to 4 – but if the behaviour has moved towards ruby sass behaviour, then I guess it's the right direction. Thanks for your time!

authors: Leeds-eBooks mgreter


text:
Update mix.exs for Phoenix 1.2

Phoenix 1.2 just launched. Proposing a small change to remove the -rc from the versioned phoenix in mix.exs.

I can merge this, but I won't be able to release it until tonight if thats ok. You'll have to use override: true until then.

That's perfectly fine. ✨ 💯
On Thu, Jun 23, 2016 at 4:13 PM Matt notifications@github.com wrote:

Merged #23 https://github.com/mgwidmann/scrivener_html/pull/23.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mgwidmann/scrivener_html/pull/23#event-702412923, or mute
the thread
https://github.com/notifications/unsubscribe/AAOquRo_fUDlDyECquy1TJCEnBC3sHifks5qOujPgaJpZM4I9LhD
.

authors: mgwidmann phereford


text:
Relative links to bootstrap assets

No workie.

Fixed with this commit.


text:
How to do multiple select?

Hi,
I am trying to select more than one option from a multi select element.
Right now, I've achieved this by writing a select command for each option like
select(ComboBox('multi select element'), 'option 1')
select(ComboBox('multi select element'), 'option 2')
select(ComboBox('multi select element'), 'option 4')

Is there any better or easy way to do this?

You could save the ComboBox in a variable. Other than that, no I don't think there's a better way.

repo: mherrmann/selenium-python-helium


text:
v4 rar file bug in Virtual file systems

What version of the package or command are you using?

v4.0.0-alpha.2
What are you trying to do?

Extract rar file

no bug code:
f, err := os.Open("/home/matt/Downloads/images.rar")
if err != nil {
	log.Fatal(err)
}
defer f.Close()

err = archiver.Rar{}.Extract(context.Background(), f, nil, func(_ context.Context, f archiver.File) error {
	log.Println(f.NameInArchive)
	return nil
})
if err != nil {
	log.Fatal(err)
}

duplicate file bug:
	filePath := "./images.rar"
	fsys, err := archiver.FileSystem(filePath)
	if err != nil {
		panic(err)
	}
	err = fs.WalkDir(fsys, ".", func(path string, d fs.DirEntry, err error) error {
		if err != nil {
			return err
		}
		fmt.Println(path)
		return nil
	})
	if err != nil {
		panic(err)
	}

bug output:
.
images/1034560.jpg
images/abc1.jpg
images/abc10.jpg
images/abc11.jpg
images/abc12.jpg
images/abc2.jpg
images/abc3.jpg
images/abc4.jpg
images/abc5.jpg
images/abc6.jpg
images/abc7.jpg
images/abc8.jpg
images/abc9.jpg
images
images/images/1034560.jpg
images/images/abc1.jpg
images/images/abc10.jpg
images/images/abc11.jpg
images/images/abc12.jpg
images/images/abc2.jpg
images/images/abc3.jpg
images/images/abc4.jpg
images/images/abc5.jpg
images/images/abc6.jpg
images/images/abc7.jpg
images/images/abc8.jpg
images/images/abc9.jpg

Windows and MAC can reproduce it:

Thank you for this, will take a closer look soon. Am just heading out for the evening.

I was able to confirm the bug, I think I have a hunch as to what is causing it.
Also, I appreciate the minimal use case to reproduce the bug, it made that very easy this time. Thanks.

It's weird, for some reason your .rar file lists the files first (depth-first) instead of the folders containing them (breadth-first).

I think the easiest way is to check for duplicates with map?

I thought of that, but I think it's better to compare file prefixes when traversing, to make sure we're not going into subfolders when we shouldn't be. This should avoid expending memory.

@pashifika I pushed a couple of commits that should resolve the issue. One eliminates the weird repeated directory name ("images/images/...") and another fixes the listing of directories when archives are created depth-first.
Thanks again for the reports. Please continue to paste code as text instead of screenshots in the future :)

authors: mholt pashifika

repo: mholt/archiver


text:
Make using LetEncrypt Staging Environment easier

This has been discussed before but I would like to suggest it again and have a PR ready to go if it is approved.
I think using the LetEncrypt staging environment when testing a configuration is more complicated than it needs to be.
You may say how could it be too complicated, all you need to do is provide the url to the staging server in your command line.  This is true, but in order to do that you need to.

Remember that you should use the staging server when testing a new configuration
Try to remember where you saw the url on the caddyserver.com website
Realise you need to follow the link to the LetsEncrypt website.
Figure out if you need to use the V1 or V2 staging endpoint.
Copy it and paste it onto your command line options for caddy

I would like to propose the following
caddy -ca Sandbox

This will use the correct Staging url for the version of acme that Caddy is using.  It simplifies the process and will reduce the number of new users who bash up against the rate limits when only testing out their site, which leads to frustration.
I would like to have this included before 1.0 but if there are some reasons why this is not a good idea perhaps we can discuss here.  I think this will add to ease of use.
The docs could then be updated to provide a much more direct recommendation that -ca Sandbox should be used when testing.
ps.
Of course Sandbox could be replace with any of

dev
Staging
debug
dryrun

etc.

But what about other ACME CAs? I don't think it's right to assume that a user is using Let's Encrypt. There are plenty of privately-hosted ACME servers and even other commercial CAs are starting to implement ACME too.

How about something like -ca LESandbox for example? Prefix it with LE to try and indicate it's Let's Encrypt's endpoint. Caddy (well, certmagic I guess) already defaults to LE, so I don't think it's too crazy to just define some presets for ease of use. Plus if LE releases a V3, Caddy can just change what the preset points to and everyone's happy, no need to do manual work of fixing their -ca flag on their tests (admittedly that's an edgecase, but still)

Maybe this should actually be an issue for the certmagic repo? Does -ca just get passed through?

Well lets see: we have the main live LetsEncrypt environment literally hard coded into the source.  I think it is safe to assume (and we do) that the substantial majority of the users of caddy are using LetsEncrypt to issue their certs and therefore would be interested in using LetsEncrypt staging environment for testing.
We are not taking any decision away from users.  This is like us providing a php or transparent shortcut which we do in fastcgi and proxy to aid ease of use.  This is the same concept but for the -ca command line param.
I'm sure LetsEncrypt would be happy if we used this shortcut, potentially cutting down on the number of users they get hitting rate limits on live servers.

Maybe this should actually be an issue for the certmagic repo? Does -ca just get passed through?

I think it makes more sense for this to be a preset in caddy than in CertMagic

I think it makes more sense for this to be a preset in caddy than in CertMagic

That's fine, but I was just thinking, where is the live LE env configured? I think it's in CertMagic... so I think it would make the most sense to have both the live and staging envs in the same repo, rather than having them split up, the live in CertMagic and the staging in Caddy.

CertMagic defines a constant in its code to the staging environment.  I use this in my Caddy PR.

If we did make a change, the right place would be in Caddy. CertMagic does not set any CLI flags.
You both make good points about Let's Encrypt already being the default CA in Caddy, however: I'm not convinced that it will solve the problem of people accidentally hitting rate limits. They'd still need to enable the staging endpoint one way or another. All this proposal does is shorten the length of the flag value, but I think a better solution may simply to be to improve documentation.

I'm going to open this again as again I found myself just wanting to specify

caddy -ca sandbox

without haveing to go look up the website and find the url.
We can close again but I still dont get why this is not able to be implemented.

I think, with recent improvements in Caddy, CertMagic, and the upcoming v2 release, this will be a non-issue. :)

authors: francislavoie mholt tobya

repo: mholt/caddy


text:
Simple ruby site using bundler

Via apache. ruby.local. Make it happen.

Use sinatra:
http://sinatrarb.com/intro.html

https://tecadmin.net/deploy-ruby-application-with-passenger-apache/

https://stackoverflow.com/a/15880065/922323
http://rack.github.io/
Looks deprecated though.

This helped:
https://github.com/michelesr/puma-sinatra-example
Using sinatra and puma (vs. passenger, which is not fully OSS).

For puma, this helped:
https://www.learnwithdaniel.com/2015/01/apache-puma-via-reverse-proxy/

Strange. I was able to get puma running late one night a few days ago ... since then, it won't install using bundler. Scratching puma off list.
Puma site does show a comparison of alternatives:
http://puma.io/

Try rainbows next?
On the other hand, gnu-screen and just sinatra could be a more direct path to getting a demo site up without a lot of fuss. Tempted to do this.

http://www.damiangalarza.com/posts/ruby/simple-sinatra-service-proxy/
Maybe just mod_proxy?

Ooooooh, PM2? Nice!
https://stackoverflow.com/a/36563313/922323

Welp, I can't seem to get over the fact that I can't get Puma to install using bundler. Opened an issue here: https://github.com/puma/puma/issues/1625

Systemd?
https://www.devdungeon.com/content/creating-systemd-service-files
Found the above when looking into Daemons gem:
https://www.devdungeon.com/content/daemonizing-ruby-scripts

Rackup, deamonized, using thin?
https://www.reddit.com/r/ruby/comments/nd09p/whats_the_difference_between_rack_thin_sinatra/

I can't figure out how to install outside app dir. Going to have to cd in to the directory during provisioning then cd back. Not elegant, but should work.
In the meantime:
https://stackoverflow.com/questions/51692408/bundler-how-can-i-bundle-install-from-outside-the-ruby-app-directory
Hoping I get some help.

repo: mhulse/vagrant-latmp


text:
Remove unused link CSS variables

Summary
Note: This ticket should be completed after the light and dark link updates.
There are some CSS variables relating to the ic-link which are no longer being used.
💬 Description
The following hyperlink CSS variables are no longer used in any component:
--ic-hyperlink-hover
--ic-hyperlink-contrast
--ic-hyperlink-contrast-hover
At time of writing, the --ic-hyperlink-contrast-visited variable is being used in the ic-link component but the light and dark link updates ticket removes that use, meaning that this variable can also be removed as part of this ticket.
💰 Use value
These variables are not being used so there is no need to keep them, and keeping them may cause confusion for customers.
Additional info
This is a breaking change because some teams / projects may be using the CSS colour variables.

While triaging this ticket, we were wondering whether it would actually be a breaking change...
I think it would be because there is always the possibility someone might be using any of the variables in variables.css as they may come across it and think it an appropriate colour to use for a certain use case. And with these link colours ^ , they may not realise that we don't actually use them in the ICDS components any more / at all.
I do actually remember seeing one team use the hover link colour which is why I must have marked this ticket as a breaking change! So yep, this change needs to be added to the v3 branch.

Do as part of: https://github.com/mi6/ic-ui-kit/issues/1214
Points removed from this ticket, was marked as 0.5

Done in #1214


text:
Collapsed footer link groups not focusable

Summary of the bug
When viewing a footer which has grouped links on a small screen, the collapsed groups are not focusable.
🪜 How to reproduce

Go to a footer with grouped links, e.g. Grouped links story
Make the screen / window size small enough to make the groups of links collapsed
Try tabbing to the link groups
See that they are not focusable and therefore can't be opened by keyboard

🖥 📱 Device

Browser: All browsers

🧐 Expected behaviour
The footer link groups should be focusable and allow the user to expand the link groups using the keyboard to access the links within.
📝 Acceptance Criteria
Given that I am viewing a footer with grouped links on a small screen
When I tab to the footer
Then the footer link groups become focussed and allow me to expand the groups when I press Enter.
Additional info
Not sure what the focus indicator should look like when the footer link group is expanded. Would the whole expanded group be focused, or just the top section (a bit like accordion components)?

Giving the ic-section-container a tabindex="0" seems to fix the issue.


text:
fix: objectId casting now working

Pull Request Type

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[X] Documentation content changes
[ ] Other... Please describe:

Description
The getList was returing an error Cannot read properties of undefined, reading .toString() when try to cast ObjectIds
PR Checklist

[X] The commit message follows our guidelines included in the CONTRIBUTING.md
[X] Tests for the changes have been added (for bug fixes / features)
[X] Docs have been added / updated (for bug fixes / features)

Does this PR introduce a breaking change?

[ ] Yes
[X] No

It seems fine, but if you try to look at the generated swagger you will see that it some fields it shows: Unknown Type: string,object or Unknown Type: array,string. Can you try to give it a look? It seems an error related to JSONschemaGenerator and/or ajv configuration.

@giuliowaitforitdavide

It seems fine, but if you try to look at the generated swagger you will see that it some fields it shows: Unknown Type: string,object or Unknown Type: array,string. Can you try to give it a look? It seems an error related to JSONschemaGenerator and/or ajv configuration.

Fixed

Still have the same problem on ObjectId, Date and Array of object field. The fix should be something similar to the previous ones.

repo: mia-platform/crud-service


text:
android:sharedUserId is deprecated

From the Andoid docs:

This constant was deprecated in API level 29.
Shared user IDs cause non-deterministic behavior within the package manager. As such, its use is strongly discouraged and may be removed in a future version of Android. Instead, apps should use proper communication mechanisms, such as services and content providers, to facilitate interoperability between shared components.

https://developer.android.com/guide/topics/manifest/manifest-element#uid
Is there an alternative way of providing shared data across applications that we can use?
Perhaps the README should be updated to warn that this feature might go away in a future Android release.

Hey @szh
Thanks for let it me know, actually there are other ways of providing share data across applications, we can mention AIDL to implement a IPC, more info here: https://developer.android.com/guide/components/aidl
Right now there is no plan to implement it on this plugin but a PR is more than welcome.
Leaving this issue open for visibility.


text:
Fixed a problem where the beep sound would repeat a long time.

It would be triggered if the length of a string was less than 3 because the calc would return a negative number.
It may be related with #12
Thanks.

Sorry for the late merge, was busy with worth the whole week. PR works great, thank you!

license: WTFPL


text:
Textareas need styles

<textarea> tags are supported but only pickup basic form styles.  There should be form styles targeted directly at textareas.

Specifically, textarea should have css for height: auto;

repo: michael-hamilton/Quartz


text:
Update scalatest to 3.2.4

Updates org.scalatest:scalatest from 3.1.4 to 3.2.4.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalatest", artifactId = "scalatest" } ]

labels: test-library-update, semver-minor

Superseded by #68.

repo: michaelahlers/faker-scala


text:
Need to fix this bug

Update README file

README file needs updating to provide the following info:
Make sure the file always includes the following elements:
Titles and internal titles
Introduction - the project's aim
Technologies
Launch

Consider also using additional elements such as:
Table of contents
Illustrations
Scope of functionalities
Examples of use
Project status
Sources
Other information


text:
Migrate from android.location API.

Ask your Question
As discussed, we should migrate from android.location API. I'd like to use this issue to start the discussion on potential alternatives.
Reference libraries:

react-native-geolocation-service
react-native-location

This is defiantly a good idea, however, I think we should still allow developers to use the current android.location API if they want as there are some good reasons to use it:

Not all devices have Google Play, especially in China where none do.
Not all devices have up-to-date versions of Google Play and users who are signed in to enable the API. I'm not sure if location is affected by this, but it can be a problem for some Google Play Services APIs.

We might also need to alter the API to properly support this and other settings.

how is it easy to support multiple backends, like plain android and google play services?

I have implemented it in react-native-location by having an abstract interface which each provider can implement and then implementing it for each provider:

android.location
Google Play Services

There is then a piece of code which selects which one to use based on the app dependencies and the configuration setting which the user has requested.
I've not really dug too much into this libraries code yet, but we can likely use a similar method.

Isn’t fused location the preferred way to get location on android these days. As implemented by https://github.com/MustansirZia/react-native-fused-location for instance...

@tijs It is, and that's why this library should support it, however, as noted above it's not always available on all devices so we need to support both.

Right that seems like a sensible path. So the main package would provide a stable API while the actual location service is provided by a 'plugin' or 'driver', with some defaults out of the box. I've found the the way they did this in the LocalForage package very practical. Actually makes it quite easy to provide a custom driver as well. Maybe interesting inspiration? https://localforage.github.io/localForage/#settings-api-setdriver

Exactly. We need to discuss how this will work exactly, but I think that we will try to use the best API possible by default and let the developer override that if they know they want to use a specific one.
Thanks for the link to LocalForge 👍

@matt-oakes @tijs I love the ideas of a native interface to be implemented by different providers as well as the driver system. I wonder if we should enforce users to pick one of the available services via setDriver method, or would we have a default one and make it options if someone wants to use a different service? If we'll have a default one - which one it should be?

I think the default should be "auto". It should try to use the Google Play one, but if one of these conditions is not met, it would automatically fallback to the android.location API:

App does not have the Google Play Services dependencies linked.
Device does not have Google Play services installed.
Google Play Services responds with a non-resolvable error (see here for how error handling works).

That should "do the right thing" with no configuration for most users and avoid the need for users to understand the differences and handle checking for the presence of Google Play Services themselves.

expect

Hi! There are updates?

@nicklockwood No, there are no updates. Contributions are always welcome though.

let's make it work for most cases, and add other backends later on.

why not to try to ask to one of the developers of those modules to join this repo and put here their code in order to help them too maintaining their libs?
I know it may be problematic for a lot of reasons but something must be done on trying to avoid to waste more time on writing implementations of things that we already have out in the public.
Do you have any ideas that would let us write less code to implement this feature (that I find really of core importance)?

I've just seen react-native-geolocation-service is now using react-native-geolocation
https://github.com/Agontuk/react-native-geolocation-service/blob/master/CHANGELOG.md
which is not great, i feel

I've just seen react-native-geolocation-service is now using react-native-geolocation
https://github.com/Agontuk/react-native-geolocation-service/blob/master/CHANGELOG.md
which is not great, i feel

This is for iOS only.

I will try to work on this change, @matt-oakes @dulmandakh @michalchudziak any suggestion and ideas related to the API.
Need help and suggestions regarding

Permission handling.
Should we explicitly inform the users that the geolocation updates when in background is not possible using javascript? or is it possible?
Testing? Can we skip automated tests for now and later we can add it.

Is some other team or person working on this change already?

@ravirajn22
I have a good background on geolocation features in react native.
I'd say to use as a guideline this package here: https://github.com/transistorsoft/react-native-background-geolocation
It's a fantastic lib that should be taken as inspiration to this.
Let's go for points:

For this I wouldn't expose too much. As I have just said, getting inspiration from that package, I'd expose just a "requestPermission" function to request geolocation permission, but it should never be called manually by the developer since the module should request it automatically. And just for info, you shouldn't create a structure as the one created by react-native-permissions and you shouldn't import that too.
This is a very important decision. That same module I talked before, it's very complex and allows you to track an user in various way, in background (and in killed state too) both on iOS and Android.
If you ask me, I'd say to absolutely avoid any kind of background implementation and give to the user just the possibility to track a device getting a position once or doing a "watchPosition" as long as the app is running in foreground.
yes sure, but I'd not publish without testing it.

Hi, I went through other geolocation libraries and feel react-native-geolocation-service seems to have a stable code and almost supports web API spec and react-native-location has implemented a way of using both google play services and android location api but does not match web API spec . I feel better copy android code from react-native-geolocation-service and add a way to use android.location API for non google services devices like they have done it in  react-native-location. So that we can keep the current API as it is without making any breaking changes? This requires coping code from other libraries instead of reimplementing here again. What do you say folks, is this approach ok?

Just out of curiosity, are there still plans to maintain this lib?

@ravirajn22, were you able to work on the changes?

Hi, I analysed all other existing libraries but never started implementing it. I have some time now will give it another chance. Fingers crossed.

Just want to hop in here and see if there has been any updates on this issue?

Hello guys. Were there any updates on this topic recently?

Moved to https://github.com/Agontuk/react-native-geolocation-service long back. Very stable.

Moved to https://github.com/Agontuk/react-native-geolocation-service long back. Very stable.

I'm stuck on the geolocation access authorization problem on Android with this library.
Can you share how you were able to deal with this problem?

authors: AlgorithmeCM MaShizhen Return-1 dulmandakh giacomocerquone hondem huszzsolt matt-oakes michalchudziak nicomontanari98 ravirajn22 scousino tijs vomchik vorasudh

repo: michalchudziak/react-native-geolocation


text:
Vue Router and AOS

I've bumped into an issue where elements that were previously animated in disappear after returning to the view in which they reside, when using Vue Router.
In my case, I have elements on one page that animate in when the page loads for the first time (directly). I then navigate away from the page using $router.push and then navigate back to that page, and the elements are gone.
Resizing the browser seems to call the refresh method correctly, but if I call that same method after each router change, nothing happens. Perhaps this is a timing thing?
As an aside, Chrome is throwing the following warning regarding AOS:

[Violation] Added synchronous DOM mutation listener to a 'DOMNodeRemoved' event. Consider using MutationObserver to make the page more responsive.

Your help would be most appreciated. :-)

+1 on the [Violation] synchronous DOM mutation listener...

Would love to know an answer as well...

Hey @mikerockett Can you please confirm if the same thing happens with 2.3.0? There were some changes in MutationObserver there

Hey Michał – thanks for the update. I'm using another package for this functionality now, but will test in another project that has it installed, as soon as I get back to it.

I'm having problems with the vue-router as well. The first time it does the effect, when switching screen and back the elements go blank.
I'm using the 2.3.0
The bug happens in firefox, chrome and safari.

@phpedinei It maybe work at v2.2

Alright, I think nailed down the problem. Will release an update in 3.0.0-beta.4 in the next hour, as well as in 2.3.3 :)

Guys, please try aos@2.3.3 or aos@next. I fixed issue with MutationObserver in both of these versions :) If you'll still have some problems, please reopen this issue and let me know! :)

Hey guys - I still get this bug with 3.0.0-beta.5. As soon as you go to another route and then come back, elements are missing, and even scrolling down the page doesnt bring them back for me

Is there any new features for Vuetify?

authors: GeorgeZoum michalsnik mikerockett molysama phpedinei pmochine richpollen robabel

repo: michalsnik/aos


text:
Pull from AWS master

Fixes #

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Reverse pull from original.

repo: michft/jsii


text:
undefined log method

Hi, there are some erros occured when I use log package:
handler/url.go:17:2: undefined: "github.com/micro/go-micro/util/log".Trace
handler/url.go:21:2: undefined: "github.com/micro/go-micro/util/log".Debug
handler/url.go:25:3: undefined: "github.com/micro/go-micro/util/log".Info
handler/url.go:31:2: undefined: "github.com/micro/go-micro/util/log".Debug
But I checked log.go file, these methods are exist in fact
Do you know the root cause?
Thanks

I can't think of anything other as some outdated dependencies.
I'm wondering, can you do go get -u github.com/micro/go-micro whilst having Go modules enabled/turned on?

@milosgajdos83 Yes, I use the newst go-micro and Go modules is enabled, so I'm wondering, too.
and I have switched log mod to zap now, you may close the issue.
Thanks for you concern with the issue.

repo: micro/go-micro


text:
First interface for auth

The start of an auth interface. We have deferred authentication in Micro for a long time, mostly because auth was not believed to be a core networking concern. As we move to a fully integrated framework for all things microservices its clear that auth has to be part of the core system. Every service should transparently have auth built in, without the requirement for configuration. It does not have to be mandatory but it should be there.

client cert based auth would  be nice for  use case: micro 2 micro authentication

authors: asim xmlking


text:
Update P9 to be UNUSED on V2 (was shared on V1)

P9 is a spare pin on micro:bit V2, but was shared with the display on V1
Full pinout is available https://tech.microbit.org/hardware/edgeconnector/
See #57

I tested this.  When you do display.off() then display.on() again it reclaims pin9.  To fix that 2 lines from src/codal_port/microbit_display.c need to be removed (grep for microbit_p9_obj).
Let me know if you want me to make the change.

Should've grepped-before-PR sorry. Serves me right for trying to use the web interface to fix bugs.
I've made the change and pushed. Will test the CI build when it's ready. @dpgeorge in general you should feel free to just fix and commit things like this of mine if you're already in the right place etc.  (Also fine to ask me to fix it, useful to see what I'd missed :) )

I tested this PR and it works.  Merged in a94e53de7e7d6856a97b71ad5667501b05e7bf03

authors: dpgeorge jaustin


text:
Improve README

Probably need to make it more clear what Snippets is for.

Improved.

repo: microdotblog/snippets


text:
Merge feature branches

Have the feature branches been reviewed and ready to be merged? The logging feature looks like it would be helpful. What is the purpose of the set_state feature?
Thanks,
Rick

Hi Rick,
they still need to be reviewed at least by myself. The logging feature should be most complete. The array feature is experimental and has an property update bug that need to be fixed and maybe other issues. The set_state feature is and attempt to change the state from i.e nodes to set error state and also react on state change.
I'll start with the logging feature and release it with an up to date MicroPython version.
Best regards,
Rafael

authors: palmtreefrb rroemhild

repo: microhomie/microhomie


text:
Not working when a binary is on a path with space

Hi,
I'm having a issue when run the package on folder with space, like "Program Files". This issue occurs on Linux and Windows.
Here is a path that is not working:
"C:\Program Files\my-app\global\win32\yt-dlp.exe"
But here is working:
"C:\my-app\global\win32\yt-dlp.exe"
Here is a path that is not working:
"/home/my app/global/linux/yt-dlp"
But here is working:
"/home/my-app/global/linux/yt-dlp"
I tried to use some methods like "\" on linux but nothing works for me.
Here is a sample of my code.
const { create: createYoutubeDl } = require('youtube-dl-exec')

  let download = async function($scope, value, eachCallback) {
    /**
   * Youtube-dl has been deprecated use yt-dlp instead
   */
    var linux = path.join(path.dirname(remote.getGlobal('globalPath')), 'global', 'linux', 'yt-dlp');
    var win32 = path.join(path.dirname(remote.getGlobal('globalPath')), 'global', 'win32', 'yt-dlp.exe');
    var youtubedlPath = (process.platform === 'win32') ? win32 : linux;

    let youtubedl = createYoutubeDl(youtubedlPath);

can you help?

Solved. I need to put cwd  on youtubedl
Here is:
const { create: createYoutubeDl } = require('youtube-dl-exec')

  let download = async function($scope, value, eachCallback) {
    /**
   * Youtube-dl has been deprecated use yt-dlp instead
   */
    let currentDirname = path.dirname(remote.getGlobal('globalPath'));
    var linux = path.join('global', 'linux', 'yt-dlp');
    var win32 = path.join('global', 'win32', 'yt-dlp.exe');
    var youtubedlPath = (process.platform === 'win32') ? win32 : linux;

    let youtubedl = createYoutubeDl(youtubedlPath);

    ...
    let update = await youtubedl('', { update: true }, { cwd: currentDirname });
    ...

repo: microlinkhq/youtube-dl-exec


text:
Use opentelemetry-instrumentation-bom-alpha

It seems opentelemetry-bom-alpha contains opentelemetry-bom so we don't need to depend on the latter.
Since opentelemetry-instrumentation-api-semconv and io.opentelemetry:opentelemetry-bom-alpha can point to conflicting versions, we should use another BOM: opentelemetry-instrumentation-bom-alpha which contains opentelemetry-bom-alpha.
This BOM has an issue though, its patch version upgrades contain minor version upgrades for opentelemetry-bom-alpha, see:

1.33.0 -> 1.35.0
1.33.1 -> 1.36.0
1.33.2 -> 1.37.0
1.33.3 -> 1.38.0
1.33.4 -> 1.39.0
1.33.5 -> 1.40.0

So maybe we should not upgrade OTel throughout our patch releases. This might not be a huge issue though since OTel rarely issues patch releases for opentelemetry-bom-alpha or opentelemetry-bom.
Closes gh-819

If we decide to go forward with this, the otelInstrumentationBomAlpha version should be 1.33.3-alpha for 1.3.x since it contains io.opentelemetry:opentelemetry-bom:1.38.0.
For main, we can stay on 1.33.3-alpha or see if we should upgrade to 2.7.0-alpha.

repo: micrometer-metrics/tracing


text:
Fix Lambda native image building on Apple M1

Prior to this, when buildNativeLambda is executed on an M1 Apple machine, it pulls the
ARM version of amazonlinux:latest, and then installs the x86 version of GraalVM.
This obviously fails.
This change detects if the amazonlinux docker image is running on an ARM architecture,
and the fetches the correct GraalVM JDK from GitHub.
Currently this does not perform cross-compilation of x86 Lambda images on M1 hardware.  Currently the
docker plugin we use does not allow buildx, nor setting the platform when executing docker
I'm not 100% it will be possible even with a later image.
I have tested the resulting ARM lambda on AWS when build on an M1 mac, and an x86 lambda when built on an intel mac.
Something needs to be done with a JNA 5.6.0 library that's getting transitively pulled in to the project when the plugin is applied

After talking with @melix, we need to think about building x86 images on arm hardware
I tried, but hit segfaults, which I have raised with the native-image slack channel

We can set
dockerfileNative {
    graalArch.set("aarch64")
}

With
    runtime("lambda_provided")

And add this to the top of the build
buildscript {
    dependencies {
        classpath("com.github.docker-java:docker-java-transport-httpclient5:3.2.12") {
            because("M1 macs need a later version of JNA")
        }
    }
}

To build an arm lambda inside a docker container


text:
Update README.md

Currently running the command in the README does not launch the bokeh server. This fixes that.
Since adding the settings.yaml user input we need to add this to the call to launch the bokeh server. https://github.com/microscopium/microscopium/pull/137/files?file-filters[]=.md&file-filters[]=.py&file-filters[]=.yaml

Coverage remained the same at 55.784% when pulling 299fcd1eddccbb011dd9e3194425193a173492aa on update-readme into 1621de437f93547d4759d6e84c2794ab76507605 on master.

authors: GenevieveBuckley coveralls

repo: microscopium/microscopium


text:
[Event Request] Codeunit Reporting Triggers, OnDocumentPrintReady(), DocumentStream VAR Parameter

Please modify OnDocumentPrintReady Publisher in Reporting Triggers Codeunit to a VAR parameter.
Before:
procedure OnDocumentPrintReady(ObjectType: Option "Report","Page"; ObjectId: Integer; ObjectPayload: JsonObject; DocumentStream: InStream; var Success: Boolean)
After:
procedure OnDocumentPrintReady(ObjectType: Option "Report","Page"; ObjectId: Integer; ObjectPayload: JsonObject; var DocumentStream: InStream; var Success: Boolean)
We've published an app to apply digital signature, stationery and more to created PDF files from Business Central. This currently only works out-of-the-box with Word Reports (see #4510) due to the fact that there is no publisher available to catch the PDF document stream.
This could solve the problem, so we would be able to modify the DocumentStream and apply the changes.

Hi! The OnDocumentPrintReady event is part of the platform. I suggest that you open an issue on Collaborate or use BCIdeas.

We will not be modifying this event signature, as it is meant to pass the final document for printing / archiving etc. Allowing modification of the document in this event would mean that the printed / archived document would not be the final one.
In a future release we are expecting to raise a different event which allows for document modification

authors: atoader jensmpmsft sirhc101

repo: microsoft/AL


text:
[Extensibility Enhancement] Page 300 - Ship-to Address - OnBeforeOnNewRecord/OnAfterOnNewRecord

Add the current page Rec to these events on Page 300 "Ship-to Address".
Currently these events don't allow us to default additional fields from the Customer; I'm having to use OnBeforeInsert instead and get the Customer again.
trigger OnNewRecord(BelowxRec: Boolean)
var
    Customer: Record Customer;
begin
    if not Customer.Get(GetFilterCustNo) then
        exit;

    OnBeforeOnNewRecord(Rec, Customer); // Added Rec

    Validate(Name, Customer.Name);
    Validate(Address, Customer.Address);
    Validate("Address 2", Customer."Address 2");
    "Country/Region Code" := Customer."Country/Region Code";
    City := Customer.City;
    County := Customer.County;
    "Post Code" := Customer."Post Code";
    Validate(Contact, Customer.Contact);

    OnAfterOnNewRecord(Rec, Customer); // Added Rec
end;

[IntegrationEvent(false, false)]
local procedure OnAfterOnNewRecord(var ShipToAddr: Record "Ship-to Address"; var Customer: Record Customer)
begin
end;

[IntegrationEvent(false, false)]
local procedure OnBeforeOnNewRecord(var ShipToAddr: Record "Ship-to Address"; var Customer: Record Customer)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

authors: JesperSchulz StephenNorfolk-DC

repo: microsoft/ALAppExtensions


text:
[Event Request] Codeunit 6620 "Copy Document Mgt." - OnCopySalesReturnRcptLinesToDocOnBeforeFromSalesHeaderTransferFields

Hi, would it be possible to get an OnCopySalesReturnRcptLinesToDocOnBeforeFromSalesHeaderTransferFields event in codeunit 6620 (Copy Document Mgt.), like this:
    procedure CopySalesReturnRcptLinesToDoc(ToSalesHeader: Record "Sales Header"; var FromReturnRcptLine: Record "Return Receipt Line"; var LinesNotCopied: Integer; var MissingExCostRevLink: Boolean)
    begin
        MissingExCostRevLink := false;
        InitCurrency(ToSalesHeader."Currency Code");
        OpenWindow;

        OnBeforeCopySalesReturnRcptLinesToDoc(TempDocSalesLine, ToSalesHeader, FromReturnRcptLine);

        with FromReturnRcptLine do
            if FindSet then
                repeat
                    FromLineCounter := FromLineCounter + 1;
                    if IsTimeForUpdate then
                        Window.Update(1, FromLineCounter);
                    if FromReturnRcptHeader."No." <> "Document No." then begin
                        FromReturnRcptHeader.Get("Document No.");
                        TransferOldExtLines.ClearLineNumbers;
                    end;
                    OnCopySalesReturnRcptLinesToDocOnBeforeFromSalesHeaderTransferFields(FromReturnRcptHeader,FromSalesHeader,ToSalesHeader,FromReturnRcptLine);  // New Event
                    FromSalesHeader.TransferFields(FromReturnRcptHeader);
                    OnCopySalesReturnRcptLinesToDocOnAfterFromSalesHeaderTransferFields(FromReturnRcptHeader, FromSalesHeader);
                    FillExactCostRevLink :=
                      IsSalesFillExactCostRevLink(ToSalesHeader, 2, FromSalesHeader."Currency Code");
                    FromSalesLine.TransferFields(FromReturnRcptLine);
                    FromSalesLine."Appl.-from Item Entry" := 0;
                    FromSalesLine."Copied From Posted Doc." := true;

                    CheckUpdateOldDocumentNoFromReturnRcptLine(FromReturnRcptLine, OldDocNo, InsertDocNoLine);

                    OnBeforeCopySalesReturnRcptLinesToBuffer(FromSalesLine, FromReturnRcptLine, ToSalesHeader);

                    SplitLine := true;
                    FilterPstdDocLnItemLedgEntries(ItemLedgEntry);
                    if not SplitPstdSalesLinesPerILE(
                         ToSalesHeader, FromSalesHeader, ItemLedgEntry, FromSalesLineBuf,
                         FromSalesLine, TempDocSalesLine, NextLineNo, CopyItemTrkg, MissingExCostRevLink, FillExactCostRevLink, true)
                    then
                        if CopyItemTrkg then
                            SplitLine :=
                              SplitSalesDocLinesPerItemTrkg(
                                ItemLedgEntry, TempItemTrkgEntry, FromSalesLineBuf,
                                FromSalesLine, TempDocSalesLine, NextLineNo, NextItemTrkgEntryNo, MissingExCostRevLink, true)
                        else
                            SplitLine := false;

                    if not SplitLine then begin
                        FromSalesLineBuf := FromSalesLine;
                        CopyLine := true;
                    end else
                        CopyLine := FromSalesLineBuf.FindSet and FillExactCostRevLink;

                    Window.Update(1, FromLineCounter);
                    if CopyLine then begin
                        NextLineNo := GetLastToSalesLineNo(ToSalesHeader);
                        if InsertDocNoLine then begin
                            InsertOldSalesDocNoLine(ToSalesHeader, "Document No.", 3, NextLineNo);
                            InsertDocNoLine := false;
                        end;
                        repeat
                            ToLineCounter := ToLineCounter + 1;
                            if IsTimeForUpdate then
                                Window.Update(2, ToLineCounter);
                            OnCopySalesReturnRcptLinesToDocOnBeforeCopySalesDocLine(ToSalesHeader, FromSalesLineBuf);
                            if CopySalesDocLine(
                                 ToSalesHeader, ToSalesLine, FromSalesHeader, FromSalesLineBuf, NextLineNo, LinesNotCopied, false,
                                 "Sales Document Type From".FromInteger(DeferralTypeForSalesDoc("Sales Document Type From"::"Posted Return Receipt".AsInteger())),
                                 CopyPostedDeferral, FromSalesLineBuf."Line No.")
                            then begin
                                if CopyItemTrkg then begin
                                    if SplitLine then
                                        ItemTrackingDocMgt.CollectItemTrkgPerPostedDocLine(
                                          TempItemTrkgEntry, TempTrkgItemLedgEntry, false, FromSalesLineBuf."Document No.", FromSalesLineBuf."Line No.")
                                    else
                                        ItemTrackingDocMgt.CopyItemLedgerEntriesToTemp(TempTrkgItemLedgEntry, ItemLedgEntry);

                                    ItemTrackingMgt.CopyItemLedgEntryTrkgToSalesLn(
                                      TempTrkgItemLedgEntry, ToSalesLine,
                                      FillExactCostRevLink and ExactCostRevMandatory, MissingExCostRevLink,
                                      FromSalesHeader."Prices Including VAT", ToSalesHeader."Prices Including VAT", true);
                                end;
                                OnAfterCopySalesLineFromReturnRcptLineBuffer(
                                  ToSalesLine, FromReturnRcptLine, IncludeHeader, RecalculateLines,
                                  TempDocSalesLine, ToSalesHeader, FromSalesLineBuf, CopyItemTrkg);
                            end;
                        until FromSalesLineBuf.Next() = 0
                    end;
                    OnCopySalesReturnRcptLinesToDocOnAfterCopySalesDocLine(FromReturnRcptLine, ToSalesLine);
                until Next() = 0;

        Window.Close;
    end;

    [IntegrationEvent(false, false)]
    local procedure OnCopySalesReturnRcptLinesToDocOnBeforeFromSalesHeaderTransferFields(FromReturnRcptHeader: Record "Return Receipt Header"; var FromSalesHeader: Record "Sales Header"; ToSalesHeader: Record "Sales Header"; var FromReturnRcptLine: Record "Return Receipt Line")
    begin
    end;

Thanks!
#14840  #14841  #14842

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

authors: JesperSchulz percova


text:
[Event Request] Table 288 - Vendor Bank Account - OnBeforeCheckIBAN

Dear ALAppExtensions team,
Through this issue we would like to request adding event publisher OnBeforeCheckIBAN in Table 288 Vendor Bank Account with the following signature:
[IntegrationEvent(false, false)]
    local procedure OnBeforeCheckIBAN(var Rec: Record "Vendor Bank Account"; xRec: Record "Vendor Bank Account"; var v_IsHandled: Boolean)
    begin
    end;

which would be called as follows in IBAN: - OnValidate:
field(24; IBAN; Code[50])
        {
            Caption = 'IBAN';

            trigger OnValidate()
            var
                CompanyInfo: Record "Company Information";
                l_IsHandled: boolean;
            begin
                l_IsHandled := false;
                OnBeforeCheckIBAN(Rec, xRec, l_IsHandled);
                if not l_IsHandled then
                    CompanyInfo.CheckIBAN(IBAN);
            end;
        }

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

authors: JesperSchulz KevinHermsdorf


text:
[Event Request] Table 5870 BOM Buffer - procedure IsReplenishmentOk - OnBeforeIsReplenishmentOk

Please add an Event OnBeforeIsReplenishmentOk in procedure IsReplenishmentOk in Table 5870 BOM Buffer
local procedure IsReplenishmentOk(LogWarning: Boolean; var BOMWarningLog: Record "BOM Warning Log"): Boolean
    var
        Item: Record Item;
        IsHandled: Boolean; <-- NEW VAR
        Result: Boolean; <-- NEW VAR
    begin
        IsHandled := false;
        OnBeforeIsReplenishmentOk(Rec,BOMWarningLog,LogWarning,IsHandled,Result); <-- NEW EVENT
        If IsHandled then
            exit(Result);

        if Type <> Type::Item then
            exit(true);
        if "No." = '' then
            exit(true);

        Item.Get("No.");
        if "Is Leaf" then begin
            if Item."Replenishment System" in ["Replenishment System"::Purchase, "Replenishment System"::Transfer] then
                exit(true);
            if LogWarning then
                BOMWarningLog.SetWarning(StrSubstNo(Text005, Item."No."), DATABASE::Item, Item.GetPosition);
        end else begin
            if Item."Replenishment System" in ["Replenishment System"::"Prod. Order", "Replenishment System"::Assembly] then
                exit(IsBOMOk(LogWarning, BOMWarningLog));
            if LogWarning then
                BOMWarningLog.SetWarning(StrSubstNo(Text008, Item."No."), DATABASE::Item, Item.GetPosition);
        end;
    end;

    [IntegrationEvent(false, false)]
    local procedure OnBeforeIsReplenishmentOk(BOMBuffer: Record "BOM Buffer"; var BOMWarningLog: Record "BOM Warning Log"; LogWarning: Boolean; var IsHandled: Boolean; var Result: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 45914.


text:
Codeunit 2300 Tenant License State: useful functions to add.

Actually this codeunit contains only a GetPeriod function (useful for checking if you're on a trial tenant or not), see here:
https://demiliani.com/2018/08/02/dynamics-365-business-central-how-to-check-in-your-extension-is-running-on-a-trial-tenant/
This function checks the Tenant License State table (2000000189) that contains details of your tenant license such as Start Date and End Date and the State of your license (that is an option field with the following values: Evaluation,Trial,Paid,Warning,Suspended,Deleted,,,,LockedOut ).
It could be useful to have in codeunit 2300 some functions to return the Start Date and the End Date of a tenant license and maybe directly the State, without querying the table.

Added in latest BC releases.

authors: demiliani ikoletic