Cannot compile latest version

I cannot compile the latest version and I don't know why.
Using Ubuntu 16.04
Build log: http://pastebin.com/rwRuW5R9

During debugging I use this package:
https://www.ubuntuupdates.org/package/getdeb_apps/yakkety/apps/getdeb/polybar
But there is no i3 support 👎

Yeah, I installed that too, but it is an older version too.

Disable XRandR monitor support and it should work:
$ cmake -DENABLE_XRANDR_MONITORS=0 ..

It's works like a charm. Thanks @jaagr.

Thank you @jaagr . But what if I want to enable it?

Will you update the build script with randr disabled?

@alekcacko what build script?

Your build.sh?

cmake should disable it if the xrandr version is too old.. what does this command print?
$ pkg-config xrandr ">= 1.5.0" --print-provides

On Fedora 24, had the same issue with commit 9d589fa5a71f081aecfa455a9996904e458c8cfa.
$ pkg-config xrandr ">= 1.5.0" --print-provides
xrandr = 1.5.1

@IrishPrime Could you pastebin CMakeCache.txt in your build dir

And could you also check:
$ pkg-config randrproto ">= 1.5.0" --print-provides

CMakeCache.txt
pkg-config randrproto ">= 1.5.0" --print-provides
randrproto = 1.5.0

Can't see how you can get the error with ENABLE_XRANDR_MONITORS:UNINITIALIZED=0

Yeah, I just realized that. I stupidly made the paste from my most recent build (using the workaround). Here's a failing one from the latest commit.

This is probably why XCBPROTO_VERSION:INTERNAL=1.11.. It requires 1.12 if I'm not mistaken. Will add a check for that as well.

This is still a problem on ubuntu 16.04. I've tried all different variations of -DWITH_XRANR_MONITORS (and -DENABLE_XRANDR_MONITORS) I found floating around the different issues, but cmake still tries to build with xrandr support.

Was this command renamed? Is it now called WITH_XRANDR_MONITORS? Can somebody verify this?

Yeah it was changed 43a17c3b3634f11bca1365217723a0461b5cc0b2, it's now called WITH_XRANDR_MONITORS

I take no responsibilty, if sth about this fix destroys anything. Trying at ur own risk:
So i had the same problem. Ubuntu 17.xx, polybar, and every try to make randr.cpp was throwing the error, that (i think it was) .get_monitors or sth, is not known, and everything stopped. I tried every Tag i could find (WITH_XRANDR_MONITORS, DENABLE_XRANDR_MONITORS...), nothing worked. So i found a not great, but at least working workaround. I searched for the randr.cpp file in the polybar directory. I opened the code and searched for the part where it said something like #if <SOME_XRANDR_TAG_SEEN_ABOVE> (i cant remember which tag it exactly was, but it was one of the above mentioned and at the lower part of the file). So i just commented the code which is in the #if part out with /* if part */.
Because the part which should not be executed, was somehow still accepted as used code, i made it unused manually.
After that make the whole thing just with cmake .. (dont even have to use a tag, because code isnt active anymore), and it should work. When i execute the example bar, i get some errors and warnings, which seem not directly related to the 'fix', but maybe they are in some way, i just dont know.
Maybe it will help you as much as it did for me.


split restrictions for submissions

Currently, the restrictions/validations are to general for our current use. In specific, to submit to EBI for target gene we require to have barcode/primer for all cases but this should only be required for target gene demultiplexed and not for per_sample_FASTQ.

This is a duplicated of https://github.com/biocore/qiita/issues/1113


Tile provider improvements

This is a bit of a grab bag, but it's all good stuff and (hopefully) nothing too controversial.

TileProviderError now optionally takes an error parameter with more details of the error or exception that occurred.  ImageryLayer passes that information through when tiles fail to load.  This allows tile provider error handling to take a different action when a tile returns a 404 versus a 500, for example.
ArcGisMapServerImageryProvider now has a maximumLevel constructor parameter.
ArcGisMapServerImageryProvider picking now works correctly when the layers parameter is specified.  Previously, it would pick from all layers even if only displaying a subset.
Fixed a crash caused by ImageryLayer attempting to generate mipmaps for textures that are not a power-of-two size.
Fixed a bug where ImageryLayerCollection.pickImageryLayerFeatures would return incorrect results when picking from a terrain tile that was partially covered by correct-level imagery and partially covered by imagery from an ancestor level.
Fixed incorrect counting of debug.tilesWaitingForChildren in QuadtreePrimitive.

ArcGisMapServerImageryProvider now has a maximumLevel constructor parameter.

Was this discussed on the forum at one point?  If so, can you please follow up to that post when this is merged?

All looks good, thanks!

Was this discussed on the forum at one point?

I don't think so, or at least I can't find it.  You may be thinking of this discussion, which I just responded to:
https://groups.google.com/d/topic/cesium-dev/2A0RDf9oRlA/discussion


Update stratify parameter

[ ] closes #xxxx (Replace xxxx with the GitHub issue number)
[ ] Tests added and passed if fixing a bug or adding a new feature.
[ ] All code checks passed.
[ ] Added type annotations to new arguments/methods/functions.
[ ] Updated documentation.

Stratify parameter updated with correct target variable


dest not being used?

I noticed assets folder is hardcoded within index.ts#L86, I would have thought that this needed to honor the dest option? At this moment there doesn't seem to be a way
const emitted = processedOptions.types.map<[T, string]>(type => [
                    type,
                    `/${this.getFileName(this.emitFile({ type: 'asset', fileName: `${processedOptions.dest}${processedOptions.fontName}-${guid()}.${type}`, source: generatedFonts?.[type] }))}`,
                ]);

Hi @wilr, it seems you are correct 👍🏽
@kakigakki has opened a PR to handle this


Feature Request: - For SqlServer generate join on table variable instead of generating WHERE IN clause when .Contains is used in the EF query

Hi Guys!
Sometimes people need to check if the database column value is in a list of predefined values, and so we do something like filter.FunctionIds.Contains(x.FunctionId). On the Microsoft SQL Server that get's translated into the TSQL WHERE IN clause.
Problem 1.
If a list of values changes, that will result in the query text being different. Once the query is different - SQL server must parse/compile it and in that case, it can't use a cached plan. Sometimes, especially if the list passed to .Contains is big, it might take a lot of time, but even if it's small, compiling quires is something that takes time. In our case, we observe about 20ms for the relatively small query with a small, but changing list used in .Contains.
Problem 2.
Sometimes, people don't think a lot and pass really big lists to the .Contains and that kills perf.
Solution
Make it possible to utilize Sql Server Table Variable feature, so, all the dynamic values could be passed as a parameter and instead of generating WHERE IN EntityFramework could generate join in the table variable. At least for the Microsoft SQL Server. Open question here is what type should be used to declare table variable type but that I believe has many different solutions.
Thanks

Holly cow, I just have realized that this is actually already possible to achieve just by changing EF query to use FromSql & table valuated parameter.

Duplicate of #13239


[Question] How do you map response codes?

I hope I'm not out of line asking this question here, but since swagger-importer sits nicely between the technologies at hand, I'm hoping someone here may be able to help out.
How does one map the the response codes appropriately between an API defined in Swagger and AAG?  I've seen that we can do regex matching to have all 500 level codes mapped to a single 500 error code. And that might be fine for server side errors, but when we talk about client side errors (the 400s), it seems to me that any number of responses are possible, and it doesn't make sense to map 4XX => 400.
So, I wrote code to manually map app the responses from my API to match those available in AAG. As you can imagine, the resulting Swagger file is huge and Swagger-UI lists every single response code even though it's not really needed (see image below).

Now, of course, if I omit the definition of the response code, AAG will error out because it doesn't understand what it should do with the response code.
I feel like I'm doing something wrong here, but I don't see any other way. What are others doing.. surely I can't be the only one experiencing this.
Thanks so much for your help.
Aaron.

I get same issue . Please more detail for document tools

Swagger/OpenAPI import is now generally available in the API Gateway REST API, the AWS CLI and all AWS SDKs. You can also import and export Swagger definitions using the API Gateway console. This release addresses many of the open issues and feedback in this repository.
I would encourage you to migrate your workflow to the standard AWS tools. aws-apigateway-importer will receive minimal support from the API Gateway team going forward.
Any feedback or issues with the new importer should be directed to the official API Gateway forums.
Thanks,
Ryan


because when he updated a field he moved the row to the last one

If I register 10 rows of a table and I update the item in row 5, what it does is update the row and remove it to the last row, that is, if before row 5 was in 5, now it is in 10 because that happens ?

I think this behaviour has nothing to do with ORM.
It's just that database would return rows in pseudorandom order, if there isn't a primary key in place.


local:  http://<IP_ADDRESS>:3002， Some resources always fail to load

Bug report
Packages affected

[ ] sandpack-client
[x] sandpack-react

Description of the problem
When i use sandpack, Some resources always fail to load. :
local:  http://<IP_ADDRESS>:3002
"use client";
import React from "react";
import { Sandpack } from "@codesandbox/sandpack-react";

const code = `
import { Button } from '@douyinfe/semi-ui';

export default function App() {
  return (
    <>
        <Button type='primary'>primary button</Button>
    </>
  );
}
`;

const SandpackExample = () => {
  return (
    <Sandpack
      template="vite-react-ts"
      files={{
        "App.tsx": code,
      }}
      customSetup={{
        npmRegistries: [
          {
            enabledScopes: ["@douyinfe"],
            limitToScopes: true,
            registryUrl: "https://registry.npmmirror.com/",
          },
        ],
        dependencies: {
          "@douyinfe/semi-ui": "latest",
        },
      }}
    />
  );
};

export default SandpackExample;

