Should generate "override lazy val" instead

Unfortunately, this turns out to be a can of worms :-( Now that you've opened my eyes to it, it turns out that there are a whole pile of issues with vals that I was previously unaware of :-(
I'm going to have to give this some thought (I'm sure that it can be solved, but I'll need to think about how best to do so). Is this causing you any immediate problems? If so, let me know and perhaps I can come up with a workaround that will get you going in the short-term until there's a long-term fix.

Hi Paul,
No immediate problem, was just doing some basic familiarisation
Good luck!
Paul

From: Paul Butcher<EMAIL_ADDRESS>To: drpacman<EMAIL_ADDRESS>Sent: Wednesday, 11 January 2012, 16:37
Subject: Re: [ScalaMock] lazy vals on traits cause compilation errors (#3)
Unfortunately, this turns out to be a can of worms :-( Now that you've opened my eyes to it, it turns out that there are a whole pile of issues with vals that I was previously unaware of :-(
I'm going to have to give this some thought (I'm sure that it can be solved, but I'll need to think about how best to do so). Is this causing you any immediate problems? If so, let me know and perhaps I can come up with a workaround that will get you going in the short-term until there's a long-term fix.

Reply to this email directly or view it on GitHub:
https://github.com/paulbutcher/ScalaMock/issues/3#issuecomment-3449302

Hi Paul,
An immediate problem for us! Is there a target date to address the can of worms?
Thanks!
Jon

Dang - I'm sorry about that, Jon.
The solution is, I believe, that as well as mocking the class in question, I also need to mock all of its parents. I'd love to give you a firm date, but ScalaMock is a spare time project for me.
In the interim, could you use proxy mocks for these specific cases? They shouldn't suffer from the same issue.

What?! You mean to say that you are not 300% devoted to ScalaMock?? ;-)
Does ScalaMock need more contributors/committers, and should we get out there and put the word out to see if more are willing to help?
Thanks,
Jon

I'd be very grateful indeed for any help - either with ScalaMock itself or with getting the word out :-)


Player._loopStart and Player._playbackRate and Player.sync() may cause problem

It is v14 tonejs. Inside the player._start method, if the player is synced, then computedOffset will multiply by _playbackRate, if the computedOffset is _loopStart, then does it mean the _loopStart value should refer to the stretched sound instead of actual audioBuffer? If so, set loopStart shouldn't compare the value with buffer.duration if the player is synced.

That's because of these lines:
https://github.com/Tonejs/Tone.js/blob/826a51d5943e87776869522640b41feff7cf3daf/Tone/source/buffer/Player.ts#L198-L200
but now i'm not sure why that's in there. it does seem to cause some problems. I'll take another look and see if it needs to be in there, if not i'll remove it and update the tests.


V7.0.0 Ammendments

Description
Final amendments prior to v7.0.0 release.
Issues Resolved

Test testing DHCPv6 on Github actions
Documentation typos

Check List

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

          1 Error

:no_entry_sign:
Please include a CHANGELOG entry.

  Generated by :no_entry_sign: Danger

Missed a couple of typos and whilst working on something completely unrelated I managed to work out that you can flip the disable_ipv6 sysctl and add an ipv6 address to a non-ipv6 enabled docker network so we can test with kitchen on github actions.

How did you manage to get this working in actions?

How did you manage to get this working in actions?

Strangely you can assign an ipv6 address to an interface in a container on a non ipv6 enabled docker network with a bit of jiggery-pokery.  It's surprised me because I swear I've looked at doing this before and been unsuccessful.
It won't have any external access but it's enough for kitchen where we just want an address available for the process to bind to.

That's brilliant, really nice catch there!
Good enough for kitchen is good enough for me (Plus I am sure that github don't really want loads of temp dhcp servers running in the lans :D )
LGTM when you are happy


Gallery of example notebooks

e.g. include example notebooks loading the data and using scivision to load data and models

[ ] CryoEM
[ ] Climate and Agriculture
[ ] Environmental sensors

See ideas in: https://github.com/alan-turing-institute/scivision/discussions/120
Depends on: #138

Idea - Notebooks that:

adds a dataset to scivision catalog from data. provider perspective
adds model from the model creator/adapter perspective
Searches the catalog from the model creator perspective and finds a matching dataset (or vice versa)
Runs model on dataset

@scotthosking also had an idea to do something similar to the above via video explanations

Decision from  9th March 2022 co-working:
Create scivision_gallery org
Each example repo has a:

Notebook
Environment file (environment.yml or requirements.txt)
README with instructions saying

conda activate...
jupyter notebook

Scivision Gallery org


Workspace - Text becomes poorly visible when clicking and holding it with the mouse

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to URL https://staging.new.expensify.com/
Login with any account
Go to Settings -> Workspace ->Connect Bank account -> Connect manually
Click and hold with the mouse to "I accept the Expensify Terms of service"

Expected Result:
The text is visible
Actual Result:
The text becomes poorly visible
The same behavior with "Set my timezone automatically" in Profile settings
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

https://user-images.githubusercontent.com/93399543/207972675-f1b0e1fa-39a3-41ad-a7ed-5bbd972deffd.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Not overdue. Internal, so changing it to Weekly.

Finished my other WAQ issue, going to put this back as a Daily.

We can fix this by changing the activeOpacity of the parent <TouchableOpacity> but I'm not quite sure which value to use, so I'm going to loop in @shawnborton for a second opinion. I'm leaning toward either 0.6 or 0.7 personally.
Here are a few long press examples to showcase various opacity values. In the rest of the codebase, we mostly use 0.7 or 0.8, but it's mostly on list/row elements, not text like here.

Opacity value
	Long press example

0.2

0.5

0.6

0.7

0.8

This issue has not been updated in over 15 days. @francoisl, @parasharrajat, @isabelastisser eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

This was handled internally but we still need to comp @parasharrajat for the PR review.
@isabelastisser do you have the ability to do that?

Sorry for my delay here!
@parasharrajat I invited you to the job in Upwork, please accept the offer and I will hire you and process the payment asap. Thanks!

@parasharrajat I made the payment in Upwork. We are all set!


Moving cellery run functionality to ballerina

Previously cellery run functionality (generating dependency tree, starting dependency tree, Applying yaml etc.) was handled by the CLI.
Moved the responsibility of run functionality to ballerina.

@Asma Jabir<EMAIL_ADDRESS>please note.
On Mon, Sep 23, 2019 at 12:16 PM Anuruddha Lanka Liyanarachchi <
<EMAIL_ADDRESS>wrote:

@anuruddhal requested changes on this pull request.
In components/lang/src/main/java/io/cellery/impl/RunTestSuite.java
https://github.com/wso2-cellery/sdk/pull/669#discussion_r326964736:

@@ -74,137 +79,63 @@
@BallerinaFunction(
orgName = "celleryio", packageName = "cellery:0.0.0",
functionName = "runTestSuite",

   args = {@Argument(name = "iName", type = TypeKind.RECORD),

   args = {@Argument(name = "instanceList", type = TypeKind.ARRAY),
           @Argument(name = "testSuite", type = TypeKind.RECORD)},
   returnType = {@ReturnType(type = TypeKind.ERROR)},
   isPublic = true

)
public class RunTestSuite extends BlockingNativeCallableUnit {
private static final String OUTPUT_DIRECTORY = System.getProperty("user.dir") + File.separator + TARGET;
private static final Logger log = LoggerFactory.getLogger(CreateCellImage.class);
Wrong logger class.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/wso2-cellery/sdk/pull/669?email_source=notifications&email_token=AJKGMJ34MHSRLFXK7OCJSNTQLBQ4TA5CNFSM4IZGPP72YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCFQTPYQ#pullrequestreview-291583970,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJKGMJ6V7L3TKLRWN2HOMYDQLBQ4TANCNFSM4IZGPP7Q
.

--
Harith Wickramapala
Software Engineer | WSO2
Email<EMAIL_ADDRESS>Mobile: 0771 845 315
web: http://wso2.com http://wso2.com/
[image: https://wso2.com/signature] https://wso2.com/signature

Opened a new PR https://github.com/wso2-cellery/sdk/pull/671


When training a classifier, don't freeze the weights of the decoder and codebook?

hi, When training a classifier, don't freeze the weights of the decoder and codebook? I didn't find any steps in the code for freezing weights.

Hi epleone,
Do you find which code indicates the weight of the decoder and codebook has frozen?

@Kun-Ming
Yes, I found it before. But it's been a long time.
It might be this line.

@epleone
Thanks! That makes sense.

Glad to help you.

hi, @epleone ,
Does this method (not freezing decoder and codebook )get better accuracy ?
Cause I couldn't reach accuracy than heatmap base q_q

@Tommy-Hsu
I'm not clear about this.

Forget about it.
I wasn't understanding code that time.
Now, it's clear.
Thanks.


Allow non-retryable sources when uploading files to S3

Describe the feature
Ability to build a ByteStream from an implementation of AsyncBufRead.
Use Case
A simple use-case is, we want to read some data from an existing stream (prior S3 download, for example), compress it on the fly, and upload it.
Example code that currently does NOT work:
    let get_resp = aws_client
        .get_object()
        .bucket(AWS_BUCKET_NAME)
        .key(AWS_RBL_PATH)
        .send()
        .await?;

    let read = StreamReader::new(get_resp.body.map_err(convert_smithy_error));
    let z_encoder = ZstdEncoder::with_quality(read, Level::Precise(5));

    let put_resp = s3_client
        .put_object()
        .bucket(S3_BUCKET)
        .key(S3_DESTINATION_FILE)
        .body(z_encoder)
        .send()
        .await?;

If we assume we don't want retries, it should be possible to use a simple AsyncBufRead implementation for the PUT operation.
Proposed Solution
No response
Other Information
No response
Acknowledgements

[ ] I may be able to implement this feature request
[X] This feature might incur a breaking change

A note for the community

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue, please leave a comment

You may be able to accomplish this right now with a multipart upload, although you'd have to manually chunk the stream into 5Mb chunks. We don't have an official example of doing this but we've posted about it in a previous issue.
Let me know if you have any questions about how to adapt that example to your use case.


Files, that do not differ in size, are not synced

I'm using rclone 1.34 on Microsoft Windows.  My storage provider is Yandex with Crypt on top.
Syncing works.  Except that changed files, which do not differ in size, are not picked up.  Neither by rclone check, nor by rclone sync.  It seems that modification times and checksums are ignored, and only sizes are compared.

try these:
--ignore-size                       Ignore size when skipping use mod-time or checksum.
  -I, --ignore-times                      Don't skip files that match size and time - transfer all files

I tried --ignore-size and --checksum and both don't change anything.
--ignore-times syncs all files every time, which is unacceptable for me.

checksum isn't supported over crypt - see #637 for the ultimate solution.
Also see #854
Modtime should be supported with Yandex though, can you give log of it not working please with -v please?

This definitely looks like a bug.  Rclone picks up the changed modification time, but decides to skip the file nonetheless.
Here is the transcript:
$ echo foo >foo/foo.txt
$ ./rclone.exe --config rclone.conf -v sync foo secret:
2016/11/27 21:07:21 rclone: Version "v1.34" starting with parameters ["C:\\Users\\dfe\\Desktop\\rclone\\rclone.exe" "--config" "rclone.conf" "-v" "sync" "foo" "secret:"]
2016/11/27 21:07:22 Encrypted Yandex secret: Modify window is 100ns
2016/11/27 21:07:22 Encrypted Yandex secret: Waiting for checks to finish
2016/11/27 21:07:22 Encrypted Yandex secret: Waiting for transfers to finish
2016/11/27 21:07:24 foo.txt: Copied (new)
2016/11/27 21:07:24 Waiting for deletions to finish
2016/11/27 21:07:24
Transferred:      4 Bytes (1 Bytes/s)
Errors:                 0
Checks:                 0
Transferred:            1
Elapsed time:        3.2s
2016/11/27 21:07:24 Go routines at exit 3

$ echo bar >foo/foo.txt
$ ./rclone.exe --config rclone.conf -v sync foo secret:
2016/11/27 21:08:25 rclone: Version "v1.34" starting with parameters ["C:\\Users\\dfe\\Desktop\\rclone\\rclone.exe" "--config" "rclone.conf" "-v" "sync" "foo" "secret:"]
2016/11/27 21:08:26 Encrypted Yandex secret: Modify window is 100ns
2016/11/27 21:08:26 Encrypted Yandex secret: Waiting for checks to finish
2016/11/27 21:08:26 foo.txt: Modification times differ by -1m35.6710648s: 2016-11-27 21:08:11.4751257 +0100 CET, 2016-11-27 21:06:35.8040609 +0100 CET
2016/11/27 21:08:26 foo.txt: Size of src and dst objects identical
2016/11/27 21:08:26 foo.txt: Unchanged skipping
2016/11/27 21:08:26 Encrypted Yandex secret: Waiting for transfers to finish
2016/11/27 21:08:26 Waiting for deletions to finish
2016/11/27 21:08:26
Transferred:      0 Bytes (0 Bytes/s)
Errors:                 0
Checks:                 1
Transferred:            0
Elapsed time:        1.6s
2016/11/27 21:08:26 Go routines at exit 1

The rclone.conf looks like this:
[remote]
type = yandex
client_id =
client_secret =
token = {"access_token":"XXX","token_type":"bearer","refresh_token":"XXX","expiry":"2017-11-27T21:02:34.4970515+01:00"}

[secret]
type = crypt
remote = remote:secret
filename_encryption = standard
password = XXX
password2 = XXX

i confirm that this is a bug.
I've fixed it in<PHONE_NUMBER>a37d450a1c31fab6386c027333844e
Here is a beta with the fix: http://beta.rclone.org/v1.34-37-g2756900/ (uploaded in 15-30 mins)
Please re-open if there is any problems.


How to generate a Props like table without a component?

How to generate a Props like table without a component?
We have components that can be passed either components or an array of objects for definitions (i.e. Column definitions for a table).
Since we don't use the component based approach of the API (this is for merging with a third party API), to document our custom column definition API would it be possible to show a table like the one Props component generates but without a component?
Is there some Markdown that can be used to get it to look similar?
This is honestly a one off in the docs and the Props works great for everything else :)
Edit: Forgot to mention this is with v2 (docz@next)
Thanks

Hey @allimuu,
If I understood correctly you want to render a table that looks like the one generated by the Props component but you want to pass in the fields yourself instead of having it be generated from a components' props.
You should be able to do that by using the Props component from gatsby-theme-docz (not docz).
Here's a small example :
// MyComponentPropsDocs.js

import React from "react";
import { Props } from "gatsby-theme-docz/src/components/Props/";

export default () => (
  <Props
    props={{
      testProp: {
        defaultValue: {
          value: "'info'",
          computed: false
        },
        description: "A test prop",
        required: true,
        type: {
          name: "string"
        }
      }
    }}
    getPropType={prop => prop.type.name}
  />
);

And then in your mdx :
// MyComponent.mdx
import MyComponentPropsDocs from "./MyComponentPropsDocs"

<MyComponentPropsDocs />

Make sure to read the source code if you want to do more complex things : https://github.com/doczjs/docz/blob/307485ec8418240ccf57785f428da90fc1c9b7b5/core/gatsby-theme-docz/src/components/Props/index.js
Does that answer your question ?

Thank you! That does answer my question and exactly what I was looking for :)

Awesome ! Happy to hear that 👍
Going to close this issue, please feel free to re-open if you run into any problem !


FlipObjective handling of duals

Shouldn't the FlipObjective reduction be swapping the signs of the dual solution when it exists? E.g., by adding the following to the invert method:
        if solution.opt_val is not None:
            solution.opt_val = -solution.opt_val
+       if solution.dual_vars is not None:
+           for id_ in solution.dual_vars:
+               solution.dual_vars[id_] *= -1

I started setting up a PR for this, but this change triggers a number of test failures, mostly in test_cone2cone.py::TestDualize, that I can't seem to wrap my head around.

I also see lines like the following in the invert methods of reductions/qp2quad_form/qp_matrix_stuffing.py and reductions/dcp2cone/cone_matrix_stuffing.py:
        if solution.status not in s.ERROR and not inverse_data.minimize:
            opt_val = -solution.opt_val

I would think these might also need the same logic for duals, but they are inside reductions that only accept Minimize objectives, so I'm guessing they are likely never hit.

Hi @ghackebeil
I believe that flipping the signs on dual variables is only necessary depending on the convention you use for forming the Lagrangian. For a minimization problem, our Lagrangian is defined as described here. For a maximization problem, one can use an alternative convention of the Lagrangian where - \sum_i \mu_i (A_i x  b_i) is replaced by +\sum_i \mu_i (A_i x - b_i).
My opinion is that we should only change dual variable signs to resolve internal inconsistencies within cvxpy. The main source of internal consistency I can see here is if our claimed primal-dual optimal solutions don't result in a stationary Lagrangian. Note that because we can use different conventions for Lagrangians in different situations, fixing such an inconsistency can just be a matter of updating documentation. However, our unit tests don't currently check for Lagrangians, and so it's possible that the appropriate documentation might be un-intuitive or complicated. If that is the case, then I think we could look into changing cvxpy's behavior for dual variable signs. My opinion is also that we should only change dual variable signs in at least a minor release (i.e. version 1.2) if not a major release (2.0) because it has the potential to break users' existing code.
I think the best way to proceed here is to develop a simple way for checking if a primal-dual solution results in a stationary Lagrangian. We can then add those checks to our unittests, see what tests (if any) fail, and figure out how to proceed from there.


Snippets are not shown

The Bootstrap-Snippets are not shown in my Snippet Manager using VS2015 latest version.
Any fix planned for this?

I've finally gotten around to installing Visual Studio 2015 and testing the extension in it. For me, after installing the extension and restarting VS, I do see the snippets in the Snippet Manager. Can you make sure you are using the most recent version of the extension and then try again to see if you see the snippets in the Snippet Manager?

I have a similar problem, I see the snippets in the Snippets Manager, but when I try to write the snippet for example bs-panel isn't showed in the list of available snippets.

Note: I tested it on VS 2015 Enterprise with Update 1 on Windows 10 x64, I have the latest version of the extension.

I can confirm that bs-panel does not show up in the snippet list in a Razor page even though it shows up in the Snippet Manager.
Visual Studio 2015 Professional with Bootstrap Snippet Pack v1.0.11

Same problem with VS15 update 1 on razor pages

I can see the Code Snippet Manager but I can't see any of the snippet in ASP.NET Forms. Oh and I am using Resharper with VS 2015 Enterprise Update 1 on Windows 10 x64.

same here: Plain HTML file with Resharper on VS2013 Update5
No Snippets on editor but thery are listed in snippets for HTML

Same here.
But as a workaround, you can use the keyboard shortcut CTRL+K, CTRL+X, then enter in the Bootstrap group by pressing B, **TAB **(or Enter) and then looking for the snippet you want by typing its display name (not the bs-blabla shortcut).

This is still quick enough in my opinion.

I have the same issue, as a work around to avoid the problem I use the VS2012 where the extension works.

Same issue for me, for what it's worth

Same issue using VS Enterprise 2015 v14.0.25421.03 Update 3 on Windows 10.  The Bootstrap folder is shown in the Code Snippets Manager, but is not listed inline when using ctrl+k, ctrl+x keyboard shortcut.  @Citizen01's suggestion of typing in "B" or "Bootstrap" also does not work in VS2015.

Confirmed that Snippets still don't show up, despite being installed/reinstalled. They were working for me for some time however, so I believe that this issue is related to a conflict with another VS2015 extension.

Disabled 'Suggested Extensions', and 'HTML Snippet Pack' extension (https://github.com/madskristensen/HtmlSnippetPack). Bootstrap snippets now appear and work after previously being in the same apparent error state as grantnorwood.

Hi everyone,
to enabled Bootstrap-snippet you should do:

In "Code Snippet Manager" copy your Bootstrap snippet path.
Remove Boostrap from list.
Add -> Paste previous path with Boostrap snippets.

I hope it will help.

You should start with <bs-[chose what] and tab

thanks to @filipkot for the suggestion!
great set of snippets.  thanks!

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @


ffmpeg.wasm : Error: Could not load ffmpeg.wasm plugin

Description

Steps to reproduce
with videojs we can record video with webm extension. While to convert video into mp4 in angular project with ffmpeg.wasm
I got the above issue.
step-1 : npm install --save @ffmpeg/ffmpeg @ffmpeg/core
step-2 : put this
step-3 : Tried with this to import FFmpegWasmEngine from 'videojs-record/dist/plugins/videojs.record.ffmpeg-wasm.js'; at TS file & also tried without this
step-4 : used record: {
audio: true,
video: true,
maxLength: 20,
debug: true,
// enable ffmpeg.wasm plugin
convertEngine: 'ffmpeg.wasm',
convertWorkerURL<EMAIL_ADDRESS>// convert recorded data to MP4 (and copy over audio data without encoding)
convertOptions: ['-c:v', 'libx264', '-preset', 'slow', '-crf', '22', '-c:a', 'copy', '-f', 'mp4'],
// specify output mime-type
pluginLibraryOptions: {
outputType: 'video/mp4'
}
}
Results
Get this error

Expected
To open the camera & start recording & save in mp4 format
Actual
Getting error in deviceError event
Error output
Get this error

Additional Information
Please include any additional information necessary here. Including the following:
versions
"videojs-record": "^4.4.0",
browsers
chrome
OSes
Linux

The underling issue is likely described here: https://web.dev/cross-origin-isolation-guide/

The ffmpeg.wasm plugin was updated to support v0.12.x, please try videojs-record 4.7.0 (or newer) once it's released.


ASCII codec error when exporting notes to Markdown

Hi @Pradhyo - thanks for creating and maintaining this add on.  I ran into a fail when trying to export my existing decks to Markdown.  Here's the error:
An error occurred in an add-on.
Please post on the add-on forum:
https://anki.tenderapp.com/discussions/add-ons

Traceback (most recent call last):
  File "/Users/alexcthompson/Library/Application Support/Anki2/addons/anki-markdown.py", line 271, in exportNotesUI
    exportedDecks = exportAllNotes(NotesPath)
  File "/Users/alexcthompson/Library/Application Support/Anki2/addons/anki-markdown.py", line 238, in exportAllNotes
    writeNote(note)
  File "/Users/alexcthompson/Library/Application Support/Anki2/addons/anki-markdown.py", line 226, in writeNote
    deckFile.write("A: {}\n".format(note.fields[1].replace("<br>", "\n")))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 198-199: ordinal not in range(128)

I think we're dealing with a classic Python unicode problem here.  My hunch, having done absolutely zero investigation is that L226 in anki-markdown.py, by creating a format string, is casting some unicode characters to utf-8 badly, creating this error.  Using my Stackoverflow spidey sense, I wonder if this answer might resolve the issue.

My hunch is it comes from this card, the front of which reads LDAP.  The back contains the following copy paste pronunciation guide - (LDAP; /ˈɛldæp/) - from the Wikipedia article on LDAP.  I'm betting it's those special characters.
I've been messing with anki-markdown.py to see if I can set up logging and get that going well enough to debug.
Here's the full back of that card:

Used in integrations, though I don't know precisely how.

The Lightweight Directory Access Protocol (LDAP; /ˈɛldæp/) is an open, vendor-neutral, industry standard application protocol for accessing and maintaining distributed directory information services over an Internet Protocol (IP) network.[1] Directory services play an important role in developing intranet and Internet applications by allowing the sharing of information about users, systems, networks, services, and applications throughout the network.[2] As examples, directory services may provide any organized set of records, often with a hierarchical structure, such as a corporate email directory. Similarly, a telephone directory is a list of subscribers with an address and a phone number.

LDAP is specified in a series of Internet Engineering Task Force (IETF) Standard Track publications called Request for Comments (RFCs), using the description language ASN.1. The latest specification is Version 3, published as RFC 4511. For example, here is an LDAP search translated into plain English: "Search in the company email directory for all people located in Nashville whose name contains 'Jesse' that have an email address. Please return their full name, email, title, and description."[3]

A common usage of LDAP is to provide a "single sign on" where one password for a user is shared between many services, such as applying a company login code to web pages (so that staff log in only once to company computers, and then are automatically logged into the company intranet).[3]

LDAP is based on a simpler subset of the standards contained within the X.500 standard. Because of this relationship, LDAP is sometimes called X.500-lite.[4]```

Added some code to allow import and export of notes with unicode characters, will fork and submit a PR tomorrow.


problem finding llm's response

Hi there!i would really appreciate if someone could help me with the location of the llm output response. i would like to elaborate it and with a custom format to it. to make it more clear i'm looking in which object does a new reponse of the llm is saved.
Thanks in advance.

What do you want to adjust?  API or UI or both?
The easiest place to adjust is at the very top, in gradio_runner.py for each evaluate_nochat(), bot(), and all_bot().


#test Branch killed android

Hi Masashi,
I've installed the test branch, iOS is fine, but on Android I cant build anymore because of play-services
     [aapt] invalid resource directory name: ......../platforms/android/com.google.playservices/nachbarschaft-google-play-services_lib/bin/res/crunch

Nerver seen play services in that path before...It gets intalled inside of the android platform folder AND inside of plugins folder. Seems something is wrong.

Do you use the version 22?

yes

com.google.playservices 22.0.0 "Google Play Services for Android"

I think just remove the bin directory. (For safety, just rename bin_original something like that)

Yeah, deleting works, but as soon as I open eclipse (really hate this software...hate android...) it gets recreated again. It's also a pain setting up Cordova in Android..

I think this folder appears since one or two years ago, because Google Play Services library has changed.
I usually build using eclipse, and eclipse removes the crunch, then generates it again automatically.

https://github.com/floatinghotpot/cordova-plugin-admob/issues/24

http://stackoverflow.com/questions/24937540/android-ant-error-invalid-resource-directory-name-bin-res-crunch

Yeah but I have to do it again and again again... did not had this problems before v22..

http://stackoverflow.com/a/23774198/697856
$> cd platforms/android/
$> ant clean
$> cordova build android

BUILD FAILED
/Users/Hirbod/Desktop/appdev/Nachbarschaft/platforms/android/build.xml:55: sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through the ANDROID_HOME environment variable.

$> echo $ANDROID_HOME
/(path to your )/android-sdk

If empty, export ANDROID_HOME=/(path to your android-sdk)

Could you please explain a little more? I don't understand and don't know how to link the SDK without eclipse (and right now eclipse is damaged)

Where did you install your Android SDK in your Mac?
If you don't know, use find command.
$> find / -name "platform-tools"
find: /.DocumentRevisions-V100: Permission denied
find: /.fseventsd: Permission denied
find: /.Spotlight-V100: Permission denied
find: /.Trashes: Permission denied
/android-sdk/platform-tools   <--------Find!
^C
$>

Then type:
$> export ANDROID_SDK=/android-sdk

/Users/Hirbod/Development/adt-bundle/sdk/platform-tools

$> export ANDROID_SDK=/Users/Hirbod/Development/adt-bundle/sdk

Then try again (ant clean; cordova build android)

Now everything is broken... ANDROID_HOME is empty and SDK is set to export ANDROID_SDK=/Users/Hirbod/Development/adt-bundle/sdk

OK, fixed cause I set ANDROID_HOME

Resolved the all problems?

Seems like it's fine now, yes! Build Successful. Don't know what happen if I open eclipse again

sounds good.

So what's the problems (Errors 9 items)?

The CordovaApp project should be linked like this.
I don't know the facebook plugin case.

Removed ant-build and Cordova App from workspace, and included FaceBook SDK - seems to run now

But i get this (but app starts)
[2015-01-26 07:29:51 - nachbarschaft-google-play-services_lib] R.java was modified manually! Reverting to generated version!

project > clean

"Unfortunalty, Nachbarschaft stopped"...

CordovaLib is CordovaApp-CordovaLib

Use my google-play-services v22
$> cordova plugin rm com.google.playservices`
$> cordova plugin add https://github.com/wf9a5m75/google-play-services#v22

I have used yours... when i install #test it automatic installs your service

I've cleaned my workspace and deleted everything.

Something is wrong....

Ah, you don't need to import CordovaApp (ant-build/bin) and ant-build projects.

Is this correct?

yes.

Show me the errors

No errors... But I opened CordovaLib right now and "ticked" "Library" and after that I could choose it

Lol... But when I save... it gets red again

I think there are some errors in the Problems pain.

Look here: ( Video will be available in few seconds)
http://youtu.be/kWVo90_4L68

[2015-01-26 07:50:18 - Nachbarschaft] Uploading Nachbarschaft.apk onto device 'emulator-5554'
[2015-01-26 07:50:24 - Nachbarschaft] Installing Nachbarschaft.apk...
[2015-01-26 07:51:11 - Nachbarschaft] Success!
[2015-01-26 07:51:11 - CordovaApp-CordovaLib] Could not find CordovaApp-CordovaLib.apk!

CordovaApp-CordovaLib is just library project of Cordova.

Ok, after I've setup everything I made a ant clean and cordova build, now eclipse is working

good

thanks for your help

Last question: booting emulator and installing app is taking 5-6 minuntes. This is CRAZY. How to improve this?

I try to install HAXM

WOW INTEL HAX speed up 500%

Intel hax is a popupar and easy solution.


selector in data explorer jumps to the top after a selection

When i select a value, the list of options should not scroll back to the top.

this one irritates me, i have a couple of ideas about how to fix it, cause it's not straightforward.

It also happens when configuring graph options. Any change scrolls the panel back to the top. Very annoying.

this is also happening on dashboards where you have to scroll.

This is a clockface issue. DapperScrollbars does not have state to persist the position of the scrollbars, and therefore will always re-render with position 0 (or whatever prop is passed in). Ideally, DapperScrollbars should keep track of its own position (after the initial render) rather than rely on a prop.


dial tcp <IP_ADDRESS>:8181: connect: connection refused

I have configured HAProxy locally in my machine and I have tried to read the metrics of it using haproxy_exporter.
I am using the docker image of the haproxy_exporter and used the below-given command to execute it.
docker run -p 9101:9101 prom/haproxy-exporter:latest --haproxy.scrape-uri="http://localhost:8181/stats;csv"
If I try to reach the metric endpoint, I am getting this error saying that the connection is refused. What am I doing wrong?
ts=2022-05-06T10:03:49.462Z caller=haproxy_exporter.go:584 level=info msg="Starting haproxy_exporter" version="(version=0.13.0, branch=HEAD, revision=c5c72aa059b69c18ab38fd63777653c13eddaa7f)"
ts=2022-05-06T10:03:49.462Z caller=haproxy_exporter.go:585 level=info msg="Build context" context="(go=go1.17.3, user=root@77b4a325967c, date=20211126-09:54:41)"
ts=2022-05-06T10:03:49.462Z caller=haproxy_exporter.go:603 level=info msg="Listening on address" address=:9101
ts=2022-05-06T10:03:49.464Z caller=tls_config.go:195 level=info msg="TLS is disabled." http2=false
ts=2022-05-06T10:03:56.366Z caller=haproxy_exporter.go:399 level=error msg="Can't scrape HAProxy" err="Get \"http://localhost:8181/stats;csv\": dial tcp <IP_ADDRESS>:8181: connect: connection refused"

Below given is the configuration I used for HAProxy
defaults
    mode http
    timeout server 5s
    timeout connect 5s
    timeout client 5s

frontend http80
    bind *:80
    default_backend allservers

listen stats
    bind *:8181
    stats enable
    stats uri /stats
    stats refresh 3s

backend allservers
    server server1 <IP_ADDRESS>

localhost in your container is itself, not host which is running docker and haproxy.

Citing from https://stackoverflow.com/a/62431165/3835210:

For linux systems, you can – starting from major version 20.04 of the docker engine – now also communicate with the host via host.docker.internal. This won't work automatically, but you need to provide the following run flag:
--add-host=host.docker.internal:host-gateway

Citing from https://stackoverflow.com/a/62431165/3835210:

For linux systems, you can – starting from major version 20.04 of the docker engine – now also communicate with the host via host.docker.internal. This won't work automatically, but you need to provide the following run flag:
--add-host=host.docker.internal:host-gateway

Thank you @aminvakil


Skype support?

If I understand correctly when creating a bot with Azure Subscription if I add on "Supported account types" Skype, then the bot will work also for people writing to it from Skype?

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

ID: 2e52a9fa-a482-2929-c462-47da5e8b38d1
Version Independent ID: ce956c12-2916-9d6c-4fbb-5d07556378bc
Content: Create a bot for Microsoft Teams - Teams
Content Source: msteams-platform/bots/how-to/create-a-bot-for-teams.md
Product: msteams
GitHub Login: @clearab
Microsoft Alias: anclear

@mauricio208, Yes bot will work for Skype as well.


Development mdbooktoml

Fixes the feature to allowing passing in foldlevel and printbook via heroscript to the mdbook.toml.

I confirm that it works. I tested with those changes.


Problems running dtlogin plugin

Error:
kubectl dtlogin
/home/sbryson/.krew/bin/kubectl-dtlogin: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.32' not found (required by /home/sbryson/.krew/bin/kubectl-dtlogin) /home/sbryson/.krew/bin/kubectl-dtlogin: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34' not found (required by /home/sbryson/.krew/bin/kubectl-dtlogin)
Using microk8s latest stable

@slbryson This issue has nothing to do with your kubernetes version but with your Linux version. I will check the build to disable the C version dependency to use pure GO. like this: https://stackoverflow.com/questions/64421305/heroku-go-app-crashes-version-glibc-2-32-not-found-required-by-bin-main

I was trying to describe my environment.
Ok I'm using Ubuntu 20.2
After you adjust the build, what do I need to do?

@slbryson There will be a new release and update to hat.

@slbryson I updated a new release binary to this repo: https://github.com/devopstales/kube-openid-connect/releases/tag/client_v1.1
This is not on krew yet. Please try it. I tested this and the previous version and bot worked for me on Ubuntu 22.04

Excellent, I will test and let you know

On the issue with the server, I may not be correctly passing Env variables into the pod. I am populating the values.yaml file, but I need to check the helm chart template to see if they are getting mapped correctly.
I ran the server outside of K8 and with a few modifications it ran.

@slbryson If you have other problems please open a separate issue. This is for the client problem? Is the new version working for you? If so I will close this issue and upload the new cli version to krew.

That's right. Let's close this issue and use the new version


Provide json file dependency for user feature

fixes #667
Instead of creating a new instance of gradle, use the file dependency configuration from prepareFeature task

Restored gradle.yml to use ci.common main branch

@jjiwooLim Please do not merge this until you resolve the compilation error:
/home/runner/work/ci.gradle/ci.gradle/src/main/groovy/io/openliberty/tools/gradle/tasks/AbstractPrepareTask.groovy: 89: Method 'provideJsonFileDependency' from class 'io.openliberty.tools.gradle.tasks.AbstractPrepareTask$PrepareFeatureTaskUtil' does not override method from its superclass or interfaces but is annotated with @Override.
 @ line 89, column 3.
   		@Override

@jjiwooLim Please do not merge this until you resolve the compilation error:
/home/runner/work/ci.gradle/ci.gradle/src/main/groovy/io/openliberty/tools/gradle/tasks/AbstractPrepareTask.groovy: 89: Method 'provideJsonFileDependency' from class 'io.openliberty.tools.gradle.tasks.AbstractPrepareTask$PrepareFeatureTaskUtil' does not override method from its superclass or interfaces but is annotated with @Override.
 @ line 89, column 3.
   		@Override

After merging ci.common PR, the compilation errors were resolved.


Add fetch data command in build_container_release.sh

Description

Closes #1773
Add fetch_data.py script prior to performing the container build, since a valid release container includes example data and models
By Submitting this PR I confirm:

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

/ok to test

/merge


Error constructing basis of ElementGlobal in 3D

When constructing an instance of ElementGlobal in 3D the function _pbasis_init throws the following exception (line 87)
TypeError: '>' not supported between instances of 'NoneType' and 'int'

This is due to the fact that dy is set to None, and the culprit for that is (line 120)
dy = sum([1 for d in diff if d == 1]) if dim == 2 else None

This seems wrong, as one should have dy even in the 3D case, i.e. when dim == 3

Thanks for the report. I think we don't have any 3D elements in scikit-fem using ElementGlobal right now and this has probably been untested because of that.
Out of curiosity, what kind of finite element you are trying to implement?

I'm trying to implement a C1 element on a hexahedral mesh.
Maybe I should open a discussion about that in the appropriate section, but do you have any suggestion on how that could be achieved using tools already available in scikit-fem?
For now, the simplest idea that came to mind was to implement the tensor product of Hermite Line Element in each direction x, y, z.

https://onlinelibrary.wiley.com/doi/10.1002/nme.2449
They use cubic full tensor basis with 64 DOFs. The DOFs per node are value (1), first derivatives (3), mixed second derivatives (3), mixed third derivative (1). So 8 DOFs per node.

The above element is implemented now in #1037.
Do not try to use too many elements (and remember to keep intorder quite low) because 64 DOFs is quite huge and the approach used in ElementGlobal is not really suitable for such complex elements.


Create Static Web App command error: staticWebApps.CreateStaticWebApp not found

I am getting a strange error when trying to create a new static web app with the extension.
Here's the steps I followed:

Clone the repo (Vanilla Basic template repo)
Open the project folder in Visual Studio Code
F1
Run: Azure Static Web Apps: Create Static Web App…

Then I get the following error:

Here's my system/version info:
SWA Extension
v0.11.2
Visual Studio Code
Version: 1.70.2 (user setup)
Commit: e4503b30fc78200f846c62cf8091b76ff5547662
Date: 2022-08-16T05:35:13.448Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22000
PC
Processor           11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz   3.30 GHz
Installed RAM    32.0 GB (31.8 GB usable)
Product ID          00330-80000-00000-AA832
System type       64-bit operating system, x64-based processor
Pen and touch   Pen and touch support with 10 touch points

Strange indeed. I can't reproduce this. If you're still experiencing this issue, try reloading your VS Code, or uninstalling and reinstalling the extension.

I got the same error. Fixed by updating VS Code to latest version (1.71.1 at the moment).


Updated tile provider and tweaked edit point colour

Update providers to give hopefully what you think is the best of the bunch. Updated user edit point colour and solved #54

also #56


Design Garden landing page

The Garden Landing page needs to look good and include:

What is Garden
What problem does it solve
Links to associated projects (Foundry, MDF, Globus)
Link to viewing Gardens

This is a design task. Design this page and fill in with Lorem Ipsem. The above suggestions are to keep in mind to have room for. Jennifer's designs for reference: https://miro.com/app/board/uXjVPXpw5XA=/

There is an existing bare bones mock up/layout for this -- need to connect Chase with mentors about what should stay and what should go.
But, feel free to start from scratch!


Escaped quotes aren't recognized properly after urls

JSON parsed properly until there are links in the body followed by escaped quotes, which recognised as part of the url and percieved as an error even if it is properly formatted. It's a N++ issue (which reported multiple times and was fixed even... but fix wasn't accepted), but this prevents JSON from being "pretty-printed" if such option is called from "bad" block (which will be marked from such escaped quote to the end of the file)
Here is a part of OpenSSL licensing text as example:
{"AGREEMENT": "<...>3. All advertising materials mentioning features or use of this software must display the following acknowledgment:  "This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/)"\n4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to  endorse or promote products derived from this software without prior written permission. For written permission, please contact<EMAIL_ADDRESS>Is it possible to parse URL separately (to prettify a file)?

This isn't valid JSON, and the URL has nothing to do with it.  Recall that literal " characters inside a string must have \ before them, like so: \". No reasonable JSON parser is going to be able to handle this.
Once all the quotes are escaped, your text looks like this:
{"AGREEMENT": "<...>3. All advertising materials mentioning features or use of this software must display the following acknowledgment: \"This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/)\"\n4. The names \"OpenSSL Toolkit\" and \"OpenSSL Project\" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact<EMAIL_ADDRESS>
The highlighting issue you mention, where the lexer incorrectly marks the part of a string following a URL as an error, has nothing to do with this plugin. The syntax coloring is done by a Lexilla lexer.

Closing as not a valid bug.


Replace references of cloud.redhat.com/openshift/token to console.redhat.com/openshift/token

There is jira with high visibility in sprint as well. You can close subtask for CLI etc.


Audio added

Added audio feature, please test it with different videos.
@PaulleDemon

@PaulleDemon Let me explain the changes, if you can improve it.
When we decode audio and video simultaneously with container.decode(video=0, audio=0), it extracts frames like this:
video_frame at 0.0
video_frame at 0.04
video_frame at 0.08
video_frame at 0.13
video_frame at 0.17
video_frame at 0.21

audio_frame at 0.0
audio_frame at 0.02
audio_frame at 0.05
audio_frame at 0.07
audio_frame at 0.09
audio_frame at 0.12
audio_frame at 0.14
audio_frame at 0.16
audio_frame at 0.19
audio_frame at 0.21
audio_frame at 0.23
audio_frame at 0.26
audio_frame at 0.28
audio_frame at 0.3
audio_frame at 0.33
audio_frame at 0.35
audio_frame at 0.37
audio_frame at 0.39
audio_frame at 0.42
audio_frame at 0.44
audio_frame at 0.46

video_frame at 0.25
video_frame at 0.29
video_frame at 0.33
video_frame at 0.38
video_frame at 0.42
video_frame at 0.46
video_frame at 0.5
video_frame at 0.54
video_frame at 0.58
video_frame at 0.63
video_frame at 0.67
...

If we play both these frames in this order, then they don't sync properly.
But if we sort a small set of all these frames (one by one) according to their presentation time, we can directly play them without any delay as the audio is playing at the correct samplerate.
Sorted like this:
video_frame at 0.0
audio_frame at 0.0
audio_frame at 0.02
video_frame at 0.04
audio_frame at 0.05
audio_frame at 0.07
video_frame at 0.08
audio_frame at 0.09
audio_frame at 0.12
video_frame at 0.13
audio_frame at 0.14
audio_frame at 0.16
video_frame at 0.17
audio_frame at 0.19
video_frame at 0.21
audio_frame at 0.21
audio_frame at 0.23
video_frame at 0.25
audio_frame at 0.26
audio_frame at 0.28
video_frame at 0.29
audio_frame at 0.3
audio_frame at 0.33
video_frame at 0.33
audio_frame at 0.35
audio_frame at 0.37
video_frame at 0.38
audio_frame at 0.39
video_frame at 0.42
audio_frame at 0.42
audio_frame at 0.44
video_frame at 0.46
audio_frame at 0.46
audio_frame at 0.49
audio_frame at 0.51
audio_frame at 0.53
video_frame at 0.54
audio_frame at 0.56
audio_frame at 0.58
video_frame at 0.58
audio_frame at 0.6
video_frame at 0.63
audio_frame at 0.63
audio_frame at 0.65
video_frame at 0.67
audio_frame at 0.67

Time stamp should be updated according to the audio now (which is implemented)
Some videos are already encoded with their correct pts, but the sort method I used will not affect those file.
But sometimes it may show random stuttering with videos having variable frame rates, because if we can't add all the frames at once (memory issue), or we can't seek back the decoding.

Ok, thanks for making this request, we'll keep this in beta for now. I just want one more confirmation from a developer using this library stating this has no major problems. I'll merge as soon as I get confirmation from one more dev,


[ci] Add appetize workflow to check and deploy new simulator builds

Why
See #194, this is a full refactor of that version.
How
See #194
Test Plan
See #194

Also, now when only using deploy (without sdkVersion), it just skips the version resolving. That makes the client download steps fail.

Merging this into the original PR.


C++17 feature wrongly red highlighted.

Does this issue occur when all extensions are disabled?: Yes/No
No

VS Code Version: 1.72.0

OS Version: 22.04

Steps to Reproduce:
int main() {
    std::vector<int> vec = {1,2,3,4};
    if (const std::vector<int>::iterator itr = std::find(vec.begin(), vec.end(), 3);
        itr != vec.end()) {
       *itr = 4;
      }

}

It is wrongly highlighting itr as problem but i guess it should not report it as a problem.

/extCpp

It looks like this is caused by the C++ extension. Please file the issue to the C++ extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!


Feature Request: multiple todo.txt files

I am working with multiple todo.txt files, because I am using that to collaborate other people by syncing it via dropbox.
I would be awesome if switching todo.txt-files would be easier e.g. by having a history of these files.
Thanks a lot for this really nice frontend.

Sounds good, I'll take a look into it. Would you be willing to give it some testing when it's ready?

sure

Hi @ransome1 ! I just found this project - I have been looking for a good todo.txt interface for my laptop for a while and I really like sleek - it really lives up to it's name.
Anyways, I also use multiple todo.txt files, so I would be willing to test it as well - and if you have a general idea of how you'd like to implement it, or want to pair on it, I'd be glad to help.

What about something like this.
Click on

Would open a window

Where you can choose all todo.txt files you selected so far. You would be able to add more files and delete old ones.
UI wise it is nothing fancy yet, but it would get the job done at least for a first release. What do you think?

@fabiansiegel , @maheshsundaram , feel free to take a look at 0.6.0. It has a basic implementation of the screenshot above: https://github.com/ransome1/sleek/releases/tag/v0.6.0

very nice, perfect for me.
I only have one suggestion: the "create new file" only appears if there are no todo.txt files selected, i.e. at the beginning. Once you have one selected, you cannot create a new one.

Looks great!

@fabiansiegel , I added the create file function to the new window. And also you are now able to name your todo file as you wish. Until now it was only possible to literally create one "todo.txt" file, which wouldn't make sense anymore after multiple selection of todo files is now possible.
Please give it some testing and in the meantime I will clean up a bit, before I will release it.

very awesome. It's working without a hitch.


build: temporarily disable safari 10 browserstack tests

Disabling Safari 10 BrowserStack test temporarily since they started failing magically.
The server complains about a missing device capability. This doesn't make sense since we are not testing mobile devices where a device name needs to be specified.

Pushed again. This time just disabling the tests_browserstack job completely. Safari is the only browser, and Karma doesn't seem happy if it needs to launch with an empty array of browsers.

@devversion do you need to remove it from some required list of checks? now the status is yellow-dot

@mmalerba Good point. Updated. I wish it would have been only a temporary change at a single place.


My ZenCash wallet says it is "not running"

My ZenCash wallet says it is "not running"  and I cannot find it listed on my programs for windows 10
In the bottom righthand corner of the wallet it says it is blockchain synchronized up until
December 11, 2017. Do I need to download a new wallet?

Support case - no further information received.


ActiveEffect with Alert flag doubles up bonus if already set

If a character has the "Alert Feat" checkbox marked on their initiative settings, and they also have an effect that adds flags.dnd5e.initiativeAlert the bonus gets doubled to +10.

Sorry, retesting this and I can't reproduce


card font update

Description
Updating the font size for cards on infinity page. I am over-riding the styles set in Text bc none of the body styles will work. They are too big on desktop and too small on mobile so thats why !important is used. I can also add another body var if that would be better.

Related Ticket

Resolves #

Checklist

[x] Building the site with npm run build-site works without errors
[x] Building the app with npm run build-app works without errors
[x] I formatted JS and TS files with running npm run format-all

Professor approved

done


2.1.5-SNAPSHOT on snapshot-repo

The 2.1.5 snapshot is not added to the snapshots-repo at http://m2.neo4j.org/content/repositories/snapshots as far as we can see. Is our only option to use the snapshot to pull and build this project manually from git, or will this be added to the snapshots repository so we can get it with maven, or is it stored in an accessible repository somewhere else?

@kakjelsb the current snapshot is 2.1.8. The latest released is 2.1.7 but you want to look here for that - http://m2.neo4j.org/content/repositories/releases/org/neo4j/neo4j/


Make main branch work for internal use again

Make main branch work for internal use again

package is made @internal so Backstage compiles it
react-dom was updated to 17.0.2 to use the same version as the rest of Backstage

For anyone else reading, we are using this temporary fork as a git submodule until our upstream MRs are merged.

Opened on the wrong repo, apologies.


Image from asset manager

Image field on campaign should be editable. We are using asset manager to store the images uploaded. And the asset url must be captured in the content store. This PR is to change govuk-content-schemas to reflect this change.

This needs a rebase

@boffbowsh Rebased.

You still need to address my comment from previously. Can you also please add some more context to this? Either to the PR or the commit messages?

@boffbowsh I don't really understand your comment regarding asset_link to go into definitions file.

You've created a new definition in that file. You'll see that the image type is defined in the base definitions.json file, which is also where the asset_link type should be defined so that other formats can share it.

Based on the PR description, it seems like this will only store images, is this correct? If so, what was wrong with the original image type?

Maybe I don't need this PR. Because the whole upload functionality does seem to work without this change merged.

I will close the PR.


Initial version with dependency injection

Linked with #50 .
Not a final pull request. DONT MERGE.
I just wanted to let you know the current status of migrating to dependency injection and get your opinion.
I have not touched yet the refactoring for the unit tests, so it will have errors.
Current changes:

Adding Dependency Injection on very basic format, just enough to make it work, there are still some interfaces missing and probably extra code cleansing and removal of dead code. Architectural changes might be needed as well.
Added HttpClient Factory, but proxyconfiguration is no longer working, neither PooledConnectionLifetime, although it might not be required if the factory take care of the lifecycle

with current version a command line client can be as simple as this:
    static void Main(string[] args)
    {
        var services = new ServiceCollection();

        services.Configure<ApiConfiguration>(Options => Options.SetClientId(clientId)
            .SetClientSecret(secret)
            .SetRegion(region)
            .SetLocale(locale));

        services.AddBlizzardApiReaderDiablo();
        services.AddBlizzardApiReaderWorldOfWarcraft();

        var provider = services.BuildServiceProvider();

        var api = provider.GetService<DiabloApi>();

        StoryAct act1 = api.GetActAsync(1).Result;
        Console.WriteLine($"act 1 name: {act1.Name}");
        Console.ReadLine();

        var wowApi = provider.GetService<WorldOfWarcraftApi>();
        Boss boss = wowApi.GetBossesAsync().Result[0];
        Console.WriteLine($"Name: {boss.Name} Level: {boss.Level}");

        Console.ReadLine();

and in a webclient even simpler, you just need to add 3 lines in the configure services and you can use the api in any controller:
    public void ConfigureServices(IServiceCollection services)
    {
        services.Configure<CookiePolicyOptions>(options =>
        {
            // This lambda determines whether user consent for non-essential cookies is needed for a given request.
            options.CheckConsentNeeded = context => true;
            options.MinimumSameSitePolicy = SameSiteMode.None;
        });

        services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);

        services.Configure<ApiConfiguration>(Options => Options.SetClientId(clientId)
            .SetClientSecret(secret)
            .SetRegion(region)
            .SetLocale(locale));

        services.AddBlizzardApiReaderDiablo();
        services.AddBlizzardApiReaderWorldOfWarcraft();

    }

Thank you for doing this. Maybe we can merge this into a development branch then the stable branch will not be affected. What do you say?

Sure, if anyone else want to contribute. It is always welcomed. I should be able to spend some time on the testing part to fix it in the next few days, then I guess it will be good to be merged into master


Datasets : wikipedia 20220301.en error

Describe the bug
When I used load_dataset to download this data set, the following error occurred. The main problem was that the target data did not exist.
Steps to reproduce the bug
1.I tried downloading directly.
wiki_dataset = load_dataset("wikipedia", "20220301.en")

An exception occurred
MissingBeamOptions: Trying to generate a dataset using Apache Beam, yet no Beam Runner or PipelineOptions() has been provided in `load_dataset` or in the builder arguments. For big datasets it has to run on large-scale data processing tools like Dataflow, Spark, etc. More information about Apache Beam runners at https://beam.apache.org/documentation/runners/capability-matrix/
If you really want to run it locally because you feel like the Dataset is small enough, you can use the local beam runner called `DirectRunner` (you may run out of memory).
Example of usage:
	`load_dataset('wikipedia', '20220301.en', beam_runner='DirectRunner')`

2.I modified the code as prompted.
wiki_dataset = load_dataset('wikipedia', '20220301.en', beam_runner='DirectRunner')

An exception occurred:
FileNotFoundError: Couldn't find file at https://dumps.wikimedia.org/enwiki/20220301/dumpstatus.json

Expected behavior
I searched in the parent directory of the corresponding URL, but there was no corresponding "20220301" directory.
I really need this data set and hope to provide a download method.
Environment info
python 3.8
datasets 2.16.0
apache-beam 2.52.0
dill 0.3.7

Hi ! We now recommend using the wikimedia/wikipedia dataset, can you try loading this one instead ?
wiki_dataset  = load_dataset("wikimedia/wikipedia", "20231101.en")


NTR: protein import into cell

We appear to have no term for protein import into cell - despite having a hierarchy of terms under 'import into cell' covering all sorts of other imported things.
I stumbled across this while looking for a new home for "storage protein import into fat body GO:0015032", which is currently incorrectly under GO:0044743 - which covers intracellular protein import into organelles.

TG-templatable.

Before I do this, GO:0015032 will be a child of this. What do you think about terms like receptor internalization and ubiquitin-dependent endocytosis?

The papers annotated seem to describe endocytosis - PMID:10231363 and PMID:19305132
Maybe 'protein import into cell' is not specific enough. To check.

HI @hattrill
Can you have a look at these two papers?
Thanks, Pascale

Hi Pascale,
I am going to remove these annotations and re-curate these papers. You can obsolete this term.

fat body is a tissue, so I don't know where this term should go in the hierarchy.

Perhaps import into fat body cell ?

Could be, but the two annotations we had didn't warrent a special term all of their own. So I would just obsolete this.

Hi Helen,
For the obsoletion notice: what term did you annotate to instead?
Thanks, Pascale
Le 13 févr. 2018 9:34 AM, "Helen Attrill"<EMAIL_ADDRESS>a
écrit :

Could be, but the two annotations we had didn't warrent a special term all
of their own. So I would just obsolete this.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/geneontology/go-ontology/issues/12935#issuecomment-365187156,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEj7UAiU7ShjFiv9SZeCtVAG1lIKNJGlks5tUUkRgaJpZM4LmwfT
.

One, I just removed rather than replaced.
The other was "receptor-mediated endocytosis"

Dear all,
The proposal has been made to obsolete "GO:0015032 storage protein import into fat body". The reason for obsoletion is that the data from the paper for which the term was requested can be accurately described using "receptor-mediated endocytosis”.
Existing annotations have been removed. There are no mappings to this term.
Any comments can be added to this issue: https://github.com/geneontology/go-ontology/issues/12935
We are opening a comment period for this proposed obsoletion. We'd like to proceed and obsolete this term on Feb 20, 2018. Unless objections are received by Feb 20, 2018, we will assume that you agree to this change.
Thanks, Pascale

Is there still a reason to create 'protein import into cell' - since there are no potential children, I would prefer not to create the term.
Thanks, Pascale


SSL certificate verify failed on upload of 6.6 GiB file

I uploaded a 6.6 GiB file and after some time I got this error:
Traceback (most recent call last):
  File "/home/amedee/bin/glacier", line 730, in <module>
    App().main()
  File "/home/amedee/bin/glacier", line 716, in main
    self.args.func()
  File "/home/amedee/bin/glacier", line 498, in archive_upload
    file_obj=self.args.file, description=name)
  File "/home/amedee/bin/glacier-cli/boto/glacier/vault.py", line 141, in create_archive_from_file
    writer.write(data)
  File "/home/amedee/bin/glacier-cli/boto/glacier/writer.py", line 152, in write
    self.send_part()
  File "/home/amedee/bin/glacier-cli/boto/glacier/writer.py", line 141, in send_part
    content_range, part)
  File "/home/amedee/bin/glacier-cli/boto/glacier/layer1.py", line 626, in upload_part
    response_headers=response_headers)
  File "/home/amedee/bin/glacier-cli/boto/glacier/layer1.py", line 83, in make_request
    data=data)
  File "/home/amedee/bin/glacier-cli/boto/connection.py", line 913, in make_request
    return self._mexe(http_request, sender, override_num_retries)
  File "/home/amedee/bin/glacier-cli/boto/connection.py", line 859, in _mexe
    raise e
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)

