Reduce number of repository operations required to read and write objects

This patch, in conjunction with separate patch against sparql-client (https://github.com/ruby-rdf/sparql-client/pull/45) make it possible to use Spira with a SPARQL/Update repository backend.  These changes eliminate unnecessary round trips to the repository by caching results and batching up queries.

Sorry, I see this has been languishing. If you're still interested in this, please submit against the develop branch and ensure CI passes.


remove typescript

typescript is overkill
see
https://github.com/milahu/vite-plugin-node-polyfills/commit/6174c9ba4209839dee0483433babc855744c9b24
https://github.com/milahu/vite-plugin-node-polyfills/commit/48ddf9224c01f1cd5517cb58ff71e3bb2f3567ab
https://github.com/milahu/vite-plugin-node-polyfills/commit/d77ff383537f53a22e857f57a73c90fd31ae89c0
https://github.com/milahu/vite-plugin-node-polyfills/commit/d41b9d9a946c98b1b9959a79e084c572985fe8a9

I appreciate the thought, but I personally prefer TypeScript for local development. You do not need to use it in your projects to use this package.


Update periodic jobs for release 0.16

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


Magento <IP_ADDRESS> safe for use on production site?

I am using the latest magento version of date: 16th November 2017, and am facing the static block caching issue, which your extension duly fixes.
Now, I would like to apply the fix to my production site thus can we confirm if this extension is safe for usage on production sites ?

@vishy93 yes, you can safely use this in production, since it doesnt do any core hacks and it wont create any issues.
Make sure you test this and works as intended in your development environment


Back to Java 7

Fixes: https://github.com/deeplearning4j/nd4j/issues/2352
Tested locally: this builds, and I checked the impacted dependencies via mvn site, looks like everything that is supposed to be java 7 is back to java 7 (nd4j-native and nd4j-cuda still show java 8 in mvn site, but the dependencies are test scope).

@AlexDBlack @agibsonccc
Should we get this done before the coming release?
Or is it OK to have Java 8 as requirement?

Yeah..We shouldn't be all in on java 8 yet


Unable to access file.

I apologise in advance. This happens and I don't know how to fix this,

@Radrahil , I don't think that it's an app-specific issue.
You can try different suggestions from here.

Then this happens, and I don't see any file appearing in the Jar file's directory.

Are you sure that the url you are using is correct?
I'm getting 404 trying to open https://www.royalroad.com/fiction/262534


ToUnicode in PDF for a Type 0 CID Font might be Wrong

Source Han Serif (思源宋体) and other CJK fonts are embedded as Type 0 CID Fonts in PDF. Typst 0.10.0 (70ca0d25) might generate a wrong ToUnicode for them.

[!NOTE]
Typst.app with default fonts is not affected.
It looks like that typst.app uses NotoSansCJKjp-Regular-Identity-H for CJK characters. Noto Sans CJK is identical to Source Han Sans (思源黑体). Nonetheless, typst compile with neither fonts works on my computer…
HaranoAjiMincho, implied by Source Serif Pro, also works on typst.app.

[!TIP]
What is ToUnicode?
In PDF, it is often the case that text is not encoded in Unicode. However, modern
applications usually want them represented in Unicode to make it usable as text
information. The ToUnicode CMap (Character Map) is a bridge between PDF text string encodings and Unicode encodings,
and makes it possible to extract text in PDF files as
Unicode encoded strings. It is important to make resulting PDF search‐able and
copy‐and‐past‐able.
—§1.4.2 of The Dvipdfmx User’s Manual

To Reproduce

Download 14_SourceHanSerifCN.zip from Region Specific Subset OTFs Simplified Chinese (简体中文).

Create a new project in typst.app and upload SubsetOTF/CN/SourceHanSerifCN-Regular.otf in that ZIP.

Compile the following.
#set page(height: auto)

#let fonts = (
  "Linux Libertine",
  "Source Han Serif",
)

#for f in fonts {
  text(font: f, size: 3em)[
    #f

    #h(1fr)ABC 孔乙己

  ]
}

minimal-web-with-otf.pdf

Download the PDF, open it, copy all text and paste.

Adobe Acrobat / SumatraPDF:
Linux Libertine
ABC 孔乙己
Source Han Serif
ABC ���

Firefox (pdf.js) / MS Edge:
Linux Libertine
ABC 孔乙己
Source Han Serif
ABC 㯰□䄬

Expected: ABC 孔乙己 or ABC孔乙己 (no space).

To Debug

Upload the PDF to PDF Object Browser.

Go to Trailer → Root → Pages → Resources → Font:

…

F1

Base Font: /UVRTQX+NotoSansCJKjp-Regular-Identity-H

ToUnicode:
…
<2581> <4E59>  # <2581> ↦ U+4E59 (乙)
<3BFE> <5B54>  # <3BFE> ↦ U+5B54 (孔)
<4115> <5DF1>  # <4115> ↦ U+5DF1 (己)
…

F2

Base Font: /TLJDGM+SourceHanSerifCN-Regular-Identity-H

ToUnicode:
…
<22A1> <4E59>  # <22A1> ↦ U+4E59 (乙)
<2F8B> <5B54>  # <2F8B> ↦ U+5B54 (孔)
<3227> <5DF1>  # <3227> ↦ U+5DF1 (己)
…

Go to Trailer → Root → Pages → Kids → 0 → Contents, view contents:
…
/F1 33 Tf  # Use font F1 (Noto Sans CJK)
    …
    BT  # Begin text
    …
    [<3BFE25814115>] TJ # Show text
    ET  # End text
/F2 33 Tf  # Use font F2 (Source Hans Serif CN)
    …
    BT  # Begin text
    …
    [<3BF025A1412C>] TJ  # Show text
    ET  # End text

In the first case, F1’s ToUnicode contains <3BFE25814115>, so all readers convert to 孔乙己 as expected.
In the second case, F2’s ToUnicode does not contain <3BF025A1412C>. Adobe Acrobat and SumatraPDF just say they don’t know (���), while Firefox and MS Edge parse them directly as Unicode:
>>> '\u3BF0\u25A1\u412C'
'㯰□䄬'

Manullay edit the wrong ToUnicode in PDF, and now it becomes 孔乙己.

Relevant Links

#479: ToUnicode of ligatures

Fix embedding of CID-keyed fonts into PDF · typst/typst@dad7c88 · GitHub, from History for crates/typst-pdf/src/font.rs

https://github.com/typst/typst/blob/79e37ccbac080212dc42e996d760664c75d1a56f/crates/typst-pdf/src/font.rs#L200-L209

https://github.com/typst/typst/blob/79e37ccbac080212dc42e996d760664c75d1a56f/crates/typst-pdf/src/font.rs#L147-L150

https://github.com/typst/typst/blob/79e37ccbac080212dc42e996d760664c75d1a56f/crates/typst-pdf/src/lib.rs#L79-L85

Basics and Common Objects in PDF Cheat Sheets – PDF Association

§9.7 Composite Fonts in PDF32000_2008.pdf, downloaded from ISO 32000 (PDF) – PDF Association

The Type — 文字 / 设计 / 文化 » 字谈字畅 183：康熙怎么又来了: Kangxi radicals (康熙部首), e.g. ⼰ (U+2F30, Kangxi Radical Oneself) ≠ 己 (U+5DF1, CJK Unified Ideograph)

Acknowledgment / Anecdotes
I have noticed the issue since several days after I met Typst. But I cannot report it as a practical issue until I read Color gradients and my gradual descent into madness on Typst Blog. Thanks Sébastien d'Herbais de Thun and the community!
Besides, KaiTi (楷体), the default font on Windows, embedded as a Type 2 CID Font, turns out to be 孔\r\n乙\r\n己 in SumatraPDF. Those \r\n are not desired. Even so, “KaiTi + Acrobat/Firefox/Edge” and “typst.app default fonts + SumatraPDF” give the expected 孔乙己. Therefore it might be SumatraPDF’s issue.

Direct cause: CID ≠ GID

NOTE: Although in many fonts the CID value and GID value are the same, the CID and GID values may differ.
—§<IP_ADDRESS> Glyph Selection in CIDFonts, PDF32000_2008.pdf

This is the case of CJK characters in Source Han Serif!
Typst version 1d78c3ed writes:

[<3CB7259A4241>] TJ in Contents, according to CIDs (font::glyph_cid(font, glyph.id))
<225D>, <2F50>, <31EF> in ToUnicode, according to GIDs (glyph.id)

write_text using Font(Source Han Serif, Normal-400-FontStretch(1000))
  Update glyph_set: GID <0022> ↦ Text "A"
  Update glyph_set: GID <0023> ↦ Text "B"
  Update glyph_set: GID <0024> ↦ Text "C"
  Update glyph_set: GID <0001> ↦ Text " "
  Push encoded: CID = <0022>, Glyph ID = <0022>
  Push encoded: CID = <0023>, Glyph ID = <0023>
  Push encoded: CID = <0024>, Glyph ID = <0024>
  Push encoded: CID = <0001>, Glyph ID = <0001>
write_text using Font(Source Han Serif, Normal-400-FontStretch(1000))
  Update glyph_set: GID <2F50> ↦ Text "孔"
  Update glyph_set: GID <225D> ↦ Text "乙"
  Update glyph_set: GID <31EF> ↦ Text "己"
  Push encoded: CID = <3CB7>, Glyph ID = <2F50>
  Push encoded: CID = <259A>, Glyph ID = <225D>
  Push encoded: CID = <4241>, Glyph ID = <31EF>

The log is generated by the following.
https://github.com/typst/typst/blob/1d78c3ed436d70ef4fe05930903bc4b0402161b6/crates/typst-pdf/src/page.rs#L713-L716
+ println!("write_text using {:#?}", text.font);
  for g in &text.glyphs {
      let segment = &text.text[g.range()];
+     println!("  Update glyph_set: GID <{:04X}> ↦ Text {:?}", g.id, segment);
      glyph_set.entry(g.id).or_insert_with(|| segment.into());
  }

https://github.com/typst/typst/blob/1d78c3ed436d70ef4fe05930903bc4b0402161b6/crates/typst-pdf/src/page.rs#L750-L752
  let cid = crate::font::glyph_cid(&text.font, glyph.id);
+ println!("  Push encoded: CID = <{:04X}>, Glyph ID = <{:04X}>", cid, glyph.id);
  encoded.push((cid >> 8) as u8);
  encoded.push((cid & 0xff) as u8);

We are calculating glyph_cid(font, glyph_id) 2 times[^1] in typst-pdf now. We can calculate the third time when saving ToUnicode character map, and fix this issue in simple 3 lines. Or should we refactor?
[^1]: The first when writing glyphs, the second when extracting glyphs' widths.

PDF are not tested automatically, and testit cjk chinese --pdf is enough for manual test. Then should I add a test case in copy-paste.typ?

@laurmaedje Could you tell me what you think?

Thanks for the thorough investigation! The fix definitely makes sense. The same bug existed before for text writing and I missed that it's also a problem for /ToUnicode.

We are calculating glyph_cid(font, glyph_id) 2 times1 in typst-pdf now. We can calculate the third time when saving ToUnicode character map, and fix this issue in simple 3 lines. Or should we refactor?

It's fine to do it a third time.


Simple Optimizer Test

Hey S4SF team, I am trying a very simple AD exercise using Adam. Since Adam requires a Layer type I created this very simple Variable struct that just holds the state. In this example I am just trying to minimize x^2:
import TensorFlow