But after I click the refresh button many times, it might succeed once.
and it has goog work in [codesandbox.io]
(https://codesandbox.io/p/devbox/upbeat-gagarin-55n4sw?file=%2FApp.tsx&utm_medium=sandpack)

how to fix it

it will be fetch error when url end with ?v=xxx


Unable to run flutter app as I have installed chrome dev version because of it's new features

Please update flutter SDK to use chrome DEV and canary version as they have the latest features. What's the purpose of using flutter master or dev version if we cant have our apps run on chrome (dev or canary or even beta version)

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Change Time of Day Shortcut similiar to REI

Switch Game Mode
Switch Time
Switch Weather
Thank you!

Why it should be similar to REI?
EMI is able to has its own style.

Is suggestion forbiden here? What wrong with adding that requested feature? toxic

I have no problem with suggestions. In general, my goal with EMI is not to simply copy other contemporaries uncritically, and I've not had a proper chance to determine if cheat utilities fit with my overall goal for the mod. Generally if I have nothing to add to a suggestion while I think it over, like here, I'm not going to respond one way or another, but I want to step in and try to avoid conflict that is brewing. So, I've been thinking about it for a bit, I'll keep thinking about it, I'll update this issue when I reach a conclusion.

TBH, I don't see what this has in common with a recipe viewer. I'd make it a separate mod

I see it is better answer than the first guy, I try EMI on my latest 1.19 and I think I like it more and look more stable. I just miss 1 or 2 button (yes maybe it is only bonus) only for creative game mode. But if it is focusing on recipe viewer only it is not bad either as it already doing very well. It is ok no hurry, no need to take thing seriously if it is bad idea. Thanks for the response!

how does this fit in an inventory system? it should be a separate mod, or just keep using REI.


docs: modify README and docs landing page to reflect the same content

This is how it's done in Trivy and Tracee
https://github.com/aquasecurity/trivy
https://github.com/aquasecurity/tracee

lgtm 🚀


Properties for Sprite node in Inspector will occasionally lock when working with AnimationPlayer/AnimationTree

Godot version:
3.2.2-beta1_mono_win64
OS/device including version:
Windows 10 Pro
Issue description:
A sprite node property will occasionally lock after an undetermined action while editing animations (in the example project it's the Position property on the Sprite node in the Player.tscn that locked; in a previous instance of the bug it was the Frame property - all other properties can still be changed).
Found that the property unlocks if the AnimationTree Active property is unchecked, or while states tied to a looping animation from the AnimationTree are played. Lock resumes once Active property is re-checked, or if a state without a looping animation is played.
Lock only applies in the Inspector panel for the Sprite node; the property can be changed in the Inspector when editing keys in Animation panel or in code, but will snap back to the previously locked values in the editor when selecting the Sprite node again. Everything works normally when playing the project; this bug seems to affect the editor interface only.
Steps to reproduce:
Can't seem to find the specific action that triggered the bug. If I create a new scene and build a new AnimationPlayer with AnimationTree exactly as it's set up here, Sprite properties can be edited normally until the bug occurs again.
Minimal reproduction project:
Animation bug project.zip

Bug still exists in 3.4.4. No idea what caused it either. I wasn't even working in AnimationTree at the time.


allow plugins to disable caching dynamically

Currently one has to decide whether to cache the plugin's content while declaring the plugin, but sometimes, some of my plugins must disable caching depending on the given context.
I therefore have added a method get_use_cache(context, instance, placeholder) which can be overridden by a plugin and be used to disable plugin caching dynamically.
This PR is prove of concept, if it will be accepted, I'll add documentation and a unit test.

Nice one, I think it should go into 3.3 as 3.2 is only open for bugfixing

@jrief See my previous comment. Also docs and tests needed. But it's good for me

This PR is superseded by #5095.

Closing due to the merge of #5095


Multiple livereload.js on same page does not work

I have a website with three different livereload.js scripts included:
<script id="webpack-livereload-plugin-script-2b46959be903b68a" async="" src="//localhost:35729/livereload.js"></script>
<script id="webpack-livereload-plugin-script-40d0cd75cb7a994d" async="" src="//localhost:35730/livereload.js"></script>
<script id="webpack-livereload-plugin-script-15a04157ba643cb0" async="" src="//localhost:35731/livereload.js"></script>

However, I have noticed in the network monitor of my browser that the URLs are incorrectly mapped:
http://localhost:35729/livereload.js -> ws://localhost:35729/livereload
http://localhost:35730/livereload.js -> ws://localhost:35729/livereload
http://localhost:35731/livereload.js -> ws://localhost:35729/livereload
All three HTTP-URLs are mapped to the same WS-URL! How can I use multiple livereload.js scripts in the same HTML page?
(Originally, I had submitted my issue on https://github.com/statianzo/webpack-livereload-plugin/issues/69. However, after reading the source code of the webpack-livereload-plugin, I understood that this incorrect mapping is coming from tiny-lr.)

Actually, it's a very very old issue with livereload-js: https://github.com/livereload/livereload-js/issues/30


Cluster with uWebSocket

Hello, follow up of my message on #214 I just want to know how to make it work because when I done that:
import cluster from "cluster";
import { cpus } from "os";

const numCPUs = cpus().length;

function masterProcess() {
  console.log(`Master ${process.pid} is running`);

  for (let i = 0; i < numCPUs; i++) {
    console.log(`Forking process number ${i}...`);
    cluster.fork();
  }
}

function childProcess() {
  console.log(`Worker ${process.pid} started...`);

  app
    .any("/*", res => {
      /* Let's deny all Http */
      res.end("Nothing to see here! (" + process.pid + ")");
    })
    .listen(serverPort, listenSocket => {
      if (listenSocket) {
        log(`Listening to port ${serverPort}`);
      }
    });
}

if (cluster.isMaster) {
  masterProcess();
} else {
  childProcess();
}

I always get the same PID, I don't know why, I just tested with a simple httpServer include with node and it works, so can it really works like that?

Sorry for my noobiness :x

I get different pid. You probably get the same because your browser keeps the same connection. Try with curl and you'll see different pids.

I've already test it.... so i'ts my computer who give me always the same because is not "stressed" enough to load balance to another?

Sorry to comment again but is the app.listen function who have to be in the childProcess  or all app.get, app.ws, etc too? thanks

Sorry @alexhultman , but can I have an answer on my last question?

Everything has to be in child, the entire app should be isolated per process or per thread

Yes I see now why, great thanks, but I really don't know how to do this with a clean architecture since I have a lot of routes http and ws

I got the same PID with a similar code in macOS Catalina. but I got the different PID in ubuntu 16.04.


Revert "Principles and Phases of Design Thinking"

Reverts surazkarn/design-thinking-intro#3

Principles and Phases of Design Thinking


Document events and when they occur

There should be documentation of all events which VFG can $emit on a new page in this section:
https://vue-generators.gitbook.io/vue-generators/component

@networkimprov thanks, didn't realize these were missing.  I've added information about the events to the docs.  Please feel free to issue a PR for any corrections.

Thanks!
Hm, these pages are now empty

https://vue-generators.gitbook.io/vue-generators/component/schema
https://vue-generators.gitbook.io/vue-generators/component/model
https://vue-generators.gitbook.io/vue-generators/component/options

I think the links in main text of this page used to link to the above, but now they don't?
https://vue-generators.gitbook.io/vue-generators/component

oops - I screwed up the links, I'll correct that shortly.  I moved all the component related docs into a component folder, as they were all in the doc root originally.

This should be fixed, I'm just waiting for GitBook to run it's auto-update.  I also added a reference to the docs repo's develop branch, so you should see a version selector at the top now ... you can see the fixes in the develop version.

Component docs look good.
The version selector gives "1.0.0" which is unexpected...

Yeah, unfortunate side effect of enabling the versioning ... I’ll see if I can get that to match the current release or use an alternative phrase like “current”.

model-updated docs seem incorrect. In 2.3.4, the schema argument has a model string, whereas docs say:

schema is a reference to the individual field schema. schema will only contain the individual field data, and not the full schema


get .prj file

add property 'prj', which is the contents of a .prj file
should prefer ogc wkt over esri wkt

done


Remove dependency on the stolos-dev project

Some tests reply on resources stored in the stolos-dev project, e.g, IAM policies, secrets, service accounts, and etc. This commit loads the project from the environment variable to support running e2e tests with a different project.

/retset

/retest

/retest

/retest

/retest

/retest
/lgtm

/retest

/retest

/hold


Llama accelerate tutorial

Fixes for the TELlama tutorial so that the benchmark results are more representative

This PR is also a good opportunity to fix some typos, e.g. in the "Goal" tag here, how accelerate → how to accelerate. @sudhakarsingh27


Create Extensive Documentation

Add tooltips and documentation to all components and features of EPIC. Allows the user to learn about the features and get help inside the program

mux, register, flip flops (und Abwandlungen)
inputs
outputs

Add LockDown Procedure to Readme


Generate the openapi_schema for a specific api version using the app.openapi() method

Is your feature request related to a problem? Please describe.
Hey, I'm trying to generate the full openapi.json file for a specific API version without running the server, programmatically, as I need to generate the html documentation from it. Is there a way to do that? using the app.openapi() would hide the endpoints behind the versions.
But I need the openapi schema for a specific API version.
Describe the solution you'd like
A method that would allow the generation of a specific versioned openapi schema, something like app.openapi('v1') or anything would work really.
Additional context
from fastapi.openapi.utils import get_openapi
from app import app
import json

with open("openapi.json", "w") as file:
    json.dump(app.openapi(), file)

with open("openapi-get.json", "w") as file:
    openapi_schema = get_openapi(
        title="Custom title",
        version="2.5.0",
        description="This is a very custom OpenAPI schema",
        routes=app.routes,
    )

The generated openapi schema includes the v0 and v1 endpoints, however need a method to generate the schema with the endpoints for a specific version.

Second this!


Linearization parts

Spec 1.7 F.3.1 contains

... all shared objects (objects referenced from more than one page, not counting objects referenced from the first page) ...

This suggests to me that shared objects are objects shared between pages rather than objects shared between a page and another non-page object. This interpretation results in objects that are reachable from a low priority object and a higher priority object are promoted to the higher priority part rather than demoted to the lower priority part, which intuitively seems to make sense.
This suggests to me that the tests to determine allocation to parts should be as given here.
(Some tests suppressed.)

I don't want any changes that cause objects to land in different places or different orders. There are very few programs that create linearized files, and they all do it a little differently. When I originally implemented linearization, the spec was a guide, but a bigger guide was how Adobe Acrobat actually generated linearlized files and, simulating a very slow connection, what the Acrobat browser plugin of the day accepted that enabled it to display a partially downloaded file. A lot of this was based on observation and heuristic. Linearization is what put qpdf on the map. For years, Google used it to linearize PDF files when exported from Google Drive, and I know of a handful of commercial software operations that use qpdf for linearization. When I was at Apex, we created millions of pages of linearized PDF using the current algorithm. Linearization is less and less relevant as network bandwidth increases and other ways are more commonly used for distributing content over slow connections. I think that changing qpdf's linearization is much more likely to cause problems for people than leaving it alone even if its current behavior may not exactly match the spec.


How can I forward an image from an older message without making the image public?

I created a slash command that will send images from older messages. But I couldn't find a way to send such images without making them public. I know this is possible because I can do it manually.  How can this be achieved?
Reproducible in:
More of a generic question, no need to reproduce anything
The slack_bolt version
slack-bolt==1.14.0
slack-sdk==3.17.2
Python runtime version
Python 3.10.5
OS info
ProductName:	macOS
ProductVersion:	11.2.3
BuildVersion:	20D91
Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101
Steps to reproduce:
Don't need to reproduce anything
Expected result:
I should be able to forward images from previous messages (in public channels) without making the image public
Actual result:
The message/preview doesn't work (no errors, they just don't appear), which forces me to make the image public.

Hi @ArturFortunato thanks for writing in!
Have you tried sending your image as a file along with a comment with the file upload method?

Hello @WilliamBergamin , thank you for your answer! 😄
Is there a way to do it using Bolt directly?
I haven't tried that option, but I will and share results!

Hey @ArturFortunato, can you provide some code to help me get setup with experimenting how to do this? It would be good to know how you are getting a reference to the previously-uploaded images.

Hey @filmaj, sorry to take so long to answer :)
So:

Once an image is uploaded, I (can) store all the fields send in the event

On a slash command event, I show a view with the image
client.views_open(
trigger_id=command["trigger_id"],
view=SlackService.get_image_preview_view(image_url, query_metric.id, len(query_metric.query_result_ids) == 1),
)

If the user presses "send" in the view, I send the image from I the URL the I stored during the file upload event

say(
        channel=channel_id,
        blocks=[
            {
                "type": "image",
                "title": {
                    "type": "plain_text",
                    "text": 'some title,
                    "emoji": True
                },
                "image_url": <here I need the image URL from slack>,
                "alt_text": 'some text'
            }
        ]
   )

Hi @ArturFortunato , got it. So you are able to get a reference to the image, or you having trouble with that? Sorry, hard to piece together how the different event handlers / functions interoperate. I am assuming that your call to  save_all_image_links() in the file-share message event handler saves the link to some database, and then you retrieve it from that database when you need to open a view?
I am still kind of confused haha. Your original question implied this had something to do with image permissions, but now I am not sure that's the issue anymore. Happy to help - I just need to understand the situation better 😄

Hello @filmaj ! Yes, so

When the file-share event fires, I save the URL of the image (all of the image URLs that the API shares).
When a slash command opens, I need to show that image in a view
When the view is submitted, I need to send the image to the chat

Both the view and sending the message fail using all Slack URLs. I talked about permissions because I receive an error saying "failed to download image" when trying to use it!
Seems like Bolt is trying to download it first, but it doesn't have permissions. How can I solve this?
Thanks 😄

I see. Yes I think this situation could be complex, mainly because it depends on who uploaded the file, that is: who the file owner is.
If you take a look at the file properties in your file-share event handler, you will find a property public_url_shared. If this is False, then the file (image) was uploaded by a user in such a way that they may not desire for the file to be publicly available. A requirement for the Block Kit image elements is that the URL for the image be publicly available. Combine that with the fact that by default, any file uploaded to a Slack workspace requires authentication to access, and you have a situation where likely the file/image you are trying to use in the modal is not actually publicly accessible. You can verify this by seeing what the response to curl -v <image-url> is (without any Authentication headers, or not loading in your browser, which may have authentication tidbits leftover via cookies or otherwise).
One workaround that might work for you is to use the files.sharedPublicURL API. This explicitly sets an uploaded file to be public. However, if this file was not uploaded by your application, then your application would not be able to execute this API with its own bot token! If you can have your bot retrieve a user token on behalf of the user, that is, authenticate via OAuth on a per-user basis to ensure the user explicitly gives your app permission to make changes to files they upload, then you should be able to use this API. Check out the discussion in #611 to understand in more detail the steps needed to have your bot save individual user tokens (and what example we have in this repo to help guide you through this).

Hum, that really blocks what I'm trying to do. But:

if I share an image to a channel
right-click it and copy the link (this link is private)
Paste it in a different channel

This works! Even if the user was not originally sent by me. Why does it work for that situation but not on my use case?

@ArturFortunato Sorry for the confusion here.
Unfortunately, as of today, no Block Kit component can display image data uploaded in your Slack workspace. Meaning, image blocks/block elements can display only publicly visible image URLs. Thus, a simple answer to your original question is that, unfortunately, there is no workaround for it at this moment.
We've already received this feedback many times and our product teams are aware of this need. However, we don't have anything to share about whether and when the enhancement to enable developers to display uploaded files in blocks.
The only workaround that I can share is to stop using blocks for the message plus to include the file URL in the top-level text property. With this, Slack renders the preview of the image file as an attachment for you.

Thank you for your explanation @seratch 😄
Looking forward for this feature!


haskellPackages.spacecookie: enable extra tests, install man pages

Add an override to configuration-common.nix adding the following
features to the derivation now available with the <IP_ADDRESS> release:

Let test suite discover the built spacecookie binary, so it doesn't
skip integration tests (which are very cheap and take just over 1s).
Install man pages shipped in the sdist. (If someone is eager to get
rid of this override feel free to explain to me how to achieve this
without a Custom build-type which pulls in thousands of modules from
Cabal. :p)

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@ofborg test spacecookie

@ofborg test spacecookie

LGTM, thanks!


build: Create dependabot to update dependencies

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

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Customer Survey

Analyze customer surveys to see how we can best modify services to address customer issues.

cloud.gov has a customer survey set up and incorporated with their newsletters. Will close this issue.


RocketMq with PinPoint

Our Project has made extensive use of rocketmq. Now we want to use pinponit to monitor link call tracking. How can we put the tracepoint's traceId into the rocketmq message body without modifying the contents of the message? Is there extra extension parameter available?
thx!!!!

How about using the message header?
BTW, please use our mailing lists to consult a question.


Produce SBOM during zarf package creation

Evaluate tools / options to produce a standard consumable SBOM and a user-friendly display / ability to navigate it when deploying a zarf package.  Doing so will meet software supply chain requirements for government and industry as well as provide a higher level of transparency/confidence to what is transported with Zarf.
Related:
https://www.ntia.doc.gov/files/ntia/publications/sbom_minimum_elements_report.pdf
https://cyclonedx.org/
https://spdx.dev/
https://github.com/anchore/syft

Migrated from https://repo1.dso.mil/platform-one/big-bang/apps/product-tools/zarf/-/issues/35

Just a heads up since I can't assign myself here: I'm currently working this issue

https://github.com/spdx/tools-golang
Leaving this here for further reference as a potentially useful lib

Thanks @mikhailswift I’ve been eyeing that too as @runyontr suggested it might be good to have spdx be a consumer target at some point for package creation.  Thanks!

Still a WIP, but wanted to give a quick update.  Currently have SBOM generation working for images during package creation.  I left some more details in the commit message
https://github.com/testifysec/zarf/commit/be628177e77cb846371eb5b3df76e0c817cb918c

Thanks @mikhailswift this is very exciting!  I had played with syft a little last month because I really like the feedback they provide on image pull, have you stumbled across that code at all yet in your exploration?  #3 has been sitting out for a while needing some love and I had planned to checkout how syft was going it later on.

I ran into a bit of their progress updating, yes. They’re using go-partybus (heh, familiar name) as an event bus to provide progress updates to any subscribers. Both syft and stethoscope allow you to pass in your own instance of go-partybus to subscribe to their events.
I tapped into this a bit to get updates during the cataloging process and to make sure syft was reading the image layers from the tar ball and not reaching out to the registry and pulling layers again.
We should be able to use similar tactics to provide better feedback during zarfs processes. I can take a look at it tomorrow.
It also feels a bit bad to be pulling images, tarring them up, only to subsequently iterate over the tar a second time. I played a little bit with trying to catalog image as we pulled them before tarring them but would have to revisit that.

yeah agreed double tar is a little gross.  I'm not beholden to tar vs say OCI for transporting either, just was a simple/clean way initially with K3s.  I may explore that later on too, look forward to what you find out around image pulling.

@jeff-mccoy just wanted to confirm that this issue can be closed based on this commit?
https://github.com/defenseunicorns/zarf/commit/29ec64cd2f36d74c00e5ea57e71c963926f97241

Met with @mikhailswift on Monday to talk through this and he's actively working this again, going to touch base in a couple weeks, but he'll update the issue as it's being worked.

any update on this work @mikhailswift

Sorry just catching up on notifications this morning
So far it's going well.  I'll have get the code cleaned up and will the commits here to show what I'm doing.
Currently working on making sure SBOMs are being generated for images at the most opportune time in Zarf's code.

Copy thanks!

Apologies for the delay on this -- got the SBOM creation code cleaned up and a PR up.  Working on functionality to display the SBOMs to users now.

@jeff-mccoy https://github.com/tern-tools/tern
I also highly recommend https://github.com/awesomeSBOM/awesome-sbom

Thanks @anoncam, python is a deal-breaker as we need statically-linked cross-compiled binaries only, will keep tabs on the second link.

We're currently working SBOM generation directly in witness w/o Zarf to remove the massive dependencies that syft brings

We'll need more details on that too.  Syft has several teams adopting it and I want to make sure that we know what we are brining in and when we are choosing more commons tools vs not.

@jeff-mccoy I think another item needs to be captured, which is standardizing across the industry to better support interoperability with various components.  SLSA seems like a good starting point to dive a little more meaningfully into this process


Send email to provider other than Google

Please add an example for using another email account other than Google.   Emailing and SMS text work great with dedicated Gmail account; thank you for the library code.
Had trouble understanding blog post:  https://www.mischianti.org/2020/06/16/send-email-with-attachments-emailsender-v2-x-library-esp32-and-esp8266-part-2/
EMailSender(const char* email_login, const char* email_password, const char* email_from, const char* name_from, const char* smtp_server, uint16_t smtp_port);
When compiling; this line produces error:  "expected unqualified-id before 'const'"
Maybe something I am overlooking; have not been successful in resolving this issue.

Hi Tech500,
I think you must post the code you can try to execute to debug It.
But you can find the sendgrid provider management in this example
https://github.com/xreef/EMailSender/blob/master/examples/EMailSenderArduinoMegaUIPSendgridTest/EMailSenderArduinoMegaUIPSendgridTest.ino
Bye Renzo

How do I correct?
250
Identification error (501 Syntactically invalid HELO argument(s))
My code:
`/*

EMailSender library for Arduino, esp8266 and esp32
Simple esp8266 Gmail send example

https://www.mischianti.org/category/my-libraries/emailsender-send-email-with-attachments/

*/
#include "Arduino.h"
#include <EMailSender.h>
#include <ESP8266WiFi.h>
const char* ssid = "ssid";
const char* password = "networkpassword";
uint8_t connection_state = 0;
uint16_t reconnect_interval = 10000;
/*
Email settings detail for mw.net
http://mw.net/techsupport.shtml

*/
EMailSender emailSend("", "", "<email_address>", "<from_name>", "mail.mw.net", 465);  //Will this wotk; SSL/TLS port?
uint8_t WiFiConnect(const char* nSSID = nullptr, const char* nPassword = nullptr)
{
static uint16_t attempt = 0;
Serial.print("Connecting to ");
if(nSSID) {
WiFi.begin(nSSID, nPassword);
Serial.println(nSSID);
}
uint8_t i = 0;
while(WiFi.status()!= WL_CONNECTED && i++ < 50)
{
    delay(200);
    Serial.print(".");
}
++attempt;
Serial.println("");
if(i == 51) {
    Serial.print("Connection: TIMEOUT on attempt: ");
    Serial.println(attempt);
    if(attempt % 2 == 0)
        Serial.println("Check if access point available or SSID and Password\r\n");
    return false;
}
Serial.println("Connection: ESTABLISHED");
Serial.print("Got IP address: ");
Serial.println(WiFi.localIP());
return true;

}
void Awaits()
{
uint32_t ts = millis();
while(!connection_state)
{
delay(50);
if(millis() > (ts + reconnect_interval) && !connection_state){
connection_state = WiFiConnect();
ts = millis();
}
}
}
void setup()
{
Serial.begin(115200);
connection_state = WiFiConnect(ssid, password);
if(!connection_state)  // if not connected to WIFI
    Awaits();          // constantly trying to connect

EMailSender::EMailMessage message;
message.subject = "ESP8266 email test";
message.message = "This is a test email";

EMailSender::Response resp = emailSend.send("<email_address>", message);

Serial.println("Sending status: ");

Serial.println(resp.status);
Serial.println(resp.code);
Serial.println(resp.desc);

}
void loop()
{
}
/*
Compiles with no errors.
Serial Monitor output:
Connection: ESTABLISHED
Got IP address: <IP_ADDRESS>
Sending status:
0
250
Identification error (501 Syntactically invalid HELO argument(s))
*/
`

Hi Tech500,
I think your provider don't like the custom string on HELO command, you must check what kinf of string It expect and set It with this command.
emailSend.setPublicIpDescriptor("");
you can have this problem also if you don't use the provider line.
Bye RM


Refactor and optimize basic witness generation

What ❔
Changed the structure of the basic witness generation process. Large sections of code are divided into appropriate functions, some of the data structures used are changed, unnecessary data and calculations are removed.
Main changes:

Split huge create_artifacts_from_tracer body to smaller functions, deallocate memory as early as possible
Reduce clone() and .to_vec() usage as much as possible, use refs instead of values where it makes sense
Do not collect unused data (especially some redundant data from simulators)
Replaced AdvancingRange with data structures that divide content by circuits on the fly and do not save unnecessary data
Renamed and grouped parameters, variables, structures to more clearly reflect their meaning
Added comments

Why ❔
Basic witness generation consumes too much memory, takes too long, and the code is rather difficult to understand.
Checklist

[X] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[X] Documentation comments have been added / updated.
[X] Code has been formatted via zk fmt and zk lint.

@0xVolosnikov JFYI I've merged the release PR and it caused merge conflicts here; though likely it's pretty straightforward to resolve.


Evaluation Mask Level in Evaluation_FROC

Can the Evaluation_Mask_Level in Evaluation_FROC can be different from the level at which the probability map was generated?
I mean you generated the prob maps at level 6 but evaluation is done at level 5. Any particular reason behind this?
p.s. I generated ground truth tif file mask at level 6. Does it matter?
Thankyou.
https://github.com/baidu-research/NCRF/blob/1c8987f73e2ccf717b605eb28913d47b4390c13d/wsi/bin/Evaluation_FROC.py#L214

@usamabaig1 The Evaluation_FROC level was set by the Camelyon16 competition organizers. Therefore, I guess it's better not change it so the results are comparable. It's an arbitrary choice for me to set level 6 for generating probability map. I haven't tried other levels, but I guess it won't matter that much.


Powersploit download

Hey Chris,
Powersploit's most recent/"bleeding edge" version is in the Dev Branch. Switched to have the download to come from Dev branch instead of Master branch.
Thank you for the time and work you put into this lab. :)