I don't know if the file was uploaded correctly, but the time was long enough to expect an upload to complete. The glacier archive list command doesn't show the file.
I have previously used glacier archive retrieve and glacier vault sync on this system, and they do not return an error.
EDIT: I uploaded a 1.2 GiB file and didn't get an error. The smaller file is listed with glacier archive list.

The 6.6 GiB was a tarball that contained some redundant files. I removed the redundant files, the resulting file was 2.6 GiB. I was able to upload the smaller file.
So probably the error only occurs with very large files, but I wouldn't be able to determine the cut-off size, and the issue is no longer relevant for me personally. But maybe others will have the same issue.

I believe the max size per archive is 4GB:
https://docs.aws.amazon.com/amazonglacier/latest/dev/uploading-archive-mpu.html


Crank Interface

Requirements gathering for interaction with a Crank result.
Search capabilities:

Search by id
Search by initial molecule (geometry information included) and SMILES.
Search by QM method, program, basis, and options

Required information:

Computational details (method, program(s), basis, molecule)
Lowest energy at each grid point
Lowest energy final trajectory at each grid point.
Trajectory "history" at each grid point.

@yudongqiu @ChayaSt can you fill in the details of your requirements here?

Current example:
>>> import qcfractal.interface as portal

>>> client = portal.FractalClient(server_address)