struct Variable : Layer {
    var x: Float

    @differentiable
    func call(_ input: Float) -> Float {
        return x
    }
}

var layer = Variable(x: 1.0)
let optimizer = Adam(for: layer)

let delta = layer.gradient { layer -> Float in
    let x = layer.x
    return x * x
}

print("Layer0:", layer)
print("Delta:", delta)

optimizer.update(&layer.allDifferentiableVariables, along: delta)

print("Layer1:", layer)

It appears that after update layer is not changing its x value:
Layer0: Variable(x: 1.0)
Delta: AllDifferentiableVariables(x: 2.0)
Layer1: Variable(x: 1.0)

Any idea why this not minimizing x?

This is because standard optimizers only work on tensors. To optimize general numeric values, you can currently use the manifold optimizer RiemannSGD.

We plan to generalize out vector space protocols in order to be able to generalize these optimizers for all real vector types (Float, Double, Float80, Tensor<BFloat16>, Tensor<Float16>, etc). It's coming soon!

@rxwei thank for the info! But you will still need to create a Layer that uses these non-tensor types or will you be able to optimize other differentiable types like Float directly?

Ideally we should be able to update any model with mixed parameters as long as the model conforms to VectorNumeric.


KTL-1102 Keep the dependencies up-to-date with Dependabot

I suggest trying dependabot instead of renovate because of the easy integration with GitHub.

@AlexanderPrendota, I'd like to merge it to see how Dependabot works. Feel free to comment on post-review stage, I will take into account your objections.


Property starting with number gets generated

What are the steps to reproduce this issue?
With orval v6.20.0
test.yaml
openapi: 3.0.3

info:
  title: test
  description: |
    test
  version: 1.0.0
paths:
  /test:
    get:
      responses:
        418:
          $ref: '#/components/responses/418'

components:
  responses:
    418:
      description: I'm a teapot
      content:
        'application/json':
          schema:
            type: object
            properties: {}

orval.config.js
export default defineConfig({
  test: {
    input: './test.yaml',
    output: {
      mode: 'tags',
      target: 'src/generated/test/test.ts',
      prettier: true,
      mock: false,
      override: {
        mutator: {
          path: 'src/lib/axios.ts',
          name: 'test',
        },
      },
    },
  },
});

What happens?
It generates type with numbered name like:
export type 418Response = { [key: string]: any };

What were you expecting to happen?
To generate type with letter before numbered name like:
export type n418Response = { [key: string]: any };

What versions are you using?
Operating System: Sonoma 14.1
Package Version: 6.20.0
Node Version: node 20.5.1

Is this related? https://github.com/anymaniax/orval/issues/911

Definitely a bug.

Is there a work around for this?

The only semi-fix i found was changing the responses names to something starting with a symbol.
200 -> n200 in the openapi spec


Dev bert miner

This is to merge the branch of developing the new version of the argument miner package.

Hi @egpbos, I realized that more efforts should be made to make this work a better package, so I will close this PR for now. Once I got things done, I will have the tasks better divided and make new PRs. Thanks for your help!


Rpi-rf not working on Pi Zero W

Hi,
i changed my pi4 to a zero w, and rpi-rf does not work.
I use Rasbian Buster on both Pi‘s.
Are there any known issues with a zero w?
Thx

It would help to say more about what "does not work" means.  What are you trying to do and what happens?

Sorry.
I tried to use it on a Pi Zero to switch Power Sockets
https://www.amazon.de/Brennenstuhl-Funkschalt-Set-Funksteckdosen-Funksteckdose-Kindersicherung/dp/B07CGBRS7T/ref=sr_1_10?__mk_de_DE=ÅMÅŽÕÑ&crid=Y24XGPR442ZN&keywords=brennenstuhl+steckdosen+funk&qid=1641540816&sprefix=brennstuhl+steckdose+funk%2Caps%2C102&sr=8-10
I used:
Pulslength 325
Protokol 1
Codelength 24
repeat 10 and i also tried 100
nothing happend.
On a pi3 or a pi4 everything works fine.
A year ago, i used a Zero with this setup for an other receiver (with Pulslength 650) and it worked too.
I think the Zero is not powerfull enough?
Thx


yak-shaving

Please put your checklist for this part of the assignment in the description of your PR.

Yeah. I learned a lot about how .gitignore is supposed to work after we went over it in class and I totally realize the mistake I was making and will gradually work to correct that in my repos and branches. I think I have a much better sense now going forward about what I should and should not be ignoring and how to do that. Thanks!


npm start EACCESS fail on Arch Linux

Is this a bug report?
yes
Did you try recovering your dependencies?
I created a new project.
Which terms did you search for in User Guide?
Environment
The suggested command fails, sorry.
npx create-react-app --info
node: error while loading shared libraries: libicui18n.so.63: cannot open shared object file: No such file or directory

EDIT It worked now and produced the following:
npx: installed 91 in 2.941s

Environment Info:

  System:
    OS: Linux 4.19 Manjaro Linux
    CPU: (8) x64 Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
  Binaries:
    Node: 11.14.0 - /usr/bin/node
    Yarn: Not Found
    npm: 6.9.0 - /usr/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: 66.0.3
  npmPackages:
    react: ^16.8.6 => 16.8.6
    react-dom: ^16.8.6 => 16.8.6
    react-scripts: 3.0.0 => 3.0.0
  npmGlobalPackages:
    create-react-app: Not Found

Steps to Reproduce

Have Arch (or Manjaro).
Install npm
npx create-react-app foo
cd foo & npm start

Probably you also need to use chromium as default browser.
Expected Behavior
It runs the new app.
Actual Behavior
Starting the development server...

events.js:170
      throw er; // Unhandled 'error' event
      ^

Error: spawn /usr/lib/chromium EACCES
    at Process.ChildProcess._handle.onexit (internal/child_process.js:247:19)
    at onErrorNT (internal/child_process.js:431:16)
    at processTicksAndRejections (internal/process/task_queues.js:81:17)
Emitted 'error' event at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:253:12)
    at onErrorNT (internal/child_process.js:431:16)
    at processTicksAndRejections (internal/process/task_queues.js:81:17)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Starting the development server...

events.js:170
      throw er; // Unhandled 'error' event
      ^

Error: spawn /usr/lib/chromium EACCES
    at Process.ChildProcess._handle.onexit (internal/child_process.js:247:19)
    at onErrorNT (internal/child_process.js:431:16)
    at processTicksAndRejections (internal/process/task_queues.js:81:17)
Emitted 'error' event at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:253:12)
    at onErrorNT (internal/child_process.js:431:16)
    at processTicksAndRejections (internal/process/task_queues.js:81:17)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!  A complete log of this run can be found in:
npm ERR!     /home/.../.npm/_logs/2019-04-25T12_30_55_429Z-debug.log

Reproducible Demo
Not really applicable

Getting the same bug using Manjaro and google-chrome-stable installed from AUR:
events.js:167
      throw er; // Unhandled 'error' event
      ^

Error: spawn /usr/bin/google-chrome-stable.desktop ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:232:19)
    at onErrorNT (internal/child_process.js:407:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)
Emitted 'error' event at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:238:12)
    at onErrorNT (internal/child_process.js:407:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/flamingo/.npm/_logs/2019-04-25T20_13_10_954Z-debug.log

I think those are different issues? The first looks like EACCES, the latter is ENOENT.

True, opening a new issue.

Have the same bug when I use npm start on Linux, but Windows is ok.


Convert icon-button and icon-button-toggle to the mwc-ripple component

Description

Replace ripple-directive usage in icon-button and icon-button-toggle with the ripple component.
This will let users better control the ripple opacities and color.
Acceptance criteria

Icon Buttons use the new ripple component.

Checkbox and Button are good examples of this


bird: KRT: Received route with strange next-hop

My K8S cluster lacks the default route, causing the container network to fail，so i add a ip route: <IP_ADDRESS> via <IP_ADDRESS> dev eth0
this route solved my container network, but now the calico keeping printing bird: KRT: Received route <IP_ADDRESS>/32 with strange next-hop <IP_ADDRESS>.

please help me how to stop printing this massage ~
Your enviorment
K8S version：1.20.2
calico version: v3.18.6

Could you share the whole route table for that node? Do you have a device route covering <IP_ADDRESS>? If I had to guess, BIRD is emitting the warning because it can't find a route that contains <IP_ADDRESS>.

sorry for the late relpy， this problem already solved, the route should be "<IP_ADDRESS> dev eth0" without  via <IP_ADDRESS> ,  because the eth0's IP aleady  <IP_ADDRESS>


Make "typeToString()" public?

It would be nice if my own code could access "typeToString()", for example when generating error messages in my own parsing code (e.x. Expected a 'string', but got 'table'). Is there a reason it was left private?

I didn't expect it's publicly used, but probably OK to expose it. (patch welcome 😃)

Sure! I'll try to make one tonight.


Facet count incorrect

Description
The number next to the facet and results are two different numbers
Expected behavior
Facet counts should match result count
Steps To Reproduce
Navigate to https://mvp.sitecore.com/Directory?fc_personyear=2022&fc_personaward=Strategy&pg=1
See that facet count is 41 and actual results are 31
Your Environment
Latest chrome on windows desktop

also true here where there are no results, facet count is 5 but there are no results
https://mvp.sitecore.com/Directory?q=&fc_personyear=2022&fc_personaward=|Cloud

Maulik darji


Refactor XPS reader

Multiple different file extensions spanning multiple instrument vendors and file formats
Harmonized programming interface across multiple readers
All readers and config files write to current NXmpes
If NXmpes changes, only the config files need to be changed

It seem the documentation for NXcalibration.nxdl.xml:/fit_function has been changed, so the test file needs to be updated.


WIP feat: Use more native kotlinx features

Now able to encode anything as root value (not only records)
Handle non-string map keys (value classes, int, or even object) by doing a toString
No reflection at all, only kotlinx serializers & descriptors
Handle unions on kotlin primitive fields
Encode by default char, byte and short to an avro int (previously not working because avro don't handle it natively)
value classes 100% handled
fields of kotlin classes are not forced to be in same order of avro schema fields

Hey @thake , I'll leave some comments to let you focus or understand some specificities. I tried my best to touch on encoders classes, then decoders classes, then schemas classes.
I don't really know how to split this mess since a lot of things permits the new features together.

Next step: add some tests for the new features, and implement decode stuff

Cool @thake ! By the way, the work I've did on the encoder/decoder classes will help a lot to really easily encode and decode without using apache library, I would advice you to have a look, it's a common structure when doing kotlinx serialization 🚀

@thake It's ready for review. FYI, I will scope this PR only for encoders & decoders about the refactoring. But the main features are covered (read the PR description, there is all the fixes). Schemas are already handling everything as root, but with some reflection and weird stuff with custom serial descriptor. I have the solution (WIP), I'll create another PR !
Hope you'll appreciate this work 😄

Just to let you know about how I work with GitHub PRs so that we don't have a misunderstanding: If I have submitted a review result, I won't look at the PR again until you "Re-request review".
So whenever you feel ready, just re-request my review :rocket:

Ok, good point 👍 I'm currently taking a pause about avro4k, I'll continue working on it in 1-2 weeks 😄

There is too much changes, I'll do some other atomic PRs instead of this big-bang PR

Let's consolidate our efforts on this topic, because https://github.com/avro-kotlin/avro4k/tree/way-to-multiplatform also includes a fix for this problem.

I think first we should work to improve performance and readability as currently it's very difficult to add feature (kotlinx serialization framework not really well used), then maybe removing the avro lib dependency, and thinking about multiplatform.


Can't get this working

Hi, I can't seem to get this working
*Installed paramiko
*Installed boto
*Installed openvpn client
*Installed python-pip

mkvirtualenv -p python2 env/
source env/bin/activate
Spits back command not found and bash: env/bin/activate: No such file or directory

I tried ./autovpn -G -r us-east-1  &  ./autovpn -G -r us-west-1 with error:

Generating new keypair for us-east-1.
Traceback (most recent call last):
File "./scripts/keygen.py", line 3, in
import boto
ImportError: No module named boto
Key already exists in AWS

I type ./autovpn -C -r us-east-1 -k us-east-1_vpnkey, man page comes up, nothing else. No matter what I try.
Edit**
New error
Generating new keypair for us-east-1.
Traceback (most recent call last):
File "./scripts/keygen.py", line 11, in
conn_region = boto.ec2.connect_to_region(region)
File "/home/ubuntu/.local/lib/python2.7/site-packages/boto/ec2/init.py", line 66, in connect_to_region
connection_cls=EC2Connection, **kw_params)
File "/home/ubuntu/.local/lib/python2.7/site-packages/boto/regioninfo.py", line 220, in connect
return region.connect(**kw_params)
File "/home/ubuntu/.local/lib/python2.7/site-packages/boto/regioninfo.py", line 290, in connect
return self.connection_cls(region=self, **kw_params)
File "/home/ubuntu/.local/lib/python2.7/site-packages/boto/ec2/connection.py", line 103, in init
profile_name=profile_name)
File "/home/ubuntu/.local/lib/python2.7/site-packages/boto/connection.py", line 1100, in init
provider=provider)
File "/home/ubuntu/.local/lib/python2.7/site-packages/boto/connection.py", line 569, in init
host, config, self.provider, self._required_auth_capability())
File "/home/ubuntu/.local/lib/python2.7/site-packages/boto/auth.py", line 1021, in get_auth_handler
'Check your credentials' % (len(names), str(names)))
boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV4Handler'] Check your credentials
Key already exists in AWS