Closing this PR. I am going to redo PR with only changes for Powersploit.


Search Icon issue in SideNav

@Dogfalo @acburst Please have a look
When a Searchbar is added as a List item in the Side NavBar, The Search Icon Gets Displaced in the List and overlays other list items.
PFA The Screenshots of the problem.

can you post a code example

sure thing

Github Repo : https://github.com/Shivang-Bhandari/P5-Neighborhood-Maps
Live App : https://shivang-bhandari.github.io/P5-Neighborhood-Maps/
@acburst let me know if anything else is needed

@acburst any updates?

I restructured things so that you can now add the class label-icon to your search icon label and you it won't move. You'll have to switch to master though. If not you can instead not use a label and just position a search icon yourself with css.
Added in f927836.


Local binary build failed

Branch: main (1.0)
Build command
./builders/tools/bazel-debian build //components/data_server/server:server \
  --config=local_instance \
  --config=local_platform \
  --config=nonprod_mode

Error:
ERROR: Error computing the main repository mapping: Label '//google_internal/kv_chrome_e2e:BROWSER.bzl' is invalid because 'google_internal/kv_chrome_e2e' is not a package; perhaps you meant to put the colon here: '//:google_internal/kv_chrome_e2e/BROWSER.bzl'?

thanks for reporting this! this seems like a recent bug we introduced. could you go back to an earlier commit or the stable release branch to try while we work on a fix?