# Search for Crank results, grab the first
>>> result = client.get_service(query)[0]
>>> print(result)
TorsionDrive(id='5b85c5a17b878733c7dbbbee', state='FINISHED', molecule_id='5b85c5a07b878733c7dbbbed', molecule_name='HOOH')

>>>  print(result.final_energies())
{(-90,): 0.00015655376185927123, (180,): 0.0007534925560578865, (0,): 0.002597541340221565, (90,): 0.0001565537618592763} # UFF results so energies are positive.

We also want to be able to search:

standard SMILES (without the geometry) so we can get all tautomers / ionization / protonation states associated with this molecular graph.

Workflow used to generate this set of fragments.

I can add point 1).
For point 2) I think we want to build associativity the other way where a Workflow database entry is made which references all crank jobs.

The Crank API has evolved over time and currently meets all use cases. This issue as it stands is not serving a purpose and will be closed. Please create new issues focusing on specific feature requests.


Revert 1400 patch 2

Description
If this is an UPDATE for a previous genesis validator
Checks are made against your net_address. If this has changed since the previous testnet, make sure you provide links of previous prs merged from your previous git username.
Thanks in advance!
Checklist before merging to draft

[ ] Only one toml is added in this PR
[ ] The file being added is indeed a .toml file
[ ] The toml being added is to the correct folder, and only to the correct folder
[ ] The eth_hot_key and eth_cold_key are present