try using virtualenvwrapper.
https://virtualenvwrapper.readthedocs.io/en/latest/
pip install virtualenvwrapper export WORKON_HOME=~/Envs mkdir -p $WORKON_HOME source /usr/local/bin/virtualenvwrapper.sh mkvirtualenv autovpn
inside the virtual env run:
pip install boto


Add CMD info {user}

/infouser @TeaR
Display the history of the person
History of being blacklisted
History of making tickets
History add & rt

Hey, adding this currently would not be useful since the bot does not track any history of blacklisting or making tickets. If such data is added in the future then I can make a command to display it but for now the only user info command the bot has is the context menu command which will display some useful information like the user ID, avatar, when they joined discord and your server.
Thanks for the suggestion but it is currently not planned for the near future.


BWIPP is incompatible with current Harlequin RIPs

Harlequin RIPs, used for CTP and many digital presses, include an operator called ‘barcode’. The binding of the procedures for each symbology in BWIPP means that a reference to ‘barcode’ in that procedure will use the operator rather than referring to the local variable by that name. That means that PostScript files using BWIPP fail in Harlequin RIPs. I suggest replacing the variable name for the barcode data string with something that doesn’t clash, e.g. ‘barcodedata’.
In the meantime, if you need a workround, adding this in your RIP configuration will allow both BWIPP and the in-RIP barcode support to work: “userdict /barcode { barcode } bind put”

Thanks for pointing this out.
Each encoder is already defined within the context of an anonymous dictionary to avoid polluting the existing namespace, thusly:
/setpacking where {pop currentpacking true setpacking} if
3 dict
dup /raiseerror dup /uk.co.terryburton.bwipp findresource put
dup /renmatrix dup /uk.co.terryburton.bwipp findresource put
begin
/qrcode {
   ...
} bind def
/qrcode dup load /uk.co.terryburton.bwipp defineresource pop
end
/setpacking where {pop setpacking} if

I therefore wonder whether something like this might be more maintainable:
/setpacking where {pop currentpacking true setpacking} if
4 dict
dup /raiseerror dup /uk.co.terryburton.bwipp findresource put
dup /renmatrix dup /uk.co.terryburton.bwipp findresource put
begin
[ /barcode ] {null def} forall  % Avoid binding if we clash with non-standard operators
/qrcode {
   ...
} bind def
/qrcode dup load /uk.co.terryburton.bwipp defineresource pop
end
/setpacking where {pop setpacking} if

The list of names to protect can be easily expanded in future. I'm loathed to update my code every time someone adds a new operator with a common name.
What do you think? If this works for you then I'll update BWIPP.