Thanks, I got the same error after switching to release-0.17 and 0.16
https://github.com/privacysandbox/protected-auction-key-value-service/issues/69

Sure :) Then the first bug came out
ERROR: Error computing the main repository mapping: Label '//google_internal/kv_chrome_e2e:BROWSER.bzl' is invalid because 'google_internal/kv_chrome_e2e' is not a package; perhaps you meant to put the colon here: '//:google_internal/kv_chrome_e2e/BROWSER.bzl'?

the main branch is not the same as the release-1.0 branch. I think the bug is from the main branch. does that also happen in the release-1.0 branch?

Thanks! I can confirm it works on the release-1.0 branch. Sorry for the misunderstanding.


Update NetUse stuff to use FFI

:+1:

While you are in api/net.rb, would be good to fix some of the inconsistent spacing of the [:
safe_attach_function :NetLocalGroupDel, [ :LPCWSTR, :LPCWSTR], :DWORD


Our plans to maintain this component

Later in 2022, we’ll carry out research to understand how we can support services that use this component.
We’ll work with other teams in GDS to find the best way to keep the component up-to-date with the latest technologies and for accessibility.
We hope to find out more about:

services that use the current autocomplete
their different use cases
customisations or ‘hacks’ that teams have made
datasets in use
accessibility work service teams have done, and what needs they’ve discovered

If you’d like to help or share your experiences, leave a comment in this issue.

DfE has used the autocomplete extensively and would be happy to chat.
In particular we've done work to add our own much improved suggestion engine to greatly improve the quality of results. This was made so that it could be a drop in replacement for the existing one.

There are a good number of teams at HMRC using the accessible autocomplete and country/territory autocomplete.
We've also added some improvements to make it work a little better.

This appears to be the single source of truth for HMG country names: https://www.gov.uk/government/publications/geographical-names-and-information
Comments?

At Historic England, who sit under DCMS, we're using this component in the upcoming redesign of the Listing and Designations Form to enhance a select field for Counties with autocomplete, specifically for the accessibility features it provides when enhancing a select. If you need to please feel free to get in touch with us to discuss support - I'd be happy to have a back and forth with you on this.

We’re using this component at DLUHC. On the service I’m currently working on, we’re using it to help users find and select a local authority, with other uses cases where a user needs to find a select from a large dataset in the works. I also worked on teams at DfE where this component was used extensively, and it was complimented by the team at DAC when they audited our service.
We’ve been referring to this as an officially-unofficial component – it’s inclusion in the design system proper would be greatly welcomed. There are a lot of fiddly aspects to this that can crop up, and I’m not sure if it can ever be perfect, but it often provides a solution that is so much better than any of the alternatives.

I have used this component in the past. @paulrobertlloyd's description 'offically-unofficial' is good a reflection of how most teams I've used it with have viewed it.
I'd wager that this is enough of a common problem to warrant being included in the design system and would very much welcome an updated version with community improvements. I recognise that this would not be a small piece of work to build (and support) though.

@calvin-lau-sig7 or anyone: I looked but failed to find the source of countries.
Is it the Geographical names index (https://www.gov.uk/government/publications/geographical-names-and-information) managed by the Foreign Office?
There are also ongoing discussions about an approved set of Welsh names across government. Would you be able to support that?

We're using the accessible autocomplete on https://www.electronic-visa-waiver.service.gov.uk and https://www.faster-uk-entry.service.gov.uk — it's been incredibly useful to have a re-usable components that seems to meet WCAG 2.1 and work well with assistive technologies.

Thanks for creating this pool @calvin-lau-sig7
We have a number of teams using or considering autocomplete/autosuggest in their service at the moment within the NHS design estate. It would be great to share some of what we have discovered along with what you are doing.
I'm currently introducing it with a clinical admin system within national screening...[I'd add the findings later]
NHS autocomplete Github issue

Really exciting!
Please reach out to me as well if you need any help unpicking some of the code. :)

We wrote up a blog post about how we've improved the sorting and filtering functions to fix several issues and improve usability. The code is intended to be 'drop-in' with minimal additional work needed.
Post: https://bat-design-history.netlify.app/register-trainee-teachers/autocomplete-improvements/

Would be great to also fold in the UI improvement described here: https://bitzesty.com/2020/09/25/making-gov-uk-accessible-autocomplete-a-suitable-replacement-for-select-enhancement/

Among possible improvements :

Focus management on dismissal : when the user is inside the list of suggestions and wants to get out of it, focus should return to the input field after dismissal);
aria-label attribute to the listbox, to comply WAI-ARIA requirements (e. g. aria-label="List of results" or aria-label="Country", depending of usage context)

We are using this component on the Register to Vote service at DLUHC as well as a few related public facing services.
We have made some small customisations in our integration, notably that we need different lists of countries in different contexts (e.g. Isle of Man is allowed as a country of residence but not as a nationality), and we need to annotate countries with metadata about voting franchises in the UK.
We would be happy to discuss

We still use it on the kings awards services, with changes to make it more like a select https://github.com/alphagov/accessible-autocomplete/pull/467

I just reviewed this component on NVDA and it works well. But like @emilieviau  says, when I press the escape key. Focus does not go to the input field, it has a focus reset, it goes to the body:

Code Demo: https://alphagov.github.io/accessible-autocomplete/examples/form.html

Instructions to test:

Visit the page
Set a live expression to document.activeElement (https://developer.chrome.com/docs/devtools/accessibility/focus/)
Observe pressing the escape key to dismiss the autocomplete, it resets.

If you’re using Accessible Autocomplete in your service, please fill in our usage survey and we can bring together a group of services to help us.


Line chart clipping at peak without legend

When you remove the legend, the peak of a line chart can become clipped out of the canvas. See this jsfiddle for an example.

Same issue as #2768


Lido app/marcus/filter

It should be good now @tyleradams

Updated PR @tyleradams with your changes implemented. I also re-ordered my parameters to more closely match the Excel's ordering. I also double checked if I can format the inputs as RANGE=LOOKUP_VALUE (e.g. A1:A10=B10) and it fails. Specifically, when I print the parameter received in the FILTER function, I get null.


Spike an initial parsing and toml-test approach

This implementation only goes far enough to test the bool decoder case out of
toml-test, but that case does pass.
The code base seemed oriented to a separate tokenization and parsing phase, but
it feels a bit cumbersome the way I'm proceeding so I want to make sure it was
the intended direction before going too far.
Please let me know what you think.

For another project, I bridge the combinators and parsers with code that resembles:
parsed :: Parsec [Token] () c -> Text -> Either String c
parsed p = tokenize >=> bimap show id . runParser (p <* eof) () "<testcase>"

Not sure the bimap is strictly required, just made writing testcases easier i think.

Pushed some WIP commits. Probably won't get back to this until later in the week. Thanks for the quick comments.

@clord I think this is at a good weigh-point to get some review and possibly merge before continuing. Note: I left some debt in the form of -fno-warn pragmas in the interest of not muddying the diff. As we get further along, I'll address them the Right Way.
Currently this passes 50 of the decoder test cases. And the 28 failures are all at the tokenizing step, so addressing them will be a slight change of gears, which is why I think this is a good merge point.


Add Google Gemini model provider

Like:

https://github.com/casibase/casibase/issues/627
https://github.com/casibase/casibase/issues/650

Fixed by: https://github.com/casibase/casibase/pull/692


node tests: Add a lint rule to make sure that assert is not used incorrectly

We had a lot of places in codebase where assert was used accidentally instead of asert.equal.
See https://github.com/zulip/zulip/pull/18684 for example.
We need to add a lint rule to make sure that this does not happen again.

@zulipbot claim


Losslessly Optimize Images (Save 2.1MB in Repo)

Are you sure that it is lossless? How did you do that?

Yeah :^). See Telegram.

Idk if I should do that. Test the theme and see if it works correctly.

I can cherry pick wanted changes tho.

Closed to superseed new PR of separate branch.


Branch 0.5.1

Added missing oauth depdencies in setup
Removed unused imports in client
Added license badge

Coverage remained the same at 100.0% when pulling 366e19863586034c8e32b2047d39401d682d41ab on branch-0.5.1 into a06b610a39246907e0b82004325f96a31c162d9a on master.


Increment version for storage releases

Increment package version after release of azure-storage-blob

Will do manually since this was a patch.


Adds support for deploying programs with imports

Motivation
Supersedes #1004.
This PR imports the required programs prior to constructing the deployment for broadcasting to the network.

CI flaky test is flagged in #986


Add missing relationship constraint