update path.  becase  My .toml file path was misplaced 2 weeks a go

update path. becase My .toml file path was misplaced 2 weeks a go


Fix container.dart for issue #2628

Fix for Issue : #2628
The Ink or InkWell widget must have a Material widget as an ancestor.
seems container.dart doesn't have:
https://github.com/flet-dev/flet/blob/fe1a4d15fb31065231941ad737da551f8c6e9940/packages/flet/lib/src/controls/container.dart#L151-L153
so i try to add Material to wrap InkWell:
https://github.com/flet-dev/flet/pull/2701/files#diff-3d2babe2e48d8eaf9b1c35294b8c498c905a03e16f8e490258b215a98e5ec568R151-R154
i also remove Ink cause Flet already use Container as parent, because Container can take a BoxDecoration as i read this
This is how i fix this issue, hopefully it will help.

https://github.com/flet-dev/flet/assets/88388332/18bee2ca-5b41-4c8b-b75e-2229f2511995
Test Code:
import flet as ft

def main(page: ft.Page):
    page.vertical_alignment = ft.MainAxisAlignment.CENTER
    page.horizontal_alignment = ft.CrossAxisAlignment.CENTER
    page.theme_mode = ft.ThemeMode.DARK
    button = ft.Container(
        bgcolor=ft.colors.GREEN,
        content=ft.Icon(ft.icons.MENU_BOOK_ROUNDED, color=ft.colors.BLUE, size=30),
        padding=18,
        alignment=ft.alignment.center,
        border_radius=20,
        border=ft.Border(
            top=ft.BorderSide(width=2, color=ft.colors.RED),
            left=ft.BorderSide(width=2, color=ft.colors.RED),
            bottom=ft.BorderSide(width=2, color=ft.colors.RED),
            right=ft.BorderSide(width=2, color=ft.colors.RED),
        ),
        shadow=ft.BoxShadow(
            blur_radius=20,
            color=ft.colors.YELLOW_ACCENT_700,
            blur_style=ft.ShadowBlurStyle.OUTER,
        ),
        on_click=lambda e: print("Clicked"),
        ink=True,
        bottom=20,
        right=20,
    )
    simply_container = ft.Container(
        bgcolor=ft.colors.with_opacity(1, ft.colors.BLACK),
        height=page.height * 0.8,
        width=page.width * 0.8,
        bottom=20,
        right=40,
    )

    stack = ft.Stack(controls=[simply_container, button], expand=True)
    page.add(stack)

