Windows installer does not work

pamplejuce installer runs fine, but does not install a .vst3 to the desired location. Rather, it installs two files: unins000.dat and unins000. I first noticed this when checking the installer for my project, which is build from the pamplejuce template. The issue occurs here as well.

👋 Yes, this is a dupe of #16
It seems to not always occur, not exactly sure why, maybe depends on windows version.
It could be something very simple in innosetup that needs changing. There's lots of examples online, the next steps are to comb through other audio examples and see what might be missing.
Wanted to look into wix after talking to Timothy about what he set up for https://github.com/plugdata-team/plugdata
Ultimately there's just not a great solution for windows, that isn't a config/xml nightmare.
Anyway, it'll prob be a few weeks before I need a windows installer again, but I'm open to any pointers (or pull requests!) if you happen to find the issue before that!

Ah, sorry for the duplication! I'm prioritizing fixing this on my end so I'll for sure let you know if I find a solution. It's odd—I've used the innosetup compiler before and had good results. And I see plenty of examples doing exactly when is in the template.

No worries!! I thought someone that i talked to said maybe it had to do with using x86-64 specifics instead of just keeping it more generic or something. Sorry, thats probably useless, but i guess maybe some assumptions are made in the config, like what directories might exist or something…. I tried to keep things minimal compared to other things i saw but maybe thats bad…


feat: Add Hungarian Translations

Description
Added Hungarian translation for the admin panel.
I have translated all the JSON words, but some English words are still displayed on the admin panel. It may need additional updates.

[x] I have read and understand the CONTRIBUTING.md document in this repository

Type of change

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

Checklist:

[ ] I have added tests that prove my fix is effective or that my feature works
[x] Existing test suite passes locally with my changes
[ ] I have made corresponding changes to the documentation

Thanks @zsoltsimon97 for the contribution, really appreciate your work!


Generating implementation based on tags

Having the ability to separate routes based on tags specified in the openapi schema. This would make it easier to implement routes in classes for that specific tag.
I would assume it might end up looking something like this
export type MiscEndpoints = {
  getVersion: GetVersion,
  getSpec: GetSpec,
}

export type Implementation {
  miscRoutes: MiscEndpoints ,
  // non tagged endpoint
  getInfo: GetInfo,
}

I assume this might end up requiring a little more work as to figure out that MiscRoutes implements sub routes, so I'm not sure of what the best way to do that is for this project, but hopefully this is enough information to give you an idea of what I am trying to get at.
Generally in most cases you end up having a file full of functions that implements something like /users endpoint, and you would return a router implementing those routes, but would be nice to be able to implement these routes from a class such as in my case.
Right now it's not very easy to implement from a class, cause I generally have to make another structure and target specific routes for those specific routes such as /users, and /version and /spec are misc routes.
Would like to discuss more on this topic, if you have any ideas?

Initial experimental support for this has been merged in #134 - it's pretty rudimentary still, and will probably get some breaking changes, but should be a bit quicker to iterate on now that the initial refactoring has been done.

