adding contributors to the collective page is not showing them on the front page

Describe the bug
Collective admin adds contributors to their collective, they get the notification but they don't show up on the interface.
To Reproduce
look at the added members on these collectives vs those that are showing up.
https://opencollective.com/wwcodeindianapolis
https://opencollective.com/wwcodestlouis
https://opencollective.com/wwcodebogota
Expected behavior
Being able to show a collective's contributors without giving them admin rights

Test Member User is a "Contributor" and is showing up here: https://opencollective.com/testcollective#team
And I see one core contributor and two simple contributors showing up on the first url of wwcode:

So I'm not sure what the issue here.

hmmm this was not the case last week. I'll find out more

From wwcode: "Yes they are showing up now, thanks Pia. They weren't originally showing. "
So closing this since it solved itself out.


Not a valid link to Sync for downloading the image

Hi,
I tried to download the image (both with ~10GB and ~6GB), but the links are not working.
There is server connection error with code 1000.

I've the same error on multiple Sync links. It seems the server is down. Please try later.

Currently downloading JetsonNanoUb20_bare.img.xz without issue. Thank y'all for having this image available.

You're welcome

Hi, the link is operational now, and the image was successfully downloaded.

Hi, the link is operational now, and the image was successfully downloaded.
Thanks for your quick response.


Regla "remover_filas_duplicadas"

Coverage increased (+0.1%) to 76.909% when pulling 084e4881be5b454d0767ab743eed1c30624eb8a2 on datosgcba:feature/remove-duplicate-files into 9512d0936ca28062c801e08560a5ca1f6608e742 on datosgobar:master.


Implement a better font-size definition

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


Merge

This is wrong

Hi! Could you explain what went wrong?
On Sat, Feb 2, 2019 at 1:11 AM Lotto<EMAIL_ADDRESS>wrote:

Closed #7658 https://github.com/runelite/runelite/pull/7658.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/runelite/runelite/pull/7658#event-2113459969, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AipsdVKc1nz4QAzVglJz1BAvidfoBQrCks5vJMmMgaJpZM4afPR4
.

--
Lugupidamisega,
Kristjan Koemets

You're making a request to add this code into the official release. We are not going to add your code to the official release.

Oh, I tried to update my fork.


Fix incorrect increment handling in QpackDecoderHandler

Motivation
QpackDecoderHandler incorrectly assumes negative value from QpackUtil.decodePrefixedInteger() to be read from the ByteBuf. The method returns -1 if there isn't enough data available in the buffer to read a prefixed integer.
Modification

As prefixed integers are unsigned integers, only 0 is an invalid value. Fixed the check accordingly.
Also, fix the TODO for unknown frame by closing the connection.

Result
QpackDecoderHandler can now handle decoding an insert count increment frame split across multiple buffers.

@normanmaurer not sure where to see the leak report for the build failure.

@NiteshKant you can expand the raw log output from the previous step

@NiteshKant https://github.com/netty/netty-incubator-codec-http3/issues/122 .. Seems unrelated

@NiteshKant good work buddy


feat: Add tactic compute_degree_le

This PR is a port of the mathlib3 tactic compute_degree_le. Internally, the new tactic performs differently than the original tactic.  It passes all the tests for mathlib3's compute_degree_le.
Analogous to this PR there is the shorter implementation #6007.
This PR supersedes #5276.
compute_degree_le was used only once in mathlib3: PR #5883 restores its use in mathlib4.

[x] depends on: #5978, containing the helper lemmas about polynomials

The implementation in #6221 achieves more than the one here and, in my opinion, better!


Live

Hi @qunluhe, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Use tox for CI, get rid of travis's matrix and let tox handle stuff

Resolves #87

Coverage increased (+0.4%) to 79.811% when pulling df53864df6bf80804f031124f7f58990b29c1768 on asherf:more-tox into 57b01ba5276c181eb170e295f4720513b5c06f6b on uber-common:master.


Using transformerDirectives() breaks style suggestions & underline in

I noticed that using transformerDirectives() breaks Visual Studio UnoCSS extension in my Nuxt 3 project.
You can reproduce it by simply using Nuxt 3.0.0-rc9 and use CSS or SCSS in <style> block and adding transformerDirectives() in transformers option for @unocss/nuxt.
Before adding transformer option:

After:

@antfu Is there any way to fix this? Or this is problem on extension side?

so am i...

@antfu Is there any way to fix this? Or this is problem on extension side?

@rogi27 ,
My solution for this problem is create a unocss.config.ts, and put transformerDirectives to vite-plugin-unocss's transformer, like this:
// unocss.config.ts
import {
  defineConfig,
  presetUno,
  presetIcons,
  presetAttributify,
  transformerVariantGroup,
} from "unocss";

export default defineConfig({
  presets: [presetAttributify(), presetUno(), presetIcons()],
  transformers: [transformerVariantGroup()],
});

import { defineConfig } from "vite";
import solidPlugin from "vite-plugin-solid";
import UnocssPlugin from "@unocss/vite";
import transformerDirectives from "@unocss/transformer-directives";

export default defineConfig({
  plugins: [
    solidPlugin(),
    UnocssPlugin({
      transformers: [transformerDirectives()],
    }),
  ],
  build: {
    target: "esnext",
  },
});

its working, cause extension will ignore the config in vite.config.ts.


Local server running feature

Hey guys, it's me again 😃  To use pwmetrics with CI we should run some server and then run metrics passing current url (e.g. localhost:8080/index.html). What do you think about adding possibility to run server for special file using CLI? I propose smth like
pwmetrics public/index.html --local

wouldn't that be fairly equivalent to the following?
cd public; python -m SimpleHTTPServer 8000; pwmetrics http://localhost:8000/index.html;

I'm not crazy about adding an optional static server into pwmetrics as many setups require a slightly more complicated server.

Fair enough. Closing then)


Metadata: Bome.SendSX version 1.4

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Missing "Validation-Completed" on this PR.


Should we publish the Devtool Panel?

Hi @koba04
Could you publish the private package and opt-out for PRODUCTION build as react-query devtools does?
https://react-query.tanstack.com/devtools
Let me what you thought about this idea. Thanks.

@jellydn 👍
I have a plan for this, so I'll make the package public.

opt-out for PRODUCTION build as react-query devtools does
I'll consider that, thank you!


OperationalError: database is locked

Had setup Fileconveyor and it was running allright (on Rackspace UK). But now am getting the below error on running: screen python src/fileconveyor/fileconveyor/arbitrator.py
Any guidance would be highly appreciated
---------- Error ----------------
Exception in thread ArbitratorThread:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "src/fileconveyor/fileconveyor/arbitrator.py", line 273, in run
self.__setup()
File "src/fileconveyor/fileconveyor/arbitrator.py", line 235, in __setup
self.pipeline_queue.put(item)
File "/root/src/fileconveyor/fileconveyor/persistent_queue.py", line 103, in put
self.dbcur.execute("INSERT INTO %s (item, key) VALUES(?, ?)" % (self.table), (sqlite3.Binary(pickled_item), md5))
OperationalError: database is locked

I am also facing the same issue.
@chetand Were you able to find the solution?


Add sha256sum for make cross and also for release makefile target.

Right now, we are not creating the sha256sum for the cross builds and also for the release target in the Makefile, which we mostly require.

@praveenkumar So we want sha265sum for the crc binaries (with the bundle embedded), and also the sha256sum of the resulting tar.gz/zip archives, right?

@anjannath we want the sha256sum only for the resulting tar.gz/zip archives that what we are going to publish to internal server.


Starting/stopping Advertising causes memory leak

I have a project in which I need to start up a BLE Server, then shut it down a while later, then start it back up, etc...  This needs to happen many times.  In attempting this, it appears that there is a memory leak when I stop the advertising.  If I run the following code, but comment out the BLEDevice::startAdvertising() line, there is no memory leak.  If I have that line in there, there is a leak.  Note, for this example code, I never actually connect to the Server.  I'm just running it to see the heap reduction.  Here is a simplified code example I wrote up that demonstrates the problem.  Any help would be greatly appreciated!  Thank you in advance!
/*
    Based on Neil Kolban example for IDF: https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/tests/BLE%20Tests/SampleServer.cpp
    Ported to Arduino ESP32 by Evandro Copercini
    updates by chegewara
*/

/** NimBLE differences highlighted in comment blocks **/

#include <NimBLEDevice.h>

// See the following for generating UUIDs:
// https://www.uuidgenerator.net/

#define SERVICE_UUID        "4fafc201-1fb5-459e-8fcc-c5c9c331914b"
#define CHARACTERISTIC_UUID "beb5483e-36e1-4688-b7f5-ea07361b26a8"

BLEServer *pServer;
BLEService *pService;
BLECharacteristic *pCharacteristic;

void StartDevice()
{
  BLEDevice::init("Long name works now");

  pServer = BLEDevice::createServer();
  pService = pServer->createService(SERVICE_UUID);
  pCharacteristic = pService->createCharacteristic(
                                        CHARACTERISTIC_UUID,
                                  /***** Enum Type NIMBLE_PROPERTY now *****
                                        BLECharacteristic::PROPERTY_READ   |
                                        BLECharacteristic::PROPERTY_WRITE
                                        );
                                  *****************************************/
                                        NIMBLE_PROPERTY::READ |
                                        NIMBLE_PROPERTY::WRITE
                                       );

  pCharacteristic->setValue("Hello World says Neil");
  pService->start();
  // BLEAdvertising *pAdvertising = pServer->getAdvertising();  // this still is working for backward compatibility
  BLEAdvertising *pAdvertising = BLEDevice::getAdvertising();
  pAdvertising->addServiceUUID(SERVICE_UUID);
  pAdvertising->setScanResponse(true);
  pAdvertising->setMinPreferred(0x06);  // functions that help with iPhone connections issue
  pAdvertising->setMaxPreferred(0x12);

  //**************************************************************
  // If I comment out this line, no memory leak happens!
  //**************************************************************
  BLEDevice::startAdvertising();

  Serial.println(">>> Device Started <<<");
}