Many thanks Terry
That seems like a good suggestion, and I can confirm that it avoids the problem with the sample file that we were sent by a customer.
Thanks
Martin Bailey
Chief Technology Officer
Global Graphics – Developers of the Harlequin RIP
High-performance native PDL rendering
Tel: +44 1223 926484 * Cell: +44 7811 361 239
<EMAIL_ADDRESS>http://www.globalgraphics.com http://twitter.com/Martin_Bailey
2030 Cambourne Business Park, Cambourne, Cambridge, CB23 6DW, UK
From: Terry Burton<EMAIL_ADDRESS>Sent: 07 November 2019 22:14
To: bwipp/postscriptbarcode<EMAIL_ADDRESS>Cc: Martin Bailey<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [bwipp/postscriptbarcode] BWIPP is incompatible with current Harlequin RIPs (#108)
External Sender: Use caution with links/attachments.
Thanks for pointing this out.
Each encoder is already defined within the context of an anonymous dictionary to avoid polluting the existing namespace, thusly:
/setpacking where {pop currentpacking true setpacking} if
3 dict
dup /raiseerror dup /uk.co.terryburton.bwipp findresource put
dup /renmatrix dup /uk.co.terryburton.bwipp findresource put
begin
/qrcode {
...
} bind def
/qrcode dup load /uk.co.terryburton.bwipp defineresource pop
end
/setpacking where {pop setpacking} if
I therefore wonder whether something like this might be more maintainable:
/setpacking where {pop currentpacking true setpacking} if
4 dict
dup /raiseerror dup /uk.co.terryburton.bwipp findresource put
dup /renmatrix dup /uk.co.terryburton.bwipp findresource put
begin
[ /barcode ] {null def} forall  % Avoid binding if we clash with non-standard operators
/qrcode {
...
} bind def
/qrcode dup load /uk.co.terryburton.bwipp defineresource pop
end
/setpacking where {pop setpacking} if
The list of names to protect can be easily expanded in future. I'm loathed to update my code every time someone adds a new operator with a common name.
What do you think? If this works for you then I'll update BWIPP.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/bwipp/postscriptbarcode/issues/108?email_source=notifications&email_token=AFTWFUEZMR76U5QEFXEESLLQSSHI5A5CNFSM4JKEOBX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDOAN3I#issuecomment-551290605, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFTWFUCO3DV6M5UANWJAB6DQSSHI5ANCNFSM4JKEOBXQ.

Release 2019-11-08 should now function on Harlequin RIPs.


:bug: IIIF Print Derivatives

Summary
Acceptance Criteria

[ ] Files should have derivatives when Iiif print splits in a valkyrie app

Screenshots or Video
Testing Instructions
Notes

Closed as duplicate of https://github.com/scientist-softserv/iiif_print/issues/350


The browser back button is non-functional when facet is active

Looks like the back and the forward buttons do not trigger data refresh.
The forward and back buttons do work as the URL does correctly change.
The data is not reloaded on either back or forward.


"Say Thanks" link goes to a 404

I want to make a donation to restic. The github README includes a "Say Thanks" link, which goes to https://saythanks.io/to/restic, but that URL returns a 404!
Please update the README to include one or more ways I can financially support this project.

@philipmw Unfortunately donations won't happen, see #2415. But the link is indeed not working, I'll leave this issue open so we can look into that at some point (not a high priority right now). Thanks!

Duplicate of #2590.

Nice catch @greatroar.


Report previous block details on heap underflow

In the last SyzyASAN canary, there are 50 heap underflows reported. From an initial look at this, it's possible that what's really happening is overflow from the preceding block, but we don't seem to report on that block.
It would likely be helpful to report the immediately preceding block at least?

Yeah, we could probably use the new Kasko Memory Range functionality to make sure that all the useful data gets included in the minidump (most of the time we already have the content of the previous block, but we don't have its stack traces).

Yup, that would be easiest. We can also extend the AsanErrorInfo and
crashdata struct if need be to add appropriate new fields (like
previous_block and next_block, to be filled out if needed).
On Tue, 25 Aug 2015 at 10:22 Sébastien Marchand<EMAIL_ADDRESS>wrote:

Yeah, we could probably use the new Kasko Memory Range functionality to
make sure that all the useful data gets included in the minidump (most of
the time we already have the content of the previous block, but we don't
have its stack traces).
—
Reply to this email directly or view it on GitHub
https://github.com/google/syzygy/issues/21#issuecomment-134602534.


Render control plane resources using giantswarm/cluster

towards https://github.com/giantswarm/giantswarm/issues/31698
This PR:

renders the kubeadmcontrolplane using giantswarm/cluster.

Checklist

[x] Update changelog in CHANGELOG.md.
[x] Make sure values.yaml and values.schema.json are valid.
[ ] Update /examples if required.

i'm going to go ahead and merge this - everything comes up as expected:
shw cluster-cloud-director ☸ wealdy-test-2-admin@wealdy-test-2:  cluster/render-control-plane [$?] ✗  kg no
NAME         STATUS   ROLES           AGE     VERSION
wealdy183e   Ready    control-plane   2m17s   v1.27.14
wealdy1d2c   Ready    <none>          67s     v1.27.14
wealdy4404   Ready    <none>          58s     v1.27.14
wealdya2ed   Ready    <none>          46s     v1.27.14
shw cluster-cloud-director ☸ wealdy-test-2-admin@wealdy-test-2:  cluster/render-control-plane [$?] ➜  kg po -A
NAMESPACE     NAME                                        READY   STATUS    RESTARTS   AGE
giantswarm    chart-operator-68bb8d9498-2zv7k             1/1     Running   0          2m17s
kube-system   cilium-456xg                                1/1     Running   0          68s
kube-system   cilium-9hdn9                                1/1     Running   0          47s
kube-system   cilium-n5jwh                                1/1     Running   0          112s
kube-system   cilium-operator-54f7ccf6ff-hdmwn            1/1     Running   0          112s
kube-system   cilium-operator-54f7ccf6ff-mqwcf            1/1     Running   0          112s
kube-system   cilium-qbmc8                                1/1     Running   0          59s
kube-system   coredns-controlplane-57d9d5b964-r5674       1/1     Running   0          87s
kube-system   coredns-workers-68c57ff486-lwwmb            1/1     Running   0          87s
kube-system   coredns-workers-68c57ff486-xmjcm            1/1     Running   0          72s
kube-system   csi-vcd-controllerplugin-0                  3/3     Running   0          88s
kube-system   csi-vcd-nodeplugin-2vwqr                    2/2     Running   0          14s
kube-system   csi-vcd-nodeplugin-4hr94                    2/2     Running   0          38s
kube-system   csi-vcd-nodeplugin-4vvcf                    2/2     Running   0          34s
kube-system   etcd-wealdy183e                             1/1     Running   0          2m17s
kube-system   hubble-relay-57c47f8c78-fx7bc               1/1     Running   0          112s
kube-system   hubble-ui-7488cd6d9b-gzjx6                  2/2     Running   0          112s
kube-system   kube-apiserver-wealdy183e                   1/1     Running   0          2m17s
kube-system   kube-controller-manager-wealdy183e          1/1     Running   0          2m17s
kube-system   kube-scheduler-wealdy183e                   1/1     Running   0          2m18s
kube-system   vmware-cloud-director-ccm-d7ff6b8db-qsh6f   1/1     Running   0          88s

static routes service on the control plane is fine:
wealdy183e ~ # cat /etc/systemd/system/static-routes.service
[Unit]
Description=Add static network routes.
After=set-networkd-units.service
After=systemd-networkd.service
BindsTo=systemd-networkd.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/bash -cv 'sleep 3'
ExecStart=/usr/bin/bash -cv 'ip route add <IP_ADDRESS> via <IP_ADDRESS>'
[Install]
WantedBy=multi-user.target


Unable to connect to controller0 while running openwhisk.yml (local deployment), Connection refused!

I have an issue like https://github.com/apache/incubator-openwhisk/issues/4303
when I run ansible-playbook openwhisk.yml
but I got this Error in the controller log file
I asked there but got no answer
What should I do?

Picked up JAVA_TOOL_OPTIONS: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Error: Password file not found: /home/owuser/jmxremote.password
sun.management.AgentConfigurationError
at sun.management.jmxremote.ConnectorBootstrap.checkPasswordFile(ConnectorBootstrap.java:563)
at sun.management.jmxremote.ConnectorBootstrap.startRemoteConnectorServer(ConnectorBootstrap.java:426)
at sun.management.Agent.startAgent(Agent.java:262)
at sun.management.Agent.startAgent(Agent.java:452)
and when I use "wskdev controller", it didn't create the log file

It seems it could not find the password file for jmxremote.
Isn't there the file in your setup?
Outside of the controller container: ${OPENWHISK_CONF_DIR}/${controllerN}/
or
Inside of the controller container: /home/owuser/
That file is supposed to be generated based on the ansible template while deploying controllers.
https://github.com/apache/incubator-openwhisk/blob/master/ansible/roles/controller/tasks/deploy.yml#L46

Actually these files exist   "/config/wskconf/controller/controller0"  directory

controller-openwhisk-keystore.p12
controller-openwhisk-server-cert.pem
controller-openwhisk-server-key.pem
jmxremote.access
jmxremote.password

and the status of "controller container" is "Restarting (1) 14 seconds ago"
It's just restarting again and again
And Config directory has 0777 permission
Is there anything that I should do inside of the controller container or somewhere else?

Is the volume properly mapped for controller0?
And what is the file permission of the files?

Could you please explain more detail?
I didn't find any problem with volume and permission.
I've installed OpenWhisk on two different systems before, but I didn't have this problem
Why it's looking for "jmxremote.password" in "home/owuser" directory?
Shouldn't it look for in "Config Directory"?

Yes. That's right.
But the controller process will look for the file from /home/owsuer.
https://github.com/apache/incubator-openwhisk/blob/master/ansible/group_vars/all#L114
And "Config directory" is mapped into /home/owuser directory in a container.

It's copied at bootup time.
https://github.com/apache/incubator-openwhisk/blob/master/common/scala/copyJMXFiles.sh#L21

Thank you for all your help
Well I checked everything, the config file is ok and the jmx files exist with true permission
but it can not map it into the container, maybe the owuser is not created
and it can't lunch the container properly
is it ok if I change this commit to the root?

Docker PS:
CONTAINER ID        IMAGE                         COMMAND                  CREATED             STATUS                          PORTS                                                                    NAMES
d7c6191efcbe        whisk/controller:latest       "/bin/sh -c 'exec /i…"   3 hours ago         Restarting (1) 10 seconds ago                                                                            controller0
25dfed4727f4        wurstmeister/kafka:<IP_ADDRESS>   "start-kafka.sh"         3 hours ago         Up 3 hours                      <IP_ADDRESS>:9072->9072/tcp, <IP_ADDRESS>:9093->9093/tcp                           kafka0
a0021756460a        zookeeper:3.4                 "/docker-entrypoint.…"   3 hours ago         Up 3 hours                      <IP_ADDRESS>:2181->2181/tcp, <IP_ADDRESS>:2888->2888/tcp, <IP_ADDRESS>:3888->3888/tcp   zookeeper0

Thank you for all your help
I reinstalled docker and it's worked


Fix change in 0.6.7 and in 0.6.8 and up directory layout

Since only 0.6.7 has the macOS / Linux platform layout I've opted to just rename these directories to something expected. In addition in 0.6.8 the _build directories were removed. Therefor based on the existence of this directory the 'old' method of installation is used, or a new one. The disadvantage of this new one, is that nodejs needs to be installed.

Somehow, it seems that a strange error occurs just on macOS. Can you check that?


Fix for AddrOpnd to IntConstOpnd tests break

When a IntConstOpnd fits in the opnd field, but the instruction doesnt
accept an int constant as its operand, then the immediate should be
hoisted into a register and then used in the instruction. Fix the conditions so
that this case is handled correctly.

@satheeshravi @rajatd Can you please review ?

:shipit:


Implemented multiple sccrolls feature.

What does this PR do?
Implemented multiple scrolls feature in the backend as per the issue #79

Please attach screenshots with PR

Added with #151


"macos-aarch64" package from the release works for Intel chip but not for M3 chip.

Problem description
When I download the binary release package for macos-aarch64, slang-test passes on all tests even when they should fail.
This was due to the fact that slang-llvm was not actually working; and tests are reported passing incorrectly.
It turned out that the release binary works fine for MacBook Pro 2019 that uses an Intel chip.
But it doesn't work when the chip is M3.
A workaround for this is to locally rebuild slang-llvm when the hardware uses M3 chip.
The issue appears to be limited only to slang-llvm binary; not slangc or other binaries in the release package.
Goal
Because the package name has "aarch64" suffix, the binary package should run on M3 chip.

@expipiplus1 , do you have any guesses of why this is happening?

This should be fixed by https://github.com/shader-slang/slang/pull/4847 If you could give this a test please :)


Failed to determine Chrome version

Hi, thanks a lot for creating and painting this lib.
I have recently faced an error, I am using chromic version{:chromic_pdf, "~> 1.16"} and using a remote chromium to print PDFs
In my runtime.exs for prod I have set
  config :my_app, ChromicPDF,
    on_demand: false,
    chrome_address: {
      System.get_env("CHROME_HOST"),
      System.get_env("CHROME_PORT", "9222") |> String.to_integer()
    },
    session_pool: [
      # in milliseconds
      timeout: 10_000_000,
      # number of concurrent sessions
      size: 4
    ]

On my local everything works, I am using local chromium.
Wwhen I try to print PDFs on the server it works fine when using ChromicPDF.print_to_pdf({:url, url}) however when I try to use the ChromicPDF.Template.source_and_options/1 it fails with an error regarding chrome version.
This code
  [
    content: html,
    size: :a4,
    header_height: 0.4166666667,
    footer_height: 0.3645833333
  ]
  |> ChromicPDF.Template.source_and_options()
  |> ChromicPDF.print_to_pdf(output: file_path)

Generates an error like
07:16:07.607 [error] Task #PID<0.4500.0> started from #PID<0.4499.0> terminating
** (RuntimeError) Failed to determine Chrome version.
If you're using a remote chrome instance, please configure ChromicPDF manually:
    config :chromic_pdf, chrome_version: "Google Chrome 120.0.6099.71"
Afterwards, force a recompilation with:
    mix deps.compile --force chromic_pdf
--- original exception --
** (RuntimeError) could not find executable from ["chromium-browser", "chromium", "google-chrome", "chrome", "chrome.exe", "/usr/bin/chromium-browser", "/usr/bin/chromium", "/usr/bin/google-chrome", "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome", "/Applications/Chromium.app/Contents/MacOS/Chromium"]
    (chromic_pdf 1.16.0) lib/chromic_pdf/pdf/chrome_runner.ex:85: ChromicPDF.ChromeRunner.executable/1

Following this issue I tried adding the Chrome version in config.exs
config :my_app, ChromicPDF, chrome_version: "117.0.5938.62"
and redeployed but I faced the same error.
Any help and advice regarding this?

Hi @Pro-Alchemist ,
the chrome_version option is actually a compile-time config, specified like this:
config :chromic_pdf,  chrome_version: "117.0.5938.62"

Make sure you recompile chromic_pdf afterwards (e.g. mix deps.compile --force chromic_pdf, and purge your build caches if you cache _build on CI).
Sorry for the inconvenience. This config option isn't really ideal, maybe it would have been nicer to just add a :disable_zoom option to the functions in Template, but TBH I didn't expect so many people to use this "remote chrome" feature (and have never done so myself).


dlib.shape_predictor confidence

I am trying to use shape_predictor to set points of interest and then measure them. However, there are instances where one or more points shouldn't be shown as the location of interest is not visible, making their placement incorrect. Is there a way to set a confidence threshold to the shape_predictor? I am sure this feature would make the shape_predictor the highlight to many more projects. :)

There isn't a function for that.  But you can train your own additional binary classifier by taking the feats output of the shape predictor and training a linear SVM to tell you if the point is visible or not.

Thank you for the feedback. I assume this is the feats output that you mentioned <_dlib_pybind11.full_object_detection object at 0x0000017B003124F0> ? Where this "0x0000017B003124F0" will be used to train the SVM? :) I got it from print(landmarks), where landmarks = predictor(img, drect). If this is incorrect, how does one get the feats?

No.  I mean here http://dlib.net/dlib/image_processing/shape_predictor_abstract.h.html#operator

Again thank you for the quick feedback. I do apologize in advance and appreciate your patience. I am unsure of what function to use in your link. Do you have an example code?

Thank you for your response. I used dlib.full_object_detection(rect, [dlib.point(int(shape_point[1]), int(shape_point[0]))]) where rect is the dlib.rectangle coordinates and shape_point is the numpy array of the predictor landmarks (i.e. predictor(img, rect)).
My resulting output is <_dlib_pybind11.full_object_detection object at 0x00000241A91225B0>
how do I get the feats out of this?
:)