add constrain check to require at least one field/environment variable from a set
add missing check for zero-value of string slice (missed in #176)

new constrain tested with baton-ldap and I can confirm it works!


Support minification

The service does not use inline annotations and therefore breaks when minified.

I see that this is working now once built. We were incorrectly linking to the src version, not the dist version.


unconditional epoch snapshots

Previously, we were omitting the entire epoch snapshot if we weren't proposing, instead of just the delegator table. This isn't really a problem right now (only proposers need local_state), except for the assertion we do that the local_state is always in sync after applying a block. If the local_state never gets updated, it will lose sync. Chain voting (which will be in soon) does need local_state even when not proposing.
Tested by https://github.com/CodaProtocol/coda/pull/2506, and manually by seeing that a non-proposer doesn't trigger the required_local_state_sync assertion on an epoch boundary.
Checklist:

[ ] Tests were added for the new behavior

https://github.com/CodaProtocol/coda/pull/2506 extends holy grail with a non-proposer, which should catch this scenario in the future.

Also, this renames the misnamed "lock_transition" to "frontier_root_transition". The "lock" referred to "locked tip", which isn't a concept anymore.

Slight addendum to you initial comments:
Even without chain voting, holding onto the epoch ledger is required now as you can get punished if you don't make it available to other participants of the network.


Data fetching vendors

Codes added in order to fetch data of vendors from spree
Useful links:

Adding hooks for the data fetching in the provider(spree) folder
Sample queries when creating requests to spree

I got the codes for the provider here https://github.com/vercel/commerce/blob/main/packages/commerce/new-provider.md
Then reverse engineered the rest of the code. Basing it on other fetched data


SampleApplication:Failed to create keyword detector!

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:
While running sample.sh
PA_ALSA_PLUGHW=1 ./SampleApp/src/SampleApp ./Integration/AlexaClientSDKConfig.json DEBUG9
Get following error;
Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 923
2020-06-08 16:34:06.601 [  1] C SampleApplication:Failed to create keyword detector!
I did get this error during the make SampleApp
pi@raspberrypi:~/sdk-folder/sdk-build $ make SampleApp -- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
bash: syntax error near unexpected token `('
Provide the steps to reproduce the issue, if applicable:

Tell us about your environment:

What version of the AVS Device SDK are you using?
  1.19.1

Tell us what hardware you're using:

[ ] Desktop / Laptop
[ x] Raspberry Pi
[ ] Other - tell us more:

Tell us about your OS (Type & version):

[ ] Linux
[ ] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[ x]  Raspian Buster

The problem you are describing isn't related to gtest.  gtest isn't necessary to build or run SampleApp.
This looks like either you have an installation error with ALSA, a configuration error with ALSA or you don't have a mic plugged into your raspberry pi.

Hi @hankp46, please make sure your .aroundrc file is correctly configured: https://www.alsa-project.org/wiki/Asoundrc

I did a new install an it is working fine.
Thanks


React/RCTBridgeModule.h file not found

So I ran npm install --save react-native-track-player then ran react-native link.
When I tried to build the project in XCode I received the error:
/Users/whobutsb/Sites/cc-mobile/node_modules/react-native-track-player/ios/RNTrackPlayer/Support/RNTrackPlayer-Bridging-Header.h:5:9: 'React/RCTBridgeModule.h' file not found
I'am running:

react-native: 0.50.3
react-native-track-player: ^0.2.2

How you resolved this issue?

Should be resolved as part of v1.0.0

I'm still getting this error with 1.2.2

I'm getting this issue with 1.2.2

I'm getting this issue with 1.2.3

@davidcort what react native version? Are you setting up a new project or upgrading?

@davidcort try to unlink "react-native-track-player" and other linked modules if any. There might be some errors to unlink your modules when you start the server.
react-native unlink react-native-track-player
Run cd ios && pod update


Expand GitLab examples

Provide an additional example for a Qodana job in GitLabs CI/CD environment, which uses the expose_as-keyword to make a Qodana report availabe in a given, related, merge request.
Additionally link to a post which also gives an example on how a Discord webhook notification can be sent whenever a new Qodana report is available.

The information added is essentially the same as the one mentioned in the already linked article by Riccardo Padovani, but adjusted for newer versions of Qodana.
The example by Riccardo is no longer up to date:

the docs discourage the use of the jetbrains/qodana image and instead suggest using jetbrains/qodana-<linter>
entrypoint: [sh, -c] whereas the suggested configuration is currently entrypoint: ['']

However, the core of Riccardos example is still a valid one, hence the update to it, including screenshots.
To get an idea of how my changes would look like, see below:

Basic Example
To add a Qodana runner to a GitLab CI/CD pipeline, use the following configuration example: (.gitlab-ci.yml):
    qodana:
     image:
       name: jetbrains/qodana-<linter>
       entrypoint: ['']
     script:
       - /opt/idea/bin/entrypoint --results-dir=$CI_PROJECT_DIR/qodana --save-report --report-dir=$CI_PROJECT_DIR/qodana/report
     artifacts:
       paths:
         - qodana

Exposing a Qodana report
In order for a report to be available in any given merge request, you need to make use of the expose_as-keyword
and change the path to the artifacts. This will render the report available in any affiliated merge request: (.gitlab-ci.yml):
    qodana:
     image:
       name: jetbrains/qodana-<linter>
       entrypoint: ['']
     script:
       - /opt/idea/bin/entrypoint --results-dir=$CI_PROJECT_DIR/qodana --save-report --report-dir=$CI_PROJECT_DIR/qodana/report
     artifacts:
       paths:
         - qodana/report/
       expose_as: 'Qodana report'

Assuming you have configured your pipeline in a similar manner, this is what it may look like:

Qodana report affiliated with a pipeline in a merge request

Available actions for a given exposed Qodana artifact

See also
External Links
'Integrating JetBrains Qodana with GitLab pipelines' by Riccardo Padovani
'Qodana, GitLab and Discord' by Griefed

Hi, @Griefed. Thank you for your updates. Please sign https://www.jetbrains.com/agreements/cla/ and we'll be able to proceed with merging your pull request.
@smth-to-smb could you review the changes, please?

Also, our default branch now is 2022.1, can you make pull request target to it? Thanks

Get well soon! Thank you


Compilation error in executor_supervisor.ex

I'm getting the following error in 2.3.2 but not in 2.2.7 any idea why this is happening?
== Compilation error in file lib/quantum/executor_supervisor.ex ==
** (CompileError) lib/quantum/executor_supervisor.ex:53: unknown key :execution_broadcaster for struct Quantum.ExecutorSupervisor.InitOpts

I am seeing the same.  More specifically, I can compile w/ 2.3.1 (labeled retired on hex) but not with 2.3.2, but 2.3.1 does not appear to have updated features from 2.3.
elixir version: 1.6.4

Did you check if the problem persists when you rebuild completely? (Just throw away the _build and deps folder and reinstall the deps)

Yes, even after removing the _build and deps folder, the dependency fails to compile with the same warning.

In lib/quantum/executor_supervisor.ex:53 we need to update the key to :execution_broadcaster_reference for the if -> true case, same as the else clause beneath.
  if Util.gen_stage_v12?() do
    def init(
          %InitOpts{
            execution_broadcaster: execution_broadcaster
          } = opts
        ) do

@kerrd89 I see. I'm going to create a PR in a few minutes.

@kerrd89 Fix in #372

This is working now! Let's close this bad boy.

Thanks for the quick turnaround!

I'll try to get the other PR running as well and will then create a new release. (#369)

Will be released with #373


[DISCUSSION] Strategy to merge PRs

Right now there are 12 Open issues and 50 PRs. That means 4 fixes per issue.

How are we going to merge these PRs?
Will there be still PRs open after closing all the issues?

Request to those who are submitting PRs:
Before starting to work on an issue, claim the issue by saying "I am working on this". This will help duplication of effort.
Request to those who are handling the repo

Please provide a template for reporting issues
Please provide guidelines for PRs
A rough details of the back-end - like the db  CPU/RAM, available processing power for handling concurrent requests etc will be appreciated.
Expect a DDOS -  what is the mitigation strategy ?  (Expect the worst)

Describe the bug :bug:
A clear and concise description of what the bug is.
Checklist
Put an x in the boxes that apply.

[ ] I searched or browsed the repo’s other issues to ensure this is not a duplicate.
[ ] I have assigned a Label for the issue (if applicable)

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Possible Implementation
Describe if ther any solution to this problem which you know.
Screenshots (if applicable)
Screenshots to help explain your problem.
Software (please complete the following information if the bug is related to specific versions of softwares):

Software
Version
Any other info

NA
NA
NA

Additional context (if applicable)
Add any other context about the problem here.

we could use the above template for raising issues

@manuvakery1 this looks great, would be good to have template for raising issues.

@bodhish you mean for PR ?

@bobinson We can also do a integration with Heroku [https://devcenter.heroku.com/articles/github-integration], for auto-deploy to test instances so that it would become easier to QA the PRs before merge.
Anyone with a admin access to the main repo can do it.
cc: @biswaz @manuvakery1

@bobinson @bodhish   we can use this template for PRs
Description
Describe the big picture of your changes
Related Issue
Fixes #issue_no
Types of changes
Put an x in the boxes that apply. You can also fill these out after creating the PR.

[ ] :bug: Bug fix (non-breaking change which fixes an issue).
[ ] :rocket: New feature (non-breaking change which adds functionality).
[ ] :heavy_multiplication_x: Breaking change (fix or feature that would cause existing functionality to change).

Checklist
The following checklist should be checked on each new pull requests as well as the subsequent changes in the pull request.
Put an x in the boxes that apply. You can also fill these out after creating the PR.

[ ] I have rebased the code with master(must).

What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
How was the fix tested?
If this PR introduce a breaking change, what changes might users need to make in their application due to this PR?
Screenshots (if appropriate)
Other information:

@manuvakery1 midhunkrishna - there was a previous issue specific for the template but it was closed  (IDK why!).  Refer #99

@bobinson We can also do Heroku integration, for auto-deploying test instances so that it would become easier to QA the PRs before a merge.

CI is a good idea @midhunkrishna

#62 and #104 proposed issue and PR templates with related issue on #99, But was closed on https://github.com/IEEEKeralaSection/rescuekerala/issues/99#issuecomment-413552836 by @naveenpf with

Not required

Hope @naveenpf reconsiders the decision to control and channel issues and PRs.

In the case of DDOS @bobinson, these are the ones we usually follow:

Throttle the requests say with something like https://github.com/jsocol/django-ratelimit
Combine the one with geolocation based limiting, can help (Cloudflare offers a free tier I suppose)

thinking out loud here.

@bobinson do you hve infrastructure scaling issues?

@cibingeorge - sluggish. @biswaz @naveenpf  : please talk to either @dileep-p or @cibingeorge  on infra. They have tons of experience with large scale infrastructure.

It already seems to be using Cloudflare @midhunkrishna Maybe set rate limiting/security level on the Cloudflare admin. At this point, even basic Cloudflare protection should prevent ddos at the expense of displaying random captchas to unsuspecting users.

Thanking everyone for the inputs.


feat: impl Hash for immutable_set

as title

Pull Request Test Coverage Report for Build 3741
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 83.155%

Totals

Change from base Build 3701:
0.003%

Covered Lines:
4285

Relevant Lines:
5153

💛  - Coveralls


Update dependencies for Ubuntu 22.04

Ubuntu 22.04 no longer uses libappindicator3-dev. It has been replaced with libayatana-appindicator-dev, and removing it will remove other Ubuntu desktop dependencies.

I've updated the dependencies. You can clone from https://github.com/grizzlei/clevo-indicator

I've updated the dependencies. You can clone from https://github.com/grizzlei/clevo-indicator

does it work on non ubuntu distro? I'm trying to use it in kde neon and it doesn't work.


chore: Add Provider Ceph to ADOPTERS.md

Explanation
Add Provider Ceph to Adopters list.

Related issue
https://github.com/linode/provider-ceph/pull/221

Proposed Changes

Checklist

[x] I have read the contributing guidelines.
[x] I have read the PR documentation guide and followed the process including adding proof manifests to this PR.
[ ] This is a bug fix and I have added unit tests that prove my fix is effective.

Further Comments

Awesome, thank you @nolancon !


Fix incorrect link

Linked to 'button' rather than 'cookie banner'

Likewise, thanks @vickytnz!
I've corrected the typo, committed and squashed — ready to merge with your approval @lfdebrux.


Add join table

For this milestone, I performed these requirements 👩💻:

Create a table named vets and two join table specializations and visits
Insert new data
Write queries to answer the following:

Who was the last animal seen by William Tatcher?
How many different animals did Stephanie Mendez see?
List all vets and their specialties, including vets with no specialties.
List all animals that visited Stephanie Mendez between April 1st and August 30th, 2020.
What animal has the most visits to vets?
Who was Maisy Smith's first visit?
Details for most recent visit: animal information, vet information, and date of visit.
How many visits were with a vet that did not specialize in that animal's species?
What specialty should Maisy Smith consider getting? Look for the species she gets the most.

Thanks @Whoistolu


docker version: disk I/O error (SQLite3::IOException)

Trying out the Docker version, I get:
/usr/local/bundle/gems/sqlite3-1.6.2/lib/sqlite3/database.rb:152:in `initialize': disk I/O error (SQLite3::IOException)
	from /usr/local/bundle/gems/sqlite3-1.6.2/lib/sqlite3/database.rb:152:in `new'
	from /usr/local/bundle/gems/sqlite3-1.6.2/lib/sqlite3/database.rb:152:in `prepare'
	from /usr/local/bundle/gems/sqlite3-1.6.2/lib/sqlite3/database.rb:198:in `execute'
	from /app/lib/AppleNoteStore.rb:129:in `get_database_tables'
	from /app/lib/AppleNoteStore.rb:77:in `guess_ios_version'
	from /app/lib/AppleBackupMac.rb:27:in `initialize'
	from notes_cloud_ripper.rb:165:in `new'
	from notes_cloud_ripper.rb:165:in `<main>'

Starting Apple Notes Parser at Wed May  3 02:39:25 2023
Storing the results in ./output/notes_rip

Created a new AppleBackup from Mac backup: /data

Thanks for reporting this, I get the same error. My hope was my test MacOS computer had messed up permissions (I have not always been kind to it with my testing), since #67 showed that it should work.
As near as I can tell, the error it has to do with that folder's permissions being 700 and docker running as an unprivileged user. I'm not keen to advise users to modify their folder permissions just for this script to run, but had a few thoughts for what might work (make a copy locally, parse it, delete it, for example). The downside is Docker dramatically slows down my testing due to the RAM available on that computer, so my iterating on those solutions is a lot slower than normal.
Maybe @jareware could weigh in on what she did to give Docker access to that folder?

I tried a lot of different ways to overcome the permissions errors, nothing seemed to work. I then went for the ugly hack, now the MacOS shell scripts simply make a local temp folder, copy the Notes into that, and delete it when the script is done. I dislike the extra time spent copying files and the potential for a LOT of wasted disk space, but I can't figure out any more elegant way and view Docker as a nice to have, not an imperative.
Please try it out, see if it works better for you after 451e61394f1cd50431711293850010cf9183cf9c

Woo hoo! Yes!
Any chance you can push an arm64 build as well? Not a big deal if not, I can build it locally obviously.

Ok, it isn't the prettiest when it comes to tagging, but v0.12.3 should also have an arm64. Let me know if it doesn't work!


Support for active ssh connections

Do you think it would be possible to support the use-case where the user logs in to a "login node" (with no GPUs) and then connects from there to a compute node (which contains the GPUs) via ssh using the integrated terminal?  Would it be feasible to view the GPU usage of a currently active ssh connection, using the same visualisation (e.g. by making repeated remote calls to nvidia-smi)?

If you remotely connected to the login node, surely it is possible to implement.
Step 1: write a script that queries gpu usage (not related to extension)
Step 2: add an extension config to parse the output of user provided script (pr welcome)

You may ues the remote-ssh plugin to attach current workspace to the remote machine via ssh, then install nvidia-smi as you did in local machine. The remote-ssh also enables you to edit files directly on the remote machine.
This works pertty cool!


Natalia fix corner case where both reference impl and cudnn produce nans

cc: @colesbury reference implementation produces nans?
Also, rather than disable the test, shouldn't we fix the corner case?

It is a totally degenerate case, where averaging is done over a dataset of size 1. The expected output for this case is a tensor filled with 0's, so your training will stop right there and this case should never ever be encountered in practice. One can argue how variance and unbiased variance should be calculated. As it stands in both implementations now, unbiased variance is divided by (N-1), producing nans.

Should we trigger an error or something on batch size 1 then instead of NaNs?

We can fix cudnn to return CUDNN_STATUS_BAD_PARAM.


Please release a new version

The last release has been nearly 2 years back. There are fixes included we'd be happy to see.

Working on it when I can but my free time basically evaporated about 2 years ago. :cry:
There are a few more things I'm trying to cobble together before the next cut, see the "2.3.x" milestone.

ZeroClipboard v2.3.0 is now built, tagged, released, and published. Enjoy, and thanks for waiting patiently!


Paint 2.0

Description
Basically the final version of MFPaint. Highlights:

New touchpad support
Named, compressed image files!
Previews of drawing shapes
Improved gallery
Images live in memory, not just the framebuffer, yay!
I deleted like half the code, so it's gotta be better!

Test Instructions
Play around with it, make some art, do weird things! Try to break it!
Ticket Links
Closes #27

Readiness Checklist

[x] I have run make format to format the changes
[x] I have compiled the firmware and the changes have no warnings
[x] I have compiled the emulator and the changes have no warnings
[x] I have run make cppcheck and checked that cppcheck_result.txt has no warnings for the changes
[x] I have added doxygen comments to any code used by more than one Swadge mode. This includes /*! \file comments with Design Philosophy, Usage, and Example sections for new headers.
[x] I have run make docs and checked that doxy_warnings.txt has no warnings for the new code

Is this ready for review or should I wait for the checklist?

Ready for review now! Just had to fix a couple things last-night me forgot about.

Brush size requiring a touchpad and a button at the same time is not intuitive. It should have a second level touchpad menu like the other options

Also I dont think the filename is being set into dialogUnsavedDetailStr properly if you save as something non-default first.

Brush size requiring a touchpad and a button at the same time is not intuitive. It should have a second level touchpad menu like the other options

Ah yeah, this is one thing I'm hoping to be able to get to today.

Also I dont think the filename is being set into dialogUnsavedDetailStr properly if you save as something non-default first.

Good catch, thanks!

Ok, fixed the one issue but looks like I'll work on the rest of it tomorrow. Should have plenty of time!

@dylwhich, turns out @cnlohr slipped in a completely different textEntry.c for flightsim before this one. I'd strongly recommend renaming yours rather than trying to integrate or anything, and we can hash it out next year.

@dylwhich, turns out @cnlohr slipped in a completely different textEntry.c for flightsim before this one. I'd strongly recommend renaming yours rather than trying to integrate or anything, and we can hash it out next year.

Okay, sorted this out too. That should be everything.


List of Virtual environment path in top panel overlapping with one-another.

Version: 1.37.0 (user setup)
Commit: 036a6b1d3ac84e5ca96a17a44e63a87971f8fcc8
Date: 2019-08-08T02:33:50.993Z
Electron: 4.2.7
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.18362
In top panel ,list of virtual environment path is not properly read.Please resolve this issue.

Sorry I don't understand what this list is, please tell me how you got it to show up.

hello sir,
Just click at the bottom panel of vs code and you will know the issue.For better understanding please see the attachments.you can't properly read the virtual environment location.

I can't reproduce it but your paths are longer, do you recognize it @bpasero?

I am using Pipenv for virtual environment and its path for my pipenv is at C:\Users\My World.virtualenvs.

Sounds like a quickpick or list issue to me.

I have found same issue when try to configure python Framework.Please see the attachments.

I think this problem is caused by 'shades of purple theme(I was using this). I switch back to default color theme and the issue has gone.

you can clearly see no list issue.

Fixed as #84062


demo script for using MPI

We need to build a demonstration script for how to use MPI. I'm attaching a zip archive that contains some files for checking parallelisation. Please get that running and validate that it correctly works as is for you on the gadi system at ANU.
Having validated, I want that script converted code to using cogent3.util.parallel functions only. Specifically, using the get_rank() function instead of directly using mpi4py objects directly. (So delete any functions that don't use cogent3.)
Attach revised script to this issue.
mpi_demo.zip

Got the script running in gadi!
perf_primes-gah_cogent3.zip


Add support for private repos when fetching files in run.py

It does not look like the code in run.py get_list_of_changed_files fetches with the given token.
Wondering if this is a known problem and something that can be fixed?
Getting the following error when fetching files from a private repo:
  Traceback (most recent call last):
    File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
      return _run_code(code, main_globals, None,
    File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
      exec(code, run_globals)
    File "/usr/local/lib/python3.8/dist-packages/cpp_linter/run.py", line 764, in <module>
      main()
    File "/usr/local/lib/python3.8/dist-packages/cpp_linter/run.py", line 738, in main
      exit_early = not filter_out_non_source_files(
    File "/usr/local/lib/python3.8/dist-packages/cpp_linter/run.py", line 2[25](https://github.com/JosephDrazen/myRepo/runs/<run_id>?check_suite_focus=true#step:4:25), in filter_out_non_source_files
      os.path.splitext(file["filename"])[1][1:] in ext_list
  TypeError: string indices must be integers```

We welcome PRs. I don't have a private repo to test this action on.

I think a modification could be made to get_list_of_changed_files() to conditionally pass the given token (if supplied).
It looks like the requests() call should be supplied with an accept="application/vnd.github.v3+json " arg in the header. I don't see a way to use the token for getting a list of files in a PR (or push) event. Note, the REST API docs have changed a bit since I wrote the code here.

Close this issue as it has been implemented in https://github.com/shenxianpeng/cpp-linter-action/pull/40, any feedback on this is welcome.


[Question]: Would I be able to host the Docker image on my own domain

Is your question not already answered in the FAQ?

[X] I made sure the question is not listed in the FAQ.

Is this a general question and not a technical issue?

[X] I am sure my question is not about a technical issue.

Question
I'd like to know if it's possible to use my own domain for hosting instead of using port 8080.

Yes this is possible. If you use cloudflare,  create an A or AAAA record that points to your public ip and turn off proxy and hit save. Now on your router,  forward the port 3389 from the machine ip that's running the container. Voila, connect to that dns record


bug in dump_rnn.py

Hi,
in the script,
f.write('const struct RNNModel rnnoise_model_{} = {{\n'.format(sys.argv[4]))
but in TRAINING
./dump_rnn.py weights.hdf5 ../src/rnn_data.c ../src/rnn_data.h
So where's the forth parameter ?
and so the bug ups
Traceback (most recent call last):   File "./dump_rnn.py", line 96, in <module>     f.write('const struct RNNModel rnnoise_model_{} = {{\n'.format(sys.argv[4])) IndexError: list index out of range
That's the problem.

Any one who has come up with the question ?

Maybe that's the biggest problem
If you have the method to solve it .
Please let me know.

Try it:
./dump_rnn.py weights.hdf5 ../src/rnn_data.c ../src/rnn_data.h orig

Try it:
./dump_rnn.py weights.hdf5 ../src/rnn_data.c ../src/rnn_data.h orig

Thanks
but I have try it.
and then what should I do next ?
I have the two new file rnn_data.c and rnn_data.h
How to test the model ?

If I ./compile.sh
also has some bugs

If ./compile.sh
then I have another question
https://github.com/xiph/rnnoise/issues/86

If I ./compile.sh
also has some bugs

Have you fixed these bugs?

If I ./compile.sh
also has some bugs

Have you fixed these bugs?

Try it:
./dump_rnn.py weights.hdf5 ../src/rnn_data.c ../src/rnn_data.h orig

Thanks
but I have try it.
and then what should I do next ?
I have the two new file rnn_data.c and rnn_data.h
How to test the model ?
大佬，加个QQ详细指导下可以吗？

I guess the next should follow the procedures of readme.
./autogen.sh
./configure
make

But I ran into another bug as #74 after make.

Try it:
./dump_rnn.py weights.hdf5 ../src/rnn_data.c ../src/rnn_data.h orig

Thanks
but I have try it.
and then what should I do next ?
I have the two new file rnn_data.c and rnn_data.h
How to test the model ?
大佬，加个QQ详细指导下可以吗？

I guess the next should follow the procedures of readme.
./autogen.sh
./configure
make

But I ran into another bug as #74 after make.


More than one file was found with OS independent path 'lib/x86/libreactnativeutilsjni.so'

Trying to build the example app for android, I get the above build failure. A link is mentioned https://developer.android.com/studio/preview/features#automatic_packaging_of_prebuilt_dependencies_used_by_cmake but actually see here https://developer.android.com/studio/releases/gradle-plugin#cmake-imported-targets - none of this appears to be relevant tho.

Use this in app/build.gradle in example app.
packagingOptions {
    pickFirst '**/*.so'
}