void StopDevice()
{
    BLEDevice::stopAdvertising();

    BLEDevice::getAdvertising()->removeServiceUUID(pService->getUUID());

    pService->removeCharacteristic(pCharacteristic);
    pServer->removeService(pService);

    BLEDevice::deinit(true);

    Serial.println(">>> Device Stopped <<<");
}

void setup() {
  Serial.begin(115200);
  Serial.println("Starting BLE work!");
}

int cnt = 0;
void loop()
{
  // put your main code here, to run repeatedly:
  if (cnt == 0)
  { // Start the device.
    StartDevice();
  }
  if (cnt == 2)
  { // Stop the device.
    StopDevice();
  }

  cnt++;
  if (cnt >= 4)
  {
    cnt = 0;
  }

  Serial.printf("Free Heap: %d\r\n", ESP.getFreeHeap());
  delay(2000);
}

Here is a snippet of the results over the serial port.  As can be seen, the heap drops 60 bytes on each pass.
>>> Device Started <<<
Free Heap: 220480
Free Heap: 220480
>>> Device Stopped <<<
Free Heap: 248208
Free Heap: 252672
>>> Device Started <<<
Free Heap: 220420
Free Heap: 220420
>>> Device Stopped <<<
Free Heap: 248148
Free Heap: 252612
>>> Device Started <<<
Free Heap: 220360
Free Heap: 220360
>>> Device Stopped <<<
Free Heap: 248088
Free Heap: 252552
>>> Device Started <<<
Free Heap: 220300
Free Heap: 220300
>>> Device Stopped <<<
Free Heap: 252492
Free Heap: 252492
>>> Device Started <<<
Free Heap: 220240
Free Heap: 220240
>>> Device Stopped <<<
Free Heap: 252432
Free Heap: 252432

There is a memory leak in versions earlier than 1.3.5 of this repo that occur when reinitializing the BLE stack. If you are using an older version please try updating and post back with your results.

Thank you for the quick help.  I had previously run across some other information about those memory leaks and had modified my code to fix it.  I didn't realize 1.3.5 had been released.  I updated to that and still have the same memory leak.

Thanks, I have reproduced and identified the issue and will include it in the next release.
As a workaround, in your code you can remove these lines:
    BLEDevice::stopAdvertising();

    BLEDevice::getAdvertising()->removeServiceUUID(pService->getUUID());

    pService->removeCharacteristic(pCharacteristic);
    pServer->removeService(pService);

They aren't necessary if you'll just be deinitializing the stack anyway, it'll take care of that for you.
The memory leak specifically is caused by some missing delete calls when using.
    pService->removeCharacteristic(pCharacteristic);
    pServer->removeService(pService);

Thank you so much for looking into it so quickly!  Can you indicate what delete calls there needs to be so I can add them and get it working until the next release?

 The patch has been applied and queued for release.
I will close this issue now, feel free to re-open in the future if necessary.


loadProducts works on TestFlight but not on production

I have used this library successfully while testing and beta testing with TestFlight.
I have uploaded my app to production and re-downloaded in from AppStore, and not products will not load any more any advice?

I assume this issue is solved.  After some hours it comes to life and works 😄 . Do you still have the issue?

check if your products are approved and ready for sale. it usually take 24 hrs for them to show up


Content audit of cloud.gov overview pages

As a cloud.gov team member, I would like to audit the existing overview content on cloud.gov to ensure the content is relevant and up to date for prospective and existing customers and development team members. The audit will assess if content should be preserved, consolidate/edited, or sunsetted. Content will be audited section by section - the first to be addressed is the Overview content.
AC -

[ ] - Proposed changes will be documented

Site IA will be updated in an upcoming sprint.
Link to audit template - https://docs.google.com/spreadsheets/d/1zaRnJfUr9J3K2LcasMHs9PRD9KNxFiT1pONXqbc7v20/edit#gid=0
Link to current sitemap - https://app.mural.co/t/gsa6/m/gsa6/1581345078867/ecddcf20b48d92e1b5493ecbf0a78860f2a123eb
Link to Google Analytics data - https://docs.google.com/spreadsheets/d/1GlbuT-hgS27-Wqui1QuBhlHp1yWccdcj6jClOQ3lUEo/edit#gid=1470290569

Proposed changes will be implemented once #1557 is done.

Changes have been documented in this spreadsheet https://docs.google.com/spreadsheets/d/1zaRnJfUr9J3K2LcasMHs9PRD9KNxFiT1pONXqbc7v20/edit#gid=0 .
Once the Netlify CMS has been added to the site, content changes will be made.


Ability to choose the color a window is cleared to during creation

GLFW currently always clears the window to white. We would prefer black to be our default color. Our previous windowing library supported setting a default frame buffer color.

GLFW clears the window to black, i.e. the default for glClearColor. On what platform is it white?
Make the window initially hidden and clear the window to whatever colour you wish before showing it.

The window is completely white on Windows 7/Nvidia GTX 770 until glfwSwapBuffers() is called the first time.

What version of GLFW are you using?

Uhm, not sure. I'm using GLFW through LWJGL 3. Which version it uses I am unsure of. I'll try to ask @Spasi.

glfwGetVersionString

It prints:
3.1.2 Win32 WGL VisualC

A workaround is to add a call to glfwSwapBuffer(window) right after creating the window.

Do you have Aero enabled?

Yes, I do.

The proposed workaround (swapping buffers) is the correct solution. GLFW disables window contents clearing by Windows for performance reasons, but this leaves the OS with no clue what to do when the window is shown.


Please add a donate button!

I would love to properly thank you for this tool

Thanks for the suggestion! I added the following ko-fi button to the bottom of my README.md:

I do want to make it clear how much this project depends on pyatv.dev, which enables communication to ATVs. Without pyatv this would have stopped working years ago.

Awesome, thank you. I sent some love to pyatv as well 😄


Cannot install Prettier - ESLint

VSCode Version: 1.12.1
OS Version: macOS Sierra 10.12.4 (16E195)

Steps to Reproduce:

Search for the extension "Prettier - ESLint"
Click install

Instead of installing, it does nothing. The buttons goes from install to installing and then to install again. Is it possible to see a log of errors?
Extension: https://marketplace.visualstudio.com/items?itemName=RobinMalfait.prettier-eslint-vscode#review-details

@mintyPT I cannot reproduce this, it takes a while to install it is a 20MB extension and takes a while to download.

Nop, it's a fast connection.
Is there a way for me to check what vscode is doing on the background?

@mintyPT Can you check in ~/.vscode/extensions, what's in there?

Solved!
There was a folder with the name of the extension. I erased it and simply installed the extension again and it worked. Thanks!
@joaomoreno nice! é sempre bom encontrar por cá outros tugas e outros tugas devs :D


Update pubme extension

Description

Screencast

Checklist

[ ] I read the extension guidelines
[ ] I read the documentation about publishing
[ ] I ran npm run build and tested this distribution build in Raycast
[ ] I checked that files in the assets folder are used by the extension itself
[ ] I checked that assets used by the README are placed outside of the metadata folder

Hi 👋
Looks good to me, approved 🔥

Thank you! Could you please also have a look at this https://github.com/raycast/extensions/pull/6359 Update? :)


Sync olm 12-10-21

Note: https://github.com/operator-framework/operator-lifecycle-manager/pull/2216 it yet to make it in this repo due to a failing e2e test. (refer: bz)
This upstream commit being introduced in this PR touches a part of the code that was introduced in the above mentioned PR. The commit's been amended to keep all other changes in it, with the exception of the change in the code that's missing in this repo.

/approve

Retesting tests that failed to start
{"component":"entrypoint","error":"wrapped process failed: exit status 2","file":"prow/entrypoint/run.go:80","func":"k8s.io/test-infra/prow/entrypoint.Options.Run","level":"error","msg":"Error executing test process","severity":"error","time":"2021-12-09T19:10:25Z"}

/test verify
{"component":"entrypoint","error":"wrapped process failed: exit status 2","file":"prow/entrypoint/run.go:80","func":"k8s.io/test-infra/prow/entrypoint.Options.Run","level":"error","msg":"Error executing test process","severity":"error","time":"2021-12-09T19:22:56Z"}

/test unit

/test unit-olm

/test verify

/retest

/retest

/retest

/retest

/lgtm

/retest

/retest


chore(master): release filsnap 0.5.0

:robot: I have created a release beep boop
0.5.0 (2023-08-01)
Features