[#1012] Handle alt-spellcasting types properly

Handle alternate spellcasting types, not just pact casting, when selecting a class for a spell added to the sheet.

Seems to work. Used the Apothecary class from SebCrowe as an example, the sourceClass was set correctly when dropping on the Apothecary Magic section, even while multiclassed as druid/apothecary/warlock.


Add documentation note for installation/setup workaround on macOS Big Sur

📚 Documentation
I recently set up a developer/contributor environment for napari on an Intel Macbook Pro with Big Sur. I ran into the VisPy/OpenGL dependency issue that has been described in a few issues (e.g. #1393, #2485) and in a few forum posts (e.g. image.sc, zulip).
I imagine this problem is relatively widespread and the workaround seems fairly stable at this point, so I thought it might be a good idea to mention it in at least one place in the setup/installation docs rather than require users to find it or ask for help elsewhere.
Another related thought is that it might make sense for developers/contributors to standardize their Python environment a bit more. In this case, using the conda-forge channel for Python when creating the conda environment fixes the issue, and that might be a good standard channel to use going forward. I don't think we should require all napari users to use conda to manage their Python environment (though it's fine to recommend it), but it seems more reasonable to require contributors to do so.

I thought it might be a good idea to mention it in at least one place in the setup/installation docs rather than require users to find it or ask for help elsewhere.

Agreed @andy-sweet - I'd probably say https://github.com/napari/napari.github.io/blob/master/tutorials/fundamentals/installation.md#installation is the best place for this, it will appear on our website here. https://napari.org/tutorials/fundamentals/installation.html#installation
If you wanted to write something up and make a PR on that other repo that would be great!!

Also here https://napari.org/docs/dev/developers/contributing.html maybe?

Maybe in contributing guide we just add link to installation tutorial - "... if case you have problems, you might want to read our installation tutorial ..." but just keep the 3.9 details in one place?

The thing is that a dev environment is different from a user environment
For example one could do (I do this)
conda install python -c conda-forge
pip install -e ".[all]"
pip install -e ".[test]"
pip install -e ".[all]"
pip install pre-commit

A user would just do
conda install napari -c conda-forge
napari

Big Sur isn't really relevant anymore and we do already recommend using conda and conda-forge to make envs.


Fix saving/loading MultiDataSets when some masks are null

When some inputs/outputs have masks and some don't, some entries in the mask array are not set. Saving and loading couldn't deal with this, but with this patch they can.

Build triggered. sha1 is merged.


Add a missing quote

A quote was missing in one of the example of the templating guide.

Thank you @HexPandaa


Inconsistent behavior for CustomScriptExtension, depending on BLOB or repo

After much troubleshooting I determined that the type 'CustomScriptExtension' behaves differently depending on where the template and scripts are stored.
The information in this article says: "When executing the commandToExecute command, the extension sets this directory (for example, ...\Downloads\2) as the current working directory. This process enables the use of relative paths to locate the files downloaded via the fileURIs property." This is only correct if the file is downloaded from a BLOB.
If the file is downloaded from a repo such as GITHUB, the working directory is set the script folder itself, meaning that a relative path actually fails the template. This is an example of my workaround.
"UrlIsBlob": "[or(contains(parameters('_artifactsLocation'), 'blob.core.windows.net'), contains(parameters('_artifactsLocation'), 'blob.core.usgovcloudapi.net'))]",
    "scriptExecutionPath": "[if(variables('UrlIsBlob'), 'scripts/', '')]",
    "commandToExecute": "[concat('powershell.exe -ExecutionPolicy Unrestricted -File ./', variables('scriptExecutionPath'),variables('scriptName'),' -SkipNetworkProfileCheck $true')]"

I'd say that this is an implementation bug and not a doc bug, but hey, who am to say....

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

ID: 40aaccb8-19ba-168f-f5bf-65f1f5331541
Version Independent ID: 6cdfd166-633a-50a3-2b45-cde0e991e540
Content: Azure Custom Script Extension for Windows
Content Source: articles/virtual-machines/extensions/custom-script-windows.md
Service: virtual-machines-windows
GitHub Login: @bobbytreed
Microsoft Alias: robreed

@wkasdorp Thank you for your feedback! We will review and update as appropriate.

@wkasdorp I will check in my environment and update the product team about this issue.
Can you give an example with the actual url so that it will be easier for me to test and report it.

@bobbytreed if this issue is true, Its good to add this info to the document.
Please add your views

@wkasdorp Lets take this example URL https://someAcct.blob.core.windows.net/aContainer/scripts/myscript.ps1
In this url, files will be downloaded from "scripts". That is leaving the first folder (aContainer) after hostname .
And the default script execution path will be outside scripts folder only.
Thats mentioned here
Is the same scenario not working with github?

i tested with github.
i used the below urls one by one

https://github.com/jakaruna-MSFT/script-for-extension/blob/master/script.ps1
https://github.com/jakaruna-MSFT/script-for-extension/blob/master/level1/script.ps1

It always took the script.ps1 and added it in the downloads folder.
Downloads from the blob.core.windows.net is explained properly in the document.
Download from other urls are not explained.
May be we can add a note saying that the relative download path is only for blob.core.windows.net

@wkasdorp   Thanks again for the good find.   We can use the workaround suggested by you as well.
I will assign the issue to the content author to investigate further and update the document as appropriate.

@wkasdorp Thanks again for the good find. We can use the workaround suggested by you as well.
I will assign the issue to the content author to investigate further and update the document as appropriate.

Great that you can repro this!
I'd like to point out that my workaround is just that -- a workaround. It will fail if you get a storage account (blob) with a vanity url. It would be much better to catch this at the source if we can. Clearly the extension is detecting the difference; why was it coded to do that? Bug or intentional?

#reassign: @MicahMcKittrick-MSFT

Added a note. Once the PR merges the changes will go live after a few hours.


Workaround for ROKS datapath configuration

Submariner datapath is broken with the default Calico configuration on ROKS.
This PR updates Calico configuration for ROKS platform to address this issue. When Submariner is uninstalled, the original Calico configuration is restored.
Depends on https://github.com/submariner-io/submariner-operator/pull/2958
Depends on https://github.com/submariner-io/subctl/pull/1062

cc @aswinsuryan


NBT tags do not apply with Shift+Click

When crafting ring, NBT tags are applied only when you pick result with cursor, but when you press Shift+Click on craft result, they are not added.

Looks like using NbtCompound nbtRing = stack.getOrCreateNbt(); instead of NbtCompound nbtRing = new NbtCompound(); and removing stack.setNbt(nbtRing); fixes the issue.
I can be wrong.

thank you I will try that!


move nodes into the foreground in preprocessing

@Yagnap:

[x] To ensure optimal multi-path visualization, please make sure that the nodes (classes, the rectangles) are always in front of the paths by moving them to the end of the SVG in preprocessing.
[x] This is necessary because there seems to be no way to achieve this in the source yEd graphml file. Please also raise this issue with the yEd developers, they are really nice and quick to respond in my experience.

there are already open issues for yEd wishing for layers which could solve our problem, so we won't create another one, but it seems unlikely they will implement it soon
implementing this in preprocessing using regular expressions is not practical
current approach: preprocess this in JavaScript. This has the disadvantage of a calculation that has to be done every time the application is loaded but it is unlikely to use significant amounts of time.

Added in d8c84e561a48ad9261c35706b0d1c52f15ab0337.


Small changes.

Hi there!
Could you send an e-mail to<EMAIL_ADDRESS>with your username: "PascalDM" and your DoJo name/mail? Don't reply on this e-mail directly, as it may get added as a comment in this pull request automatically which is public.
That way i can assign your devops point from doing this exercise.
We are looking into ways to allow you to securely link your DoJo account with GitHub account, but for now I'm doing a bit of manual detective work to figure out who is who ;)
Excellent work on the exercise btw, thank you for following along!
Kind Regards,
Jan

Received the information.


[epub_view]: Ability to "stream" exploded EPUB3 from URL

First off, this is a great library. Thank you for all your work on it.
In my use case I'd like to be able to load an exploded EPUB3 directly from a URL (also my apologies if this is already supported and I missed it). This is a loading mechanism supported in other EPUB3 rendering libraries such as EpubJS (https://github.com/futurepress/epub.js/). This EPUB loading strategy generally allows users to download only the portions of the book they're actively reading and begin reading more quickly because less data needs to be transferred to render the first pages.
Example request flow:

exploded EPUB is available under https://api.example.com/books/12345
client loads EPUB container.xml at https://api.example.com/books/12345/META-INF/container.xml
client loads OPF at https://api.example.com/books/12345/EPUB/Book_Title.opf
client continues to load subsequent XHTML chunks and associated resources on demand

Also I'm interested in implementing this feature.

@rkeiii attach please epub file with internet usage for example


Is a problem the phone IP be different from the WebWhatsApp?

My phone IP is from Brazil but my server runs in US and I'm afraid to be ban. Anyone use very different IPs?

Here, exactly same case and all works fine!

Thanks!

@brunosoaresds the WhatsApp don't read the QR code and I don't know why.
When I tested everything from my local network it works! Any suggestion?

I really don’t know why it occurs with you. I have a droplet in digital ocean and I scan the qrcode for the droplet here in Brasil using the VNC

no
On Sun, Jul 1, 2018, 8:47 PM Bruno Soares da Silva<EMAIL_ADDRESS>wrote:

I really don’t know why it occurs with you. I have a droplet in digital
ocean and I scan the qrcode for the droplet here in Brasil using the VNC
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mukulhase/WebWhatsapp-Wrapper/issues/308#issuecomment-401621916,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAdkDp2IX0fWNsV3ayI3YFNNqaTOuyw7ks5uCQstgaJpZM4U7PFR
.

I was getting the QR code with the function get_qr() and sending to my email, but the whatsApp can't read the QR code, it seems to be different from the QR code a see via VNC.
I tried with VNC and worked. But I would like to avoid the "firefox-debug" container due performance issue.
Anyone knows how to get the valid QR code image?

You can try to scan using vnc, copy profile and run, using the same profile, your container. I think the session will be maintained.


Callable defaults

For dynamic defaults.

Thank you for the PR. Closing since tests were not added, but feel free to open a new PR with you still have interest in this feature.


CHIPDevice: get new ExchangeContext on existing SecureSession

Problem
The Device API hides access to the ExchangeContext that it creates, and currently only handles IM or SecureSession protocol messages. This means other protocols such as BDX cannot use the Device API to send and receive messages.
Change overview

add a public method GetNewExchangeContext that generates a new context on the existing SecureSession using the provided ExchangeDelegate.

Testing

tested manually using custom local BDX applications

It's not clear to me why this is preferable to exposing the secure session itself via a getter.... @pan-apple, thoughts?

Why would exposing the secure session be more preferable? I don't actually have an opinion here, I'm just trying to learn more

Going to close this PR and open a new one that exposes SecureSession instead


Add autoprefixer into build scripts and remove prefixes from mixins

I want to add into our build scripts an autoprefixer. Here is a possible node package we could use: https://www.npmjs.com/package/autoprefixer
Once this is incorporated, I'd like to also remove all prefixes from mixins and even purge mixins that only exist for the adding of prefixes.

This update was fixed in the v2.2.2 release.


[v5] Input

Superseded by #3795
@Andarist I split out only the input-specific logic into #3795, meaning it is currently not strongly-typed. My thinking is we add input types after the "unified generic" type (separate PR) goes in.


HA Kubernetes on 6 node 8GB Raspberry PI 5 cluster via kubeadm or Rancher k3s - bare metal simulation

Software

https://k3s.io/
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/
https://datasheets.raspberrypi.com/rpi5/raspberry-pi-5-product-brief.pdf
https://github.com/raspberrypi/rpi-imager

Hardware

see https://www.canakit.com/raspberry-pi-5
get the board, power supply for 35+ watts and the dual passive/active cooler
Raspberry PI 5 - 8GB LPDDR4X04267 ! 64bit Broadcom BCM2712, quad-core Cortex-A76 (ARM v8) 64-bit SoC @ 2.4GHz 512KB L2, 2MB shared L3, 800MHz VideoCore VII GPU 1 GBE
https://datasheets.raspberrypi.com/rpi5/raspberry-pi-5-product-brief.pdf
Raspberry PI 4 - 4GB! 64bit Broadcom BCM2711, quad-core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz 1 GBE
https://www.raspberrypi.com/products/active-cooler/

References

https://en.wikipedia.org/wiki/Raspberry_Pi#Raspberry_Pi
https://github.com/kelseyhightower/kubernetes-the-hard-way

Current
Review

https://github.com/mhausenblas/kube-rpi
k3s based https://www.zenko.io/how-i-made-a-kubernetes-cluster-with-a-couple-of-raspberry-pis/
microk8s based http://sirchia.cloud/2019/12/kubernetes-on-64-bit-os-raspberry-pi-4/

Older 2019

http://blog.kubernetes.io/2015/12/creating-raspberry-pi-cluster-running.html
https://blog.alexellis.io/serverless-kubernetes-on-raspberry-pi/
https://gist.github.com/alexellis/fdbc90de7691a1b9edb545c17da2d975
https://blog.zhaw.ch/icclab/supporting-container-based-application-deployment-to-heterogeneous-hardware-using-rancher/

config
<IP_ADDRESS> (0) - <IP_ADDRESS> (pi53)

Simulate on AWS VMs
sudo apt install net-tools


Validate 5.0 emails

Emails should look nominally like emails. Now we add errors for 5.0 feeds when they don't.
The big important change, however, is that tests that use a Postgres database are both available and run on the Buildkite server.
This build includes an extra build step, "Postgres tests", which runs the script/postgres-tests script. That script uses docker-compose to run a Postgres container for tests marked with the ^:postgres metadata.
Outside of docker-compose, running the postgres tests requires you to specify that you want to run them. lein test will not, by default. You must either run lein test :postgres to run just the Postgres tests, or lein test :all to run all the tests. You will also want a test-resources/config.edn file with the :postgres section configured to use a test database.
Future tests that use Postgres should be in a namespace just for tests that use Postgres (the nature of clojure.test fixtures makes it better to separate them by namespace). Test namespaces that need Postgres should have calls to (use-fixtures :once setup-postgres) to initialize Postgres and (use-fixtures :each with-clean-postgres) to clear the test database between tests. See test/vip/data_processor/validation/xml_test_with_postgres.clj as an example.
Pivotal story: 112940827

Tests pass, LGTM.


cfg out of tests that use get_result for MySQL

MySQL does not support returning clauses.

Good idea. I'll do that as a future improvement.


perf: improve performance of search params merging

We need to avoid TFullSearchParams from being eagerly evaluated. This happened for a number of reasons.

Generic constraints on TFullSearchParams. We need to get rid of these.
Do not use Omit for Assign
Do not use Expand

Not sure if I should merge this just yet. There still seems to be an issue despite it feeling a bit better

Large file based examples
Before;
Files:                         589 Lines of Library:            38118 Lines of Definitions:        77132 Lines of TypeScript:         12777 Lines of JavaScript:             0 Lines of JSON:                   0 Lines of Other:                  0 Identifiers:                113512 Symbols:                    363026 Types:                       79015 Instantiations:            1475781 Memory used:               334274K Assignability cache size:   117058 Identity cache size:          3707 Subtype cache size:              0 Strict subtype cache size:  162006 I/O Read time:               0.09s Parse time:                  0.61s ResolveModule time:          0.12s ResolveTypeReference time:   0.01s ResolveLibrary time:         0.02s Program time:                0.95s Bind time:                   0.29s Check time:                  6.51s printTime time:              0.00s Emit time:                   0.00s Total time:                  7.74s
After:
Files:                         589 Lines of Library:            38118 Lines of Definitions:        77134 Lines of TypeScript:         12777 Lines of JavaScript:             0 Lines of JSON:                   0 Lines of Other:                  0 Identifiers:                113462 Symbols:                    351321 Types:                       63650 Instantiations:            1379378 Memory used:               321903K Assignability cache size:   112852 Identity cache size:          3712 Subtype cache size:              0 Strict subtype cache size:  162006 I/O Read time:               0.07s Parse time:                  0.55s ResolveModule time:          0.11s ResolveTypeReference time:   0.01s ResolveLibrary time:         0.02s Program time:                0.84s Bind time:                   0.23s Check time:                  5.35s printTime time:              0.00s Emit time:                   0.00s Total time:                  6.43s


New UITextView control to replace SlackTextViewController

Pretty excited about this.

Cleaner design
Built from ground up, so we have full control
iPhone X support

Future TODOs

Better AX
Separate the autocompletion stuff so it can be used anywhere

Gonna merge and send out a TF beta w/ this in it to get some feedback. Will make refinements in upcoming PRs.

Let me know where you need some help with AX!
Sent with GitHawk


Start / Stop from watchapp does not start/stop android app

3.1.0 beta 2
Tested on pebble steel and pebble time steel. Start / Stop from the watch does not start/stop the android app.

W/BroadcastQueue(1512): Background execution not allowed: receiving Intent { act=com.getpebble.action.app.RECEIVE flg=0x10 (has extras) } to com.njackson/.pebble.PebbleDataReceiver
This may be it, advanced android security

1 option is to target <=25


Google Analytics:  GA4 / Universal Analytics questions about implementation and template fixes

Which version of Google Analytics is already implemented on my site? Is it GA4? Or is it the former deprecated Universal Analytics platform? If it is a Universal Analytics platform, your task is to upgrade every template to GA4. However if GA4 is already implemented, then your task is to resolve the potential conflict described below.
Google Analytics was a new feature we originally described in Issue #123 and implemented in PR #129. At the time when I merged #129 into master, there was a merge conflict with two separate Google Analytics Javascript code snippets:

The old legacy/deprecated one
The new one
There still may be a conflict but I am not sure.

For example, gateway.html and the base.html partial include one Google Analytics site tag:

First question: Is the above the only Google Analytics code required?
In addition to the above Google Analytics JavaScript, the portal.html template includes two more. They look like this:

And:

Second question: Are all three required? Or can we eliminate these two outdated ones?
Third question: If I add the Google site tag quoted initially above to my new custom 500 and 404 template, will that be enough for Google Analytics to begin tracking page views and all the other data?

We only need to keep google analytics and google tag manager to track the page views and we don't need Universal Analytics which is deprecated and will be eliminated from 2023. so I am removing UA code and will be keeping only google analytics code( it is the latest code supported by Google itself) and google tag managers to send the event data to google analytics.
answer to your first question:
Yes, We need to keep the Google Analytics code in your website templates. It is a must kind of code to keep on your website to start tracking user views.
Answer to your Question 2:
I have found something from official google analytics about google tag managers or gtag.js which is given below:
""" The global site tag (gtag.js) is a JavaScript tagging framework and API that allows you to send event data to Google Analytics, Google Ads, and Google Marketing Platform."""
so it means we also need to keep the GTM API code snippet so that it can send event data to google analytics to track the user views.
Answer to your question 3:
Yes, It will be enough to track the page views by just adding google analytics code snippet(Quoted code).

@abubakarA-Dot's fully answered the three questions in the original post. Deprecated UA code snippets purged from portal.html template in PR #194. Closing as Reoslved.

Thanks Abu!


Tidying up service templates ready for COF launch

Addresses:

FS-1184 footer content consistent
FS-1185 implement privacy policy links
FS-1187 implement accessibility service
FS-1193 consistent service banners
FS-1183 make service consistent across components
FS-1201 adding cookie policy
FS-1189 correct content for "speed bump" page when we click the magic link

Also adding:

Tidying up "Invalid link" title and buttons

You probably want to add the ticket numbers to the title just so it's easier to search for.


Visual Mode Selection Syncing (JK Mapped to Esc)

I have jk mapped to exit visual mode (which it does). The problem is, pressing either of them to resize the current selection doesn't update the visual indication of the selection until I press another key. It does actually update the selection under the hood because the total number of columns/lines works out once it finally updates.
Example:
enter visual mode
press k three times - selection box remains unchanged
press l - selection now changes to 3 lines up and one column right
If I remove vnoremap jk <Esc> from my neovim config, it works fine, the selection updates immediately.
Everything works as intended inside neovim (after a 150ms timeout, the selection updates. j and k need to be pressed near-simultaneously to exit visual mode)

I don't have a lot of callbacks from Vim on changes. I mostly just ask for changes after input is done processing. Since this is an async operation of sorts, the selection hasn't updated by the time I check for it. This could maybe be solved with an AutoCmd.

Is there a way to get an update once it actually resolves the command? IE when it receives the second keypress to trigger an exit, or the timeout runs out and the selection changes?

If there's a good autocmd in vim for selection update, then yes. We can just update the sublime selection anytime we get an unexpected selection change from vim.

There isn't. Could scrape ui redraw events.
Shouldn't be difficult to add a new ui event for this in core. Remind me in 2 weeks...

I already scrape UI redraw events. Maybe it's cheap enough to just pull the whole selection whenever vim updates the UI (can selection change offscreen?)

Cool. That's still neglecting the more general case of multi-key mappings where the leading key is also mapped to an action on its own (being executed if no other keys are received within the timeout) If I have a mapped to action 1 and ab mapped to action 2, action 1 will never get picked up since it won't be executed in neovim until the timeout expires.

Can check the buffer change count at the same time.

@justinmk

@justinmk

When I get back to working on multicursor...


Cannot bbappend tegra-tools

Hi,
I've made a tegra-tools_28.2.0.bbappend to change the default PM_CONFIG DEFAULT from 2 to 3 to get max performance.
FILESEXTRAPATHS_prepend := "${THISDIR}/files/tegra186:"
SRC_URI_prepend_tegra186 = "file://nvpmodel.conf "

do_install_append_tegra186() {
    install -d ${D}${sysconfdir}
    install -m 0755 ${B}/usr/sbin/nvpmodel ${D}${sbindir}/
    install -m 0644 ${WORKDIR}/nvpmodel.conf ${D}${sysconfdir}/nvpmodel.conf
    install -d ${D}${sysconfdir}/init.d
    install -m 0644 ${S}/nvpmodel.init ${D}${sysconfdir}/init.d/nvpmodel
    install -d ${D}${systemd_system_unitdir}
    install -m 0644 ${S}/nvpmodel.service ${D}${systemd_system_unitdir}
}

Would you have any idea why the nvpmodel.conf prepend is ignored and the file never ends up in ${WORKDIR}.
I've made sure the paths are correct. nvpmodel.conf exists and if I put a typo like nvpmodel.conf_blabla bitbake throws a warning that it cannot find the file. So I'm sure the file is found.
I'm having this issue with this one single recipe only, none of the others in my build system so I'm a bit puzzled.

Yeah, if you want to replace the default configuration file it's a bit trickier than that, because the do_fetch step is actually performed by the tegra-binaries recipe.  So you would create a tegra-binaries_28.2.0.bbappend with something like this:
FILESEXTRAPATHS_prepend := "${THISDIR}/files"
SRC_URI += "file://nvpmodel.conf"

do_preconfigure_append() {
    mkdir ${S}/config-replacements
    cp ${WORKDIR}/nvpmodel.conf ${S}/config-replacements/
}

then in tegra-nvpmodel_28.2.0.bbappend (or tegra-tools_28.2.0.bbappend if your copy of the layer predates the split-out of the nvpmodel files that I did back in April):
do_install_append_tegra186() {
    rm ${D}${sysconfdir}/nvpmodel.conf
    install -m 0644 ${S}/config-replacements/nvpmodel.conf ${D}${sysconfdir}/
}

If the rm command fails, you've got an older copy of the layer where the conf file got installed in the wrong location (in the subdirectory ${sysconfdir}/nvpmodel/), so either update or change the command to rm -rf ${D}${sysconfdir}/nvpmodel*.  I fixed the install location a couple of weeks ago.
Another approach to making this change would be to just add a sed command to modify the default configuration, rather than providing a replacement copy of the config file.  You would only need one bbappend file, and it would do something like this:
do_install_append_tegra186() {
    sed -i -e's,PM_CONFIG_DEFAULT=3,PM_CONFIG_DEFAULT=2,' ${D}${sysconfdir}/nvpmodel.conf
}

Or you could just add a separate recipe of your own with a systemd service or initscript that invoke the nvpmodel command to set the power model to the desired setting. You'd have to be sure that it executes after nvpmodel.service starts, but otherwise, it might be simpler to implement.

Ok thanks a lot Matt, I got it solved. I learned new tricks today =)


