Use working directory when constructing the host toolchain

This has not made it from SwiftTool to SwiftBootstrapBuildTool but is likely required for toolchain builds since we are seeing issues with the wrong compiler being used.

@swift-ci please smoke test

Failures in linux self-hosted are expected, trying to fix in https://github.com/apple/swift-package-manager/pull/5952

@swift-ci please smoke test linux

Converting to draft, we should bring this back when we're re-landing "simplify bootstrap build"


RestSharp upgrade to 108

Hi Guys,
I'm getting an error while running my app which is caused by the fact that another dependency uses the RestSharp v108, while HubSpot.NET uses version 106.
Is there any plan to upgrade this library to RestSharp 108? is that very time consuming?
this is the error I'm getting while using HubSpot.NET:
Microsoft.Azure.WebJobs.Host.FunctionInvocationException: Exception while executing function: CreateTicket
 ---> System.TypeLoadException: Could not load type 'RestSharp.IRestRequest' from assembly 'RestSharp, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=598062e77f915f75'.
   at HubSpot.NET.Core.HubSpotBaseClient.SendRequest(String path, Method method, String json)
   at HubSpot.NET.Core.HubSpotBaseClient.SendRequest[T](String path, Method method, String json, Func`2 deserializeFunc)
   at HubSpot.NET.Api.Company.HubSpotCompanyApi.GetByDomain[T](String domain, CompanySearchByDomain options)
...

Cheers

raised PR #28 to resolve this issue.


chore: improve RTL support

#332
I plan to include getting-started#features as a reference in the documentation.
 Support for both LTR (left-to-right) and RTL (right-to-left) languages.

Additionally, I intend to provide examples on the examples page for RTL and LTR usage, similar to :
https://tailwindcss.com/blog/tailwindcss-v3-3#simplified-rtl-support-with-logical-properties.
@benjamincanac
Let me know what you think ?

What's the point of supporting RTL in the docs components?

I think for everyone who needs to copy examples in documents like pagination, it's good to copy them with support for LTR and RTL?

@benjamincanac
@HassanKadhim
I found some issues in other components after digging deeper into them related to right-0andleft-0` that need to be worked on.

@benjamincanac
I made a review for All components with examples in the documents, and I think now all should be supported for RTL.
✨ Componets That Have Iuess :

Avatar Group

❌

✅

Input - (trailing)
❌

✅

Select Menu

❌

✅

Toggle

❌

✅

Command Palette

❌

✅

Vertical Navigation

❌

✅

Pagination -  (Icons for prev / next)

❌

✅

Notifications

position

@benjamincanac Has this been reviewed?

Do you still have things you want to add or can I merge it? 😊

Do you still have things you want to add or can I merge it? 😊

😂 I reviewed all components with examples in the documents, and it should work fine with RLT and LTR. ✅

Thanks :)


Restrict the model to use only documents in UserData

Restrict responses to only the information in the provided documents.
Can return a generic response if the answer is not available.

Hi, if you select UserData in UI, it'll only use that.  But I think what you mean is if no references are found, and shared, then it shouldn't go to the LLM at all.  But I guess one knows if no references are listed then that is the case.  Maybe give more details about why etc.

For example in case of a domain specific chatbot, it should not be answering generic questions. How can I restrict the chatbot to only share domain information in that is available in the documents.

You can try adding "only answer domain questions in that is available in the input" or something like that in the prompt. I'm not sure how to configure it, but you can change the default prompt in 'prompter.py".

It now says things like:

And if you have documents but scores are such that nothing is relevant (harder with instructor-large), then it will say
'No relevant documents to query.'

Similar for summarize.


Update Project “rexchange-the-real-estate-exchange”

Automatically generated by Netlify CMS

👷 Deploy Preview for ninahorne processing.
🔨 Explore the source changes: 9dea8fa7cc1646c35ba12814a21ea1f14fbc5f3d
🔍 Inspect the deploy log: https://app.netlify.com/sites/ninahorne/deploys/615b9d085c5f0600071af4d5


Editor cannot connect

When opening the editor it gets stuck on Please wait, giving this error
https://pastebin.ubuntu.com/p/Jfhm5V3b6n/

There have been some issues with the domain. They have been resolved now but some DNS servers might still have the wrong ones.
It should be working fine within the next 24h. If you can’t wait that long use for example Google’s DNS. There should be guides available

Should be fixed now.


Remove warning from scoped npm process

npm 8.5.1
ubuntu 22.04
$ scope npm install express
$ /usr/bin/npm is not a viable ELF file

The child node process is successfully scoped, but because npm runs a script, AppScope throws a warning about the file format.

Just a warning, no need cite this in the docs.


Persist Newly Created Configuration PIDs

Currently FeatureBootstrapper creates all the configuration instances for Feature and FeatureGroup using a BundleTracker. It looks for features.json in ACTIVE bundles, parses it and creates the configuration instances accordingly. When a bundle containing features.json is removed, all the created configuration instances specified by the bundle in its json resource will be removed.
The configuration instances are by default persisted by OSGi runtime and hence the bundle tracker should also persist the created PIDs so that after every restart it should check if there is already a configuration instance with the PID, it should not recreate the configuration instance again. In addition, when the bundle with the json resource gets removed, all its configuration instances shouldn't be removed.
Also note that after every restart, all OSGi reloaded configuration instances will by default have new PIDs as they are created by Configuration Factory. Hence, we have to be careful to check against Factory PID and the name property of the service.

We could use PreferencesService to persist unique property of the service.

This https://github.com/amitjoy/feature-flags-osgi/commit/04f35a511f9e1893363689a1f267d860f3d5667d solves it.


#13095 Update package.json

I signed it!

Okay, so should the compiler get that update first then?


feature 50 - create initial content components

Added templates for several components.
Buttons don't change the main screen yet, only the employee screen is visible now.
Tried css grid for the overall layout, this may be changed when collapsible menu is used.

Your PR seems to be based of mine (49), should remove my commits, using rebase --onto should do the trick. Let me know if you need help
Also rather than having, employees, summary and rota as completely separate components, do you think its worth reusing code? Maybe make a page that is a HOC https://reactjs.org/docs/higher-order-components.html that we call page and we pass in the title and inner display


fix: Format challenge markdown according to linting rules

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

This is a companion to #35829 and fixes all the challenge files with problems flagged up by the linter.
Some Rosetta Code challenges I copied straight from https://github.com/freeCodeCamp/freeCodeCamp/pull/35560 to cut down on merge conflicts.  The majority of which fixed the linting issues.
Some of the diffs look like this:
-
 +

That's because I added a trailing newline.  Not sure why github represents it that way, but that's what happened.

I'll update this to reflect the change in #35829 ASAP.


installation fails on FreeBSD

For FreeBSD are no prebuild binaries available.
The installation script use stack with the --local-bin-path parameter to compile it from source.
stack does not create the directory if it does not exist and the build fails.
~ ⟩ npm -g install purescript                                                                                ~
/home/j/.npm-packages/bin/purs -> /home/j/.npm-packages/lib/node_modules/purescript/bin/purs.js

><EMAIL_ADDRESS>postinstall /home/j/.npm-packages/lib/node_modules/purescript
> node lib/install.js

  ⚠ No binary found matching your system. It's probably not supported.
  ⚠ pre-build test failed
  ℹ compiling from source
  ✖ Error: stack setup --allow-different-user && stack install --allow-different-user --local-bin-path /usr/home/j/.npm-packages/lib/node_modules/purescript/vendor