add transaction insight for FilForwarder transfers (#48) (863376c)

This PR was generated with Release Please. See documentation.

I'm having trouble merging this PR which would trigger publishing a release of the snap on npm.
The Github UI says that merging is blocked, because the base branch requires all commits to be signed. This makes sense since the version bump commit in this PR by the release bot (https://github.com/filecoin-project/filsnap/pull/50/commits/b334b1356bb55da84c88f4040fdae0e8eeb94d70) is not signed. I'm wondering how the previous release PR (https://github.com/filecoin-project/filsnap/pull/41) was merged though since that contains an unsigned commit as well. Maybe the commit signing requirements for the master branch was only turned on after that PR got merged?
I tried to work around this problem by squash-merging the PR branch locally. This way the PR is merged with a single commit signed by me (https://github.com/filecoin-project/filsnap/commit/e6504c68b342f4148db361885de5937ac4b3c319). I had to revert (https://github.com/filecoin-project/filsnap/commit/c5b1b17911693f3c9ef6cc06cae53c2b01614a9e) this unfortunately, because it messed up the release bot. The npm release job didn't run after the local squash merge and this PR was not closed, but it got updated with already released stuff:

It's possible that there is a simple solution here that I can't see -- otherwise we could work around the problem by disabling the code signing requirement temporarily until the release is done.

:robot: Release is at https://github.com/filecoin-project/filsnap/releases/tag/filsnap-v0.5.0 :sunflower:

Sorry @hugomrdias I missed your message here. Thanks for merging!


Modification of version number access wanted

Currently the build process takes the component version number out of a file named version.py. This file name is a requirement.
But in my opinion it would be better to be more flexible here. For example the Prometheus interface library is a one-file-tool that can also store the version number within itself. It is not nice to have the need to add an additional file only for providing the version number. It would also be a Python file, placed in the same folder and the version is defined in the same way.
This should not make a difference.
My proposal is to introduce a dictionary in the build scripts. Keys are the component names or the repository names. And the key values are the file names in which the version is stored.
This solution would allow us to be more flexible and would prevent us from having the need to add files that are not really required in my opinion.
Reference:
https://github.com/test-fullautomation/robotframework-prometheus/pull/14

Hi Holger,
your requirement is not clear to me.
Let us talk about this.
Thank you,
Thomas

integrated in 0.12.1


Getting errors in compiler.lua saying that a local file is 'nil'

I am not exactly sure what is wrong, but I am getting the following error
E5113: Error while calling lua chunk: ...packer/start/nightfox.nvim/lua/nightfox/lib/compiler.lua:73: attempt to index local 'file' (a nil value) stack traceback:
Basically, I looked into that specific in that file, and I saw that it was file:write(require("nightfox").compiled) in that line, and so I assume (I am not proficient in lua, just getting by with what I need to know to configure neovim) that the program is trying to get a file named nightfox. However, when I look in that directory, there is no file named nightfox.
I uninstalled the plugin with Packer and reinstalled it to see if that would make a difference (in case I accidentally deleted the file or something), but I am still getting the same issue.
Can anyone help?

It looks like file is not being created. Could you let me know the following:

Are you updated to the latest changes?
What is your platform?
What version of neovim?
Does the cache folder exist?

~/.cache/nvim/nightfox for mac and linux
%localappdata%\nvim\nightfox for windows

@EdenEast Consider adding some error handling
https://github.com/catppuccin/nvim/commit/4c5a2ebb250c2e3f1a6a05f372fead0a0988981e


#144 Add support to absolute imports

Add support to absolute imports issue: https://github.com/katherinepeterson/readme.so/issues/144

@pedrozebra do you mind resolving conflicts?

@pedrozebra do you mind resolving conflicts?

Hey @katherinepeterson the conflict was be solved!
Thank you.
Pietro


File stored in blob storage can't be reached

I'm able to upload png to blob storage (or at least it seems like that 🙈), but when trying to access it I only get:
This site can't be reached.

Currently on: Next 14.0.0 - App Router Route Handlers
I'm rendering a canvas-image to a png. This is the function where I'm sending it to blob-storage
page.tsx:
// Convert the canvas to a Blob object
      canvas.toBlob(async (blob) => {
        if (!blob) {
          throw new Error('Failed to convert canvas to Blob');
        }

        console.log(blob);

        // Send a POST request to the upload endpoint
        const response = await fetch(
          '/api/poster/upload?filename=filename.png',
          {
            method: 'POST',
            body: blob,
          },
        );

        // Parse the response as JSON
        const result = (await response.json()) as PutBlobResult;

        // Store the image URL in the component's state
        setImageUrl(result.url);

        // Log the result
        console.log(result);
        setIsLoading(false); // End loading
      }, 'image/png');

In api/poster/upload/route.ts
import { put } from '@vercel/blob';
import { NextResponse } from 'next/server';

export async function POST(request: Request): Promise<NextResponse> {
  const { searchParams } = new URL(request.url);
  const filename = searchParams.get('filename');

  // Read the request body stream into a Buffer
  const chunks = [];
  if (request.body) {
    let reader = request.body.getReader();
    let result = await reader.read();
    while (!result.done) {
      chunks.push(result.value);
      result = await reader.read();
    }
  }
  const body = Buffer.concat(chunks);

  if (!filename || !request.body) {
    return NextResponse.json(
      {},
      { status: 404, statusText: 'Missing filename or request body' },
    );
  }

  const blob = await put(filename, body, {
    access: 'public',
  });

  return NextResponse.json(blob);
}

Everything seems to be working as espected, but when I click the link I get "This site can't be reached."

When I copy the link into the blob dashboard I get this:

Clicking download gives me the same error. The filesize is however exactly the same as when I rewrite the function to download the png instead (to make sure the png is a real png):

Code example for verifying the png works
canvas.toBlob((blob) => {
if (!blob) {
  throw new Error('Failed to convert canvas to Blob');
}
const url = URL.createObjectURL(blob);
const link = document.createElement('a');
link.href = url;
link.download = 'filename.png';
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
}, 'image/png');

Running the function then downloads the file in working condition locally.

Previously my route.ts looked like this:
import { put } from '@vercel/blob';
import { NextResponse } from 'next/server';

export async function POST(request: Request): Promise<NextResponse> {
  const { searchParams } = new URL(request.url);
  const filename = searchParams.get('filename');
  console.log(request.body);

  if (!filename || !request.body) {
    return NextResponse.json(
      {},
      { status: 404, statusText: 'Missing filename or request body' },
    );
  }

  const blob = await put(filename, request.body, {
    access: 'public',
  });

  return NextResponse.json(blob);
}

but then I got this logged, and it still didn't work:
ReadableStream { locked: false, state: 'readable', supportsBYOB: false }
compared to now when use the chunks I log this instead:
<Buffer 62 6c 6f 62 3a 68 74 74 70 3a 2f 2f 6c 6f 63 61 6c 68 6f 73 74 3a 33 30 30 31 2f 38 34 65 38 62 66 37 38 2d 38 38 32 65 2d 34 62 36 33 2d 62 34 61 33 ... 13 more bytes>
I would expect to download the png when I open the url, but in all the different variants I've tried I just get "This site can't be reached.". This problem might be because of my limited understanding of blob-storage, but it seems similar to #407, where it was commented that we should open a different issue with more details if we still have issues.
I've also tried with the example code from Vercel Blob Next.js Starter like this, but the result is still the same:
import { put } from '@vercel/blob';
import { NextResponse } from 'next/server';
import { customAlphabet } from 'nanoid';

export const runtime = 'edge';

const nanoid = customAlphabet(
  '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz',
  7,
); // 7-character random string

export async function POST(req: Request) {
  const file = req.body || '';
  const contentType = req.headers.get('content-type') || 'text/plain';
  const filename = `${nanoid()}.${contentType.split('/')[1]}`;
  const blob = await put(filename, file, {
    contentType,
    access: 'public',
  });

  return NextResponse.json(blob);
}

I'm facing the same just. I have just enabled Blob storage and uploaded first two images for the test but I cannot publically access them.
I can see the image is uploaded if I use the storage Browser, but clicking on Download button returns the same DNS_PROBE_FINISHED_NXDOMAIN error.

Thanks to both of you, I am looking into this issue right now. @Trimud would you be ok to share your blob store id for me to investigate it? You can send it to for investigation via<EMAIL_ADDRESS>Thanks.

@mhauken jc7bouryqecqyvig is now accessible 👍

Thanks, @vvo !
Can confirm that the appnow works as expected!

Awesome :)


Instance on the bungeecord

How do I load the instance on the bungeecord?

Down load Luckperms-Bungee from https://luckperms.net

Down load Luckperms-Bungee from https://luckperms.net

I need the API

As far as I know bungeecord doesn't have getServicesManager().load(class)

I mean... https://luckperms.net/wiki/Developer-API#using-the-singleton-static-access


\parencite instead of \cite

Hi - latex and obsidian noob here but I have a successful overleaf template that creates Harvard style referencing using \parencite which creates the (Author Year) very nicely. Your plugin uses \cite which seems to render without the parenthesis regardless of what I do. Would it be possible to configure the exact Latex being used somewhere in the plugin?

Instead of \parencite{}, I think \autocite{} should be used, which decides how to render the citation based on what style (csl) is used. So for styles like Havard or APA it would be parentheses, for other styles footnotes etc.
Related to my issue #4.

Thanks! fixed in new version - choice of parencite, autocite or basic cite commands in plugin settings


[Bug Report] No Matches Found Installing Optional Packages

Describe the bug
When I try to install gymnasium with [box2d] or [all] I get an error message "no matches found". I can install the base gymnasium package fine: pip install gymnasium works.
Code example
> pip install gymnasium[box2d]
zsh: no matches found: gymnasium[box2d]

### System info

MacOS 14.3.1
Python 3.11.4
Pip 24.0

### Additional context

_No response_

### Checklist

- [X] I have checked that there is no similar [issue](https://github.com/Farama-Foundation/Gymnasium/issues) in the repo

I found a StackOverflow suggesting to install Swig and and Box2D separately (https://stackoverflow.com/questions/51811263/problems-pip-installing-box2d), so I tried running:
    brew install swig
    pip install box2d-py
    pip install box2d

But now when I try to create the environment using env = gym.make("LunarLander-v2") I get the following error:
AttributeError: module '_Box2D' has no attribute 'RAND_LIMIT_swigconstant'
Any help with getting the environment to work is very appreciated!

I got it to work by also installing box2d-kengz and pygame


assetid

"Plan for Access-Denied Assistance"
have unknown link
assetid:///b169f0a4-8b97-4da8-ae4a-c8f1986d19e1

This is true for at least the following 2 documents:

https://docs.microsoft.com/en-us/windows-server/identity/solution-guides/scenario--access-denied-assistance#scenario-description
https://docs.microsoft.com/en-us/windows-server/identity/solution-guides/deploy-access-denied-assistance--demonstration-steps-#BKMK_Links (in the See also section at the bottom of the page)

Have you found this deprecated / non-working link in any other page where it needs to be corrected?

https://docs.microsoft.com/en-us/windows-server/identity/solution-guides/scenario--access-denied-assistance#scenario-description

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

ID: b425f69f-cfa7-d0e2-a2a5-687336655688
Version Independent ID: 2aad22a4-5360-2d4a-7d65-939672595184
Content: Scenario Access-Denied Assistance
Content Source: WindowsServerDocs/identity/solution-guides/Scenario--Access-Denied-Assistance.md
Product: windows-server
Technology: security
GitHub Login: @billmath
Microsoft Alias: billmath

https://docs.microsoft.com/en-us/windows-server/identity/solution-guides/deploy-access-denied-assistance--demonstration-steps-

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

ID: 98b4abcc-d531-0f28-dc56-060d3f227809
Version Independent ID: 661da96a-7f88-df0d-3c7b-ce0e60dae783
Content: Deploy Access-Denied Assistance (Demonstration Steps)
Content Source: WindowsServerDocs/identity/solution-guides/Deploy-Access-Denied-Assistance--Demonstration-Steps-.md
Product: windows-server
Technology: security
GitHub Login: @billmath
Microsoft Alias: billmath

Hey iv777,
Thanks again for contacting Microsoft. We value your feedback.
A documentation change has been made where the link to "Plan for Access-Denied Assistance" has been updated in both docs and will be live after the next business day. We will now be closing this thread.
Thank you and have a most pleasant day.
#please-close


Add sample project from MediatR but with DryIoc.Messages

https://github.com/jbogard/MediatR/blob/master/samples/MediatR.Examples.DryIoc/Program.cs

Here is the project: https://github.com/dadhi/DryIoc/tree/master/playground/DryIoc.Messages.MediatRLikeExample


179-bed storage server always reboot

Our 179-bed storage server is always rebooted.
Need to find out why.
Recently reboot time:
2019-09-01, Sunday
2019-08-27, Tuesday
2019-08-18, Sunday
2019-08-13, Tuesday

Caused by Azure itself not us.


Restore cursor position

The position of the cursor could restored to the position before the buffer was closed. That would add an extra level of awesomeness to this script.
Thanks for making this btw. This should exist as a vim feature!

Thank you for the kind words :).
I've just pushed a commit that should also restore cursor position, could you try it out?

Works beautifully. Thank you.


updated the service name in inital docker compose file due to configu…

…ration conflicts in latest wordpress image

When running through the getting started documentation, after completing the initial Kubernetes deployment, i was getting database connection error when port forwarding the service. After looking at the Wordpress configuration, there were two pieces of configuration present. This is due to the default Kubernetes env variables being named after the service.
The latest image will check to see if there are any environment variables present with the Wordpress prefix and generate a new config file.
config here
I have renamed the service to avoid this, can you please review?


Accessing 1Password.xcassets from Cocoapods in code when frameworks are used

I'm using 1Password via Cocoapods and I have use_frameworks! set in my Pod file. I'm using Swift.
I can access the images in my Storyboard, but when I try to access the images in code like such: UIImage(named: "onepassword-navbar") the image fails to load.
What am I doing wrong?

Because you are using frameworks the images are in a different bundle and UIImage(named:  String) only searches the main bundle.
If you use UIImage(named: String, inBundle: NSBundle?, compatibleWithTraitCollection: UITraitCollection?) it should work  😀

@tapi - That makes sense. What bundle am I looking for?

Typicaly I cheat and just use NSBundle(forClass: AnyClass) with a class I know is in the same bundle, so in this case you probably want to use OnePasswordExtension.self (Might be OnePasswordExtension.Type I have trouble keeping them straight)

That solved it. Thanks!

@codywinton, I am really happy to hear that you've sorted it out :wink:
@tapi, thanks so much for helping out! :+1:
In a way this this a duplicate of #187, there are instructions in there spread across several comments, therefore I am adding this sample project illustrating how to use use_frameworks! with CocoaPods and Swift 1.2.
I hope that this will help other developers too :wink:
Best,


[Marker.io] "get answers" and "ask us a question" needs to be configured on "redeem your card" popup modal

Steps to reproduce:

click "redeem your card" onleft bottomof the screen
click "i need help"

Actual result: click the 2 buttons. they are not configured
Expected result: please configure

Reported by: vinod<EMAIL_ADDRESS>- Contact via Marker.io
Source URL: https://wf-b.stg.prezzee.com/en-us/prepaid-visa-card
Issue details: Open in Marker.io
Device typedesktopBrowserChrome <IP_ADDRESS>Screen Size1366 x 768OSWindows 10 (10.0.0)Viewport Size1366 x 641Pixel Ratio@1x

do they have the same url for each locale if they click on those buttons'?
https://prezzeeus.zendesk.com/hc/en-us
https://prezzeeus.zendesk.com/hc/en-us/requests/new
(notice they have en-us in the url but on current staging site we can choose differentlocales)
if this is correct, then close this one @Druhin13


Modal Scroll Issue

I opened Modal and I can't scroll it.
Any help would be great

Hi, @CorvusGG! Thank you for using our product. Please, can you give us a link to your project to see what happens there? Regards, Dragos


unifi: 4.8.14 -> 4.8.15

Things done

[ ] Tested using sandboxing (nix-build --option build-use-chroot true or nix.useChroot on NixOS)
Built on platform(s)

[ ] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Previous version (4.8.14) is no longer available to download.

Looks good to me. Thanks

Can this be backported to 16.03 if possible, not sure what the turn around time is for it to reach the channel but I require this for one of my servers and a manual override will not work for me there.

Sure

Ach, I also didn't notice that you hadn't changed the commit subject .. updating the PR title does not affect the commit. Anyway not a huge deal ...

@joachifm My apologies, I should have read the  CONTRIBUTING.md before rather than after making the PR. Will do better next time.

Mistakes happen, doing better next time is all that matters :)


⚠ WSINGRESOS - RECIBOPAGO has degraded performance

In 65a9e90, WSINGRESOS - RECIBOPAGO (https://srvshyweb.yucatan.gob.mx/cgi-bin/wspd_cgi.sh/WService=wsingresos/internet/servicios/wsRecibosPagosWeb.r) experienced degraded performance:

HTTP code: 200
Response time: 7371 ms

Resolved: WSINGRESOS - RECIBOPAGO performance has improved in 2ee456c after 19 minutes.


Sous Chefs Adoption

Description
Formally adopt this cookbook into Sous Chefs
Issues Resolved
Adds new inspec tests
Check List

[X] All tests pass. See TESTING.md for details.
[X] New functionality includes testing.
[X] New functionality has been documented in the README if applicable.

Released as: 3.4.0


EffiecientDet in object detection

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
Linux
Python Version
3.10
MediaPipe Model Maker version
No response
Task name (e.g. Image classification, Gesture recognition etc.)
Object detection
Describe the actual behavior
There is no support for EffiecientDet training in object detection, currently that is supported in tflite-model-maker but this project seems to be the successor, i can't move over until it supports EffiecientDet training

Describe the expected behaviour
Support EffiecientDet training

Standalone code/steps you may have used to try to get what you need
https://github.com/google/mediapipe/blob/b350f7239482b542db325f5fa52d5a3e9193778a/mediapipe/model_maker/python/vision/object_detector/model_spec.py

Other info / Complete Logs
No response

I also need the support for Efficient_Det_Lite0 training because the Colab support for the old Model Maker (Fallback runtime) is limited. I would help to expand the fallback possibility in Colab until Efficient_Det_Lite0 will be supported.

@willemnator, @robodhhb. Unfortunately we don't plan to support efficientdet anymore as the model is not actively maintained internally. Can you try the new model maker with the MobileNetV2 architecture? It should perform similarly to the previous efficientdet model while being smaller in size.

@willemnator I see, we are working on supporting more mobilenet-based architectures which are larger and have bigger input sizes like (384x384). Those should help with your mentioned issues on smaller objects in images, so please stay tuned for that.

Is there any articles comparing yoloV8 and EfficientDet_lite models run on mobile phones ? thank you


Create sdp files for stream

This helps vlc and others programs to run streams without much user configuration

c=IN IP4 <IP_ADDRESS>
m=video 5602 RTP/AVP 96
a=rtpmap:96 H264/90000

For reference, someone did this: https://github.com/webrtc-rs/sdp, which seems more than enough, possibly has more than our needs.

We can implement UDP h264 for now and rtsp only, everything else we can let for hold, these two should be pretty easy to implement.

Relevant to bluerobotics/BlueOS-docker#1195

Just writing it down here so I can't lose it in a refactor:
fn create_sdp_from_pad(pad: gst::Pad) -> Result<gst_webrtc::WebRTCSessionDescription> {
    let caps = pad.caps().context(format!("No caps found in {pad:#?}"))?;
    debug!("Got caps: {caps:#?}");

    let mut sdp_media = gst_sdp::SDPMedia::new();
    gst_sdp::SDPMediaRef::set_media_from_caps(&caps, &mut sdp_media)?;
    debug!("Got SDPMedia: {sdp_media:#?}");

    let mut sdp_message = gst_sdp::SDPMessage::new();
    sdp_message.add_media(sdp_media);
    debug!("Got SDPMessage: {sdp_message:#?}");

    let sdp =
        gst_webrtc::WebRTCSessionDescription::new(gst_webrtc::WebRTCSDPType::Offer, sdp_message);
    debug!("Got SDP: {sdp:#?}");

    Ok(sdp)
}


how to install this tools, please teach me, im newbie

You did not specify your operating system.
If you have Windows (10 for example):
Go to https://github.com/AlexC-ux/Arina-OSINT/releases/
Look for Arina-OSINT-2.2, download win.zip archive, unzip into folder - done. Run the Arina.exe file to start the application.
If you have Linux (ubuntu for example):
Go to https://github.com/AlexC-ux/Arina-OSINT/releases/
Look for Arina-OSINT-2.1, download the linux.tar archive,
Unpack the archive, open the console from the folder with the unpacked file, write in the console
sudo chmod +x Arina
Done. To run the application run the Arina file with the command ./arina


What is the real format of the uncompressed RGB and RGBA raw data outputs?

I want to record RAW RGB888 low resolution video. In the docs you stated that camera outputs YUV format before the data comes to the video splitter.
Based on this information, is the video in YUV420 format at the camera output? If so I think it is not possible to convert YUV420 to RGB888 without any data loss due to downsampled YUV channels? Am I right?

It's perfectly possible to convert from YUV 4:2:0 to RGB.
Yes there is a very small amount of loss of colour detail from the chroma planes having been subsampled, but they will have been upsampled generally using interpolation during the conversion. There will also be a very small amount of rounding that occurs due to the multiplications in the conversion matrices.
It still doesn't make the output anything other than RGB 888 or RGB[A|X]8888 though. Otherwise you'll say that the output of a JPEG decoder isn't YUV - it is, but has been through a lossy conversion path. (I'm ignoring the fact that RGB JPEGs exist too).

@6by9 Thank you!
Unfortunately interpolation doesn't work for me because I'm already trying to observe very small amount of changes in the color. So the non-interpolated real RGB888 encoded video is some kind of necessity for my application. In this point I have two more kind questions if you let me:

I am using the latest version (1.13) but in the previous documentation it is stated that at the camera output mode for the video port is fixed to YUV (marked blue in the attached image below) in order to make the encoder operations faster. What is the actual raw video format at this point? (YUV420, YUV444 or etc?) I am asking this because if it is YUV444 I can convert it to RGB888 and use it, otherwise some very small amount of changes will be loss.

In the same documentation it is stated that resizer component does this YUV to RGB conversions. If first questions answer is "YUV420", does the resizer convert YUV420 to RGB888 by using interpolation?

The source sensor has a Bayer colour filter at the front of it, therefore your colour channels have already been interpolated as part of the demosaicing step.
Within the firmware camera stack, the output of the ISP is ALWAYS YUV420 or YUV422. If you ask for RGB on a camera port then that will be converted in software at point where an output buffer is being filled.
A number of the postprocessing stages were only ever written to work on YUV data, therefore it made more sense to do this conversion than try updating all of those to work in the RGB domain as well.
I'm not going to dig into the YUV to RGB conversion code, largely because there are a number of other parameters at play.
The subsampled chroma sample can be sampled at any of a number of locations, known as the chroma siting. See https://en.wikipedia.org/wiki/Chroma_subsampling#4:2:0 for a basic description. For each of the horizontal and vertical directions the sample can be taken on top of a luma pixel (co-sited), or between two samples (interstitial). I'd have to check out which flavour the ISP produces first to check that every stage was correct, and I'm afraid I just don't have the time to do that.
libcamera does allow requesting RGB direct from the ISP, or you could compare the raw pixel values off the sensor.


Scheduler/searcher runs infinitely long (fails to handle error in individual training trials)

HPO may currently run infinitely (due to deadlock) when any individual training trial has an error.
May be root cause of issues like this:  https://github.com/awslabs/autogluon/issues/245
A temporary fix is implemented for TabularPrediction in: https://github.com/awslabs/autogluon/pull/322/
But a more long-term fix should live in scheduler/searcher.

Thanks @jwmueller
As we discussed, this need to be implemented in the scheduler to handle the reporter when exception happens in the user/pipeline code.
We can prioritize it when we refactor searchers & schedulers with new algorithms added.

Hello,
this is something I am interested in. We will add new searchers that come with a certain complexity, and they may well fail with throwing an exception (even though this happens very rarely for us).
We'd love that in this case, the whole experiment is shut down.
In the longer term, we should consider alternatives. Maybe the very simplest is to catch exceptions and return some "invalid evaluation" code. The searcher/scheduler would then have the chance to react to this, for example they could just ignore the evaluation call (as there is quite some randomness involved, this may well help to recover).
We also have HPO variants which can deal with failures systematically. This is an exciting and useful direction.

Why not have a parameter to Searcher which dictates behavior upon receiving an exception: Shutdown, ignore+continue, crash, etc.?

Additionally, I'd like to comment that skopt Searcher randomly deadlocks even after #322 has been applied. In 3 runs, 2 of them deadlocked at different points and 1 succeeded. It's unknown why it does this.

It seems the base RandomSearcher was updated with some locking functionality that was never added to the skopt searcher: https://github.com/awslabs/autogluon/blob/master/autogluon/searcher/searcher.py#L162
@zhanghang1989 Can you add this same functionality to the skopt searcher?
In general, we really need to ensure that whenever any of the searchers/schedulers is altered, the same changes are made to all the other searchers/schedulers where appropriate.

I may have put in the additional locking. While I lack the understanding of Hang, I'd rather err on the cautious side. Louis once told me that both read and write access to class members should be protected. If members are objects with methods, then maybe they should have their own locks. At least, this seems to me how the code works.

@Innixma We could ask autogluon evaluation functions to return a certain status, but this sounds cumbersome.
Maybe better (if feasible) would be to wrap any such evaluation call into try catch, and if something is caught, we return a "failed" signal and maybe the exception object?
Then, it would be up to the scheduler and searcher to react to a failed evaluation, which is probably the best solution. As long as we do not want to implement this, the default reaction of a scheduler could be to tear down all running jobs and rethrow the exception?

@mseeger  What I think is ideal is that if an exception occurs in a trial started by a scheduler, it should receive the exception and handle it in a manner which does not result in deadlock and is well explained. By giving a new parameter to scheduler, we could dictate what this behavior is (Ignore and continue, raise exception, stop HPO early, etc.)
Currently, when a trial has an exception, the entire scheduler deadlocks. This is what has to be changed. I am not familiar with how to accomplish this, but I'm sure it can be done in relatively few lines of code by those familiar with the schedulers.

I may have put in the additional locking. While I lack the understanding of Hang, I'd rather err on the cautious side. Louis once told me that both read and write access to class members should be protected. If members are objects with methods, then maybe they should have their own locks. At least, this seems to me how the code works.

Regarding this, could you apply the same additional locks to skopt searcher? Currently it is unstable.

Perhaps we can better utilize inheritance / class hierarchy to prevent issues like this going forward?
For example, in the BaseSearcher, we could have something like this:
def get_config(self, **kwargs):
   with self.LOCK:
      if len(self._results) == 0:  # no hyperparams have been tried yet, first try default config
            return self.default_config()
      else:
            try:
                return self._get_config()
            except:
                ErrorHandling

def _get_config(self, **kwargs):
    raise NotImplementedError

and then instead of get_config() method, each usable Searcher can have internal _get_config() method used to return the next configuration, which doesn't have to worry about error-handling, locking, etc.  We can probably do something similar for updating rewards, etc.

Hmm, I think get_config is the wrong one to wrap. Recall that there are two things happening:

Scheduler obtains new value(s) from jobs via reporter, calls update of searcher
Scheduler asks searcher for new config to start (get_config)

When a job fails, this should go through 1), not 2). What would be great if the reporter could be asked whether the job has failed. An easy idea would be that this could be returned in fetch.
This is easy, because the scheduler calls fetch anyway regularly in order to pull new metric values.
Then, the scheduler can react to it. If something like this was done by somebody, I could rewrite the scheduler(s) and searchers, at least to react in one defined way.
But I am not able to do this stuff for reporter and autogluon function annotation. Ideally, we want to have something that wraps the evaluaiton function provided by the user and catches exceptions. I'd not know how to do that.