ft.app(target=main)

Thanks @isaffathir.
But each new/non-existing dart property you add should be "exposed" in Flet's python API. Just like you did in the first PR.

Thanks @isaffathir.
But each new/non-existing dart property you add should be "exposed" in Flet's python API. Just like you did in the first PR.

there is nothing new, i just wrap InkWell with Material from material.dart that already exist. let me know if im wrong answer or misunderstand

Thanks @isaffathir.
But each new/non-existing dart property you add should be "exposed" in Flet's python API. Just like you did in the first PR.

Material is imported from material.dart
https://github.com/flet-dev/flet/blob/fe1a4d15fb31065231941ad737da551f8c6e9940/packages/flet/lib/src/controls/container.dart#L5
i just wrap InkWell with Material. is this new? let me know if im wrong answer or misunderstand

Thanks @isaffathir for fixing the bug and that too immediately when I mentioned you with this issue.

i just wrap InkWell with Material. are this new? let me know if im wrong answer or misunderstand

Ah, i forgot to check which issue you were trying to fix.

As suggestion from this that need transparent Material also here, yes we can use Ink if don't want use Material instead,but because flet add Container as parent for the return using Ink as a child will cause #2628 problem,thats why need transparent Material  as ancestor


TODO - Add Logging support to the Project

Description
We need to enhance the existing project by adding logging functionality. Logging will help us track and troubleshoot the behaviour of the application, monitor its performance, and diagnose any issues that may arise during operation.
Tasks