Command failed: stack install --allow-different-user --local-bin-path /usr/home/j/.npm-packages/lib/node_modules/purescript/vendor
No directory could be located matching the supplied path: /usr/home/j/.npm-packages/lib/node_modules/purescript/vendor

    at ChildProcess.exithandler (child_process.js:205:12)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:194:7)
    at maybeClose (internal/child_process.js:899:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
/home/j/.npm-packages/lib
└──<EMAIL_ADDRESS>

By removing these lines, we can simulate the environment where the prebuilt binary is not provided.
On my macOS, I used this trick and ran npm install, then node-purescript-bin started to build purs binary from source.
Surprisingly, unlike the @j-keck's report, it automatically created the vendor directory and the build succeeded.
$ stack --numeric-version
1.4.0

$ ls ./vendor
ls: ./vendor: No such file or directory

$ npm i

><EMAIL_ADDRESS>postinstall /Users/Shinnosuke/github/node-purescript-bin
> node lib/install.js

  ⚠ No binary found matching your system. It's probably not supported.
  ⚠ pre-build test failed
  ℹ compiling from source

$ ls ./vendor
purs

@j-keck What's your stack --version ?
Is the "No directory could be located" error is FreeBSD specific? I should dig in the source code of Haskell Stack.

@shinnn : i'm also on stack 1.4.0:
~ ⟩ stack --numeric-version                                                             ~
1.4.0

~ ⟩ cd .npm-packages/lib/node_modules/purescript                     ~

 ..modules/purescript ⟩ npm i                                                           ~/.npm-packages/lib/node_module/purescript

><EMAIL_ADDRESS>postinstall /usr/home/j/.npm-packages/lib/node_modules/purescript
> node lib/install.js

  ⚠ No binary found matching your system. It's probably not supported.
  ⚠ pre-build test failed
  ℹ compiling from source
  ✖ Error: stack setup --allow-different-user && stack install --allow-different-user --local-bin-path /usr/home/j/.npm-packages/lib/node_modules/purescript/vendor
Command failed: stack install --allow-different-user --local-bin-path /usr/home/j/.npm-packages/lib/node_modules/purescript/vendor
No directory could be located matching the supplied path: /usr/home/j/.npm-packages/lib/node_modules/purescript/vendor

    at ChildProcess.exithandler (child_process.js:205:12)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:194:7)
    at maybeClose (internal/child_process.js:899:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
<EMAIL_ADDRESS>/usr/home/j/.npm-packages/lib/node_modules/purescript
├─┬<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ │ ├──<EMAIL_ADDRESS>deduped
....

@shinnn was a problem on my side:
stack calls Path.IO.resolveDir' which calls System.Directory.canonicalizePath in:
https://github.com/commercialhaskell/stack/blob/ea10057da1b1a49d937e7bcb6f997360bec1f863/src/Stack/Config.hs#L354-L369
i was on lts-6.24 (defined in  ~/.stack/global/stack.yaml). after bump to lts.8.17 the problem disappear.
it was a problem with System.Directory.canonicalizePath:
~ ⟩ stack ghci --package path-io --resolver=lts-6.24
Configuring GHCi with the following packages:
GHCi, version 7.10.3: http://www.haskell.org/ghc/  :? for help
λ: :m +System.Directory
λ: canonicalizePath "/abc/def"
*** Exception: /abc/def: canonicalizePath: does not exist (No such file or directory)
λ:
Leaving GHCi.

~ ⟩ stack ghci --package path-io --resolver=lts-8.17
Configuring GHCi with the following packages:
GHCi, version 8.0.2: http://www.haskell.org/ghc/  :? for help

λ: :m +System.Directory
λ: canonicalizePath "/abc/def"
"/abc/def"

sorry for the noise!

@j-keck No problem. Thanks for the clarification!


Provide example / good way to serialize queries

Background: we can't provide the queries fully automatically yet because we don't have the security layer
but for people to work with it, it must at least be available in the API to serialize easily, a bit like
{...
return App.Query["All Tabs"];
}

2rm is working on this, shouldn't be much more...

done!


About SukiUI NuGet Version

Hello, I would like to know about the SukiUI NuGet version. Is the latest update only effective in the preview version? Will the stable version be updated after 3.0.0?thank you.

If you are talking about Avalonia 0.10, yes it will no longer have updates.
11 previews had many breaking changes so next stable will be 11 "official" release.


Add i2pd

Description
https://github.com/PurpleI2P/i2pd-android
Icons addition information

Icons added

App Name (org.purplei2p.i2pd)

Contributor's checklist

[x] I have followed the Lawnicons Guidelines
[x] I have ensured that Lawnicons builds correctly
[x] I am willing to make changes to my icons if someone suggests changes

Hm, I think you have a valid point there. I guess I could do "mask only". Would be a little generic then though don't you think? Let me know your thoughts. I will try to come up with something else in the meantime.

looks interesting, but I am not sure if variable length lines fit the contributing guidelines?

but I am not sure if variable length lines fit the contributing guidelines?

Technically, everything fits the guides.

I tried to be a little creative; I didn't want to give up the "structure" around the mask. What do you think? I admit this may not necessarily look like other lawnicons x) (but it does fit the guides, amirite?)

What do you think?

The latter version and the one with just the mask are too different from the original. The reason is that the icon has a very expressive jester's cap.

Stopping at this option, there are 2 comments to it. 1. Actually you made a square icon, so it should be smaller according to the guides. 2. In terms of quality, there are a lot of small spacing between strokes — it looks sloppy on the phone screen.

here goes another try

here goes another try

The only thing that remains is the wrong stroke thickness. I suggest using 10px.

right. I corrected that.


django-tenants vs django-schema-tenants

Hi,
I see there are 2 very similar packages. This one is forked from django-schema-tenants
Is there a reason why to chose one above the other?
Are the features on par?
I'm wondering about long term maintainence? And if you start using one or the other it confusing what to pick.

@onno-timmerman This has been asked many times.   A short answer is that django-schema-tenants seemed dead when I created this project. As I needed this for a project I was doing for work I forked it. I still require this project as this project is ongoing. Most of the  features are on par.

Thx for the answer... So you will not be dropping support for it in the for seeable future?
Great thx for the swift reply. It think I'll go for django-tenants as the documentation is a bit better.

No I won’t be dropping it for a long time.

I think this can be closed


stm32g0 interrupts for usart3,4,5,6 all set to 29

Looks like the interrupts for usart3 and usart4 (stm32g070.dtsi) and usart5 and usart6 (stm32g0b0.dtsi) are all set to 29.
interrupts = <29 0>;

Looks like the same issue for stm32g0b1.dtsi
		usart5: serial@40005000 {
			compatible = "st,stm32-usart", "st,stm32-uart";
			reg = <0x40005000 0x400>;
			clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00000100>;
			interrupts = <29 0>;
			status = "disabled";
		};

		usart6: serial@40013c00 {
			compatible = "st,stm32-usart", "st,stm32-uart";
			reg = <0x40013c00 0x400>;
			clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00000200>;
			interrupts = <29 0>;
			status = "disabled";
		};

This is handled by the syscfg register so is not an issue


462 unique constraints

https://github.com/orgs/bcgov/projects/122/views/2?pane=issue&itemId=49836096
There's a bug that prevents editing of these fields on the operator, but you can do the manual check on adding an operator
The sonarcloud fail is on repetition in db comments, which I think is fine to ignore but feel free to disagree!

@BCerki  I don't have any concerns about the duplication of DB comments. You could sign in to SonarCloud and mark the issues it's complaining about as "Won't fix" if you want it to stop failing you.
I would like to see some additional test cases for POSTing or PUTting to the /operators (or is it /user-operators ?) API endpoint - we want to make sure that the API returns an error code (and maybe also an error message?) when a user tries to create/update an operator with a legal name or corporate registry ID that already exists in the DB. I think we already have similar tests for handling duplication of CRA numbers in that file...


@Scope("request") Service is not singleton per request

Informations

Type
Version

Bug
4.x

Description
Scope "Request" should only create one instance per request, (singleton per request), but looks like it creates instance on each dependency.
Example
Example of code with 1 controller and 2 services, they are all Scope("request")
@Controller("/calendars")
@Scope("request")
export class CalendarCtrl {
    constructor(public innerService: InnerService, public outerService: OuterService) {
        console.log("Controller New Instance");
        console.log("innerService == outerService.innerService? ",
        innerService == outerService.innerService);
    }

  @Get("/")
    async renderCalendars(): Promise<Array<Calendar>> {
        return [{ id: '1', name: "test" }];
    }
}

@Service()
@Scope("request")
export class OuterService {
    constructor(public innerService: InnerService) {
        console.log("OuterService New Instance");
    }
}

@Service()
@Scope("request")
export class InnerService {
    constructor(){
        console.log("InnerService New Instance");
    }
}

Actual output when making request to /rest/calendars:
InnerService New Instance
InnerService New Instance
OuterService New Instance
Controller New Instance
innerService == outerService.innerService?  false

Expected output when making request to /rest/calendars:
InnerService New Instance
OuterService New Instance
Controller New Instance
innerService == outerService.innerService?  true

Thanks for making this framework!.

For more context, what am i doing is want to have Middleware to inject user information to UserService per request (user information is in token in Request), and other services will consume user information from UserService. It's exactly the same as this issue: https://github.com/Romakita/ts-express-decorators/issues/58
But it's not working, unless i'm doing something wrong.

Hello @nhabuiduc,
Effectively, the injector doens't work as expected. I look on the code how I can fix that ASAP :)

Just ran into this as well :(

:tada: This issue is included in version 4.31.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

:package::rocket:

I've just upgraded to 4.31.13. Is this supposed to work with middlewares?
I have a request-scoped service that is injected both in a global, request-scoped middleware, and also inside a request-scoped controller and I get two different instances of the service.

For me it's work when controller has Scope request and a service injected into the controller has the Scope request also.
Here an example: https://github.com/Romakita/ts-express-decorators/blob/master/test/integration/app/controllers/products/ProductsCtrl.ts
UseBefore isn't covered right now.

Yes, I think it works with only controllers and services. I've tested that and it seems to run fine now. But middlewares (global ones and with UseBefore) seem to still introduce their own instance, even if they have a request scope.

Any update on this for middleware, as we want to inject log per request , and middleware always resolve dependency as new instance.
The idea is we just want to inject request information on  any nested service (without passing through arguments), is there any work around on this?

After reading through the code a little bit, the problem because in EndpointBuilder class
 private bindRequest(endpoint: EndpointMetadata, debug: boolean) {
    return (request: any, response: any, next: any) => {
      // some code here
      request.createContainer();
      // some code here
    };
  }

request.createContainer() has been called after any global middleware  has been used.
A simple fix is to create a global middleware  just to call request.createContainer() before any middleware/controller. For Example:
protected async loadMiddlewares(): Promise<any> {
      // some code here
      this.expressApp.use((res,res,next)=>{
          res.createContainer();
          next();
      })
      // some code here
  }

Is it simple like that? @Romakita

Yes it’s possible to load container for a request like that :D

Forgot to mention you also need to remove the code request.createContainer(); in EndpointBuilder, because everytime you call createContainer, it will create a new Map.
private bindRequest(endpoint: EndpointMetadata, debug: boolean) {
    return (request: any, response: any, next: any) => {
      // some code here
      //request.createContainer();
      // some code here
    };
  }

In the end my hack is something like this :)
// use this before any other middlewares
this.expressApp.use((_req, _res, next) => {
      (_req as any).createContainer();
      next();
    });

Object.defineProperty((express as any).request, '_container', {
  get: function () {
    return this.__container;
  },
  set: function (c) {
    console.log('create container');
    if (this.__container) {
      return;
    }
    this.__container = c;
  },
});

Note: I can not overwrite method createContainer as it's readonly property, so I need to overwite the private _container field :)
I think it will be great if you can find time to fix it, or I will try to see to fix and create pull request (need to figure out how to build this project first).
Great framework anyway, really love it.

Here the guide to work on Ts.ED http://tsed.io/contributing.html#how-to-work-on-ts-ed ;)


Add a missing 's' to "certain sensitive meeting"

@MikePlumleyMSFT
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Weird behaviour on video ended

Hey :)
Unfortunately I am experiencing a new issue that occurs when a video has ended.  Depending on the video the ended
event is dispatched multiple times together with some visual jumping.
Code:

import { TimingProvider } from "timing-provider";
import { TimingObject } from "timing-object";
import { setTimingsrc } from "timingsrc";

const video1 = document.querySelector("#video1");

const timingProvider = new TimingProvider("ws://localhost:3002");
const timingObject = new TimingObject(timingProvider);

video1.addEventListener("ended", console.log);

timingObject.addEventListener("readystatechange", () => {
  if (timingObject.readyState === "open") {
    setTimingsrc(video1, timingObject);
    timingObject.update({ velocity: 1 });
  }
});

Result:
https://user-images.githubusercontent.com/28539818/114894885-4ee10580-9e0f-11eb-9920-dd33a16eb470.mov
Any ideas?

Thanks a lot for reporting this. There was a flaw in the logic which updates the media element. I hope it's fixed now.

Nice! Will check asap


aiken uplc encode command error

What Git revision are you using?
aiken v1.0.13-alpha 97acd6d
What operating system are you using, and which version?

[ ] Linux / Ubuntu
[ ] Linux / Other
[x] macOS
[ ] Windows

Describe what the problem is?
On the latest version of the aiken tool the encoding to named-debruijn has broken giving the following type of errors:
Error:   × error at 221:208: expected one of "(", [' ' | '\n']

What should be the expected behavior?
I can confirm that this worked properly on commit 699467a876f54232833e034a0b21deea4f3a69af.

EDIT: the change may have happened in the build, too.
When I build with aiken v1.0.13-alpha 97acd6d (aiken build --uplc) and then encode with the 699467a876f54232833e034a0b21deea4f3a69af the same error happens.
The only correct way to do it now is to both build and encode with the 699467a876f54232833e034a0b21deea4f3a69af

Do you know the UPLC causing problems?

I don't remember which file I've used previously.
So let's look at a new one.
The error:
Error:   × error at 6713:631: expected one of "(", "bool", "bytestring", "data",
  │ "integer", "string", "unit", [' ' | '\n']

The line 6713:
(list pair<data, data>)

Some extra context around the line:
[
  (builtin
    mapData
  )
  (con
    (list pair<data, data>)
    []
  )
]

yea so this is a bug in the uplc formatter. We recently updated things, not sure how we missed that.

I found the issue, it's specifically with how we format pair types, seems like we never adjusted that.


skip_root_node does not work

I have been looking around for egui tree widget examples, and yours looks very promising. The only things which confused me was the skip_root_node TreeView option. It can be set, but has no effect. And a look the sources revealed that skip_root_node is nowhere used. Is this still work in progress ? Or is there a specific reason this is not implemented (yet) ?

I got interrupted by the busy holiday season so I haven't had a chance to resume working on this project yet. The tree widget is sort of half-finished right now, but the concept is there at least.


Support for resultEventRef in Actions for Kogito Serverless

Description
Hello everyone, I want to express my appreciation for your outstanding work! I'm curious if there are any plans to introduce support for resultEventRef in actions, as outlined in specification version 0.8x? While I understand that it can currently be emulated within callback states, its absence in parallel and foreach states is of utmost importance for my use case.
Implementation ideas
No response

There are not currently plans to support them in 0.8 implementation. Please note that you can include subflows in a parallel branch and that subflows can use intermediate (not starting ones) event states to stop that branch (Im assuming the first that a parallel branch will do is not consume the event, for that purpose, see next parragraph). You can do the same in for each, but I do not recomment to stop the loop waiting for an event, it wont have much sense.
Also note that if your goal is to consume several event types and depending on the event type you want to execute one action or another you can associate a set of event types with a set of actions using event type.

@fjtirado, thanks for your comment! I believe subflows should work for me.