That sorted it! Many thanks.

@blowback  I have fixed this on master. If you pull again, you don't need to make that change in example app.

FYI fix on master didn't work for me, I still had to make the above change to the example's app/build.gradle


Linear Regression compilation problem fix

/intelci: run

I have faced similar errors when running kNN bazel tests, and these changes resolve those errors. I don't think the private CI error is related. I am still a bit confused about the origin of these issues, but I suggest we merge this.


logger: fix file open issue if crypto algorithm is disabled

Create empty file even if crypto key is not stored into the beginning of the log file to allow file logger to always append log data into existing file.

Right, it was a bit confusing where and when the file is opened and how. Original idea was to crate file already in
I made a it now bit different way: init_logfile_encryption() now gets keydata/keydatasize as param, allocate memory and store keydata there. Later the LogFileBuffer::start_log() gets the keydata buffer and if any data exists, it stores the keydata into the beginning of the recently opened file.


[Feature] Add an option for the OpenAI Host interface.

Motivation
Some users do not directly use the api host service provided by OpenAI, but use third-party openai compatible interfaces, such as Azure OpenAI API or Claude, which can also return compatible data and results.
Detailed design
Add an option in the settings (and a field in the database at the same time), the default value is the official Host interface of OpenAI, but users can customize it.

Alternatives
Maintain the status quo, as the official api can deliver the best performance. However, in some areas (including China), it may not be possible to directly use OpenAI's interface service.
More detail (optional)
Other similar options in open source projects (ChatBox):

Thank you for the suggestions, @ni00! They are indeed valuable. Currently, we focus on rapidly testing and implementing the Copilot AI functionality, which is why we initially opted for OpenAI's API. Your idea of integrating third-party OpenAI-compatible interfaces is interesting and could be considered for future updates. If you're interested, feel free to join in on the contributions. Thanks again!

The issue has been fixed in https://github.com/emqx/MQTTX/releases/tag/v1.10.1. Please update and use it. Thank you for your feedback and contribution.


Fix time array implementation

On top of #405.
I also made a base class for PWCTimeArray and ModulatedTimeArray as they had the exact same implementation (suggested by @gautierronan a while ago).
import dynamiqs as dq
import jax.numpy as jnp

n = 16
a = dq.destroy(n)

H = dq.totime(dq.dag(a) @ a)
H = dq.totime(lambda t: dq.dag(a) @ a)
H = dq.totime(([1, 2, 3], [1, 3], dq.dag(a) @ a))
H = dq.totime((lambda t: jnp.array([3.0]), dq.dag(a) @ a))

@gautierronan I added todo comments. @abocquet once merged you'll have to reimplement repeat (both in time_array.py and tests).


Golang Example - cloud Firewall

File: docs/reference/pkg/hcloud/firewall.md
Noticed that the Golang example for recently introduced Firewall section is missing, below example may help you with the documentation and also users to make use of this new module:
myFirewall, err := hcloud.NewFirewall(
    ctx,
    "my-firewall",
    &hcloud.FirewallArgs{
        Name: pulumi.String("http-acl"),
        Rules: hcloud.FirewallRuleArray{
            &hcloud.FirewallRuleArgs{
                Direction: pulumi.String("in"),
                Protocol:  pulumi.String("tcp"),
                Port:      pulumi.String("80"),
                SourceIps: pulumi.StringArray{
                    pulumi.String("<IP_ADDRESS>/16"),
                },
            },
        },
    },
)

if err != nil {
    return err
}

Thank you