Hello, I experimented similar problems, when using schedulers for training some custom train functions. I suggest the following solution.

to implement custom process object, which provides info about exception

before trying to get info from local reporter queue  we can check the exception of the process (which is the process which is running model trial)
https://github.com/awslabs/autogluon/blob/5d4ea45541d1c9c42b3720a5fed29f12cb81364a/autogluon/scheduler/reporter.py#L178

if there is an exception terminate the reporter and so on

import multiprocessing as mp
import traceback

class Process(mp.Process):
    def __init__(self, *args, **kwargs):
        mp.Process.__init__(self, *args, **kwargs)
        self._pconn, self._cconn = mp.Pipe()
        self._exception = None

    def run(self):
        try:
            mp.Process.run(self)
            self._cconn.send(None)
        except Exception as e:
            tb = traceback.format_exc()
            self._cconn.send((e, tb))
            # raise e  # You can still rise this exception if you need to

    @property
    def exception(self):
        if self._pconn.poll():
            self._exception = self._pconn.recv()
        return self._exception

Example:
def target():
    raise ValueError('Something went wrong...')

p = Process(target = target)
p.start()
p.join()

if p.exception:
    error, traceback = p.exception
    print(traceback)

The solution is from here: https://stackoverflow.com/questions/19924104/python-multiprocessing-handling-child-errors-in-parent

