didReceiveLocalNotification not firing when plugin is registered as an app delegate in iOS

Steps to Reproduce
Sample code found in the example project of the plugin I've been developing at https://github.com/MaikuB/flutter_local_notifications/tree/didReceiveLocalNotificationIssue
Create a plugin and in the iOS code for that plugin. Add the plugin as an application delegate
[registrar addApplicationDelegate:instance];

add code to handle when a local notification has been received
- (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification
{
   ...
}

Add code to display a notification and run the app on an iOS device older than version 10 (tried this on an iOS 9 simulator). didReceiveLocalNotification is never fired but other application delegate methods like detecting if the app has entered the background are working fine.
Logs
flutter run logs
flutter run logs.txt
No issues found through flutter analyze command
Flutter Doctor
[✓] Flutter (Channel beta, v0.2.8, on Mac OS X 10.13.3 17D102, locale en-AU)
    • Flutter version 0.2.8 at /Users/michaelbui/flutter
    • Framework revision b397406561 (2 weeks ago), 2018-04-02 13:53:20 -0700
    • Engine revision c903c217a1
    • Dart version 2.0.0-dev.43.0.flutter-52afcba357

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/michaelbui/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = /Users/michaelbui/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.3, Build version 9E145
    • ios-deploy 1.9.2
    • CocoaPods version 1.4.0

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] IntelliJ IDEA Community Edition (version 2017.3.5)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 23.0.2
    • Dart plugin version 173.4700

[✓] VS Code (version 1.22.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Dart Code extension version 2.11.2

[✓] Connected devices (1 available)
    • iPhone 6s Plus • 30903B0A-AC8E-411A-A1A9-08246FE97C7F • ios • iOS 9.0 (simulator)

• No issues found!

It appears we have not wired up plugins with the deprecated application:didReceiveLocalNotification:, nor with the iOS 10 replacement, userNotificationCenter:willPresentNotification:withCompletionHandler:.
Until that happens in flutter/engine, rolls into flutter/flutter, and arrives into a stable Flutter build, I suggest documenting with your plugin that app authors would have to wire that up themselves in their UIApplicationDelegate class.

Yep I have documented that but will add a note that it's dependent on the engine to wire it up. Cheers :)

@MaikuB sorry this took so long to resolve! Once this change rolls into the Flutter framework multiple plugins should be able to receive didReceiveLocalNotification invocations.

All good, thanks for the update @bkonyi :)
How can one tell when the change has rolled into the framework though? More specifically I'm trying to track when it's available on beta as opposed to master or dev. I'm assuming it's to do with the commits on rolling the engine to a specific hash?

Should be rolled in by now :-)


[ALLUXIO-1927] Use <> operator efficiently in HeartBeatScheduler.java

First pull request, familiar with the github process add update to follow the code style.

Can one of the admins verify this patch?

do i need to update?