Integrate a logging framework/library into the project (e.g., Python's logging module, Loguru, etc.).
Configure logging levels (e.g., DEBUG, INFO, WARNING, ERROR, etc.) based on the severity of the events.
Implement logging statements throughout the codebase to capture relevant information, such as request/response details, error messages, exceptions, etc.
Include timestamps and other contextual information in the log entries to facilitate analysis and debugging.
Store logs in a centralized location or specify a log file path for persistence.
Define a log rotation strategy to manage log file size and retention.
Ensure that sensitive information (e.g., passwords, access tokens) is not logged in plaintext.
Write unit tests to validate the logging functionality and verify that logs are generated as expected.
Document the logging configuration and usage guidelines for future reference.

Acceptance Criteria

Logs are successfully integrated into the project.
Logging statements are strategically placed to capture relevant events and information.
Logs adhere to the specified logging levels and formats.
Timestamps and contextual information are included in the log entries.
Log files are stored securely and are accessible for analysis.
Unit tests for logging functionality pass successfully.

This issue will be addressed along with the issue #7


raftstore-v2: fix stale read by correct updating peers

What is changed and how it works?

Issue Number: Close #14664
What's Changed:

Fix stale read by correct updating peers

Related changes

Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test

Release note
None

/merge


Endianess of data

Hey,
thank you for this nice open-source project. I was wondering if you thought about adding the possibility to specify the endianess of the complex SAR data to load.
Thanks,
Nils

Hi @nilsdoe, thanks a lot for reaching out to us. And my apology for taking so long to reply.
I myself am not an expert in endianess. What we use in SARXarray is the standard Numpy data types. For example, in this documentation page, we use numpy.complex64. And according to Numpy documentation, by default the system native endian is used.
Based on the information, I would expect if you follow the dtype constructing doc from Numpy, you can construct the dtype with the endian of your interest and pass it to sarxarray.from_binary().
Could you please goive this a try?


Error for Filipino language being selected as a primary/secondary language

Bug
There is an "Enum Language has no value defined for name fil" error when I want to select Filipino as a primary/secondary language. it also happens on Odysee too.
To Reproduce
Steps to reproduce the behavior:

Go to channels, and click your channel
Click on edit
Scroll down to primary/secondary language the pick filipino as a language
See the error

Expected behavior
Of course, you can change it and it work just fine.
Screenshots

Nice catch .Gotta figure out what the right code is from https://github.com/lbryio/types/blob/f0b4476ef386b096e99e64c6cf8a7ed20ca92d5f/v2/proto/claim.proto via those standards.

@tzarebczan can you do Tagalog language instead of Filipino? This is the standard of all streaming services right now.

I requested the language request on transifex already @tzarebczan

The TL number btw is 162

Now it is good, probably


Enable the libxml entity loader after XXE scan

The XmlParser disables the libxml entity loader when running the XXE scan, which causes a known bug in PHP. This meant that other libraries using XML files (such as Doctrine) are not able to load the XML files using simplexml_load_file.
By calling libxml_disable_entity_loader(false) before the scanInput method is returned, we enable the entity loader which allows other libraries to load external XML files.

IIRC the correct way to do this is to use the return value of libxml_disable_entity_loader when its called for the first time, see http://php.net/manual/en/function.libxml-disable-entity-loader.php. That way you also respect if someone turns this feature off globally.
In addition, parsing on php-fpm does not disable the loader at all, so we should check for that.
I think this is a good addition, but you should also file a bug against Doctrine because their code should enable and disable the entity loader code as well if they need it. Relying on having it enabled seems like a bad idea for such a common lib.

I agree with raydiation. libxml_disable_entity_loader has to be set to the previous value instead of false.

Done!

This is a really minor one, but anyway.
If you are familiar with git, you can squash the commits together and force update your fork as illustrated by http://davidwalsh.name/squash-commits-git. The pull request updates automatically.

Oh, yeah. Good one!

:+1:

Thanks @Raydiation and @mkresin to review the pull-request!
It's merged @kleiram :)

Thanks! Can you maybe give an ETA on when it'll be tagged? 'Cause now I manually patched the file in my vendor directory, which I'd rather not do 😜

I increased the version number to v0.1.3

Nice, thanks!


Release Date?

Any word on a release date... this has just come along at exactly the right time, we're just looking at moving a lot of stuff to the Code* suite, and this will be really important to make that work.

The library should be now available on NuGet!


Can't read config file located in <SCOOP_DIR>

Description
Scoop can read portable config file in <SCOOP_DIR>/config.json since v0.4.0. But scoop-search doesn't use it.
Logs
The offending command causing the error with the $env:SCOOP_SEARCH_VERBOSE=1 env var set:
Commandline arguments: args.ParsedArgs{ .query = null, .hook = false, .allocator = mem.Allocator{ .ptr = anyopaque@e72f7feed0,
  .vtable = mem.Allocator.VTable{ .alloc = fn (*anyopaque, usize, u8, usize) ?[*]u8@5920d0, .resize = fn (*anyopaque, []u8, u8, usize,
  usize) bool@592170, .free = fn (*anyopaque, []u8, u8, usize) void@5921c0 } } }
env:SCOOP=
env:USERPROFILE=C:\Users\gnepo
env:XDG_CONFIG_HOME=
Scoop config file path: C:\Users\gnepo/.config/scoop/config.json
Scoop config file does not exist
Scoop home: C:\Users\gnepo/scoop
Could not open the buckets directory: C:\Users\gnepo/scoop/buckets.

Should be an easy fix. If I understand correctly <SCOOP_DIR> is the same as scoop home present in the logs you attached?

Yes but not really, because I removed the SCOOP environment variable to test scoopConfigFileOwned, so it reads the default USERPROFILE location. I installed Scoop in D:\Scoop so the config locate in D:\Scoop\config.json  together with apps and buckets folder.

Okay thanks. I will investigate it (probably the easiest will be to just read scoop's source code) and send a fix at some point, but not in the coming days as I won't have time. If you are willing to work on this let me know, I would be happy to help. Seems like a very good introductory issue.