Hmm, I think get_config is the wrong one to wrap. Recall that there are two things happening:

Scheduler obtains new value(s) from jobs via reporter, calls update of searcher
Scheduler asks searcher for new config to start (get_config)

When a job fails, this should go through 1), not 2). What would be great if the reporter could be asked whether the job has failed. An easy idea would be that this could be returned in fetch.
This is easy, because the scheduler calls fetch anyway regularly in order to pull new metric values.
Then, the scheduler can react to it. If something like this was done by somebody, I could rewrite the scheduler(s) and searchers, at least to react in one defined way.
But I am not able to do this stuff for reporter and autogluon function annotation. Ideally, we want to have something that wraps the evaluaiton function provided by the user and catches exceptions. I'd not know how to do that.

My pseudocode / suggestion to better utilize inheritance was not really intended to address error-handling specifically.  Rather it is to address an issue I keep seeing: as new changes are being made to improve certain schedulers/searchers, they are not being made in the rest of the searchers/schedulers thus leading to inconsistencies that shouldn't exist (and this'll get worse as more algorithms are added).  My suggestion is only this:  whenever introducing a change to an existing searcher/scheduler, consider whether that change would be more appropriate in the Base class instead of just the particular class you're currently working on.
Some example inconsistencies that currently exist and should be addressed include:

locking in some searchers and not others
using default_config in HPO round #1 should always happen regardless of searcher (this is critical for success in time-constrained settings)
error-handling is not standardized

My psuedocode was only trying to demonstrate that we can easily resolve the first 2 of these inconsistencies. Presumably there is also a homogeneous way to deal with error-handling in the base class.

@jwmueller
You are making great points. It would be great to formulate the requirements for a new searcher in the header comments of BaseSearcher. Even better if they were enforced by abstract methods.
I'd be very interested in this, because as you know, we are about to contribute a bunch of new searchers which are quite sophisticated, and I am not sure we are currently supporting all the points you mention.
As for locking, I'd suggest @zhanghang1989 is looking over the code, or otherwise tells us what to lock. My intuition is that I want to wrap every read/write access to a member in a lock. The exception is if the member is itself an object, and the access happens through a method, in which case locking is deferred to that class. Is that correct? I'd be surprised if not.
My feeling is locks are simple (at least conservative), I do have some understanding problems with semaphores though ...

I will make sure our new searchers respect the default config requirement.

OK, while I am doing this: Are you sure that configspace.get_default_configuration() always returns a sensible config to evaluate at? What I mean, is the AG user who specifies the evaluation function, also required to provide a default config?