Hey @sebandgo  - There's now a go example for firewall. I'm going to close out this issue, please reach out for further assistance. Thanks!


vagrant up won't complete

Hello,
I got an error while doing vagrant up and it's pretty mysterious for me.

TASK [Add osquery's server repository] *****************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: apt.cache.FetchFailedException: E:The repository 'https://osquery-packages.s3.amazonaws.com/bionic bionic Release' does not have a Release file.
fatal: [ubuntu]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n  File "/tmp/ansible_Gqglog/ansible_module_apt_repository.py", line 551, in \n    main()\n  File "/tmp/ansible_Gqglog/ansible_module_apt_repository.py", line 543, in main\n    cache.update()\n  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 543, in update\n    raise FetchFailedException(e)\napt.cache.FetchFailedException: E:The repository 'https://osquery-packages.s3.amazonaws.com/bionic bionic Release' does not have a Release file.\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 1}
to retry, use: --limit @/elastic-stack/0_install.retry
PLAY RECAP *********************************************************************
ubuntu                     : ok=20   changed=13   unreachable=0    failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

Then I tried again, but I was suggested to run vagrant provision this time. I did so, only to have the same error in a more brief way,

TASK [Install the JRE] *********************************************************
fatal: [ubuntu]: FAILED! => {"changed": false, "msg": "Failed to update apt cache: E:The repository 'https://osquery-packages.s3.amazonaws.com/bionic bionic Release' does not have a Release file."}
to retry, use: --limit @/elastic-stack/0_install.retry
PLAY RECAP *********************************************************************
ubuntu                     : ok=8    changed=1    unreachable=0    failed=1

Sorry for posting before doing any research, I wanted to check if it has a quick fix since the workshop is tomorrow.
Thanks!

Hi, I am the same problem as you. I tried to downgrade Ubuntu as you point out, but it still does not work...

Any error messages?

You're right. Downgrading works only under Windows but under Ubuntu 18.04 I have this,

fatal: [ubuntu]: FAILED! => {"changed": false, "cmd": "/usr/bin/apt-key adv --keyserver keyserver.ubuntu.com --recv 1484120AC4E9F8A1A577AEEE97A80C63C9D8B80B", "msg": "Error fetching key 1484120AC4E9F8A1A577AEEE97A80C63C9D8B80B from keyserver: keyserver.ubuntu.com", "rc": 2, "stderr": "gpg: requesting key C9D8B80B from hkp server keyserver.ubuntu.com\ngpg: keyserver timed out\ngpg: keyserver receive failed: keyserver error\n", "stderr_lines": ["gpg: requesting key C9D8B80B from hkp server keyserver.ubuntu.com", "gpg: keyserver timed out", "gpg: keyserver receive failed: keyserver error"], "stdout": "Executing: /tmp/tmp.apPXOiz28x/gpg.1.sh --keyserver\nkeyserver.ubuntu.com\n--recv\n1484120AC4E9F8A1A577AEEE97A80C63C9D8B80B\n", "stdout_lines": ["Executing: /tmp/tmp.apPXOiz28x/gpg.1.sh --keyserver", "keyserver.ubuntu.com", "--recv", "1484120AC4E9F8A1A577AEEE97A80C63C9D8B80B"]}
to retry, use: --limit @/elastic-stack/0_install.retry
PLAY RECAP *********************************************************************
ubuntu                     : ok=19   changed=12   unreachable=0    failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

I'm sorry, I didn't properly test this. The problem is that osquery doesn't seem to have a dedicated Bionic package, but there is a generic DEB one I'm using instead now (see the commit above).

This was still broken for me in the latest release. I doscovered it's an issue with the keyserver command for osquery.
TASK [Add osquery's repository key] ********************************************
fatal: [ubuntu]: FAILED! => {"changed": false, "cmd": "/usr/bin/apt-key adv --keyserver keyserver.ubuntu.com --recv 1484120AC4E9F8A1A577AEEE97A80C63C9D8B80B", "msg": "Error fetching key 1484120AC4E9F8A1A577AEEE97A80C63C9D8B80B from keyserver: keyserver.ubuntu.com", "rc": 2, "stderr": "gpg: requesting key C9D8B80B from hkp server keyserver.ubuntu.com\ngpg: no valid OpenPGP data found.\ngpg: Total number processed: 0\ngpg: keyserver communications error: keyserver unreachable\ngpg: keyserver communications error: public key not found\ngpg: keyserver receive failed: public key not found\n", "stderr_lines": ["gpg: requesting key C9D8B80B from hkp server keyserver.ubuntu.com", "gpg: no valid OpenPGP data found.", "gpg: Total number processed: 0", "gpg: keyserver communications error: keyserver unreachable", "gpg: keyserver communications error: public key not found", "gpg: keyserver receive failed: public key not found"], "stdout": "Executing: /tmp/tmp.06bmq6cOla/gpg.1.sh --keyserver\nkeyserver.ubuntu.com\n--recv\n1484120AC4E9F8A1A577AEEE97A80C63C9D8B80B\n?: keyserver.ubuntu.com: Connection refused\ngpgkeys: HTTP fetch error 7: couldn't connect: Connection refused\n", "stdout_lines": ["Executing: /tmp/tmp.06bmq6cOla/gpg.1.sh --keyserver", "keyserver.ubuntu.com", "--recv", "1484120AC4E9F8A1A577AEEE97A80C63C9D8B80B", "?: keyserver.ubuntu.com: Connection refused", "gpgkeys: HTTP fetch error 7: couldn't connect: Connection refused"]}
        to retry, use: --limit @/elastic-stack/0_install.retry

I was able to solve this by modifying line 101 of 0_install.yml
 - keyserver: keyserver.ubuntu.com
 + keyserver: hkp://keyserver.ubuntu.com:80
Seemed to be some issue with verifying the public key of the server.


Cohesive structure on the Nisnevich $(\infty, 1)$-topos of Sch/S?

This is a sort of continuation to #18.
Does the Nisnevich $(\infty, 1)$-topos on $\mathbf{Sch}/S$ admit a useful cohesive structure?
The nLab page on motivic homotopy theory suggests that if one is working in the right topos (i.e., Nisnevich), then localizing at $\mathbb{A}^1$ will appropriately give one the motivic homotopy theory. Now, I'm probably interpreting it very wrong, but it seems to follow that if one is working in the Nisnevich topos (as one should be), then localization at $\mathbb{A}^1$ will give one the shape modality one wants, giving the higher Nisnevich topos the cohesive structure one wants.
I wonder what one can make out of this.

By the way, just a suggestion to @felixwellen : for this kind of open-ended questions, GitHub discussions seems to be a more appropriate tool than issues. Maybe you could enable discussions in the repo settings?

Hi,
I think motivic homotopy type do not form a higher topos (Remark 3.5 in https://arxiv.org/pdf/1008.4915.pdf). Wouldn't such a presentation contradicts this? Slide 25 in http://home.sandiego.edu/~shulman/papers/cmu2019a.pdf seems to imply this, but I might be misunderstanding.

It of course depends on what you mean by useful cohesive structure...

It has the same limitations as discussed in #18: The flat modality cannot be as good as in cohesive HoTT, because that would imply the localization is a topos. This is even more direct for a sharp-modality, which, by being right adjoint, would be a lex monadic modality.
It could still be the case that there is some flat modality with less/different properties than the one from cohesive HoTT, but so far I could only think of applications which need the lexness it cannot have.
Also mind that in general, the ideas behind cohesion don't go too well with algebraic geometry. In all examples I have looked at, cohesion is about things which are made from one kind of point, but in algebraic geometry you usually have many different kinds of points (e.g. Spec of extensions of some base field). Furthermore, in cohesion, things are "made from contractible blobs", which more technically means local contractibility. I don't remember when and how that fails in algebraic geometry, but there is a nice, readable conversation on that here

Yeah, obviously I was a big misguided here. On a more basic level, I think this is related to some fundamental problems with $\mathbb{A}^1$-homotopy theory (coincidentally from Keyao Peng iirc) - many things that ought to be $\mathbb{A}^1$-invariant are in fact not, so one can expect lots of problems with the very idea of $\mathbb{A}^1$-invariance.

The link you sent is interesting - I need some time to read through that though. But you are right that "cohesive" does mean "topological space-like" in many senses, and we already know very well that fails pretty badly on algebraic objects.

are made from contractible blobs

Yeah, I guess when I was talking about topological spaces, I was thinking of "nice" spaces.

covering theory like it would be phrased in cohesion

Doesn't covering require only the existence of a shape modality, so not full cohesion? Sure we can do everything that can be done in cohesive HoTT that does not require the flat or sharp modalities (that would be a tautological statement). I guess I was trying to see whether there is a more general setting in which we could look at $\mathbb{A}^1$-homotopy theory, but maybe it is right that we can't because it's still full of quirks.

BTW I found this answer written by Peter Scholze - indeed the problem comes from schemes not being locally contractible. He seems to suggest, though, that if one switches to the pro-etale (i.e. condensed) setting, things might start to work...

Some follow up work. I think this suggests that we get cohesion only if we move into the condensed world - I don't know what that will imply at the time being...

Doesn't covering require only the existence of a shape modality, so not full cohesion?

Yes, a shape modality is a "relevant part" of cohesion I would say, even though it is just a modality ;-)
Having a flat modality makes it easier to show that things are covering spaces though.

Judging from the thesis I sent in the previous comment - cohesiveness is generally not a useful concept in an algebraic setting. On the other hand, fracturedness, developed by Lurie in the context of spectral algebraic geometry and used successfully by Clough (2023) to study differentiable sheaves, seem to be a much more useful concept.
There is currently no synthetic account of fracturedness, but I expect to be useful in SAG once it is developed. It can't fix the problem that motivic spaces do not form a topos per se, but it should be useful in some way.

I suggest leaving this issue open for further discussion, though. Maybe change the title?

The (related) differential hexagon has been treated synthetically:
https://arxiv.org/abs/2106.15390


Release/v4.0.10

READY FOR REVIEW (to go live on Oct 19)
Summary

#381
#380

Review By (Date)

by 10/18

Criticality

How critical is this PR on a 1-10 scale? Also see Severity Assessment.
E.g., it affects one site, or every site and product?

Review Tasks
Setup tasks and/or behavior to test

Look at the code diff

@sherakama Rebecca's #380 is included here too - you have already reviewed so I'm going to assume it's GTG in this release.

@forrestglick Release PR is prepped and we won't merge till Oct 19

@rebeccahongsf Including this in the release - FYI 😄

Confirmed with @forrestglick in meeting today that we'll merge this later near the end of the day (probably around 4:30pm PT before I go to my Bewell appointment) cc @sherakama

Update looks great! Thank you.