How do i fix Nuxt Warning 'nuxt build finished but did not exit after 5s'?

Describe the bug
╭───────────────────────────╮
│ │
│ ⚠ Nuxt Warning │
│ │
│ The command 'nuxt build' finished but did not exit after 5s │
│ │
│ This is most likely not caused by a bug in Nuxt.js │
│ │
│ Make sure to cleanup all timers and listeners you or your │
│ plugins/modules start. │
│ Nuxt.js will now force exit │
│ │
│ DeprecationWarning: Starting with Nuxt version 3 this will . │
│ be a fatal error │
│
╰───────────────────────────╯
Using nuxt-speedkit as a module gives me this error. Is there any workaround to solve this ?

Hello @ThornWalli ,
I am working on a project with Nuxt and I am getting this issue; I am using fully SPA mode with ssr:false and I haven't used anything like firebase (saw a thread with same issue with firebase . . My team considers this to be a serious issue and I am finding hard time figuring out whats wrong. Unfortunately I cannot share my code but could you please give me a general idea of what might be happening and why would the issue occur? I am using few nuxt modules like 'Auth-next, google-analytics, nuxt-axios, nuxt-speedkit' and few others. I have couple of middlewares too but they are pretty simple and they don't have any timers; neither do any plugins.
this is my build configuration
build: {
    parallel: false,
    cache: true,
    hardSource: true,
    transpile: [/^element-ui/, /^vue2-google-maps($|\/)/],
    // maxChunkSize: 100000,
    babel: {
      compact: true,
    },
    extend(config, { isDev, isClient }) {
      // config.resolve.alias['chart.js'] = 'chart.js/dist/Chart.js'
      if (isClient && !isDev) {
        config.optimization.splitChunks.maxSize = 250000;
        config.performance.hints = false;
        config.devtool = false;
      }
    },
    // analyze: true,
    // parallel: false,
    // cache: true,
    // hardSource: true,
  },
 modules: [
    "@nuxtjs/axios", "@nuxtjs/auth-next",
    'nuxt-speedkit'
  ],
 speedkit: {
    detection: {
      performance: true,
      browserSupport: true
    },
    performanceMetrics: {
      device: {
        hardwareConcurrency: { min: 2, max: 48 },
        deviceMemory: { min: 2 }
      },
      timing: {
        fcp: 800,
        dcl: 1200
      },
      lighthouseDetectionByUserAgent: false
    }
  }

Toggling parallel option didn't help either. Really stuck with this one.

@gitamgadtaula
I think your problem is the SPA mode. nuxt-speedkit and the included @nuxt/image is for ssr and server mode.

nuxt-speedkit needs the static markup, because there are the preloads included for the fast pageload only so you can get good pagespeed.
@nuxt/image must be used in ssr or server mode. Here is nothing more to SPA https://image.nuxtjs.org/getting-started/installation

Your imports for Chart.js, element-ui and vue2-google-maps are async?
e.g.
const ChartJs = await import('chars.js');

If not, this might not be a reason why the build takes long.
Is there anything wrong with the ssr approach?

Close the issue for now, but can be reopened if used.


Css Variables fallback

People are increasingly using css variables over less variables because of their inheritance abilities.
Unfortunately, ie11.
It would be very helpful if this plugin were to add a version of the property if a fallback is specified. For example:
@highlight: red;

::root {
--highlight: @highlight;
}

div{
--highlight: green;
}

a{
color: var(--highlight, @highlight)
}

Currently, the above compiles to:
::root {
  --highlight: red;
}
div {
  --highlight: green;
}
a {
  color: var(--highlight, red);
}

This would result in anchors being red in most cases. For browsers that support variables, anchors would be green if inside a div.
In a browser that doesn't support variables, anchors will be the default anchor colour.
My question is this:
Would it be possible for auto-prefix to turn color: var(--highlight, @highlight) into
color: @highlight;
color: var(--highlight, @highlight);