OK, while I am doing this: Are you sure that configspace.get_default_configuration() always returns a sensible config to evaluate at? What I mean, is the AG user who specifies the evaluation function, also required to provide a default config?

Regarding this point, I think all of our default HPO spaces (used when the user does not specify anything) should absolutely have a well thought-out default_config.  This is one of the easiest ways to improve performance reliability.  For user-defined custom HPO spaces, I believe ConfigSpace already automatically selects defaults even when they are not specified by the creator of the HPO space (eg. midpoint for numeric intervals: https://automl.github.io/ConfigSpace/master/API-Doc.html#integer-hyperparameters). It seems to me even when these custom defaults are unknown to the user, they will still typically be >= a random config.  So there's never any onus on users to have to think of good defaults.
I'll let @zhanghang1989 address the issues around locking.

This has now been resolved thanks to #345 and #354. Resolving the issue.


set and draw insets in layouts

Insets can now be set for all Carbon layouts. Proper attribute access and insets will be ready to go

Done. ScrimInsetsLayout is now deprecated. So are StatusBar and NavigationBar. All Carbon layouts now provide a way to override insets and specify a color to be filled with.


Build

Yarn build not working.

I can't build the project to get the build website to import to vercel.


2-0-2

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

AWS CodeBuild CI Report

CodeBuild project: tgi-pr-inf2
Commit ID: 24fc49980746c3e8e5e7bdd1fd8fd10e5ae140a2
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: tgi-pr-inf2
Commit ID: 8dd8f6fc38833f62d22f944d7f9bd553a6a61d2d
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


AggregateRequest.limit(0, 0) gets swallowed

Hi all - first off, love the project!
Using: redisearch==2.1.1
I ran into an issue with Client.aggregate using an AggregateRequest. I want to put a LIMIT 0 0 on one of my aggregate queries, but if I use AggregateRequest.limit(0, 0) no LIMIT is appended to the query statement.
Here's a little reproduction using build_args().
Python 3.9.2 (default, Mar 30 2021, 13:13:46)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from redisearch.aggregation import AggregateRequest
>>> AggregateRequest('*').limit(0, 1).build_args()
['*', 'LIMIT', '0', '1']
>>> AggregateRequest('*').limit(0, 10).build_args()
['*', 'LIMIT', '0', '10']
>>> AggregateRequest('*').limit(0, 0).build_args()
['*']

I believe I have found a related sibling issue as well that explains why this is the case. The only reason to use a LIMIT 0 0 is to count the number of results under a particular filter state without wasting resources retrieving any of those results. The related issue is that I can't find any way to get the number of results from an AggregateResult response. My hunch is that that was never added to AggregateResult, and therefore there was no way to use redisearch-py's aggregate facilities in a way that made LIMIT 0 0 sensible to use.
For the record, I've unfortunately had to reach past the abstraction here and use the redis python client directly, like this:
client = ... # get the Redisearch Client
cmd = (
    " ".join(
        [client.AGGREGATE_CMD, index_name]
        + aggregate_request.limit(0, 0).build_args()
    )
    + f" LIMIT {offset} {limit}"
)
search_result = client.redis.execute_command(cmd)
filtered_total = search_result[0]
search_result_rows = search_result[1:]

Note here that I'm actually using the bug with .limit(0, 0) to wipe out any Limit information currently on the AggregateRequest.

Update: I'm slowly learning that maybe the first value in the search_result (filtered_total in the code snippet) is sometimes but isn't always guaranteed to be the filtered total, so maybe some of my analysis above doesn't apply, though I'm having a hard time finding good documentation on it.


fix: Add bump for Targets role

As RSTUF now uses the online key for Targets role, in this commit, we add the bump of Targets role.

It renames the bump_bins_roles to bump_targets_roles
It now bumps all Targets roles types, including Targets and its Delegated Roles bins

It guarantees that the target's role is automatically bumped before expiring, as we do for all roles which use online keys.
Closes #254

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.03 :tada:

Comparison is base (069a0f4) 98.00% compared to head (62db8e1) 98.03%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #255      +/-   ##
==========================================
+ Coverage   98.00%   98.03%   +0.03%
==========================================
  Files          12       12
  Lines         551      560       +9
==========================================
+ Hits          540      549       +9
  Misses         11       11

Impacted Files
Coverage Δ

repository_service_tuf_worker/repository.py
98.68% <100.00%> (+0.04%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Could you fix the linting and we will merge it?

Could you fix the linting and we will merge it?

I rebased it.


Remove podman requirement

Description
To resolve the dependencies conflict between runc and podman we have to install podman and container.io manually before kubemarine installation: https://github.com/Netcracker/KubeMarine/blob/0.19.0/documentation/Installation.md#prerequisites-for-cluster-nodes
But in fact, podman is used only for etcdctl/etcd, and can be replaced using tool ctr, that is already installed with containerd.
Fixes # (issue)
Solution

podman was excluded from cluster inventory;
podman configuration was excluded from prepare.cri.configure task;
podman and appropriate docker usages were replaced with ctr tool, because it can be used for both cri;
manual steps for rhel were removed from installation guide;
podman mentions were removed from docs;
tests were fixed to work without podman;
patch for etcdctl reinstallation was added;

Additionally:

remove etcd container after restore procedure;

How to apply

Can be applied for any nodes;

Test Cases
TestCase 1
Test Configuration:

Hardware:
OS: rhel 8.3
Inventory: containerd cri

Steps:

fresh kubemarine install on empty nodes;

Results:

Before
After

fails on prepare.cri.install task
successful installation

TestCase 2
Test Configuration:

Hardware:
OS: ubuntu
Inventory: containerd cri

Steps:

run kubemarine install on empty nodes;

Results:

Before
After

podman package will be installed
podman is not installed

TestCase 3
Test Configuration:

Hardware:
OS: ubuntu
Inventory: containerd cri

Steps:

run kubemarine install;
Remove podman, if it was installed before;
run any etcdctl command on nodes, e.g. sudo etcdctl endpoint status --cluster -w json;

Results:

Before
After

etcdctl fails with error Neither podman nor docker are available to run container, exiting with error...
etcdctl works

TestCase 4
Test Configuration:

Hardware:
OS: ubuntu
Inventory: containerd/docker cri

Steps:

run kubemarine install;
Remove podman, if it was installed before;
add test namespace with some objects, e.g. sudo kubectl create ns test-namespace && sudo kubectl create configmap -n test-namespace test-configmap;
run kubemarine backup procedure;
remove test namespace, e.g. sudo kubectl delete ns test-namespace;
run kubemarine restore procedure;

Results:

Before
After

backup fails for containerd cri because docker and podman are not installed
backup-restore works for both cris. Removed objects exists in cluster after restoration

TestCase 5
Test Configuration:

Hardware:
OS: ubuntu
Inventory: containerd/docker cri

Steps:

run kubemarine install;
run kubemarine backup procedure;
run kubemarine restore procedure;
Check created containers using following commands (depends on cri):

sudo docker container ls -a
sudo podman ps
sudo ctr container list

Results:

Before
After

etcd container exists after restoration procedure
no containers

Checklist

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] Integration CI passed
[ ] Unit tests. If Yes list of new/changed tests with brief description
[ ] There is no merge conflicts

Unit tests
Indicate new or changed unit tests and what they do, if any.

Looks good to me


Selected/active item bug with binded menus.

https://i.gyazo.com/8c3aeb7d9d7248703cff35c72eb394bd.mp4
Now, this is happening with binded menus.
The selected menu, seems to not be reset, but the active item goes to the top.

How I fixed it? By putting this.ParentMenu.RefreshIndex() in GoBack().

Actually I may have been wrong about this before, I can't recreate this anymore.


feature: doesNotInclude(word: array)

Feature Request
I'd like an additional test lets me specify words to exclude. An example of usage:
  password: JoiPassword.string()
    .min(8)
    .max(30)
    .minOfSpecialCharacters(2)
    .minOfLowercase(2)
    .minOfUppercase(2)
    .minOfNumeric(2)
    .doesNotInclude(['password', 'qwerty', '123456', `abc123', `${u.username}`])
    .required(),

As you can see, I want to exclude the most common passwords as well as the user's username.

version 4.2.0 is ready, Thank you

🙇🏼♂ Thank you!


MoveLinesUp/Down doesn't update syntax highlighting

Description of the problem or steps to reproduce

Open any file with syntax highlighting like micro ~/.config/micro/bindings.json
Use Alt+Up or Alt+Down to move any line
Previous line's syntax highlighting is not refreshed

Specifications
Commit hash: 7c71995
OS: Ubuntu 19.10
Terminal: gnome-terminal, guake

This is fixed on master (will make a release including this fix and some others soon).


Simulation improvement for lifecycle models

The "simulation overhaul" PR made things better / actually functional for macro models, but at the cost of being cripplingly slow for micro-oriented lifecycle models.  We should fix this.
The old simulation system would simulate N agents for T periods, with death captured through weighting the various periods of simulation.  With proper demographic and mortality weighting, the entire history of NT simulated observations could be interpreted as a cross section of the population.  This was good for micro models where agents just do their own thing, but bad-to-useless for macro models where agents' collective behavior feeds back into the aggregate state.
The new simulation system actually tracks the "current population", with agents actually dying and being replaced on the fly.  Each simulated agent has a t_age and t_cycle, so that we know how absolutely old they are and where in the cycle they are.  This enables macro models with gen eq features to work properly, and is just fine with perpetual youth models where t_cycle=0 for all agents, or at least T_cycle is small.
However, when T_cycle is large (say, 384 in the case of lifecycle cstwMPC), simulation is cripplingly slow in the new system.  Each period, the simulator has to split out the agents by t_cycle and use the appropriate period-specific policy functions for each one.  As is, that requires AgentCount*T_cycle equality comparisons every simulated period, and T_cycle calls to the policy functions.  The latter can't be avoided if we want a unified simulation system, but there might be a fix for the former.
I propose using the attribute t_cycle_array as a Boolean array indicating each simulated agent's t_cycle in each simulated period.  t_cycle_array[t,j,i]=True if and only if agent i has t_cycle=j when t_sim=t.  This would only result in a speedup if the simulation is run at least twice, otherwise there is no reduction in computation.
This might be useful in conjunction with makeShockHistory, which pre-specifies shocks, and is an impetus to implement the makeMortalityHistory idea previously discussed.

After thinking about this on the back burner for a while, I think the solution is to rework the simulation framework so that models can handle three types of simulation, chosen with a single parameter:

"Current population" style, what we have now.  There is an explicitly enumerated population of agents; agents "age", die, and are replaced as time proceeds.  This works for all models, but is extremely slow with lifecycle models with a large T_cycle.

"Cohort history" style, the version I originally programmed.  One explicitly enumerated "birth cohort" is simulated from the first period of the model to the last, with no death and replacement.  Cumulative survival weights can be calculated and the TxN history arrays can be reshaped and interpreted as a cross section of the population (i.e. many cohorts, each at a different period of time).  However, this is only valid if there are no aggregate shocks or other effects that make absolute time relevant.  When applicable, this style is faster to run because there are fewer "age checks" and fewer calls to interpolated functions.

"Vectorized population" style, like in (most?) HANK models.  This is like (1), but rather than tracking a population of explicitly enumerated agents, we instead (finely) discretize the idiosyncratic state space and track the distribution of agents as a stochastic vector (population weights that sum to 1).

I need to think about a framework that would allow these styles to be interchangeable.

We definitely need 1. and 3. as tools.  Version 2 is an interesting idea but the flaws you identify are probably fatal -- almost every application of these models will want to have some kind of aggregate events and I don't see a way of fixing the fact that when you need keep track of each cohort's idiosyncratic history of aggregate shocks things probably get similarly unwieldy to 1.

The point of (2) is that it's faster than (1), but only applicable in some cases.  That's the point: We would be offering people an option to use (2) when their application will allow it.
Just for perspective, the following applications in HARK would be better with (2):

SolvingMicroDSOPs
cstwMPC lifecycle, which has no aggregate shocks
my JMP
my medical insurance model

OK, maybe there's enough of a use case after all.

Having thought about this a bit more, my guess is that if a full and complete treatment of this issue were performed, the bottom line would be that the interactions between history and the life cycle would have only second or third order effects.  Medium/high frequency dynamics will mostly be dominated by short-horizon people, whose behavior will be the same regardless of distant historical events.  Proving that, however, would be a lot of work ...

I think this comment was meant for adding lifecycle capability to
AggShockModel.  This issue is just about computational efficiency of
simulating lifecycle models when there are not aggregate dynamics.
On Thu, Apr 25, 2019 at 11:24 PM Christopher Llorracc Carroll <
<EMAIL_ADDRESS>wrote:

Having thought about this a bit more, my guess is that if a full and
complete treatment of this issue were performed, the bottom line would be
that the interactions between history and the life cycle would have only
second or third order effects. Medium/high frequency dynamics will mostly
be dominated by short-horizon people, whose behavior will be the same
regardless of distant historical events. Proving that, however, would be a
lot of work ...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/HARK/issues/95#issuecomment-486912055, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADKRAFIW426QEKF4ITSPBRLPSJYVXANCNFSM4C33DFCQ
.

The first version of this would be not too difficult to implement once model structure is formalized with the work Sebastian is doing.  There would be a switch that indicates whether agents in the model should actually be killed according to their LivPrb or instead have their CumLivPrb downweighted by LivPrb (starting at 1.0).

Related to #847
I love the idea of pluggable population models
But with Matt out for a few months this will need to be bumped to 1.x

@alanlujan91 might be interested in this

Related to #890

This is a major part of the HARK 1 roadmap, so closing this as an active issue.


ISSUE-141: Add a static informative page for 401 error

Closes https://github.com/hortonworks/registry/issues/141

@satishd I have rebased this PR. Can you please review and merge this if you find okay? @shahsank3t has already approved it and its tested on a kerberos setup. Thanks

@satishd I have addressed your review comment.


Include external tables in model

Describe the feature
I'd like to configure an external table as part of my model
Describe alternatives you've considered
I've configured it as a source, which works OK - but when I'm doing development in my own schema I can't have my own version of the external table as well.
Additional context
I'm working with BigQuery at the moment. Not sure if I'm missing something about the thought process here, it seems projecting an external table into my model makes more sense in the models section of my schema.yml so that it just runs when I dbt run and it picks up the schema/dataset I'm working in.
Who will this benefit?
My client and I - unless you can explain why it doesn't make sense as a model, as I say maybe I'm just misthinking something.

Hi Brabster,
can you give more background & expectations please? The workflow in DBT is typically that you use sources for data that is loaded by 3rd party systems into your database; and models to reference such ONLY (via refs).
DBT external-tables could be seen as such a 3rd party tool.
So if you want external table support in your model, this would break the above logic.

Sorry for the delayed response! You're both right — external tables are a funny in-between. dbt can run the create external table statement for you, into a schema of your choice, which feels a lot like a model. At the same time, the thing that's being created is really just a naive pointer to data loaded by a 3rd party system; it doesn't (shouldn't IMO) contain any opinionated transformation/"business" logic, as a model does.
There's a lengthy conversation about this in the very first issue in the repository (#1); it's lengthy, but it will provide all the context behind the initial decision to treat external tables as sources (metadata + operation macro) instead of models (custom materialization + dbt run).
To be clear, the approach taken in this package is an opinionated one, and it doesn't in any way preempt you from taking a different tact. Many folks have created a custom materialization for external tables so that they will execute during dbt run.
As far as isolating external tables during development, you can use conditional expressions in your table definition like:
sources:
  - name: my_external_src
    schema: "{{ target.schema if target.name == 'dev' else 'my_external_src' }}"

I'm going to close this issue, since it's well-trod ground for this package.


angular.merge should copy Blob like Object.assign

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] other (Please do not submit support requests here (see above))

Current behavior:

angular.merge doesn't copy Blob objects from source to destination.
The property is copied but the value is no longer a Blob object but an empty Object.
Expected / new behavior:

The expected behaviour would be to copy the Blob as is from source to destination.
Object.assign behaves this way (doesn't have this bug).
Minimal reproduction of the problem with instructions:

var aFileParts = ['hey!']; // an array consisting of a single DOMString
var oMyBlob = new Blob(aFileParts, {type : 'text/html'}); // the blob
var obj1 = {blob: oMyBlob, foo: 1};
var obj2 = angular.merge({}, obj1, {foo: 2});
var obj3 = Object.assign({}, obj1, {foo: 2});
console.assert(obj2.blob instanceof Blob === obj3.blob instanceof Blob, 'angular.merge should copy Blobs like Object.assign');

Angular version: 1.6.1

Browser: [Chrome 57 Mac OS X El Capitan ]

Anything else:

@Narretz Can I create a PR to fix this?

I would like to talk abiut this with the team as I think we should deprecate angular.merge, as it is not used inside core. Devs should use Object assign or lodash instead


Context object invoked_arn incomplete

In Lambda I extract the region the function is running in for various purposes (mostly for creating a boto3 sessions for building clients, assuming roles etc).
eg:
def determine_region(context):

    m = re.match("arn:aws:lambda:(.*?):\d+.*$", context.invoked_function_arn)
    if m:
        return(m.group(1))

SAM Local doesn't appear to include a region in the arn.  I get something like:
arn:aws:lambda::104260451092:function:test
I haven't found anywhere I can set the region for the context object in the template.yaml file.  Have I missed something?
Thanks!

Good question. I need to dig deeper to find where the ARN is created and set. I think it comes from Docker container.

This is a dupe of #48. In docker-lambda, ARN is constructed by concatenating accountId, region, and function name here https://github.com/lambci/docker-lambda/blob/master/python2.7/run/runtime-mock.py#L51. But due to #48, region is not available in Docker container due to some reason.
I will close this Issue now. Feel free to track #48 for updates.


feat: (optional) onload callback

I need to run a callback after contents has been loaded. (This is because of an issue with Goneovim I'm using…).
This PR makes it possible.
Does this feature match your views for the plugin?

Closing for re-creation.


Update broken block links after note extraction

Note A may contain a block link to Note B, with something like [[NoteB#^BlockIDB]]. However, when extracting certain parts of Note B as a new Note C, the block link [[NoteB#^BlockIDB]] in Note A would not work any more because BlockIDB has a new note name.
Therefore, it would be great if this plugin can be used to update block IDs for such a use case. Currently, I had to manually search for BlockIDB and manually update all mentions.

The problem you describe is not the original intention of this plugin. This plugin subscribes to file move events and repairs broken links by comparing the paths before and after the move.
The scenario you describe is extracting part of a note into a new note, I'm not sure if Obsidian provides the relevant API. So sorry I can't help you.


question about glibc

Is this a dependency ? Its in the readme, but i just want to check.

It's a build-time dependency, but not a run-time one.
$ ldd alertmanager
	not a dynamic executable

Closing this as it seems answered. Please reopen if you have further questions!

@joeblew99 I made a PR to clarify that: https://github.com/prometheus/alertmanager/pull/286

Ok thanks all. Loving Prometheus. Took 10 minutrs to deploy and config. Great stuff !!!


Tap hold implementation issue

I've noticed there's a slight issue in the logic for the tap hold implementation. Specifically, relating to this section of code in the process_key_action_tap_hold function:
                embassy_futures::select::Either::Second(e) => {
                    if e.row == key_event.row && e.col == key_event.col {
                        // If it's same key event and releasing within 200ms, trigger tap
                        if !e.pressed {
                            let elapsed = self.timer[col][row].unwrap().elapsed().as_millis();
                            debug!("TAP action: {}, time elapsed: {}ms", tap_action, elapsed);
                            self.process_key_action_tap(tap_action, key_event).await;

                            // Clear timer
                            self.timer[col][row] = None;
                        }
                    } else {
                        // A different key comes within the threshold, trigger hold + that key

                        // Process hold action first
                        self.process_key_action_normal(hold_action, key_event).await;

                        // The actual processing is postponed because we cannot do recursion on async function without alloc
                        // After current key processing is done, we can process events in queue until the queue is empty
                        if self.unprocessed_events.push(e).is_err() {
                            warn!("unprocessed event queue is full, dropping event");
                        }
                    }
                }

Correct me if I'm wrong, but the else here can also be triggered by a key release event? What I've noticed is that if I'm typing fast, the tap of a tap hold key fails to trigger, this is because I press the tap hold key before releasing another key, so when I then release the other key it causes the code to go into this else condition, and then when I release the tap hold key (expecting the tap action to occur) it doesn't do anything since the else triggered the hold action.
I'm not quite familiar enough with Rust to make a PR with a fix, but in my head it sounds like what we'd want to do is loop until we timeout or get a keypress event. If we get a key release event we should just process that action normally and then go back to waiting for a timeout or keypress.

Yes, you're right. There are some issues on current implementation of tap_hold. But processing keypress only might not be enough(see #118).
RMK implements key scanning and processing quite different from qmk/zmk. I want to find a better default config that is good for home row mods. If you have any idea, please share to me! 😄

@jackbrad1ey Could you try #125? This PR should address the tap/hold issue

Seems to be some issues, if I press a tap/hold key immediately after pressing another key (even if I quickly release that other key first) it triggers the tap action instantly and doesn't seem to wait to see if I will hold the key down. I have to wait for a short delay after pressing or releasing any other key before I can use the hold functionality.

Seems to be some issues, if I press a tap/hold key immediately after pressing another key (even if I quickly release that other key first) it triggers the tap action instantly and doesn't seem to wait to see if I will hold the key down. I have to wait for a short delay after pressing or releasing any other key before I can use the hold functionality.

Yes, this is what this config refers to. Maybe I should add an option to disable HRMs behavior?

Ah okay I see what it's intended for, I think ideally yeah an option to disable it would be nice. Personally I'll stick to the previous code, I use tap/hold on my enter key to double it as a layer shift and the old behaviour is a bit better. Though still a little odd with the issue that appears when typing fast, but it's not too noticeable.

Ah okay I see what it's intended for, I think ideally yeah an option to disable it would be nice. Personally I'll stick to the previous code, I use tap/hold on my enter key to double it as a layer shift and the old behaviour is a bit better. Though still a little odd with the issue that appears when typing fast, but it's not too noticeable.

I'll add an option for it :P

I'll add an option for it :P

Added.


fix: add new rule

:tada: This PR is included in version 1.0.4 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Fix webapp pylint errors

Webapp
Run ./scripts/ci/test_static.sh on the pylint branch
Pylint violations: https://travis-ci.org/Azure/azure-cli-extensions/jobs/377034480

@panchagnula when can this be done? All extensions have been cleaned of pylint errors aside from webapp.
Changes shouldn't take long.

@williexu , can you give me instructions here to identify the fixes? i did a few updates on Sunday, however, since the Travis CI didn't fail i wasn't sure what all needed to be updates. Thanks!

@panchagnula yep, I've synced the pylint branch with master: https://github.com/Azure/azure-cli-extensions/commits/pylint
The CI for that branch is currently failing atm: https://travis-ci.org/Azure/azure-cli-extensions/builds/377068460?utm_source=github_status&utm_medium=notification (you can reach this page by clicking the red X next to the latest commit)
You can also identify the fixes needed by running ./scripts/ci/test_static.sh on your machine after checking out the pylint branch.
Please make a PR against that branch after addressing the violations.
Hope this helps, also feel free to DM me with any other questions.

Addressed with https://github.com/Azure/azure-cli-extensions/pull/175


Attempt to fix CCA issues

We were accessing an undefined variable for the CCA build, this switches
to using a common framework for the "message passing" between the panel
and the background in CCA and Firefox.

This change is

:+1: apart from blank lines


Remove MonadCont instance

Resolves #59, also resolves #46 since if there's no instance it can't be broken :smile:
@jdegoes are you happy with this now? At the time I opened #59 you said to keep it around for a while longer.

Yes, let's do it! BREAK ALL THE THINGZ!!!

I'm not sure if it will actually break anyone's code anyway, the only use of  the MonadCont instance I've seen in the wild was in the tests!


Split the Changelog and prepare for the next release (v0.20.0)

Signed-off-by: Kemal Akkoyun<EMAIL_ADDRESS>

lgtm

💪🏽


podman generate systemd contains wrong PIDFile path on CentOS 7

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
On a CentOS 7 machine the podman generate systemd <id> command generates a service file with a wrong PIDFile= path.
Steps to reproduce the issue:

Run a CentOS Linux release 7.7.1908 (Core) (this was true for 7.6 too) release and use the packaged podman version from extras.

Create a container with podman.

Run podman generate systemd <id> > /etc/systemd/system/speedtest.service and reload the daemon to pick up the new service.

Attempt to start / enable the container through systemd with systemctl start speedtest.

Describe the results you received:
Somewhat confusing error Job for speedtest.service failed because a configured resource limit was exceeded.. The culprit appears to be the PIDFile, which can't be opened.

Full logs
# systemctl start speedtest.service
Job for speedtest.service failed because a configured resource limit was exceeded. See "systemctl status speedtest.service" and "journalctl -xe" for details.
# systemctl status speedtest.service
● speedtest.service - aed038fe1d44110eb633c891e1e1105ac323b83b838b2bc67567bb073139ddf7 Podman Container
   Loaded: loaded (/etc/systemd/system/speedtest.service; disabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/speedtest.service.d
           └─override.conf
   Active: failed (Result: start-limit) since Tue 2019-09-17 21:39:03 CEST; 1s ago
  Process: 13242 ExecStart=/usr/bin/podman start aed038fe1d44110eb633c891e1e1105ac323b83b838b2bc67567bb073139ddf7 (code=exited, status=0/SUCCESS)

Sep 17 21:39:03 hostname systemd[1]: Can't open PID file /var/lib/containers/storage/overlay-containers/aed038fe1d44110eb633c891e1e1105a...irectory
Sep 17 21:39:03 hostname systemd[1]: Failed to start aed038fe1d44110eb633c891e1e1105ac323b83b838b2bc67567bb073139ddf7 Podman Container.
Sep 17 21:39:03 hostname systemd[1]: Unit speedtest.service entered failed state.
Sep 17 21:39:03 hostname systemd[1]: speedtest.service failed.
Sep 17 21:39:03 hostname systemd[1]: speedtest.service holdoff time over, scheduling restart.
Sep 17 21:39:03 hostname systemd[1]: Stopped aed038fe1d44110eb633c891e1e1105ac323b83b838b2bc67567bb073139ddf7 Podman Container.
Sep 17 21:39:03 hostname systemd[1]: start request repeated too quickly for speedtest.service
Sep 17 21:39:03 hostname systemd[1]: Failed to start aed038fe1d44110eb633c891e1e1105ac323b83b838b2bc67567bb073139ddf7 Podman Container.
Sep 17 21:39:03 hostname systemd[1]: Unit speedtest.service entered failed state.
Sep 17 21:39:03 hostname systemd[1]: speedtest.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

Describe the results you expected:
I expected the container to start normally, just as it does with podman start speedtest.
Additional information you deem important (e.g. issue happens only occasionally):
This is running on a CentOS 7.7 machine with the packaged podman from the extras repository as stated above. I am aware that this is not the most recent version available of podman. But it's the most recent version available if you stick to the package repositories.
Output of podman version:
# podman version
Version:            1.4.4
RemoteAPI Version:  1
Go Version:         go1.10.3
OS/Arch:            linux/amd64

Output of podman info --debug:
# podman info --debug
debug:
  compiler: gc
  git commit: ""
  go version: go1.10.3
  podman version: 1.4.4
host:
  BuildahVersion: 1.9.0
  Conmon:
    package: podman-1.4.4-4.el7.centos.x86_64
    path: /usr/libexec/podman/conmon
    version: 'conmon version 0.3.0, commit: unknown'
  Distribution:
    distribution: '"centos"'
    version: "7"
  MemFree:<PHONE_NUMBER>
  MemTotal:<PHONE_NUMBER>
  OCIRuntime:
    package: runc-1.0.0-65.rc8.el7.centos.x86_64
    path: /usr/bin/runc
    version: 'runc version spec: 1.0.1-dev'
  SwapFree:<PHONE_NUMBER>
  SwapTotal:<PHONE_NUMBER>
  arch: amd64
  cpus: 14
  hostname: <hostname>
  kernel: 3.10.0-1062.1.1.el7.x86_64
  os: linux
  rootless: false
  uptime: 46m 14.08s
registries:
  blocked: null
  insecure: null
  search:
  - registry.access.redhat.com
  - docker.io
  - registry.fedoraproject.org
  - quay.io
  - registry.centos.org
store:
  ConfigFile: /etc/containers/storage.conf
  ContainerStore:
    number: 2
  GraphDriverName: overlay
  GraphOptions: null
  GraphRoot: /var/lib/containers/storage
  GraphStatus:
    Backing Filesystem: btrfs
    Native Overlay Diff: "true"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 6
  RunRoot: /var/run/containers/storage
  VolumePath: /var/lib/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):
# rpm -q podman
podman-1.4.4-4.el7.centos.x86_64

The fix is actually quite simple: just insert the correct PIDFile path which is under /var/run/containers/storage/overlay-containers/<id>/userdata/pidfile for me. I just thought you might want to fix this for the podman package in CentOS if you have control over that.
9c9
< PIDFile=/var/lib/containers/storage/overlay-containers/aed038fe1d44110eb633c891e1e1105ac323b83b838b2bc67567bb073139ddf7/userdata/aed038fe1d44110eb633c891e1e1105ac323b83b838b2bc67567bb073139ddf7.pid
---
> PIDFile=/var/run/containers/storage/overlay-containers/aed038fe1d44110eb633c891e1e1105ac323b83b838b2bc67567bb073139ddf7/userdata/pidfile

This is fixed in Podman 1.5.x and higher. I don't know exactly when we can expect those in CentOS though - probably 7.8?

given this is fixed upstream and this is being reported upstream, im going to close this

Fair enough. Would there have been a more appropriate place to report this or should we just wait?

I think @lsm5 maintains faster-moving Podman packages for CentOS