notification checkbox and settings icon don't show up until page is huge

this is probably a side-effect of using large fonts (accessibility needs - default 20 min 18. note that using zoom is not the same and not a valid test for large fonts.)
Unless i make my window really wide, i don't see the checkbox to mark all notifications read or the settings icon.
this is my window at ~1000 pixels wide.

I have to expand it to ~1170 to see the checkbox.

Pixels these days are weird but it feels like i have to make it way wider than i should in order to be able to see those. The default css has them always visible, which i would prefer.

Hi!
This is definitely a bug, the notification toolbar show be displayed no matter the window width.
Here's what it looks like on my end at 1000px wide:

Can confirm, this is fixed if you install the latest version of Tangerine UI :)


Issues while trying to upload to gdrive

Hi!
Can you please look at the log and tell me what's wrong?
INFO: starting new backup job: vzdump 201 --notes-template '{{guestname}}' --all 0 --mode snapshot --mailnotification always --storage local --node proxdj1 --compress zstd
INFO: Deleting backups older than 3 days.
INFO: Starting Backup of VM 201 (lxc)
INFO: Backup started at 2023-07-13 11:02:22
INFO: status = running
INFO: CT Name: mqtt
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
  Logical volume "snap_vm-201-disk-0_vzdump" created.
INFO: creating vzdump archive '/var/lib/vz/dump/vzdump-lxc-201-2023_07_13-11_02_22.tar.zst'
INFO: Total bytes written: 685680640 (654MiB, 116MiB/s)
INFO: archive file size: 210MB
INFO: adding notes to backup
INFO: Backing up  to remote storage
INFO: rcloning /var/lib/vz/dump//rclone/2023/07/13
INFO: Usage:
INFO:   rclone copy source:path dest:path [flags]
INFO: Flags:
INFO:       --create-empty-src-dirs   Create empty source dirs on destination after copy
INFO:   -h, --help                    help for copy
INFO: Use "rclone [command] --help" for more information about a command.
INFO: Use "rclone help flags" for to see the global flags.
INFO: Use "rclone help backends" for a list of supported services.
INFO: Command copy needs 2 arguments minimum: you provided 1 non flag arguments: ["gd-backup_crypt:/2023/07/13"]
INFO: cleanup temporary 'vzdump' snapshot
  Logical volume "snap_vm-201-disk-0_vzdump" successfully removed.
INFO: Finished Backup of VM 201 (00:00:07)
INFO: Backup finished at 2023-07-13 11:02:29
INFO: Backing up main PVE configs
INFO: Tar files
INFO: Compressing files
INFO: /var/tmp/proxmox-o5qXaChE/proxmoxetc.2023-07-<IP_ADDRESS>.tar
INFO: /var/tmp/proxmox-o5qXaChE/proxmoxpve.2023-07-<IP_ADDRESS>.tar
INFO: /var/tmp/proxmox-o5qXaChE/proxmoxroot.2023-07-<IP_ADDRESS>.tar
INFO: '/var/tmp/proxmox-o5qXaChE/proxmox_backup_prox.server.local_2023-07-<IP_ADDRESS>.tar.gz' -> '/var/lib/vz/dump/proxmox_backup_prox.server.local_2023-07-<IP_ADDRESS>.tar.gz'
INFO: rcloning /var/tmp/proxmox-o5qXaChE/proxmox_backup_prox.server.local_2023-07-<IP_ADDRESS>.tar.gz
INFO: 2023/07/13 11:02:29 Failed to create file system for "gd-backup_crypt:/2023/07/13": didn't find section in config file
INFO: Cleaning up
INFO: Backing up main PVE configs
INFO: Tar files
INFO: Compressing files
INFO: /var/tmp/proxmox-JBNIIhau/proxmoxetc.2023-07-<IP_ADDRESS>.tar
INFO: /var/tmp/proxmox-JBNIIhau/proxmoxpve.2023-07-<IP_ADDRESS>.tar
INFO: /var/tmp/proxmox-JBNIIhau/proxmoxroot.2023-07-<IP_ADDRESS>.tar
INFO: '/var/tmp/proxmox-JBNIIhau/proxmox_backup_prox.server.local_2023-07-<IP_ADDRESS>.tar.gz' -> '/var/lib/vz/dump/proxmox_backup_prox.server.local_2023-07-<IP_ADDRESS>.tar.gz'
INFO: rcloning /var/tmp/proxmox-JBNIIhau/proxmox_backup_prox.server.local_2023-07-<IP_ADDRESS>.tar.gz
INFO: 2023/07/13 11:02:29 Failed to create file system for "gd-backup_crypt:/2023/07/13": didn't find section in config file
INFO: Cleaning up
ERROR: Backup job failed - command '/root/proxmox-vzbackup-rclone/vzbackup-rclone.sh job-end' failed: exit code 1
ERROR: command '/root/proxmox-vzbackup-rclone/vzbackup-rclone.sh job-abort' failed: exit code 1
TASK ERROR: command '/root/proxmox-vzbackup-rclone/vzbackup-rclone.sh job-end' failed: exit code 1 command '/root/proxmox-vzbackup-rclone/vzbackup-rclone.sh job-abort' failed: exit code 1

Solved. Renaming config file for rclone to "[gd-backup_crypt]"

@DJKatastrof Which config file did you rename?
Experiencing the same issue here.
/root/.config/rclone/rclone.conf ?


Clerk Authentication

Want to implement Clerk Authentication in Webapp.

Can You Please Assign me hacktoberfest tag i will update it by today afternoon and send you a pull request


4K content not working on Tizen 6.0

Have you read the FAQ and checked for duplicate open issues?
yes
What version of Shaka Player are you using?
4.1.1
Can you reproduce the issue with our latest release version?
yes
Can you reproduce the issue with the latest code from main?
yes
Are you using the demo app or your own custom app?
custom
If custom app, can you reproduce the issue using our demo app?
yes
What browser and OS are you using?
Tizen 6.0
Chrome 76
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
model: QE43Q65AAUXXH
firmware: T-NKLADEUC-2001.4
What are the manifest and license server URIs?

https://cdn.bitmovin.com/content/demos/4k/38e843e0-1998-11e9-8a92-c734cd79b4dc/manifest.m3u8
What configuration are you using?  What is the output of player.getConfiguration()?

default configuration
What did you do?

Play the video. Select 4k variant track.
What did you expect to happen?
Video is playing.
What actually happened?

I am getting this error:
detail: Re
category: 3
code: 3016
data: (3) [3, undefined, ""]
handled: false
severity: 2

I've tried playing other 4k videos (hls and dash) as well and I always get an error. This happens when ABR automatically starts a track, either I select the 4k track with a setSelectTrack method, or I can set restrictions > minHeight to 1600 or higher.

Sintel 4k from Shaka Player demo page works fine on TV.
I also sent you an email with additional manifest URI which is not working.

It looks like a decoder error from the platform (3016).  If the "Sintel 4k" from the demo works, what about your own content differs?  Profile?  Bitrate?  Framerate?  Some aspect of your content is causing the decoder to fail.
We don't have a Tizen 6 device to test with, so you will have to do the investigation yourself.  We will do our best to provide guidance.


Migrate to null safety.

Fixes adaptant-labs/lipsum-dart#100.

Sorry for the typo - I meant to say this "Fixes adaptant-labs/lipsum-dart#4."


fix fix analysis

Proposed changes
Issue Number: close #xxx
Problem summary
Add index id as a field of table column_statistics so that we could find the column type when deserialize the result row of materialized view statistics record
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.04 seconds
load time: 442 seconds
storage size:<PHONE_NUMBER>1 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221207120614_clickbench_pr_59346.html


Allow all doctests in a file to be loaded

The old config for doctest sources required each doctest to be specified explicitly:
"hw1.py:square": "doctest",
"hw1.py:double": "doctest"

This PR allows staff to simply specify the filename, and all the doctests in that file will be loaded:
"hw1.py": "doctest"

Both formats are supported.

Also, can you just change "Server submission successful" to "Backup successful"? It's not a logical change in any way, so it shouldn't change functionality.

Changed "server submission successful" -> "Backup successful" and responded to inline comments.

LGTM.


expose strange bug

What was wrong?
The DiscoveryService had an asyncio.Lock object set as a class variable.  Aside from this being problematic since it would mean that all instances of the DiscoveryService share this object, instantiating the Lock() object has the side effect of populating the default event loop for the thread.
The p2p.discovery module is imported in the ./tests/trinity/conftest.py file which is loaded when running the integration tests.  This results in the event loop being set prior to the execution of those tests.

In the async_process_runner fixture, manually attach the event loop to the watcher.
Cute Animal Picture

Might end up futzing with this some more since I've found uvloop doesn't implement this API.


iOS: TestFlight has expired

Smartphone (please complete the following information):

Device: [e.g. iPhone6] iPhone 11
OS: [e.g. iOS8.1] 14.1
Browser [e.g. stock browser, safari] ....app!
Version [e.g. 22] idk, it won't start!

Additional context
the app won't start.

We are aware of the issue and working on fixing it.

This was fixed long time ago. Closing.


Cannot use use models with irregular (non-pluralized) names

When setting up a factory for a model that has a non-pluralized name I get an error, Cannot read property 'insert' of undefined since mirage cannot find the collection in the db[collection] in the final line of the this.create function:
`
this.create = function (type, overrides) {
var collection = inflector.pluralize(type);
var currentRecords = this.db[collection];
var sequence = currentRecords ? currentRecords.length : 0;
if (!this._factoryMap || !this._factoryMap[type]) {
throw 'You're trying to create a ' + type + ', but no factory for this type was found';
}
var OriginalFactory = this._factoryMap[type];
var Factory = OriginalFactory.extend(overrides);
var factory = new Factory();
  var attrs = factory.build(sequence);
  return this.db[collection].insert(attrs);
};

`
The factory name in this case is 'campus' and should also resolve to 'campus' and not 'campuses'.
Is there anyway to override this at the moment?

So you have the file /factories/campus.js and you're calling server.create('campus')?

Right, the factory is under /factory/campus.js but it is an irregular store, so
Ember.Inflector.inflector.irregular('campus', 'campuses');

Ah I see...nope not right now unfortunately, you could dive in or I can look into this in a bit...I'm trying to focus my efforts on the orm stuff right now to get that out the door

The issue seems to be resolved with 0.1.6

¯_(ツ)_/¯ not sure what changed..if it comes up again feel free to reopen! thanks for following up on this :)


ArangoSearch: Upgrade to Snowball 2 (additional stemmer languages)

Scope & Purpose
Upgrade Snowball dependency and add/enable stemming support for additional languages:

Arabic (ar)
Basque (eu)
Catalan (ca)
Danish (da)
Greek (el)
Hindi (hi)
Hungarian (hu)
Indonesian (id)
Irish (ga)
Lithuanian (lt)
Nepali (ne)
Romanian (ro)
Serbian (sr)
Tamil (ta)
Turkish (tr)

Example:
RETURN TOKENS("αυτοκινητουσ πρωταγωνιστούσαν", "text_el")
// [ [ "αυτοκινητ", "πρωταγωνιστ" ] ]

Related Information

There is an internal planning ticket: https://github.com/arangodb/backlog/issues/661
A user asked in the community slack about support for Greek stemming
Original PR was against 3.5: #10515

Testing & Verification
Added js test to verify new stemmer is available and working

https://jenkins.arangodb.biz/view/PR/job/arangodb-matrix-pr/9080/

Pulled latest devel
https://jenkins.arangodb.biz/view/PR/job/arangodb-matrix-pr/9083/

Docs PR: https://github.com/arangodb/docs/pull/374


Avoid culling for internal transparent voxels

