Cancelable zip progress

This adds an api to SSZipArchiveDelegate for canceling in progress zip operations. I only added support to createZipFileAtPath:withFilesAtPaths: and not createZipFileAtPath:withContentsOfDirectory: though the latter would be straightforward to add.
The older commits in the branch are a few small bug fixes.

@mickrobk Would you please create a new PR based on the latest code? Thanks!


🪲[Bug]: Social media icons not visible

Describe the bug
A clear and concise description of what the bug is.
Description of the bug: The social media icons of Github, instagram and linkedin are not actually visible in the webpage's footer section
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
I can make those icons be visible in both light and dark mode.  The icons color will be responsive with respective to both the dark and light modes
Plus will also give a fresh look to the footer section
Screenshots

Please assign me this , I'd love to fix it asap! @akshitagupta15june

Please assign me this. I will be glad to help @Bharath200415

Willing to work on  fixing it. Please assign this to me @akshitagupta15june @Bharath200415

This repo seems to be dead ig


feat: add sharing of agent state

Allow users to share the state of the agent, "tree import/export".
Use case
User A prompts several times to get to a state where the agent is fairly good at doing X type job.
User A shares the agent with their friend, User B.
User B uses the agent regularly to do X type job.
User B discovers a better state for the agent and shares it with User A.

👍
i think the way this should work is you select a group of nodes and then can click some menu item (and/or use some keybind) and it computes all the edges needed for that group of nodes, and then bundles that w/ the selected nodes in a json file that the user can download and send to their friends to upload into their workspace

How about implementing something like Tree library (similar to Prompt library in TypingMind) where people can share useful trees.
This would require some backend. Would be nice to setup Hasura (with Posgres) and have GraphQL ready and Nest.js if we would need some custom logic.
What ya guys think?

I think down the line that could be a super useful feature, but too early to introduce a backend and marketplace just yet imo.

Currently working on this, feel free to assign me!


No manager class found for view with module name "FAKIconImage"

Hi
I saw this warning when I tried react-native-icons with react-native 0.6.0.
Any idea why? The library was working when I was using react-native 0.4.4 few weeks back.

Anyone else who faces this issue:
check where you aded libReactNativeIcons.a at. I added mine into the {projectName}Tests target instead of {projectName}


Updated README with Swift Package support instructions.

Added instructions per request in #73

@cerupcat I know you're using Swift with private dependenies as well. Could you help us to review this additional information for Swift users?

I plan to go through the Readme within the next couple of days and try the steps myself to confirm the same thing works for me.

@cerupcat Any chance you were able to look at this yet?

@mpdude @cerupcat Bump. Would love to get this closed out and off my PR list if you guys have a few minutes to verify 🙏🏼
Thanks!

@mpdude @cerupcat Bumping again 🙏🏼

@rr-james-hickman Thank you James for being so persistent on this one!
As I've mentioned above, I felt like the details you gave in the README for Swift were more than necessary. I was afraid of making the README hard to digest, and also afraid of having too much information in it that might get out of date and was not exactly on scope for this action.
I did, however, pick two small additions and just committed them on master, also crediting you.
What do you think – does that do it for you?
Thank you again for your energy put into this!

@mpdude No worries, glad to be of service. Hopefully future devs can avoid the headaches I had when trying to get everything to work properly in this type of environment setup.


moved generateUiDump to Screenshot.captureFailure()

close as it has a recursive call... please review and update generateUi dump method


Ddpm

PR types
new feature
PR changes
in ppsci.arch, new ddpm.py;
in example folder, new ddom folder.
Describe

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.12 out of 13 committers have signed the CLA.:white_check_mark: Liyulingyue:white_check_mark: HydrogenSulfate:white_check_mark: NKNaN:white_check_mark: zhiminzhang0830:white_check_mark: lijialin03:white_check_mark: Turingg:white_check_mark: smallpoxscattered:white_check_mark: GGBond8488:white_check_mark: liaoxin2:white_check_mark: 1want2sleep:white_check_mark: wufei2:white_check_mark: GreatV:x: zhaojiamengYou have signed the CLA already but the status is still pending? Let us recheck it.


Can you permit adding type stubs for redis-py to typeshed?

https://github.com/python/typeshed

NOTE: When you're contributing a new stub for a package that you did not develop, please obtain consent of the package owner (this is specified in PEP 484). The best way to obtain consent is to file an issue in the third-party package's tracker and include the link to a positive response in your PR for typeshed.

@andymccurdy Can you sign off on this? Having stubs for redis would help quite a bit.

Sure, go for it.

@CrazyPython I'll be working on these here: https://github.com/Daenyth/typeshed
If you're interested I'd be happy to add you as a contributor.


Implement onKeyPress Android

Motivation (required)
This implements onKeyPress for Android on TextInputs and addresses https://github.com/facebook/react-native/issues/1882.
N.B. that this PR has not yet addressed hardware keyboard inputs, but doing will be fairly trivial. The main challenge was doing this for soft keyboard inputs.
I've tried to match the style as much as I could. Will happily make any suggested edits be they architectural or stylistic design (edit: and of course implementation), but hopefully this is a good first pass :).
I think important to test this on the most popular keyboard types; maybe different languages too.
I have not yet added tests to test implementation, but will be happy to do that also.
It also may be more appropriate to use the ReactTextInput event rather than creating and emitting a seperate event.
It's also worth having the discussion of the current onKeyPress behaviour on iOS, and what possible modifications should be made to match an implementation differences.
Test Plan (required)

Build & run RNTester project for Android and open TextInput.
Enter keys into 'event handling' TextInput.
Verify that keys you enter appear in onKeyPress below the text input
Test with autocorrect off, on same input and validate that results are the same.

Below is a gif of PR in action.

Edit: So I've done some testing with SwiftKey and it would seem that the methodology may need to be refined here, as there are definitely differences with how swiftkey behaves and some of the assumptions made are not true for swiftkey. May need to revise methodology!