Fix docs link in README.md

Thank you for the PR, the changes seem good. Can you please change the first line of the commit message to something more meaningful?


Add tag method to ColorChooserDialog

The ColorChooserDialog should have the tag method as the rest of the dialogs, as without it, it makes it rather difficult to have multiple dialogs bound to one activity.

Well with current versions, you can just check the title.

I suggested this because the dialog.getTitle() method was returning a completely different resource Id than the two dialog's titles. A bit later I discovered it was returning the value of titleSub from the builder, which I had the same between the two dialogs. Not sure if this is the intended functionality or a bug, but now that I know what value it's returning I can work around it. That possible bug aside, I still think it should support the tag, simply for some people may want multiple dialogs with the same title. In a bit I'll submit a pull request to add it in.


Fix programPage query

The query isn't working, does not load type.
"errors": [
{
"message": "'loaders'",
"locations": [
{
"line": 4,
"column": 5
}
],
"path": [
"programPage",
0,
"type"
]
}
]

This issue will be fixed with full implementation of UUID

Turns out implementing UUID didn't fix it

Don't know how but it is fixed


justified-nav.css ( http://getbootstrap.com/examples/justified-nav/) not connecting

Hi,
I can not connect  justified-nav.css   to example page http://getbootstrap.com/examples/justified-nav/
in my project. Path to file and Bootstrap version both checked. Even placing justified-nav.css in the same dir with base.html did nothing. Only adding file content into base.html itself works. BTW bootstrap. min.css not working as file as well, only as link to source. Any ideas?

Please use StackOverflow, IRC, or Slack for asking personal support questions such as this. See https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md#using-the-issue-tracker for links.


The masks of bls12-377

Are there any conversions among the different forms of bls12-377 anywhere?  I'd assume they serialize differently, no?  Anyone actually using this?

There are no explicit conversions between the different forms of BLS12-377. These would be added as methods in ark-ec on te::Projective/Affine to convert between the different forms of the curves

I guess my last question is answered here:  https://github.com/arkworks-rs/curves/pull/76


C2 C1 and C0 float to fix point translation

I would like to inquire how to get C2, C1, and C0 in the right format to reuse the circuit for Tanh. Using minimax approximation, I have obtained C2, C1, and C0 in float format. But plugging these C2, C1, and C0 into the circuit gives an error result.
I have checked the C2 C1 and C0 in float format are right. So the error might come from the translation. C2, C1, and C0 are translated into the fix-point format with one sig bit, one sign bit, one integer bit, and then 27, 18, and 12 fractional bits respectively. For instance, for C0 = 0.00097656250000000000000000000000000, the fix point format is 29'b00000000000011111111111111111,  for C1 =0.99999904632568359375000000000000, the fix point format is  20'b00111111111111111111, for  C2 = -0.00097656250000000000000000000000000, the fix point format is 14'b10000000000111.
Could you please share more information about the float to fix point translation? Thanks a lot in advance.

Thanks for being interested in extending the capabilities of the SFU unit that we implemented. Clearly, your concerns are not related to an actual issue of our current hardware implementation but more related to a possible extension you plan to do, so I'll process to answer you and close the open issue.
Regarding your concerns, giving you accurate feedback is a bit hard but as the SFU we implemented is based on a polynomial approximation we expect to have some error in the output. However, I'm assuming you took care of the following three main aspects which can help you to debug and maybe find the root of your issue:

Range reduction if necessary for your function (Tanh) (it might require more than one set of coefficients according to the exponent range)
Select an adequate number of m intervals for the coefficients (C0, C1, and C2) using enhanced minimax approximation.
After the polynomial approximation, it is required to make a normalization and exponent adjustment for converting fixed points to floating points in the IEEE754.

Please refer to this paper, which we follow for our SFU implementations (https://ieeexplore.ieee.org/abstract/document/1388195).
You can use the Quadratic_Interpolator engine we developed, but additional hardware adjustments might be necessary to support the Tanh function (range reduction hardware support, and result normalization and exponent adjustment)
If you are getting extremely high interpolation errors from the quadratic interpolation unit, you probably need more bits for the coefficients and in turn, extend the computational unit capabilities. In such a case the complete hardware should be extended. It is a doable solution but at the same time challenging task since our version was optimized to reduce hardware resources so it is not generic hardware. It would be great if you can contribute to making it generic and improving it for hardware exploration design :)
Finally, your conversion example from C0, C1, and C2 to a fixed point representation is close to my calculations, so I would say they are correct. Anyways I leave here my calculations as a reference.
C0 = 0.000976562500000000000000000000000002^27 => 29'b00000000000100000000000000000
C1 =0.999999046325683593750000000000002^18  => 20'b01000000000000000000
C2 = -0.00097656250000000000000000000000000*2^13 => 14'b10000000001000
note: C2 uses 13 fractional bits, no magnitude, and one sing bit (S.FFFFFFFFFFFFF); this was adopted since the integer part of C2 was always 0.
I hope this answered your questions

Software used to generate coefficients		maplesoft's maple software
In SFU, m = 6, and LUT, which is a coefficient array, is created with this bit range, so the number of array elements is 64 ( 2^6 ).
The data type sizes (bit array size) of c0, c1, and c2 to be stored are t, p, and q, respectively.
Quadratic polynomial c0, c1, c2 coefficient values
sin(x), cos(x), rsqrt(x), log2(x), exp2(x), 1/x and sqrt(x)
c0				c1				c2
1/x					+0.1xxxx...xx, -0.xxxxx...xx, +0.xxxxx...xx
sqrt(x)				+1.0xxxx...xx, +0.01xxx...xx, -0.000xx...xx
rsqrt(x)			+0.1xxxx...xx, -0.0xxxx...xx, +0.0xxxx...xx
exp2(x)			+1.xxxxx...xx, +x.xxxxx...xx, +0.0xxxx..xx
log2(x)				+0.xxxxx...xx, +x.xxxxx...xx, -0.xxxxx...xx
sin(x), cos(x)		+0.xxxxx...xx, +x.xxxxx...xx, -0.0xxxx...xx
is it?

A second-order approximation polynomial for a transcendental function has the form
f(x) = C0(XH) + C1(XH)*XL + C2(XH)*XL^2
The size of the 32-bit floating-point domain is n bits, and the input argument x to function f is:
upper part of m-bit XH and
Consists of (divided) into lower XL of (n-m) bits
Generate coefficients C0, C1, C2 using fractional field XH (use XH as index into coefficient array C0, C1, C2 LUT when transcendental function is called)

Format conversion to custom fixed-point format via transcendental function 'adjust processing scope for some operations'?

The range of values for the coefficients C0, C1, and C2 are different for each of the six operations.
Coefficient calculation via Maple software
for example
Analysis of 3 coefficients based on the maximum and minimum values of 6 operations
To use the same ROM size
29 bits for C0 coefficients (3.26 two's complement format: 1-bit sign, 2-bit integer bits, 26-bit fraction bits)
20 bits for C1 coefficients (4.16 format: 1 bit signed, 3 bits integer, 16 bits decimal)
C2 adopts 14 bits (6.8 format: 1 bit sign, 5 bits integer, 8 bits decimal).
The six operations are sin(x), cos(x), rsqrt(x), log2(x), exp2(x), 1/x, and sqrt(x).
of c0, c1, c2 for each transcendental function applied to the FlexGrip.
Please explain the number of sign bits, integer bits, and fractional bits.
For example,
Please explain how the bit string, which is the number at a specific index of the lut array of cos c0, c1, c2, changes when converted to a float 32-bit value through the corresponding format above.


Integration with PAM vendors

Describe the improvement
Integration with PAM vendors

CyberArk
Centrify

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Fix hedgehog-1.3 compatibility

byron-spec-chain is not compatible with hedgehog-1.3 version. This needs to be fixed:
src/Byron/Spec/Chain/STS/Rule/Chain.hs:353:9: error:
    • Couldn't match expected type 'GHC.Exts.Item
                                      (f0
                                         ((a0 -> Data.Functor.Identity.Identity Hash)
                                          -> BlockHeader
                                          -> Data.Functor.Identity.Identity BlockHeader))'
                  with actual type '(Hash -> f1 Hash)
                                    -> BlockHeader -> f1 BlockHeader'
      The type variables 'f0', 'a0', 'f1' are ambiguous
    • In the expression: bhUtxoHash
      In the first argument of 'Gen.element', namely
        '[bhDlgHash, bhUpdHash, bhUtxoHash]'
      In a stmt of a 'do' block:
        hashLens <- Gen.element [bhDlgHash, bhUpdHash, bhUtxoHash]
    |
353 |         bhUtxoHash
    |         ^^^^^^^^^^
Error: Process completed with exit code 1.

Nevermind this problem has been fixed in byron-spec-chain-<IP_ADDRESS> version. This error was produced by an older byron-spec-chain-<IP_ADDRESS>


Track future prediction

Hi there,
I'm curious if there is a way to cleanly predict the future location of the tracked object with the integrated Kalman filter beyond what is used for the next frame?
Thank you.

Hi @joshfox10
Currently, there is no easy way of doing this but the underlying Kalman filter object is available
Assuming you are using the default FilterPyKalmanFilterFactory  and not OptimizedKalmanFilterFactory:
ipdb> to = tracked_objects[0]
ipdb> to
Object_1(age: 3, hit_counter: 4, last_distance: 0.29, init_id: 1)
ipdb> to.estimate
array([[1.        , 3.90878529]])
ipdb> to.filter.x
array([[1.        ],
       [3.90878529],
       [0.        ],
       [0.93041352]])
ipdb> for _ in range(5):
    to.filter.predict()

ipdb> to.filter.x
array([[1.        ],
       [8.5608529 ],
       [0.        ],
       [0.93041352]])
ipdb> to.estimate
array([[1.       , 8.5608529]]

Notice that there is no way of predicting steps into the future without affecting the inner state of the filter, this can be a problem if you intend to keep tracking after predicting into the future.

@javiber thanks for your help.


Possibility to inform environment variable to be replaced in the container

As we already have the option to change the container name (images).
It would be nice if we have an option to change the environment variable values for containers.
Example of a YAML for Kubernetes
apiVersion: apps/v1
kind: Deployment
metadata:
  name: my-deploy
spec:
  selector:
    matchLabels:
      app: web
  replicas: 2
  template:
    metadata:
      labels:
        app: web
    spec:
      containers:
        - name: mycontainer
          image: myregistry\mycontainer:v1
          ports:
            - containerPort: 80
          env:
            - name: MY_CONTAINER_ENV
              value: X

Example of a Github Action:
      - uses: Azure/k8s-deploy@v1
        with:
          manifests: |
            kubernetes.yaml
          env: |
            MY_CONTAINER_ENV: "${{ secrets.MY_CONTAINER_ENV }}"

@pulkitaggarwl Can you have a look at it?

@joseotavioq You can add custom env variables as part of a workflow. If you wish to change the value for an env var before an action run then either you can have different values for your env var in separate steps or have a dedicated env var for the action.
I am trying to understand a use-case for this request to be added in the action.

@koushdey I want to add an env variable as a parameter for a container when it starts.
To do that, I need to specify in the Kubernetes YAML file the value of that variable. (As you can see in the example above "MY_CONTAINER_ENV").
But, in my case I want to use a GitHub Secret as a value of that env variable in the YAML file. For this reason, I need to replace the value I have in the YAML file for the value I have in GitHub Secrets.
MY_CONTAINER_ENV: "${{ secrets.MY_CONTAINER_ENV }}"

@josetavioq Have you considered using helm for the same? You could use helm to replace tokens and in turn using azure/k8s-bake action convert your helm chart to raw manifests and pipe it to k8s-deploy action.
Here's some documentation: https://docs.microsoft.com/en-us/azure/devops/pipelines/ecosystems/kubernetes/bake?view=azure-devops
Although the documentation talks about usage in ADO environment, we followed the same concepts in our https://github.com/azure/k8s-bake action.

@ds-ms Helm no, but I use another task to replace the env, as you can see below.
    - name: YAML Transform - MY_CONTAINER_ENV
      uses: jwsi/secret-parser@v1
      with:
        filename: kubernetes.yaml
        secret-name: MY_CONTAINER_ENV
        secret-value: ${{ secrets.MY_CONTAINER_ENV }}

As I said, it would be nice if we have an option in this task, to avoid use another task to do a simple replace.

Hello! You should use k8s-bake to do this. GitHub actions should be as limited in scope as possible and this is out of scope for this action.


CLI Type Resolution and Reader/Writer Interface Improvements

Revamps CLI parameters
Enables Type Resolution
Enables configuration of CSharpWriter
Isolates and tests various responsibilities of the CLI [metadata getting, file
writing, type resolution]
Replaces Dictionary<String, String> representation of Text Files with an explicit TextFile and TextFileCollection

@marcote I chose to go with a class because I expect we're going to want to furhter enhance the state being passed around between readers/writers and the host. A class is much easier to refactor into what we want than would be an enumerable of TextFile. Since I had to touch all of the callsites of the old Dictionary<string, string> I decided to bite the bullet on this one.

LGTM


GL ERROR :GL_INVALID_VALUE

Version

Phaser Version: 3.60.0-beta12
Operating system: Android 10 , Android 11, Android 12 (these has been tested - all Pixel 1, 4, 6a)
Browser: Chrome

Description
When used compressed textures via ASTC/PVR I received the following warrning for them:
[.WebGL-0xccadc200]GL ERROR :GL_INVALID_VALUE : glCompressedTexImage2D: dimensions out of range
For example this is the texture that we use: https://appspowerplaymanager.vshcdn.net/images/winter-sports/map/sprites/compressed/buildings-astc12x12-hash-correct-name.pvr
Additional Information
In the console log I can see that there are 20 of these errors and I have 19 textures used in my game. So it looks that almost all of them are throwing this issue. Right after these 20 issues I can see the following warrning:
[.WebGL-0xccadc200]RENDER WARNING: Render count or primcount is 0.
And this is happening in loop, it might be interconnected.

same issue with ASTC/PVR textures...

The same issue

Does Android even support this format fully? ETC1 is the most common format for Android. ASTC support was around 60% last time I checked.
If you create a single test case that does nothing but load in a compressed texture (with the fallbacks it should require) and adds a single sprite to the Scene, what happens then? Same error? Does it fail with the ASTC files available in the Phaser 3 Examples repo as well, or just yours?
I need a test case, really, as I don't have any Android hardware.
Also, no useless 'same issue' comments, please. If you want to help, provide test cases and debugging info.

Hi @photonstorm ,
based on what I know, the support for ASTC is quite good at the moment. In 2020 for Android it was 77% (https://developer.android.com/guide/playcore/asset-delivery/texture-compression) so now it will be even more I think. On the other hand, based on what I red the ASTC is the best format because of multiple reasons (https://developer.nvidia.com/astc-texture-compression-for-game-assets). I choosed it becasue it has the textures has the same quality as it has with ETC2 but the disk size of the file is much lower with ASTC 12x12. Because we have a web based game it is quite important for us to reduce the network transfer.
Reagards to support on those specific devices, I am quite sure that they support it, because the only reason why I know that there are these type of warnings is that I opened JS console. The game is working without any issues, the VRAM is used on very low levels compare to PNG format and from user perspective, all is fine.
The code which we use is following:
For sprite sheets
export const atlasLoader = (phaser, loadArray) => {   loadArray.forEach(({ name, compressed, data }) => {     if (compressed) {       phaser.load.texture(name, {         ASTC: {           type: data.astc.type,           textureURL: data.astc.textureURL,           atlasURL: data.astc.atlasURL,         },         S3TC: {           type: data.s3tc.type,           textureURL: data.s3tc.textureURL,           atlasURL: data.s3tc.atlasURL,         },         ETC: {           type: data.etc.type,           textureURL: data.etc.textureURL,           atlasURL: data.etc.atlasURL,         },         PVRTC: {           type: data.pvrtc.type,           textureURL: data.pvrtc.textureURL,           atlasURL: data.pvrtc.atlasURL,         },         IMG: {           textureURL: data.img.textureURL,           atlasURL: data.img.atlasURL,         },       })     } else {       phaser.load.atlas(name, data.image, data.json)     }   }) }
For single files
`
import { pathImages } from '@/globalVariables'
export const imageLoader = (phaser, loadArray) => {
loadArray.forEach(({ name, compressed, data }) => {
if (compressed) {
phaser.load.texture(name, {
ASTC: {
type: data.astc.type,
textureURL: pathImages + data.astc.textureURL,
},
S3TC: {
type: data.s3tc.type,
textureURL: pathImages + data.s3tc.textureURL,
},
ETC: {
type: data.etc.type,
textureURL: pathImages + data.etc.textureURL,
},
PVRTC: {
type: data.pvrtc.type,
textureURL: pathImages + data.pvrtc.textureURL,
},
IMG: {
textureURL: pathImages + data.img.textureURL,
},
})
} else {
phaser.load.image(name, pathImages + data.place)
}
})
}
`
So I assumed that Phaser as a framework will go to the list of available options and go one by one from first to last (ASTC - S3TC - ETC - PVRTC if no compressed format support available use IMG) and use the one, which is supported.
This was happening in Beta 10 , 11 and now 12. Thank you for your response.
Dominik

Yes, the order is important as it's in GPU priority order. So if there are 2 formats the GPU supports in the list, the first one is the one that is picked.
Are you saying that despite the errors, it's still actually rendering ok? Are they just warnings, rather than stop errors?
From the Khronos specs: "GL_INVALID_VALUE is generated if imageSize is not consistent with the format, dimensions, and contents of the specified compressed image data."
Which to me makes me think Android is expecting a dimension it isn't getting. This is why I asked if the textures in the Phaser Labs do the same as your own textures.

Hi, yes I am getting the same outcome, this is an screenshot from Pixel 1 Android 10 but I can provide more devices if you want:

Any update on this?

The warning message you are seeing indicates that the dimensions of the compressed texture you are trying to load are out of range. This can happen if the texture dimensions are not supported by the device or if the texture data is corrupted.
Here are some steps you can take to resolve the issue:
Check the supported texture formats for your device: Make sure that the compressed texture format you are using is supported by the device. You can check the supported texture formats by using WebGLRenderingContext.getSupportedExtensions() method.
Check the texture data: Check that the compressed texture data is not corrupted. You can use a tool like PVRTexTool or ASTCTextureCompressor to compress the textures and ensure that they are valid.
Check the texture dimensions: Ensure that the dimensions of the compressed textures are within the supported range of the device. You can check the supported texture dimensions by using WebGLRenderingContext.getParameter() method with the constants MAX_TEXTURE_SIZE and MAX_CUBE_MAP_TEXTURE_SIZE.
Upgrade Phaser version: Consider upgrading to the latest Phaser version to see if the issue is resolved. There may be a bug in the current beta version you are using that has been fixed in a newer release.
I hope this helps you!

SlimHR

I've tested v3.80 Beta 1 with this example https://labs.phaser.io/view.html?src=src\textures\compressed texture atlas.js&v=dev on:
Google Pixel 4 - Android v10
Google Pixel 7 - Android v13
Samsung Galaxy S20 - Android v10
And they all render, but I get the following in the console once per texture:
GL_INVALID_VALUE: The texture is a non-power-of-two texture.
Which is fair enough I guess, as they aren't!
I don't have access to any devices lower than a Pixel 3, but that has Android 9 on it which doesn't run the Phaser labs. So currently am a bit stuck what else to try.

Will check it next week.

Ok I can see the following message in console

I tested the following list of devices:
Pixel 8 Pro Android 14
Pixel 8 Android 14
Pixel 7 Android 13
Pixel 7 Android Pro 13
Pixel 6 Android Pro 13
Pixel 6 Android 12
Pixel 6 Android Pro 12
Pixel 5 Android 11
Pixel 5 Android 12
Pixel 4 Android 11
Pixel 4 Android 10
Pixel 4 XL Android 10
Pixel 3a XL Android 9
Pixel 3a Android 9
Pixel 2 Android 8
But still when I enter my game which has all textures generated by TexturePacker I am getting the following warnings:

I do not know, how to solve this. Because the textures are displayed correctly.

Yeah, we'll look at this one soon, as it fits well with the new internal texture work.

We've dug through the compressed texture system, and made it more capable and better able to recognise issues within textures. We can't stop WebGL from complaining, but we can explain probable causes on a per-file basis, and block files that might work sometimes but still contain glitches.
The core problem is, tools like TexturePacker don't enforce some of WebGL's requirements. The files might be valid in another OpenGL context, but in WebGL they're not. Ordinarily I'd say these errors are due to mipmap levels, where the top level is fine but deeper levels are not; but TexturePacker doesn't generate mipmaps, as far as I'm aware.
We've looked at the texture in the initial issue report, and it's a perfect TexturePacker file, with no deeper mipmaps and fulfilling all the requirements in the ASTC format specifications. ASTC with no mip levels shouldn't have any restrictions on resolution. The safest resolutions in WebGL are always power-of-two, particularly when working with mipmaps, but that shouldn't be necessary here. (It is something to try if warnings persist.) The only issue is that it's in sRGB color, which we didn't previously support (we treated it as linear). Phaser's increased capabilities should treat the file correctly going forward.
I'm closing the issue, but please test the latest updates to Phaser, and we'll reopen if needed. If it invalidates any existing files, it will give a precise reason, and point us in the direction of resolving it!


Bring the pub-key and optional name to dashboard and allow filtering by that

Raised by Viv

Completed. Test now closed.