@mnahkies so far this has been great, just a few things that I would like to see for it though, one being that the name of the 'Implementation' renamed to match the tag so 'AuthImplementation' as currently when importing all the routes implementations, I have to rename the import, and converting from 'type' to either 'interface' or better for me 'abstract class' so that I am able to register the routes in a class that implements the 'Implementation' and pass it to DI (The DI I use makes use of abstract classes https://github.com/artberri/diod).
I'm unaware of a way to convert a type to an interface/abstract class, at least in a way that is easily maintainable that is, so I am assuming this is the best method for me.

Great feedback thanks - I was already thinking about the naming point, just hadn't had a chance to do this yet. I'm planning to add this very soon, though I'm trying to work out if there's a good way to expose the grouping and naming criteria in a really flexible way on the cli
I'd been thinking about the type Vs interface point, but not really the idea of doing abstract class - will have a play, but I suspect some cli parameter to choose between the three would be relatively straightforward and probably make sense

I'd been thinking about the type Vs interface point, but not really the idea of doing abstract class - will have a play, but I suspect some cli parameter to choose between the three would be relatively straightforward and probably make sense

Any chance you have had time to think about these options? I'd really love to be able to make use of the abstract class, rather then having to write wrappers around the generated types to make it work with my dependency injection library.

Hwy @ADRFranklin, sorry this fell off my radar.
Here's a draft implementation it would be great to get your thoughts on: https://github.com/mnahkies/openapi-code-generator/pull/256 (see https://github.com/mnahkies/node-scim/pull/1 showing it being used in practice with diod, feel free to leave comments on either PR if you have any)

#258 / #256 have been released in https://github.com/mnahkies/openapi-code-generator/releases/tag/v0.15.0 which I believe mostly resolves this issue for the server template at least.

Edit: One other thing was having a global interface that uses the type/interface of the routes to ensure nothing is missed, as of right now, I could implement 90% of the route groups and forget to implement one of the route groups and nothing would error or complain at me to implement it, where as with a global interface if it wasn't implement it would complain.

I'm not totally sure what you're looking for here, a code example might be helpful, I have a guess but I'm struggling to see how it would be done usefully without coupling to the specific DI framework in this repo


Sri hari patch 1

We already generate a SBOM, so I don't see the need for this PR
Futhermore, it's not clear why it should be pushed to <IP_ADDRESS> with plain text credentials in the workflow file.
Closing it. Create an issue, if there is some unknown to me reason for this PR.


dropdown and side navbar dropdown

Hello thank for your assistant this while, well i have this issue of dropdown stop working once i navigate from one page to another, the dropdown stop working ,drop down only work on first page load .
but when i added
data-turbolinks-eval="false" data-turbo-eval="false"
to all the CSS plugins and JS plugins in my app layouts the dropdowns work well when navigating , but i still don't understand while that make it work and if it best method

Which dropdown are you talking about? Are you getting any errors in the console?
Here are some hints:

Check the Turbo documentation on why you need data-turbo-eval="false" on some scripts (you don't need these in CSS): link
Make sure you're using the Livewire Turbolinks bridge if you're using Livewire (there's a section in the README about this, search for "Livewire"): link
Alpine may need some assistance if you're using permanent elements, make sure you have this piece of code if you're using Alpine: link

Closing it for now. Feel free to reopen if you still have questions about it.


0.4.2 / added export to to_expression

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1092

Relevant Lines:
1092

💛  - Coveralls


ARROW-14748: [C++] Fix issue on replace with mask for null values

ARROW-14748: [C++]  Fix issue on vector replace with mask for null values, which weren't updated on null bitmaps

Thanks for the pull request. The issue should be ARROW-14795 not ARROW-14748

Please @lidavidm enable to run the CI on this PR.

It looks like there's some lint failures; there's documentation on how to run the linter locally if that helps: https://arrow.apache.org/docs/developers/cpp/development.html#code-style-linting-and-ci

@AlvinJ15 Please change your title to "ARROW-14795: [C++] Fix issue on replace with mask for null values" so that he correct JIRA issue gets picked up.

The following test case fails:
this->Assert(ReplaceWithMask, this->array("[1, null, 1]"),
             this->mask("[false, true, false]"), this->scalar("null"),
             this->array("[1, null, 1]"));

I updated this PR addressing latest feedback comments. I think this PR is ready for merging. Let me know if anything needs to be taken care of from my end. cc @lidavidm

@lidavidm all comments solved


bug(COMPONENT): mat-datepicker does not render the previews < and  next > icon correctly when set theme density: (scale: -2) and beyond

Is this a regression?

[x] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description

Reproduction
StackBlitz link:
Steps to reproduce:
1.
2.
Expected Behavior
render the button icon correctly
Actual Behavior
does not render the button icon correctly
Environment

Angular:
CDK/Material:
Browser(s):
Operating System (e.g. Windows, macOS, Ubuntu):

my solution:  .mat-calendar-previous-button::after,
.mat-calendar-next-button::after {
margin: 10px !important; // for density -3
}


Enable/Disable WiFi on Connect/Disconnect

I apologize if there's already a way to do this but I was unable to find a solution in the Wiki.
99% of the time I connect to my device using scrcpy, I will need the device to use WiFi. Therefore, is there a way (either via arguments or other) to automatically enable the device's WiFi on every connection to it and then disable its WiFi on every exit from scrcpy?
Thanks for your time and consideration of this request.

In a script, you can use:
adb shell cmd -w wifi set-wifi-enabled enabled

and
adb shell cmd -w wifi set-wifi-enabled disabled

https://stackoverflow.com/a/68794783/1987178

@rom1v Thanks for replying - I truly appreciate it. I am new to scrcpy... how exactly would I trigger those scripts automatically upon launching and exiting? Thank you!

On Windows, create yourscript.bat containing:
adb shell cmd -w wifi set-wifi-enabled enabled
scrcpy
adb shell cmd -w wifi set-wifi-enabled disabled

(see the end of https://github.com/Genymobile/scrcpy/blob/master/doc/windows.md#run)

@rom1v This launches scrcpy but doesn't enable wifi on the device. The following is shown in the Command Prompt window:
...scrcpy>adb shell cmd -w wifi set-wifi-enabled enabled
cmd: Can't find service: -w


Add doctype to generated html files.

Motivation
Notice missing doctype for html generated files.
Related issue: #383
Test Plan
With Jest
Run unit test with yarn run test, a new test has been added to ensure that generated files have a doctype.

Unit test screenshot

Manually
Otherwhise, build the project in website directory with yarn run build and go to /website/build directory in order to manually check that html files starts with a doctype.

Manually build test screenshot

@Tonours Any update on this? Do let us know if you're still interested in patching this PR, else we can take over.
Let's create a new module renderUtils that has a function renderToStaticMarkupWithDoctype that contains something like
// render-utils.js

const renderToStaticMarkup = require('react-dom/server').renderToStaticMarkup;

/**
 * Custom function that wraps renderToStaticMarkup so that we can inject
 * HTML code before React renders the contents.
 */
function renderToStaticMarkupWithDoctype(...args) {
  return '<!DOCTYPE html>' + renderToStaticMarkup(...args);
}

module.exports = {
  renderToStaticMarkupWithDoctype,
};

and replace all existing callsites to renderToStaticMarkup with renderToStaticMarkupWithDoctype.

@yangshun Hey ! Yes you can take over.

Closed by #566


Corrected syntax in setup.cfg

Codecov Report

Merging #28 (5a04cf4) into master (b1ba872) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #28   +/-   ##
=======================================
  Coverage   88.14%   88.14%
=======================================
  Files          10       10
  Lines         194      194
=======================================
  Hits          171      171
  Misses         23       23

Flag
Coverage Δ

linux
88.14% <ø> (ø)

windows
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b1ba872...5a04cf4. Read the comment docs.


crash on startup

can't reproduce
hi from last update i have always crash problem... the program was randomly closed after 1-2 hour, but this isn't the real problem, from yesterday can't start program , crash on start up .
main.log
settings.ini.txt renamed for site upload
and crash report (win 10 64bit)

-
System

-
Provider

[
Name]
Application
Error

-
EventID
1000

[
Qualifiers]
0

Version
0

Level
2

Task
100

Opcode
0

Keywords
0x80000000000000

-
TimeCreated

[
SystemTime]
2021-06-28T05:37:28.5786267Z

EventRecordID
51706

Correlation

-
Execution

[
ProcessID]
0

[
ThreadID]
0

Channel
Application

Computer
LollosPc

Security

-
EventData

Grabber.exe

<IP_ADDRESS>

605db0e3

Qt5Core.dll

<IP_ADDRESS>

5f506b86

c0000005

00000000000011e0

1b10

01d76bdfaacbdbba

C:\Program
Files\Grabber\Grabber.exe

C:\Program
Files\Grabber\Qt5Core.dll

60c6a132-d1df-4f4f-ac3f-7ab14a76f284

ok the problem is on the monitor file, i follow this procedure https://github.com/Bionus/imgbrd-grabber/issues/2097 and now work fine.... but i have lost all my download queue Y_Y

lol sorry i close the thread for error..
so i have solved the problem, monitor.json is corrup o someting similar... i do this procedure https://github.com/Bionus/imgbrd-grabber/issues/2097 and now work fine... only i have lost my download queue Y_Y


@ occurrences of "and" found but it won't let me pass the waypoint

My code:
var test = (function() {
  var testString = "Ada Lovelace and Charles Babbage designed the first computer and the software that would have run on it.";
  var expressionToGetSoftware = /software/gi;

  // Only change code below this line.

  var expression = /and/gi;

  // Only change code above this line.

  return testString.match(expression).length;
})();(function(){return test;})();

Original code has   var expression = /./gi;
Instructions say to switch "." to "and".  To pass it says "Your regular expression should find two occurrences of the word and."  The functions produces two occurrences of and but this red x won't turn to a check and let me complete the waypoint.

This worked fine when I completed it before. Just opened the WP and ran my same code, and boom finds the 2 but still has red x.

@cbRoy Ok, thanks for the response.  So it's not just me right? The same thing happened to me on the next waypoint.

Same is happening for me as well!  Console log is returning "2" and the "Your regular expression should find two occurrences of the word and." test is still failing

So is just a bug ?

Yup, confirmed.
This does appear to be a site bug.

I'll take care of it.

The problem is that test collides with an existing variable used in the infrastructure.

Could it be that
"tests": [
        "assert(test==2, 'message: Your regular expression should find two occurrences of the word and.');",

test should be === instead of == ?


hope for surportting python3 f-string colour.

This issue has been moved from a ticket on Developer Community.

Same as the title. VS Code first while VS 2019 second as the pictures show. Image:71503-tim截图20190502221929.jpg Image:image?name=B3fe1d9a1b8db40a18e88dd98de93e8aa637494049523484268_tim截图20190502222024.jpg&tid=3fe1d9a1b8db40a18e88dd98de93e8aa637494049523484268

Original Comments
Jane Wu [MSFT] on 5/5/2019, 03:19 AM:
Thank you for taking the time to provide your suggestion. We will do some preliminary checks to make sure we can proceed further. We'll provide an update once the issue has been triaged by the product team.
#### Graham Wheeler [MSFT] on 8/21/2019, 02:23 PM:
Your suggestion has been queued up for prioritization.  Feature suggestions are prioritized based on the value to our broader developer community and the product roadmap. We may not be able to pursue this one immediately, but we will continue to monitor it up to 90 days for community input

Thanks for the feedback! However, we don't have plans on changing this functionality at this time.


Restriction Enzyme Required?

Hi,
I was wondering if we absolutely had to provide a restriction enzyme sequence for scaffolding. The HIC protocol we used involved using DNAse I, which doesn't have a specific recognition site.
Best,
Dat

Hi,
Currently, SALSA require requires restriction site as an input for normalizing HiC links. We will consider support for DNAse Hi-C based data in future versions.

Hi,
Thanks for the Salsa2. I was wondering whether support for DNAse Hi-C (OmniC) has been incorporated.

You could use -e DNASE option to use DNAse HiC data.
On Wed, Feb 19, 2020 at 5:06 AM Ritu Kundu<EMAIL_ADDRESS>wrote:

Hi,
Thanks for the Salsa2. I was wondering whether support for DNAse Hi-C
(OmniC) has been incorporated.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/marbl/SALSA/issues/55?email_source=notifications&email_token=AAHQ4KHFQCJW7WJ2C3EOOILRDUABPA5CNFSM4GQP6SP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMHE2HY#issuecomment-588139807,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHQ4KG6F3PU3XYGMJ2KTY3RDUABPANCNFSM4GQP6SPQ
.

--
Best,
Jay

Thank you very much.


Fix errors in README

add information about updating the connection string information
update keyword to correct one: !odbot
fix bad links and style errors

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

I implemented the suggested changes in the latest commit, 7d141c5!


fix(jackson): Fix deserialization of AlgoliaException

Closes #384

Coverage remained the same at 78.173% when pulling 8b3709f228e384e8ae8338adb163fb24726fe277 on fix/deserialization into 903a0ec9dc4adcb4fe2a287f85a5f10683885d97 on master.


[zlmediakit] fix android build

Just fix zlmediakit 's android build.
No new version introduced.
Test on these triplets:
[√]x64-android
[√]arm64-android
[√]x86-android
[√]arm-neon-android
@microsoft-github-policy-service agree

The patch is still broken. There a cannot be empty lines in the patch: A single space is needed to indicate an unchanged empty line in the patched file.

The patch is malformed. It is not the end-of-line. It is the first character in each line which carries information.


Make JSONDecodable handle String->Double conversion too

Fixes #204.
To test, run the the MobileFreddyTests on a 32-bit simulator.

This looks fine to me. It needs to be updated with master before it can be merged.
Also, can we consolidate this branch with the work here?

I added @cbrauchli tests to #194 and updated accordingly

@alexsporn is doing this and more in #194.


Welcome Message

is there a way to send a welcome message in the Qna Implementation?

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

ID: f45d867c-c72a-c619-b58a-777ff5f8c5c1
Version Independent ID: e0f90b85-14bb-0925-c50b-b1d31dd9388a
Content: QnA bot - Azure Bot Service - QnA Maker - Azure Cognitive Services
Content Source: articles/cognitive-services/QnAMaker/Tutorials/create-qna-bot.md
Service: cognitive-services
GitHub Login: @tulasim88
Microsoft Alias: tulasim

@Diro92
Thanks for the feedback! We are currently investigating and will update you shortly.

Hi @Diro92!
I think you should take a look at https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-send-welcome-message?view=azure-bot-service-4.0&tabs=js

@Diro92 We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Reduce docker image sizes

Tickets addressed: AERIE-1779
Review: By commit
Merge strategy: Merge (no squash)

Description
This makes two changes to the merlin, scheduler, and worker dockerfiles:

Change eclipse-temurin:17-focal base image to eclipse-temurin:17-jre-focal

This leaves only the JRE, not the full JDK available to the container.
This makes the following commands unavailable in the container (found using compgen -c):

jdeprscan
jconsole
jinfo
javadoc
jar
jarsigner
jhsdb
jstatd
jdb
jlink
jmod
jmap
jstat
javac
serialver
jimage
jstack
jshell
javap
jcmd
jdeps
jps
jpackage

This removes about 190 MB from the container sizes.

Add an extra build stage for extracting the server.tar file, so that the tar can be left behind (we only need the extracted contents).

This can't be accomplished with a simple rm server.tar because docker build layers are append-only operations (rm removes the file from the filesystem, but the COPY build layer remains)
Roughly 40-50 MB size reduction, depending on the image.

In total, the size changes are:

aerie_merlin: 544MB -> 308MB (236MB reduction)
aerie_scheduler: 823MB -> 578MB (245MB reduction)
aerie_merlin_worker: 545MB -> 309MB (236MB reduction)

Verification
There are no behavioral changes to the code itself, so as long as the e2e tests pass, the only extra verification should be reviewer approval that the removed commands are not needed for debugging.
Future Work
Another possibility for reducing size would be to combine the java-based containers into one, and our node-based containers into another. This would obviously be a large change (and probably not desirable), but I estimate this could save about a gigabyte, because java and node both take about 250 MB in their respective containers. But I doubt the reduced flexibility would be worth the size reduction.
edit: this would not actually be helpful, see discussion below.

Another possibility for reducing size would be to combine the java-based containers into one, and our node-based containers into another. This would obviously be a large change (and probably not desirable), but I estimate this could save about a gigabyte, because java and node both take about 250 MB in their respective containers. But I doubt the reduced flexibility would be worth the size reduction.

My understanding (e.g. here) is that Docker images can share layers; so if two images use the same base image, then the layers in common should be shared between them, rather than taking double the space. Does this line up with your understanding as well?

My understanding (e.g. here) is that Docker images can share layers; so if two images use the same base image, then the layers in common should be shared between them, rather than taking double the space. Does this line up with your understanding as well?

@Twisol Ok I think you're right. This would mean that when pulling images for docker compose up in the deployment compose, multiple images would require eclipse-temurin:17-jre-focal as a layer, and so it would only be downloaded once? If I'm understanding correctly then that's great.

Yeah, read-only union filesystems are great. Hurray for solving problems at the right level of abstraction :D

Is there a way to configure a docker build during development that would allow us to easily aquire some of these components? I’ve used jstat a bit and know I will again in the future.


Building the engine: Add note about gclient requiring python2

In order to set up the engine environment the gclient tool is required,
which itself requires python2. There should be a note about this in the 'Setting up the Engine development environment' guide for people that have environments where the python command points to python3, instead of python2.

@Hixie is this still the case that we need Python2

I don't know if this is still the case but the issue is so old its unlikely to be true any longer...I hope


unexpected Github API error: "Validation Failed"

Hopefully this thread gives an idea of issues that arise when trying to use dune-release for a typical flow
I'm getting this error when trying to dune-release a library:
[-] Submitting
[-] Preparing pull request to ocaml/opam-repository
[-] Fetching https://github.com/ocaml/opam-repository.git#master
[-] Checking out a local release-hexstring-0.1 branch
[-] Pushing release-hexstring-0.1 to git@github.com:mimoo/opam-repository
[?] Open PR to ocaml/opam-repository? [Y/n]

[-] Opening pull request to merge branch release-hexstring-0.1 of git@github.com:mimoo/opam-repository into ocaml/opam-repository
dune-release: [ERROR] Could not retrieve pull request URL from response, unexpected Github API error: "Validation Failed"

not sure how to investigate as the error is not really telling.
Also I always get this error and I can never figure out how to get rid of it:
[FAIL] lint opam file hexstring.opam:
       opam lint -s messages:
       /Users/davidwong/Perso/hexstring/hexstring.opam: Warnings.
                  warning 47: Synopsis (or description first line) should start with a capital and not end with a dot

OK I think I know what's happening... I already have a repository opam-repository which is a fork of a custom opam repository. So I guess there is some collision here? Not sure what I can do about it (the custom opam repository I use is also called opam-repository on Github and I can't change that).

Now I'm getting an error at an earlier step:
[-] Pushing tag 0.1 to git@github.com:mimoo/hexstring.git
[?] Create release 0.1 on git@github.com:mimoo/hexstring.git? [Y/n]

[-] Creating release 0.1 on git@github.com:mimoo/hexstring.git via github's API
dune-release: [ERROR] Could not retrieve release ID from response, unexpected Github API error: "Validation Failed"

I think this is perhaps because I already tried to dune-release previously?

It seems like it worked, until I got this:
[-] Preparing pull request to ocaml/opam-repository
[-] Fetching https://github.com/ocaml/opam-repository.git#master
[-] Checking out a local release-hexstring-0.1.1 branch
[-] Pushing release-hexstring-0.1.1 to git@github.com:mimoo/opam-repository
dune-release: [ERROR] run ['git' '--git-dir' '.git' 'push' '--force'
       'git@github.com:mimoo/opam-repository' 'release-hexstring-0.1.1']: exited with 128

I'm guessing I need to fork the official opam-repository manually first?

it worked!


file document content loss when the computer storage is full

VSCode Version: Code 1.8.1 (ee428b0eead68bf0fb99ab5fdc4439be227b6281, 2016-12-19T14:42:49.304Z)
OS Version: Darwin x64 16.3.0
Extensions:

Extension
Author
Version

beautify
HookyQR
0.7.2

code-settings-sync
Shan
2.3.8

project-manager
alefragnani
0.12.2

githistory
donjayamanne
0.1.4

python
donjayamanne
0.5.5

Lua
keyring
0.0.9

MagicPython
magicstack
1.0.3

vscode-icons
robertohuertasm
4.3.0

vscode-proto3
zxh404
0.0.5

Steps to Reproduce:

find a computer which the storage is almost full
open a not empty file with vscode
edit the file then save the file , it will appeat

@sshuair can you finish that sentence under point 3


⚠ SceneTime has degraded performance

In 4803a77, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1395 ms

Resolved: SceneTime performance has improved in 7c6a3fe after 9 minutes.


If merging a class and namespace, the class can't reference types in the namespace

TypeScript Version:  nightly (Version 2.1.0-dev.20160825)
Code
class Logger {
  public logLevel = Logger.LogLevel.Info;
}

namespace Logger {
  export enum LogLevel {
    Verbose,
    Info
  }
}

export default Logger;

Note that this error only seems to occur when --declaration is passed to tsc.
Expected behavior:
TypeScript should treat the merged class and namespace as a single entity.
Actual behavior:
TypeScript complains that the class references a type in the namespace:

error TS4031: Public property 'logLevel' of exported class has or is using private name 'default.LogLevel'.

What is the file and the position this is reported on. i can not reporoduce this locally.
c:\ts>type c:\test\sandbox6\b.d.ts
declare class Logger {
    private logLevel;
}
declare namespace Logger {
    enum LogLevel {
        Verbose = 0,
        Info = 1,
    }
}
export default Logger;

c:\ts>tsc --v
Version 2.1.0-dev.20160825

c:\ts>type c:\test\sandbox6\b.ts
class Logger {
  private logLevel = Logger.LogLevel.Info;
}

namespace Logger {
  export enum LogLevel {
    Verbose,
    Info
  }
}

export default Logger;
c:\ts>tsc --v
Version 2.1.0-dev.20160825

c:\ts>tsc c:\test\sandbox6\b.ts --d

c:\ts>echo %ERRORLEVEL%
0

@mhegazy Please see https://github.com/tomdale/typescript-repro/tree/10544.
merged-class-namespace :: (10544) » cat src/logger.ts
class Logger {
  public logLevel = Logger.LogLevel.Info;
}

namespace Logger {
  export enum LogLevel {
    Verbose,
    Info
  }
}

export default Logger;

merged-class-namespace :: (10544) » cat tsconfig.json
{
  "compilerOptions": {
    "noImplicitAny": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,

    "moduleResolution": "node",
    "target": "es2015",
    "module": "commonjs",
    "inlineSourceMap": true,
    "declaration": true,

    "rootDir": "src",
    "outDir": "dist"
  },

  "include": [
    "src/**/*"
  ]
}

merged-class-namespace :: (10544) » tsc
src/logger.ts(2,3): error TS4031: Public property 'logLevel' of exported class has or is using private name 'default.LogLevel'.

Also, if there is a workaround to this, I'd love to know—it's blockingish me on some stuff I'm working on.

Try using an export clause instead
class Logger {
  public logLevel = Logger.LogLevel.Info;
}

namespace Logger {
  export enum LogLevel {
    Verbose,
    Info
  }
}

export { Logger as default };

i see it now. thanks for the repro. i was using a private which does not trigger the issue.

@DanielRosenwasser Perfect, thank you!
@mhegazy I did the same thing when making the reduced case initially. :)

@mhegazy with my suggested fix on that repro, I see a bug in the LS as soon as I try to consume it. I'll try to create a separate issue.

Filed #10546. @tomdale you shouldn't be affected much by that.

Seems to have been fixed


Feature for different sorting ways in leaderboard

Instead of just sorting by the number of commits, we will, by default, sort the users alphabetically and provide options for sorting by no. of PRs opened/closed, lines added, points(?).

@dibyadas , I would like to work on this.

@sipah00 Awesome!

Closed by mistake. Apologies.


Very crude attempt at fixing create #65

So I managed to hack something together that seems to work but I need some
guidance on how to proceed. Currently I've changed create to asses the scope
of the changes but now I'm not sure how to proceed with a real make plugin.
Seems like almost all of the code will be the same between the 2 plugins, how
should I share the code between the two?

LGTM. Just copy the code instead (with modifications), since we're not really interested in improving the old version it in any way, and please add a deprecation warning to the emitted code of [@deriving create].

@whitequark I've created ppx_deriving.make but I'm not so sure about the deprecation warning for the emitted code. It's likely that sers of ppx_deriving.create are exposing those functions to users of their own code and just deprecating seems excessive all of a sudden. Are we sure about this?

Hmmmm true. Just replace it in README then.


Specifying custom headers on SLConnection

Sorry for the barrage of questions :)
As specified here (https://community.sap.com/t5/enterprise-resource-planning-q-a/service-layer-how-to-remove-all-addresses-of-a-business-partner/qaq-p/578058), whenever I want to clear the collections of a PATCH request (e.g. Business Partners' addresses), I'm required to provide a specific header: B1S-ReplaceCollectionsOnPatch=true
Is there a way to do that in SLConnection?

Not really, I'm yet to write a proper documentation for B1SLayer. I'll start that once 2.0 is out :)

Ok! If you need, I can help you with that.
Just create an issue and mention me and I'll do what I can.

@EricWu91, I'm closing this issue. Let me know if you still need assistance.


Error response clarification

I love the error responses, but "kind" with an integer is confusing.  "error_number" or something similar would be more clear.

Would "id" work?

Yes that would be fine

Thank you for the contribution!
(fixed by 154fe5e)


<video> seems to get visibility:hidden; after change tab and back.

Here are my HTML.
<div id="video_container" style="align-items:center;display:flex;height:100%;justify-content:center;margin-bottom:0px;margin-left:0px;margin-right:0px;margin-top:2.5px;overflow:hidden;">
  <video id="video" width="50%" autoplay loop muted preload></video>
</div>

I am using the example codes.
let scanner = new Instascan.Scanner({ video: document.getElementById('video') });
scanner.addListener('scan', function (content) {
  console.log(content);
});
Instascan.Camera.getCameras().then(function (cameras) {
  if (cameras.length > 0) {
    scanner.start(cameras[0]);
  } else {
    console.error('No cameras found.');
  }
}).catch(function (e) {
  console.error(e);
});

Here is animated .gif of the problem. After I change tab (twice) the <video> gone although the DOM is still the same.

The screen shot of the <video> when it is gone.

Further doing, commenting //scanner.start(cameras[0]); remove the problem but also the QR scanner. What to do?

I use this QR reader along with face detection from TrackingJS. If I deactivate face tracking from TrackingJS the problem is gone.
What is my workaround if I need both face and QR detection?

Are these codes the culprit?
  _disableScan() {
    this.video.src = ''"

It makes the src goes unknown.

Alright, my bad... backgroundScan:true, fixes this.

@notalentgeek Yep, sorry, just saw this issue. By default, scanning is disabled when the tab is not focused to save on CPU/power consumption, but you found the flag to disable that behavior.


added versioning page and new codelab

Pull Request type

[ ] Bugfix
[ ] Feature
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes (Please run ./gradlew generateLock saveLock to refresh dependencies)
[ ] WHOSUSING.md
[x] Other (please describe):

Changes in this PR
Describe the new behavior from this PR, and why it's needed
Issue #
Alternatives considered
Describe alternative implementation you have considered

@dougsillars Since this documentation is published under Conductor OSS, we cannot link to Orkes playground/code blocks from it. Would it be possible to use a local Conductor server and UI to run the code lab?

@apanicker-nflx after our discussion yesterday - I removed the links, and we'll build a process for correctly linking to the playground.

Thanks. We're holding this one until after the doc site re-organization which will be released over the next couple of weeks.


Some Motherless albums only downloading 80 images

 Issue by CSU-Ops
Friday Sep 26, 2014 at 17:41 GMT
Originally opened as https://github.com/4pr0n/ripme/issues/119

Hello.
I've noticed that some Motherless albums are only producing rips of 80 images instead of the full album.  When the issue occurs, it's always truncated at 80.
This album has the issue for me:
http://motherless.com/G51151E4
Thanks for your work on this project!

 Comment by rautamiekka
Tuesday Aug 15, 2017 at 17:31 GMT

Oh, now I understand that site a little better: there are separate galleries having just pics or vids for galleries, like a subset of a gallery. These are subsets of the link above:

pics only: http://motherless.com/GIFC4491B
vids only: http://motherless.com/GVFC4491B

 Comment by rautamiekka
Tuesday Aug 15, 2017 at 17:25 GMT

http://motherless.com/GFC4491B is a functional gallery (as they call it), the first recently updated on the page, NSFW as expected. It has 471 519 items on 4 625, which is 426 812 pics and 44 707 vids.

 Comment by rautamiekka
Tuesday Aug 15, 2017 at 17:11 GMT

That link is giving 404 NOT FOUND.

 Comment by rautamiekka
Tuesday Aug 15, 2017 at 17:37 GMT

No problems here getting 158 pics off the pics-only link above. The vids were taking too long, so I went for the pics instead.
Window$ 7 Ultimate SP1 x64
Oracle Java SE 8 Update 144 x64
RipMe 1.5.7

 Comment by sevengali
Tuesday Aug 15, 2017 at 18:00 GMT

Here's one that's not working: http://motherless.com/G0BA60E6 (NSFW of course)
It's images only (the entire gallery is, not just an images only section of a gallery), I hadn't tried videos yet. It also doesn't work if you go to the "Images only" link.
Done a little more testing.
As you noticed @rautamiekka, the pics only links start with GI (motherless.com/GIxxx), videos are GV, all uploads (includes both pics and vids) are also GM and the base album is just G. You can't simply browse through the base album, it has to be in one of those sections.
When giving RipMe this link, it isn't accounting for the I/V/M after the G when finding the next pages, log will read:
Downloading http://motherless.com/G0BA60E6
Downloading http://motherless.com/G0BA60E6?page=2

etc. When they should be GI0BA60E6?page=2. If you go to the page 2 link RipMe is trying to parse, it'll show you the first page (and highlights "2" on the pagination bar 😏). If you hand RipMe the correct page 2 link directly, it'll download the second page.
Not sure why that is happening (as it works fine for your link) but hopefully that helps

Can confirm it’s stalling on picture galleries and only fetching 80 (of thousands in some cases).
It’s not checking beyong page 8 in the cases i tried.


fix:  improve message for inactive weak optional feature with edition2024

What does this PR try to resolve?
This will improve the message for inactive weak optional feature with edition2024.
This doesn't distinguish whether the dependency had set, which needs to get the dependency from origin that will make more complex.
Fixes #14015
How should we test and review this PR?
one commit add the test, one commit fix and update the test
Additional information

:umbrella: The latest upstream changes (presumably #14028) made this pull request unmergeable. Please resolve the merge conflicts.

Close this in favor of https://github.com/rust-lang/cargo/pull/14026


sleep

added night sleep
rechare time + random timer
proxy error handling
and fixed some bugs

hi @AliCl0ner why did you close this?

Hi
I rewrite all the code again and removed fork


Rails Assset precompilation fails!

This breaks sass compilations proccess with rails asset pipeline. It throws that:
Sass::SyntaxError: @charset may only be used at the root of a document.

I have the same problem

It looks like we may be declaring @charset incorrectly. Looking into it.


fix bug handling zeek logs that have a _path column

A test would be good!

test added

nit: autodetect/ doesn't seem like the right place for the test...

I created a new subdir "path", moved the test there, and added a second test.


Ececute sql query

Can we able to execute any sql query ? Is there any option for that?

This is not yet an option. Running queries isn't RESTful (it's a remote procedure call) but tell me more about what you'd like to do with queries that you can't do already. Maybe there is a way to provide you the functionality you need without enabling arbitrary queries.

I want to execute some database functions using this rest api. for that i need to pass any query with request. Is it available now?

Also, this seems related to #114

So how can one possible to execute join query and complex query.

To do joins and more complicated queries you can create a custom views. Each view creates an API route just like a table would. The client side web code actually cannot tell tables and views apart.

Thanks for the information. Is any similar way to call  functions that i already created in db? http://www.postgresql.org/docs/9.1/static/sql-createfunction.html

That's what people are asking for in the other issue (114) linked above.
Can you give some examples of functions you would like to expose in the API?

Ok. suppose i want to return rows with a specific condition. Here is my sample function.
CREATE OR REPLACE FUNCTION  fn_party(tmp_party_name varchar) RETURNS SETOF typ_test AS
$$
declare
sql varchar;
user_rec typ_test;
BEGIN
sql:='select  id,party_name from party inner join tbl_user on(fki_party_id=id) where party_name='''||tmp_party_name||''' ';
FOR user_rec IN EXECUTE sql
LOOP
return next user_rec;
END LOOP;
end;
$$
LANGUAGE 'plpgsql';
In normal case we can use this query given below for getting the result.
select * from fn_party('xxx');
How can we able to achieve this requirement ?

Make a view that displays the join
CREATE OR REPLACE VIEW user_parties AS
SELECT id, party_name
FROM party
INNER JOIN tbl_user ON (fki_party_id=id);

Then request the postgrest route /user_parties?party_name=eq.xxx


collect_urls_from_file is not definded

Hi,
First thank you for your effort.
When i add a list of urls i get this error.
collect_urls_from_file is not definded
Thanks,
Jamshid

Hello
and welcome thanks for spotting this issue
i have figured the issue and the sloution is
replace this function
def load_websites_from_file(file_path):
try:
with open(file_path, "r") as file:
websites = file.read().splitlines()
return websites
except FileNotFoundError:
print_error(f"File '{file_path}' not found.")
return []
    with this

    -------------------

    def collect_urls_from_file(file_path):
try:
    with open(file_path, "r") as file:
        websites = file.read().splitlines()
    return websites
except FileNotFoundError:
    print_error(f"File '{file_path}' not found.")
    return []

    and it will work 100%
    i will now upload the new files
    thank you again and if you have any other improvements you would like to ask i will be very welcome :)

Thanks for reply.
I gave the list, it colleted the urls but before scan gives following error.
[Error]Error occurred during the scan process: 'module' object is not callable


Grand prix cycliste de montréal 4.0.1

Coverage remained the same at 98.829% when pulling d5a76435ceb12e9513054677a1dcec2825456a51 on Grand-Prix-Cycliste-de-Montréal-4.0.x into dea2168149b5248e636b1b7d4764f6f461ce9dc7 on master.


resolves all bucklescript inferred name warning

This pull request resolves all the inferred name errors generated by warning 105 from the compiler.
Example:
Warning 105: BuckleScript warning: fetch : the external name is inferred from val name is unsafe from refactoring when changing value name

There were so many that I filtered out the .md to handle the reason files. Then forgot to go back. And do the .md. That is why some are done and some not. Give me a second to fix. Done now.


Consider using functools for argument hashing

Looking at how arg and kwarg hashing is done now, it is a little different from how the stdlib does it with functools.cache (see https://github.com/python/cpython/blob/3.10/Lib/functools.py#L448)
I think this builtin method is

more efficient
more bugfree (note the kwd_mark that separates the args from kwargs)
better maintained

What about switching to just using functools._make_key as the default hash function? Important to consider if the order of kwargs is important, they decided it was NOT, but I think swapping to this would be breaking for users here.
As a side note, monogo_core.get_entry() and memory_core.get_entry() have duplicated hashing logic that I think could get factored out?

I'd definitely consider any PR implemeting this very positively.
If it passes all the tests, and as long that it isn't slower (shouldn't be, right?) - it's in!
@NickCrews

Solved by PR #104


Memory Utilization Wrong Scale

rancher/server:v0.21.3
In the detailed host view the scale from the "Memory Utilization" graph has a wrong scale.

Lol, I think it just makes it more exciting!  Will fix...

Yup, it's not wide enough so the left half of the numbers are getting cut off.

v0.22.0-rc1
Verified Fixed


Run tests through sauceLabs in ci

This runs unit tests on multiple browsers via SauceLabs in CI.
A quick breakdown of the changes:

Use gesalakacula for easier browser configuration and to avoid timeouts going over sauce's maximum concurrency limit
Added additional config settings in karma.conf.js if sauce credentials exist on env
I bumped the node version on Travis down to 0.11 because SauceConnect seemed to have issues 0.12. This doesn't feel super wrong since we just need node to start the tests, so it shouldn't effect the results of the tests. I'll try to bump this up to a more recent version after some additional investigation.

Of course the build fails when pr'd :) It is passing over on my branch. I'll fix this when I have some time tomorrow and comment on the PR. Feel free to point out anything that seems strange in the meantime.

After some investigation, it looks like travis does not allow secure variables in PR's, so SauceLabs won't work because the sauce credentials are not in the environment.
There are a few options:

We could not run tests against saucelabs for PRs (which sort of defeats the point)
We could expose our sauce labs creds in .travis.yml like angular does (i'm not sure how bad this is, but it would allow us to run PRs against sauce)

Like you said I'd be in favor to entirely automate tests, meaning exposing sauce labs in .travis.yml. Could you take care of that ?

Sure thing. I'll take care of that today.

Great, looks like they are passing! I'll try to work on fixing the IE issues in another PR so we can add automated coverage there.

mmhh... I pushed changes that conflict with your PR now. Would you be able to rebase and squash everything ? Then I'll merge asap.

Done! Thanks!


templates: update Ubuntu to 24.04

Do you have some documentation (notes), on how these updates are prepared ?
Not so much the major bump, from 22.04 to 24.04, but the checksums and such

https://github.com/lima-vm/lima/issues/1347

https://github.com/lima-vm/lima/issues/824

Just updated manually, currently 😞

This is a nice feature, of the new release:
https://discourse.ubuntu.com/t/noble-numbat-release-notes/39890#public-cloud-cloud-images-83

The footprint of minimal images has been reduced

-619M	ubuntu-22.04-server-cloudimg-amd64.img
+454M	ubuntu-24.04-server-cloudimg-amd64.img

422M	debian-12-generic-amd64.qcow2
329M	debian-12-genericcloud-amd64.qcow2

New image tested OK here, as well.
I think the results from the k8s template is very good, starts a vanilla kubeadm cluster in 10 seconds:
[  168.382775] cloud-init[1813]: [init] Using Kubernetes version: v1.30.0

[  170.835847] cloud-init[1813]: [kubelet-start] Starting the kubelet
[  171.584115] cloud-init[1813]: [kubelet-check] The kubelet is healthy after 503.076679ms

[  171.584470] cloud-init[1813]: [api-check] Waiting for a healthy API server. This can take up to 4m0s
[  176.088824] cloud-init[1813]: [api-check] The API server is healthy after 4.503997398s

[  177.523608] cloud-init[1813]: Your Kubernetes control-plane has initialized successfully!

Slightly longer to pull the required images and deploy the coredns addon, but still. (for all else, k3s)


FR: Link to logs/home on import success page

It'd be handy to have these links available when an import is complete.
(I've been keeping some notes on feature requests, so just writing them up now I have a chance btw :) )

Always appreciate FR's!

Added to the latest master.


Segmentation fault

Log
http://pastebin.com/wxjgXM1a
System
Linux Debian 8.6, latest SDL2, and latest Checkers
Steps to reprodude
Follow the same moves as the log

RIP, I thought we fixed this


CatchUnhandledException sets Thread.CurrentThread.Name, which throws InvalidOperationException if the thread name has already been set

I have written a Topshelf service that starts several threads and names those threads for logging purposes. When my service throws an unhandled (fatal) exception, Topshelf's ConsoleRunHost.CatchUnhandledException method tries to set the current thread's name, which throws InvalidOperationException because Thread.Name is a write-once property.
Throwing this exception in the unhandled exception handler obscures important information about why the process crashed. Topshelf should not try to set the current thread's name. At the very least, it should check that the thread name has not been set (Thread.CurrentThread.Name == null) before it tries to set the thread name.
System.InvalidOperationException occurred
  HResult=0x80131509
  Message=This property has already been set and cannot be modified.
  Source=mscorlib
  StackTrace:
   at System.Threading.Thread.set_Name(String value)

mscorlib.dll!System.Threading.Thread.Name.set(string value)
Topshelf.dll!Topshelf.Hosts.ConsoleRunHost.CatchUnhandledException(object sender, System.UnhandledExceptionEventArgs e)
[Native to Managed Transition]

I am closing all issues that haven't seen any activity. You're welcome to submit a PR to resolve the issue or provide more information.

@phatboyg please don't close this issue.
It is seen no activity because there's no "more information" to be provided.
The defect is clear and annoying when it hits you, as is its potential resolution.
I can understand that the package maintainers don't have time to fix it right now, neither do I.
But it's worth keeping open until someone does. If only because people will look for it on Google (I did) and open it again.

This was fixed in 03bde8963da8c057ffc6df07ef9600ffdf6047c1

Great news, thank you! 🎉


fix typo  BugTriaging.md

Hope this helps streamline the project!

Hey thanks for this, but unfortunately we've had to stop accepting trivial typo type fixes, and have updated our contribution guidelines in CONTRIBUTING.md
Closing due to that.


Preparing for release of v1.3.0

Released.
Tag: https://github.com/3colorr/Mizuame/releases/tag/1.3.0


Resolve #223

Two parts to this fix. First if using Windows, the path begins with a DriveLetter: and not a forward slash. On Windows remove the first forward slash when creating paths for the file array. Second in the loop testing for commands, the loop returned false if the first command wasn't found, so it never searched the entire array. This will now find the file. I anticipate that if these commands are compiled the current method will have problems. It will likely work for Linux and MacOS because it is looking for a file name without a .ts extension, but it seems like it will also still run them as deno run instead of their compiled commands. TBD and I'll cross that bridge when I get there.

Thx for the fixes!
A nother way To get the correct path on windows could be to use the fromFileUrl method from the std/path module, but the problem with this module is, it is not tree shake able rn and i don't like to include to full path module only for a single function. Maybe we can just use the URL constructor to get the URL path? Than we are more safe.
I think the return false was just a mistake from my side.
And also I agree we shouldn't use deno run to execute the external commands since this would also bypass all specified permissions for the external command and with this solution only deno scripts can be used as external commands.

@rbeesley is this PR ready to merge? I cannot test it rn because I'm in the hospital and i don't have a windows machine here to test it. I will be back at home tomorrow.
What do you think about my last comment? I'm not sure that your solution works in all cases but all the other issues I think we can fix in a different issue.
And i think we should also add some tests but we can do this also in a different issue as soon as we have fixed the other issues.


Stale errors in Problems panel

VSCode Version:
OS Version:

Version: 1.37.1 (user setup)
Commit: f06011ac164ae4dc8e753a3fe7f9549844d15e35
Date: 2019-08-15T16:17:55.855Z
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.16299

Steps to Reproduce:

Work on a project with issues
Fix the issues
3 Issues still present in the Problems panel, even for files that were moved or deleted.

Does this issue occur when all extensions are disabled?: Yes/No
Hard to say because the problem is not systematic, and I have not yet identified the root cause.
Simply reloading the window ([Ctrl]+[Shift]+P >Developer: Reload Window), keeping the extensions, is enough to refresh (=flush, since there are no errors left) the Problems panel.
If I create new errors (I remove a dependency from pom.xml for my Java project), they are not sticky: when I restore a proper pom.xml, with all needed dependencies, the errors disappear.
I’ll give more information if I notice something relevant.

@tYYGH I think it is the responsibility of the extension to housekeep the Problem entries it created. See https://github.com/microsoft/vscode/issues/23010#issuecomment-288755175 for example.
Judging by what you wrote, you're coding in Java. Which extension(s) are you using?

Hi @gjsjohnmurray,
The list of extensions is rather long: Asciidoc, Bash IDE, Docker, EditorConfig for VS Code, French - Code Spell Checker, Git Graph, gitflow, GitLens - Git supercharged, Insert Unicode, Java Extension Pack, Liquibase Snippets, Maven for Java, NPM-Scripts, Spring Boot Extension Pack, Spring Boot Tools, SQLTools, tl;dr pages, Tomcat for Java, XML, + automatic dependencies.

@tYYGH My guess is that this is from this extension https://marketplace.visualstudio.com/items?itemName=redhat.java since it's the one you have installed as part of the Java Extension Pack that gives Java language support. Can you try disabling the Java Extension Pack to see if that's the extension that's contributing the problems, and if not, selectively disable until you do find the extension? Please reopen this issue on the extension.


Need to run flutter clean before publication build

When I run a configuration build, and try running flutter run in the terminal I get the following errors:
...
Running pod install...                                             71.2s
Running Xcode build...
Xcode archive done.                                         15.6s
Failed to build iOS app
Semantic Issue (Xcode): Redefinition of 'PermissionGroup'
/Volumes/My%20Shared%20Files/flutter/.pub-cache/hosted/pub.dev/permission_handler_apple-9.0.7/ios/Classes/PermissionHan
dlerEnums.h:112:21

Semantic Issue (Xcode): Redefinition of enumerator 'PermissionGroupCalendar'
/Volumes/My%20Shared%20Files/flutter/.pub-cache/hosted/pub.dev/permission_handler_apple-9.0.7/ios/Classes/PermissionHan
dlerEnums.h:113:4

----------------------------------
// I cut out a bunch of errors, they are all basically the same. The full error log is attached below.
----------------------------------

Semantic Issue (Xcode): Redefinition of enumerator 'PermissionGroupNotification'
/Volumes/My%20Shared%20Files/flutter/.pub-cache/hosted/pub.dev/permission_handler_apple-9.0.7/ios/Classes/PermissionHan
dlerEnums.h:130:4

Error (Xcode): too many errors emitted, stopping now
...

Full error log: publication-log.txt
This isn't a problem because if I run flutter clean, then run flutter run, the app builds and runs properly. However, when doing a publication build, I can't run flutter clean ahead of time. And so the build fails and the logs show the same errors as above for the configuration build.
Is there a way to run flutter clean on the remote server before the build is generated? Or better yet, maybe the remote server should run flutter clean during its setup phase.
EDIT: I tried publishing the app manually on a configuration build (by following the steps here). But I got stuck when "codesign" requested the password to the "appollo" keychain. If I knew that password I could bypass using the publication build entirely:

Hi Ozaner,
We made a new release of Appollo with a lot of changes today, which may be the reason why you have the error. Let me check with @tchavetdeuse tomorrow and we will get back to you with a solution.

@maxcmoi89
Thanks. I actually got the email about the new release which is why I tried using it today. I was previously unable to build my app on configuration mode because the 30 minute timer ran out before the build finished. But now it builds much quicker and overall works great (except for the issue above), so kudos to the both of you for the huge improvement!

Hi everyone,
Any updates on this issue?

Hi, this problem should be fixed. Now the commands flutter clean then flutter pub get then pod install are run and it seems to solve the problem.


Microsoft Kinect 2 SDK vs. libfreenect2

Project currently uses the propriety SDK, but should we consider using the OpenKinect library for interfacing with the Kinect?
https://github.com/OpenKinect/libfreenect2
In addition, the DepthJS browser extension/plugin can interface between the Kinect and libfreenect (per the libfreenect docs):
https://github.com/doug/depthjs

When we started the project couple years ago, libfreenect2 was far from mature and didn't support IR and depth image processing at that time. From the latest documentation it looks like that it now does support those features. I'm still concerned about this one issue they've listed which is yet to be resolved:
"Unstable USB and crashes. Due to differences in driver support, USB problems can happen a lot. Error handling in libfreenect2 is not fully verified for production use."
The depthjs extension might not work with the latest version of chrome since it hasn't been maintained since 2013, we'll have to try.
We should perhaps give libfreenect2 a go and see what the performance and stability is like. Here are some pros and cons we considered before settling with the Microsoft SDK.

What are the OSes ExerciseCheck is supposed to be deployed on? If it's Windows 8+, then it shouldn't be an issue – we can just build the Kinect2 module for use in an Electron app, since we don't need cross platform support. We would need libfreenect2 if whoever is planning to use ExerciseCheck isn't on Windows.
Of course, if we're trying to move away from the Kinect2 node module (which is my understanding) then the issue is moot since ExerciseCheck would need adjustment to make API calls to whichever SDK we use.

At the moment ExcerciseCheck(EC) can be deployed on Windows 7 onwards for the server-side (that is the system which is physically connected to the Kinect). Server-side must have a USB 3.0 port for the Kinect.
In the current design the Kinect2 node module allows any client on the network to access the UI to see the subject exercising in real-time via a web-browser, will this feature be available when deployed via Electron?
Kinect2 node can be deployed via electron also as shown here: https://github.com/wouterverweirder/kinect2/tree/master/examples/skeleton-bones-electron
But I have never tested that.
If we move away from Kinect2 module, then how are we planning to interface the electron application with the Kinect hardware?

My understanding is that if we use the Kinect 2 module on the electron app, then the laptop (connecting to Kinect) has to be the server.
If so, it is not preferable because keeping the server on patient's laptop isn't a secure/robust solution.
If not, since cross platform isn't the primary focus of project,  we can have the patient/PT install the software through the Electron, but all the data will be streamed to a remote server.

Ok, let me see if I understand correctly. Are we looking to have a design like this?

Will we have any processing on the patient's device? If not, that is ok. My concern is that the Kinect generates a lot of data in a matter of milliseconds. Can we deploy an instance of the Electron application on the patient's laptop which stores the data & compresses it to be sent over the network? The ExerciseCheck app with the UI elements for evaluation will be on the server.

Unfortunately the client computer will need some way to interface with the Kinect even if it's just passing data along to a server for processing, especially since it's a foreign hardware device for which most OSes don't have inbuilt support as far as I know.
Re network concerns: some compression may be necessary but we can diminish latency problems by using UDP, and I think we could use Node's dgram library to implement the protocol.


fix(dal): debug view should not assume all values have executed

We no longer execute all functions for all values on component creation, so we can't assume every value's prototype function has in fact executed.

bors r+

bors retry

bors r+


kt implementation of CapabilitiesResolver

Addressed comments, PTAL

travis timed-out, but cloud build passed, warily merging...


video transfer with multiple servers and multiple clients

Hi, vidGear is very creative solution but I can not understand how to implement my problem with multiple servers and multiple clients.
My Question
I have 4 modules in my software architecture.
First one aims to send videos to 2nd modules only. And 1st module's work is done.
After 2nd modules receive videos from 1st one, it does some transactions with frames and sends videos to 3rd module. And its work is done.
After 3rd modules receive videos from 2nd one, it does some transactions with frames and sends videos to 4th module. And its work is done.
Every module has unique .py file. In my code, I can transfer videos between 2 modules and make transactions inside 2nd module using VidGear but can not transfer frames to 3rd module. Because in VidGear cant support me to make 2nd module both server and client. for example 2nd module send video after receive and transform frames.
I have read the https://abhitronix.github.io/vidgear/v0.2.1-stable/gears/netgear/advanced/multi_server/
I have read the https://abhitronix.github.io/vidgear/latest

I have 4 modules in my software architecture.
First one aims to send videos to 2nd modules only. And 1st module's work is done.
After 2nd modules receive videos from 1st one, it does some transactions with frames and sends videos to 3rd module. And its work is done.
After 3rd modules receive videos from 2nd one, it does some transactions with frames and sends videos to 4th module. And its work is done.

@elanurozlem This isn't multiple servers and multiple clients problem but instead you're looking for a linked(chaining) setup where each module is receiving frames from later and forwarding it to next module after processing.
From what I understand you wanted this setup:
Module 1 ==Frames==> Module 2[Processing] ==Frames==> Module 3[Processing] ==Frames==> Module 4

Can you try following code:
0. Configurations:  address and port parameter values:

Module - 1:

Server: IP Address: {Use Module - 2 IP address} |  port Address = 5454

Module - 2:

Client: IP Address: {Use its own local  IP Address} |  port Address = 5454
Server: IP Address: {Use Module - 3 IP address} |  port Address = 3333

Module - 3:

Client: IP Address: {Use its own local  IP Address} |  port Address = 3333
Server: IP Address: {Use Module - 4 IP address} |  port Address = 4545

Module - 4:

Client: IP Address: {Use its own local IP Address} |  port Address = 4545

1. Module 1 Python Code (Acts as server):
# import required libraries
from vidgear.gears import VideoGear
from vidgear.gears import NetGear

# define various tweak flags
options = {"flag": 0, "copy": False, "track": False}

# Open live video stream on webcam at first index(i.e. 0) device
stream = VideoGear(source=0).start()

# Define Netgear server at given IP address and define parameters
# !!! change following IP address '192.168.x.xxx' with client's IP address !!!
server = NetGear(
    address="192.168.x.xxx", # Use Module-2 IP address here,
    port="5454",
    protocol="tcp",
    pattern=2, # Use `pattern=2` always
    logging=True,
    **options
)

# loop over until KeyBoard Interrupted
while True:

    try:
        # read frames from stream
        frame = stream.read()

        # check for frame if Nonetype
        if frame is None:
            break

        # {do something with the frame here}

        # send frame to server
        server.send(frame)

    except KeyboardInterrupt:
        break

# safely close video stream
stream.stop()

# safely close server
server.close()

2. Module 2 and 3 Python Code: (Act as Client as well as Server) (⚠ Make sure to replace values from above)
# import required libraries
from vidgear.gears import NetGear
import cv2

# define various tweak flags
options = {"flag": 0, "copy": False, "track": False}

# Define Netgear Client at given IP address and define parameters
client = NetGear(
    address="192.168.x.xxx",  # !!! change following IP address '192.168.x.xxx' with yours from above !!!
    port="XXXX",   # !!! change following port address 'XXXX' with yours from above !!!
    protocol="tcp",
    pattern=2, # Use `pattern=2` always
    receive_mode=True,
    logging=True,
    **options
)

# define various tweak flags
options = {"flag": 0, "copy": False, "track": False}

# Define Netgear server at given IP address and define parameters
# !!! change following IP address '192.168.x.xxx' with client's IP address !!!
server = NetGear(
    address="192.168.x.xxx", # !!! change following IP address '192.168.x.xxx' with yours from above !!!
    port="4545",  # !!! change following port address 'XXXX' with yours from above !!!
    protocol="tcp",
    pattern=2, # Use `pattern=2` always
    logging=True,
    **options
)

# loop over
while True:

    # receive frames from network
    frame = client.recv()

    # check for received frame if Nonetype
    if frame is None:
        break

    # {do something with the frame here}

     # send frame to server
     server.send(frame)

    # Show output window
    # cv2.imshow("Output Frame", frame)

    # check for 'q' key if pressed
    key = cv2.waitKey(1) & 0xFF
    if key == ord("q"):
        break

# close output window
cv2.destroyAllWindows()

# safely close client
client.close()

# safely close server
server.close()

3. Module 4 code (Acts as Client):
# import required libraries
from vidgear.gears import NetGear
import cv2

# define various tweak flags
options = {"flag": 0, "copy": False, "track": False}

# Define Netgear Client at given IP address and define parameters
client = NetGear(
    address="192.168.x.xxx", # !!! change following IP address '192.168.x.xxx' with yours !!!
    port="4545",
    protocol="tcp",
    pattern=2, # Use `pattern=2` always
    receive_mode=True,
    logging=True,
    **options
)

# loop over
while True:

    # receive frames from network
    frame = client.recv()

    # check for received frame if Nonetype
    if frame is None:
        break

    # {do something with the frame here}

    # Show output window
    cv2.imshow("Output Frame", frame)

    # check for 'q' key if pressed
    key = cv2.waitKey(1) & 0xFF
    if key == ord("q"):
        break

# close output window
cv2.destroyAllWindows()

# safely close client
client.close()


[RFE] Include article summary in recent posts

Would this be something we want for the theme (I do for sure):

or

If so, what will the variable we want to define to enable/disable the feature?
Code change is quite simple on 'template/index' and I can submit PR for it

                {{ article.title }} {%if article.subtitle %}  {{ article.subtitle }}  {% endif %}

                {% if article.description %}

{{ article.description }}

                {% else %}

{{ article.summary | striptags | replace(' …', ' ...') | replace(' ...', ' …') }}

                {% endif %}

                    posted in
                {{ article.category }}

                <time pubdate="pubdate" datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time>

Thanks for the explanation. I am waiting for @silverhook feedback to close #125. Lets give it few more days.

The approach in #125 already renders either:

the Summary tag, if it exists; or
if that is not available, the first X words of the article (and appends the ellipsis), which can be set by SUMMARY_MAX_LENGTH and is defaulted to 50 words – see Pelican docs: Settings.

From my understanding, this is exactly what the article.summary is for already – see Pelican docs: Creating Themes
@iranzo, where did you find article.description? I can’t find it in the Pelican documentation, so I assume it’s a lower-level variable that Pelican operates with internally and eventually renders into article.summary.
Unless I’m missing something, I’d say that #125, without the  block is the more elegant and cleaner version.

I think that article.description is taken from the yaml preamble.
For example: https://github.com/getpelican/pelican/blob/master/pelican/themes/simple/templates/article.html#L14

Let's close this and wait for #125


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-27-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3792

Questions ?
Please refer to the Backport tool documentation


Fix primitive conversions (add string to number, etc)

More or less done, need to account for overloading / cast functions with same name but different parameters.


Error: /usr/bin/env: ‘node --harmony’: No such file or directory

I got this error on Ubuntu 16.04, Node 6.10:
/usr/bin/env: ‘node --harmony’: No such file or directory

After some googling I discovered that env in Linux doesn't support arguments. So I solved the problem by removing the flag --harmony from the shebang in the file fabrica-dev-kit/index.js.
Please consider removing this flag in the next release.

We've added this workaround to fix this problem in Linux: http://sambal.org/2014/02/passing-options-node-shebang-line/ . This will be available when the next version of FDK is published.
Note that we mainly support Mac and test in Linux or other OSes only occasionally. Please let us know if you come across any other issues.

Sure.


fix(web): extra spaces in HTML attribute

Remove extra spaces in class attributes caused by conditional statements
Example:

When IsLDAP is false, will render
 not
. So should put space in conditional statements.

Changes are made by VS Code regex replace and are checked manually.

class="\{\{if (.*)\{\{end\}\}  -> class="{{if $1 {{end}\}
class="(.*) \{\{if (.*)\}\}(.*)\{\{end\}\} -> class="$1{{if $2}} $3{{end}}

If you are really sure about your regexes, you could put them below this one as a sed replacement for auto-formatting:
https://github.com/go-gitea/gitea/blob/0b993a0d04c9e542f1584ce00eab7ee4af0321d2/Makefile#L271

In fact I'm not very confident in my regex. I was afraid it would inadvertently destroy something.

Need to rebase.

Test failures do seem causes by the changes, but it's not immediately clear to my why.

Test failures do seem related, but it's not immediately clear to my why.

--- FAIL: TestPullCompare (0.43s)
    testlogger.go:78: 2022/11/20 15:36:35 ...eb/routing/logger.go:99:func1() [I] [637a4983] router: completed GET /user2/repo1/pulls for , 200 OK in 98.0ms @ repo/issue.go:408(repo.Issues)
    pull_compare_test.go:27:
        	Error Trace:	/drone/src/integration_test.go:337
        	            				/drone/src/integration_test.go:166
        	            				/drone/src/pull_compare_test.go:27
        	Error:      	Not equal:
        	            	expected: 200
        	            	actual  : 404
        	Test:       	TestPullCompare
        	Messages:   	Request: GET /user2/repo1/compare/master...master%20
    pull_compare_test.go:27: Response: Not found.

In particular:
Messages:   	Request: GET /user2/repo1/compare/master...master%20

I suspect the changes have broken the url somehow.

The above two things should fix the problem but we should really go through this PR and double check that it's doing the correct thing.

The issue was constructed with so many files (a mind-boggling 148) that regex were my only option. My regex isn't very good, therefore it could have resulted in an incorrect alteration.
I also made an effort to go back and revert any incorrect alterations, but it was simply too much. Inevitably, something is missed, and we can only rely on the keen eye of the reviewer.

First failure on CI is odd because it's being seen outside this PR too, so I think it may be flaky/unrelated. See https://github.com/go-gitea/gitea/issues/21854.

Can you get the tests to pass please? Then I'm happy to review.

There were two more mistakenly added spaces.

I have objection to this change, and suggest to stick to class="c1 {{if $var}}c2{{end}}"
The readability and maintainability  should be applied to the code which is read by developers, but not for the generated outputs.
The template code is the code for developers, while the generated HTML are only for browsers.
The class="c1 {{if $var}}c2{{end}}" style is clearer for developers and more intuitive, and the generated HTML also makes browsers happy.
Think about a more complex case:

class="ui menu item {{if $show}}show{{end}} {{if $warn}}warn{{end}} {{if $error}}error{{end}}"
--vs--
class="ui menu item{{if $show}} show{{end}}{{if $warn}} warn{{end}}{{if $error}} error{{end}}"

The first style make it clearer to see each CSS class name with its {{if}} block.

I do agree with @wxiaoguang here - I know we've done a lot of work elsewhere getting rid of the extra spaces but I'm just not sure it's worth it given the confusion and potential for bugs it adds.
Who is looking at the HTML anyway? We'd potentially be better off passing the output of our HTML renderer through a lightweight html parser that would minimize and remove the extra spaces instead.

Not sure if postprocessing the HTML is worth it, it'll impact performance for neglible gain.
BTW, In JS land, there is the classnames module that's used to join together class names, maybe something similar could be done for go templates as well, thought it'll never be as elegant as the JS solution.

Now that #23298 has been merged, I suggest closing this PR. @kecrily, thank you for your effort; it prompted us to think more deeply..


How to resing a pdf document with binary

Hello, I'm trying to resing a pdf file with the binary option but when I verify  the pdf it's empty

I am sorry but this is not the right place to ask such general user questions. You do not even say what tool do you use to re-sign.


PAT Removal from pipeline generation yml

This is the second PR, the one that removes the usage of azuresdk-azure-sdk-devops-pipeline-generation-pat.
Note: As of right now, this PR is incomplete. This PR relies on another PR being merged, publishing a new version of the pipeline-generator and the version of install-pipeline-generation.yml being updated to the published version. That needs to be part of this PR and will be updated once the other one is removed.

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

You will need to update also update https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/pipelines/templates/steps/install-pipeline-generation.yml#L12

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

You will need to update also update https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/pipelines/templates/steps/install-pipeline-generation.yml#L12

Yes, I called that out in the description. The other PR, with the source changes, had to get merged and published first. The 3rd commit updates the version and that file is part of this PR.


Update threat model

The threat model (section in doc/Design.md) should be updated to the latest structure, e.g. there is no id or version file any more.
Furthermore, remove implementation specific details from it as much as possible. A good example is https://pond.imperialviolet.org/threat.html
Clarify on when the local machine is trusted, e.g. only during backup or when the password is present.

When I have some time, I don't mind trying to revise the existing threat model. I'll need some more guidance though to make sure I'm covering it the right way. Also, the example link no longer works, but the Way Back machine has a snapshot of it at https://web.archive.org/web/20150913065100/https://pond.imperialviolet.org/threat.html.

Oh, thanks for pointing this out. If you drop by at #restic on irc.freenode.net (if you use IRC) sometime in the evening, I'd be happy to discuss this. Thanks for the offer!

I haven't had much free time today to get back to you so I just wanted to send this brief note to let you know I haven't forgotten. I don't typically use IRC, but don't mind jumping on one evening when I have some time. I'm not much of a coder, but like the work you're doing here so I wanted to offer to contribute in some small way.

Heh, don't rush anything, the threat model will be here tomorrow. I've just realized that we don't live in the same timezone, so "in the evening" is probably something else for you. We can also discuss the threat model in this issue (or have a PR or something else).

Thanks. I haven't forgotten about this. I've started drafting something, but it'll take me a bit longer to finish the initial draft up. I'll share some of the ideas here before submitting a pull request.

Right now, I'm thinking the following are among the threats I need to address:

Physical access
Network access (local and/or remote)
Malware
Weak passwords
Advances in cryptography or computing yields underlying crypto algorithm broken

Please let me know if you think I should add or remove any.
Below is a rough draft of what I have thus far (it doesn't touch on all the above yet). I wanted to go ahead and share it to see if it is along the lines of what you have in mind.
An attacker with access to your backup storage location could:

Delete or manipulate your backups, thereby impairing your ability to restore files from the comprised storage location.
Attempt a brute force password guessing attack against a copy of the repository.

An advisory who can passively monitor all Internet traffic could:

Defer where you are storing your remote backups via http headers (URLs).
Defer from where you create your backups (i.e., the location where the requests originate).

An attacker who compromises (vial malware, physical access, etc.) the host system making backups could:

Render the entire backup process untrustworthy (e.g., intercept password,  copy files, manipulate data).

There's another thing that came up in a discussion on IRC with @viric the last couple of days: I've added an experimental local cache (see PR #607). We agreed that the cache should be encrypted (at least by default), so that no metadata leaks e.g. when encrypted filesystems are mounted.
This is a temporal perspective: What if attackers gain access to the user's machine or home directory some time after the backup was completed? Especially what happens when the users didn't store the password anywhere (so the attackers are unable to decrypt anything from the repo)?

@FiloSottile mentioned a couple of items in his recent blog post that could be good additions to the threat model. Here's a couple that stood out to me:

attacker-supplied data can lead to straightforward fingerprinting attacks on any kind of deduplicated system. (This should have been in the threat model.)

I imagine file/backup sizes are not protected, but it's not mentioned.

I just noticed:

The host system a backup is created on is trusted. This is the most basic requirement, and essential for creating trustworthy backups.

Should we say anything about how integrity of the backups can be maintained even if the host does get compromised (with the rclone serve restic + SSH forced command set-up)?

That's not an easy thing to add. Attackers with the ability to add data to the repo (but not remove something) could still upload pack files with wrong headers. For example, the header says that the file contains the blob with a specific hash, but that's not really the case. I'm not sure what the implications are right now.

@MatthewVance Is this something that you're still able to tackle? It would be great if we could finish it and close the issue.

Yes, I'm still willing to contribute. I'm not confident we can make it
comprehensive, but I think I can help enhance the existing threat model.
It'll take me a few days to pull some info together.
On Thu, Dec 19, 2019, 7:01 PM rawtaz<EMAIL_ADDRESS>wrote:

@MatthewVance https://github.com/MatthewVance Is this something that
you're still able to tackle? It would be great if we could finish it and
close the issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/restic/restic/issues/208?email_source=notifications&email_token=AAUMHOTL7YCWYSOSAYTZU2LQZQKPVA5CNFSM4BJ3RDB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHLRHEQ#issuecomment-567743378,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUMHOU46DINEILKUHPIYVLQZQKPVANCNFSM4BJ3RDBQ
.

@rawtaz I'd like some more eyes on this before submitting a PR.
I didn't include anything about file/backup sizes not being protected, but can if needed.  I also did not include much detail regarding the local cache (beyond noting it is encrypted by default to also prevent metadata leaks when encrypted filesystems are mounted).
Lastly, what level of detail needs to be added to clarify when the local machine is trusted (during backup, when the repo password is present, etc.)?
https://gist.github.com/MatthewVance/c3888ea022589ea0861acb16be9d4e56

@cdhowie Can you review this work in progress? You are better suited for commenting on this than I am. Current threat model article is here.

General copyediting:

Line 19: comprised -> compromised
Lines 29 and 30: Defer -> Determine
Line 29: http -> HTTP
Line 33: vial -> via

Content notes:

HTTP header sniffing (line 29) is mitigated by HTTPS, which everyone should be using in 2019.
Adding data (lines 38-43) has an additional threat: if forget with time-based policies is regularly run against the repository, particularly when automated, an attacker could introduce new snapshots (that are empty or contain garbage data) with specifically-crafted timestamps in an attempt to get a future forget operation to remove some or all existing good snapshots from the repository.

Thanks for the feedback. I plan to work on incorporating the suggested
updates.
On Sat, Dec 28, 2019 at 7:55 PM Chris Howie<EMAIL_ADDRESS>wrote:

General copyediting:

Line 19: comprised -> compromised
Lines 29 and 30: Defer -> Determine
Line 29: http -> HTTP
Line 33: vial -> via

Content notes:

HTTP header sniffing (line 29) is mitigated by HTTPS, which everyone
should be using in 2019.
Adding data (lines 38-43) has an additional threat: if forget with
time-based policies is regularly run against the repository, particularly
when automated, an attacker could introduce new snapshots (that are empty
or contain garbage data) with specifically-crafted timestamps in an attempt
to get a future forget operation to remove some or all existing good
snapshots from the repository.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/restic/restic/issues/208?email_source=notifications&email_token=AAUMHOXFXI3G7WGY7E7AWNLQ277QHA5CNFSM4BJ3RDB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHYV44Q#issuecomment-569466482,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUMHOQE6AMIT6Y2UX3MRQ3Q277QHANCNFSM4BJ3RDBQ
.

@MatthewVance thanks for your work on this issue! Please feel free to just submit a PR, which makes the discussion much easier :)

Sure thing. PR submitted: https://github.com/restic/restic/pull/2536


Fix AttributeError: 'int' object has no attribute 'item'

Description

Fixes an issue where an int is being returned in the DFP rolling window stage, likely caused by the recent update to the version of pandas being used.
Update file paths to reflect the move of the dfp_duo_pipeline.py, dfp_azure_pipeline.py & dfp_integrated_training_batch_pipeline.py scripts
Document installing the missing dependencies needed for the DFP Grafana example

Closes #1994
By Submitting this PR I confirm:

I am familiar with the Contributing Guidelines.
When the PR is ready for review, new or existing tests cover these changes.
When the PR is ready for review, the documentation is up to date with these changes.

/merge


WordBazaar: Extract current tab state to router

@davidyuk can you rebase and cherry pick only this https://github.com/aeternity/superhero-ui/pull/1036/commits/1e3ea9970701ba4e2e3c423c834b6e1c443287d8 commit in this PR?


fix: pass opts to actions.preview

It looks like an unintened mistake to not pass the opts to the callback, because without it, the preview window cannot be a horizontal split.

Thanks for the PR!


Added BSMRSTU

@tasnim-rizvy First stage of verification passed, official domain for Bangabandhu Sheikh Mujibur Rahman Science & Technology University, Gopalganj, Bangladesh is bsmrstu.edu.bd as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

How long will it take to add the domain to the list?

@tasnim-rizvy Thank you for your patience while waiting for a review and processing your request. Pull request merged.
Please start requesting the licenses in about an hour, to let the changes to propagate through our system.


Ionic 3 ion-datetime stopped working for Chrome v69 Desktop

Bug Report
Ionic Info
Run ionic info from a terminal/cmd prompt and paste the output below.
cli packages: (\AppData\Roaming\npm\node_modules)
    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:
    cordova (Cordova CLI) : not installed

local packages:
    @ionic/app-scripts : 3.1.9
    Cordova Platforms  : none
    Ionic Framework    : ionic-angular 3.9.2

System:
    Node : v8.9.4
    npm  : 5.6.0
    OS   : Windows 10

Environment Variables:
    ANDROID_HOME : not set

Misc:
    backend : pro

Describe the Bug
Datetime stopped displaying the content on datetime selector. Modal appears on the screen but numbers and month name are not visible. I inspected and Dom have values as well in there. This happens only on browser.
http://www.screencast.com/t/vDX179ufVt
Related Code
<ion-item>
  <ion-label fixed>Start Date</ion-label>
  <ion-datetime displayFormat="DD/MMM/YYYY" name="startsat"></ion-datetime>
 </ion-item>

Expected Behavior
It should display the Selector and we able to select the values for Date.
Additional Context
Chrome is giving following not sure if it's relevant or not.

[Deprecation] /deep/ combinator is no longer supported in CSS dynamic profile.It is now effectively no-op, acting as if it were a descendant combinator. /deep/ combinator will be removed, and will be invalid at M65. You should remove it. See https://www.chromestatus.com/features/4964279606312960 for more details.

I'm using chrome 69 right now and I am not seeing this in my tests.
https://stackblitz.com/edit/ionic-ijx8sg?file=pages/home/home.html
The /deep/ selector issue is not really related to anything Ionic as we do not use that in V3. Please check your code and validate that everything is working as well.
Going to close this as I cannot reproduce the issue. Feel free to post on the forum is you are running into any other issues.
http://forum.ionicframework.com


Missing requirements.txt

In the documentation page, FAQs : What if ExoSim cannot find the required packages?
pip install -r requirements.txt
--> unfortunately this file does not exist on the git repository
Please add the up to date files
THX

Fixed in commit b12328f
Thanks


A/B firmware update with swupdate handler: end up in update loop

Expected Behavior
We've integrated adu in our yocto embedded linux distribution. If we boot from part A and install the update to part B we reboot and make an update validation on the new part. This validation might fail for some reason (e.g. a mandatory service cannot startup). In that case we don't start adu agent on new partion at all. Instead we reboot and start from A again. Now we expect the device to report a failed update which might be retried from cloud.
Following the schematics (https://github.com/Azure/iot-hub-device-update/blob/main/docs/agent-reference/images/apply-phase.png) our assumption was that adu already recognizes the failed update by finding the old version instead the new opne after leaving "update in progress" phase? But it seems it doesn't: https://github.com/Azure/iot-hub-device-update/blob/0cea32a7a257ee680121ef06e76e17fbdac73c6f/src/extensions/step_handlers/swupdate_handler/src/swupdate_handler.cpp#L461
Current Behavior
After failed update validation on part B and rebooting to A the adu agent reports the current updateid is not installed which makes the whole procedure start again and again (update loop).
My question is how the adu workflow can cover the case an A/B update (logically) fails after successfully applying the update (flashing to and rebooting from new partition)?
Steps to Reproduce

deploy new linux firmware update
boot device from partion A
run swupdate steps: download, install, apply
boot device from partition B
validate update
5.1 delay start of adu agent
5.2 check several conditions
5.3 check fails
boot device from partition A again
adu agent finds old version and reports ADUC_Result_IsInstalled_NotInstalled instead of reporting failed update
adu starts update again

Device Information

Host OS: yocto linux kirkstone
Architecture: amd64, arm32, arm64
Provisioning Method: module provisioning with azure identity service
DU Agent Version: 1.0.2

Logs

Do you need logs at all?
Additional Information
Please provide any additional information that may be helpful in understanding the issue.

@jw-msft @eshashah-msft can you take a look at this?

@JanZachmann It sounds as though swupdate v1 hander is being used, or a content handler based on it. If so, swupdate v2 handler should be used instead because it allows a script update payload to be run to allow customization of Apply() and IsInstalled() logic to handle the scenario mentioned.
The rest of this reply will assume use of swupdate v2 handler, but another option is to modify the existing swupdate handler code  or write a custom handler.
Note: in the following doc it mentions that swupdate v1 handler type is "a limited example that runs the adu-swupdate.sh script included with the Debian package. It only works on ext4 file system images that conform to ADU Yocto built images.":
https://github.com/Azure/iot-hub-device-update/blob/main/docs/agent-reference/device-update-agent-extensibility-points.md#content-handler-extension-type
Therefore, it is not recommended to use swupdate v1 as-is for production devices. Instead, swupdate v2 handler should be used with appropriate customizations in the script to handle failure scenarios and handleType of "microsoft/swupdate:2" in the manifest.  See swupdatev2 README.md for more details.
For example, in the script function that handles --action-apply script switch, one could:

Set an additional uboot environment variable (via fw_setenv) that indicates commit status that would only be set to 1 once:

it successfully boots into the new partition
AND it passes all verification checks in the script's handling of --action-is-installed (when booted into the new partition)

Get the commit and rpipart env vars (using fw_printenv) and compare them with the current mount point for root partition

If commit is still 0 AND rpipart matches current mount point, then that would indicate a revert after failed boot (or failed-check of new partition image) condition. In that case, return a negative resultCode status (to indicate failure) and define a extendedResultCode as JSON written to the filepath passed via the --resultFile argument.
If commit is 0 and rpipart does NOT match current mount point, then that would mean it is booting into newly updated partition and commit should be set (via e.g. fw_setenv commit 1).
For reference here are:

The swupdate v1 handler script that comes with the agent when installed via debian package

Here is an example swupdate v2 script payload:
https://github.com/Azure/iot-hub-device-update/blob/main/src/extensions/step_handlers/swupdate_handler_v2/tests/testdata/adu-yocto-ab-rootfs-update/payloads/example-a-b-update.sh
For reference, the [uboot] script in adu yocto recipes-bsp (https://github.com/Azure/meta-raspberrypi-adu/blob/main/recipes-bsp/rpi-u-boot-scr/files/boot.cmd.in)

Thanks for your advise! It matches more or less the assumptions we had. We also already have the u-boot vars you propose. So we will implement like suggested.
One question is open for me: in order to show the device as failed in cloud (and trigger a retry) we report the negative result code. but what would happen if the device changes to NotInstalled result again, e.g. after a reboot? Is the device then still marked as failed in azure or will it get the update again automatically?

Hi @jw-msft
Meanwhile we successfully implemented a solution. What I don't like about the solution is that we had to patch agent_workflow.c in order to detect if a retry was triggered by fleet operator in cloud. we need to do so because we must explicitly allow another installation in content handler script in retry context (instead of returning the error). it would be easier if we would know in content handler if the reason of an update is a retry. is this already possible and I did oversee something?
BR
Jan

Hi @JanZachmann
Glad you got it to work but not an ideal solution for sure.
If it's a retry, core agent calls workflow_update_retry_deployment(), which sets the cancellation type to ADUC_WorkflowCancellationType_Retry and updates the retry timestamp.
The script/swupdate/swupdatev2 handlers, which are all really just script-based handlers, do not currently pass the cancellation type to the script as a cmd-line argument and there's currently no way for the script to call, say, an API via named-pipe FIFO API on the agent process to get it.
The core agent is already leaking internals too much, so patch/authoring a content handler to call workflow_get_cancellation_type() is not ideal.
Instead, probably what makes most sense is for the core agent to export several environment variables of the form ADUC_WORKFLOW_ and then the script can just reference e.g. $ADUC_WORKFLOW_CANCELLATION_TYPE
I'm going to close this issue for now, but I'll following-up after discussing with the team to add this type of behavior for script since we would like to address making the content handler interface not require accessing internal workflow_* functions or internals but to just pass the necessary workflow data as primitive data types to the exported functions on the handler plugins.

Hi @jw-msft
Thanks for confirming. We're really looking forward a content-handler / script only solution. An environment variable would work well for us.
BR
Jan