@shergin, thank-you for taking a look at this, very much appreciated :).
I actually have only just seem this ticket on the `Better ' board, already triaged. They have taken the approach of detecting the key by changes to the text itself, just like the iOS implementation. This was the first route I went down, but found that TextWatching really didn't give you much in the way of helping you distinguish between different types of input, be they autocorrection's, cut/paste etc. Although it's hard to say at this point if key detection as done in this PR is too hard/a good idea with the potential wide variety of behavior from different IMEs.
I will say, you do at least need to use the InputConnection override for detecting the 'empty delete' case I mentioned, for detecting deletes which result in no text changes. Maybe even this could be used in combination with a TextWatcher, to reason about if text changes were results of changes from the soft keyboard.
I do think this is a really fiddly problem, and I'd say that the implementation handles pretty much every case (with stock Android keyboard). But perhaps we've ended up with a solution that's overfitted, and we'll have to go more generic solution.

Status update
I think it can be quite easy to get bogged down in implementation details sometimes, instead of thinking bigger picture!
So I think it's worth asking, 'what is the real value add' with implementing onKeyPress on Android for users? The thing that users cannot currently do currently on RN Android is detect 'empty deletes' or distinguish between key presses and cut and/or pastes. This we can do natively, and this is what I think we should expose through this API. We should support the same features as onKeyPress on iOS: 'Backspace' & 'Enter' & any other key press events should only be triggered by keyboard input and not cut/copy & we should support the empty delete case.
From further investigation with SwiftKey, what we cannot do natively is know what key was pressed to 'complete' a word; we do not get that granularity. So given we cannot do this natively, (or at least very easily at all, see the distinct lack of stack overflow answers on the topic), we should not worry about this use case; RN on iOS also has these same issues.

@joshyhargreaves , with this implementation, we won't get onKeyPress event for keys like up/down/left/right or hardware keyboard's ENTER key.
So why don't we use native Android control EditText.onKeyup() (or KeyListener.onKeyUp()) to propagate key event to JS? That way we will also get this event if user press non-printable keys like up/down/left/right arrow keys?

@joshyhargreaves also is there any timeline by when we will get this merged to master?

@pardeepk, onKeyUp events only work with hardware keyaboards as of ~Android 4.1, so not possible. We can of course still forward the events for hardware keyboards. This would be unlike the iOS inplementstion which works by watching the text.
I also think I’ve made too many assumptions about how different IMEs work based on the behaviour of the Android built in keyboard. For one, I don’t think you can assume beginBatchEdit is going to be called before any input events, and it’s up to the IME to call this, but not a requirement.
I have no timeline on when this will be merged; I think it needs to be integrated upon a few more times. Ultimately I think the behaviour RN users want but do not currently have is th ability to detect delete key presses on an empty text field, and perhaps this is the real value add of implementing this API and is what we should mainly be focussing upon as I don’t think this API is really possible to implement in the same way as the web.

Thanks @joshyhargreaves for quick reply!
I need onKeyPress event for h/w keyboard up/down arrow key. I was investigating and found that in vanilla (non-react) Android app, I get EditText::onKeyDown/onKeyUp() callback for all keys for both s/w and h/w keyboard. But when I am using react-native TextInput  in Android app, I am not getting these onkeyDown() onKeyUp() methods invoked. any reason?
Also onKeyDown/onKeyUp() methods in InternalKeyListener (inner class in ReactEditText) are not getting invoked when user presses left/right/up/down key on h/w keyboard. I am not sure where these keyEvents are getting consumed. In fact I added these onKeyUp/onKeyDown methods in ReactRootView class, those also not getting invoked when I used h/w keyboard.
Appreciate any help!

Copied from stackoveflow answer: from http://developer.android.com/reference/android/view/KeyEvent.html
As soft input methods can use multiple and inventive ways of inputting text, there is no guarantee that any key press on a soft keyboard will generate a key event: this is left to the IME's discretion, and in fact sending such events is discouraged. You should never rely on receiving KeyEvents for any key on a soft input method. In particular, the default software keyboard will never send any key event to any application targetting Jelly Bean or later, and will only send events for some presses of the delete and return keys to applications targetting Ice Cream Sandwich or earlier. Be aware that other software input methods may never send key events regardless of the version. Consider using editor actions like IME_ACTION_DONE if you need specific interaction with the software keyboard, as it gives more visibility to the user as to how your application will react to key presses.
I have set up a vanilla project to test this and have observed that onKeyPress etc so perhaps the above is why you’re not seeing the events? I didn’t try arrow keys actually so they might still be sent by the IME and maybe that’s what you’re seeing? Hmm, not sure why you’d be seeing differences actually I haven’t observed different bevahour in the different cases. I have noticed subtle differences when autocorrect is on and off, so that might be worth checking.
No problem, I’d like to see this solved too!

@joshyhargreaves any recommendation/help how can we capture hardware keyboard key press for TextInput (ReactEditText) RN control on Android?

@joshyhargreaves Are you personally satisfied with this?
Could you please resolve conflicts?

@shergin sorry I missed the email mention!
Yes I can fix up the PR, sorry this fell off my radar with a talk I was doing! But now I'm free to finish this up; thank you for the continued input, it'd be great to get this landed!
So @shergin, I'm not quite happy with this exact approach, it's a solution which is definitely overfit to the stock Android stock keyboard IME lifecycle events and could be a bit fragile with other keyboards as a result. I think the solution is to make the logic a bit more basic (and cover more keyboards) by using a TextWatcher implementation similar to the onKeyPress iOS implementation.
The key thing I think we should enable as part of this PR is backspace detection on an empty text-input, as that's something that users need. For example: https://github.com/jwohlfert23/react-native-tag-input/issues/31. Would you agree?
So I think I'll aim for a combined approach of what I have here for backspace on empty text-input detection, along with simplified text-watcher logic.

@shergin, it looks like the logic of can be a lot simpler by using TextWatcher; but using an the InputConnection to catch the ‘empty deletes’. Hopefully this should be fairly trivial, but looking into detecting when a text input update came from a cut/paste, but fingers crossed that should be easy enough

Looking to update this PR after the weekend, will keep everyone posted.

@shergin I implemented the logic using the TextWatcher API and I am happy with the resultant functionality! I haven't updated this PR, as I may swing back to fixing up the original method given now I have a greater understand of the finer details of the implementation: https://github.com/facebook/react-native/compare/master...joshyhargreaves:implement_edittext_onkeypress_android_textwatcher_rework?diff=unified&name=implement_edittext_onkeypress_android_textwatcher_rework
Functionality wise, it seems to work as I'd expect with both SwiftKey and stock Android keyboard :).  However it turns out that the logic needed to be a bit more hacky (as you can probably see) to implement the API. We know less about how the input was changed with the TextWatcher approach, so we need to have some additional state around whether it was a cut/paste which changed the input.
Regardless of this, I'm positive that with a bit more refinement & testing, we will have something soon that should be good enough to use!

@shergin I revised the methodology with the original implementation; code is a lot cleaner than the alternate TextWatcher approach I linked above.
I have tested on SwiftKey and stock Android keyboard, and it seems to work well :).

@lako90, would you also mind having a look?

@shergin, would you mind having another look if you have a chance? 😊

@lako90, @shergin really appreciate it if this gets into RN 0.50 release

@elliscwc, would you mind doing some testing of this PR and see if you find any bugs? :)

@hramos, could you maybe look into asking somebody to review this? Thank you :).

@shergin .

@hramos, sorry to ask again!

Any updates?

Any movement on this?

@DarrylD I'm happy to whatever needs to be done to get this merged. @shergin @hramos could you provide some guidance on this?

@kmagiera made the changes you suggested, let me know what you think.

@kmagiera made the changes!

Can we make this happen before Christmas? 🙏

Hey @joshyhargreaves and @shergin, what's the status on this? 🤓

@kmagiera and I are looking to move this forward after the holiday period.


other org global admin Unauthorized to edit users

other org global admin , called test1,  login from  casnode--> click setting --> Jump to casdoor --> click UserMamagerment/Users  ，resp is 403 ;like roles is also 403

Same issue


Use GHA for tests and deployment

Already looks quite promising 👍🏽

@ax-sc could you quickly review the changes I made? I think you can't start a review process as you are the author but it should be enough if you quickly check the upload.yml file 😄

@jnsdrtlf Thanks for the review and the improvements, i think we can merge this now.
Just for the record, weasyprint should not be necessary for the moment as none of our tests calls it but it´s for sure better to include it from now on (and possibly add also some more tests). However i think we would then still need to install the non-python dependencies of it? At least Cairo has been removed in the latest beta but i think it will take some time until we are able to use the new version.

Yes, a WeasyPrint test case is definitely necessary, I'll quickly write one.
WeasyPrint is installed using apt, not pip, and thus already installs all necessary (non-python-)dependencies. You can take a look at it here: https://packages.ubuntu.com/focal/weasyprint

Okay, perfect, i must have missed that you use apt while reviewing your changes on a mobile device. The best way to go forward would probably be that you just merge this PR once you have the additional test(s) ready.


Use with ESP32

Do you think it will work with ESP32 webserver? Is it possible to display serial terminal of ESP32?
Thanks.

Yes. It has been reported to work with:
ESP32
ESP8266
Arduino
Duet2
the new raspberry pi microcontroler thing
Best thing you can do is give it a little test.

Thanks.


Investigate playwright

puppeteer is a great library but when it comes to E2E testing it suffers from timing issues which lead to fragile tests. Wendigo never really managed to completely fix that although it does indeed improve the situation a bit by providing wrapper functions. Playwright was designed with this in mind and has this functionality baked in.
We recently migrated to Playwright and the results are impressive. No more brittle tests...
Thus I strongly recommend to look into Playwright.

I @tumidi thanks for your comment, I'll have to take a bit more seriously the Playwright alternative then (until now I didn't see a reason for that migration).
In case you or anyone wants to have a go trying the migration to check how does it work, most of Puppeteer-related code resides in the puppeteer_wrapper/ folder (in theory, changes outside this folder should be minimal)


Minor fixes

Hey @lopuhin , this PR purpose is enabling all the tests that were failed, adding canonicalize_url from w3lib and fixing some components based on what was written here. It's just a lot of copy and paste and testing so I'll just go ahead and merge this!

I will work on improving the canonicalize_url I pasted from w3lib after this! 😄


Udemy: HTTP Error 403: FORBIDDEN

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.07.28. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.07.28

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

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

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'https://www.udemy.com/ardit-sulce-python-for-beginners/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.07.28
[debug] Python version 2.7.12 - Darwin-15.3.0-x86_64-i386-64bit
[debug] exe versions: avconv 11.4, avprobe 11.4, ffmpeg present, ffprobe present, rtmpdump 2.4
[debug] Proxy map: {}
[udemy:course] ardit-sulce-python-for-beginners: Downloading webpage
[udemy:course] 577248: Enrolling in the course
[udemy:course] 577248: Downloading course curriculum
ERROR: Unable to download JSON metadata: HTTP Error 403: FORBIDDEN (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 "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 394, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1985, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Description of your issue, suggested solution and other information
Extractor fails for free course.

You must provide account credentials.


CH6 Closing - Find good mechanism for talking to the NPCs

Right now you have to be within a certain range of them so they start / stop their dialog. Not great because when NPCs are close to each other they overlap.
Another point: right-clicking the NPCs while in dragon form doesn't make you walk up to them

This is in place though it can still be tweaked.


[FEA] Migrate FDT to use NumPy arrays

Describe the workflow you want to enable
Now the FDT algorithm works only with dataframes. Enhance it to work also with NumPy arrays by using the sklearn check_array function
Describe your proposed solution
That will require rewritting some of the functions. There will be a major breaking change in that FDT will no longer take the membership function to fit, but rather will have the Fuzzy Variables on creation and will fit using regular X and y
Describe alternatives you've considered, if relevant
No response
Additional context
No response

predict should also take a regular x instance, rather than it being already fuzzified


Can't assign existing property to the rest of generic

TypeScript Version:  3.2.2 and 3.3.0-dev.20181208

Search Terms:

generic
pick
exclude
spread

Code
interface AB {
  a: string;
  b: string;
}

function excludeA<T extends AB>(obj: T) {
  const {a, ...rest} = obj;

  rest.b = '3';

  return rest;
}

excludeA({ a: '1', b: '2', c: 'test' });

Expected behavior:
No errors
Actual behavior:
Property 'b' does not exist on type 'Pick<T, Exclude<keyof T, "a">>'.
Playground Link:
https://www.typescriptlang.org/play/index.html#src=interface AB {
  a%3A string%3B
  b%3A string%3B
}

function excludeA<T extends AB>(obj%3A T) {
  const {a%2C ...rest} %3D obj%3B

  rest.b %3D '3'%3B

  return rest%3B
}

excludeA({ a%3A '1'%2C b%3A '2'%2C c%3A 'test' })%3B
Related
https://github.com/Microsoft/TypeScript/issues/28821

@klimashkin - Consider:
interface AB {
  a: string;
  b: string;
}

function excludeA<T extends AB>(obj: T) {
  const {a, ...rest} = obj;

  rest.b = '3';

  return rest;
}

interface ExactlyAB extends AB {
  a: "a";
  b: "b"
}

declare var exactAB: ExactlyAB;

excludeA(exactAB).b; // claims to be of type "b", but will be the value "3" with your implementation

(But in general yes, #28821 is the reason why the assignment doesn't work, even when you correctly assign a T["b"] - I just wanted to let you know that that code is unsafe from a typesystem perspective, even once that bug is fixed)

@weswigham
Does it mean that any reassignment of an object's property, which has a generic type, should be considered invalid?
const test = <T extends {foo: string}>(obj: T): T => {
    // No errors as for v3.2.2. Is it a bug?
    obj.foo = 'bar';

    return obj;
};

Playground.

Yea - it's a known hole that gets closed when you use indexed access types. It's quite troublesome, really, since the only reason we haven't fixed it, AFAIK, is for backwards compatibility (and to make mutating patterns "easier" to type).

The issue has been fixed:
http://www.typescriptlang.org/play/?allowJs=true&target=6#code/JYOwLgpgTgZghgYwgAgJIHkBGArZBvAKGWOTgC5kQBXAW02gG4iTMLq7HniE3b6omAXwIEYVEAjDAA9iGSQAzmAA8AFWQQAHpBAATBWizYANMgDSG7RD0H0NYCtWmA5HGfIAPsmeZnAPmQAMnxkAC9eDgFkQT8ACmkcClUASgoLQhJkBFklfDhTTFMAOhKoCCVBZABeZATsJkzskFyACxp26uQy3LgDMyYuZDb2otDOgGYAJgHMsrAqKDlhmiERRTBYvHJkAEYCiknTHmRx010KABZBZKLdBiA


Feat/pull request score

Resolves #30
Quality Assurance:

this is a comment about apples

here is a test apple
apples are great.


Long descriptions don't scroll

I add my slides via addSlide(AppIntroFragment.newInstance(title, description, image, background_colour));. Unfortunately, some of the descriptions have to be a bit longer. On devices with small screens, the bottom of the textView is cut off and the description cannot be read completely. I tried to use my own layout with an scrollview but was unsuccessful. Scrolling should be enabled by default in order to support devices with small screens.
How do I handle this properly?

Please try to follow the template for your next issue.
As for scrolling in long descriptions, that is not how you should be approaching this issue.
You were on the right path when you created your own layouts, but you need to create alternative layouts for devices with smaller screen width, size, etc.
As for why the library does not enable scrolling by default, well it simply isn't good design; design your layouts for the intended device.

Closing due to non-response -- non-compliant request.


haskellPackages.hslua-core: skip tests for Musl

Fixes #214916

Fixes downstream pkgsMusl.pandoc and pkgsMusl.mariadb

Could you rebase on the haskell-updates branch?  We generally ask that all haskell-related PRs go to that branch.

Could you rebase on the haskell-updates branch? We generally ask that all haskell-related PRs go to that branch.

Thanks for the feedback. I'm not really used to making PRs for Haskell. This is my first. I hope it is well now.

Thanks!
I've confirmed that with this change, now pkgsMusl.haskellPackages.hslua is able to be compiled again.
This should be available on master when https://github.com/NixOS/nixpkgs/pull/213089 is merged in.


Import playback plugin data doesn't do anything

I had my Jellystat container down for a while and brought it back up. But after trying to import the jellyfin playback reporting plugin data, it says it completed it but nothing gets populated.
The container logs don't say anything about updating and don't have entries after starting the container.

Jellyfin 10.9.9
Jellystat 1.1.0

Hey @nathangur , this is done by design, the function is meant to run once as a sort of migration. This is to prevent duplicate entries for the same watch, 1 from Jellystat and 1 from the plugin. Its almost impossible to exclude the duplicates as the plugins time stamp varies by a few milliseconds and it also does not give enough info to use besides the recorded time to try and identify duplicates. Il try to see if there is some other solution but this will be a low priority task for now due to the restrictions

So even though jellystat has zero records in it (I recreated it and the database it had) it can't pull past items from the plugin?

no in that scenario it should pull info. I was under the assumption this was an existing install with already migrated data

Was the library sync completed before the migration?

Was the library sync completed before the migration?

Yes

If there are any errors in the docker logs, please send those aswell as it will help

Unfortunately no, the only ones are that Jellystat was querying the database while it was starting up

The only thing I could think of that might be a factor (maybe?) is that I have around 150 malformed entries in the playback database due to a device having the media playing, the device goes offline, comes back online and it assumes that it was playing the whole time which it then reports 40 hours for a 3 minute song.
Some of these malformed entries have incorrect itemId's for some reason (could be file change, directory change, etc), meaning I can't edit these with a automated script as I can't get the original runtime length of the file to patch the database with.

i have the same problem
jellystat 1.1.1 and emby

Hi @tobiasdosdal , emby is still WIP, importer is not actually functional yet

Hi @tobiasdosdal , emby is still WIP, importer is not actually functional yet

Ah my bad, did not know.

Yea same for me with Jellyfin

I also can't find any relating errors to it
Even when i watch something in jellyfin there is no activity in jellystat and on users watchtime stays at 0 (manual synced multiple times no errors), but it shows the session in it.

Did a fresh install, ran full sync, and data import, seems to have worked fine for me. 9536 Rows.
I'm on the release 1.1.0
So could be something different if you're on unstable. I wasn't sure which is best to use.

In unstable import:

Yet, in Statistics, in Activity etc, its empty

It imported 9500+ rows, but shows nothing


Put DLL in temporary directory instead of changing the name.

Let's say we have the following scenario: I have libA.dll and libB.dll, libB.dll depends on libA.dll.
If my Java project depends on libB.dll, I need to load libA.dll and libB.dll in this order, or I will get an UnsatisfiedLinkError.
The problem is that in the previous implementation, the name of the DLL is changed, so when I load libB.dll, I still get UnsatisfiedLinkError.
This pull request fixes the issue by keeping the name of the DLL unchanged, and putting it in a temp folder.

Hi @chibicitiberiu, thank you for the PR, it solves an issue I didn't think of. However, I've just merged a pending PR #8 which broke your commits. Could you please modify your commits (or create a new one)? Thank you and sorry for the complication.

Hi @chibicitiberiu, I wanted to finally merge your commit but doing so, I accidentally pushed my master to your master, which results in closing this PR (because it suddenly has no new commits).
I just wanted to delete the last commit ("Remove vscode stuff") and modify the previous commit not to add the file but I've accidentally pushed a wrong branch into your repository.
Could you please run
git push --force origin master

in your repository? This should fix the PR. I'll then reopen and merge it. Sorry for the confusion.

Done.

Thank you for the contribution!

You're welcome 👍


BINANCE OPTION !!!!

why my payment option in hamster changed to binance !?
i only use this script !
ithink my auth is stolen!

The code is publicly available; if you have doubts, you can go check it! This matter is not related to me.


Update az cli extension to use api v2022_04_01

Which issue this PR addresses:

Fixes https://msazure.visualstudio.com/AzureRedHatOpenShift/_workitems/edit/12703356/
What this PR does / why we need it:

Updates the az cli extenion to use the new 2022_04_01 API and it's new features, namely, allowing customers to set FIPs mode on az aro create.
Test plan for issue:

In addition to E2E/make test-python that runs in pipelines, the following manual testing cases have been performed on a local RP instance (and the VM Size test requires modifying the development RP config):

[x] az aro create --debug

[x] debug logs show a PUT request to the RP that uses api-version=2022-04-01
[x] az aro show -n NAME -g GROUP | jq '.clusterProfile.fipsValidatedModules' output is "Disabled"
[x] oc debug node/FOO -- /bin/sh -c "cat /proc/sys/crypto/fips_enabled" output is 0

[x] az aro create --fips

[x] az aro show -n NAME -g GROUP | jq '.clusterProfile.fipsValidatedModules' output is "Enabled"
[x] oc debug node/FOO -- /bin/sh -c "cat /proc/sys/crypto/fips_enabled" output is 1

[ ] az aro create --worker-vm-size=Standard_L8s_v2

[ ] az aro show -n NAME -g GROUP | jq '.workerProfiles[0].vmSize' is Standard_L8s_v2
[ ] oc describe machineset/FOO -n openshift-machine-api shows .spec.template.spec.providerSpec.value.vmSize is Standard_L8s_v2

Is there any documentation that needs to be updated for this PR?

/azp run e2e

/azp run e2e


I am not sure if this is going to give a bug.

Steps to Reproduce

class TextPage extends StatelessWidget {
  TextPage(@required this.title);

  String title;
  final String defTitle = "文字样式";

  Widget _sectionTitle(String title) {
    return new Center(
      heightFactor: 2.6,
      child: new Text("xx控件控件xx文字xx文字",
          style: new TextStyle(
              fontSize: 18.0,
              background: (new Paint()..color = Colors.grey),
              color: Colors.white)),
    );
  }

  @override
  Widget build(BuildContext context) {
    // TODO: implement build

    return new Scaffold(
        appBar: new AppBar(
          title: new Text(title != null ? title : defTitle),
          centerTitle: true,
        ),
        body: new SingleChildScrollView(
          child: new Center(
            child: new Column(
              children: <Widget>[
                _sectionTitle("控件Text控件".toString()),
                new Text("Hello World ", textAlign: TextAlign.center),
                new Text("Hello World * 4" * 10,
                    maxLines: 2, overflow: TextOverflow.ellipsis),
                new Text("Hello world", textScaleFactor: 1.5),
                new Center(
                  child: new Text("Hello World汉字yinwen",
                      textAlign: TextAlign.center,
                      style: new TextStyle(
                          color: Colors.blueAccent,
                          background: new Paint()..color = Colors.greenAccent,
                          decoration: TextDecoration.underline,
                          decorationStyle: TextDecorationStyle.dotted)),
                )
              ],
            ),
          ),
        ));
  }
}

The bug occurred after using TextStyle.background

This is the result of running flutter doctor -v.

flutter doctor -v
[√] Flutter (Channel stable, v1.0.0, on Microsoft Windows [Version 10.0.17134.376], locale zh-CN)
    • Flutter version 1.0.0 at C:\src\flutter
    • Framework revision 5391447fae (2 weeks ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at C:\Users\Administrator\AppData\Local\Android\Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = C:\Users\Administrator\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[√] Android Studio (version 3.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 31.2.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[√] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 6.0 (API 23) (emulator)

• No issues found!

Logs

Please add the output of flutter doctor -v.

Please add the output of flutter doctor -v.

I added

See https://github.com/flutter/flutter/issues/24337
I think this is an issue within Skia.  In some scenarios, Skia seems to be reordering operations and drawing the background rectangle on top of the text instead of below it

See #24337
I think this is an issue within Skia. In some scenarios, Skia seems to be reordering operations and drawing the background rectangle on top of the text instead of below it

Thanks, I just tested it and it really is like this.

Duplicate of #24337


Question about pthread lib, the thread cannot return right value when joined

hi， I create two thread，the thread exited and return value to main join thread.  The first thread return rightly, but the second thread is error.
main.c：
#include <stdio.h>
#include <stdlib.h>
#include "pthread.h"
static void *ThreadRoutine(void arg)
{
int a = (int)malloc(sizeof(int));
a = 66666;
printf( "%s\n", (char)arg);
pthread_exit((void)a);
return NULL;
}
int TwoPthreadCreate(void)
{
pthread_t id1, id2;
void *a1, *a2;
int i, ret1, ret2;
char s1[] = "This is first thread!";
char s2[] = "This is second thread!";
ret1 = pthread_create(&id1, NULL, ThreadRoutine, s1);
if (ret1 != 0) {
	printf("Create pthread1 error! %d\n", ret1);
}

ret2 = pthread_create(&id2, NULL, ThreadRoutine, s2);
if (ret2 != 0) {
	printf( "Create pthread2 error! %d\n", ret2);
}

ret1 = pthread_join(id1, &a1);
if (ret1 != 0) {
	printf("Join pthread1 error! %d \n", ret1);
}

ret2 = pthread_join(id2, &a2);
if (ret2 != 0) {
	printf( "Join pthread2 error! %d\n", ret2);
}

printf( "thread1 return %d\n", *(int*)a1);
printf( "thread2 return %d\n", *(int*)a2);
return 0;

}
1、build and run with native gcc：
gcc main.c -lpthread
./a.out
This is second thread!
This is first thread!
thread1 return 66666
thread2 return 66666
2、build and run with wasm
1） build wasm
/opt/wasi-sdk/bin/clang -pthread -O3
-Wl,--shared-memory,--max-memory=196608
-Wl,--allow-undefined,--no-check-features
-Wl,--export=__heap_base,--export=__data_end
main.c -o test.wasm
2） run with iwasm：
        ./iwasm test.wasm
        THREAD CREATED 0x7fbb1b323ed0
        This is first thread!
        THREAD CREATED 0x7fbb1ae50ed0
        [00:44:54:513 - 1AE97740]: HashMap find elem failed: map or key is NULL.

        thread1 return 66666
        thread2 return 0

The thread2 return 0, not as expected. Please to reslove the question, Thanks!

Thanks for reporting this issue, it is caused by this line:
https://github.com/bytecodealliance/wasm-micro-runtime/blob/77c3ddf7d0d946258cbf56ea6c9b1c14e46e4061/core/iwasm/libraries/lib-pthread/lib_pthread_wrapper.c#L651
the pointer size is 32bit in wasm but 64bit in host, so in the first pthread_join, four more bytes are written which by accident modify the id2 variable in your source code.
You can change this line to
*(uint32*)retval = (uint32)(uintptr_t)ret;

Then you'll get correct result. We'll submit a pull request to fix this later.
BTW, the ThreadRoutine function in your source code seems not correct, the compiler throw several errors when I try to compile, so I modify some lines, the modified code is:
static void *ThreadRoutine(void *arg)
{
    int *a = (int *)malloc(sizeof(int));
    *a = 66666;
    printf("%s\n", (char *)arg);
    pthread_exit((void *)a);
    return NULL;
}

hi, As your change, The result is right.  The ThreadRoutine  function is change wrongly when I coping code. Thanks!


vote: update(OWNERS): add Andrea Terzolo to owners

What type of PR is this?
/kind documentation
Any specific area of the project related to this PR?
None
What this PR does / why we need it:
Hi folks :vulcan_salute:  As said in today's community call, I propose myself as a maintainer for Falco core repo.
I have been highly involved in various activities linked to Falco and its surrounding projects and I tried my best to help review code and help people all around the community, I'm looking forward to helping also here :)
Please if you have any suggestions or concerns feel free to share!
Thank you!
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Andreagit97
Once this PR has been reviewed and has the lgtm label, please assign jasondellaluce for approval by writing /assign @jasondellaluce in a comment. For more information see:The Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Per our governance, this requires a majority vote. So, @falcosecurity/falco-maintainers cast your vote, please :smiley:
Hold until we get the majority.
/hold

Ofc, big +1 from me :smile:

+1

LGTM label has been added.  Git tree hash: af2fe6e7ac72d05c438b875d5522d9ef215f8700

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/milestone 0.33.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP, jasondellaluce, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,jasondellaluce,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


MNIST Model E2E Multicore

Here is the pytest we need to run:
class MNIST(nn.Module):
    def __init__(self, input_size=784, output_size=10, hidden_size=256):
        super(MNIST, self).__init__()
        self.l1 = nn.Linear(input_size, hidden_size)
        self.relu = nn.ReLU()
        self.l2 = nn.Linear(hidden_size, output_size)

    def forward(self, x):
        x = self.l1(x)
        x = self.relu(x)
        x = self.l2(x)
        return nn.functional.softmax(x)

def test_mnist():
    batch = 1
    input_img = torch.randn(batch, 28*28)
    mnist = MNIST()
    mnist.to('tt')
    pybuda_mod = torch.compile(mnist, backend=compile_torch, dynamic=False)
    result = pybuda_mod(input_img.to("tt"))
    print("result", result)

Unique Ops:

matmul
add
relu
softmax

Milestone 1 Goals:

Run every op on multicore

Optimization pass functionally chooses correct multicore

Demonstrate Grid Shape Override via compiler visualizer
Push training graph through

In order to run this on multicore #450 needs to be solved.

Update:
We currently run mnist width sharded on multiple cores by using overrides.
What's left:

In order to verify this with device trace we're still waiting on #828
For optimization to work without overrides we need #911
TT-explorer has a POC with hardcoded overrides, but needs further integration. TDB, related: https://github.com/tenstorrent/tt-mlir/issues/913


Fix the footer to keep it consistent

Currently, on the landing page, the footer is inconsistent. It keeps on shifting downwards as more and more text gets rendered on the screen. We want its position to be fixed just like a usual footer.

I want to work on this.

Hey @Sparsh1212 , can you please clarify what you mean by consistent. Do you mean the footer should always be at the bottom the page, even in the launch page?

Hey @Sparsh1212 , can you please clarify what you mean by consistent. Do you mean the footer should always be at the bottom the page, even in the launch page?

Please see the video demonstration here. You can observe that the footer keeps on going downwards as more and more text appears. We should make its position permanent.
https://user-images.githubusercontent.com/55937724/145339370-1411888f-97e5-4151-afc7-6828ace3fe5d.mov

i would also like to work on this 😃

@iamrahulrnair Apologies but @chandrashekar27 has already approached first to work on this issue and only one person can be assigned at a time. So please look for any other unassigned issue.

sure thanks 😉

Hey @Sparsh1212 , can you please clarify what you mean by consistent. Do you mean the footer should always be at the bottom the page, even in the launch page?

Please see the video demonstration here. You can observe that the footer keeps on going downwards as more and more text appears. We should make its position permanent.
Screen.Recording.2021-12-09.at.10.49.45.AM.mov

Alright, I got what you meant. Will work on it

@chandrashekar27 Can you please work on this on priority. We need to fix this ASAP!

@chandrashekar27 Can you please work on this on priority. We need to fix this ASAP!

@Sparsh1212 I've been trying... but I keep getting stuck. Because the text renders with a time delay, the size of the animatedText div keeps changing. Can you suggest a method to keep it constant from the start?

@chandrashekar27 Can you please work on this on priority. We need to fix this ASAP!

@Sparsh1212 I've been trying... but I keep getting stuck. Because the text renders with a time delay, the size of the animatedText div keeps changing. Can you suggest a method to keep it constant from the start?

Hmm sounds interesting!
Maybe we have to hardcode the min. distance of footer from the top. This can help in keeping it consistent. Also please make sure that you hardcode different values of min-height in Desktop and mobile view. Feel free to discuss a better solution if you find any

@chandrashekar27 Can you please work on this on priority. We need to fix this ASAP!

@Sparsh1212 I've been trying... but I keep getting stuck. Because the text renders with a time delay, the size of the animatedText div keeps changing. Can you suggest a method to keep it constant from the start?

@chandrashekar27
Hmm sounds interesting! Maybe we have to hardcode the min. distance of footer from the top. This can help in keeping it consistent. Also please make sure that you hardcode different values of min-height in Desktop and mobile view. Feel free to discuss a better solution if you find any

Hey @Sparsh1212,
I thought we could try to solve this by initially setting a minimum height for the animatedText div.  I think this makes the footer component stay in a consistent position. Please take a look and tell if any changes are required :)


Create Buzzman:The_latest_newsletter.md

📝 Description
Add a brief description.
💣 Is this a breaking change (Yes/No):

[ ] Yes
[x] No

🚧 How to migrate?
Don't need.
📝 Additional Information
Hacktober Fest
Hoping for a favourable response

hello @AruSeito,
I am not entirely sure but you seem to have missed the IILA AI tag to be added to it.
With regards,
Arnavthakare19

Also it would be great if you review my PR since this would make it my 1st successful PR.


Update or remove Readability tool page and link to SMOG calculator

What
There's a proposal that we update this page with a link to another (probably US-based) SMOG calculator and explain add 5 years for UK.
https://service-manual.nhs.uk/content/health-literacy/use-a-readability-tool-to-prioritise-content
Why
The readability tools page links to a SMOG calculator that's been retired. We could link to another tool.
Tasks

[x] Consult Gill Rowlands, the literacy expert we worked with on the page
[x] Consider building a tool ourselves
[x] Hide page for now #857
[ ] Consider retiring the page - at January Style Council meeting
[ ] Update or retire the page
[ ] Consider "reading age" at the same time

Page drafted. https://github.com/nhsuk/nhsuk-service-manual/pull/646
ON HOLD - pending review by Gill Rowlands.

I'm putting this back into next sprint. We may need to take it to December Style Council meeting. https://github.com/nhsuk/nhsuk-service-manual/issues/765

We may have to hold it over till January Style Council as we have some more pressing issues.

We need to either remove the link or remove the page.
I've put a post in the NHS.UK content Slack channel, proposing to remove the page, but then to visit the issue properly at the January or February Style Council meeting.
If content designers (esp Mark Robinson, who wrote the page) agree, I think that I will still need clinician approval to take down the page before doing so early next week.

An NHS.UK colleague on Slack says that we did some recent research with people with aphasia. And some of them had reading difficulties - especially speed  - but that does not mean they had a low reading age. Some users may have levels of dyslexia - they may read and write more slowly but not have a low reading age. There are many possible issues with reading, so maybe we should frame it differently.

We have approval from the content team to remove the page. I'll do this early next week.

The decision has been made to hide the page until after January's Style Council meeting: https://github.com/nhsuk/nhsuk-service-manual/issues/867

On agenda for January Style Council meeting.

On agenda for January Style Council meeting.

Hi @markasrobinson, we'll be talking about the readability tool page at Style Council today.
In the meantime, it looks as if the link to the Patient Info Forum's toolkit on the health literacy page no longer works. It takes people to PIF's home page. I've tried to find the toolkit without success. I'm proposing to just remove the link. Is that OK with you?

Hi @markasrobinson, we'll be talking about the readability tool page at Style Council today.
In the meantime, it looks as if the link to the Patient Info Forum's toolkit on the health literacy page no longer works. It takes people to PIF's home page. I've tried to find the toolkit without success. I'm proposing to just remove the link. Is that OK with you?

Yep that sounds fine @sarawilcox

Yep that sounds fine @sarawilcox

Sorry @markasrobinson, in fact, this link is broken too: Learning and Work Institute: How to produce clear written materials for a range of readers
That means that there will just 2 working links at the bottom of the health literacy page:

the HEE one - which I think I'll take directly to here: https://healtheducationengland.sharepoint.com/Comms/Digital/Shared Documents/Forms/AllItems.aspx?id=%2FComms%2FDigital%2FShared Documents%2Fhee.nhs.uk documents%2FWebsite files%2FHealth literacy&p=true&originalPath=aHR0cHM6Ly9oZWFsdGhlZHVjYXRpb25lbmdsYW5kLnNoYXJlcG9pbnQuY29tLzpmOi9nL0NvbW1zL0RpZ2l0YWwvRXFrZ0dqZGNOaGRJdUVzLUZjb2JMM3dCcjd0THpZUW5mZzc5MFExYmxJaXlDQT9ydGltZT0yOGVwX2pQQjJFZw
the US health literacy resource

Sorry @markasrobinson, in fact, this link is broken too: Learning and Work Institute: How to produce clear written materials for a range of readers
That means that there will just 2 working links at the bottom of the health literacy page:

the HEE one - which I think I'll take directly to here: https://healtheducationengland.sharepoint.com/Comms/Digital/Shared Documents/Forms/AllItems.aspx?id=%2FComms%2FDigital%2FShared Documents%2Fhee.nhs.uk documents%2FWebsite files%2FHealth literacy&p=true&originalPath=aHR0cHM6Ly9oZWFsdGhlZHVjYXRpb25lbmdsYW5kLnNoYXJlcG9pbnQuY29tLzpmOi9nL0NvbW1zL0RpZ2l0YWwvRXFrZ0dqZGNOaGRJdUVzLUZjb2JMM3dCcjd0THpZUW5mZzc5MFExYmxJaXlDQT9ydGltZT0yOGVwX2pQQjJFZw
the US health literacy resource

The HEE link is to a SharePoint that I don't have access to.
There is a Health Literacy programme in partnership with NHS Scotland: https://www.e-lfh.org.uk/programmes/health-literacy/
There's also a report from the National Literacy Trust about reduced life expectancy correlating with poor literacy: https://literacytrust.org.uk/research-services/research-reports/literacy-and-life-expectancy/
Which leads me to suggest adding a paragraph about health literacy being correlated with literacy (very rough first draft for you to react to):
Someone with poor general literacy is very likely also to have poor health literacy. The two types of literacy are not the same. It's certainly possible to read fluently in general but to struggle with the specialist vocabulary of health. In the other direction someone might have learned a lot about a particular medical condition, perhaps because they have it themselves, but have poor literacy in other areas of their lives.

The HEE link is to a SharePoint that I don't have access to.
There is a Health Literacy programme in partnership with NHS Scotland: https://www.e-lfh.org.uk/programmes/health-literacy/
There's also a report from the National Literacy Trust about reduced life expectancy correlating with poor literacy: https://literacytrust.org.uk/research-services/research-reports/literacy-and-life-expectancy/
Which leads me to suggest adding a paragraph about health literacy being correlated with literacy (very rough first draft for you to react to):
Someone with poor general literacy is very likely also to have poor health literacy. The two types of literacy are not the same. It's certainly possible to read fluently in general but to struggle with the specialist vocabulary of health. In the other direction someone might have learned a lot about a particular medical condition, perhaps because they have it themselves, but have poor literacy in other areas of their lives.

Thanks @cjforms. I'll take a look at your comments about links with Mark.
If it means rewording the page, we'll need to run that by a Style Council meeting. We are looking at how we word things around "reading age" and poor literacy skills, so I'll feed this into the discussions.

Thanks @cjforms. I'll take a look at your comments about links with Mark.
If it means rewording the page, we'll need to run that by a Style Council meeting. We are looking at how we word things around "reading age" and poor literacy skills, so I'll feed this into the discussions.

The clinicians have approved removing the readability tools page. I had added a brief note to the health literacy page to say that we do not recommend readability tools. I have also removed 2 broken links on the health literacy page.
The issue of "reading age"/functional literacy is being taken forward separately:

reading age
[reading age] research plan(https://github.com/nhsuk/nhsuk-service-manual/issues/939)

@davidhunter08, could you help me permanently remove the readability tools page now, please?
It needs doing at the same time as we merge this PR: https://github.com/nhsuk/nhsuk-service-manual/pull/962


Stand By Feed iterator cleanup

Pull Request Template
Description
The current StandByFeedIterator is checking for a scenario that no longer happens in the backend (a page size error reading the Change Feed), and this check implies a Contains evaluation on the failed response. We can safely remove this overhead.

The current StandByFeedIterator is checking for a scenario that no longer happens in the backend
What's the new behavior?

The new behavior is that the backend will return a response that fits the max payload size and not an error.
The code here was copying a handling mechanism (reducing page size) we had in Change Feed Processor before the backend was fixed. Since the backend was fixed, this handling is not require anymore as the error it was detecting and reducing the page size, doesn't happen anymore.

Is the new changes API versioned OR generic and applicable to all versions?

The code removed is just dead code, that backend API already had this fix in place back at the beginning of the year. This does not leak to any of our public APIs because it was an internal retry mechanism.
The backend change feed API is not versioned.


split compile time and runtime envt, made tail recursive

This is probably rather bad Rust code. It is the first time I ever did anything practical with rust.
In order to learn rust I wanted to do the logical next steps for an educational lisp implementation: make it tail recursive an split compile time code analysis from runtime.
So far things seem to work at least. Except for "set!" which should not be too hard and comming one day.
Speed is disappointing.
Some code cleanup is still to be done.
Open Questions:

I wonder: likely I should understand when to use Rc vs. Box; I guess there is useless copying going on.

The Op::PRINTLN is a work around to just make it work some way. It should be exported as NativeFn. For this I would need to create a closure and define it. Grep for "FIXME: can't get that to work properly" to find my failed attempts.

I would actually rather like to be able to declare a version on NativeFn which is FnMut(). Can't figure out how. Any help appreciated.

Hi!
Thank you for your interest in this project 🙂
I haven't had the time to thoroughly go through your code yet, but I'll try to answer your questions:
Both Rc<T> and Box<T> are heap-allocated, but Rc<T> is reference-counted. So when cloning a Box<T>, you allocate a new memory area and then clone the data into it, while cloning a Rc<T> will simply increment the reference counter and point to the same memory area. This is also why you'll see Rc<RefCell<T>> because RefCell<T> will give you the borrow-checker at runtime.
My design regarding builtins and native functions is not really ideal in the first place, so maybe it would need an overhaul to fit your needs.
Though, I'll probably won't merge the PR, I'd like the code in this repository to match what was described in my article. But I don't mind forks 🙂
If you have any question, feel free to ask them here, I'll try to answer whenever I got the time, I'll keep the PR open for that purpose.

Hi David,
thanks for your reply.
Your fine article was actually what made me interested.
Sure you want a clean match between the article and the matching code.
Me too, in my fork of you repo I made another branch for these changes
for the same reason. My idea was basically: nice, small, straight
forward and buggy (I recall closures did not work) version of the
meta-circular interpreter from SICP. Maybe there is another article one
day with lessons learned.
Thanks for explaining the Box/Rc thing. Confirms my understanding. So I
should look at my code and see how often it does deep copy for no good
reason.
My real goal I did actually not achieve at all. I wanted to follow the
concept from Marc Feeley and Guy Lapalme
https://www.iro.umontreal.ca/~feeley/papers/FeeleyLapalmeCL87.pdf
and have the compile stage return functions expecting a single runtime
environment. (The Op:: enum type is just the best approximation I
managed to declare.) for this I would need to declare a proper return
type for the compile function like
 pub fn compile_expression(&mut self, env: Rc<RefCell<Env<S>>>,
 expression: Value<S>,)
 -> Result<MAGICTYPE<S>>

Where the MAGICTYPE would be almost like this:
 pub type MAGICTYPE<S> = fn(Rc<RefCell<RTE<S>>>) ->
 Result<Value<S>>;

But whenever I try to create a closure which intensionally captures
some values like
 return move |rte| captured_rte.borrow()....

The compiler complains that closures capturing references can't be
coerced into Fn and suggests FnMut. Fine I want it FnMut. How would I
fix ma MAGICTYPE?
Thanks for your help, your patience and once again for the article.


File path update for hunting queries

Required items, please complete
Change(s):

Updating file path for hunting queries

Reason for Change(s):

The file path should redirect to hunting query file not the just solution folder

Version Updated:

Required only for Detections/Analytic Rule templates
See guidance below

Testing Completed:

See guidance below

Checked that the validations are passing and have addressed any issues that are present:

See guidance below

Guidance <- remove section before submitting

Before submitting this PR please ensure that you have read the following sections and filled out the changes, reason for change and testing complete sections:
Thank you for your contribution to the Microsoft Sentinel Github repo.

Details of the code changes in your submitted PR.  Providing descriptions for pull requests ensures there is context to changes being made and greatly enhances the code review process.  Providing associated Issues that this resolves also easily connects the reason.

Change(s):

Updated syntax for XYZ.yaml

Reason for Change(s):

New schema used for XYZ.yaml
Resolves ISSUE #1234

Version updated:

Yes
Detections/Analytic Rule templates are required to have the version updated

The code should have been tested in a Microsoft Sentinel environment that does not have any custom parsers, functions or tables, so that you validate no incorrect syntax and execution functions properly.  If your submission requires a custom parser or function, it must be submitted with the PR.

Testing Completed:

Yes/No/Need Help

Note: If updating a detection, you must update the version field.

Before the submission has been made, please look at running the KQL and Yaml Validation Checks locally.
https://github.com/Azure/Azure-Sentinel#run-kql-validation-locally

Checked that the validations are passing and have addressed any issues that are present:

Yes/No/Need Help

Note: Let us know if you have tried fixing the validation error and need help.

References:

Guidance for Detection checks
General contribution guidance
PR validation troubleshooting

@v-vdixit, I see quotes for description string are missing. e.g. Hunting Queries/AzureDiagnostics/AzureKeyVaultAccessManipulation.yaml, Hunting Queries/CommonSecurityLog/B64IPInURL.yaml
Please check this for all the files.


[shardformer] refactor shardformer api

Refactor shardformer api to integrate with d_tensor, device mesh, etc

Closed by #4001


Saving a config with invalid JSON shouldn't reset it.

When enter a json in the config via UI and make a typo it wan't save my changes which is annoying.

Fixed. Pull request: https://github.com/ZS/powergrid/pull/17


As a user I want to be able to undo the previous step

Putting this back in the TODO pile as @logan-markewich and I discussed and felt that we don't know enough on potential user wants on this. Specifically, this can be implemented manually already by serializing context and firing the event using WorkflowHandler. Let's wait and see how usage and subsequent demands for such a feature arise in the next little bit.


Merge 'serialization_api' into master

[ ]   General Comment
<img border=0 src='https://avatars.githubusercontent.com/u/6862950?v=3' height=16 width=16'> :-1: until #300 is merged (and the tests fore-coming)

:-1: until #300 is merged (and the tests fore-coming)

needs to be done by hand.


Free form queries

This PR addresses 1543 and is a fork of this PR.

Introduced fastapi.dependencies.utils.mapping_shapes: Mapping
Currently mapping_shapes includes only pydantic.fields.SHAPE_MAPPING
Introduced fastapi.dependencies.utils.mapping_types: tuple with (Mapping) type
Introduced fastapi.dependencies.utils.is_scalar_mapping_field method that checks whether a field is a mapping field
Modified fastapi.dependencies.utils.get_dependant method's logic to accept mapping parameter as a field
Modified fastapi.dependencies.utils.request_params_to_args method's logic to parse incoming request query params as a mapping

TODO: The param currently hoovers up all query parameters - even if they are declared specifically. Need to address this.


Why testChunks request sends before first chunk request ?

  Am I using it in the wrong way or there is something that I don't know?Logically, the first chunk should send before the testChunks, in order to verify the previous chunk is received probably or not,
but now, the first testChunks request is used to determine whether the client should send the next chunk by responding with status code(404 means send next chunk, 200 means don't send).
  Thanks for pointing out my faults.

@Larryun I might be misunderstanding the question, but ahead of every chunk being POST'ed to the server, there's a preflight/test GET request using the same information. So by that logic, tests are run before the actual data is sent.


[RFC] Proposal for Database Interface Definition in Retreival and Data-Prep

Proposal for Database Interface Definition in Retrieval and Data-Prep
Author(s)
Wang Xigui (xigui.wang@intel.com), Hu Ying<EMAIL_ADDRESS>Status
Abstract:
We have identified several issues in the GenAIComps retrieval and data preparation implementations. The problems are as follows:

There are duplicated and unaligned codes in the Retrieval and Data preparation microservices. This is due to the retrieval implementation integrating and adapting to different databases (Redis, Milvus, Pgvector, etc.) and different frameworks (LangChain, LlamaIndex, Haystack).
There is inconsistent implementation of software stack layer: most of the retrieval micro-service instances are implemented through database layer while Qdrant is implemented through retrieval layer.

Scalable and Seamless integration are two advantages of OPEA. These issues weaken the scalability and seamlessness of OPEA.
We propose defining a clear software stack layer and a clear interface for the database to solve these problems.
Objective

Remove duplicated code in Retrieval and Data-prep micro-service.

consolidates the 11 retrieval micro-services into a single version.
consolidates the 12 data-prep micro-services into a single version.

Ensure a consistent software stack layer in retrieval/data-prep micro-service.

Define clear retrieval and database software stack layers.
Define a clear interface for the database.

Motivation

Maintaining duplicated code is challenging and often results in inconsistent implementations. This weakens the scalability and seamless integration of the retrieval and data-prep components.

An inconsistent software stack layer mixes retrieval and database in one module. It's the retrieval level that reorganize the data, which is beyond the database scope. To bring advanced retrieval feature (GraphRAG etc.) into OPEA easily, it is helpful to decouple retrieval and database.

Design Proposal
Define Clear Database Interface

GenAIComps retrieval is built on top of LangChain, LlamaIndex, Haystack, etc. It registers a retrieval microservice for each database integrated in a certain framework, as shown in Figure 1.

Figure 1.  Current Structure: retrieval interacts with different DB
Micro-service are implemented in bottom layer, with a total of 11 versions of retrieval code for different DBs and framworks. For example, Redis@langchain, Redis@LlamaIndex and Qdrant@Haystack, etc.
Additionally, these retrieval code are NOT always aligned.
The database interface is key to simplify the database integration into retrieval (and data-prep).
To make retrieval easy to adapt to different database, a database interface is proposed. The database interface act as:
a. A clear interface to adapt different DB
b. Simplifying database integration in OPEA
* Databases don’t interact with micro service
* Databases aren’t aware of retrieve and data preparation
c. Providing a standard and clear scope for integration unit test and verification
With the database interface, the new retrieval structure is shown in Figure 2.

Figure 2. Proposed Structure: Retrieval adapts to different database through DB interface
New Interface for DB
We have implemented the proposed prototype, as shown in Figure 3. Only a single retrieval micro-service code is needed.

Figure 3. a) Retrieval Porotype: Retrieval Interacts with OPEA Database

Figure 3. b) a single retrieval micro-service code for all database
Please be noted the interface shown is just a prototype.
The interface must be defined carefully:

It must cover the current functionality.
No functionality changes after implementation with new interface.
Extension of new feature and functionality should be considered.
Take care of interface version management.
Strategy: the compatibility of different version
More: ...

Proposal 2: Separated Retrieval and Database Layer in Framework
Current implementation mixes retrieval and database layer
There are 11 versions of retrieval code. Most of them interact with database layer interfaces to implement the retrieval task. However, Qdrant based on haystack implements retrieval through retrieval layer interface.
Interestingly, Qdrant data-prep micro-service interacts with database layer interface, as shown in Figure 4.
Both retrieval and database layer are not used in the implementation.

Figure 4 a) Retrieval micro-service based on Redis interact with Database interface

Figure 4 b) Retrieval micro-service based on Qdrant interfacts with retrieval interface

Figure 4 c) Qdrant data prepare micro-service interact with Database interface

Proposal: Clear Declaration of Retrieval Layer
Data-prep and retrieval are paired actions, because data-prep write data into DB and retrieval read data from DB.
The data organization and structure building (in data preparation) decide how we use them in retrieval.
It's the retrieval level that reorganizes the data and build the structure, which is beyond the database scope. For the complicated retrieval case, such as Graph RAG, the retrieval is heavy. A retrieval layer is helpful to enable the retrieval algorithm to different database.

Figure 5. Declaration of Retrieval Layer
Define Clear Retrieval Interface
To integrate LangChain, LlamaIndex, and Haystack retrieval into OPEA, we face the same problems of DB integration.
A retrieval interface is necessary to bring third party advanced retrieval RAG int OPEA.
The current implementation of retrieval is simple RAG.

Only texts are processed.

No image and Table, video and audio, etc, are not processed.

Simple retrieval to split text into chunks. Retrieval are the text chunks.

Advanced retrieval is not implemented yet.

So, it is not ready yet to define the retrieval interface now. Some more investigation is needed.
Alternatives Considered
Compatibility
For the interfaces definition, the compatibility of each version is important.
Miscellaneous
The implementation prototype just takes retrieval as examples. Rata-prep and retrieval benefit from the database interface.
For database interface definition, both data-prep and retrieval are taken into consideration at the same time, because it's a unified interface for data-prep and retrieval.

do we plan to reduce the number of published container images for dataprep and retrieval after this unified interfaces changes? Or do we still keep to publish different container images for different framework/database combinations?

do we plan to reduce the number of published container images for dataprep and retrieval after this unified interfaces changes? Or do we still keep to publish different container images for different framework/database combinations?

This is a good question.

Let me investigate if we can make dataprep and retrieval share the same docker images.

I believe it's OK.

For one docker image for different framework and Database combinations,
I have one question about the container environment setup, can we install dependency packages until we detect the configure framework and DB chosed? Or else, we have to install all packages for all frameworks and DBs.
It is unacceptable, and it is likely there are conflictions.


DevOpsDays Birminham, AL 24

https://devopsdays.org/events/2024-birmingham-al/welcome/

I don't think Bube confirmed the event, or she couldn't change the speaker. No idea since she's AWOL but I don't see us in the schedule, so I will close it https://devopsdays.org/events/2023-birmingham-al/program

Apparently, they still accepted it but won't book anything until I see it in the schedule and get an email myself
https://devopsdays.org/events/2024-birmingham-al/program

This is the talk that was offered:
Creating Immutable Infrastructures with Kairos
In this talk, we will introduce Kairos, an open-source project that aims to create immutable Operating Systems designed for Kubernetes. This includes a toolset that simplifies operations at the edge in a cloud-native way.
Edge computing has become increasingly popular due to its ability to save costs by processing information closer to the data before sending filtered and computed information to a centralized application or data warehouse hosted in the cloud. Kubernetes is an ideal solution for edge computing because it natively builds components that facilitate the lifecycle management of modern edge applications.
However, as we scale the number of edge locations, we face operational challenges, such as interacting with cluster configurations at scale without creating unique configurations for each location, ensuring security for remote clusters and applications, upgrading Kubernetes clusters without specific domain knowledge, and minimizing disruptions during maintenance windows for smaller form factor hardware.
Kairos acts as an engine delivering immutable Kubernetes-enabled Linux OS from OCI conformant container images. It provides unique capabilities such as VPN peer-to-peer mesh, a distributed ledger to automate Kubernetes cluster bootstrapping and coordination, and zero-touch provisioning with a QR code scan. But more importantly, it uses a declarative model backed by Kubernetes CRDs. It manages distributed Kubernetes operations at the edge from a centralized Kubernetes cluster.
In this presentation, we will explain the foundations and concepts of Kairos and demonstrate its capabilities.


max_follows_per_day changed, but not taken into account when running the script

Please follow the guide below

Issues submitted without this template format will be ignored.
You will be asked some questions and requested to provide some information, please read them carefully and answer completely.
Put an x into all the boxes [ ] relevant to your issue (like so [x]).
Use the Preview tab to see how your issue will actually look like.

Before submitting an issue, make sure you have:

[x] Updated to the latest version
[x] Read the README and docs
[x] Searched the bugtracker for similar issues including closed ones

Purpose of your issue?

[ ] Bug report (encountered problems/errors)
[ ] Feature request (request for a new functionality)
[x] Question
[ ] Other

Describe your issue
When I change the constant in the Bot class, e.g.: max_follows_per_day to 1000 even though I restart terminal and the computer, it always follows only 351 users. Am I missing something? Thank you

I was also experiencing this and when I rebuilt and reinstalled my bot won't run at all because of KeyError: 'items'

So I guess the thing is, all the classes there are examples, I have changed one or two example codes and now I am Instantiating the Bot class with a max_folllows_per_day parameter set to 1000 and it works :)

Could you explain  / post the code please, how did you get it to work? I have the same issue

I also had this issue and I believe it's because the compiled code is not being updated only in your source. Running the code in a virtual environment seems to work for me. Otherwise try the recommendation posted here... https://github.com/instagrambot/instabot/issues/687


When creating a Job, the associated workflow and datasets must be part of the same project

This check is not currently enforced. We should introduce it.

For the record, the worklow-apply endpoint (which is the only one the creates a job entry in the DB) is already safe, because it uses _get_dataset_check_owner and _get_workflow_check_owner and these functions have multiple checks:

Per-user access control at the project level
Consistency check of the project_id foreign key


Enable llvmlite conda package for s390x

Checklist before submitting

[x] Did you read the contributor guide?
[ ] Did you update any affected documentation?
[ ] Did you write any tests to validate this change?

Description
Enable llvmlite conda package for s390x in open-ce
Fixes # (issue).
Review process to land

All tests and other checks must succeed.
At least one maintainer must review and approve.
If any  maintainer requests changes, they must be addressed.

No longer needed.


Run tests in spec file

We had to disable this for some release but I no longer remember why (failing builds, missing dependencies). Anyway, I tested scratch builds with brew (eng-rhel-6) and koji (f27).

If both py2 and py3 subpackages are built, should't the tests run for each of them?

Fixed and tested scratch builds.


Add support for rowsHash()

Cucumber's rowsHash() function transforms a data table into a JSON object. To maintain parity between cucumber and jest, it would be helpful for jest-cucumber to support that function. Currently, I have to hack a non-standard data table structure in my feature file from this
| firstName | Sara |
| lastName | Lee |

to this
| key | value |
| firstName | Sara |
| lastName | Lee |

and then transform it in the step:
    when('Sara provides account information:', userInfo => {
      const user = {};
      userInfo.forEach(({ key, value }) => (user[key] = value));
      userStore.updateUser(user);
    });

Although this way does the job, it is "non-canon". Folks familiar with cucumber won't understand why we didn't use rowsHash() instead.

Sure, more idiomatic table handling would be nice. Thanks for bringing this to light.

Hello, this PBI is added but still shows in backlog. Is there any plan to include this? It would be helpful if this can be prioritized.
Thanks,


Error in decoding the request from socket

Hello! I'm trying to run the singlevm executable for the sentiment-analysis workload (i've built the python3 rootfs and the sentiment-analysis appfs). The microvm boots fine, but when the request is received i get the error --> "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xac in position 1: invalid start byte" from line 34 in the respective workload.py file. From stdin i am passing the requests/sentiment-analysis-python3.json file. Is it an error in the format of the json, or an error in parsing the request? Thank you!

So, for now, I've figured a turnaround for executing the sentiment-analysis app inside a micro-vm, by creating the full app fs. Nevertheless, this issue should be addressed!

So, I have basically fixed this following the implemented communication protocol through syscalls proto-buffers existing in the regular_dir workload.py. I can gladly create a PR, if that would be helpful. Thank you in advance!


SSH Key missing

SSH Key missing is missing after host restart respectively after ssh-agent container restart without using dde

fixed with #15


fix: race condition with Interop Observables

Description:
I'm working on a library that exposes Interop Observables and I've noticed that in some situations, depending on which package gets imported first, the user gets the following error:
TypeError: You provided an invalid object where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.

After some debugging I found that the culprit is this line of code:
export const observable: string | symbol = (() => (typeof Symbol === 'function' && Symbol.observable) || '@@observable')();

The problem with that code is that if it runs before the package(s) that are responsible for polyfilling Symbol.observable get evaluated, then it's already too late to polyfill Symbol.observable.
A simple solution would be to make that code lazy, so that if later on a package polyfills Symbol.observable then everything should work as it's expected:
export const observable: () => string | symbol = (() => typeof Symbol === 'function' && Symbol.observable) || '@@observable';

Which is the change that I'm proposing in this PR.

Oh, wow! I just noticed that this observable is part of the public API :scream: So, this would be a breaking change... :worried:
I think that this must be a mistake, IMO it only makes sense to expose a non lazy version of it if RxJS itself polyfills Symbol.observable like it used to do it in the past... Otherwise, it should be a function, right?

In general, polyfills should always happen first. So the issue here is if someone wants Symbol.observable interop, they'd need to polyfill it upfront.
We can't really accept this PR because, like you pointed out, it would be a breaking change.
If we wanted to be "lazy" about dealing with Symbol.observable, one thing that could be done is to move its set up to the constructor of Observable:
constructor() {
   this[Symbol.observable ?? '@@observable'] = ...
}

However, that shouldn't really be necessary, if people are using polyfills properly.

Thanks @benlesh ! That makes sense.
One last question, though: I know that RxJS used to polyfill in the past, and that for some reason (that I currently ignore) it stopped doing that on v6. However, the more that I think about it, the more I realize that either all libraries that deal with InteropObservables try to polyfill, or InteropObservables won't be as interoperable as they were intended to be... At least in the sense that it can become quite challenging for the consumers of those libraries to get it right.
What would be the harm on having this tiny polyfill on RxJS?
if (!Symbol["observable"]) {
  Object.defineProperty(Symbol, "observable", {
    value: Symbol("observable")
  });
}


SharedPreferences fileName argument injection

Hi looking on Android implementation of KVault it looks like its API does not allow custom sharedPreferences name.
 encSharedPrefs = EncryptedSharedPreferences.create(
            context,
            "secure-shared-preferences",
            masterKey,
            EncryptedSharedPreferences.PrefKeyEncryptionScheme.AES256_SIV,
            EncryptedSharedPreferences.PrefValueEncryptionScheme.AES256_GCM
        )

The "secure-shared-preferences" is hardcoded. Is it possible to add a second argument to KVault constructor with default value, so that at least there will be an option to give a unique fileName.

Hi @AfanasievAnton, yes we can do this. Could you create a PR with this change?

Thanks @gaebel , unfortunately I keep getting permission denied when trying to upload a side branch with this chages.

You can't push directly into the repository. You have to create a fork and then a PR with the changes in the forked repo.

I've implemented the feature in the latest release.


Commit all doc include changes

As requested in https://github.com/quarkiverse/quarkiverse-devops/issues/262

@gastaldi do you want me to fix my other extensions with this same fix?

@melloware if they are not in the quarkiverse org, yes please. I am already running a batch process to create PRs for all extensions in the org


Ability to change position/rotation speed per each axis

Thanks for good plugin.
And i have idea for improvement: ability to set translation/rotation speed per each axis XYZ individually.
Can be helpful for racing games for example, when camera moves in Z axis with some more latency than XY-axis

I've planned to do this for a while, but feel free to open a pull request for it :slightly_smiling_face:


ARM64: change to assign bits

second param of BITFIELD is number of bits.

@dotnet-bot test this please

@dotnet-bot test OSX static_osx_osx_debug


Latest version does not download Video

Hi,
Since the introduction of the 2FA version of Bling, the downloading of videos to the specified folders in blink.ini no longer updates.
I have fully deleted the folders in App Data and Documents, re-installed and re-added the configuration file but no downloads since 5th May 2020.
BLINK.ini

[SyncVideo]
LastUpdate=2020-05-05T01:29:58+00:00
Enabled=true
UseLocalTime=false
Interval=60
Sleep=20
Output=Z:\Tech-Files\CCTV\Videos
[SyncThumbnail]
Enabled=true
Interval=7200
Sleep=5
Retries=10
Output=Z:\Tech-Files\CCTV\Thumbs\

Video clips DO show up in the Bling application and I can watch them but they don't save.
Thanks!

I'm having the same problem. no more downloads since May 5th

Sorry in the delay answering. Please check what the log says at Bling.exe/Logs/Bling.log.  Could you please check Bling.exe/Html/viewer/data/token.json and see if you have an account id? Something like {"account":{"id":123456
But please do not disclose the token.json data here as contains login information.

Here is a redacted version:
{"account":{"id":[XXXXX],"verification_required":false},"client":{"id":[XXXXXX],"verification_required":true},"authtoken":{"authtoken":"[TOKEN]","message":"auth"},"region":{"tier":"prde","description":"Europe","code":"eu"},"lockout_time_remaining":0,"force_password_reset":false,"allow_pin_resend_seconds":60,"server":"rest-prde.immedia-semi.com","port":443,"user":"[EMAIL]","uid":"[UID]","notification_key":"[NOTIFICATION KEY]"}

Very strange I have a similar token. Is this videos path being created? Please try to copy and paste a file to check permissions.Try to use the default videos location by removing this entry in ini file and executing again, all videos should be in /Bling.exe/Downloads/Videos. Just to check if there is a problem with that locations.
If anything of this works I will release a new version with more traces so we see what's happening

Oh!

Hmmm...Viewer is 0.1.16 and Desktop is <IP_ADDRESS>.
I can see it says 0.1.21 on the latest and this is the version I've downloaded to re-install.

I am generating a new version with traces to see where it is being stuck. It will take 15 minutes, I will comment again here when is available.

Think I've sorted it...
I've just removed the application again, downloaded a fresh copy from here and run the installer, that all went well.
When I start Bling for the first time, a blank screen appears (whilst it downloads new files?),  I then get an error stating that a 16 bit application could not run (attached). I then closed Bling back down again, re-loaded and it IS now stating <IP_ADDRESS>.
Files are now downloading.
I think somewhere during the download process it errored, not sure how I got it to go to .21 but it does now seem to be working! :-)

Ok seems we have here a problem with the automatic Desktop upgrade. You both were running 1.20 version that does not work ok with viewer 1.16. I will improve the upgrade process as some users reported also the 16 bits version.

No problems, thanks for your help so far. :-)

Reinstalling the atest version solved the problem, the downloads started again. I had the same problem as shoey79 in the installation proces but after a while it proceeded and made the last version available on my computer. please close this issue and thanks for your help.


Instance count as output

Description
I have added "instance count" as output. This can be useful in scenarios like for example planning the amount of route 53 records to create by using it in combination of the rest of outputs of the module. At the moment, all the rest of the outputs cannot be used as "count" value in any other place because Terraform cannot predict how many instances will be created.

v2.12.0 has been just released.
Thanks, @gabops !


surface_charge_density_from_charge_and_area

Sorry, I haven't figured out how to clean the commits yet, although I kind of did the synchronization.


False outcome with empty string object

Hi, I am trying to validate an empty JSON and this is what I get:
import isJSON from 'is-json';
isJSON({},true); // This is true
isJSON("{}",true); // This is false
From what I understand, both of them should be true
I am using version 2.0.1

I checked the source code and if you use the "strict" method it does return true


Contextualising links for each concept

Whilst each concept is very much represented by a wealth of reading and video material which should cover the concept in sufficient details. I do wonder whether there's a bit of context needed for the links addressing why this link has been chosen - What is particularly good about this link ? What part of the concept does this do a good job of explaining. I'm not sure many people have the brain power or the will to read 10 articles about the same concept if there's repetition of details.
Thanks for considering. I admit this would require quite a bit of work but might make sure that each concept is high impact in the material being displayed.

Hello @medic-code
I would like to fix this issue
so kindly assign me this issue
Thank You : )

Hi @Kota-Karthik, I'm not the maintainer of the repo, I just made this suggestion aha over a year ago. @leonardomso created the repo. For such a large change to the repo as it would effect all of the concepts if you were to do this suggestion justice, it might be worth doing for one of the concepts and opening a PR to get approval from those who contribute or from @leonardomso.
I still stand by this idea by, there's lots of fantastic links to each concept but perhaps it needs tailored so that people can get the maximum benefit out of it.

@medic-code didn't you get any reply from @leonardomso over a year?

I didn’t but that’s GitHub, It needn’t be him that needs to reply anyways
to start working on it, but given the scope of change starting small seems
the most sensible. As I said if you’d like to work on it I’d start small
and open a small PR see what happens in review.
On Saturday, September 30, 2023, Kota Karthik @.***>
wrote:

@medic-code https://github.com/medic-code didn't you get any reply from
@leonardomso https://github.com/leonardomso over a year?
—
Reply to this email directly, view it on GitHub
https://github.com/leonardomso/33-js-concepts/issues/223#issuecomment-1741841069,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOKD2E3H57BGMUR4VECHIHLX5BWCJANCNFSM546TNB5A
.
You are receiving this because you were mentioned.Message ID:
@.***>


[thanks] This looks very useful for my tax needs

David, thanks for all your tremendous work in this area!
I have seen your module updats reported from CPAN on #raku often and didn't think I had any use for them. I have been generating PostScript files by hand and Perl and now Raku for over 25 years and started converting the PS to pdf as soon as ps2pdf came along.
However, this year I see how your modules can help me greatly! This year, for the first time ever, I signed on with a local CPA so my wife can have financial help in the event of my demise.
He requires us to fill out detailed pdf forms so he can have controlled input for his work flow. Today, while wrestling with some tax stuff for him, I find that it would be nice if I can programmatically update some or all of his 16-page pdf form from my records via Raku filtering from csv dumps from our financial accounts. With the help of your wonderful modules I hope to have some success soon!
Blessings.
-Tom (@tbrowder)

Hi Tom,
I also came to PDF from PostScript. Was using it extensively in a mail-house before moving to a PDF based print operation.
Hope that Raku and the PDF modules can help take the pain our of form-filling. Let me know how you go.

David

On Wed, Apr 8, 2020 at 12:48 David Warring<EMAIL_ADDRESS>wrote:

Hi Tom,
I also came to PDF from PostScript. Was using it extensively in a
mail-house before moving to a PDF based print operation.
Hope that Raku and the PDF modules can help take the pain our of
form-filling. Let me know how you go.

Thanks, David. I have to admit I'm looking to see what 'pdftk' can do at
the moment. I'm wrapping it in Raku mainly to encapsulate my desired ops
and simplify the awkward CLI with its many ops.
A demo prog for grabbing form data and filling them in on your Github
account would be very helpful.

Hi Tom,
I added examples/pdf-fields.raku to the repo with the last commit. Happened to have a script that I adapted unreleased module https://github.com/p6-pdf/FDF-p6
Usage is:

pdf-fields.raku --list <pdf> - to list fields
pdf-fields.raku --fill key val [key2 val2 ...] <pdf>  - to populate fields

Based on fillpdffields.pl from the Perl CAM::PDF module. Which is doing a bit more with setting up field appearances.
Probably only works on text fields at the moment. Might also have more to do if CAM::PDF is doing a better job. It doing work on setting up field appearances that I have ported yet.

On Wed, Apr 8, 2020 at 4:25 PM David Warring<EMAIL_ADDRESS>wrote:

I added examples/pdf-fields.raku to the repo with the last commit. Happened to have a script that I adapted unreleased module https://github.com/p6-pdf/FDF-p6

David, good timing! 'pdftk' so far isn't helping a lot. I can see the
fields but no easy way to correlate fields with what's on the page.
However, the good news is my accountant said they use the data
manually (surely he could use appropriate software, but this way I
guess his billable hours are more ;-D).
Your existing programs I think can let me overwrite the form without
any major problems after I get the page measurements down ok.
But I will try the ones you referenced first--thanks so much!
I hope you and yours didn't suffer during the recent fires down under.
Best regards,
-Tom
P.S. Is Damian Conway anywhere near you?

Thanks Tom,
This PDF is useful as an example and I'm still working through it.
It illustrates the point that sometimes fields are laid out in rows and columns, and don't have useful labels. I.e. that script isn't the right approach. Could be that processing fields in tab order would work better.
Agree it's a mute point if its being manual copied! Hope they're at least cutting and pasting.
I've moved from Australia to the South Island of New Zealand, so wasn't affected by the fires this time. We're both far south.

David

PS was living in Melbourne when in Aussie, so near Damien, who held some interesting talks at Melbourne PM group.

Have done some more experimentation on this. I can see what CAM::PDF is doing and why. It's not just a matter of setting the form value. The API also needs to rebuild the appearance dictionary (AP) for the updated values to display reliably.
More work needed, I've raised https://github.com/p6-pdf/PDF-API6/issues/7

Hi Tom,
I've come up with a quick solution for populating form fields when the fields are arranged in a table. The fields are ordered left to right from top to bottom.
I needed to fix a bug in PDF::Class fields() method, so please upgrade to 0.4.3.
This script also sets a NeedAppearances flag and clears the field appearances (AP).  I need to do this to ensure the updated values are displayed.
use PDF::API6;
use PDF::Field;
use PDF::Class:ver<0.4.3+>;

sub clear-fields-display($pdf) {
    # remove displayed values (Appearence) for each field
    .<AP>:delete for $pdf.fields;
    # dynamically display field appreances instead
    $pdf.Root.AcroForm.NeedAppearances = True;
}

sub MAIN($pdf-file, $save-as, Bool :$rebuild) {
    note "opening: $pdf-file";
    my PDF::API6 $pdf .= open: $pdf-file;

    note "clearing fields...";
    clear-fields-display($pdf);

    note "setting fields...";
    constant ColumnsPerRow = 5;
    my @page-fields = $pdf.page(1).fields;
    my $rows = @page-fields.elems div ColumnsPerRow;
    my @table-fields[$rows; ColumnsPerRow] Z= @page-fields;

    my $j = 0;
    for 1 .. $rows -> $row {
        for 1 .. ColumnsPerRow {
            @table-fields[$row-1; $_-1].V = "Row $row Col $_";
        }
    }

    with $save-as {
        note "saving: $_";
        $pdf.save-as($_, :$rebuild);
    }
    else {
        note "updating...";
        $pdf.update;
    }
}

On Mon, Apr 13, 2020 at 18:09 David Warring<EMAIL_ADDRESS>wrote:

Hi Tom,
I've come up with a quick solution for populating form fields when the
fields are arranged in a table. The fields are ordered left to right from
top to bottom.

Thanks, David!
-Tom


cdpPort and concurrency

I don't think this question would fit onto stackoverflow so I'll post it here.
When I run my tests using chrome:headless:cdpPort=9222 --disable-dev-shm-usage --no-sandbox I see a lot of flakyness in some of my tests when run in concurrency-mode (e.g. up to 8 threads).
However, if  I change it to chrome:headless --disable-dev-shm-usage --no-sandbox and let testcafe assign the cdpPort automatically, I don't see this flakyness.
This brings me to my question: Does manual assigning of the cdpPort even make sense in concurrency-mode? If I run netstat -ltnp during those testcafe runs, I can see that testcafe is reserving up to 8 extra ports when I run it without specifying the cdpPort. I assume the cdpPort should NOT be shared across different threads?

If so, this definitely should be documented since I just found out by accident.
How do we know what CDP port is in use? Can we get this information in t ? In my scenario, I need to know it since I download a file based on the suggestions here: https://github.com/DevExpress/testcafe/issues/3127

Hi @dlangerenken

It's a TestCafe problem. In your example, TestCafe runs 8 browser instances with the same cdp port.
I guess we should raise an error if TestCafe is running with the specified cdp port in concurrency mode (we also need to check other machine specific settings).

At present, there is no public API to determine what cdp port is used by the browser instance. This information will not be necessary once we fix #3127.