Thanks for submitting a pull request to Alluxio!
We found your commits on GitHub aren't linked to a valid Github account yet (see your commits at https://github.com/Alluxio/alluxio/pull/3251/commits).
For us to properly credit your contributions, could you please set up your Github account by following the Github instructions here (https://help.github.com/articles/setting-your-email-in-git/)?
Thanks!

Thanks I will update and send first pull request again.


feat(APIM-78): add endpoint to get party by party identifier

Introduction
GET /parties/{partyIdentifier} needs to get the party with the given identifier from ACBS
Resolution

I've added the new endpoint, GET /parties/{partyIdentifier}, to get an authentication token from ACBS and then get the party from ACBS

if ACBS returns a 200 response, then we transform and return the party
if ACBS returns a 400 response with a message containing "Party not found" then we return a 404
if ACBS returns an unexpected error or times out, then we return a 500

there's no validation on the partyIdentifier URL param

Misc

I've also added a snapshot test for the swagger yaml we're generating from our decorators, so that we can double-check any changes we make to this
There is some overlap with APIM-79 which isn't merged yet

Here is Swagger documentation for the endpoint:


Issue with a dash live stream

C:\Users\Downloads\Drm-Dash-stream-downloader-master\Drm-Dash-stream-downloader-master\dashdownloader.py:77: SyntaxWarning: "is" with a literal. Did you mean "=="?
 if video.status_code is 200:
Traceback (most recent call last):
  File "C:\Users\Downloads\Drm-Dash-stream-downloader-master\Drm-Dash-stream-downloader-master\dashdownloader.py", line 142, in <module> video_url,video_keyid,audio_url,audio_keyid = manifest_parser(mpd)
  File "C:\Users\Downloads\Drm-Dash-stream-downloader-master\Drm-Dash-stream-downloader-master\dashdownloader.py", line 60, in manifest_parser

base_url = repr.base_urls[0].base_url_value
TypeError: 'NoneType' object is not subscriptable

Here is the MPD Link

The script does not conform to the Dash-IF Implementation guidelines. You'll have to edit the script as per your use case. The MPD you attached is encoded for multibitrate streaming. Edit the dashdownloader_multisegment.py script and handle segments of constant timeframe.


Add Promise support to requests

Re: https://github.com/tumblr/tumblr.js/issues/51
This adds Promise support to API requests. Instead of getting a Request object back, you'll get a Promise, that you can then or catch or whatever cool Promise stuff you wanna do.
Part of me feels like this should be the default, but I didn't go that far. I'd rather not use request-promise because I don't want the bluebird dependency, but request-promise-native isn't a thing yet, so here we are.

Here's how you'd create a client that returns Promises:
var tumblr = require('tumblr.js');
var client = tumblr.createClient(credentials, true);

And here's an example of how you'd use Promises to chain requests together more easily:
client.blogPosts('keithmcknight', {
    reblog_info: true,
})
    .then(function(body) {
        // let's assume the first post was a reblog
        return client.blogInfo(body.posts[0].reblogged_from_name);
    })
    .then(function(body) {
        // blog info for parent blog of the first post on the original request
        console.log(body);
    });

TODO

[x] Write tests
[x] Update README
[x] Bump version

@heylookltsme @tgilan @sndsgd @ceyko

Part of me feels like this should be the default
I agree, it feels like the right way to go. What will be the downside of just having promises toggle on by default? You still get backwards compatibility. For majority of users, I imagine Promise should be available to use too.

@tgilan: The problem with making it default is that the most common use is to provide the credentials argument and nothing else, so it would be a breaking change (albeit one that's easy to fix)

Got it, I see it now. Yes, we will have to do some odd checks for that and it's just not pretty.
Code looks good to me. Tested it with some actual calls, both callbacks and promises work, flag works as expected. 👍


Forte: only default sec_code when bank account details are present

If customer and/or paymethod tokens are being used, then require sec_code to be set in the options.
We cannot tell whether the paymethod token is for a credit card or a bank account, so we cannot provide a default in this case.
Also extracts logic to split the token on the pipe symbol into a separate method.

$ ruby -Itest test/unit/gateways/forte_test.rb
Loaded suite test/unit/gateways/forte_test
Started
.......................
Finished in 0.015469 seconds.
--------------------------------------------------------------------------------
23 tests, 76 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
--------------------------------------------------------------------------------
1486.84 tests/s, 4913.05 assertions/s

$ ruby -I test test/remote/gateways/remote_forte_test.rb
Loaded suite test/remote/gateways/remote_forte_test
Started
.....................O
================================================================================
test/remote/gateways/remote_forte_test.rb:187:in `test_successful_refund_with_bank_account'
Omission: This currently won't pass due to the bug in Forte [test_successful_refund_with_bank_account(RemoteForteTest)]
================================================================================
.............
Finished in 64.952761 seconds.
--------------------------------------------------------------------------------
35 tests, 112 assertions, 0 failures, 0 errors, 0 pendings, 1 omissions, 0 notifications
100% passed
--------------------------------------------------------------------------------
0.54 tests/s, 1.72 assertions/s


float methods

[x] is_integer [^1]
[x] as_integer_ratio
[x] hex
[x] fromhex[^h]

[^1]: int.is_integer is since 3.12
[^h]: see C/C++ <stdlib.h> strtod and sprintf(   "%a"   ) [^a] ; may take usage of float bin/oct/hex lit?  e.g. 0x4740a47aefec5349'f64 is 1.7282561e+35
[^a]: glibc-src/stdio-common/printf_fphex.c

closed by https://github.com/nimpylib/pylib/commit/b2a2a4720df2bb155cd0f6c75b0f215d1b4edc49


Fixed-point AMY

@dpwe is making a lot of great headway converting AMY from floating point to fixed point. The branch is currently here https://github.com/bwhitman/amy/tree/fxp and you can see his readme here https://github.com/bwhitman/amy/blob/fxp/src/amy_fixedpoint.h . I assume (and hope) he'll write a big blog post about it when it's done.
WHY: AMY is fast and efficient but really relies on an FPU to do most of its rendering. This was "fine" for our original targets -- ESP32 and desktop, but we'd like to port it to much more, like the RP2040 (#41) or other Cortex M0 types. Even on MCUs with FPUs, they're not usually as fast as using fixed point types, so we'll hopefully have more headroom on things like Alles and Tulip. We couldn't do more than a few sine waves on an RP2040 before; now we can have hundreds. There's not a lot of downside: just the complexity of doing it and perhaps it's slightly harder code to understand if you're not familiar with this.
Here's where we're at, I'll track the merge here as it happens! thanks DAN
TODO

[x] Base oscillators
[x] FM
[x] Envelopes
[x] Filters
[x] EQ
[x] Pan
[x] Reverb
[x] Chorus
[x] Partials
[x] Karplus-strong
[x] PCM
[x] Make RP2040 build multi-core like ESP
[x] Port back into Alles
[x] Port back into Tulip

This is awesome news!

This is done! There may be some small implementation bugs, so please file new issues for them!

Awesome! It'll be the middle of next week before I get a chance to test this but it's at the top of my queue!

Thank you for doing this.  So how many oscillators can I run on an RP2040?

@PythonLinks I was able to get about 120! 10-11 DX7 patches simultaneously. Check out the Multicore arduino example.

That is amazing.  So even if you wanted to do percussion instruments, #80, you could do 30!  How many are needed for a percussion instrument?

That is amazing. So even if you wanted to do percussion instruments, #80, you could do 30! How many are needed for a percussion instrument?

Hi. If you refer to percussion instruments being PCM waves, so that uses one oscillator each. Not including any modulators obviously. Unless i misunderstood. Cheers.


QA

Improve documentation and improve insert_before_target and insert_after_target
Improve insert_before_target()
Improve insert_before_target()
reformat insert_before_target()
reformat insert_before_target() and insert_after_target(), improve documentation, improve test coverage

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

Project coverage is 100.00%. Comparing base (3fdb5d2) to head (65e8981).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##              main       #35   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            7         7
  Lines          511       536   +25
=========================================
+ Hits           511       536   +25

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


feat: adding class that will invoke late handlers

Event that can only be invoked once. Any Handlers added after invoke will be invoked immediately

am cool with this in general. would like to see the smells resolved before merging.

we get them to be collapsible as a bonus too

class to test inspector on generic events
    public class RunOnceEventInspectorTest : MonoBehaviour
    {
        // inspector fields
        [SerializeField] RunOnceEvent event0;
        [SerializeField] RunOnceIntEvent event1;
        [SerializeField] RunOnceIntStringEvent event2;

        // ***** 1 arg event classes ***** //

        [Serializable]
        public class IntEvent : UnityEvent<int> { }
        [Serializable]
        public class RunOnceIntEvent : RunOnceEvent<int, IntEvent> { }

        // ***** 2 arg event classes ***** //

        [Serializable]
        public class IntStringEvent : UnityEvent<int, string> { }
        [Serializable]
        public class RunOnceIntStringEvent : RunOnceEvent<int, string, IntStringEvent> { }
    }


VST3 fails to scan on REAPER Linux

Using the latest release of the native Linux .so file on Arch Linux on the latest version of REAPER. Plugin fails to scan, though REAPER interestingly lists it as a .vst3 file.

Hello DaforLynx,
have you noticed that the latest versions of FluidSynthPlugin now require a package installation of FluidSynth? Since the so/vst3-file needs other libraries (which it cannot find in your configuration) this might be the reason for the reported behavior.
For ArchLinux you have to install FluidSynth with
pacman -S fluidsynth
I have just tested the plugin with Reaper 7.2.8 and the stable package fluidsynth 2.3.4 on Ubuntu 24.04 without any problems.
Best regards,
Prof. Spock

Ah, that seems to work. Thanks for the help.


In your base activity place this code in onPause() method
@Override
public void onPause() {
super.onPause();
try {
if (PlayerManager.getInstance().getCurrentPlayer() != null) {
PlayerManager.getInstance().getCurrentPlayer().onActivityPaused();
}
} catch (Exception e) {
e.printStackTrace();
}
}

I try it but not solve my problem, can you give more detail infomation?

when from back to front, the log are below:

PlayerManager.getInstance().getCurrentPlayer().pause();  >> use this and check whether still audio in background or not ??


Add language selector to nav

Includes miscellaneous updates to our header nav:

Configures the nav items to be editable via cms (and i18n enabled)
Adds a DropdownComponent
Adds LanguageDropdown
Updates the style of the "Mint dApp" button
Makes LocaleLink aware of the active locale

TODO:

[x] Make the language dropdown work with prefix builds

This doesn't yet handle redirecting the news article or resource article pages to the correct translation from the language selector. Right now, it tries to just reload the same page to the equivalent locale's page, but this doesn't work for the article pages:
For example:
Going from /de/news to /news works
However
/de/news/2020-04-25-tbtc-launch-eckdaten to /news/2020-04-25-tbtc-launch-eckdaten
doesn't, since that article doesn't exist at that url.
Not sure if this should be figured out as part of this PR, or if we should redirect to the news index page in that case. Or should changing the language from the selector always just take to the home page for now?

@Shadowfiend or @mhluongo any preference to the question posed above?

Not sure if this should be figured out as part of this PR, or if we should redirect to the news index page in that case.

We've taken a "forked content" approach to localization- eg some content isn't ever going to exist between locales- so I think your approach makes sense. In an ideal world perhaps the 404 would point people to the localized index?

I'm down with that, we still need to make a 404 page though. :) I see that there already is an issue and design for it! #96

Now that this has been added, I believe there are a bunch of translations specific PRs waiting to be merged which should give you the initial i18n in several languages.

Yep, this was the last piece @jeremyid.
For German, I've been able to roughly spot-check translations myself. Thoughts on how best to do that with these other PRs when we don't have team members who are familiar?
Pretty sure @Shadowfiend can cover... we'll, tons. But it'd be nice to have a second review that's not the team


Facebook OAuth2 returns no authorization code

Hey,
I currently try to get the satellizer Facebook Login to work on my localhost environment.
But when I call the Facebook API via the $auth.authenticate() function the returned code from facebook is always empty.
I've tried to debug the issue and therefore included at line 515 in the satellizer.js the following:
console.log(data);
And the result looks like this:
Object { code: undefined, clientId: "XXXXXXXXXXXXX", redirectUri: "http://localhost/" }

Maybe this could be an issue because the acutal version for Facebook OAuth is V2.4 and satellizer uses 2.3? If you create a new app you can not switch back to an older version.

Works fine here with 2.3 app and 2.4 app. Also, if I understand correctly Facebook will automatically use the latest version even if you access the API with v2.2 or v2.3 parameter.

Any idea what the problem could be? I've tested it on two different computers on two different browsers with the latest version. Here are my facebook app settings:

UPDATE: I found out what the problem caused. I had to specific the redirectUri for facebook.
$authProvider.facebook({
redirectUri: window.location.origin || window.location.protocol + '//' + window.location.host + '/'
});
didn't work for me.
Now with the updated redirectUri it's working fine:
$authProvider.facebook({
redirectUri: 'http://localhost/project/login
});

That's fine, the reason why I made redirectUri a configurable property in the first place is so that you can override it when necessary, like in this case.

@sahat upon further looking I think I may be hitting this to only on windows 10 with edge and ie11. I'm not seeing it in any other browser...

I see the code being returned as a query string parameter...

but when it auths it doesn't contain code, only clientid and redirecturi.

But the wierd thing is with the latest release is if I click on the social login, it will use the new oauth tab to log me into the site instead of closing it and using the previous one.


prisma2 lift up throws error even on the first run

I ran a new project like prisma2 init sample & then it told me to do the following ⸺
 Here are the next steps to get you started:
    1. Run prisma2 lift save --name init to create a migration.
    2. Run prisma2 lift up to apply the migration.
    3. Run yarn seed to seed the database.
    4. Run yarn start (Starts the GraphQL server)
    5. That's it !

So I did prisma2 lift save --name init & then did prisma2 lift up.
prisma2 lift save --name init ran properly but prisma2 lift up threw error ⸺
 lift up

Datamodel that will initialize the db:

datasource db {
  provider = "sqlite"
  url      = "file:dev.db"
  default  = true
}

generator photon {
  provider = "photonjs"
}

generator nexus_prisma {
  provider = "nexus-prisma"
}

model User {
  id    String  @default(cuid()) @id @unique
  email String  @unique
  name  String?
  posts Post[]
}

model Post {
  id        String   @default(cuid()) @id @unique
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
  published Boolean
  title     String
  content   String?
  author    User?
}

Database Changes:

Migration            Database actions           Status

20190730122117-init  2 CreateTable statements.

You can get the detailed db changes with prisma2 lift up --verbose
Or read about them in the ./migrations/MIGRATION_ID/README.md
Error: Error in lift engine for rpc migrationProgress:
  thread 'main' panicked at 'Could not load migration from database. Migration name was:<PHONE_NUMBER>2117-init', src/libcore/option.rs:1034:5
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
   1: std::sys_common::backtrace::_print
   2: std::panicking::default_hook::{{closure}}
   3: std::panicking::default_hook
   4: std::panicking::rust_panic_with_hook
   5: std::panicking::continue_panic_fmt
   6: rust_begin_unwind
   7: core::panicking::panic_fmt
   8: core::option::expect_failed
   9: <migration_core::commands::migration_progress::MigrationProgressCommand as migration_core::commands::command::MigrationCommand>::execute
  10: <F as jsonrpc_core::calls::RpcMethodSimple>::call
  11: <F as jsonrpc_core::calls::RpcMethod<T>>::call
  12: <futures::future::lazy::Lazy<F,R> as futures::future::Future>::poll
  13: <futures::future::then::Then<A,B,F> as futures::future::Future>::poll
  14: <futures::future::map::Map<A,F> as futures::future::Future>::poll
  15: <futures::future::either::Either<A,B> as futures::future::Future>::poll
  16: futures::task_impl::std::set
  17: std::thread::local::LocalKey<T>::with
  18: futures::future::Future::wait
  19: jsonrpc_core::io::IoHandler<M>::handle_request_sync
  20: migration_core::rpc_api::RpcApi::handle
  21: migration_engine::main
  22: std::rt::lang_start::{{closure}}
  23: std::panicking::try::do_call
  24: __rust_maybe_catch_panic
  25: std::rt::lang_start_internal
  26: main

It's really confusing why it throws an error.
Another thing is I watched the video on https://photonjs.prisma.io/ & it said to do prisma2 dev the first time after prisma2 init so I did prisma2 dev.
It generated migration folder like prisma2 lift save does but it doesn't exit. The command kept running for >2-3mins until I terminated it using ⌃+Z

Thanks for reporting! Closing this in favor of https://github.com/prisma/lift/issues/74
And reopened https://github.com/prisma/lift/issues/74


feat(entry_maker): make ts highlighting default

@delphinus thoughts? I think nvim ts performance improved significantly and I don't experience freezes or noticeable slowdowns with this option. And it's too much of a QoL improvement. Agreed?

Agree.
But I wonder what happens in starting egrepify without Tree-sitter setup (like nvim --clean). Does it work good in such case? If no, it is good that README has notice for it.

local function has_ts_parser(lang)
  if vim.fn.has "nvim-0.11" == 1 then
    return vim.treesitter.language.add(lang)
  else
    return pcall(vim.treesitter.language.add, lang)
  end
end

The above function only returns a parser if the corresponding language is supported by having a suitable parser in the nvim runtime. In other words, I'm reasonably sure it should be fine.


Video streaking/distortions on real hardware

I noticed this on my Flappy Bird project -- it looks fine on emulators, but on real hardware the video signal has big smears and streaks.
Flappy Bird uses the following arguments to display_init:
RESOLUTION_320x240, DEPTH_16_BPP,
BUFFERING_DOUBLE, GAMMA_NONE, ANTIALIAS_RESAMPLE

Terrible photo attached:

Terrible video link:
https://media.discordapp.net/attachments/627380625766088715/861113817676513301/VID_20210704_001720.mp4
fpgashibe on N64brew Discord seemed to think it was because the VI was not being set up correctly by the Display subsystem: https://discord.com/channels/205520502922543113/627380625766088715/861758855331840032
Marshall was also able to reproduce zebra striping artifacts by launching the LibDragon ctest example ROM after a reset from Animal Forest: https://discord.com/channels/205520502922543113/763114214688555039/870091995132071966

This is caused by the "dither filter" bit set in 16-bit mode: https://github.com/DragonMinded/libdragon/blob/fd45d487f48885883e341a8facd9e8276fa410cf/src/display.c#L322-L326
Changing the value to 0x2 fixes the vertical bars.

@parasyte I'm also getting the vertical bars like @meeq mentions in my apps, are we just setting control |= 0x20002 or control |= 0x2?  Thanks for any help

@werkn The latter. This will fix the vertical bars, if you are not using antialiasing:
control |= 0x2;

Alternatively, especially if you do not want to patch libdragon, you can just enable antialiasing by passing ANTIALIAS_RESAMPLE_FETCH_ALWAYS to display_init(). Bear in mind the quality caveat mentioned earlier.

@parasyte Can confirm applying ANTIALIAS_RESAMPLE_FETCH_ALWAYS fixes this issue, screenshot attached with my call to display_init(..).

Thanks for the help :+1:

To followup on this, the above patch had a bug: in fact, dither filter only works without artifacts in the ANTIALIAS_RESAMPLE_FETCH_ALWAYS mode (that is, when the AA_MODE bits are 00). The patch above enabled it also for ANTIALIAS_RESAMPLE_FETCH_NEEDED (AA_MODE = 01).
This has then been fixed by https://github.com/DragonMinded/libdragon/commit/8ded366e155b98fb631c57a22257494fe7507d15 which reworked the API in addition to fixing the bug.


[SP-5353] Backport of PDI-18091 - Preview data for Transformation Executor step shows conversion error when using parameters (8.3 Suite)

Attention: This is the outcome of an automated process!
Merge Masters: @ppatricio and @bcostahitachivantara
Cherry-picks:

https://github.com/Pentaho/pentaho-kettle/commit/ee21fbe5d109118b2268bf423987389183329c10

:white_check_mark: Build finished in 18m 1s
Build command:
mvn clean verify -B -e -Daudit -amd -pl ui

:ok_hand: All tests passed!
Tests run: 1083, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message


Upgrading to 27 breaks coverage with ts-jest preset

🐛 Bug Report
This issue is a follow-up to the kulshekhar/ts-jest#2790
Recently I've upgraded to jest: 27.0.6 and ts-jest: 27.0.4 and discovered that test runs with --coverage fail because of syntax errors. Downgrading to jest: 26.6.3 and ts-jest: 26.5.6 fixes the issue. Regular test runs without coverage collection work good in both versions.
It looks like jest --coverage ignores preset and tries to use babel.

To Reproduce
Run jest --coverage in a typescript project using ts-jest preset
Here is my jest config:
jest.config.js
module.exports = {
  preset: 'ts-jest',
  testEnvironment: 'node',
  coverageThreshold: {
    global: {
      lines: 90,
      statements: 90,
      functions: 90,
      branches: 70,
    },
  },
  testMatch: ['**/*.test.ts'],
  setupFilesAfterEnv: ['./tests/jest.setup.ts'],
  collectCoverageFrom: [
    `**/src/**/*.ts`,
    `!**/src/server.ts`,
    `!**/src/gracefulShutdown.ts`,
  ],
  coverageReporters: ['text', 'cobertura'],
};
and package.json

{
  "name": "name",
  "version": "1.0.0",
  "description": "description",
  "engines": {
    "node": "^14.15.0"
  },
  "scripts": {
    "prestart": "yarn build",
    "start": "node ./dist/src/server.js",
    "start:dev": "nodemon ./src/server.ts",
    "build": "tsc",
    "lint": "eslint --quiet .",
    "test": "jest",
    "test:ci": "yarn test --coverage --reporters=default --reporters=jest-junit"
  },
  "keywords": [],
  "author"<EMAIL_ADDRESS>  "license": "ISC",
  "private": true,
  "dependencies": {
    "date-fns": "2.23.0",
    "dotenv": "10.0.0",
    "envalid": "7.1.1",
    "got": "11.8.2"
  },
  "devDependencies": {
    "@types/jest": "26.0.24",
    "@types/node": "16.4.7",
    "@typescript-eslint/eslint-plugin": "4.28.5",
    "@typescript-eslint/parser": "4.28.5",
    "eslint": "7.31.0",
    "eslint-config-prettier": "8.3.0",
    "eslint-plugin-jest": "24.4.0",
    "eslint-plugin-node": "11.1.0",
    "husky": "4.3.8",
    "jest": "27.0.6",
    "jest-junit": "12.2.0",
    "lint-staged": ">=11.0.0",
    "nock": "13.1.1",
    "prettier": "2.3.2",
    "ts-jest": "27.0.4",
    "ts-node": "10.1.0",
    "typescript": "4.3.5"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.{ts,js}": "eslint --cache --fix",
    "*.{ts,js,css,md}": "prettier --write"
  }
}

Expected behavior
Coverage collection should not throw syntax errors
Link to repl or repo (highly encouraged)

envinfo

System:
    OS: macOS 11.2.3
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
  Binaries:
    Node: 14.17.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.20.2 - /usr/local/bin/npm

Hi @MikeYermolayev,
Coverage reporting with<EMAIL_ADDRESS>+<EMAIL_ADDRESS>and fairly similar environment works fine here.
So it would be helpful if you could boil this down to a minimal reproduction (e.g. with only typescript, jest, @types/jest, and ts-jest + one test and some simple code) that demonstrates this as a bug, and link to a GitHub repository containing that. At the moment there are a bit too many variables and too many unknown factors with the information you have posted.
See https://stackoverflow.com/help/minimal-reproducible-example for information on how to create good reproductions.

Hi there!
We have little bit different setup but pretty much same result, test coverage is not collected
I prepared minimal reproduction and tested it over node 12, 14, 16 on macOS Catalina
https://github.com/TrejGun/jest-coverage
Please take a look

If this only happens with ts-jest, it's probably an issue with their transformer. @ahnpnl any idea?

hmm we did change the construction of cache key in v27 for ts-jest comparing to v26, that is the only change which is related to code coverage IMO. The repo from @MikeYermolayev I cannot reproduce the issue.
The one from @TrejGun needs to remove the collectCoverageFrom in jest config to make it work. I think he specified the wrong collectCoverageFrom value, which isn't related to ts-jest

@ahnpnl Indeed, this worked. Can you please explain why?

it is because the value for collectCoverageFrom is wrong. If I put
 "collectCoverageFrom": [
    "<rootDir>/**/*.{js,jsx,ts,tsx}"
  ],

will also work.

You have src in your pattern, which is also your rootDir. So your pattern was actually src/src/**/*.{js,jsx,ts,tsx}.

I'll close this as there is no reproduction available. Feel free to open new issues with reproductions if you have the,

thank you guys


Fix linting issue

@TomAugspurger You may want to consider pinning the version of black (and possibly flake8). This wasn't the issue in 0ca1607aa14cb81520ca9526f871b631fe6706fa, but we have had issues with newer versions of black reformatting code that previous versions liked.


Infinite recursion in Continuable::doRject()

I'm still hunting this down, but the async code is complex, and I'm hoping someone else will have some more immediate insight.
Under heavy loads (> 150 concurrent clients, who may or may not stick around for a long running request to complete), I'm getting coredumps with what looks like infinite recursion (> 150 calls to Continuable::doReject()).
I haven't been able to consistently replicate the issue. Will report back when I have a full stacktrace, a solution, or a consistent method to replicate.

Nevermind, dupe of  #337


Show preview of offending message in automod logs

This would let us more easily look for false positive detections instead of having to search each user individually
Message content is protected with a spoiler tag and hopefully defanged using !i (seems to enclose in backticks)

I didn't notice this comment 💀
I've added a length limit of 128, with ellipses app/prepended if it needed to take a subset of the message. It seems to work properly:


fixing password heap inspection vulnerability in user core level

JIRA: SECINTDEV-13
We have extensively used String to store user credential across user core, which leaves passwords as string instances in the heap, which are only removed by the garbage collector. Thus, we must make sure that in each and every place passwords are stored in memory as char[] or byte[] and they are cleared as soon as they have been used.
This PR fixes this as below.
A generic class was introduced to carbon utils, that could handle sensitive data like passwords, secrets, tokens etc as a character array internally.
User core implementation was changed to use the introduced instance rather than using String instances for passwords.
A marker interface was introduced to track listeners that supports added instance type in its implementation.

Hi @malithie,
There are merge conflicts, would you please attend to fix it?


Precision-recall dashhboard not showing in tensorboard

Per-epoch precision-recall curves generated using the pr_curve plugin are not shown in tensorboard when monitored through Guild. This data is stored in tfevent files, which do not appear to have been carried across to the .guild/runs/{run_id} folder

Thanks a lot for the report!
This is fixed in master and will be available in the next release (this week).
I created an issue resolution doc here, which is used to verify the bug in rc9:
https://github.com/guildai/issue-resolution/tree/master/173-precision-recall-dashhboard-not-showing-in-tensorboard

Fantastic, thanks for dealing with this so quickly. I look forward to using this when rc10 is released.

Per https://my.guild.ai/t/precision-recall-dashboard-not-showing/155/2 is looks like we have more work on this one. Well, that's why they call it programming ;)
Are you able to recreate the success case following these steps?
If that's working for you, but your specific case is not working, it'd be great to update that example with an operation that shows the failure. If you have some sample code, paste it here or via gist, or even smoother, PR for that example :)

Sorry for the slow reply. I'm able to recreate the success case, which is good news. I'll need a bit more time to dig around and work out what is happening with my specific case. Happy to create a PR once I've pared the issue down to something re-create able. I'll try to get that done today or tomorrow!

After some more digging I've realised that the issue I've had since rc10 is just related to changes to my codebase (I had stopped saving the pr event file to the correct location). I've updated my code and, as far as I can tell, this is all working. Sorry for any confusion and thanks for your help with this!

Great - I'm glad this feature is working for you! TensorBoard's PR plugin is super useful.

Should be fixed in 0.7.0. If you're still seeing this behavior, please feel free to re-open. Thanks again!


Interaction with autocomplete

Environment

Operating System: Ubuntu 18.04.2 LTS, MacOS 10.12, Termux (Android 9)
Vim version: VIM - Vi IMproved 8.1
NERDTree version : 3c06335

Process

Install ALE syntax check https://github.com/w0rp/ale with vim plug

Install YouCompleteMe https://github.com/Valloric/YouCompleteMe

Use colorcheme installed via vim-plug

comment all plugins in vim-plug's begin section expect Nerdtree & ALE or YouCompleteMe and choosen colorscheme

Open a file with NERDTree

Complete any code. It doesn't always leave marks after the same amount of steps. Usually, the buffer becomes dirty after 1-30 completions.

NERDTree settings applied in vimrc:
let g:NERDTreeWinPos = 'right'
let g:NERDTreeWinSize=$NERDTREE_WIDTH
let g:NERDTreeDirArrowExpandable = '▸'
let g:NERDTreeDirArrowCollapsible = '▾'
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | endif
let g:NERDTreeIndicatorMapCustom = {
\ "Modified"  : "✹",
\ "Staged"    : "✚",
\ "Untracked" : "✭",
\ "Renamed"   : "➜",
\ "Unmerged"  : "═",
\ "Deleted"   : "✖",
\ "Dirty"     : "✗",
\ "Clean"     : "✔",
\ 'Ignored'   : '☒',
\ "Unknown"   : "?"
\ }

whole vim file

Current Result

For ALE after 1-30 completions buffer becomes dirty in random places in whole width and height
For YouCompleteMe dropdown leaves some results above existing code
Autocompletion doesn't leave marks while Nerdtree is closed
Closing Nerdtree doesn't clear marks
Pressing r key in active Nerdtree used to clear buffer's marks
Omni-completion doesn't leave marks.
Default vim's colorscheme doesn't leave marks but installed by vim-plug does (e.g. https://github.com/sickill/vim-monokai, https://github.com/markvincze/panda-vim)

Expected Result
Always clear buffer or way to clear it manually.

Just check for colors placed in ~/.vimrc/colors. The same behavior. It should be replicable not only for vim-plug's colorschemes.

I think it is the same for omnicompletion, but more likely to appear when 2 vsplits are open with NERDTree

I highly doubt this is an issue with NERDTree. If you issue the command :redraw! or press <Ctrl-L> does that fix things when the file becomes dirty? Try searching for related issues in the other plugins' repositories. This may have been reported there.

@mishaszu Any updates?

I have the same problem and I look forward to solving it as soon as possible.

@mishaszu , @gmg137 , if you want me to take a look at this any further, please put a minimal .vimrc file in this issue so I can reproduce the issue.

It can be confirmed that the problem is caused by installing ycm.
Here's my vimrc configuration:
"YCM 设置
"在任何时候都显示注释菜单，那怕在注释中
let g:ycm_complete_in_comments = 1
"从注释的字符串中收集标识符
let g:ycm_collect_identifiers_from_comments_and_strings = 1
"从 tags 文件中收集标识符
"let g:ycm_collect_identifiers_from_tags_files = 1
"自动关闭 preview 窗口
let g:ycm_autoclose_preview_window_after_completion = 1
"从vim语法文件中提取关键字
let g:ycm_seed_identifiers_with_syntax = 1
"设置实例触发键
let g:ycm_key_invoke_completion = '<C-Space>'
"禁用 ycm 补全的文件类型
let g:ycm_filetype_blacklist = {
      \ 'tagbar'  : 1,
      \ 'qf'      : 1,
      \ 'notes'   : 1,
      \ 'unite'   : 1,
      \ 'vimwiki' : 1,
      \ 'pandoc'  : 1,
      \ 'infolog' : 1,
      \ 'html' : 1,
      \ 'mail'    : 1
      \}

"nerdtree 配置
"自动启用
"autocmd vimenter * NERDTree

I don't use YCM anymore and still have the same issue. I also asked question here.
I tried to play with turning on/off all my plugins. So far I found it more frequent for some languages with a specific color schemes.

@mishaszu, you said in your stackexchange question that this happens even when NERDTree is removed. Given that, I agree that this doesn't look like a NERDTree issue.
Does the issue happen with multiple windows; in other words, could the auto complete feature have a hard time with the split window? Does it matter what is in the other window, or does it need to be NERDTree to cause the issue? Try creating a blank split window first - :vnew - and then see if the error occurs.
You mentioned colorschemes. I don't know how it makes a difference, especially with one as simple as panda-vim, but you could try a different one to see if that fixes it. There are lots out there; https://vimcolors.com/ has an extensive list.
It could be a bug in YCM, CoC and ALE, especially if they have similar code.
But more likely it's a bug in Vim. I suggest you continue asking questions on your stackexchange question, and see if filbranden thinks it's worth creating an issue in the Vim project.


If a page only has one match, then you can end up with duplicate URLs

Describe the bug
Duplicate URLs can be created when the API call to WordPress only matches one item.
To Reproduce

Create a page in WordPress that sits on the second level of the site, e.g.

/about-us/the-team

View this page in the frontend to see that it works.
Manipuate the URL so that about-us changes to something else, e.g.

/any-value-in-here/the-team

Page should be returned. This means the same content can be accessed on multiple duplicate (and incorrect URLs)

Expected behavior
The page should only be returned when the exact request URL matches the full URL in WordPress
Additional context
This only seems to happen when the WordPress API returns exactly one match. This is the endpoint in question:
/wp-json/wp/v2/pages?slug=/page-url-here/
This only requests the final segement of the URL, e.g. in the above example:
/about-us/the-team
The query would be:
/wp-json/wp/v2/pages?slug=/the-team/
If this API response returns more than one match, then this error doesn't occur.
I think this is related to the following recent changes:
https://github.com/strata/frontend/pull/83/files

Various fixes have been made to CCS to help resolve this.
However, full fix is to access WP API using the post type & post ID which should be possible once we have persistent metadata about pages. See #63


add message styling

Would be nice to have the ability to send message with a lil bit of formatting like:

bold *bold*
italic /italic/
underline _underline_
line through ~line through~
code inline `var pippo = 0;`

This repo is useful: https://www.npmjs.com/package/marked
Although it adds an extra dependency (20kB), which could also be moved the backend instead.

@coyotte508 indeed, and also I think it is too much for what we would use it for...
I was thinking to use something lighter or to create a light package for it (eventually, it should not be that difficult).
We don't wanna add full support to markdown, but just a small set of formatting options (I'm not even sure about the underline for instance...).

It is also related to #24 (you might wanna go back to a previous msg to strike through something for instance)

working on this, almost ready ;)

added using https://github.com/mattmezza/msgdown


support small_bfd with ray

I have tested both BFD and small_bfd, and they both work well.

reviewed


[RESOLVED] High ICMP ping response time

Problem started at 08:20:29 on 2023.07.31
Problem name: High ICMP ping response time
Host: HP_iLO
Severity: Warning
Operational data: Value: 771ms
Original problem ID: 34450
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23268&eventid=34450

Problem has been resolved in 6m 0s at 08:26:29 on 2023.07.31
Problem name: High ICMP ping response time
Host: HP_iLO
Severity: Warning
Original problem ID: 34450


TODO: commonjs output

Motivation 🔥
to use more globaly
Current
currently, treeche is ESM script, but many of nodejs runtime cannot handle ESM without --experimental-es-modules, so we should output commonjs...

wrong assumption


chore(website): 書影と書籍版との違いを追加

ref #1147

Deploy preview for js-primer ready!
Built with commit 41e5aae71695349cacbf0761a11656a5ae64125f
https://deploy-preview-1148--js-primer.netlify.com


Custom Wordlists: text format support

Hi, I came across check-password-strength and I wanted to see how it worked; I noticed that custom wordlists (--customdict) supports only JSON files, however for some use cases (really long wordlists) it would be easier supporting classic text file wordlists (.txt or .lst).
It would be something like this:
import (
        ...
	"slices",
	"path/filepath",
)
...

func loadCustomDict(filename string) ([]string, error) {

	var customDict []string
	var d jsonData

	log.Debugf("custom dict filename: %s", filename)

	f, err := os.Open(filename)
	if err != nil {
		return nil, err
	}
	defer f.Close()

        // os instead of ioutils
	data, err := os.ReadFile(filename)
	if err != nil {
		return nil, err
	}

        // check file type by extension
        ext := filepath.Ext(filename)
	if !slices.Contains(SUPPORTED, ext) {
		panic(fmt.Sprintf("%s not supported\n", ext))
	}

	if ext == "json" {
		err = json.Unmarshal(data, &d)
		if err != nil {
			return nil, err
		}
                if len(d.Words) == 0 {
			return nil, errors.New("Object 'words' is empty, custom dictionary not loaded")
		}
                customDict = append(customDict, []string{d.Words...})
	} else {
		customDict = append(customDict, strings.Split(string(data), "\n"))
	}

	return customDict, nil
}

Note: I changed ioutil.ReadFile to os.ReadFile because the first one is marked as deprecated there.

I hope this change makes sense to you, however if it isn't the case I would like to know the reason to support only JSON files.

It's a good idea, I'll include your changes in the next days. Thanks!


RenderTexture fixes

This PR fixes #1322
I also did a bit of cleanup in the resize method as I noticed it was logically doing things differently from the constructor, which could lead to a lot of confusion if anyone ends up using it.

Any feedback on this? Is it perhaps too many changes to make it an easy merge?

It isn't that, @GoodBoyDigital is rewriting the resolution code so much of this may not make sense once he is done.

@englercj ahh I see. Is this resolution rewrite for the 2.x branch? or for 3.0?

3.0, for sure. We are only doing bug fixes for v2.x as needed.
I just realized you pulled this to v2.x >.<

You're the best! Thanks! :+1:


No commands are working

Describe the bug
can you please fix bedrockeconomy none of the commands are  working like /balance gives a output of nothing same when i add money
To Reproduce
Steps to reproduce the behavior:

Go to 'on text and put /balance or any other command'
Click on 'no value is showing back'

Expected behavior
to show my balance and to be able to add and remove money doing /addbalance player 10000 but nothing comes back.
Screenshots
If applicable, add screenshots to help explain your problem.
i typed in and got nothing:

OS and version (please complete the following information):

Server OS: [e.g. Windows 11]
PocketMine-MP version [5.0.1]

Additional context
Add any other context about the problem here.

/addbalane player 100000


Support to delete also all old private messages

There can be many of them and deleting them manually takes a long time.
I think the MVP could be simply deleting full conversations with anyone you have not talked since year X (so similar to timeline deletion, with --year 2018 it would delete only full conversations which have been last updated in 2018).
A more interesting approach could be to delete only individual messages in all conversations for a given year. Not sure if one can delete also messages from the correspondent. I think that maybe deleting full conversation is then better.

I think the simplest thing would be to just delete the entire conversation, as you say.
If I were going to do this feature I would probably just iterate through all your convos (not sure about archived ones, probably it would ignore those), and then remove the conversation.
As far as I know, unless you used the "private" mode where messages self-destruct, then there's no way to ensure the messages are removed from the recipient's copy.

I understand that it is not possible to really messages available to others, but I would like at least to hide them inside my own thread/conversation. So if somebody looks there nothing is visible on my side.

I agree, I would find it useful as well. In fact I was thinking it could be useful to run it as a cronjob/timer periodically, to cull your conversation list. I'm going to look into ways I can improve the headless experience.

Still a WIP. I ran into a bit of a blocker writing the code that gets the entire list of your conversations. Might be an easier way though.

Found a nice way of doing it on the mobile site. Hopefully I'll have some time tonight to write it up and implement it.

Made some progress. Switched to using the mobile site and now I can easily iterate through all conversations.
Still need to do:

Archiving
Filter by year
Delete

Basic features are implemented (getting a list of all convos, etc) and filtering by year is implemented.
I am going to implement a basic archiving feature and then add an option to delete them. Then this should be good enough to merge in.

This is almost working, I just haven't had time to push it over the finish line

@mitar This is now working in master. I will do a new release soon with updates to the documentation and so on.
https://github.com/weskerfoot/DeleteFB/pull/72

Awesome.


Supports configurable domain name

This PR addresses the following issues:

OpenShift does not start because node domain names are incorrectly set to include .novalocal by the ansible installer. Explicit fqdns are now passed to the inventory file instead.
the random suffix of OpenShift minions contains upper case characters that do not match the hostname regex check to register in the master. Only lower case characters are now used instead.
'retry' couldn't be installed in the nodes due to a duplicate write_files cloud_config option.
makes the hostnames and global domain name to be configurable through heat parameters.
the master's hosts file no longer have explicit entries for the nodes, relying on the DNS server for that.

Firstly, the name of the variable for domain name parameter confused me a bit. In openshift.yaml, you recently changed it to domain_name but everywhere else it's still called domainname. Could you make it consistent so that it's easier to read?
Secondly, you're using str_replace for concatenation of HOST-SUFFIX and DOMAIN. So when DOMAIN equals an empty string, it leaves the dot at the end. And when I tried to deploy OpenShift and entered an empty domain_name, it failed.

Thanks both for the code and review!
I would prefer having the domain name parameter name consistent everywhere.
And yeah, when Nova is set up with an empty domain, things should ideally keep working. I wonder if list_join could help us here (not sure what exactly it'll do if the domain string is empty). Other than that, I'm not sure we can make (Kilo) Heat express a conditional here.
Another option would be to set the expected hostname value in ansible-inventory:
https://github.com/openshift/openshift-ansible/blob/master/README_origin.md
And one last thing: since the domain_name parameter is integral to the deployment now, would it be better to leave any defaults out? So the users are forced to confront this immediately rather than investigating why the deployment failed. Alternatively, I'm wondering whether example.com is the right default here. The Packstack-based setup uses novalocal by default. I'm not sure about the other installers and the defalult configuration. Any idea what the most common domain might be?

Hi, I've updated all entries from domainname to domain_name to be consistent. I think domain_name matches better with the other parameters.
I understand the issue with the empty domain name, but that's why there is a default value. I also know of no way to handle it with the Kilo version of heat, which I'm using, but if you have any suggestions I can surely update.
I am already setting up explicit hostnames and public_hostnames (including the domain name) through the openshift-ansible inventory file for all minions and master. I'm also having to specify the api and console URLs, otherwise the installer will stick the .novalocal domain there no matter what I explicit already set as the hostname to the master, and I can't access the console from outside OpenStack. I'm not sure it's intentional behavior from the ansible installer, but I can't address it for now.
I could remove the example.com domain as the default, and have this more explicit in the documentation. Let me know if you're OK with this.

I have seen you setting up the explicit hostnames in the inventory and then promptly forgot about it, sorry.
Yeah so I would prefer the domain_name parameter being explicit. I'll merge it as soon as the default is removed.

Removed the default, let me know if you want me to update the documentation as well to be more explicit about it.

This will do nicely. Thanks!


bugfix: fix dfget panic when crossWrite is true

Signed-off-by: zhouchencheng<EMAIL_ADDRESS>Ⅰ. Describe what this PR did
when  dfget's --output and --home  directories are mounted under different disk device, it makes the hard link between them fails to create. At that time, crossWrite will be true.
And the same piece will be written to different files twice. Currently the autoreset field in piece is always true, so the piece buffer will reset after the first written, then the second written will trigger panic.
Ⅱ. Does this pull request fix one issue?
fixes #1410
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

please rebase your code from master to solve the CI problem


Year Scroll

Hi, Is there any help in library regarding year selection or year scroll ?

No, but the README and sample projects show you how to do this.

No, but the README and sample projects show you how to do this.


Prevent E5108 when leaving LSP buffer that is not connected to a file

Background
When leaving a buffer without a proper file handle (e.g. a buffer containing decompiled java sources accessed via nvim LSP) I get the following error:
Error detected while processing BufLeave Autocommands for "*":
E5108: Error executing lua [string ":lua"]:1: E539: Illegal character <C>

Changes

Add silent! to affected autocmd declarations

@hoob3rt Does this look like a sane default or would you prefer to have it configurable via the config object. I.e. something like:
local config = {
  silence_autocommand_errors = true
}

Use shadmansaleh/lualine.nvim
This repo is currently not maintained . See #311
I don't think this issue occures there as I've removed those autocommands.


Create App Icon

Make it nice and simple

There is a section about app icons in the HIG.

thanks


 It would be great if Decap CMS maintained a JSON schema closely matching the config.yml docs, which could be loaded via yaml-language-server and used to provide type checking and intellisense.

I quickly put together an example schema, here. If the devs here don't want to maintain the schema, I'll publish it on https://schemastore.org/, but that way it could easily get out of sync with the repo.

Related: #7006 There's another schema here: https://github.com/talves/json-schema-validator-example/blob/main/schema.json
The schema should be reflected from the source, not hand-written from the docs repo.


Roll Engine from f5364860ab10 to d55a146b75fa (3 revisions)

https://github.com/flutter/engine/compare/f5364860ab10...d55a146b75fa
2020-12-28<EMAIL_ADDRESS>Roll Skia from 33079a7c5a98 to 9a27566e0cbc (4 revisions) (flutter/engine#23310)
2020-12-26<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from umbXBk__x... to br-O-oiDW... (flutter/engine#23301)
2020-12-25<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from fFxQZY6fB... to SFmThOFqb... (flutter/engine#23297)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from umbXBk__x-Xg to br-O-oiDWga2
fuchsia/sdk/core/mac-amd64 from fFxQZY6fB1no to SFmThOFqbnD0
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


[BUG] Fix prop size to Text component

Hey Guys!
Using Yoga in my personal project, I noticed a problem regarding the <Text> component.
In the documentation of the Text props I verified that to change the font-size it is necessary to use the size, however when declaring it I verified that the prop does not work very well.

The Text component has compatibility with the Yoga System as described in the documentation "Text component also has support for system props as you can see here", this means that, using the typography resources, it enters into duplicity with regard to the properties to change the font-size.
Props:
size - only available in the component;
fontSize - available on the Yoga System.
When testing using fontSize instead of size it worked perfectly, below is evidence:

Conclusion:
The size property has been deprecated by Yoga System (typography), properties but the documentation has not been updated. Just as the variant prop is deprecated by color, the size prop should also be deprecated by fontSize.
Proposal:

Update of usage examples;
Add the prop size as deprecated (example variant);

Change in properties documentation.

Hey, @oharaju! How are you?
Firstly, congratulations on opening your first issue on Yoga! It's very good to know that you are using our design system in your personal projects and actively contributing with the project.
Since you already came with a solution, are you interested in working on this issue?
Cheers,
Caio.

Hi @caiotracera! I'm fine and you?
Yes, I'm interested. I will make the changes and soon I will open the pull request.

@oharaju everything is fine 😁
Okay, so we will be waiting for your pull request. But don't need to rush, the next deploy will probably occur only next week.
Feel free to reach us if you need any help!


[BUG]: Input fields value lag while typing after removing preview functionality

What is the bug?
The input fields values take few seconds to update or show to user after removal of preview functionality.
How can one reproduce the bug?
Steps to reproduce the behavior:

Go to Observability/Event Analytics/Explorer page
Start typing in title/description of Panel options
The data takes a few milliseconds to show in the input field

What is the expected behavior?
The data should be visible as soon as the user types in the field.

This ticket has been merged to main.


Make a desert update

I really wish there was an update to the desert to make the desert look better that will include a new mirage and revamp of the desert and also revamp the pyramid and also adds new corbra.

or also a new mob I mean


pysb.importers.sbml.model_from_sbml returns error when loading SBML

Hi,
I am trying to read an SBML file into pysb using the model_from_sbml function. An example of the code I am running is as follows:
from pysb.importers.sbml import model_from_sbml pysb_model = model_from_sbml("sampleNetwork-1.xml")
When running this I get an error that reads: SympifyError: SympifyError: 'time'
I've checked my SBML file with an online SBML validator http://sbml.org/Facilities/Validator and it appears to be valid. Could you please check if this is a bug? I've attached the SBML file I am using below.
sampleNetwork-1.zip

PySB doesn't support explicit time in mathematical expressions yet, but the team just discussed it and we devloped an implementation plan. I've added an issue to track this at #534. We have a few other things in the pipeline right now but will get to this feature fairly soon.

PySB doesn't support explicit time in mathematical expressions yet, but the team just discussed it and we devloped an implementation plan. I've added an issue to track this at #534. We have a few other things in the pipeline right now but will get to this feature fairly soon.


Support Rust in JetBrains

Per request on Discord, we need to implement the following extension point:
  <extensionPoint qualifiedName="org.rust.runConfigurationExtension"
                        interface="org.rust.cargo.runconfig.CargoCommandConfigurationExtension"
                        dynamic="true"/>

Blocked by https://github.com/intellij-rust/intellij-rust/issues/10027

Started implementation #974


support Cri 2.12+, lock gems, (c) 2019, v0.0.5

Flo::Cli#generate_commands: gain compatibility with Cri v2.12+ by
not attempting to modify the Cri::ArgumentList's frozen internal
@arguments_array object. Use #to_a to obtain a new array (not
frozen) that can be pushed to.
flo.gemspec: use pessimistic version locking for all gems. Update
Bundler to ~> 2.0.1.
Bump all copyright dates to 2019
Bump version to 0.0.5

@sd-trailhead-james You've been invited to the org, once you accept the invitation you can refresh the CLA check by going to https://cla.salesforce.com/status/salesforce/flo/pull/4

Thanks @amateurhuman - I've joined and the check is now satisfied.


Compiler Diagnostics

Implement a nice compiler diagnostics setup with pretty-printed errors and warnings.

fixed in #18


Test and make sure the default CR configuration works properly on OpenShift

I just tried to use the operator locally against an OpenShift cluster (provided by ClusterBot), and noticed a few issues:

PostgreSQL database in CrashLoopBackOff state, with the following logs (maybe the image we are using can't be run with a non-root user; I guess we should probably use a different image):

chmod: /var/lib/postgresql/data: Permission denied
chmod: /var/run/postgresql: Operation not permitted
The files belonging to this database system will be owned by user "1000690000".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
initdb: error: could not access directory "/var/lib/postgresql/data": Permission denied

Backstage Pod, failing as well. Not sure from the logs if this was due to the lack of connection to the DB:

node:internal/modules/cjs/loader:1031
throw err;
^
Error: Cannot find module '/app/packages/backend'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1028:15)
at Function.Module._load (node:internal/modules/cjs/loader:873:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:22:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

Repro Steps
$ make install run
$ oc apply -f examples/postgres-secret.yaml
$ oc apply -f examples/bs1.yaml

TODO:

Perhaps use the same PostgreSQL image as the one used by the Helm Chart. Check if this image is certified or not.

Closing this issue as done. Everything is working on OpenShift and is being regularly checked.


rocmPackages.rocrand: 6.0.2 -> 6.3.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.

WARNING: Package has meta.broken=true; Please manually test this package update and remove the broken attribute.

meta.description for rocmPackages.rocrand is: Generate pseudo-random and quasi-random numbers
meta.homepage for rocmPackages.rocrand is: https://github.com/ROCm/rocRAND
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.1.0 in filename of file in /nix/store/fg4glqfy2dw5bnjpgd9n2nc1cpywnihi-rocrand-6.1.0

Rebuild report (if merged into master) (click to expand)

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath

rocmPackages.hiprand
rocmPackages.rocalution
rocmPackages.rocrand
rocmPackages_6.hiprand
rocmPackages_6.rocalution
rocmPackages_6.rocrand

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fg4glqfy2dw5bnjpgd9n2nc1cpywnihi-rocrand-6.1.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A rocmPackages.rocrand https://github.com/r-ryantm/nixpkgs/archive/303ebbbb821fa7feed9127eac73613ff14b58c8f.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/303ebbbb821fa7feed9127eac73613ff14b58c8f#rocmPackages.rocrand

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fg4glqfy2dw5bnjpgd9n2nc1cpywnihi-rocrand-6.1.0
ls -la /nix/store/fg4glqfy2dw5bnjpgd9n2nc1cpywnihi-rocrand-6.1.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

3 packages marked as broken and skipped:

rocmPackages.hiprand
rocmPackages.rocalution
rocmPackages.rocrand

Maintainer pings
cc @Madouura @Flakebi @mschwaig for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.

WARNING: Package has meta.broken=true; Please manually test this package update and remove the broken attribute.

meta.description for rocmPackages.rocrand is: Generate pseudo-random and quasi-random numbers
meta.homepage for rocmPackages.rocrand is: https://github.com/ROCm/rocRAND
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.2.1 in filename of file in /nix/store/zsqhfpic4rxp04yz7vxgjxidv3zf2q72-rocrand-6.2.1

Rebuild report (if merged into master) (click to expand)

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath

rocmPackages.hiprand
rocmPackages.rocalution
rocmPackages.rocrand
rocmPackages_6.hiprand
rocmPackages_6.rocalution
rocmPackages_6.rocrand

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/zsqhfpic4rxp04yz7vxgjxidv3zf2q72-rocrand-6.2.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A rocmPackages.rocrand https://github.com/r-ryantm/nixpkgs/archive/3779f7909568d40d195646b779d9c88ba3bbaff9.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/3779f7909568d40d195646b779d9c88ba3bbaff9#rocmPackages.rocrand

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/zsqhfpic4rxp04yz7vxgjxidv3zf2q72-rocrand-6.2.1
ls -la /nix/store/zsqhfpic4rxp04yz7vxgjxidv3zf2q72-rocrand-6.2.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages marked as broken and skipped:

rocmPackages.hiprand
rocmPackages.rocalution
rocmPackages.rocrand

Maintainer pings
cc @Madouura @Flakebi @mschwaig for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.

WARNING: Package has meta.broken=true; Please manually test this package update and remove the broken attribute.

meta.description for rocmPackages.rocrand is: Generate pseudo-random and quasi-random numbers
meta.homepage for rocmPackages.rocrand is: https://github.com/ROCm/rocRAND
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.3.0 in filename of file in /nix/store/wxs08jp9lrdmga72x04i7303fdiwqgmk-rocrand-6.3.0

Rebuild report (if merged into master) (click to expand)

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath

rocmPackages.hiprand
rocmPackages.rocalution
rocmPackages.rocrand
rocmPackages_6.hiprand
rocmPackages_6.rocalution
rocmPackages_6.rocrand

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/wxs08jp9lrdmga72x04i7303fdiwqgmk-rocrand-6.3.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A rocmPackages.rocrand https://github.com/r-ryantm/nixpkgs/archive/471eac3bbd874fc1498f4009d6257faa12c0e8c0.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/471eac3bbd874fc1498f4009d6257faa12c0e8c0#rocmPackages.rocrand

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/wxs08jp9lrdmga72x04i7303fdiwqgmk-rocrand-6.3.0
ls -la /nix/store/wxs08jp9lrdmga72x04i7303fdiwqgmk-rocrand-6.3.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:fast_forward: 3 packages marked as broken and skipped:

rocmPackages.hiprand
rocmPackages.rocalution
rocmPackages.rocrand

Maintainer pings
cc @Madouura @Flakebi @mschwaig for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.

WARNING: Package has meta.broken=true; Please manually test this package update and remove the broken attribute.

meta.description for rocmPackages.rocrand is: Generate pseudo-random and quasi-random numbers
meta.homepage for rocmPackages.rocrand is: https://github.com/ROCm/rocRAND
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.3.1 in filename of file in /nix/store/dxmz0zpf3bfvp8m8a3svz7xff7rip201-rocrand-6.3.1

Rebuild report (if merged into master) (click to expand)

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath

rocmPackages.hiprand
rocmPackages.rocalution
rocmPackages.rocrand
rocmPackages_6.hiprand
rocmPackages_6.rocalution
rocmPackages_6.rocrand

Instructions to test this update (click to expand)

Either download from the cache:
nix-store -r /nix/store/dxmz0zpf3bfvp8m8a3svz7xff7rip201-rocrand-6.3.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
  --option trusted-public-keys '
  nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The nixpkgs-update cache is only trusted for this store-path realization.)
For the cached download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A rocmPackages.rocrand https://github.com/r-ryantm/nixpkgs/archive/89a36de1e1aed06b3c71e41686cede64fac6cde3.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/89a36de1e1aed06b3c71e41686cede64fac6cde3#rocmPackages.rocrand

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/dxmz0zpf3bfvp8m8a3svz7xff7rip201-rocrand-6.3.1
ls -la /nix/store/dxmz0zpf3bfvp8m8a3svz7xff7rip201-rocrand-6.3.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:fast_forward: 3 packages marked as broken and skipped:

rocmPackages.hiprand
rocmPackages.rocalution
rocmPackages.rocrand

Maintainer pings
cc @Madouura @Flakebi @mschwaig for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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


Please add a license file

I'd like to add this to awesome-zsh-plugins, but it doesn't have a license file.
Please add a license file - if you don't have one in mind,  I recommend using choosealicense.com to help choose an appropriate one.
Thanks!

Hey! That's pretty cool. I missed your comment entirely, sorry about that.
I've added the MIT license and a README.md. Please let me know when you've added it, thanks!

Very cool. First time my code got added like this. Thanks! Much appreciated. 👍


Agenda: Group Check-In with Evan

Milestone 1: Problem Identification

[ ] Research question

Does it have to be something unique and new?
Would starting with specifying a target group be a good start after deciding the domain?

[ ] Constraints

Is age range for the people we want to focus on considered a constraint?

[ ] Scope

Need further explanation

A partial answer here before we meet tomorrow: Scope is which objectives you will and will not include in the project, scope is heavily influenced by your project constraints but they are not the same thing.
I would consider target groups and age range to be part of your project's scope, the demographic you want to study is related to your objectives.  Constraints are more about your group's capacity and limitations, which constrain which objectives you can realistically achieve.


Include example of down-scaling after high capacity reservation

We get this question often from customers and the field:
What happens if I reserved more capacity than I actually end up using? For instance I reserved 2000 DWU and only use 500 DWUs (for instance on weekends).
The answer I expect: customer still need to pay for 2000 DWUs and therefore should calculate wisely if a reservation of 2000 DWU is reasonable or not.

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

ID: 281a9375-a496-37b1-52d7-23b860c5eb94
Version Independent ID: 3d42843d-6911-a21c-fc2a-d0d878687c41
Content: Save on Azure Synapse Analytics charges with Azure reserved capacity
Content Source: articles/cost-management-billing/reservations/prepay-sql-data-warehouse-charges.md
Service: cost-management-billing
Sub-service: reservations
GitHub Login: @yashesvi
Microsoft Alias: banders

It would be great to add example calculations to the docs for reserved capacity: one example for reserving 2000DWU and using 3000DWU and the other example on using less than you reserved (e.g. 500 DWUs). Maybe, we could also give some guidance on the typical "break-even" point, when a reservation for the peak DWUs makes more sense, than scaling down. Thanks a lot!

@swildermann @Sahiep  Thanks for your valuable feedback.
Assigning to content author @yashesvi for review.

@swildermann Hi there. Reservations are “use it” or “lose it”, meaning regardless of utilization, you still pay the full amount that you committed to when you bought the reservation. So, you want to fully use your reservation to avoid wasting your money. If you end up buying more reserved capacity than you can use, you have some options to deal with underutilization:

You can change the scope of the reservation so that the reservation might apply more broadly.
Exchange or refund the reservation. For more information, see https://docs.microsoft.com/azure/cost-management-billing/reservations/exchange-and-refund-azure-reservations.

@sahiep Check out the example 2 at https://docs.microsoft.com/azure/cost-management-billing/reservations/reservation-discount-azure-sql-dw?toc=/azure/cost-management-billing/reservations/toc.json#discount-examples
#please-close


Fix the way the UTMs are being sent

The change in the way the UTMs are being sent to align with the documentation. Discussed also with Mixpanel's support team.

@mbrucki Thank you for the PR!


feat(art-appraisals): Stub out app

The type of this PR is: Feature
This PR solves GRO-1044
Description
This stubs out the new Art Appraisals app routes.
cc @artsy/grow-devs

Warnings

:warning:

Routes added to routes.tsx should have a corresponding cypress.js smoke test. See the cypress/integration folder for examples.

  Generated by :no_entry_sign: dangerJS against 272b22a8370aac034737281e83f46a82d83dc24f

Warnings

:warning:

Routes added to routes.tsx should have a corresponding cypress.js smoke test. See the cypress/integration folder for examples.

  Generated by :no_entry_sign: dangerJS against f6725911478c9e53b21ce1e746d035e5f1892c3f


Is there any documentation for implementing this framework???

Hi,
I'm interested in using this framework in iOS, but i can't find the function documentation.
Is there any documentation for implementing this framework???
Thank you very much!

Afaik there is no documentation.
And we currently also have no developer who knows anything about the iOS code 🤷


Channel Layouts

Does anyone have any idea why I would only have one channel layout option?

I'm thinking you may have to enter more than 1 url to have the option of more layouts.

I tried that, but nothing changed :(.

Ok. I'm having trouble getting it running too. I'm unable to add Chromecasts.

It does work, but only about 1 out of every 50 or so times. You have to be persistent. Usually it'll end up casting the tab instead, or it will "brain freeze" the Chromecast. Once it's up, it'll stay up an hour or two before bombing.

Im thinking of using Airparrot.
On Feb 22, 2017 2:02 PM, "Daniel Jimenez"<EMAIL_ADDRESS>wrote:

It does work, but only about 1 out of every 50 or so times. You have to be
persistent. Usually it'll end up casting the tab instead, or it will "brain
freeze" the Chromecast. Once it's up, it'll stay up an hour or two before
bombing.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/groupon/greenscreen/issues/69#issuecomment-281767795,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYwaBm68Qc3qjz1gJGG3IdM8amLwsKZlks5rfIZigaJpZM4MGXVc
.


Finish AD DS Monitoring pack

Hello There,
Is there any plan to have AD replication status included in this pack ?
Thinking for example of something providing insightful info as the legacy LA module for AD replication Status.
Thank you in advance
Pierre.

Hello Pierre, it is definitely into my plans. I am in the process of reviewing the AD Replication solution (hard to convert due to the way it was build using C# assemblies) and review the AD Management Pack itself. Stay tuned and thank you for the comment. Have you tested the solution? Do you have any feedback? Thank you.

Hello Jose,
Thank you for your confirmation.
As I am currently trying to migrate from one old Log analytics agent to AMA, I am currently focussing on trying to get back a same level of functionalities for specific cases (Replication, DNS logs,... ) , so I did not test your solution yet, but was happy to find it, and interested to try it in second stage.
In meanwhile I did some investigation from 2 other angles :

looking on errors in the specific event
2.
Look on ability to use powershell command get-adreplicationfailure
Both are interesting and providing different angles to handle the same target.
By any chance, do you have any plan to integrate DNS logs of queries in this monitoring ? I am struggling to get them working with default DCR and DNS analytics, would you have experience with it ?
Kind regards,
Pierre.

From: Jose Fehse @.>
Sent: Thursday, May 23, 2024 15:36
To: Azure/AzureMonitorStarterPacks @.>
Cc: Pierre Drion @.>; Comment @.>
Subject: Re: [Azure/AzureMonitorStarterPacks] Finish AD DS Monitoring pack (Issue #120)
Hello Pierre, it is definitely into my plans. I am in the process of reviewing the AD Replication solution (hard to convert due to the way it was build using C# assemblies) and review the AD Management Pack itself. Stay tuned and thank you for the comment. Have you tested the solution? Do you have any feedback? Thank you.
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/AzureMonitorStarterPacks/issues/120#issuecomment-2127129635, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATYKMQVUN7OM2LDNJ7KMF2LZDXWHRAVCNFSM6AAAAABEMXB2YSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRXGEZDSNRTGU.
You are receiving this because you commented.


Add shellcheck workflow

[citest]

[citest]

@richm could you please help me with ./library/lib.sh:245:9: note: Consider using { cmd1; cmd2; } >> file instead of individual redirects. [SC2129], it's in https://github.com/linux-system-roles/tft-tests/blob/main/library/lib.sh#L245
You would know a proper way of doing this. I need to echo lines with the correct spacing.

@richm could you please help me with ./library/lib.sh:245:9: note: Consider using { cmd1; cmd2; } >> file instead of individual redirects. [SC2129], it's in https://github.com/linux-system-roles/tft-tests/blob/main/library/lib.sh#L245 You would know a proper way of doing this. I need to echo lines with the correct spacing.

I probably changed things around it, and now it was an easy fix. Fixing as part of https://github.com/linux-system-roles/tft-tests/pull/19


is there any command unlink module

is there any command unlink module?

rnpm unlink <name-of-module>


page not found for reading, Build a Basic CRUD App with Angular 7.0 and Spring Boot 2.1

Hyperlink: Build a Basic CRUD App with Angular 7.0 and Spring Boot 2.1
URL: https://github.com/oktadeveloper/okta-spring-boot-2-angular-7-example/blob/master

I'm not sure why you want to link to that URL. Here's the article for the blog post: https://developer.okta.com/blog/2018/08/22/basic-crud-angular-7-and-spring-boot-2


Added Cromite to bucket

I hope you're doing well! I wanted to let you know that I've added Cromite to this bucket. If possible, I'd greatly appreciate it if you could consider allowing Cromite in your personal bucket, if it can't make into Extras. It would be incredibly helpful to benefit from reliable manifest updates through GitHub Actions, especially since you're the maintainer of the Extras bucket and often invoke them. Thank you.

/verify


Refactored multiple assertion tests into parameterized ones

Problem:
A test method with many individual assertions stops being executed on the first failed assertion, which prevents the remaining ones' execution. The difference between these assertions lies in different arguments only.
Solution:
Parameterized tests make it possible to run a test multiple times with different arguments. Using JUnit's parameterized tests feature, all assertions are executed as individual tests. This way, we could make 10 original tests become 55 independent ones. In this refactoring, no original assertion parameter was changed.

Thanks, but I don't really get impacted by the current setup. Happy to use this style for new tests.


OCPBUGS-13111: Fix errors from HCP controller removeServiceCAAnnotationAndSecret()

What this PR does / why we need it:
During HostedCluster creation, the HCP Controller reports errors from removeServiceCAAnnotationAndSecret because the NTO metrics Service is not yet created. The removeServiceCAAnnotationAndSecret() function is used to remove a Service CA annotation from a Service and delete the corresponding Service-CA-generated Secret, so that, in the case of an upgrade from a version where a Service's certs were managed by the Service CA rather than the HCP Operator, the HCPO is able to replace the secret without error.
If the Service / Secret do not exist, we don't need to return an error from this function.
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[x] Subject and description added to both, commit and PR.
[x] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/area control-plane-operator

/retest

It seems like we had a flake on the support/certs/tls_test.go TestValidateKeyPairConsidersAllFields test.

/retest-required

/retest

/cc @davidvossel , not sure if this test failure is expected?

/retest

/approve

/lgtm

/cherrypick release-4.13

/retest


sbom-generator: Fix FilesAnalyzed boolean value

The FilesAnalyzed boolean value as per SPDX spec is lowercase.
Spec:
https://spdx.github.io/spdx-spec/v2.3/package-information/#7.8
Without this fix, the generated SPDX SBOM fails the validator tool. https://github.com/spdx/tools-java/releases
$ java -jar tools-java-1.1.8-jar-with-dependencies.jar Verify sbom.spdx
This SPDX Document is not valid due to:
Warning: Invalid case for boolean value.  Expected 'true', found 'True'

https://tools.spdx.org/app/validate/
The following warning(s) were raised:<br />
Warning: Invalid case for boolean value. Expected 'true', found 'True'

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@timesys-nathan
Thanks for this fix.


escapeshellarg(): Argument exceeds the allowed length of 2097152 bytes

we frequently have this error/issue popping up for potentially large backtrace.
apparently escapeshellarg() doesnt support long string input.
ErrorException vendor/sentry/sentry/lib/Raven/Client.php in handleFatalError at line 1153

escapeshellarg(): Argument exceeds the allowed length of 2097152 bytes

a possible solution is instead of native escapeshellarg(), maybe we can manually replace single quotes ' with the escaped version
we use sentry v1.10.0 and php7.2

quoting from the PHP documentation, escapeshellarg escaping rules are different from OS to OS:

escapeshellarg() adds single quotes around a string and quotes/escapes any existing single quotes allowing you to pass a string directly to a shell function and having it be treated as a single safe argument.
On Windows, escapeshellarg() instead replaces percent signs, exclamation marks (delayed variable substitution) and double quotes with spaces and adds double quotes around the string.

So we can't just drop the usage of that function and manually replace the characters. The best solution I can suggest is to switch the send method to async instead of exec which have been anyway removed from version 2.0 of this library (which is in beta since a few days)

thank you for the pointer. is v2 production ready already or anytime soon? we are all fine to bump the version.
in the meantime we will use async. we however dont know how the performance compares with exec.

Since 2.0 has currently been released as beta version I can't say that is production ready, however the API should be pretty stable and I don't expect any big change coming soon but only bug fixes. I also expect to release the stable version ASAP, but to be honest AFAIK there are no users using it yet so you may be the first or one of the first guys trying the new SDK with all that follows

Just to let you know, 2.0 has been released as stable. In case you want to continue using a process to send events to Sentry, you may want to have a look at the Symfony Process component and write your own transport. I don't know however if it can help with your main issue of the maximum length. I'm going to close this since anyway we are not willing to implement such transport out-of-the-box


Fix disposals trapping you for eternity when leaving via a trunk pipe

About the PR
I thought I tested this case, I thought wrong.
Fixes #5496
Changelog
:cl:

fix: Fixed bug with disposals that turned Packedstation disposals into an inescapable hell

half of this PR is to help identify if this occurs in the future (checks for repeated ExitDisposals), the other half is the actual fix

unsure how to determine when the holder gets stuck, unfortunately
theoretically, any case a holder would be "stuck", they should be running ExitDisposals once per frame
I think the big issue was that the holder was ejecting the player into the tube, and at that point there's not much that can be done


[doc] Issue in "Installing cluster API dependencies"

Installing cluster API dependencies:
https://suse-edge.github.io/quickstart-metal3.html#id-installing-cluster-api-dependencies
Why do we use a hidden directory ``~/.cluster-api` for CAPI manifest?
Does clusterctl need the directory for something runtime?

@peteingithub yes the ~/.cluster-api/clusterctl.yaml is the configuration file consumed by clusterctl - we configure it to use the downstream SUSE images, without this it'll pull the upstream images which we do not test/support.

Let me know if you think any additional clarification is needed to the docs or if this can be closed, thanks!

I did not spot this configuration file in the CAPI docs, so that's the reason I asked.
If the configuration file would only be used once, then it is OK to close.

OK, I was confused for the directory being hidden under user's home directory ~/.cluster-api while the clusterctl docs state it residing in $XDG_CONFIG_HOME, which is missing in our management cluster, and path then defaulting to $HOME/.config. But it seems the EIB docs state the path as command line parameter pointing to /home/metal3/clusterctl.yml.


Class built for the new Sequence Coordinate Server

Class building for the new Sequence Coordinates schemas. Some executions diverge from the std procedure to keep enumerated values as enums.
Ping @josemduarte @JonStargaryen

Included adjustments to build local schemas
Ping @josemduarte

@valasatava happy with this PR?

@valasatava happy with this PR?

Yes, thank you!


DHT: improve data hosting metric

this issue is considered completed when the dashboard has an automatically-updating metric for how many TB of data is available for download
Today, we listen for queries under a shard (node id prefix) and calculate the data availability from what got announced vs the amount that got claimed.
This is efficient but inaccurate, because:

background downloader does not announce
not every announcement is reachable
claim set size changes (minor)

This issue proposes a new way using the script from #3625  like:

pick 2 random bytes
query hub for all streams starting with those 2 random bytes (should be 270-350 claims)
actively search them (slowly to avoid flood)
check results (slowly)
calculate reachable / total sample size as % downloadable
calculate total results / total sample size as % theoretical maximum
2h should make it low impact while still probing 12 times a day

Not in this PR idea:

compare result sets from iterative find vs the script. This should give how well everything is working end-to-end.

fixes #3633

Hello there,
LBRY DHT is based on Kademlia with sha384 hashing. Items are only searchable by content hash (sd_hash in a claim).
This step searches the hub for sd_hashes samples. Check https://github.com/lbryio/lbry-sdk/blob/cc6cdc07f5067aa3a8e40b5421e0fd50fffbe0e7/scripts/sd_hash_sampler.py


Change quoting to allow for variables in paths

I use $HOME in some of my mina variables, this makes it work.

Hey, I merged your changes and released new patch version, thanks for your contribution :)


hardcoded API version in azure/mgmt/sql/operations/_databases_operations.py does not work for all sovereign clouds

azure-mgmt-sql:
2.0.0:
Ubuntu 18.04.5 LTS:
3.6.9:

Describe the bug
The api_version variable on line 322 in azure/mgmt/sql/operations/_databases_operations.py is hardcoded to "2021-02-01-preview".
The AzureChinaCloud does not support this api version (see error message below):
azure.core.exceptions.HttpResponseError: (NoRegisteredProviderFound) No registered resource provider found for location 'chinaeast' and API version '2021-02-01-preview' for type 'servers/databases'. The supported api-versions are '2014-04-01, 2014-04-01-preview, 2015-01-01, 2015-05-01-preview, 2017-03-01-preview, 2017-10-01-preview, 2018-06-01-preview, 2019-06-01-preview, 2020-02-02-preview, 2020-08-01-preview, 2020-11-01-preview'. The supported locations are 'chinaeast, chinaeast2, chinanorth, chinanorth2

To Reproduce
Steps to reproduce the behavior:

Execute the sql_client.databases.get command for a database in the AzureChinaCloud

Expected behavior
It shall be possible to specify the api version when executing the sql_client.databases.get command
Screenshots
n.a.
Additional context
n.a.

@eeertel Thanks for the feedback! Routing this to the right people.


How to tunnel result from asynchronous method call inside Meteor method into $scope?

Hi,
this is a question rather than a bug or an issue and it is best explained with a working and a non-working example. Maybe the anwer is trivial but I cannot see it right away.
Working example
Meteor method
Suppose I have a Meteor method lying under server/methods/book-info.js:
'use strict'

Meteor.methods({
  'bookInfo': function() {
    // Assume we query book information here
    // ...
    var res = 42;
    return res;
  }
});

Angular controller
When I call this method from my controller (client/books/book-detail-ctrl.ng.js) like this:
'use strict'

angular.module('myApp')
  .controller('BookDetailCtrl', function ($scope, $stateParams, $meteor) {
    // This is the property I want to fill by calling a meteor method
    $scope.bookInfo = 0;

    $scope.fetchBookInfo = function() {
      $meteor.call('bookInfo').then(
        function (data) {
          console.log("success");
          console.log(data);
          $scope.bookInfo = data;
        },
        function (err) {
          console.log("error");
          console.log(err);
        }
      );
    }
  });

Angular template
I can have a template client/books/book-detail.view.ng.html that looks like this:
<input type="button" ng-click="fetchBookInfo()">Fetch Book Information</input>

Book Info: {{ bookInfo }}

When I click on the Fetch Book Information button it generates
Book Info: 42
.
We see that we can tunnel a simple value from a meteor method to our scope.
But what if the book information is not directly available inside the meteor method?
In other words, what if we have to make an asynchronous call that yields the book information?
Non-working example
Let's assume the book information (42) is not available right away in the Meteor method. Instead let's assume it will be queried by an asynchronous function call.
'use strict'

Meteor.methods({
  'bookInfo': function() {
    var res = 0;
    // Library is an artificial name and represents any library you want
    Library.getInfo(function(data) {
         // the "data" that is available inside this function scope shall be returned by . But how?
         // I basically want to do this but it doesn't work because the "return res;" below is "faster".
         res = data;
    });
    return res;
  }
});

How can I restructure my app so that I can assign the data object available inside my anonymous callback function to res?
Thank you in advance!

Hi,
This is typical asynchronous problem. So you should use promises.
Here's an example of how to do it:
http://stackoverflow.com/a/23777507/2727080
Please do tell if it works and maybe paste your corrected code.

Thank you @MilosStanic . The answer you gave me is one that I stumbled upon earlier. Do a I need a wrapper around var Future = Npm.require("fibers/future");? Shall I use meteorhacks/npm for this? Also what about Meteor.wrapAsync?

Thank you @MilosStanic you've made my day. The solution was to install meteorhacks (meteor add meteorhacks:npm) and then create a package.json like this:
{
  "fibers": "1.0.5"
}

After that I've modified my Meteor method to look like this:
'use strict'

var Future = Npm.require("fibers/future");

var syncInfoFunction = function() {
  var fut = new Future();
  var library = new Library(/*...*/):
  library.getInfo(function (err, data) {
    if (err) {
      console.log(err);
      fut["throw"](err);
    } else {
      fut["return"](data);
    }
  });
  return fut.wait();
};

Meteor.methods({
  'bookInfo': function() {
    return syncInfoFunction();
  }
});

Maybe I can make syncInfoFunction() less of a global function.
Again, thank you so much!

Cool,
What stops you to copy-paste syncInfoFunction() code into your bookInfo function?
This all should be somewhere in the docs.

@MilosStanic you're right. nothing stops me :)


HTML links are only changed up to one level deep

Nested paths are not prefixed by the URL provided by the --github parameter.

See this demo summary as an example: https://github.com/nkashy1/locust-demo/issues/4


Enhance the method of  parseDynamicTags's return type

I think that  it would be better to change the method of  parseDynamicTags's return type.

Thank you, @zhangweidavid !