The plugin has no idea of Less variables (basically the plugin is a wrapped over
And even if it, what you want is still impossible simply because Less has no idea of your HTML hierarchy (note Less code is compiled to a CSS with no knowledge what page you'll later apply this CSS to). E.g. consider the following snippet:
CSS:

div  {--highlight: green}
span {--highlight: blue}
a {color: var(--highlight)}

HTML:

Foo

Bar

Now how Less can possibly know if the fallback value is blue or green?. There's no way.

Closing as NA.


iOS playback in silent mode

I'm not sure if this is a bug or a feature request - or both?
Basically, I'm building a web app that I want to be able to be used on a phone as well. On the iPhone I have, I have to unmute my phone.
I did some research and it looks like that's required, but I'm also using the Duolingo web app which plays sound just fine when my phone is silenced.
Is there any way that this might be possible with Tone? I'd rather not have my users have to unmute their phones...
Thanks!

Hi David, I'm also not sure if that is a bug or a feature. :-) However there is a workaround. @feross turned it into an npm package.
https://github.com/feross/unmute-ios-audio

Hi David, I'm also not sure if that is a bug or a feature. :-) However there is a workaround. @feross turned it into an npm package.
https://github.com/feross/unmute-ios-audio

Interesting I'll check that out! Thanks so much

Interesting I'll check that out! Thanks so much


Add failing test case for bug #295

#295

Hi! Thank you for your pull request, but this looks like it might be better suited for the toml-test suite.

No problem, I've created PR BurntSushi/toml-test#62 👍


remove React.StrictMode in playground to avoid full rerender on screen resize

See #347, but there might be a better way...

Hey @peteward ,
Thank you for the PR!
However, I think it's better to have React.StrictMode during development, so I can't merge this approach...

I think I have an appropriate solution for this now. I will open another PR soon.


Improve performance

Onefetch's performance isn't so good to say the least. Even if we rely heavily on other tools for core functionalities (language statistics, license detection, git information), the post processing done by Onefetch adds a "significant" overhead - Moving forward, will require specific benchmarks to account for performance gain/losses - But a quick test on a relatively large repo Linux can give us a first idea:
o2sh:~/dev/linux (master) $ time onefetch --> 0m34,531s
o2sh:~/dev/linux (master) $ time tokei --> 0m11,897s
To achieve good performance some fundamental changes have to be made. Doing that will take a while because it makes it necessary to replace some core abstractions. The good news is that improving or even replacing those abstractions will have other benefits beside improved performance.

There are three primary paths for improving performance:

Refactoring
Caching
Asynchronicity/Multi-threading

So aside from this overview, these changes will also be discussed independently, in dedicated issues.

To make sure both onefetch and tokei have the same size vs speed optimizations, you might want to compile onefetch with the same release profile as tokei.
[profile.release]
lto = "thin"
panic = "abort"

@o2sh When using tokei as a binary, which version are you running?
Here's what I'm getting.
tokei --version
# tokei 12.0.4 compiled with serialization support: json
onefetch --version
# onefetch 2.3.0

cd linux
time tokei ../linux
# roughly 26 seconds typically
time ./target/release/onefetch ../linux
# roughly 19 seconds typically

Using tokei installed from Crates.io, onefetch compiled with --release flag @ b1d9c22dc8a2d5721e7940a95928cda8c1348877

Bumped some dependencies that report performance improvements in the release notes
#189
#194
#190

@o2sh When using tokei as a binary, which version are you running?
Here's what I'm getting.
tokei --version
# tokei 12.0.4 compiled with serialization support: json

time tokei ../linux
# roughly 26 seconds typically
time ./target/release/onefetch ../linux
# roughly 19 seconds typically

Using tokei installed from Crates.io, onefetch compiled with --release flag @ b1d9c22

This is very strange, I'm also running the version 12.0.4 of tokei. Did you have smth running on your machine that may have interfered with the response time ? Do you get the same results every time ?

I did clone linux at --depth=1, which may positively impact onefetch's behavior.

Alright, cloned at --depth=50 now, and noticed that onefetch seems to be consistently 2-3 seconds slower than it was at --depth=1 (same onefetch build I was previously using). So I'm thinking that maybe either sheer number of commits or the size of the deltas in the repo is the biggest factor for slowing down onefetch in the linux repo.

In order to get a better picture of the Response time's distribution among function calls. I added a little telemetry (available on this branch) to detect the 'hot' spots :collision: where onefetch is struggling.
Here are the results for the Linux repo:
o2sh:~/dev/linux (master) $ onefetch
get_language_stats --> 2.696831215s
get_configuration --> 24.528µs
get_current_commit_info --> 1.132701ms
get_authors --> 9.683836222s
get_git_info --> 1.874656ms
get_version --> 1.41074ms
get_commits --> 6.315069997s
get_pending_pending --> 128.824896ms
get_packed_size --> 20.631127ms
get_last_change --> 1.778009ms
get_creation_time --> 9.860741358s
get_project_license --> 88.195828ms

...and the culprits :suspect: are:  get_creation_time  > get_authors >  get_commits

git log --reverse, used by get_authors, does seem to have a large performance impact in the Linux repo. Even at a depth of 50, it takes about half a second to create a reverse log, while a normal log is instantaneous. I'm not at all familiar with the git2 crate, but, looking at the docs.rs, I wonder if interaction with repo history via the References iterator would be faster than running git log commands. For example, assuming References are sorted chronologically,
let repo: Repository; // declare repo
let first_commit = repo.rev().next().unwrap().peel_to_commit().unwrap();

Again, unfamiliar with git2, so not sure if this would work. But using a Rust iterator, which lazily evaluates its items, might be faster than executing git commands.

I wonder if interaction with repo history via the References iterator would be faster than running git log commands

It's an idea worth exploring. Especially considering that git log is at the core of two of the slowest info line functions: get_creation_time and get_authors. This is a one stone two birds opportunity :100:


Remove loading eBPF code

leave only reading part

Fixes: #1437

Looks great!  Merging.
I've created https://github.com/criblio/appscope/issues/1464 for work we may want to consider going forward.


Recovery middleware

I noticed that relatively recently the recovery middleware got added:
ErrorHandlerFunc func(interface{}).
If rec.ErrorHandlerFunc(err) panics, then recovery middleware will be useless because it is itself inside the recover()

On second thoughts, I guess you can add 2 recovery middleware one after another.

@pjebs you are correct in that -- it would be the passer's responsibility to catch any panics thrown within their handler. They could do so with something like:
rec := negroni.NewRecovery()
rec.ErrorHandlerFunc = func(foo interface) {
  defer func() {
    if err := recover(); err != nil {
      fmt.Println("panic'd in our recovery")
    }
  }()

  // something that might panic
}

Seems a bit dangerous to me. If we expected the user to have to make sure their code was bullet proof, we wouldn't even need the recovery middleware. The recovery middleware should be the final wall of protection.

@pjebs I agree, which is the default behavior. If you are specifying a custom handler, I'd argue that you take on the responsibility of writing code that shouldn't itself panic (similar to handling trapping signals in other languages)., but I concede that this could be better documented.
The alternative is that we wrap the call to user's function in another anonymous function with its own defer to catch any possible panics. I'd be OK with this as long as it was possible to opt-out of the behavior. I'll think on that a bit more.

I think the best option is what you stated: wrap with its own defer.
I can't image ANY reason to be able to opt out.

It could conceivably be the case that you never expect your handler to fail and would prefer that the app die (and perhaps be restarted by a process manager), but I admit that it is unlikely.

well why would they use recovery middleware then?

@pjebs I mean if their handler panicd, not if the original request caused a panic.

Let them call os.Exit() from inside their handler if that is their desire, perhaps inside the error handler's defer.

Sure, either way we introduce work for the party that wants the opposite behavior. I think you are correct that it the more expected behavior is to recover the additional panics for the user though.

Put together #138 with a possible approach

Closed by #138 -- thanks for bringing this up @pjebs !


Rigid category

thx. looks very good to me. we should probably emphasize that it is a definition for left rigid

thx. looks very good to me. we should probably emphasize that it is a definition for left rigid

It requires the category to be symmetric, so the left or right rigidity means the same thing.


glfs: add discard support

Fixes: #395
Signed-off-by: Prasanna Kumar Kalever<EMAIL_ADDRESS>

please-review: @mikechristie @lxbsz @pranithk

I fixed the conflicts in the attached patch.
rebase-396.txt

@lxbsz you guys were ok with my updated patch above right?

@mikechristie
Yes, before I tested it and It looks good to me.


⚠ Bofrost.de has degraded performance

In c0bd7b1, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1366 ms

Resolved: Bofrost.de performance has improved in 2d19d1d after 37 minutes.


StackOverflow in CatmullRomSpline.generateSamples

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
I am using CatMullRomSpline to generate a smooth path that goes between some points.
In production, I see rare StackoverflowErrors thrown in CatmullRomSpline.generateSamples ( https://github.com/flutter/flutter/blob/e8e10b143b4546646cd442dd7819d85ce0d706c2/packages/flutter/lib/src/animation/curves.dart#L499 ) .
This is the Stacktrace:
StackOverflowError: Stack Overflow
  File "curves.dart", in CatmullRomSpline._initializeIfNeeded
  File "curves.dart", in CatmullRomSpline.transformInternal
  File "curves.dart", in ParametricCurve.transform
  File "curves.dart", in Curve2D.generateSamples.sample
  File "curves.dart", in Curve2D.generateSamples.sample
  File "curves.dart", in Curve2D.generateSamples.sample
  File "curves.dart", in Curve2D.generateSamples.sample
  File "curves.dart", in Curve2D.generateSamples.sample
  ... (repeated many times)
  File "curves.dart", in Curve2D.generateSamples.sample
  File "curves.dart", in Curve2D.generateSamples.sample
  File "curves.dart", in Curve2D.generateSamples.sample
  File "curves.dart", in Curve2D.generateSamples.sample
  File "curves.dart", in Curve2D.generateSamples
  File "graph_line_events_painter.dart", in drawSmoothPath
  File "graph_line_events_painter.dart", in GraphLineAndEventsPainter.paint
  File "custom_paint.dart", in RenderCustomPaint._paintWithPainter
  File "custom_paint.dart", in RenderCustomPaint.paint
  File "object.dart", in RenderObject._paintWithContext
  File "object.dart", in PaintingContext.paintChild
  File "layout_builder.dart", in _RenderLayoutBuilder.paint
  File "object.dart", in RenderObject._paintWithContext
  File "object.dart", in PaintingContext._repaintCompositedChild
  File "object.dart", in PipelineOwner.flushPaint
  File "binding.dart", in RendererBinding.drawFrame
  File "binding.dart", in WidgetsBinding.drawFrame
  File "binding.dart", in RendererBinding._handlePersistentFrameCallback
  File "binding.dart", in SchedulerBinding._invokeFrameCallback
  File "binding.dart", in SchedulerBinding.handleDrawFrame
  File "binding.dart", in SchedulerBinding._handleDrawFrame
  File "hooks.dart", in _invoke
  File "platform_dispatcher.dart", in PlatformDispatcher._drawFrame
  File "hooks.dart", in _drawFrame

This only seems to happen rarely with specific values, I did not find a way to reproduce it yet.
I am using a tolerance value of 0.1 (much higher than the default of 1e-10), so the recursion should not go that deep.
This is either a bug in the sample function of CatmullRomspline, where the recursion cannot progress for some reason, or the recursive implementation is just prone to stack overflow errors.
I suspect it's the latter, and suggest to to use a Stack to avoid relying o the callstack.
e.g. instead of
  void sample(Curve2DSample p, Curve2DSample q, {bool forceSubdivide = false}) {
      // Pick a random point somewhat near the center, which avoids aliasing
      // problems with periodic curves.
      final double t = p.t + (0.45 + 0.1 * rand.nextDouble()) * (q.t - p.t);
      final Curve2DSample r = Curve2DSample(t, transform(t));

      if (!forceSubdivide && isFlat(p.value, q.value, r.value)) {
        samples.add(q);
      } else {
        sample(p, r);
        sample(r, q);
      }
    }

use something like

void sample(Curve2DSample p, Curve2DSample q, {bool forceSubdivide = false}) {
    List<Curve2DSample> stack = [q, p]; // Stack for non-recursive DFS

    while (stack.isNotEmpty) {
      Curve2DSample q = stack.removeLast();
      Curve2DSample p = stack.removeLast();

      // Pick a random point somewhat near the center, which avoids aliasing
      // problems with periodic curves.
      final double t = p.t + (0.45 + 0.1 * rand.nextDouble()) * (q.t - p.t);
      final Curve2DSample r = Curve2DSample(t, transform(t));

      if (!forceSubdivide && isFlat(p.value, q.value, r.value)) {
        samples.add(q);
      } else {
        stack.add(q);
        stack.add(r);
        stack.add(r);
        stack.add(p);
      }
    }
  }

Expected results
The function call should not overflow within reasonable sample lenghts and such a high tolerance.
Actual results
It overflows the call stack
Code sample
I am unable to produce a minimal reproducible sample at this time, as I only have cash reports.
Flutter Doctor output
Doctor output
[!] Flutter (Channel stable, 3.10.3, on macOS 13.4.1 22F770820d darwin-arm64, locale en-GB)
    • Flutter version 3.10.3 on channel stable at /Users/kami/fvm/versions/3.10.3
    ! Warning: `flutter` on your path resolves to /Users/kami/fvm/versions/stable/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/kami/fvm/versions/3.10.3. Consider adding /Users/kami/fvm/versions/3.10.3/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/kami/fvm/versions/stable/bin/dart, which is not inside your current Flutter SDK checkout at /Users/kami/fvm/versions/3.10.3. Consider adding /Users/kami/fvm/versions/3.10.3/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f92f44110e (8 weeks ago), 2023-06-01 18:17:33 -0500
    • Engine revision 2a3401c9bb
    • Dart version 3.0.3
    • DevTools version 2.23.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/kami/Library/Android/sdk
    • Platform android-33, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.12.1

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

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] IntelliJ IDEA Community Edition (version 2021.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] VS Code (version 1.79.0-insider)
    • VS Code at /Applications/Visual Studio Code - Insiders.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

Hi @knaeckeKami. Please can you provide more information on this

Can you provide a full crash report??
Does this crash the app?
Do you have details on which devices this crash occurs i.e. is it specific to some devices or all?

It's not a hard crash, but since an exception is thrown in the build() method a widget, this widget won't render properly.

Do you have details on which devices this crash occurs i.e. is it specific to some devices or all?

I can give you some devices where this occured:
iPhone 11 iOS 16.0.2(20A380)
iPhone SE (2nd generation) iOS 16.5.1(20F75)
iPhone XR (N841AP)  iOS 16.5.1(20F75)
I don't have crash report from android.
But, given the the stack trace, I assume it's not a device specific issues but rather a corner case where the recursion of the sampling is unbounded or unexpectedly deep.
Unfortunately,  I was not able to provide a sample input that triggers this to the CatMullRomspline constuctor.

@dam-ease FYI for future triage, flutter/packages/flutter is the root of the path of any file in the framework (the flutter/flutter repo), and is (confusingly) unrelated to the flutter/packages repository.

FWIW I tracked it down and it's related to having double.nan or double.infity in the offset list.
repro:
  const offsets = [
    Offset(0, 1),
    Offset(1,1),
    Offset(2,2),
    Offset(3,3),
    Offset(4, double.infinity),
  ];

  CatmullRomSpline(offsets).generateSamples();

It's obviously an error to use CatmullRomSpline with non-finite values.
Feel free to close the issue if you think it's acceptable to generateSample() overflows the stack when called with invalid values.

Thanks for the update @knaeckeKami! Maybe we should add an assertion and provide a better error message here. I am going to leave this open to do that.

@gspencer I was looking to add an error message right quick for this. I noticed we validate the control points for CatmullRomCurve, so I figured I would do similar for CatmullRomSpline, but I noticed in CatmullRomCurve the Y is intentionally unconstrained, which in the test case above is causing the issue.
Can we assert that Y is at least finite?


Introduce storage references

Motivation
While the current use model model for storage is quite ergonomic, it is missing an important element to enable important features such as:

The ability to read/modify an arbitrary storage variable in functions.
The ability to read/modify an arbitrary storage variable in libraries.
The ability to compose storage collections such as StorageVec<StorageVec<T>>.
The ability to have a storage collection in a struct.

We always seem to come back to the idea of a "storage reference" every time any of the above use cases are discussed.
Proposals
There are two ways of introducing storage references.
Method 1
The first approach changes the expression storage.<> to return a storage reference. The reference can then be passed to function arguments and can be de-referenced via deref(). So, code that previously looked like
storage.x += 1;

would now look like
storage.x.deref() += 1;

The type of storage.x in this case would be some generic type called StorageRef<T> which contains enough information about the "location" of the storage variable. This could be a simple index or a list of indices in the case of a nested struct (i.e. whatever is needed to generate the storage keys for the variable).
Method 2
The second approach is very similar to the the first one except that it does not modify the meaning of storage.<>. Instead, we make storage references opt-in via an as_ref() call or a ref prefix such as:
let some_ref = storage.x.as_ref();

or
let some_ref = ref storage.x;

Implementation Details
A lot of the implementation details still have to be worked out, but we will need a special type called StorageRef<T> that represents the reference type in question. We have to decide on what it contains exactly and how "special" it is.
Code examples
Here's how accessing a storage variable in a library would look like:
// Library
library lib;

fn increment_var(storage_ref: StorageRef<u64>) {
    storage_ref.deref() += 1;
}

// Contract

storage {
    x: u64,
}

fn some_contract_method() {
    // Local updates
    storage.x += 1; // or storage.x.deref() += 1 if we go with Method 1

    // Library update
    increment_var(storage.x.as_ref()); // or increment_var(storage.x) if we go with Method 1
}

How practical would it be to do this?:
Method 3
Adopt Method 1, but manage the use of references in the compiler.
Backwards compatibility is maintained and additional deref() step is avoided.
Then, also enable explicit use of as_ref() to allow people to do things with these pointers in their code / apps.

Right, I do like backward compatibility :) Is Method 3 similar to Method 2? If not, how are they different? The compiler already handles references internally, and by references here I mean just keys really.

Maybe I'm misunderstanding things. Core idea is to not change what code app developers type, but instead 'invisibly' insert this reference syntax/functionality at compile.

Also, a very long related discussion here may also be of interest to you.

Core idea is to not change what code app developers type, but instead 'invisibly' insert this reference syntax/functionality at compile.

Yup! Thanks for clarifying.
Today, when you write .. = storage.x or storage.x = .., the compiler will decide on a storage key (basically a hash) at which x will be stored (or read from). This key is effectively a reference/pointer. Unlike regular memory, storage is a set of key-value pairs and not sequentially memory-mapped. So, in a way, the compiler is already "invisibly" inserting the reference and they using it, all in one go. And then you suggest an as_ref() to actually get that reference if needed, which makes total sense. I think we're on the same page?

I think we're on the same page?

I'm not sure
See:

So, code that previously looked like
storage.x += 1;
would now look like
storage.x.deref() += 1;

Goal is to get all the benefits of introducing the StorageRef<T> type without having to change how we write our code / breaking backward compatibility:
storage.x += 1 remains storage.x += 1, but somewhere along the way - maybe in the definition of += or maybe in a pre-compile stage or elsewhere, storage.x +=1 effectively gets rewritten to storage.x.deref() += 1.
Maybe this makes no sense though(?); would need to do more homework to get up to speed on this all.

@estill01 yeah I think this makes sense! We can definitely do some de-sugaring and transform storage.x += 1 into storage.x.deref() += 1. If I understand correctly, you're suggesting that the expression storage.x is a reference but when we write storage.x += 1, then this operation becomes storage.x.deref() += 1? My one worry with this is that when we write let r = storage.x, does this mean r is a reference? If yes, then do we still have to write let r = storage.x.deref() to get the actual data?

IMO storage is tricky (as in the constraints it imposes) and costly and most operations around using it should be fairly explicit.  We should not be pretending that storage values are just like globals and can be easily/cheaply accessed and modified.

If I understand correctly, you're suggesting that the expression storage.x is a reference but when we write storage.x += 1, then this operation becomes storage.x.deref() += 1?
@mohammadfawaz  Yep!

My one worry with this is that when we write let r = storage.x, does this mean r is a reference? If yes, then do we still have to write let r = storage.x.deref() to get the actual data?
Yes; does seem the same pattern should apply and the deref call should be sugared over and injected/managed during compile.

A user could still explicitly use as_ref() to get the reference object and manually manage it; this might require that as_ref() returns something like a ManualStorageRef<T> type.

@otrho Motivation is to enable resolution of #2465 which (IMO) significantly enhances developer experience / ease-of-use


Use libwebsocket's master for libuv-related bugfixes

PR moves libwesocket's version to current master
In the last two weeks LWS team fixed and pushed to master few important bugs related to using libuv foreign loops. I tested the code pretty extensively and propose to use master for builds.
In my windows setup I tested the triplet x64-windows-static.

See documentation.

Thanks for your comments. I'll update the PR ASAP.

I've asked LWS team to put tag 4.1.3 on v4.1-stable with libuv foreign loop fixes.
PR modified to reflect the correct commit id and version on CONTROL file.
Please, let me know what you think.
Thanks.

LGTM.


Query language skills

Describe the proposed contribution to the taxonomy

Just wondering if introducing some query language skills would be acceptable? Maybe really expressive query languages like SQL won't be great right now, but simpler ones, say for example PromQL might be possible?

Input given at the prompt

Can you write a PromQL query to calculate the average of the CPU usage of all the pods in default namespace? Use "container_cpu_usage_seconds_total" as the metric

Response from the current model

You've got it! Here's the PromQL query:
sum(rate{container_cpu_usage_seconds_total[default]}) / count(rate{container_cpu_usage_seconds_total[default]})

This query calculates the average of the `container_cpu_usage_seconds_total` metric for all pods in the `default` namespace.
The numerator is the sum rate of the metric, and the denominator is the number of non-zero values (pods) in the namespace.
This ensures that the average is calculated based on active pods, not including any potential missing or zero data points from inactive ones.

Response that you would expect instead with the contribution

avg(rate(container_cpu_usage_seconds_total{namespace="default"}[5m]))

This seems to fall into foundational skills which we currently don't accept right now, closing!


Cannot install kubectl and kubelogin with az aks install-cli

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks install-cli
Errors:
The command failed with an unexpected error. Here is the traceback:
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>
Traceback (most recent call last):
  File "/opt/az/lib/python3.10/urllib/request.py", line 1348, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/opt/az/lib/python3.10/http/client.py", line 1282, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/opt/az/lib/python3.10/http/client.py", line 1328, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/opt/az/lib/python3.10/http/client.py", line 1277, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/opt/az/lib/python3.10/http/client.py", line 1037, in _send_output
    self.send(msg)
  File "/opt/az/lib/python3.10/http/client.py", line 975, in send
    self.connect()
  File "/opt/az/lib/python3.10/http/client.py", line 1454, in connect
    self.sock = self._context.wrap_socket(self.sock,
  File "/opt/az/lib/python3.10/ssl.py", line 513, in wrap_socket
    return self.sslsocket_class._create(
  File "/opt/az/lib/python3.10/ssl.py", line 1071, in _create
    self.do_handshake()
  File "/opt/az/lib/python3.10/ssl.py", line 1342, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/az/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute
    raise ex
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 697, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 333, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/acs/custom.py", line 1469, in k8s_install_cli
    k8s_install_kubectl(cmd, client_version, install_location, base_src_url, arch=arch)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/acs/custom.py", line 1591, in k8s_install_kubectl
    version = urlopen(source_url + '/stable.txt', context=context).read()
  File "/opt/az/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File "/opt/az/lib/python3.10/urllib/request.py", line 519, in open
    response = self._open(req, data)
  File "/opt/az/lib/python3.10/urllib/request.py", line 536, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/opt/az/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/opt/az/lib/python3.10/urllib/request.py", line 1391, in https_open
    return self.do_open(http.client.HTTPSConnection, req,
  File "/opt/az/lib/python3.10/urllib/request.py", line 1351, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

az aks install-cli

Expected Behavior
Environment Summary
Certificates are added to /opt/az/lib/python3.10/site-packages/certifi/cacert.pem
Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.31, Ubuntu 20.04.6 LTS
Python 3.10.10
Installer: DEB

azure-cli 2.48.1

Extensions:
azure-devops 0.26.0
ml 2.15.1

Dependencies:
msal 1.20.0
azure-mgmt-resource 22.0.0

Additional Context
I am using a proxy and vpn as well.
My az login works as intended.
I can use az aks install-cli in Powershell (which fails, but with HTTP Error 403: rate limit exceeded).

Experiencing the same problem with new VM running Windows Server 2022 Datacenter Azure Edition; run az aks install-cli from command shell (not powershell).  AZ CLI 2.48.1 installed via msi.

@madacsbotond Apologies for the late reply. Thanks for reaching out to us and reporting this issue. From the error message it is pretty clear that there seems to be a proxy within your network. Please follow the below action plans to isolate if this is indeed related to the proxy.
Plan 1:
Could you please try to run the same command from a different machine which is on a completely different network? and check if that works.
Plan 2:
Try appending standard Python root CAs to your pem file and check if that helps to run the CLI command.
REQUESTS_CA_BUNDLE=$HOME/certs/internal.pem

Plan 3:
Try disabling SSL certificate verification temporarily by setting the REQUESTS_CA_BUNDLE environment variable to None and check if that helps to run the CLI command.
export REQUESTS_CA_BUNDLE=None

az aks install-cli

Plan 4:
Does other AzCLI commands like az login --debug commands like work fine ?
Plan 5:
Run this command and check the result:
python.exe" -c "import urllib.request; print(urllib.request.getproxies())"

Plan 6:
Please follow this article to make sure the issue is not caused by Azure CLI, but by Python and proxy.
https://github.com/jiasli/azure-notes/blob/master/cli/proxy-cert-linux.md
And to work behind a proxy follow this, please follow the instruction at https://docs.microsoft.com/cli/azure/use-cli-effectively#work-behind-a-proxy to trust the root certificate and add the root CA of the proxy to your CA bundle.

@madacsbotond I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please let us know if you had any updates on this. Awaiting your reply.

@madacsbotond The action is pending on you to try the above suggestion. We will now proceed with closure of this GitHub issue. If you need any further assistance on this issue in future, please feel free to reopen this thread. We would be happy to help.


title does not update after initial load

I'm using ember-page-title in my application, and the title only updates once when first loading the application. It will set the title properly.
However, subsequent transitions do not alter the title.
At the moment I do not have a reproduction, but can work on one.
I am using liquid-fire, which I suspect might be related.

Hey guys, I'm experiencing the exact same behavior with latest version 3.0.8. I'm also using liquid-fire 0.24.1 and my current ember version is 2.6.0. I've inspected headData.title, which is updating properly, but I've no idea why it's not rendered correctly after initial load when property changes. Would be great to get any update on this - thanks!

Hmm. I think I may be getting the same thing. Pinging @ronco, since I think this may have to do with ember-cli-head

Does anyone have a simple example app exhibiting the problem I can look at?

Thank you for your quick response. At the moment I've only my company's app where I encounter this problem. The interesting part is that my head.hbs file looks like (as I'm using ember-cli-meta-tags too):
<title>{{model.title}}</title>
{{head-tags headTags=model.headTags}}

headTags get updated properly, whereas title doesn't reflect the changes.

Thanks @arm1n.  I'll see if I can reproduce tonight.

Do you have a <title> tag in your index.html?

@arm1n I think @tim-evans has it.  Check out the demo app I put together here.  Everything functions correctly to update the page title when there is no <title> in index.html, however when there is it's static value trumps the dynamic value given from this addon.  Since we're setting the title from the actual DOM element value (rather than setting document.title = x) there can be only one <title> tag.
#28 illustrates this issue.  If you really were not going to use your app with fast boot we could put together a browser only initializer to remove the original <title> tag from the <head> before this addon adds the dynamic one.  In fastboot environments the original title coming from the server would be correct to begin with and ember-cli-head takes care of cleaning up fastboot head content before injecting browser dynamic head content.

@ronco @tim-evans Thank you for investigating in this issue, but unfortunately there's no head tag in my index.html, I've already verified this, as the docs state to remove it when starting to use v.3.0.0 upwards.

Do you have a head.hbs?

@tim-evans Yes, I've also a head.hbs located in app/templates, which looks like the following:
<title>{{model.title}}</title>
{{head-tags headTags=model.headTags}}

The funny thing is that if I add a dummy meta tag like:
<meta name="dummy-title" content={{model.title}}>
The content attribute gets updated properly, it only seems to have problems with the <title> tag. I've now also updated all versions of ember-page-title, ember-cli-meta-tags and ember-cli-head to the latest version, but this has no effect. I'm still using to Ember 2.6. Any help would be appreciated.

Huh. This is super strange.
Could you make a simple application with a reproduction for this? That way I can fiddle around with it and try to find the issue.

Hey Tim,
I've tried to setup an ember twiddle, but unfortunately the index.html cannot be modified in order to remove the <title> attribute from it, so that the behavior cannot be reproduced. But as a side-node: If I leave the <title> in my app's index.html, the <title> from head.hbs get updated, but as soon as I remove it from index.html the odd behavior applies.

Weird.

Could you try creating a whole application repo? I'd very much appreciate it ❤

I've just "fixed" a very similar issue in one of my applications.
I tracked it down to a JS widget which was also updating the page title using document.title = "foo" which looks to replace the <title> DOM node and it can no longer be updated by ember-page-title.
Changing the widget to use document.getElementsByTagName('title')[0].innerText = title fixed the issue as the node's contents are updated vs being replaced and so ember-page-title can carry on updating it.
May be unrelated to this issue, but the symptoms look the same.

Was it an internal component or external?

It was a 3rd party messenger widget, it updated the document.title when it received messages when you had the tab unfocused.

Ahh, that's tricky. If you have any ideas for how to fix, or solutions, I'd welcome it.

@tim-evans thankfully in this case I'm working for the company whose messenger widget it was, so I was able to submit a PR!
Might be worth a note in the README as a "gotcha" if other people notice similar behaviour to check they aren't using document.title = xxx, the only other thing I can think of is to not use ember-cli-head but to set the title content directly in a similar method to document.getElementsByTagName('title')[0].innerText.

🙆  Sounds good!
ember-cli-head is for all the fastboot peeps, so that's a no-go. Docs may be good for this!

Thanks for this hint, I've also tried to search for any addon manipulating document.title. Also tried the latest version 3.1.5, where <title> remains in index.html, but all efforts without any success. I've really no idea what's causing this behavior.

Ok so after revisiting this problem in my issue tracker I've tried another round of error cause detection, finally I got it working. Maybe this could be helpful for someone else:

The problem only occured in production, but worked normally in dev env (same as here)
The app does not use fastboot, but I'm using pods as well as other ember-cli-meta-tags.
Resolution: Moving head.hbs from app/template/head.hbs to app/head/template.hbs.

I don't know the ember internals well enough, but at least the change described in 3) made page title updating even after initial page load. So for me the issue has been resolved, ticket could be closed. Thanks for everybody's help!

@arm1n thanks for the update- that's super weird, but may have to do with pods resolution 🙃

Found that Drift live chat is incompatible due to document.title =  usage.
Looks like @rlivsey fixed the same problem with Intercom.
Have left the following message with support:

The problem I'm having is with the "Flash tab for new messages" feature. The injected Drift script uses document.title = "(1) New Message! to flash the page title.
Unfortunately this replaces the page  element in the  which means the tool I'm using to change page titles loses its reference to the original  element.
A compatible solution might be to change the drift snippet code from:
window && window.document ? window.document.title = newTitle : null
To:
document.getElementsByTagName('title')[0] ? document.getElementsByTagName('title')[0].innerText = newTitle : null


Bug fixes

Issues
Closes #156

The most recent commit will not load in IE.

Bug fix tested and passed.


Create widget setting page error.

Hi, I am trying to install the Local Layer widget and can't get past the configuration. I have made all of the code changes mentioned at https://github.com/cmndrbensisko/LocalLayer and when I start up Web AppBuilder, I do see the Local Layer Widget icon. When I click the pencil icon to configure it, I get the following error: Create widget setting page error: widgets/LocalLayer/Widget.
I have tried this four times each time starting with a clean install of WAB and I always get the error. Any idea what I am doing wrong?

cpicciri,  There as been MANY that have installed this without issue so I would say that you missed something small. Have you seen this guide: https://geonet.esri.com/servlet/JiveServlet/download/38-118684/TipsUsingLocalLayerWidget1.5.1.pdf

Robert,
Thanks for the quick reply. Yes, I’ve seen that PDF and followed it to the letter, plus, the additional changes from the readme for WAB 1.1 version.
I even validated the code after each change to make sure I didn’t have any typos using this site:
http://jsonformatter.curiousconcept.com/
Unfortunately, I am still getting the same error.
Carlos
From: Robert J Scheitlin<EMAIL_ADDRESS>Sent: Tuesday, July 14, 2015 2:55 PM
To: cmndrbensisko/LocalLayer
Cc: Piccirillo, Carlos
Subject: Re: [LocalLayer] Create widget setting page error. (#36)
cpicciri, There as been MANY that have installed this without issue so I would say that you missed something small. Have you seen this guide: https://geonet.esri.com/servlet/JiveServlet/download/38-118684/TipsUsingLocalLayerWidget1.5.1.pdf
—
Reply to this email directly or view it on GitHubhttps://github.com/cmndrbensisko/LocalLayer/issues/36#issuecomment-121340550.
We value your opinion. Please take a few minutes to share your comments on the service you received from the District by clicking on this linkhttp://my.sfwmd.gov/portal/page/portal/pg_grp_surveysystem/survey ext?pid=1653.

Carlos,  It would be best if you start a discussion in GeoNet  https://geonet.esri.com/discussion/create.jspa?containerType=700&containerID=1294

Okay, thanks.
From: Robert J Scheitlin<EMAIL_ADDRESS>Sent: Wednesday, July 15, 2015 3:17 PM
To: cmndrbensisko/LocalLayer
Cc: Piccirillo, Carlos
Subject: Re: [LocalLayer] Create widget setting page error. (#36)
Carlos, It would be best if you start a discussion in GeoNet https://geonet.esri.com/discussion/create.jspa?containerType=700&containerID=1294
—
Reply to this email directly or view it on GitHubhttps://github.com/cmndrbensisko/LocalLayer/issues/36#issuecomment-121718904.
We value your opinion. Please take a few minutes to share your comments on the service you received from the District by clicking on this linkhttp://my.sfwmd.gov/portal/page/portal/pg_grp_surveysystem/survey ext?pid=1653.

Unable to duplicate issue.


Patrick Kumi

Name
Patrick Kumi
Profile Image

Country
Uganda
Region
Bidibidi Refugee Settlement - Yumbe
Organisation
SIMILAR GROUND AND WARCHILD HOLLAND
Languages

English - Fluent   2. Kakwa - Good        3. Arabic - Good

Skill 1
Media & Art
Qualifications for Skill 1
With over 3 years of experience in digital marketing with only a certificate in digital marketing;

I have Proficiency in graphics design including Adobe Photoshop, Adobe Illustrator, and other visual design tools.
Good understanding of content management systems.
Excellent visual design skills.
Creative and open to new ideas

Skill 2
Community and Moderation
Qualifications for Skill 2
With over 6 years working in community projects with both local and international organizations, I have mastered the following very well besides currently working on my own community projects.

financial literacy
Categorizing data
Project management
Strategic Planning and Scheduling
Time management
Coordinating
Goal setting
Meeting deadlines
Multi-tasking
Prioritizing
Team Building
Collaboration
Communication
Flexibility
Listening
Observation
Participation
Respect
Sharing
Analytical
Critical thinking
Data analysis
Reporting
Research

Skill 3
Sustainability
Qualifications for Skill 3

SDGs,
Circular economy,
Environmental protection.
Foundational Knowledge.
Strong Leadership
I have the ability to Identify Strategic Opportunities

Skill 4
Web & Software
Qualifications for Skill 4

Proficiency in front-end development web programming languages such as HTML and CSS, and JavaScript.
Good understanding of search engine optimization principles.
Experience in using online social media platforms and other software programs
Proficient understanding of cross-browser compatibility issues.
Up-to-date experience with international web protocols, standards, and technologies.

describe yourself
5 years ago, I left South Sudan due to the civil war that broke out in my home town though I grew up with a single parent. Because of this, I never really knew what it meant to be a kid. Since the adults were quite unsupportive. I didn't learn how to relate well with other kids. While I didn't realize this back then, I had not learned self-awareness until years later.
Patrick Kumi is a Brand and Online Marketing Strategist a social worker who works together with professional persons, CEOs, and executives to grow their professional and personal brands. He has six-years’ experience in both working in social works and brand marketing for expensive brands and organization.
I also worked for new start-ups organizations and businesses, have afforded Patrick the knowledge of what drives sold-out launches, conversions. But what makes Patrick successful in his work areas isn't the mastery of marketing flavors or community projects, but how well, he can make a connection with the general public, he tries to help.
I graduated from Uganda Christian University with a Bachelor's degree in social works and social science, I also hold a diploma in business administration from the Institute of Accountant and commerce and a certificate in digital marketing. I have more than 5 years of experience in online marketing, specializing in extensive sales training or enablement, project leadership, Organational development and digital marketing among others.
As a Brand and Online Marketing Strategist, am capable of identifying and developing Websites and graphics design projects
my experience extends to programming and launching an internal blog for E-Communications. This featured product articles and alerts are covering SEO, SEM, eCommerce, mobile, social media marketing, and display advertising.
E-Mail
<EMAIL_ADDRESS>Phone
+245709616025/+245788439515
WhatsApp
+245788439515
Website
No response
Telegram
No response
GitHub
No response
LinkedIn
https://www.linkedin.com/in/patrick-kumi-00b06a1ba/
Twitter
@kumipatrick
Facebook
https://www.facebook.com/kumi.patric
Instagram
@PAT700K
Mastodon
No response
WikiFab
No response
Other
No response

done


Cleaning of temporary folder

Invoking epubcheck whether to do a report or to control an ePub results in unstuffing files in a temporary folder (%LOCALAPPDATA%\Temp on Windows). The data are not erased after control completion. Is it possible to add this feature in future releases.

Which EpubCheck version do you use?
A similar issue has been fixed with PR #608 in EpubCheck 4.0.1

I am curently using version 4.0.1 of epubcheck on Windows.

Any news ?

Can you probably upload a demo ePub file?
Which of the files can be found in the temp folder? Images? HTML?

The data we saw in the temp folder after the checking process are images.

I cannot reproduce this on Mac OS X. Temp folder gets cleaned after every run on my system with current EpubCheck 4.0.2
Sidenote: AFAIK we don't unzip the EPUB file. There's only one situation where we write to a temp folder and cleaning this has definately been fixed with #608 as stated above (only applies to checking expanded EPUBs anyways).
To be able to do further investigations, please provide a sample EPUB file and the commandline call you're using to check the EPUB file (e.g. java -jar epubcheck-4.0.1.jar test-file.epub or java -jar epubcheck-4.0.1.jar --mode exp expanded-epub-folder/, etc...)
Also check once again that you're really running version 4.0.1 or newer.


Feature/only update own org

What does this pull request aim to achieve? 💯
Resolves #919 #871
This does a few related things. I guess best practice would be to make smaller PRs but in this case with looming launch it seems a little more efficient to do 1.

Instead of using ownerId from F/E, use auth user's id on B/E
Require user to be owner to allow update/delete
Only show edit/post buttons on org profile if owner

I included update to delete (2 above) even though we aren't using it anywhere on F/E. I think that's fine but if you want me to undo I can (revised as separate commit).

[x] I have checked that no one else is working on similar changes.
[x] I have read the latest README and understand the development workflow.
[x] The name of this branch is: feature/<branch_name> (need to have cloned the repo not forked).
[x] This branch is rebased/merged with the latest master.
[x] There are no merge conflicts.
[x] There are no console warnings and errors.
[x] On the right hand side of this PR, I have linked the appropriate issue(s) under "Issues" and added a project progress under "Projects".

Is the ability to edit a post only available from the User profile page? Because if I create a post from an org, then click on the post I made, I won't have the option to edit it.

Is the ability to edit a post only available from the User profile page? Because if I create a post from an org, then click on the post I made, I won't have the option to edit it.

Editing organization posts is also an open PR #922

Just wanna know, if there is any reason, why the type comparison is preferred to the strict equality operator in lines 34, in the backend/lib/endpoints/organizations.js file. aside from that, every other thing seems fine.

The == was already there so at the time I decided not to change it. But yes strict equality would be preferable here because mongoose will always return null if not found. Fixed.


[Event Change Request] table 167 Job - OnBeforeAssistEdit

Hi,
could you please add the global variable NoSeriesMgt as a var parameter to the event OnBeforeAssistEdit?
The resulting signature would be:
local procedure OnBeforeAssistEdit(
    var Job: Record Job; var OldJob: Record Job; var Result: Boolean;
    // >>> NEW
    var NoSeriesMgt: Codeunit NoSeriesManagement;
    // <<< NEW
    var IsHandled: Boolean)

Thanks.

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


Running benchmarks fails

I'm trying to run the benchmarks and get the error:
fs.js:654
  return binding.readdir(pathModule._makeLong(path));
                 ^
Error: ENOENT, no such file or directory '/Users/allanebdrup/Dropbox/themis/benchmark/../test/jsonSchemaTestSuite/tests/draft4/'
    at Object.fs.readdirSync (fs.js:654:18)
    at readDirToObject (/Users/allanebdrup/Dropbox/themis/benchmark/tester.js:160:20)
    at Object.Tester.runDirectory (/Users/allanebdrup/Dropbox/themis/benchmark/tester.js:176:17)
    at Object.<anonymous> (/Users/allanebdrup/Dropbox/themis/benchmark/benchmark.js:115:8)

Seems the folder test/jsonSchemaTestSuite is missing from the repo. How do I get it?

You can check it out from https://github.com/json-schema/JSON-Schema-Test-Suite.git

cool. You should add it as a git submodule.
I'm trying to add is-my-json-valid and jsckto your benchmarks.

I'm already in the process of adding them myself. IMJV definitely seems a lot faster, however I'll have to look at its internals and see if it's feasible to gain the same efficiency in Themis given its additional feature set.
—
Sent from Mailbox
On Tue, Jan 27, 2015 at 3:11 PM, Allan Ebdrup<EMAIL_ADDRESS>wrote:

cool. You should add it as a git submodule.
I'm trying to add is-my-json-valid and jsckto your benchmarks.
Reply to this email directly or view it on GitHub:
https://github.com/playlyfe/themis/issues/6#issuecomment-71616917


[Storage] Fixed cspell typos in storage-queue

Description
Part of #22676
fixing incorrectly written words at source codes:
autenticated -> authenticated
All SDK Contribution checklist:

[X] The pull request does not introduce [breaking changes]
[X] CHANGELOG is updated for new features, bug fixes or other significant changes.
[X] I have read the contribution guidelines.

General Guidelines and Best Practices

[X] Title of the pull request is clear and informative.
[X] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

@bnbong I don't see any files changed in this PR. Can you take a look?

Closing due to inactivity. Please re-open if there are changes necessary. Thanks!


[SPARK-14630][Build][Core][SQL][Streaming] Code style: public abstract methods should have explicit return types

What changes were proposed in this pull request?
Currently many public abstract methods (in abstract classes as well as traits) don't declare return types explicitly, such as in o.a.s.streaming.dstream.InputDStream:
def start() // should be: def start(): Unit
def stop()  // should be: def stop(): Unit

These methods exist in core, sql, streaming; this PR fixes them.
How was this patch tested?
N/A

Test build #55809 has started for PR 12389 at commit d3d83b0.

LGTM. It's good practice to make method return types explicit, especially if they're to be implemented in other classes. This should not change any behavior since it just makes the implicit "Unit" return type explicit.

Test build #55809 has finished for PR 12389 at commit d3d83b0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/55809/
Test PASSed.

Merging in master. Thanks.

@srowen @rxin thank you for the review & merging! :-)


Total Count and other metrics are not updating.

My stopstalk account have stopped updating the count of problems. I tried several runs of update button but stuck at last week's count.

Hey @raj454raj
Is there any new update on this issue?

Hey @SargunNarula, this should be fixed now.


Error: 'EOF' on GKE when 'Deployments' page is opened

Already asked on Slack.
I had an issue with RBAC when I install conduit, resolved with requesting new credentials. And then injected to two deployments. Right after everything worked, but later after 15-30 min Deployments page failed, in same time Service mesh page is ok. When I do curl on API it hangs for a long time and then EOF:
$ curl http://<IP_ADDRESS>:8001/api/v1/namespaces/conduit/services/web:http/proxy/api/metrics\?window\=10m
Error: 'EOF'
Trying to reach: 'http://<IP_ADDRESS>:8084/api/metrics?window=10m'

$ kubectl -n conduit get po
NAME                          READY     STATUS    RESTARTS   AGE
controller-5dcf6df7d8-9586z   5/5       Running   0          10h
prometheus-85575d65f6-rqzk9   2/2       Running   0          10h
web-7c888f88d9-4d85j          1/1       Running   0          10h

$ kubectl -n conduit logs web-7c888f88d9-4d85j
time="2018-01-18T16:01:53Z" level=error msg="Post http://api:8085/api/v1/Stat: context canceled"
time="2018-01-18T16:50:39Z" level=error msg="Post http://api:8085/api/v1/Stat: context canceled"
time="2018-01-18T17:34:59Z" level=error msg="Post http://api:8085/api/v1/Stat: context canceled"
time="2018-01-18T17:34:59Z" level=error msg="Post http://api:8085/api/v1/Stat: context canceled"
time="2018-01-18T17:35:08Z" level=error msg="Post http://api:8085/api/v1/Stat: context canceled"
time="2018-01-18T17:35:08Z" level=error msg="Post http://api:8085/api/v1/Stat: context canceled"
time="2018-01-18T17:37:15Z" level=error msg="Internal Server Error: rpc error: code = Unknown desc = bad_response: bad response code 503"
time="2018-01-18T17:37:22Z" level=error msg="Internal Server Error: rpc error: code = Unknown desc = bad_response: bad response code 503"
time="2018-01-18T17:37:26Z" level=error msg="Internal Server Error: rpc error: code = Unknown desc = bad_response: bad response code 503"
time="2018-01-18T17:39:28Z" level=error msg="Internal Server Error: rpc error: code = Unknown desc = bad_response: bad response code 503"
time="2018-01-18T17:39:35Z" level=error msg="Internal Server Error: rpc error: code = Unknown desc = bad_response: bad response code 503"
time="2018-01-18T17:39:37Z" level=error msg="Internal Server Error: rpc error: code = Unknown desc = bad_response: bad response code 503"

kubectl -n conduit logs `kubectl -n conduit get po | grep controller | cut -d ' ' -f1` public-api
serving scrapable metrics on :9995
starting HTTP server on :8085

It might help, I have conduit installed on other cluster on GKE and Deploymentspage hangs time to time.
I'm happy to provide more info, just tell me what you need.

Hey @antonversal, we think that this issue was fixed as part of the telemetry improvements that just shipped with Conduit v0.3.0. Mind giving it a spin and reporting back?

please reopen if the issue persists! thanks

Hey guys, sorry for late response. Unfortunately I stoped using Conduit due to strange system behaviour. I can't confirm that the issue's resolved.

@antonversal 0.3.1 is out now if you want to give it another whirl. If you find any more strange behavior, please file an issue and we'll take care of it!


binary remote url support

https://github.com/PSPDFKit/PSPDFKitOCR-SP
https://swiftpackageregistry.com/JosephDuffy/SwiftChecksDangerPlugin

Fixed in bdf62d7037fa81cba8e24f632c09b705a6a33664


Color State incorrect when fading color (transition is set)

Given the fix for #18 there is now a new bug that is visible where the returned state is incorrect.
When in JSON mode and an MQTT command is sent to change the color the following is observed:
Changing color without transition works fine
SET: { 'color': {'r':0, 'g':255, 'b':0}}
STATE: {"state":"ON","brightness":145,"white_value":0,"color":{"r":0,"g":255,"b":0}}

but when a transition is set, it returns the state of the first step in the fade sequence rather than the actual set color. ie.
SET: { 'color': {'r':255, 'g':0, 'b':0}, 'transition': 4}
STATE: {"state":"ON","brightness":145,"white_value":0,"color":{"r":1,"g":254,"b":0}}

The returned color state is wrong.
This is related a bit to do with the flow of the program and the way the fade changes the m_color variables instead of setting m_color to be the final color and using other variables to handle the fading.

Pull request for this issue is #23


2 BOM available / wrong Footprints

There are more errors. You have uploaded 2 different BOM (csv and png) which differ in the parts list. Then 2 footprints are wrong. D2 does not match the schematic and U5 does not match the silkscreen

I have built 2, both are recognized on the pc and both allow the firmware upload without any problems. but both only have a static LED afterwards and the screen only has a backlight. must first set up a pc with linux to view the serial console, have no access to it with win 7


Remove test-runs dir, adjust .gitignore

Ignore libssl.map/libcrypto.map instead of ssl.map/crypto.map
test/test-runs is a temp directory that is not removed by
make clean or distclean.
It contains only a .rnd file but potentially others as well, therefore
RM -r is necessary to remove it.
I expect the RM for test/.rnd to be an orphan, thus removed.

Merged.  Thanks!


Can this be extended to Arm and/or other architectures with same ease?

In theory, yes, I don't know of any barriers of applying this to other architectures.  You would need a synthesizer for those architectures, though (something like STOKE but for arm, or whatever architecture you are interested in), which I don't think readily exists.


Feature/progamming exercise/swift template

Checklist

[x] I tested all changes and all related features with different users (student, tutor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[x] Client: I translated all the newly inserted strings into German and English

Motivation and Context

We want to have Swift exercises in Artemis, so that it also might be used in the iPraktikum.
Description

This PR adds a template for Swift programming exercises but doesn't contain valid tests for the CI, yet.
Steps for Testing

Log in to Artemis
Navigate to Course Administration
Create a new Programming Exercise, select Swift in the dropdown menu and enter a package name
Verify it was successful and start the exercise
Click on open in Online Editor
See a working template for BubbleSort and MergeSort as a Swift code exercise which package's name is the one defined in step 3.

Test Coverage

Screenshots

Note: The new programming languages are only supported with Bamboo, so make sure to use TS1 or TS3 when testing.

I get this error when I access the code editor:

I get this error when I access the code editor:

I think the ace-editor tries to load it.

@stefanwaldhauser and @fde312 this is also happening when opening a C exercise. I guess that this was also never noticed.
I have found that the ACE editor is trying to load libraries only for some programming languages. (No external loading in Java files).
The mentioned lib "mode-swift.js" and for C "mode-makefile.js" can both be found here: https://kibotics.org/static/ace-editor/src-min/
But what is the correct approach?

For me the result of the initial template is not correctly displayed. I think this should work before we merge this PR. I'll approve, if this is actually expected.

I've fixed the issue

For me the result of the initial template is not correctly displayed. I think this should work before we merge this PR. I'll approve, if this is actually expected.

I've fixed the issue

Solution passes the tests, but the template/submissions only report that the build failed due to failing tests (if I interpret the logs correctly). Is test reporting in the scope of this PR? We should report failed tests such that Artemis recognizes them.
I can also observe the problems the other two reported.

I've fixed the issue

For me now the template works. Good job! 🚀

And I was also able to create a rated submission:

@derLalla I am just wondering, because I solved MergeSort with the code for BubbleSort 😄
You also have some codacy code style issues, would be nice if you can take a look into those.

Yes, i guess it would also be possible in the Java exercise to solve the MergeSort by using the BubbleSort algorithm. It only checks if the correct interface is used.
The Swift test cases don't support the class and interface checks like the Java test cases do.

Nice contribution, the code looks generally very good. I only found some minor issues:

Please fill out all section in the PR template (Screenshot + Test Coverage)
There is a warning about static final, please fix it as well
Double check the README so it is consistent (e.g. the plantUML config) with other programming languages

thanks, I've fixed it. :)

I agree to the changes requested by @MaisiKoleni, thanks for the review.
Would be great if you could fix those issues, @derLalla


adding unleash chart

Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

@hbagdi and/or @shashiranjan84 can you please approve , this is new chart for unleash FT system on k8s

/ok-to-test

/assign @davidkarlsen

This repo is not accepting any new charts: https://github.com/helm/charts/#status-of-the-project

Hi 👋 new charts are no longer accepted to stable or incubator. See Status of the Project and Deprecation Timeline for more info about that.
Good news is you can host a Helm chart yourself on GitHub, use the same tools as this repo does for automatic Chart testing and releasing, and list your Helm repo on https://helm.hub.sh. Follow this issue for info about existing guidelines and upcoming improvements: https://github.com/helm/charts/issues/7800


feat: Implement a server healtcheck

/claim #254
/fixes #254
Description
Please include a summary of the change or the feature being introduced. Include relevant motivation and context. List any dependencies that are required for this change.
Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings

Related Issue(s)
This PR addresses issue #X
Screenshots
If relevant, please add screenshots.
Notes
Please add any relevant notes if necessary.

Please review @Tpuljak


Fixes for JcloudsLocation

See individual commits for details. Copied below for your convenience:
commit aba3f0980d7adfa1d7e9bf601c2ecbf1329a5a9e
Author: Aled Sage<EMAIL_ADDRESS>Date:   Fri Sep 23 21:40:06 2016 +0100

    JcloudsLocation: pass relevant config to child machine loc

    Previously it only passed a small selection of the config to the child
    location. But if you passed additional ssh config values in the
    `provisioning.properties` then they wouldn’t get passed through.

commit 9c9dd47810627da6b05450e89cbce40787faac17
Author: Aled Sage<EMAIL_ADDRESS>Date:   Fri Sep 23 21:25:18 2016 +0100

    Add JcloudsWinrmingLiveTest

    A test for JcloudsLocation provisioning (and WinRM’ing to) a Windows VM.

    Deletes the old AwsEc2LocationWindowsLiveTest, which was massively out
    of date and wrong.

commit d0d8cf09755c6adbdd6c5990aa77ab2a7f4d74b6
Author: Aled Sage<EMAIL_ADDRESS>Date:   Fri Sep 23 19:07:48 2016 +0100

    Mark failing tests as broken in JcloudsLoginLiveTest

commit d49441d18093a9967cc9d7050dfdbbb4f6d881ba
Author: Aled Sage<EMAIL_ADDRESS>Date:   Fri Sep 23 19:04:58 2016 +0100

    Fix MAP_DEV_RANDOM_TO_DEV_URANDOM for running as root

    Fixes JcloudsLoginLiveTest.testSpecifyingPasswordWhenNoDefaultKeyFilesExistWithRootUser

Re JcloudsLocation: pass relevant config to child machine loc. The changes are following existing practice so good to merge. In future would be nice to take advantage of the new config inheritance in locations.

LGTM, merging.


Truly exclude Microsoft.Extensions.ObjectPool.dll from mpack

Follow-up to https://github.com/dotnet/razor/pull/8009.
If Razor's LSP server was a separate process like WebTools, we would leave the duplicate files in there and resolve this issue using symlinks. But that's not the case here.

This duplicates the PR #8010 from @davidwengier


Pull request for libnss3-dev

For travis-ci/travis-ci#4485.
Ran tests and found no setuid bits.
See https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/72071713

Sorry, but this test will have to be re-run. Will open a new one later.


Fixes

Fixes {embeds: [embed] } being missing in some places, as well as some other issues.

Thanks!


current page

How to detect event, user changed current page?

Currently you can use a currentPageChanged closure to be notified about page change. I'm also thinking about adding ImageSlideshowDelegate protocol which could be a more standard way to be notified about page change (and other events).

Is there any example of how to use it?


HMR Causes CORS Issue When Running Behind Cloudflare Tunnel

Environment

Operating System: Darwin
Node Version:     v20.5.1
Nuxt Version:     3.7.0
CLI Version:      3.7.3
Nitro Version:    2.6.2
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools
Runtime Modules:  -
Build Modules:    -

Reproduction

Configure a Cloudflare tunnel to point example.com to localhost:3000.
Start a Nuxt dev server on localhost:3000.
Access the application via https://example.com.
Notice that while the app works, HMR fails and causes a CORS issue in the browser console.

Describe the bug
When running a Nuxt dev server behind a Cloudflare tunnel, Hot Module Replacement (HMR) experiences a CORS issue. The Cloudflare tunnel is configured to point the example.com domain to localhost:3000. The domain is secured with HTTPS via Cloudflare, but the local dev server is running on HTTP. While the application works as expected, HMR fails due to a CORS issue.
Additional context
No response
Logs
client.ts:18 [vite] connecting...
client.ts:77 Mixed Content: The page at 'https://domain.com/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://domain.com:24678/_nuxt/'. This request has been blocked; this endpoint must be available over WSS.
setupWebSocket @ client.ts:77
(anonymous) @ client.ts:67
Show 2 more frames
Show less
client.ts:69 [vite] failed to connect to websocket (SecurityError: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.).
(anonymous) @ client.ts:69
Show 1 more frame
Show less
load.js:5     GET https://domain.com/_nuxt/@id/virtual:vue-inspector-options net::ERR_ABORTED 404
load.js:4     GET https://domain.com/_nuxt/node_modules/vite-plugin-vue-inspector/src/Overlay.vue net::ERR_ABORTED 404

cc: @pi0


Aerogear 8192 keycloak module migration

Make Keycloak related things conform to a framework approach as opposite to a product approach where things happen magically.
Changes:

As we have a framework now, security service doesn't return all the things necessary. Instead user can compose stuff.
Tests for KeycloakAuthContextProvider

UPDATE: New ticket for this PR: https://issues.jboss.org/browse/AEROGEAR-8272

Hey @aliok I'm not 100% sure if this is the way we wanted to go. I think that getSchemaDirectives and getAuthContextProvider are important to have within the SecurityService interface. The idea was that the user could simply initialize the KeycloakSecurityService and pass it down into ApolloVoyagerServer and then ApolloVoyagerServer will be able to perform some setup bits using getSchemaDirectives and getAuthContextProvider. I'm really sorry I didn't communicate this well enough to you.
I've got this WIP PR here and sort of shows the direction we were thinking of going in https://github.com/aerogear/apollo-voyager-server/pull/16
It's a pretty big PR but if you take a look at the keycloak example server in there you should get the idea very quickly. The next steps in there are provide a layer on top of makeExecutableSchema, probably inside of ApolloVoyagerServer. This will remove the need for the user to directly call getSchemaDirectives and do things like manually wrapping resolvers. Please let me know if I didn't explain it well!

@darahayes

user could simply initialize the KeycloakSecurityService and pass it down into ApolloVoyagerServer and then ApolloVoyagerServer will be able to perform some setup bits using getSchemaDirectives and getAuthContextProvider

This is the current code in examples/keycloak though:
const { KeycloakSecurityService } = require('../../packages/apollo-voyager-keycloak')
...
const keycloakService = new KeycloakSecurityService(keycloakConfig)
const AuthContextProvider = keycloakService.getAuthContextProvider()
const schemaDirectives = keycloakService.getSchemaDirectives()
...
const schema = makeExecutableSchema({
  ...
  schemaDirectives
})
...
const context = ({ req }) => {
  return {
    ...
    auth: new AuthContextProvider(req)
  }
}

So, the user still has to get stuff and pass them to some other places.
I haven't checked your code at #16 yet but above was the reason that I have done it that way.
You don't have to reply this comment. We can discuss again once I check your PR.

Ok, @darahayes changed quite a lot in his PR #16  and I liked the direction he's going.
What I did in this PR was trying to solve some of the problems he also saw but in a different way :)
I will keep this PR open for a while and once we finishes his PR, I will revert the refactoring I made here and only rebase the tests I migrated.

Won't merge


Add admin/users controller for user edit and reinvite

@timirwin what would it take to get this merged in?

@timirwin what would it take to get this merged in?

I was expecting an approval for the PR, but maybe you implied that. I'll go ahead and merge.


 I guess this is not intended. Therefore, I wanted to make you guys aware of it.

Thanks!


PPS delay

Hello,
I did some "time" testing.
The test consists of compare the PPS (pulse per second) generate by a receiver with real Sats signal vs a PPS generated by a receiver with signal generated by gps-sdr-sim.
I measured the time between both PPS signals and the result is that PPS generated by simulator is delayed about 1 microsec every second.
I try to explain me:
t0: both PPS pulses are at same time
t1 (1 second later from t0): Pluto PPS is delayed 1 microsec from real PPS
t2 (1 second later from t1): Pluto PPS is delayed 2 microsec from real PPS
t3 (1 second later from t2): Pluto PPS is delayed 3 microsec from real PPS
...
So, at 100 seconds from t0, simulated PPS is delayed 100 microsec from real PPS.
I also did the test for Pluto-gps-sim (which is my goal) and the delay is 10 times, it is 10 microsec every sec.
Do you know what could be the delay cause?
frames length?
time between messages?
How can fix it?
Thank you

this is the accuracy of setting the frequency of the crystal oscillator

Thank you,
It is possible but weird, because this delay is 1 microsec in gps-sdr-sim and 10 microsec in pluto-gps-sim.
Of course, in both cases I used the same Pluto-SDR device.

this delay is 1 microsec in gps-sdr-sim and 10 microsec in pluto-gps-sim.
Of course, in both cases I used the same Pluto-SDR device.

Pluto-SDR heats more and the frequency of the crystal oscillator shifts more

Hi IvanKor,
I measured the Pluto-gps-sim code timing adding the system time as following:
// Update receiver time
current_timestamp();  //in microseconds
grx = incGpsTime(grx, 0.1);
As you can see in the image the time is not 100 millisec betwen every timestamp call. The fist time is<PHONE_NUMBER>:191124 and 4 sec later the time is<PHONE_NUMBER>:191157, it is 33 microsec more. In concordance with 10 microsec per second delay measured in PPS receiver signal.
so I think it can be the main cause of PPS delay, don't you?
Any suggestion to fix it?

incGpsTime not real time
real time stream in Pluto-SDR

I think the following lines are involved in that you told me and they control the data stream to PlutoSDR, but i don't understand how they work:
pthread_cond_signal(&plutotx.data_cond);
pthread_cond_wait(&plutotx.data_cond, &plutotx.data_mutex);
pthread_mutex_unlock(&plutotx.data_mutex);
Maybe modifing the data stream speed can compensate or improve the final 10 microseconds PPS delay?
Any idea about how the data stream speed can be modify?
Thank you

De: IvanKor<EMAIL_ADDRESS>Enviado: martes, 30 de junio de 2020 7:24
Para: osqzss/gps-sdr-sim<EMAIL_ADDRESS>Cc: Eduardo-F<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Asunto: Re: [osqzss/gps-sdr-sim] PPS delay (#252)
incGpsTime not real time
real time stream in Pluto-SDR
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/osqzss/gps-sdr-sim/issues/252#issuecomment-651546066, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIQVWMLV2KUWVDNYMY5LCNTRZFZKVANCNFSM4OITL5FQ.

@Eduardo-F Coming back to this issue:
From what I understand, you measure a PPS time pulse against a timestamp generated by your host PC.
Keep in mind the simulated GPS clock is an artificial clock. The incremented is hard coded to 0.1s here grx = incGpsTime(grx, 0.1);.
However, this 0.1s increment has no relation to realtime, for example measured by you host PC's CPU clock. The real time delay  between two 0.1s increments depends on code execution time, SDR processing time etc.

These are simulated clock parameters measured with a ublox M8T and HackRF as transmitter.
GPS clock drift and accuracy are comparable to real GPS.

Hi, thanks for your response.
I understand the 0.1sec increment.
About "drift time" I did tests consist in measuring with an oscilloscope
the time between two PPS signals, one from a GPS receiving real Sats signal
and the other one from another GPS receiving a signal generated by
pluto-gps-sim.
My measurements show a accumulative drift about 10 microsec per second.
Where can it be mainly produced? In pluto-gps-sim host or Pluto Sdr device
El vie., 12 feb. 2021 11:16, Mictronics<EMAIL_ADDRESS>escribió:

@Eduardo-F https://github.com/Eduardo-F Coming back to this issue:
From what I understand, you measure a PPS time pulse against a timestamp
generated by your host PC.
Keep in mind the simulated GPS clock is an artificial clock. The
incremented is hard coded to 0.1s here grx = incGpsTime(grx, 0.1);.
However, this 0.1s increment has no relation to realtime, for example
measured by you host PC's CPU clock. The real time delay between two 0.1s
increments depends on code execution time, SDR processing time etc.
[image: gps_clock_sim]
https://user-images.githubusercontent.com/11965780/107755586-50188800-6d23-11eb-8291-ebf3002fe385.png
These are simulated clock parameters measured with a ublox M8T and HackRF
as transmitter.
GPS clock drift and accuracy are comparable to real GPS.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/osqzss/gps-sdr-sim/issues/252#issuecomment-778105882,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOBCA57W4QURYAJGUR5WML3S6T5WBANCNFSM4OITL5FQ
.

What is drifting and accumulating?
The simulated PPS signal accumulates 10us/s and getting longer?
Or both PPS signals drifting off each other?
I can confirm jitter in PPS when simulating, < 1us, usually around 500ns. I neither see the PPS drifting away nor accumulating (getting longer) when simulating with HackRF or Pluto.
However, both SDR's are equipped with OCXO's for precision and in my general experience is the HackRF the better choice.

Hi,
Now, I have replaced the factory xtal for an  VTCXO (TYKACCSANF-40.000000).
I mean measured time between a PPS from a receiver with real GPS signal vs a PPS from a receiver with pluto-gps-sim signal.
As you can see in the following images, Real PPS is on channel 1 (yellow) and it is taken as "reference" to measure the time vs Simulated PPS (channel 2, blue).
First image shows a dt=82us between them.
Second image was taken about 60sec later and shows a dt=298us.
Third image 60sec later (from second image) shows a dt=498us.
It is about 3.3us per sec.
So, 60min later both PPS will be 11.8msec drifting off each other.

I mean measured time between a PPS from a receiver with real GPS signal vs a PPS from a receiver with pluto-gps-sim signal.

What I expected. The simulated GPS clock is: "simulated". It has no synchronization with real world clocks, especially not with the atomic clocks inside the GPS satellites, which are the reference of the real PPS signal.
Take a look at the code: grx = incGpsTime(grx, 0.1); this will increment the "simulated" GPS clock by exactly 0.1s, but nowhere in the code is a synchronization to an external clock, neither to your host system RTC nor any other external clock source.
The time between calls to incGpsTime depends of course on code execution time. However, as long as the simulation code can generate IQ samples in time and feeds the SDR everything is fine. The simulated GPS always gets a perfect 0.1s increment but of course is drifting away over time from a real time clock outside the simulation, that is measuring a metric inside the simulation.

I´m realize that simulated GPS clock is not sync with other clocks.
So, you say "The simulated GPS always gets a perfect 0.1s increment". Assuming host is able to do this, it is clear that simulated GPS clock and real GPS clock are not sync, but I don't understand why drift increases along the time.
Also, any idea about how can modify the drift? It is possible call  grx = incGpsTime(grx, 0.x)? where x is not 0.1 (for example 0.999, 1.001 ...?

Can you explain the use case? For what purpose you need a synchronized real and simulated PPS signal?
About changing the time increment: just think about how GPS works and what influence a modified time will have.

I have GPS based "time counters" devices, they move in open sky environments (were real GPS signal is available) and also in indoor environment with no (or weak) GPS signal.
In order those counter devices can operate in the indoor place I want provide GPS simulated signal.
Then to maintenance a data coherence, both GPS signals have to be synchronized.
If drift exists, data are not valid, for example devices in indoor show not same time than outdoor devices.
Also when a device travel from outdoor-indoor-outdoor the showed time has "jumps" , then data are not reliable.
And it gets worse  along the time.

Usually for indoor environments a GPS repeater comes in mind. At least we use them at work to have GPS inside hangars.
Anyway, I still believe you cannot sync the simulation clock to real time because of precision issues. But I can try what happens when delta_t in time increments is modified.


Use leaflet from window.L instead commonjs

Needed to support CJS apps ⚠
This reduces the bundle size allowing users to load Leaflet externally.

When using umd just include leaflet as a script
When using common.js: Do require('leaflet') inside your bundle

Closed by #1978


Stage

Describe your bug here.
I have been trying to port eteled into psych engine and I came across a problem, when trying to add my stage this keeps on happening:
PlayState.hx (line 2455)
PlayState.hx (line 2306)
PlayState.hx (line 1054)
flixel/FlxGame.hx (line 637)
flixel/FlxGame.hx (line 724)
flixel/FlxGame.hx (line 677)
flixel/FlxGame.hx (line 551)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)
Uncaught Error: Null Object Reference
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

Crash Handler written by: sqirra-rng

If you can, please help. if you need my stage code here it is:
function onCreate()
-- background shit
makeLuaSprite('miichannel', 'miichannel', -600, -300);
setScrollFactor('miichannel', 0.9, 0.9);
makeAnimatedLuaSprite('miibuttons', 'miibuttons', -2050, -550);
setScrollFactor('miibuttons', 1.0, 1.0);
addAnimationByPrefix('miibuttons','stagecurtains','stagecurtains',24,false)

addLuaSprite('miichannel', false);
addLuaSprite('miibuttons', true);

close(true); --For performance reasons, close this script once the stage is fully loaded, as this script won't be used anymore after loading the stage

end
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
I changed menu bg and title screen and stuff but none of that is prompting my problem

Remove dadbattle spotlight from your chart events


npm mapbox-gl is now mapbox-gl-supported

On installation mapbox-gl is now called mapbox-gl-supported
If you call npm install mapbox-gl you'll get
npm WARN deprecated<EMAIL_ADDRESS>This project has been renamed to mapbox-gl-supported. Install using mapbox-gl-supported instead.

No, these are 2 separate things.
https://github.com/mapbox/mapbox-gl-supported states:

A library to determine if a browser supports Mapbox GL JS


missing walmart availability (WA)

Identified at least one Walmart in WA that has a day's worth of appointments posted but you're not picking up through multiple update cycles. Presumably it's because "carries_vaccine": false ?
  "properties": {
    "id": 800767,
    "url": "https://www.walmart.com/pharmacy/clinical-services/immunization/scheduled?imzType=covid",
    "city": "Lynnwood",
    "name": "Lynnwood Neighborhood Market",
    "state": "WA",
    "address": "17222 Highway 99",
    "provider": "walmart",
    "time_zone": "America/Los_Angeles",
    "postal_code": "98037",
    "appointments": null,
    "provider_brand": "walmart",
    "carries_vaccine": false,
    "appointment_types": null,
    "provider_brand_id": 70,
    "provider_brand_name": "Walmart",
    "provider_location_id": "5678",
    "appointments_available": null,
    "appointment_vaccine_types": null,
    "appointments_last_fetched": null,
    "appointments_last_modified": null,
    "appointments_available_all_doses": null,
    "appointments_available_2nd_dose_only": null
  }

Related to #82 but I thought you fixed it?

could be that phoenix was misspelled in providers/Walmart/Store.js on line 91

@jxchong: Thanks for letting me know about this! It looks like the Walmart store refresh was sometimes dying due to sporadic errors in requesting their data (I was getting 500 errors back). I've tried to make this more resilient to failures in https://github.com/GUI/covid-vaccine-spotter/commit/5b201fdf036289a1a71fe419ff2576fea8681fcd by retrying the failed requests (this seems to largely solve the issue), and not making a single store lookup fatal (so even if errors are countered, the overall refresh process can still continue to other stores).
This has now successfully run through the store refresh process a few times, so I'm hoping this should be fixed. Sorry for the issue, but I'll try to keep a closer eye on some of my monitoring.  Thanks again for reporting this!


Add NullBlobStore

This throws away all data during object creation and reconstructs it
with NUL bytes.  Clients can use this to test very large objects.
Fixes #131.

@kahing Please review.

Needs jclouds/jclouds#1037.


Remove the ability to create tenants by defining own Tenant ID using TenantManagementService

Describe the issue:
When creating a tenant through the TenantManagementService it is possible to add our own Tenant Id. Since the tenant-id is used only internal purposes, the user need not know about the tenant-id, they can use the tenant domain for tenant-related functions.
This ability should be removed because if a DB such as Oracle is used, the auto-increment of the tenant-id is handled by the sequence as shown below.

Here, in order to auto increment the UM_ID column a sequence and trigger are being used.  The trigger is configured to fire prior to an INSERT into the UM_TENANT table, ensuring that the SEQUENCE is incremented and that new value is passed onto the primary key column UM_ID, since this UM_ID(Tenant-ID) value is added this way, we cannot add our own value to it.
If you try to add your own Tenant-ID it would cause an NPE[1]
With MySQL databases when custom Tenant-ID is added, it will reset the sequence and start from the last value itself, the middle ID's will never be used unless they are manually added.
[1]https://github.com/wso2/carbon-multitenancy/blob/master/components/tenant-mgt/org.wso2.carbon.tenant.mgt.core/src/main/java/org/wso2/carbon/tenant/mgt/core/TenantPersistor.java#L223

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!


Do we have input for the "spec" argument?

// example
      - uses: cypress-io/github-action@v1
        with:
          spec: cypress/integration/custom/**/*.custom.spec.js

or
// example
      - uses: cypress-io/github-action@v1
        with:
          args: --spec cypress/integration/custom/**/*.custom.spec.js

I'd love that as well. Change should not be that hard... something like
    const spec = core.getInput('spec')
    if (spec) {
      cmd.push('--spec')
      cmd.push(quoteArgument(spec))
    }

around here https://github.com/cypress-io/github-action/blob/master/index.js#L352
If agreed, I can create a PR for that

Sure, agree
Sent from my iPhone

On Dec 22, 2019, at 08:30, Gustavo Cunha<EMAIL_ADDRESS>wrote:

I'd love that as well. Change should not be that hard... something like
const spec = core.getInput('spec')
if (spec) {
  cmd.push('--spec')
  cmd.push(quoteArgument(spec))
}

around here https://github.com/cypress-io/github-action/blob/master/index.js#L352
If agreed, I can create a PR for that
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or unsubscribe.


fix(core, user_profile): 13179 - apply changes when user profile changes

Changes now applied when user logs in, out, and changes preferences
We have 3 possible choises that affect app so far: language, units (map scale) and OSM editor. They all reactivly updated on user change without reloading
Reloading is okay however in future if no-reloading implementation is dificuilt. I removed it just now as we don't seem to need it

tests are failing, pls fix and will be great. 👍


[QUESTION] Does Hyperf\DbConnection\Db pool connections?

Before you submit this issue, you has been search all existed issues and search the documentation

[x] I've been search all existed issues
[x] I've been read all documentation

Describe your question
Does Hyperf\DbConnection\Db do straight PDO database connection only, so if the developer wants pool connections they need to program it with PoolFactory or SimplePool etc?
Or does Hyperf\DbConnection\Db already internally handle pool connections?

This doesn't seem to answer the question...
How would using hyperf/db be different that using other components
And which ones already have connection pooling and which don't

They already have connection pooling
And db_connection only Support pdo， but the db Component NOT only Support PDO,you can Added your own driver in db component

Is it OK to perform the following without causing problems for the connection pool?
$pdo = Db::getPdo(); // uses pool database connection ?
$preparedStatement = $pdo->prepare("UPDATE statement.... :named_param1 .... :named_param2");
foreach($somethings as $thing) {
    // this can execute many times no problem?
    $preparedStatement->execute(['named_param1' => $thing[1], 'named_param2' => $thing[2]]);
}
// how does the database connection pool know when I finished with this PDO and it should be released to the pool?


Accessing values from standalone config file

With config options in "config/environment.js" file we could easily access them in our Ember code.
Real-life scenario - setting fallback runtime locale:
// app/routes/application.js
import Ember from 'ember';
import settings from '[project-name]/config/environment';

export default Ember.Route.extend({
  beforeModel() {
    ...
    [get browser locales, try to match them to available locales]
    ...
    if (userLocaleNotMatchedToAvailable) {
      this.get('intl').setLocale(settings.baseLocale);
    }
  }
});

How can we achieve the same result with config options in a standalone file? Is it still possible?

config/environment is still supported but deprecated, if you need to hang properties to evaluate at runtime feel free to keep using it.  In the future I'll need to solve this before its removed.

Ok, thanks! In that case, we'll keep using the old-style config for now. Feel free to close the issue :)

I will keep open for tracking to make sure it's addressed as part of 3.0
Thanks again

When https://github.com/jasonmit/ember-intl/pull/348 is versioned you'll have access to the contents of ember-intl.js from the traditional app/config/environment


Terraform Issue

provider "aws" {
region "ap-south-1"
access_key ""
secret_key ""
}
resource "aws_instance" MyWebServer {
ami "ami-0cb0e70f44e1a4bb5"
instance_type "t2.micro"
}
C:\ProgramData\chocolatey\lib\terraform
C:\Users\Kirthi\Desktop\Devops/sample1.tf
Error.txt

provider aws {
region = ""
}
you have written wrong syntax use =

From: kirthip1983<EMAIL_ADDRESS>Sent: 18 September 2019 10:37
To: QT-DevOps/DevOpsIssues<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [QT-DevOps/DevOpsIssues] Terraform Issue (#604)
provider "aws" {
region "ap-south-1"
access_key ""
secret_key ""
}
resource "aws_instance" MyWebServer {
ami "ami-0cb0e70f44e1a4bb5"
instance_type "t2.micro"
}
C:\ProgramData\chocolatey\lib\terraform
C:\Users\Kirthi\Desktop\Devops/sample1.tf
Error.txthttps://github.com/QT-DevOps/DevOpsIssues/files/3624504/Error.txt
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/QT-DevOps/DevOpsIssues/issues/604?email_source=notifications&email_token=AASTJLMQRFYB2PT4P72GV73QKGZRNA5CNFSM4IXZLGN2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HMA65PQ, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AASTJLI6CXT2KRBVC7BNZ6DQKGZRNANCNFSM4IXZLGNQ.

Hi kirthip
Hope your issue was resolved please update with solution and close the issue

Hi, yes the issue is resolved...thankyou


Document start

Resolves issue #23.
Basically everything had to be made asynchronous so there is a lot of code change.

Looks great - had you tested it with user.js?

Yes I've tested the tampermonkey script. I haven't tested it with Chrome/Kiwi though.
The userscript itself takes a bit of time to load in (because it's 4MB) but other than that it works. It might be worth making a new issue/feature request for splitting up the userscript into multiple files (especially the fonts).


Weierophinney feature/sem refactor

I added some benchmarks using Athletic framework.

These are pretty cool; 5k triggered events, including shared and local listeners, accounts for only 3ms under PHP 5.6! That's VERY reasonable!