By default matplotlib will cull internal voxels even if the surrounding voxels have transparency. This change adds an extra "internal_faces" parameter to the ax.voxel() method which, when set, ensures internal voxels are still rendered.
This change is based on the following upstream WIP PR:
https://github.com/matplotlib/matplotlib/pull/9927

Superseded by #7; will close.


Entrypoints permissions fix

Description
It is a fix for problems with "permission denied" error running Defect Dojo on Oracle Linux 8 (RHEL) in rootless mode. Permissions are preserved from the host system during copy so we have to make sure that the files will have execution permission in container.
More details: https://github.com/DefectDojo/django-DefectDojo/issues/5973
Test results
DD works as expected, not a big of a change.

Please submit your PR against the bugfix branch, for more details:
https://github.com/DefectDojo/django-DefectDojo/blob/master/readme-docs/CONTRIBUTING.md#submitting-pull-requests

yea sorry forgot about it


chore: make arguements to methods in base reporter optional

Summary
If people extend the class they won't have to pass the arguments to please TS

Test plan
Green CI

Codecov Report

Merging #9159 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9159   +/-   ##
=======================================
  Coverage   64.83%   64.83%
=======================================
  Files         278      278
  Lines       11732    11732
  Branches     2882     2883    +1
=======================================
  Hits         7607     7607
  Misses       3508     3508
  Partials      617      617

Impacted Files
Coverage Δ

packages/jest-reporters/src/base_reporter.ts
80% <ø> (ø)
:arrow_up:

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 8cb768e...64b76b3. Read the comment docs.


how to backup & restore Bosh Deployments and core Cloud Foundry internal services

Hi everyone i have been working on shield backup and restore past three weeks it is awesome service to backup and restore bosh deployments thanks to starkandwayne. As a beginner using the shield i am, successful in backup & restore  non-core Cloud Foundry services  (PostgreSQL). But unfortunately i have no idea how to backup cor Cloud Foundry internal services and any Bosh Deployments. If any documentation available please do need full help (or) any information is available please provide us. Thanks in advance.
Thank You
Best Regards
Abhilash S

Hi Abhilash!!! It is definitely possible, it needs documentation. We'll get someone to look into publishing some documentation about it.

Hi wayn thanks for your quick reply, thank you so much for your information hope to see your publishment soon. Have a good day. Thanks in advance.
Thank You
Best Regrads
Abhilash S

@johnlonganecker any forward progress on this?

I believe it got reassigned @norman-abramovitz and/or @7hunderbird do you remember?

Hey @jhunt,
are you still working on a "getting started" guide?

I am, as part of the v8 launch


Enable building rnaseq image using GHA

Build Docker image using GitHub Actions
Updating an image
To update an existing image, you should make sure these steps are made:

[ ] Add or modify versions of tools or their hashes in corresponding .txt or .sh files
[ ] Note changes in README.md of the corresponding Docker image folder
[ ] Note changes in docs/CHANGELOG.rst
[ ] Bump TAG version in build.env
[ ] (optionally) Bump BASE_IMAGE in build.env
[ ] Build your image locally to make sure it builds successfully
[ ] Validate the image by using it in a process (in i.e. resolwe-bio)

Creating a new image
If you are creating a new Docker image (folder), you should follow at least these steps to successfully build and have your pull request approved:

[ ] A corresponding image folder/project needs to be created on AWS ECR (contact DevOps) before a push is made.

[ ] Prepare all necessary files to build the image (see other examples in this repository)

[ ] Create, build.env file (in the same folder as Dockerfile) which includes the following tags:

BASE_IMAGE is the image used to build your Dockerfile, i.e. BASE_IMAGE=public.ecr.aws/genialis/resolwebio/base:ubuntu-22.04-14112023.
REPOSITORY is the name of the image once built, for example REPOSITORY=resolwebio/common.
TAG will be the tag of the image, i.e. TAG=common:0.0.0.

[ ] Add a repository to on > workflow_dispatch > inputs > IMAGE > options in .github/workflows/docker_build.yml. This will enable the option to build this specific image under Actions > Workflows > Build docker images. Example of base and common images under options:
on:
  workflow_dispatch:
    inputs:
      SUPPORTED_PLATFORMS:
        default: 'linux/amd64'
        type: choice
        options:
        - 'linux/amd64'
        - 'linux/amd64,linux/arm64'
      IMAGE:
        type: choice
        options:
          - 'base'
          - 'common'

See an example of this in i.e. this pull request.

@zkuralt we forgot about this needed change.
@romunov please leave your review


Why does setting border size to 0 still create a border?

I used the following code:
    jtButton.borderWidth = 0
    jtButton.bgColor = UIColor(hex: "5abb5a")
    jtButton.titleColor = .white
    jtButton.iconColor = .white
    jtButton.createTitle("Home", withIcon: #imageLiteral(resourceName: "home"), font: nil, iconOffsetY: 0)
    jtButton.touchEffectEnabled = true
    jtButton.cornerRadius = jtButton.height / 2

I have already set the border width to 0 in the first line, but it appears to still have a border:

You can see on the border there there is a slightly brighter green color.

Try to set borderWidth after the createTitle. This could be improved.

Can you make it so that I does not have to set it after createTitle? A method should have as few side effects as possible, should it not?


feat: add message toggle

Motivation
When focused on coding the error message might be an obstacle in the editor.
So maybe it is better to add a control to let the user decide whether to show the message or not.
Changes

Add MessageToggle component
Add showMessage ref and use MessageToggle in EditorContaner to control Message render

Screenshots

This PR can possibly solve #64

Thanks for the PR - we just merged a major PR that lands Monaco editor support which seems to have caused some conflict. Would you mind rebasing your PR?

Oh, sure thing!

Rebase done. I noticed that the codeType in CodeMirrorEditor is wrong. I also added the fix code. Hope it is OK

I tried it, but not sure if the top-right corner is the right place to put the toggle. It's quite far from the messages themselves so the connection is not obvious.
Maybe it should be floating in the bottom-left corner of the editor - so when the user dismisses an error when they don't want it, they can instantly find the toggle to turn it off.

Indeed
And I've tried placing the toggle at the bottom-left corner of the editor. It would
cover up some of the message content.
So I move it to the bottom-right corner.
Right now it looks like this:


Add 1.4.1 release

Signed-off-by: Anna Jung (VMware<EMAIL_ADDRESS>
Add 1.4.1 release information

Based on 1.4.1 tracking issue, versions of the components stay the same for 1.4.1. The only change made for 1.4.1 is https://github.com/kubeflow/manifests/pull/2092

Update Kserve version for 1.4

Kserve version used for 1.4 release is 0.6.1

cc @kubeflow/release-team

Thanks @annajung!
/approve
/lgtm


Coverage option for editor support

Summary
When using the Jest extension in vscode, running coverage is often slow so it would be nice to be able to turn it on and off as needed.

Test plan
Unit test is included.

Codecov Report

Merging #5836 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #5836      +/-   ##
==========================================
+ Coverage   63.74%   63.75%   +<.01%
==========================================
  Files         216      216
  Lines        7941     7943       +2
  Branches        4        4
==========================================
+ Hits         5062     5064       +2
  Misses       2878     2878
  Partials        1        1

Impacted Files
Coverage Δ

packages/jest-editor-support/src/types.js
100% <ø> (ø)
:arrow_up:

packages/jest-editor-support/src/Runner.js
69.04% <100%> (+0.75%)
:arrow_up:

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 124067e...6736721. Read the comment docs.

Your PR contains unresolved merge conflicts (<<<<<<< HEAD lines and similar).

If you haven't noticed, your PR contains unresolved merge conflicts (<<<<<<< HEAD lines and similar).

@stephtr sorry about that. Will fix.

Oh, dang, I missed this, this looks 👍  to me once cleaned up from the merge 💟

@stephtr @orta fixed those conflicts and updated. Thanks!

One small thing I nearly missed: Please also update the TypeScript definition.

One small thing I nearly missed: Please also update the TypeScript definition.

@stephtr added in 596eefa1. Should be ready now.

The circle failure looks like its in an unrelated test. Anything I need to do about that?


ol.interaction.Draw.extend() fails to render point at mouse position

Describe the bug
When ol.interaction.Draw is added to the map it normally has the point rendered where the current cursor is positioned.
Once it has had extend() called on it (to continue with an existing feature) the point at the cursor position is not rendered anymore.
To Reproduce
Steps to reproduce the behavior:

Go to https://jsfiddle.net/frozenghost/g8u9c3w4/
Move mouse over top map, note how point is shown below cursor

Move mouse over bottom map, note how no point is shown below cursor

Expected behavior
I would expect both these maps to display the same behaviour.

I can still reproduce the issue consistently on the jsfiddle, across all the major browsers, and it is using the latest OL 6.4.3 so there isn’t really anything more I can do...


Link with data-remote and data-confirm

I have this link:
Delete

If I click 'Cancel' in confirm window, request is still being send.
Solution: move code to handle 'a[data-confirm], button[data-confirm]' above code for 'a[data-method]'. Problem happens because data-method handler create form and submit it, then data-confirm handler will try to stop event.

Sorry for the delay in looking at this. I don't think that changing the order of registration will help here, because the current confirm method only hooks the click event on links and buttons and inputs. We would also need to change the confirm handler to be triggered by an enclosing form's submit method. The method handler wraps the link in a form, then calls that form's submit method. I suspect that the reason the Rails UJS handler can deal with this is that it does not call submit immediately, but rather sends a synthetic event named something like rails:submit. This, in turn allows a last-ditch for confirmation, since it wraps around the actual form submission, whether that is a real form or one of these injected forms.

I tested this in a new stunt app, and found a different issue. If you add method: :delete, remote: true and data: { confirm: 'Are you sure?' } to a link, the cancel option works as expected. However, in a vanilla Rails 4.2.5 application, the controller attempts to redirect to a DELETE route, rather than a GET route (this is with a normal resources :actors method in my routes file).
Started DELETE "/actors/3" for <IP_ADDRESS> at 2016-03-05 11:22:12 -0500
Processing by ActorsController#destroy as */*
  Parameters: {"id"=>"3"}
  Actor Load (0.5ms)  SELECT  `actors`.* FROM `actors` WHERE `actors`.`id` = 3 LIMIT 1
   (0.2ms)  BEGIN
  SQL (0.6ms)  DELETE FROM `actors` WHERE `actors`.`id` = 3
   (3.4ms)  COMMIT
Redirected to http://localhost:3000/actors
Completed 302 Found in 8ms (ActiveRecord: 4.8ms)

Started DELETE "/actors" for <IP_ADDRESS> at 2016-03-05 11:22:12 -0500
```

When I removed all other format options from the destroy method in my actors_controller, it worked correctly, but what it looks like is we are not sending the correct request headers in the form for the controller to figure out that the request is a JS request. I will dig into this later if I get a chance.

Comparing these responses to a jQuery UJS delete link, I see that with jQuery, the server responds to the click as it should:
Started DELETE "/things/19" for <IP_ADDRESS> at 2016-03-06 11:25:57 -0500
Processing by ThingsController#destroy as JS
  Parameters: {"id"=>"19"}
  Thing Load (0.5ms)  SELECT  "things".* FROM "things" WHERE "things"."id" = $1 LIMIT 1  [["id", 19]]
   (0.2ms)  BEGIN
  SQL (0.3ms)  DELETE FROM "things" WHERE "things"."id" = $1  [["id", 19]]
   (0.7ms)  COMMIT
   (0.7ms)  SELECT COUNT(*) FROM "things"
  Rendered things/destroy.js.erb (1.6ms)
Completed 200 OK in 14ms (Views: 9.0ms | ActiveRecord: 2.4ms)

Comparing the two in the Resources tab of Safari Web Inspector, I can see that jQuery's Ajax method is setting an Accepts: header with application/javascript and its variants, and it also sets a Content-Type: header with text/javascript. LiteAjax in vanilla-ujs is sending text/plain and no Accepts. I am going to see if this bug can be circumvented by doing either of these.

Okay, we have a winner. Adding a single (long) line to LiteJs gives us the desired result of having the remote: true links be noted "as JS" by the Rails controller. Adding another two lines ensures that even a tail-less URL will be treated as content-type 'text/javascript' rather than 'text/plain', although that is not really necessary to get the controller to wake up and consider the request to be a JS request.
I am going to add a new issue and attach a patch request, since this came about in the wrong context.

Should be fixed by #16. Thankx @walterdavis


[nickjr.com] ERROR: Unable to download XML

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

C:\Users\Desktop\youtube-dl>youtube-dl.exe -F http://www.nickjr.com/blaze-and-the-monster-machines/videos/blaze-and-the-monster-machines-5-3-abra-ka-pickle-s5-ep505-full-episode/ -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', 'http://www.nickjr.com/blaze-and-the-monster-machines/videos/blaze-and-the-monster-machines-5-3-abra-ka-pickle-s5-ep505-full-episode/', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2019.10.22
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg git-2019-10-19-ed78ca4, ffprobe git-2019-10-19-ed78ca4, rtmpdump 2.4
[debug] Proxy map: {}
[debug] Using fake IP <IP_ADDRESS> (US) as X-Forwarded-For.
[nick.com] blaze-and-the-monster-machines-5-3-abra-ka-pickle-s5-ep505-full-episode: Downloading JSON metadata
[nick.com] 6c50a875-e612-11e9-9fb2-70df2f866ace: Downloading info
ERROR: Unable to download XML: HTTP Error 500: Internal Server Error (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpifszpy0p\build\youtube_dl\extractor\common.py", line 627, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpifszpy0p\build\youtube_dl\YoutubeDL.py", line 2237, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
...
<end of log>

Single video: http://www.nickjr.com/blaze-and-the-monster-machines/videos/blaze-and-the-monster-machines-5-3-abra-ka-pickle-s5-ep505-full-episode/

Description of issue
Fails to download info..

> py -3.7 .\youtube_dl\__main__.py http://www.nickjr.com/blaze-and-the-monster-machines/videos/blaze-and-the-monster-machines-5-3-abra-ka-pickle-s5-ep505-full-episode/
[nick.com] blaze-and-the-monster-machines-5-3-abra-ka-pickle-s5-ep505-full-episode: Downloading JSON metadata
[nick.com] 6c50a875-e612-11e9-9fb2-70df2f866ace: Downloading info
[nick.com] f1787474-5dfd-4a25-88e7-980e3b0561d1: Extracting information
[nick.com] f1787474-5dfd-4a25-88e7-980e3b0561d1: Downloading video urls
[nick.com] f1787474-5dfd-4a25-88e7-980e3b0561d1: Downloading m3u8 information
[nick.com] fe5cabe5-2a6a-4d58-8973-3356a8672332: Extracting information
[nick.com] fe5cabe5-2a6a-4d58-8973-3356a8672332: Downloading video urls
[nick.com] fe5cabe5-2a6a-4d58-8973-3356a8672332: Downloading m3u8 information
[nick.com] 9f90eb05-2ff1-47c2-9726-59b7a110c885: Extracting information
[nick.com] 9f90eb05-2ff1-47c2-9726-59b7a110c885: Downloading video urls
[nick.com] 9f90eb05-2ff1-47c2-9726-59b7a110c885: Downloading m3u8 information
[download] Downloading playlist: Abra-Ka-Pickle!
[nick.com] playlist Abra-Ka-Pickle!: Collected 3 video ids (downloading 3 of them)
[download] Downloading video 1 of 3
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 5
[download] Destination: Blaze and the Monster Machines - 'Abra-Ka-Pickle!' S1-f1787474-5dfd-4a25-88e7-980e3b0561d1.mp4
[download]   5.3% of ~18.80MiB at  2.71MiB/s ETA 00:21
ERROR: Interrupted by user


Add temporary fix for strawberry.auto and future annotations

This PR is a temporary fix for auto not working when using from __future__ import annotations.
We should find a better way to fix this, but it will take a bit of time to refactor some of the code. /cc @thejaminator maybe we can discuss how to best make this work :)
It might fix #1819, @eddysen I'll make a pre-release, could you check if that works for you? :)

Pre-release
:wave:
Releasing commit [bff7b709b3727daa696663b9fb0b86c362673a95] to PyPi as pre-release! :package:


HTML Blocks do not roundtrip through Slate transform either...

Describe the bug
HTML blocks do not roundtrip through the slate transform.
To Reproduce
bash-3.2$ cat test/data/html-block.md
<foo>
this
is an
html block.
</foo>
bash-3.2$ markus --version
0.9.9
bash-3.2$ markus normalize --sample test/data/html-block.md --cicero
markus normalize --sample test/data/html-block.md --cicero
11:56:52 AM - info:
<foo>
this
is an
html block.
</foo>
end.
bash-3.2$ markus normalize --sample test/data/html-block.md --slate
bash-3.2$

Expected behavior
HTML blocks should roundtrip.
Additional context
Test clearly shows it's not working:
https://github.com/accordproject/markdown-transform/blob/7e1a4f990852c27e2cecd23c6b0deb465dbce5d6/packages/markdown-slate/src/__snapshots__/SlateTransformer.test.js.snap#L1631-L1642

Fixed in #177


Update results.py

When looping through different threshholds, there is 0.0125 instead of 0.125 leading the algorythm to effectively skip this step.
-> for value in (0.01, 0.025, 0.05, 0.075, 0.1, 0.0125, 0.15, 0.2, 0.25):

Thanks the for fix. Very much appreciated!


Multimonitor issues

Today I get a new monitor and I'm trying to create a multimonitor setup, but the dwm module only works as expected on the monitor 1 (at the left), on monitor 2 (at the right) it doesn't show anything.
Left monitor

Right monitor

Here is my polybar config file

What doesn't it show? What exactly is working on the left monitor that doesn't on the right? Is it always the right monitor that doesn't work correctly if you restart polybar a bunch of times? Which monitor's bar is launched first when you launch the bars?

it works sometimes, as you can see in the picture, on the 2nd. monitor appears all as empty tags (when one of them is ocuppied), if I change tags (with the shiftview patch) the focused tag on polybar don't change. Right now the module is working, but when I click to change to other tag takes a lot of time to do it,  and the bar at the second monitor is opaque, not transparent (this is more a polybar issue than your module though)

For the issue where the selected tag appears empty, it's because you have the following in your config:
; unfocused = Inactive tag on any monitor
label-unfocused = %name%
label-unfocused-padding = 1

This is the state of a selected tag on an unfocused monitor regardless of if its occupied.
Now for your other issues. First, please double check to make sure you are using the latest version of the module and the patch.
How long does it take to switch tags? One thing that could be a potential cause is you using the module multiple times, though this shouldn't significantly affect performance. Each use of the module opens two connections to dwm, so your polybar bars in total are using 8 connections. I don't see any issues on my computer when I use the module twice on each of my two bars, so I'm not sure if this would be causing the delay.
With the shiftview patch, does it never change, or only sometimes not change? One thing I'd like you to check for this is running dwm-msg subscribe tag_change_event and tell me if using the shiftview patch results in dwm-msg receiving tag change event messages.
Do any of these issues occur if you run only one instance of the module on each bar?

I downloaded the lastest version and try again with one instance of the module, is still taking a lot of time (4 or 5 seconds) to change tags when I click on the module, with shiftview changes immediately.
Here's the  output of dwm-msg subscribe tag_change_event, the first two events are with shiftview, the last two are clicking on the  bar.

I'm not interested in the output of dwm-msg subscribe tag_change_event, rather if there's a delay in receiving messages when you change tags. With that command running in a terminal, let me know if there are any delays in receiving messages after changing tags by different methods i.e. clicking on polybar, using MOD+, using shiftview. This should help narrow down if this is a module problem or an IPC patch problem.
After that I'd like you to tell me if there is any delay (either updating polybar, or actual tag changing) when running the following command: dwm-msg run_command view <some number>
Also, when you click the the tag on polybar, is the delay in actually switching tags or just updating the bar?

There's delay only when I change to an empty tag. Example, if I'm on tag 2 with a terminal and change to tag 3 which is empty, the dwm module updates (the focused symbol changes to the tag 3), but the windows still visible like for 5 seconds or more. This only happens when I use the polybar panel to change tags. There's no delay on the output of dwm-msg subscribe tag_change_event. There's no delay when running  dwm-msg run_command view <some number> neither.

Are you using the anybar patch? This issue may be the issue described here: https://github.com/mihirlad55/polybar-dwm-module/issues/1. Let me know if that describes the issue you seem to be having.
Try the following:

Click an occupied tag on polybar
Click an empty tag on polybar
Move your cursor off the bar

Tell me if the actual tag change appears as soon as the cursor is off the bar.

Ok, that is. When I move the mouse from the bar the tag changes. I feel kinda dumb that I didn't realize that before

No worries, it took me forever to detect this issue a while ago. Do you have the anybar patch applied though? One of the things the patch is supposed to do is fix this issue. Your config says override-redirect = false which leads me to believe you do have it applied, but if you have it applied, this issue should not be occurring.

Yes, I have it, I manually checked the  patch and the dwm.c to be sure that all the code was applied (sometimes some hunks fails, but I don't realize and the program compile).

I took a look at your dwm repo, but I didn't find anything wrong.
Would you mind trying the polybar module on dwm with only the IPC patch and anybar patch applied? This would help determine if there is a conflicting patch or something else causing this.

It happens the same using a fresh build of dwm with just the IPC and anybar patch

I can't seem to reproduce this issue. It's weird that this is happening with the anybar patch applied. This might take some deeper debugging to determine the issue. Just so I can have all the details, could you reply with the following in the following format:
Describe the issue
A clear and concise description of what the bug is.
Expected behavior:
A clear and concise description of what you expected to happen.
Actual behavior:
What actually happens
Was it working before?

Did you also experience this bug in an earlier version of polybar?
If no, what was the last version where this worked correctly?

To Reproduce
A minimal but complete config with which the problem occurs:

List any other steps needed to reproduce the issue besides starting polybar with the config you posted above.
Polybar Log
Post everything polybar outputs to the terminal when you run it and the issue occurs below

Screenshots
If applicable, add screenshots to help explain your problem.
Environment:

WM:
Distro:
Output of polybar -vvv:

Additional context
Add any other context that you think is necessary about the problem here.

name: Bug Report
about: Create a report for something that misbehaves
Describe the issue
When I click on an empty tag on the dwm module it doesn't change until I move the mouse cursor away from the bar.
Expected behavior:
The tag change immediately after I click the tag I want to see
Actual behavior:
The tag doesn't change until I move the mouse away from the bar.
Was it working before?

Did you also experience this bug in an earlier version of polybar?
If no, what was the last version where this worked correctly?

To Reproduce
A minimal but complete config with which the problem occurs:
[colors]
background		= #00282a36
foreground     		= ${xrdb:foreground}
color1			= ${xrdb:color1}
color2			= ${xrdb:color2}
color3			= ${xrdb:color3}
color4			= ${xrdb:color4}
color5			= ${xrdb:color5}
color6			= ${xrdb:color6}
color7			= ${xrdb:color7}
color8			= ${xrdb:color8}
color9			= ${xrdb:color9}
color10			= ${xrdb:color10}
color11			= ${xrdb:color11}
color12			= ${xrdb:color12}
color13			= ${xrdb:color13}
color14			= ${xrdb:color14}
color15			= ${xrdb:color15}

[bar/example]
monitor			= ${env:MONITOR:}
width 			= 100%
height 			= 25
radius 			= 0
fixed-center 		= true
enable-ipc 		= true
background 		= ${colors.background}
foreground 		= ${colors.foreground}
offset-x 		= 0
line-size		= 2
line-color		=
border-bottom-size	= 0
border-top-size 	= 0
border-top-color 	= ${colors.background}
border-bottom-color 	= ${colors.background}
border-size 		=
border-color 		= 4padding-left 		= 0
padding-right 		= 0
module-margin-left 	=
module-margin-right 	=
locale 			= es_MX.UTF-8

font-0 = Source Code Pro:style:medium:size=8;1
font-1 = Material Design Icons:style=Regular:pixelsize=13:antialias=true;3
font-2 = MesloLGS NF:style=Regular:size=15;3
font-3 = Weather Icons:size=12;2

modules-left 	=  sep dwm-layout sep xwindow sep spotify
modules-center 	= dwm
modules-right 	=  date sep key-icon xkeyboard sep arch sep vol-icon pulseaudio sep bat-icon battery sep net
tray-position 	= none
tray-padding 	= 0
tray-background  =
;tray-underline   = #1C98C9
;tray-detached 	  = true
override-redirect   = false

cursor-click = pointer
cursor-scroll = ns-resize

[module/dwm]
type = internal/dwm
format = <label-tags>

enable-tags-click = true
enable-layout-click = true
enable-layout-scroll = true
layout-scroll-wrap = true
layout-scroll-reverse = false
; If enable-layout-click = true, clicking the layout symbol will switch to this layout
secondary-layout-symbol = [M]

; Separator in between shown tags
; label-separator = |

; Title of currently focused window
; Available tokens:
;   %title%
label-title = %title%
label-title-padding = 1
label-title-foreground = ${colors.foreground}
label-title-maxlen = 30

; Symbol of current layout
; Available tokens:
;   %symbol%
label-layout = %symbol%
label-layout-padding = 0
label-layout-foreground = ${colors.foreground}
label-layout-background = ${colors.background}

; Text to show when currently focused window is floating
label-floating = F

; States: focused, unfocused, visible, urgent, empty
; Available tokens:
;   %name%

; focused = Active tag on focused monitor
label-focused = 󰪥
label-focused-background = ${colors.background}
label-focused-foreground = ${colors.foreground}
label-focused-underline=
label-focused-padding = 0

; unfocused = Inactive tag on any monitor
label-unfocused = 󰪥
label-unfocused-padding = 1

; visible = Active tag on unfocused monitor
label-visible = 󰝦
label-visible-background = ${colors.background}
label-visible-foreground = ${colors.foreground}
label-visible-underline =
label-visible-padding = 0

; urgent = Tag with urgency hint set
label-urgent = %name%
label-urgent-background = #aeaeae
label-urgent-padding = 1

; empty = Tags with no windows assigned
; This can be set to an empty string to hide empty tags
label-empty = "󰧟"
label-empty-background = ${colors.background}
;label-empty-foreground = ${colors.color4}
label-empty-padding = 0

List any other steps needed to reproduce the issue besides starting polybar with the config you posted above.

Move the mouse over the dwm module.
Click on the tag I want to see
Move the cursor away from the panel

Polybar Log
Post everything polybar outputs to the terminal when you run it and the issue occurs below
notice: Parsing config file: /home/juan/.config/polybar/dwm
- config_parser: Parsing /home/juan/.config/polybar/dwm
* Enabling xresource manager
* Created ipc channel at: /tmp/polybar_mqueue.6719
* Environment var ${MONITOR} is undefined, using defined fallback value ""
* Loaded monitor LVDS-1 (1600x900+0+0)
* Found matching X resource "foreground" (value=#fbf2c7)
* Bar geometry: 1600x25+0+0; Borders: 0,0,0,0
- bar: Attach X event sink
- bar: Attach signal receiver
- controller: Install signal handler
- controller: Setup user-defined modules
* module/dwm-layout: Initialized formatter and labels
* module/dwm-layout: Connected to dwm socket
* module/dwm-layout: Initialized monitors
* module/dwm-layout: Initialized layout label
* module/dwm-layout: Subscribed to monitor focus change
* Found matching X resource "foreground" (value=#fbf2c7)
* Found matching X resource "foreground" (value=#fbf2c7)
* Found matching X resource "foreground" (value=#fbf2c7)
* Found matching X resource "foreground" (value=#fbf2c7)
* module/dwm: Initialized formatter and labels
* module/dwm: Connected to dwm socket
* module/dwm: Initialized monitors
* module/dwm: Initialized tags
* module/dwm: Subscribed to monitor focus change
* Found matching X resource "foreground" (value=#fbf2c7)
* Found matching X resource "foreground" (value=#fbf2c7)
* Found matching X resource "foreground" (value=#fbf2c7)
* Found matching X resource "color1" (value=#cc241d)
* Found matching X resource "color13" (value=#d3869b)
* Found matching X resource "foreground" (value=#fbf2c7)
* Found matching X resource "color11" (value=#fabd2f)
- pulseaudio: started mainloop
notice: pulseaudio: using default sink alsa_output.pci-0000_00_1b.0.analog-stereo
* Found matching X resource "color9" (value=#fb4934)
* Found matching X resource "color14" (value=#8ec07c)
- pulseaudio: started mainloop
notice: pulseaudio: using default sink alsa_output.pci-0000_00_1b.0.analog-stereo
* Found matching X resource "foreground" (value=#fbf2c7)
* Found matching X resource "color7" (value=#a89984)
* Found matching X resource "color10" (value=#b8bb26)
* Found matching X resource "color12" (value=#83a598)
* Found matching X resource "color10" (value=#b8bb26)
- module/bat-icon: Attach inotify at /sys/class/power_supply/BAT0/energy_now
- module/bat-icon: Attach inotify at /sys/class/power_supply/BAT0/status
* Found matching X resource "foreground" (value=#fbf2c7)
* Found matching X resource "foreground" (value=#fbf2c7)
* Found matching X resource "foreground" (value=#fbf2c7)
- module/battery: Attach inotify at /sys/class/power_supply/BAT0/energy_now
- module/battery: Attach inotify at /sys/class/power_supply/BAT0/status
* Found matching X resource "foreground" (value=#fbf2c7)
* Found matching X resource "foreground" (value=#fbf2c7)
* Starting application
- controller: Main thread id = 1
* Starting module/sep
* Starting module/dwm-layout
* Starting module/sep
- module/dwm-layout: Thread id = 2
- module/sep: Thread id = 3
* Starting module/xwindow
- module/sep: Thread id = 4
* Starting module/sep
* Starting module/spotify
- module/sep: Thread id = 5
* Starting module/dwm
* module/spotify: Invoking shell command: "python ~/.config/polybar/scripts/spotify_status.py -f '{artist} - {song}'"
* Starting module/date
- module/dwm: Thread id = 6
- command: Waiting for pid 6730 to finish...
- module/xwindow: Thread id = 7
* Starting module/sep
- module/date: Thread id = 8
* Starting module/key-icon
* Starting module/xkeyboard
* Starting module/sep
- module/xkeyboard: Thread id = 9
* Starting module/arch
- module/sep: Thread id = 10
* Starting module/sep
* module/arch: Invoking shell command: "~/.config/polybar/scripts/updates-arch.sh"
* Starting module/vol-icon
- module/sep: Thread id = 11
- module/vol-icon: Thread id = 12
* Starting module/pulseaudio
* Starting module/sep
* Starting module/bat-icon
- module/sep: Thread id = 13
* Starting module/battery
- module/bat-icon: Start of subthread
* Starting module/sep
- module/battery: Thread id = 14
* Starting module/net
* Entering event loop (thread-id=1)
- module/sep: Thread id = 15
- command: Waiting for pid 6738 to finish...
- module/bat-icon: Thread id = 16
- module/battery: Inotify event reported for /sys/class/power_supply/BAT0/energy_now
- module/sep: Thread id = 17
- module/net: Thread id = 18
* Eventqueue worker (thread-id=19)
- bar: Create renderer
- renderer: Get TrueColor visual
- renderer: Allocate colormap
- renderer: Allocate output window
- module/key-icon: Thread id = 20
- renderer: Allocate window pixmaps
- renderer: Allocate graphic contexts
- renderer: Allocate alignment blocks
- renderer: Allocate cairo components
- renderer: Load fonts
* Configured DPI = 96x96
- module/pulseaudio: Thread id = 21
notice: Loaded font "Source Code Pro:style:medium:size=8" (name=Source Code Pro, offset=1, file=/usr/share/fonts/adobe-source-code-pro/SourceCodePro-Medium.otf)
notice: Loaded font "Material Design Icons:style=Regular:pixelsize=13:antialias=true" (name=Material Design Icons, offset=3, file=/usr/share/fonts/materialdesignicons-webfont.ttf)
notice: Loaded font "MesloLGS NF:style=Regular:size=15" (name=MesloLGS NF, offset=3, file=/usr/share/fonts/TTF/MesloLGS-NF-Regular.ttf)
notice: Loaded font "Weather Icons:size=12" (name=Weather Icons, offset=2, file=/home/juan/.local/share/fonts/weathericons.ttf)
* Bar window: 0x1800002
- bar: Reconfigure window
- bar: Set window WM_NAME
- bar: Set window _NET_WM_WINDOW_TYPE
- bar: Set window _NET_WM_STATE
- bar: Set window _NET_WM_DESKTOP
- bar: Set window _NET_WM_PID
- bar: Map window
- bar: Draw empty bar
- bar: Received expose event
- bar: Setup tray manager
* module/sep: Rebuilding cache
* module/dwm-layout: Rebuilding cache
* module/dwm-layout: Building module
* module/dwm-layout: Building layout label
* module/sep: Rebuilding cache
* module/xwindow: Rebuilding cache
* module/sep: Rebuilding cache
* module/spotify: Rebuilding cache
* module/dwm: Rebuilding cache
* module/dwm: Building module
* module/dwm: Building tags label
* module/date: Rebuilding cache
* module/sep: Rebuilding cache
* module/key-icon: Rebuilding cache
* module/xkeyboard: Rebuilding cache
* module/sep: Rebuilding cache
* module/arch: Rebuilding cache
* module/sep: Rebuilding cache
* module/vol-icon: Rebuilding cache
* module/pulseaudio: Rebuilding cache
* module/sep: Rebuilding cache
* module/bat-icon: Rebuilding cache
* module/battery: Rebuilding cache
* module/sep: Rebuilding cache
* module/net: Rebuilding cache
- bar: Force update
* Redrawing bar window
- renderer: flush(1 geom=150x25+0+0, falloff=0)
- renderer: flush(2 geom=102x25+749+0, falloff=0)
- renderer: flush(3 geom=372x25+1228+0, falloff=0)
- command: Exited with status 0
* module/spotify: Invoking shell command: "python ~/.config/polybar/scripts/spotify_status.py -f '{artist} - {song}'"
- command: Waiting for pid 6771 to finish...
- command: Exited with status 0
- bar: Detected motion: 0 at pos(486, 0)
- No matching cursor area found
- bar: Detected motion: 0 at pos(488, 0)
- bar: Detected motion: 0 at pos(494, 0)
- bar: Detected motion: 0 at pos(500, 0)
- bar: Detected motion: 0 at pos(506, 0)
- bar: Detected motion: 0 at pos(512, 0)
- bar: Detected motion: 0 at pos(515, 0)
- bar: Detected motion: 0 at pos(517, 0)
- bar: Detected motion: 0 at pos(520, 0)
- bar: Detected motion: 0 at pos(523, 0)
- bar: Detected motion: 0 at pos(526, 0)
- bar: Detected motion: 0 at pos(532, 1)
- bar: Detected motion: 0 at pos(535, 3)
- bar: Detected motion: 0 at pos(540, 5)
- bar: Detected motion: 0 at pos(548, 9)
- bar: Detected motion: 0 at pos(557, 14)
- bar: Detected motion: 0 at pos(564, 18)
- bar: Detected motion: 0 at pos(570, 21)
- bar: Detected motion: 0 at pos(575, 22)
- bar: Detected motion: 0 at pos(579, 24)
- bar: Detected motion: 0 at pos(676, 24)
- bar: Detected motion: 0 at pos(685, 23)
- bar: Detected motion: 0 at pos(694, 22)
- bar: Detected motion: 0 at pos(705, 19)
- bar: Detected motion: 0 at pos(718, 17)
- bar: Detected motion: 0 at pos(731, 15)
- bar: Detected motion: 0 at pos(742, 14)
- bar: Detected motion: 0 at pos(753, 12)
- Found matching input area
- bar: Detected motion: 0 at pos(764, 11)
- Found matching input area
- bar: Detected motion: 0 at pos(772, 9)
- Found matching input area
- bar: Detected motion: 0 at pos(776, 9)
- Found matching input area
- bar: Detected motion: 0 at pos(778, 9)
- Found matching input area
- bar: Detected motion: 0 at pos(779, 9)
- Found matching input area
- bar: Detected motion: 0 at pos(781, 9)
- Found matching input area
- bar: Detected motion: 0 at pos(782, 9)
- Found matching input area
- bar: Detected motion: 0 at pos(784, 9)
- Found matching input area
- bar: Detected motion: 0 at pos(787, 9)
- Found matching input area
- bar: Detected motion: 0 at pos(791, 10)
- Found matching input area
- bar: Detected motion: 0 at pos(794, 10)
- Found matching input area
- bar: Detected motion: 0 at pos(797, 10)
- Found matching input area
- bar: Detected motion: 0 at pos(800, 10)
- Found matching input area
- bar: Detected motion: 0 at pos(802, 10)
- Found matching input area
- bar: Detected motion: 0 at pos(803, 10)
- Found matching input area
- command: Exited with status 0
* module/arch: Rebuilding cache
* Redrawing bar window
- renderer: flush(1 geom=150x25+0+0, falloff=0)
- renderer: flush(2 geom=102x25+749+0, falloff=0)
- renderer: flush(3 geom=424x25+1176+0, falloff=0)
- bar: Detected motion: 0 at pos(802, 11)
- Found matching input area
- bar: Detected motion: 0 at pos(802, 11)
- Found matching input area
* module/spotify: Invoking shell command: "python ~/.config/polybar/scripts/spotify_status.py -f '{artist} - {song}'"
- bar: Detected motion: 0 at pos(801, 11)
- command: Waiting for pid 6776 to finish...
- Found matching input area
- command: Exited with status 0
- bar: Detected motion: 0 at pos(800, 11)
- Found matching input area
- bar: Detected motion: 0 at pos(799, 11)
- Found matching input area
- bar: Detected motion: 0 at pos(798, 11)
- Found matching input area
- bar: Detected motion: 0 at pos(797, 12)
- Found matching input area
- bar: Detected motion: 0 at pos(796, 13)
- Found matching input area
- bar: Detected motion: 0 at pos(796, 13)
- Found matching input area
- bar: Detected motion: 0 at pos(795, 13)
- Found matching input area
- bar: Detected motion: 0 at pos(794, 13)
- Found matching input area
- bar: Detected motion: 0 at pos(793, 13)
- Found matching input area
- bar: Detected motion: 0 at pos(792, 13)
- Found matching input area
- bar: Detected motion: 0 at pos(791, 13)
- Found matching input area
- bar: Detected motion: 0 at pos(789, 12)
- Found matching input area
- bar: Detected motion: 0 at pos(788, 11)
- Found matching input area
- bar: Detected motion: 0 at pos(787, 11)
- Found matching input area
- bar: Received button press: 1 at pos(787, 11)
- Found matching input area
* module/dwm-layout: Sending workspace view command to ipc handler
* module/dwm: Rebuilding cache
* module/dwm: Building module
* module/dwm: Building tags label
* Redrawing bar window
- renderer: flush(1 geom=150x25+0+0, falloff=0)
- renderer: flush(2 geom=102x25+749+0, falloff=0)
- renderer: flush(3 geom=424x25+1176+0, falloff=0)
- bar: Detected motion: 0 at pos(787, 11)
- Found matching input area
- bar: Detected motion: 0 at pos(785, 12)
- Found matching input area
- bar: Detected motion: 0 at pos(784, 13)
- Found matching input area
- bar: Detected motion: 0 at pos(783, 14)
- Found matching input area
- bar: Detected motion: 0 at pos(782, 14)
- Found matching input area
- bar: Detected motion: 0 at pos(779, 15)
- Found matching input area
- bar: Detected motion: 0 at pos(777, 16)
- Found matching input area
- bar: Detected motion: 0 at pos(774, 17)
- Found matching input area
- bar: Detected motion: 0 at pos(771, 18)
- Found matching input area
- bar: Detected motion: 0 at pos(768, 19)
- Found matching input area
- bar: Detected motion: 0 at pos(767, 19)
- Found matching input area
- bar: Detected motion: 0 at pos(765, 19)
- Found matching input area
- bar: Detected motion: 0 at pos(763, 19)
- Found matching input area
- bar: Detected motion: 0 at pos(762, 19)
- Found matching input area
- bar: Detected motion: 0 at pos(761, 19)
- Found matching input area
- bar: Detected motion: 0 at pos(759, 18)
- Found matching input area
- bar: Detected motion: 0 at pos(758, 17)
- Found matching input area
- bar: Detected motion: 0 at pos(757, 16)
- Found matching input area
- bar: Detected motion: 0 at pos(756, 15)
- Found matching input area
- bar: Detected motion: 0 at pos(756, 14)
- Found matching input area
* module/spotify: Invoking shell command: "python ~/.config/polybar/scripts/spotify_status.py -f '{artist} - {song}'"
- command: Waiting for pid 6777 to finish...
- bar: Detected motion: 0 at pos(756, 13)
- Found matching input area
- bar: Detected motion: 0 at pos(755, 13)
- Found matching input area
- command: Exited with status 0
- bar: Detected motion: 0 at pos(755, 12)
- Found matching input area
- bar: Detected motion: 0 at pos(755, 11)
- Found matching input area
- bar: Detected motion: 0 at pos(756, 10)
- Found matching input area
- bar: Detected motion: 0 at pos(758, 10)
- Found matching input area
- bar: Detected motion: 0 at pos(761, 11)
- Found matching input area
- bar: Detected motion: 0 at pos(763, 12)
- Found matching input area
- bar: Detected motion: 0 at pos(764, 12)
- Found matching input area
- bar: Detected motion: 0 at pos(767, 13)
- Found matching input area
- bar: Detected motion: 0 at pos(768, 15)
- Found matching input area
- bar: Detected motion: 0 at pos(769, 17)
- Found matching input area
- bar: Detected motion: 0 at pos(770, 19)
- Found matching input area
- bar: Detected motion: 0 at pos(771, 23)
- Found matching input area
* module/xwindow: Rebuilding cache
* module/key-icon: Rebuilding cache
* module/xkeyboard: Rebuilding cache
* Redrawing bar window
- renderer: flush(1 geom=80x25+0+0, falloff=0)
- renderer: flush(2 geom=102x25+749+0, falloff=0)
- renderer: flush(3 geom=424x25+1176+0, falloff=0)
- bar: Detected motion: 0 at pos(769, 20)
- Found matching input area
- bar: Detected motion: 0 at pos(766, 13)
- Found matching input area
- bar: Detected motion: 0 at pos(765, 8)
- Found matching input area
- bar: Detected motion: 0 at pos(765, 5)
- Found matching input area
- bar: Detected motion: 0 at pos(765, 2)
- Found matching input area
- bar: Detected motion: 0 at pos(765, 0)
- Found matching input area
- bar: Detected motion: 0 at pos(765, 0)
- Found matching input area
- bar: Detected motion: 0 at pos(765, 0)
- Found matching input area
- bar: Detected motion: 0 at pos(765, 0)
- Found matching input area
- bar: Detected motion: 0 at pos(765, 0)
- Found matching input area
- bar: Detected motion: 0 at pos(765, 0)
- Found matching input area
- bar: Detected motion: 0 at pos(765, 0)
- Found matching input area
- bar: Detected motion: 0 at pos(764, 0)
- Found matching input area
- bar: Detected motion: 0 at pos(764, 0)
- Found matching input area
- bar: Detected motion: 0 at pos(763, 0)
- Found matching input area
- bar: Detected motion: 0 at pos(762, 2)
- Found matching input area
- bar: Detected motion: 0 at pos(762, 3)
- Found matching input area
- bar: Detected motion: 0 at pos(762, 4)
- Found matching input area
- bar: Detected motion: 0 at pos(761, 5)
- Found matching input area
- bar: Detected motion: 0 at pos(760, 6)
- Found matching input area
- bar: Received button press: 1 at pos(760, 6)
- Found matching input area
* module/dwm-layout: Sending workspace view command to ipc handler
* module/xwindow: Rebuilding cache
* module/dwm: Rebuilding cache
* module/dwm: Building module
* module/dwm: Building tags label
* Redrawing bar window
- renderer: flush(1 geom=150x25+0+0, falloff=0)
- renderer: flush(2 geom=102x25+749+0, falloff=0)
- renderer: flush(3 geom=424x25+1176+0, falloff=0)
* module/spotify: Invoking shell command: "python ~/.config/polybar/scripts/spotify_status.py -f '{artist} - {song}'"
- command: Waiting for pid 6778 to finish...
- command: Exited with status 0
- bar: Detected motion: 0 at pos(760, 7)
- Found matching input area
- bar: Detected motion: 0 at pos(760, 8)
- Found matching input area
- bar: Detected motion: 0 at pos(760, 10)
- Found matching input area
- bar: Detected motion: 0 at pos(760, 12)
- Found matching input area
- bar: Detected motion: 0 at pos(759, 16)
- Found matching input area
- bar: Detected motion: 0 at pos(759, 19)
- Found matching input area
* module/spotify: Invoking shell command: "python ~/.config/polybar/scripts/spotify_status.py -f '{artist} - {song}'"
- command: Waiting for pid 6779 to finish...
- command: Exited with status 0
* module/bat-icon: Polling values (inotify fallback)
* module/battery: Polling values (inotify fallback)
- module/bat-icon: Inotify event reported for /sys/class/power_supply/BAT0/energy_now
- module/battery: Inotify event reported for /sys/class/power_supply/BAT0/energy_now
* module/spotify: Invoking shell command: "python ~/.config/polybar/scripts/spotify_status.py -f '{artist} - {song}'"
- command: Waiting for pid 6780 to finish...
- command: Exited with status 0
* module/spotify: Invoking shell command: "python ~/.config/polybar/scripts/spotify_status.py -f '{artist} - {song}'"
- command: Waiting for pid 6781 to finish...
- command: Exited with status 0
* module/spotify: Invoking shell command: "python ~/.config/polybar/scripts/spotify_status.py -f '{artist} - {song}'"
- command: Waiting for pid 6782 to finish...
- command: Exited with status 0
notice: Termination signal received, shutting down...
- controller: Uninstall sighandler
- controller: Detach signal receiver
- controller: Stop modules
* module/sep: Stopping
- module/sep: Release sleep lock
* Deconstruction of module/sep took 0 ms.
* module/dwm-layout: Disconnecting from socket
* module/dwm-layout: Stopping
- module/dwm-layout: Release sleep lock
* Deconstruction of module/dwm-layout took 0 ms.
* module/sep: Stopping
- module/sep: Release sleep lock
* Deconstruction of module/sep took 0 ms.
* module/xwindow: Stopping
- module/xwindow: Release sleep lock
* Deconstruction of module/xwindow took 0 ms.
* module/sep: Stopping
- module/sep: Release sleep lock
* Deconstruction of module/sep took 0 ms.
- module/spotify: Release sleep lock
* module/spotify: Stopping
- module/spotify: Release sleep lock
* Deconstruction of module/spotify took 0 ms.
* module/dwm: Disconnecting from socket
* module/dwm: Stopping
- module/dwm: Release sleep lock
* Deconstruction of module/dwm took 0 ms.
* module/date: Stopping
- module/date: Release sleep lock
* Deconstruction of module/date took 0 ms.
* module/sep: Stopping
- module/sep: Release sleep lock
* Deconstruction of module/sep took 0 ms.
* module/key-icon: Stopping
- module/key-icon: Release sleep lock
* Deconstruction of module/key-icon took 0 ms.
* module/xkeyboard: Stopping
- module/xkeyboard: Release sleep lock
* Deconstruction of module/xkeyboard took 0 ms.
* module/sep: Stopping
- module/sep: Release sleep lock
* Deconstruction of module/sep took 0 ms.
- module/arch: Release sleep lock
* module/arch: Stopping
- module/arch: Release sleep lock
* Deconstruction of module/arch took 0 ms.
* module/sep: Stopping
- module/sep: Release sleep lock
* Deconstruction of module/sep took 0 ms.
* module/vol-icon: Stopping
- module/vol-icon: Release sleep lock
* Deconstruction of module/vol-icon took 0 ms.
* module/pulseaudio: Stopping
- module/pulseaudio: Release sleep lock
* Deconstruction of module/pulseaudio took 0 ms.
* module/sep: Stopping
- module/sep: Release sleep lock
* Deconstruction of module/sep took 0 ms.
* module/bat-icon: Stopping
- module/bat-icon: End of subthread
- module/bat-icon: Release sleep lock
* Deconstruction of module/bat-icon took 244 ms.
* module/battery: Stopping
- module/battery: Release sleep lock
* Deconstruction of module/battery took 215 ms.
* module/sep: Stopping
- module/sep: Release sleep lock
* Deconstruction of module/sep took 0 ms.
* module/net: Stopping
- module/net: Release sleep lock
* Deconstruction of module/net took 0 ms.
- controller: Joining threads
- module/sep: Deconstructing
- module/dwm-layout: Deconstructing
- module/sep: Deconstructing
- module/xwindow: Deconstructing
- module/sep: Deconstructing
- module/spotify: Deconstructing
- module/dwm: Deconstructing
- module/date: Deconstructing
- module/sep: Deconstructing
- module/key-icon: Deconstructing
- module/xkeyboard: Deconstructing
- module/sep: Deconstructing
- module/arch: Deconstructing
- module/sep: Deconstructing
- module/vol-icon: Deconstructing
- module/pulseaudio: Deconstructing
- module/sep: Deconstructing
- module/bat-icon: Deconstructing
- module/battery: Deconstructing
- module/sep: Deconstructing
- module/net: Deconstructing
- ipc: Removing file handle
* Waiting for spawned processes to end
* Reached end of application...

(I kill it after the I reproduce the issue).
Environment:

WM: dwm
Distro: Arch Linux
Output of polybar -vvv:

polybar 3.4.0-197-g62fca24

Features: +alsa +curl +dwm -i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Build type: Release
Compiler: /usr/bin/clang++
Compiler flags:  -Wall -Wextra -Wpedantic -Wno-error=parentheses-equality -Wno-zero-length-array
-O3 -DNDEBUG
Linker flags:

Hey, sorry for the long delay. School just started and I just got busy. Could you try adding this line as shown below:
diff --git a/dwm.c b/dwm.c
index a8f4084..8568d99 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1460,6 +1460,7 @@ run(void)
                                                        tags, LENGTH(tags), layouts, LENGTH(layouts)) < 0) {
                                        fprintf(stderr, "Error handling IPC event on fd %d\n", event_fd);
                                }
+                               XSync(dpy, False);
                        } else {
                                fprintf(stderr, "Got event from unknown fd %d, ptr %p, u32 %d, u64 %lu",
                                                event_fd, events[i].data.ptr, events[i].data.u32,

If this fixes the issue, then it should verify what I believe is the underlying cause that the XEvent queue is not being flushed immediately after the IPC command is sent from polybar.

Are you still having this issue?

Are you still having this issue?

Are you still having this issue?

No!, it was solved after I added that patch, I forgot about it because I started to work and everything, sorry! It works flawlesly now!

Are you still having this issue?

No!, it was solved after I added that patch, I forgot about it because I started to work and everything, sorry! It works flawlesly now!


problem with static keyword

The static keyword seems to produce an error:
    function_name = function_names[len(self.functions)]
IndexError: list index out of range

To reproduce remove the #ifdef here
https://github.com/Xeeynamo/sotn-decomp/blob/fa3ba301c2214f962261663f4af526a5b1b38470/src/st/e_red_door.h#L14

A static function won't be exported, so I'll have to see if there's a workaround.. does the function have to be declared static?

@Xeeynamo we are marking things static due to conlicting symbols on the PC build right? What about something like
#ifdef VERSION_PC
#define STATIC static
#else
#define STATIC
#endif

Update mwccgap and created a PR for sotn. static functions have local symbol names, so I can still find them - this still gives an :ok: so seems to work - might need revisiting at a later date though.


Testing/set up mantine testing configuration and textinput unit tests

Description

Fixes # (issue)
In progress. Currently added:

configuration for jest to be able to test Mantine components
1 of 2 planned test suites for TextInput components

No ticket created yet; just opening a draft PR for reference on mantine testing configuration.
Type of change

[x] Other 🗒 Testing

How Has This Been Tested?

[x] npm test
[x] Manual testing

Checklist:

[ ] I have performed a self-review of my own code.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] Any dependent changes have been merged and published in downstream modules.
[ ] I have reviewed the Security Best Practices Document.
[ ] I have followed the Naming Conventions Guide for my changes.
[ ] I have ensured that my pull request title is descriptive.

Additional Information:

Created new branch to associate Jira ticket. New PR: #47


Flow is not getting installed, facing syntax error in src/parser/flow_ast.ml

uname -a
Linux 8cd2f3a1381c 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 GNU/Linux
Cloned flow package and ran command npm install. Facing below issue:
npm install
npm WARN prepublish-on-install As of npm@5, prepublish scripts are deprecated.
npm WARN prepublish-on-install Use prepare for build steps and prepublishOnly for upload-only.
npm WARN prepublish-on-install See the deprecation note in npm help scripts for more information.

undefined prepublish /flow
yarn workspace flow-parser run prepublish

yarn workspace v1.13.0
yarn run v1.13.0
$ make js
if [ -e dist/flow_parser.js ]; then
[ flow_parser.js -nt dist/flow_parser.js ] || cp dist/flow_parser.js flow_parser.js;
else
make -C ../../src/parser js;
cp ../../src/parser/flow_parser.js flow_parser.js;
fi
make[1]: Entering directory '/flow/src/parser'
cd /flow/src/parser//../..;
ocamlbuild -use-ocamlfind -no-links -pkgs js_of_ocaml src/parser/flow_parser_dot_js.byte;
[ -e "src/parser/flow_parser.js" -a "src/parser/flow_parser.js" -nt "_build/src/parser/flow_parser_dot_js.byte" ] ||
js_of_ocaml --opt 3
-o src/parser/flow_parser.js
_build/src/parser/flow_parser_dot_js.byte

ocamlfind ocamldep -package core_kernel -package ppx_gen_rec -package ppx_deriving.show -package sedlex -package wtf8 -package ppx_deriving -package dtoa -package js_of_ocaml -modules src/parser/flow_ast.ml > src/parser/flow_ast.ml.depends
File "src/parser/flow_ast.ml", line 13, characters 6-7:
Error: Syntax error
Command exited with code 2.
Compilation unsuccessful after building 5 targets (4 cached) in 00:00:01.
js_of_ocaml: Error: Sys_error("_build/src/parser/flow_parser_dot_js.byte: No such file or directory")
Makefile:86: recipe for target 'js' failed
make[1]: *** [js] Error 1
make[1]: Leaving directory '/flow/src/parser'
cp: cannot stat '../../src/parser/flow_parser.js': No such file or directory
Makefile:18: recipe for target 'flow_parser.js' failed
make: *** [flow_parser.js] Error 1
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command: /usr/local/bin/node
Arguments: /opt/yarn-v1.13.0/lib/cli.js run prepublish
Directory: /flow/packages/flow-parser
Output:

info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! undefined prepublish: yarn workspace flow-parser run prepublish
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the undefined prepublish script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-02-15T13_58_03_469Z-debug.log
Please guide to resolve the same. Thanks in advance.

Which ocaml version are you using? cc @mroch

My guess is that ppx_gen_rec isn’t installed.
Try this to install the deps:
opam pin add flowtype . -n
opam install flowtype --deps-only

@jbrown215 ocaml -version
The OCaml toplevel, version 4.02.3
@mroch Have already installed using below command:
opam install ppx_gen_rec js_of_ocaml sedlex
Will try out these commands and update the ticket. Thanks for the help.

We also use ocaml 4.05.0

@jbrown215 Thanks. Have installed ocam 4.05.0 with command opam switch install 4.05.0.
@mroch Thanks for the help.
Issue has been resolved after following below steps:
opam pin add flowtype . -n
opam install flowtype --deps-only
opam install js_of_ocaml
eval $(opam config env)
Flow binary has not been created. Could you please guide to generate flow binary.
Thanks in advance.

Binary has been created in bin folder after running command make all.


onReady seems to be a private member, how can i use it

https://github.com/facebook/CacheLib/blob/195fc7a3f467058326af267809a7ec8589d6f843/website/docs/Cache_Library_User_Guides/HybridCache.md?plain=1#LL66C25-L66C33

https://github.com/facebook/CacheLib/blob/195fc7a3f467058326af267809a7ec8589d6f843/cachelib/allocator/Handle.h#L302

@shuyanzhu: yeah you're right. We have actually changed our thinking since the comment is written. We now think everyone should convert a "not-ready" item-handle to a SemiFuture as that's a pretty standard way of dealing with async now (and also plays well with folly's implementation of coroutine)
we'll update the documentation

I use bthread in my code, which is stackful coroutine like folly/fiber. In such cases, i think onReady is needed beacause folly::SemiFuture::get() would block the pthread of coroutine. I want use onReady to call my notify callback( cv.notify() ) so i can suspend coroutine correctly( cv.wait() ).

@shuyanzhu: I suppose you cannot use folly coroutine? You can hack it for now by making onReady() public on your end, and adjust the thread local count yourself for now.
Are you doing this for a production system, or for research?

I use cachelib in a production system so i cannot use folly coroutine. Yeah, i have make onRead public.

BTW, i can also new a excutor to complete folly::SemiFuture which has defered bthread's cv.notify, but it seems to introduce unnecessary overhead.

@therealgymmy I wonder if 'onReady' will be re-exposed to users.

@shuyanzhu: yeah I filed a ticket for it. We'll think about a better way to expose this. You're right that not everyone will be using folly's version of executors.