Adding a line feed in block quote text changes '>' to '>' when Preview is enabled

v1.0.5-rc.1
movie at https://app.zenhub.com/files/191973535/74c8eb5b-0de2-4404-b1f2-72967fc07d2f/download

Tested in tCC tA Test Block Quotes and Sections

@ancientTexts-net Please move it back to QA when it is testable. Not seeing the changes in v1.0.5-rc.6.

HTML is garbled if PREVIEW mode turned off

@elsylambert  @cckozie
Can you please help me see what's going on in RCL?
http://localhost:6060/#/Translatable?id=translatable-1

turn off preview
turn off blocks/sections
edit
turn on preview
NOTICE: loses some content

@ancientTexts-net  Cant open the link(local Host). Can you please send the link to RCL?

Thank you @RoyalSix  , @elsylambert  :
https://deploy-preview-35--markdown-translatable.netlify.app/
As of now the only issues I see are that the FIRST time you edit the markdown document (with sections & blocks OFF), it sends cursor to the bottom of the file

@ancientTexts-net I am not seeing that behavior on the example you sent https://deploy-preview-35--markdown-translatable.netlify.app/#/Translatable?id=translatable-1

https://deploy-preview-35--markdown-translatable.netlify.app/- Turn Off the toggle for Blocks and the text goes blank.

Issues confirmed fixed:

Turn Off the toggle for Blocks and the text goes blank.
As of now the only issues I see are that the FIRST time you edit the markdown document (with sections & blocks OFF), it sends cursor to the bottom of the file
HTML is garbled if PREVIEW mode turned off
Adding a line feed in block quote text changes '>' to '>' when Preview is enabled

Testable in v1.0.5-rc.7
https://deploy-preview-488--tc-create-app.netlify.app/
@elsylambert
@cckozie
@BincyJ
@birchamp

Looks good in Preview.https://deploy-preview-488--tc-create-app.netlify.app/

Testable in develop, v 1.0.5-rc.7
https://develop--tc-create-app.netlify.app/
@elsylambert
@cckozie
@birchamp
@BincyJ

Not seeing this issue in translationCore Create - v1.0.5-rc.7

Looks good in v1.0.5-rc.7


Fix cleanup when mmap returns MAP_FAILED

MAP_FAILED != NULL, which means that, when that error is returned,
the code was trying to munmap it.
We now set buf = NULL before going to cleanup.

Instead of setting buf to NULL, causing a no-op side-effect of free(NULL), I added a check for MAP_FAILED and gave you credit in the commit message. Is that OK?

That's perfect, thanks!


Lab 11 Self Assessment - Jacobs

I will put the Lab 11 self assessment here because the canvas submission wants a link, and not a txt file.
I learned a couple of things, including that presentations (at least of research) are meant to have a sort of storytelling aspect to them. I didn't know this, although it's possible I've taken this approach before when presenting research in the past. Another thing about presenting I learned is how visual aids can help in that they take up space that would normally otherwise contain text, and text walls are not typically very engaging to read. I learned that it is possible to save charts directly to directories instead of finding some roundabout way to capture them, like a screenshot. I also learned that peer-facing research is much more transparent than outward-facing research, which makes sense, as the layman would probably not care to learn about the specific techniques used in depth, and is more focused on the result. I will likely do more research on youtube about how to publish a custom website on github pages, because I am considering setting up a personal website that way.
@francojc

Great summary. Nice job.


[BugFix] Fix Marlin24 Bug

Summary

Fix the check for permutations which have been incorrectly been running for the channel-wise case
Idk how this ever worked for group quant

Generations Using Group Quantization in vLLM:
[' Paris and it is located in the north-west of the country.\nThe population of', ' the leader of the executive branch of the federal government, and thus the head of', ' Liz. I live in a small town in the middle of a prairie.']

This should just be a syntax warning? Not sure if I see why this would raise an error

This doesn't raise an error, but before this diff the group quantized models with marlin_24 compressor were giving 0 accuracy


Use geometry buffer as a fallback for prepass

This PR should be merged after #8909
Test playground : http://localhost:1338/Playground/index-local.html#PIZ1GK#177
Important note :

As discussed offline, materials which are not "image processing ready" will have their color converted to gamma space. I converted normalMaterial to "image processing ready" as a proposition of implementation. This is done after the model of implementation for fog. If the proposition is accepted, I will then convert all materials from the material library.

In imageProcessingCompatibility.fx, shouldn't you also check that the pre pass renderer is used before converting to linear?

@deltakosh  @sebavan ready for review 👍
@Popov72 about imageProcessingCompatibility.fx, actually no because we have the exact same problem when imageprocessing is used as a post process, regardless of prepass

LGTM !

LGTM, I wonder if we should auto inject imageProcessingCompatibility.fx if it is not in the file for shaderMaterials or nodeMaterials for instance ???

@sebavan you mean by processing the shader code ?

Yup just wondering if it is worth it or if a good documentation would be better ???
@deltakosh, what would you prefer ?

If we can avoid the doc I think it is better

actually, I thought about injecting this way, but it turns out it could go bad :
for instance :
if (...) {
 gl_Fragcolor = ...
 return;
}

Injection at the end of main  would have no effect when there is branching

So I guess it could only be doc :-( but at least in the Node Material we could probably add it ???

It is in so perfect !!! and we only need it for the shaderMaterial in the doc then ?

It is in so perfect !!! and we only need it for the shaderMaterial in the doc then ?

yep, @deltakosh I'll make you some sweet doc for that :)


Search api - how to stop using cache - to fetch real data every time

when I use client.search(query: search_param, :reload => true) I get real data (not cached) after 2 mins.
Is there anyway I get the search results immediately, I mean by completely avoiding cache.
Currently I use reload: true & fetch(true) on search results. This helps me get the latest data after 2 mins.
Is there anyway I can avoid waiting 2 mins, so that I get the immediate proper search result.
Thanks in advance!

+1 to this.
Currently doing a search to return tickets with certain tags, getting results from the api of tickets that no longer have the tag :(


Alerts/notifications are not working

Description

This is related to the beta testing

Issue

Alerts/notifications are not working

Expected

Sends notifications about new posts

Screenshots

Notifications feature is not going to be implemented yet unfortunately


Question about RotatedRoiAlgin

❓ Questions and Help
Hello, thank you for sharing the codes. I try to understand the details of this project, but there are some codes that I cannot fully understand. I really hope you can help me. My question is: is it necessary to rotate the features extracted by RoIAlign layer to horizontal direction? I spent some time trying to figure it out, but I falid to understand it, please help me, thank you.

Duplicate of #29


fix: fix dockerfile path in goreleaser config

/merge

@codecov F*** you! You are so disappointing.


Move sources to new package

Depends on https://github.com/German-Immersive-Railroading-Community/Launcher/pull/65

Moves all sources to the eu.girc.launcher package.

Bruh


Fix setClient issue for new guzzle version

Fixes an issue where we get this error message when using the MinkExtension:
In GoutteFactory.php line 117:

  Method Goutte\Client::setClient() does not exist

Fix is located here https://github.com/Behat/MinkExtension/pull/381 but is yet to be merged and is blocking me from moving forward with my ticket

@acsauk @coderste this PR was actually not very polite imo. You would have suggested changes on my PR, if the order mattered then you would have said so, "proposing" the same fix with the same code, moving into a new PR / author was just rude.
This will also bring other issues, since the client configuration is not being handled. On my tests the order did not matter, matter of fact the way the check is being done can also induce in error, but can't remember exactly why. I was hoping for a better review on my PR rather than blindly merging it because it just "runs" without throwing errors. features are being lost  here.

Hi @joshlopes - I'm a little confused, this was merged into a forked repo which we're relying on to fix some version issues between PHP 8.1 and various behat packages. Nothing has been merged upstream to the repo this has been forked from and given that the base repo seems to have been semi abandoned moving the changes into a separate repo seems like a fair compromise.
Am I missing something here?

Apologies you are completely right. I thought this was the upstream version! Deleted the comment to not further confuse more people.
Sorry @acsauk @coderste!

No worries, easily done! 🙂


[FEATURE REQUEST] Enhance File Upload Experience in ChibiSafe

Problem Description:
I frequently find myself frustrated when uploading files to ChibiSafe because the process feels slow and lacks feedback. It's hard to know if my files are being uploaded successfully or if I need to wait longer. Additionally, having to upload files one at a time can be tedious, especially when I have multiple files to share.
Describe the Solution You'd Like:
To enhance the file upload experience in ChibiSafe, I suggest introducing several improvements:

Drag-and-Drop: Simplify uploads by dragging files onto ChibiSafe.
Upload Progress: Show progress bars to keep users informed during uploads.
Batch Uploads: Let users upload multiple files at once for quicker uploads.

Additional Context:
Currently, the file upload process in ChibiSafe is somewhat cumbersome due to its lack of modern UI features. While the basic functionality works, the experience could be greatly improved with the suggested enhancements. Here's a mockup of how the drag-and-drop interface could look:

These are all things we already have in chibisafe, are you perhaps running a very old version?

You can drag and drop as many files as you like
The progress is shown at the top of the site and if you click on the button it shows even more details
If you click on the upload button, it lets you select as many files as you want.


Deaths should be counted per-world instead of being universal

I noticed they're also saved in the config, which feels kind of odd.
But as the title says, it'd be nice if deaths were saved per-world instead of being universal. Makes it more accurate.

Whoops. My biggest mistake :) I going tomorrow doing a minor update. It gonna take from 3-7 work days. Sorry for the problems and thanks for reviewing it.

Stop. Did you mean per dimension?

Stop. Did you mean per dimension?

no, per minecraft world.


HP EliteBook 9480m - BIOS Update 1.43

HP has release BIOS 1.43 for the EliteBook 9480m.
Attached is a ZIP of the model folder reflecting the newer BIOS version. All other files are unchanged with the current build.
Reference:

BIOS Update 1.43 (Softpaq 87494): **https://ftp.hp.com/pub/softpaq/sp87001-87500/sp87494.html

HP EliteBook Folio 9480m.zip

@thecatdidit Thanks, added the new download file and changed BIOS-Update.txt to reflect the new version.

File added, closing issue.


is_sparse in cvxpy.interface does not work with cvxopt spmatrix

Describe the bug
is_sparse in cvxpy.interface does not work with cvxopt a-matrix.
this prevents users to do <cvxopt.spmatrix> * <CVXPY.Variable>
To Reproduce
import cvxopt
s=cvxopt.sparse([])
import cvxpy.interface as intf
intf.is_sparse(s) # False
v = cvxpy.Variable(1)
s*v # TypeError: float() argument must be a string or a number, not 'cvxopt.base.spmatrix'
Expected behavior
is_sparse(s) should be True
Version

OS: osx 10.14.5
CVXPY Version: 1.0.24
CVXOPT Version: 1.2.3

Is there any reason why you aren’t using a scipy sparse matrix? I’m not familiar with every last bit of cvxpy’s intended compatibility features, but using something from cvxopt instead of scipy seems strange.
Sent with GitHawk

Is there any reason why you aren’t using a scipy sparse matrix? I’m not familiar with every last bit of cvxpy’s intended compatibility features, but using something from cvxopt instead of scipy seems strange.
Sent with GitHawk

No reason. Is it recommended to use SciPy matrices than cvxopt matrices?
I just used it as I used to use cvxopt.

You should absolutely use scipy sparse matrices rather than cvxopt sparse matrices. Scipy is the de-facto standard for sparse linear algebra (along with a hundred other things) in the python programming language.
Sent with GitHawk

Got it! thanks for kind help :)


Can't Serialize Transaction for Signing Oracle

I would like to do the following beautifully:

Construct a Transaction in NBitcon
Serialize it to an ecdsa signing oracle
Receive the signature from this oracle
Apply that signature to the NBitcoin Transaction
Broadcast it to the network

So far, I have only been able to do this using what I believe to be very hacky, smelly code:
// 1.
TransactionBuilder builder = network.CreateTransactionBuilder()
	// Spend our P2PKH from fundingTx output as this input.
	.AddCoins(fundingTx.Outputs.AsCoins().ToArray()[1])
	.Send(sendAddress, sendAmount)
	.SendFees(minerFee)
	.SetChange(sendAddress);
var unsigned = builder.BuildTransaction(true);
// The only way I have found to prep the Tx for ECDSA signing operations: step 6 in [1]
 unsigned.Inputs[0].ScriptSig = fundingTx.Outputs[1].ScriptPubKey;

// 2., 3.
// Only our oracle has the private key to sign for fundingTx using ECDSA and returns a DER sig
// I have to manually add the Sighash_ALL flag bytes to this unsigned Tx: step 13 in [1]
// The oracle is only a key manager, and so takes arbitrary data as a hex string
 ECDSASignature sig = oracle.GetSignature(unsigned.ToHex()+"01000000");

// 4.
// The oracle, as a key manager, provides us with the pk
 PubKey pk = oracle.GetPK();
TransactionBuilder rebuild = network.CreateTransactionBuilder();
rebuild
	.AddCoins(fundingTx.Outputs.AsCoins().ToArray()[1])
	.AddKnownSignature(pk, sig, new OutPoint(fundingTx, 1));

var signed = rebuild.SignTransactionInPlace(unsigned)

// 5.
Broadcast((NBxplorer.ExplorerClient)client, signed));

I struggled to figure I needed to

temporarily fill the ScriptSig with the funding Transaction's ScriptPubKey (6 @ 1)
Add the four byte hash code type "01000000" (13 @ 1)

by following [1] this "How to redeem a basic Tx" post on stack exchange and I hope that there is a cleaner way serialize an unsigned raw transaction in NBitcoin. How is there? Without these steps, the unsigned raw transaction is insufficient to sign and looks like this:<PHONE_NUMBER>0ef97404ba7281ff60bc14c4777068a67cce0e82734232658df321cff32cdc5b010000001a1976a9141bcd44538300be5238c27807258a4c66edfba22c88acffffffff016c2000000000000017a914ffd0dbb44402d5f8f12d9ba5b484a2c1bb47da428700000000
Our oracle has no way to understand transaction data and will sign whatever raw bytes it receives. The oracle is an instance of Unbound's CASP MPC https://www.unboundtech.com/cryptoasset-security-platform/ and is performing threshold signatures from distributed keyshares.

Temmporarily fill the ScriptSig with the funding Transaction's ScriptPubKey (6 @ 1)

Don't do this. Just add all the signatures with AddKnownSignature and build once.

Add the four byte hash code type "01000000" (13 @ 1)

I guess this is the sigHashType? If so you need to use the TransactionSignature type instead of ECDSASignature type.

Temmporarily fill the ScriptSig with the funding Transaction's ScriptPubKey (6 @ 1)

Don't do this. Just add all the signatures with AddKnownSignature and build once.

That wouldn't work. This step needs to happen before I obtain the signature

Add the four byte hash code type "01000000" (13 @ 1)

I guess this is the sigHashType? If so you need to use the TransactionSignature type instead of ECDSASignature type.
This also needs to happen before I obtain the signature. It's part of the data sent to the signing function.

I do both of these steps to format the raw unsigned transaction which is later signed. I can't add the signatures that don't yet exist to the transaction builder. Does that make sense? Bitcoin requires the scriptSig to be temporarily filled and then signs all of that data. The Stack Exchange post details this exact format. I am positive of this, because with these hacks I was able to create a valid signature and broadcast that sig to the testnet blockchain

Bitcoin requires the scriptSig to be temporarily filled and then signs all of that data no it does not, this was an old hack that is now deprecated.

// 2., 3.
// Only our oracle has the private key to sign for fundingTx using ECDSA and returns a DER sig
// I have to manually add the Sighash_ALL flag bytes to this unsigned Tx: step 13 in [1]
// The oracle is only a key manager, and so takes arbitrary data as a hex string
 ECDSASignature sig = oracle.GetSignature(unsigned.ToHex()+"01000000");

This make no sense. Sighash_ALL  need to be added to a signature, but here you add it to a transaction, I have no idea what you want to do.

@DanGould this is not a temporary scriptSig, this is the way the transaction hash to sign need to be calculated.
The transaction hash (GetHash()) is not the same as what must be signed (GetSignatureHash)


Stuck ont the css section

Challenge Use a CSS Class to Style an Element has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

CatPhotoApp

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Caught a road block with css

Closing as it looks like your issue has been resolved in the main chat. In the future please use the help button on the challenge page to connect with the help chat. Github issues are not meant for coding help.

CatPhotoApp
this should be your code

CatPhotoApp
As described during the instructional section on the left side:
Classes are reusable styles that can be added to HTML elements.
Here's an example CSS class declaration:

You can see that we've created a CSS class called blue-text within the


UnicodeDecodeError when installed as dependency of Zappa

$ pipenv install zappa
Installing zappa…
Collecting zappa
  Using cached zappa-0.44.3-py3-none-any.whl
Collecting kappa==0.6.0 (from zappa)
  Using cached kappa-0.6.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/0c/z4hp1gt53q7bkw2fjn7q9jkh0000gn/T/pip-build-cwsiey6i/kappa/setup.py", line 54, in <module>
        run_setup()
      File "/private/var/folders/0c/z4hp1gt53q7bkw2fjn7q9jkh0000gn/T/pip-build-cwsiey6i/kappa/setup.py", line 22, in run_setup
        long_description=open_file('README.rst').read(),
      File "/Users/russ/.local/share/virtualenvs/sirzappa-mr8M_sM7/bin/../lib/python3.6/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 2339: ordinal not in range(128)

The fix is simply to decode the rst as utf-8.
PR to follow.

Hit the same issue when trying to install on ubuntu 16.04.
Note, this problem does not seem to occur on my macos machine.

Yes. I think @DavidM42 is right, and my locale was not set as it should have been.
However, either with codecs or with io.open, I'd have thought this could have been merged by now. You can find numerous examples of the same technique.


Ensure access to PDFDocument is always concurrency safe

Ensure access to PDFDocument is always concurrency safe
:recycle: Current situation & Problem
The PR #51 added several interactions with PDFDocument that cannot be proven to be concurrency safe. This makes the package incompatible with Swift 6 and unable to compile. The issue was tracked in #57.
This PR attempts to resolve these issues. However, this not possible without breaking existing API. So see the initial state of the PR as a starting point for discussion on how we version this change and how we provide compatibility with Swift 5.10 environment as most of the changes require Swift 6 features.
PDFDocument is a non-[Sendable](https://developer.apple.com/documentation/swift/sendable) type (and probably won't be ever as it is an open class type inheriting from NSObject, see Sendable Classes). However, non-Sendable types can cross actor boundaries when passed as sending parameters. This keyword ensures that the caller won't maintain any references and ownership is fully transferred to the callee (for non-Sendable types). As the PDFDocument is just a result type we mean to transfer to the Standard that implements the ConsentConstraint and don't require to maintain ownership within SpeziOnboarding, we can easily send the PDFDocument to the Standard and provide ownership to the Standard.
:gear: Release Notes
All changes are annotated if they require Swift 6 language features and if they are considered a breaking change. Note that we assume framework users to operate in Swift 5 mode. As Swift 6 isn't released yet, we do not consider any changes to concurrency annotations that do not create compiler errors in Swift 5 (even with strict concurrency checking) as a breaking change.
The following changes were made according to the approach explained above:

The legacy OnboardingConstraint receives its PDFDocument as a sending parameter. This requires Swift 6 and is a breaking change.
The OnboardingDataSource receives the PDFDocument as a sending parameter. This requires Swift 6 and is not a breaking change.
ConsentDocumentExport was turned into a non-Copyable type that is non-Sendable. The access to the PDF is consuming and returns the PDFDocument as a sending result. This requires Swift 6 and is a breaking change.

consuming can only be applied to func declarations and sending only to results types of func declarations. Therefore, we needed to replace the async pdf property.
We currently keep the consumePDF method async as the documentation suggest that this might be required in the future. Is that really something that will come?

The ConsentConstraint was updated to receive the ConsentDocumentExport as a sending and consuming parameter. This requires Swift 6 and is a breaking change.

:books: Documentation
TBA
:white_check_mark: Testing
The test app was updated and existing unit tests will cover the refactored code.
:pencil: Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[x] I agree to follow the Code of Conduct and Contributing Guidelines.

@PSchmiedmayer as explained in the PR description. I requested review on this PR draft already to discuss potential ways forward with this PR as it inevitably causes breaking changes of recently introduced API and uses Swift 6 language features that might not be available to people still using the Swift 5 toolchain.

Thank you for taking a look at this @Supereg!
Thank you for breaking down the breaking and non-breaking changes. As far as I can see these are breaking changes in a need that a user would need to update to an Xcode version that supports Swift 6, but would still compile the package in combination with an other package or application that only uses the Swift 5 compilation mode without any errors in the source code?
And to add this so we don't run into this in the future: We should add a GitHub Action job that builds for Swift 6 and is required for all future PRs.
I am wondering if the general workflow should be: We merge #52 and #54 trying to avoid any breaking changes (1.X) sooner than later (CC @AdritRao & @RealLast).
With these being in place, we can start to prepare a source code and functionally-related breaking change, removing the older setups, trying to remodel elements to reflect the latest changes (e.g. also moving consent into its own target), and then tag a 2.X that only supports Swift 6?
A more general question: Should we handle supporting Swift 6 only (dropping compiling with Swift 5.X) as a breaking change across all our packages or is there a way to handle these are elements as minor changes, just requiring developers to update Xcode but ensuring that elements still build with the latest Xcode versions.

As far as I can see these are breaking changes in a need that a user would need to update to an Xcode version that supports Swift 6, but would still compile the package in combination with an other package or application that only uses the Swift 5 compilation mode without any errors in the source code?

Yes, the user would need to have the latest Xcode version with a Swift 6 toolchain. However, the consuming sending attributes in the method of the constraint protocol are also a source breaking change.
To the second part of your question, you can freely compile Swift 5 packages with the latest toolchain. Note, that we not necessarily require the Swift 6 language mode with this PR, only new features of the Swift 6 toolchain.

And to add this so we don't run into this in the future: We should add a GitHub Action job that builds for Swift 6 and is required for all future PRs.
We tried this, however this was not easily possible without breaking compatibility with Xcode 15. It wasn't possible to specify the swift 6 language mode from the command line for just a single package. It would apply the command line argument to all code which would raise compiler errors in a range of different packages.
Enabling the Swift 6 language mode in the Package.swift requires the latest 6.0 swift tools version which, therefore, breaks compiling with earlier Xcode versions.

With these being in place, we can start to prepare a source code and functionally-related breaking change, removing the older setups, trying to remodel elements to reflect the latest changes (e.g. also moving consent into its own target), and then tag a 2.X that only supports Swift 6?

This sounds like a good approach.

A more general question: Should we handle supporting Swift 6 only (dropping compiling with Swift 5.X) as a breaking change across all our packages or is there a way to handle these are elements as minor changes, just requiring developers to update Xcode but ensuring that elements still build with the latest Xcode versions.

If we do not consider requiring updating the Xcode version as a source breaking change, we can see this as a minor change (just updating the swift tools version in the Package.swift). After all, we are night increasing the minimum deployment target (which is definitely a source breaking change). Updating the Xcode version is eventually required by Apple anyways. So we might be okay with seeing this as a minor change as long as the Xcode version is fully release. Otherwise, I would tag such releases as pre-releases.

Agree; let's wait until Xcode 16 is released as a stable release and then tag it as a minor when we bump the swift tools version to Swift 6. As long as it can be used with apps that still support Swift 6 we should be fine. We just might need to tag these releases in the reverse order of the dependency tree and we might not be able to catch all of them ... something to discuss in our next meeting.


Pathlib issue with python 3.6

model = WindowConfig.load_scene("/input/uv.obj")
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.6/dist-packages/moderngl_window/context/base/window.py", line 673, in load_scene
**kwargs,
File "/usr/local/lib/python3.6/dist-packages/moderngl_window/resources/scenes.py", line 18, in load
return super().load(meta)
File "/usr/local/lib/python3.6/dist-packages/moderngl_window/resources/base.py", line 46, in load
self.resolve_loader(meta)
File "/usr/local/lib/python3.6/dist-packages/moderngl_window/resources/base.py", line 97, in resolve_loader
if loader_cls.supports_file(meta):
File "/usr/local/lib/python3.6/dist-packages/moderngl_window/loaders/base.py", line 34, in supports_file
path = Path(meta.path)
File "/usr/lib/python3.6/pathlib.py", line 1001, in new
self = cls._from_parts(args, init=False)
File "/usr/lib/python3.6/pathlib.py", line 656, in _from_parts
drv, root, parts = self._parse_args(args)
File "/usr/lib/python3.6/pathlib.py", line 640, in _parse_args
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not type

Think that is fixed in master already, but I'll take a look just in case.

cool, many thanks!
Do you know when will the next release come out?

Hopefully today. Worst case tomorow. I'll close this issue when the release is out

This looks suspicious. That method is not a static or classmethod. I'm guessing /input/uv.obj will be interpreted as the self argument while the path argument is not properly set.
model = WindowConfig.load_scene("/input/uv.obj")

If you don't use a WindowConfig you need to go thought the resources module. I'm still working on docs for that.
from moderngl_window import resources
from moderngl_window.meta import SceneDescription

scene = resources.scenes.load(SceneDescription(path='scenes/crate.obj'))

Thanks, so here is what happened.
I was trying to get the example in https://github.com/moderngl/moderngl/blob/master/examples/loading_obj_files.py
working.
I'm working on a test script so I didn't want the multiple imbricated classes, that's why I didn't have the self argument.
The problem was indeed that:

I didn't register the resources paths
I didn't register my opengl context

Many thanks for your help!

Awsome. Will be more docs very soon. That is pretty much pri 1 at the moment 😄

Finally added a section about it here : https://moderngl-window.readthedocs.io/en/latest/guide/custom_usage.html
Be free to yell if you see improvements.


Math magicians: fetch data from API

In this branch, I have added the following;

[ ] Use the following external API: API Ninjas.
[ ] Create a new component for displaying a quote.
[ ] Fetch data inside of the new component.
[ ] Used useState and useEffect.
[ ] Show a loading state.
[ ] Show an error state.
[ ] Import the new component into the main component.
[ ] Create Home and Navbar components to stick with the guide design.

Hu @HAMMAS-SALEEM, Thank you! :hugs:

Hi @codecaiine, Thabk you! :hugs:


Implement unit test for OperandRegistry with Operator-SDK 0.19.2

/kind feature
Since the Operator-SDK 0.19.2 integrates with kubebuilder v2, we need to implement the unit test for OperandRegistry with template of kubebuilder v2.
There is an example of the controller unit-test https://github.com/Cloud-Native-Coding/operator-with-kubebuilder/blob/master/controllers/cronjob_controller_test.go
Describe the solution you'd like
[A clear and concise description of what you want to happen.]
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Unit test has finished, close this issue


Bundler 1.11.0 break rspec on Windows (only windows), because #4114

It's very strange, but I can isolate problem to bundler, #4114
c:\git\Rails\wechat>rake
C:/Ruby22/bin/ruby.exe -I'C:/Ruby22/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib';'C:/Ruby22/lib/ruby/gems/2.2.0/gems/r
spec-support-3.4.1/lib' 'C:/Ruby22/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/exe/rspec' --pattern 'spec/**{,/*/**}/*_spe
c.rb'
No DRb server is running. Running in local process instead ...

Randomized with seed 51044
........................................................................................................................
.................................................

Finished in 0.65787 seconds (files took 10.4 seconds to load)
169 examples, 0 failures

Randomized with seed 51044

c:\git\Rails\wechat>bundle check
Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to t
he latest version of Bundler by running `gem install bundler`.
Resolving dependencies...
The Gemfile's dependencies are satisfied

c:\git\Rails\wechat>gem update
Updating installed gems
Updating bundler
Fetching: bundler-1.11.0.gem (100%)
Successfully installed bundler-1.11.0
Gems updated: bundler

c:\git\Rails\wechat>rake
C:/Ruby22/bin/ruby.exe -I'C:/Ruby22/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib';'C:/Ruby22/lib/ruby/gems/2.2.0/gems/r
spec-support-3.4.1/lib' 'C:/Ruby22/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/exe/rspec' --pattern 'spec/**{,/*/**}/*_spe
c.rb'
No DRb server is running. Running in local process instead ...
c:/git/Rails/wechat/spec/lib/wechat/access_token_spec.rb:3:in `<top (required)>': uninitialized constant Wechat (NameErr
or)
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/configuration.rb:1361:in `load'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/configuration.rb:1361:in `block in load_
spec_files'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/configuration.rb:1359:in `each'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/configuration.rb:1359:in `load_spec_file
s'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:102:in `setup'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:88:in `run'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:70:in `rescue in run'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:66:in `run'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:41:in `invoke'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/exe/rspec:4:in `<main>'
C:/Ruby22/bin/ruby.exe -I'C:/Ruby22/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib';'C:/Ruby22/lib/ruby/gems/2.2.0/gems/r
spec-support-3.4.1/lib' 'C:/Ruby22/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/exe/rspec' --pattern 'spec/**{,/*/**}/*_spe
c.rb' failed

c:\git\Rails\wechat>

@smellsblue dang, looks like we're excluding Windows even when it's MRI and we should be including it?

I can not work out a more proper fix, but if I revert #4114, at least can fix this problem...

I'm seeing a similar (?) problem with bundler 1.11.0 on Windows: Runtime dependencies defined in a gemspec won't be added to the $LOAD_PATH
$ bundle --version
Bundler version 1.10.6

D:\Users\agross\Coding\rake-funnel
$ bundle exec rspec
Run options: exclude {:draft=>true}
...

Finished in 1.5 seconds (files took 1.76 seconds to load)
3 examples, 0 failures, 0 pending

D:\Users\agross\Coding\rake-funnel
$ gem install bundler
Fetching: bundler-1.11.0.gem (100%)
Successfully installed bundler-1.11.0
1 gem installed

D:\Users\agross\Coding\rake-funnel
$ bundle exec rspec
D:/Users/agross/Coding/rake-funnel/lib/rake/funnel/extensions/disable_colors.rb:1:in `require': cannot load such file -- smart_colored (LoadError)
        from D:/Users/agross/Coding/rake-funnel/lib/rake/funnel/extensions/disable_colors.rb:1:in `<top (required)>'
        from D:/Users/agross/Coding/rake-funnel/lib/rake/funnel/framework.rb:9:in `require'
        from D:/Users/agross/Coding/rake-funnel/lib/rake/funnel/framework.rb:9:in `block (2 levels) in <top (required)>'
        from D:/Users/agross/Coding/rake-funnel/lib/rake/funnel/framework.rb:8:in `each'
        from D:/Users/agross/Coding/rake-funnel/lib/rake/funnel/framework.rb:8:in `block in <top (required)>'
        from D:/Users/agross/Coding/rake-funnel/lib/rake/funnel/framework.rb:7:in `each'
        from D:/Users/agross/Coding/rake-funnel/lib/rake/funnel/framework.rb:7:in `<top (required)>'
        from D:/Users/agross/Coding/rake-funnel/lib/rake/funnel.rb:7:in `require'
        from D:/Users/agross/Coding/rake-funnel/lib/rake/funnel.rb:7:in `<top (required)>'
        from D:/Users/agross/Coding/rake-funnel/spec/spec_helper.rb:36:in `require'
        from D:/Users/agross/Coding/rake-funnel/spec/spec_helper.rb:36:in `<top (required)>'
        from C:/Ruby/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/configuration.rb:1295:in `require'
        from C:/Ruby/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/configuration.rb:1295:in `block in requires='
        from C:/Ruby/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/configuration.rb:1295:in `each'
        from C:/Ruby/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/configuration.rb:1295:in `requires='
        from C:/Ruby/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/configuration_options.rb:109:in `block in process_options_into'
        from C:/Ruby/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/configuration_options.rb:108:in `each'
        from C:/Ruby/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/configuration_options.rb:108:in `process_options_into'
        from C:/Ruby/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/configuration_options.rb:21:in `configure'
        from C:/Ruby/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:101:in `setup'
        from C:/Ruby/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:88:in `run'
        from C:/Ruby/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:73:in `run'
        from C:/Ruby/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:41:in `invoke'
        from C:/Ruby/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.1/exe/rspec:4:in `<top (required)>'
        from C:/Ruby/bin/rspec:23:in `load'
        from C:/Ruby/bin/rspec:23:in `<main>'

I think this is failing because of: https://github.com/bundler/bundler/blob/4b7a940f668d1884d9266946a48ba55a80c4d513/lib/bundler/dsl.rb#L63:
gem spec.name, :path => path, :glob => glob, :platforms => Bundler::Dependency::REVERSE_PLATFORM_MAP[spec.platform]
For #4102, spec.platform was returning the Java platform (I was setting it that way in my gemspec).
However, for the case of the wechat gem, the spec platform isn't changed, and so spec.platform returns "ruby", which then means it won't be found when the dependency is being resolved (because it can only be found for the current platform). Changing the line to instead be:
gem spec.name, :path => path, :glob => glob, :platforms => Bundler::Dependency::REVERSE_PLATFORM_MAP[RUBY_PLATFORM]
seems to fix this problem, and probably won't affect the fix for #4102. Before I submit a pull request for this, I'm going to see if I can write a test or two to cover this case.

@Eric-Guo and @agross would you mind trying out my branch?
https://github.com/smellsblue/bundler/tree/restrict-gemspec-platforms-without-breaking-windows
I think this branch will fix both my original problem and these problems I created (sorry for the trouble!). I attempted to run rake for wechat and bundle exec rspec for rake-funnel. I got the same failures, and then saw them go away with my changes on a windows machine I got ahold of, but any additional testing you might be able to do would be super helpful!

@smellsblue Confirm it works at branch restrict-gemspec-platforms-without-breaking-windows, I also want to testing it at current master, but found a lot of conflicts, so .... decide relay on your do the rebase. :smile:

:+1: Thanks!

@Eric-Guo thanks so much! Yeah, I'll help get it to 1-11-stable if they plan to release it to 1.11 :-)


Add Endpoint to calculate Bid Ask Spread

What bug or feature you wants to report.
The bid ask spread formula is the difference between the asking price and bid price of a particular investment. The bid ask spread may be used for various investments and is primarily used in investments that sell on an exchange.
Bid-Ask Spread = Ask Price - Bid Price

Please assign me

Hey @chandansgowda, 3 of your issues are still open? Any updates?

Hey @nikhil25803
I'm busy since my sem end are going on and other projects have come. Can I unassign myself ?

@chandansgowda, your call :))
You may make the PRs after exams and all, was just looking for an update.


Create new triggers to support hierarchy in the portal

Two new properties need to be added to the provenance schema.
For Sample:
organ_hierarchy:
  type: string
  description: 'The name of the top level of the hierarchy this organ belongs to based on its laterality.'
  on_index_trigger: get_organ_hierarchy

For Dataset:
dataset_type_hierarchy:
  type: string
  description: 'The name of the top level of the hierarchy this dataset type belongs to.'
  on_index_trigger: get_dataset_type_hierarchy

In schema_triggers.py
get_organ_hierarchy will return the organ without the string inside of parenthesis. For instance if the organ is Lung (Left) this trigger will set the property organ_hierarchy to "Lung".
get_dataset_type_hierarchy will have to loop through the response from https://ontology-api.dev.hubmapconsortium.org/assayclasses?application_context=SENNET. If the dataset_type value is for example CODEX [Cytokit + SPRM], the trigger will set the property dataset_type_hierarchy to CODEX.
dataset_type can be found in object.value.description while the hierarchy can be found at object.value.dataset_type.dataset_type

This is ready:
Branch commit: https://github.com/sennetconsortium/entity-api/compare/main...libpitt/408-hierarchy
Requires: atlas-consortia-commons 1.0.13 https://test.pypi.org/project/atlas-consortia-commons/
Update app.cfg with new assay_classes property:
UBKG_CODES = '{"specimen_categories":"C020076", "dataset_types":{"code": "C003041", "key": "datasets", "endpoint": "valueset?parent_sab=SENNET&parent_code=C003041&child_sabs=SENNET"}, "organ_types":{"code": "C000008", "key": "organs", "endpoint": "organs?application_context=SENNET"}, "entities": "C000012", "source_types":"C050020", "assay_classes":{"code": "C004000", "key": "assay_classes", "endpoint": "assayclasses?application_context=SENNET"}}'

Results:
Sample:

Dataset:


[HOLD for payment 2024-07-24] Add copy report onyx object to clipboard function on dev/staging

In order to make troubleshooting easier, let's add a new option to the right-click/long-press menu on reports in the LHN. The new option will be called Copy Onyx data and it will only be visible on dev/staging.
Clicking on it will copy the Onyx data for the report object onto the user's clipboard. Without opening the report.

Issue OwnerCurrent Issue Owner: @puneetlath

I'm Tomasz from Callstack and I'd like to work on this issue

Hi, I'm Tymoteusz Kałuzieński from Software Mansion, the expert agency, and I'll be working on this issue.

@ShridharGoel I'd like to get it out fast, so working with an agency contributor on it directly. That's why I didn't mark it external. Thanks for your interest though!

I believe @sobitneupane needs to be paid here. Right @sobitneupane?

Yes @puneetlath. I reviewed the PR linked with this issue.

Payment summary:

$250 - @sobitneupane - C+

Please request on NewDot @sobitneupane

$250 approved for @sobitneupane


Update MMDrawerController+Subclass.h

I simply fixed some of the documentation warnings Xcode was giving.

Oh I'm so sorry I didn't realize that this issue has been addressed with PR #441.


I want to get VGG16 [model.features[-2]] class activation map but there is some error

Hello. I want to get class activation map before MaxPool2d in VGG16.
So i setup target_layer = [model.features[-2]], but i got this error.
I think this problem caused register_full_backward_hook, but i don`t know how to solve this
RuntimeError: Output 0 of BackwardHookFunctionBackward is a view and is being modified inplace. This view was created inside a custom Function (or because an input was returned as-is) and the autograd logic to handle view+inplace would override the custom backward associated with the custom Function, leading to incorrect gradients. This behavior is forbidden. You can remove this warning by cloning the output of the custom Function.
I'd appreciate it if you could answer me.
Thank you

Hi, I couldn't reproduce.
I need more details: which algorithm (e.g: grad cam)?
Can you paste the code snippet you used.


Payment component disclaimer

Add a disclaimer to CardForm, BankAccountForm, and Billing form letting developers know that using the PaymentForm is preferred because there are a lot less implementation details involved. It combines the three together and handles validating and passing data between.

"Note:
While it's possible to implement the CardForm, BankAccountForm and BillingForm individually - the PaymentForm is preferred as it combines the three components together and handles validating and passing data between them, and ultimately takes less implementation time.
For most use-cases: the JustiFi Team officially recommends that developers choose the PaymentForm component when implementing components for payment processing."

@jakemer @TiagoFuelber how does this sound for a disclaimer for the documentation?


Progress?

Exactly what I needed, thanks!
Would it be possible to include some progress, e.g. https://www.npmjs.com/package/cli-progress for running in CLI?
I'd created a "app" that is using the inquirer lib to ask which queues, etc. and after that is done I use your lib to do the actual moving but a status would be nice to be able to log out... :)
A very "simplistic" progress could be like:
// Get the queue depth prior to starting
const qDepth = await sqsInstance.getQueueAttributes({
        QueueUrl: receiveOptions.QueueUrl,
        AttributeNames:['ApproximateNumberOfMessages']
    }).promise()
    .then(data => {
        return data && data.Attributes && data.Attributes.ApproximateNumberOfMessages ? data.Attributes.ApproximateNumberOfMessages : 0;
    });

// Write out the count to stdout:
    process.stdout.cursorTo(0);
    process.stdout.clearLine();
    process.stdout.cursorTo(0);
    process.stdout.write(`moving ${movedCount} of ${qDepth}`);

This works and writes the line to the terminal but some property to use it or not would be good of course!

@QAnders thanks for your interest.
We use this server side on our apps, so we don't want to console.log on the server.
IMHO npm package should never log, since the way of logging belongs to each app & context.
But I understand your concerns, so what I can propose is to add a hook "progress" call on each batch.
This would be usable like this:
const { movedCount } = await sqsMove(
  sqsInstance,
  'https://sqs.eu-west-1.amazonaws.com/123456789012/some-dead-letter-queue',
  'https://sqs.eu-west-1.amazonaws.com/123456789012/some-process-queue',
  {
    "progress": (messagesIds) => {
      // your code to log what ever you like (e.g. console.log(`Messages treated ${messageIds.length}`))
    }
  }
);

Just a warning calling each time getQueueAttributes might slow down the transfer...
Let me know if this would be ok for you.

Closing this issue since we didn't get any answer


How to generate video stylisation results?

Is there a recommended way to perform video stylisation? For now, Im converting the original video file and style video file into frames, performing photorealistic style transfer and then making a video out of the output frames. However there seems to be problem while encoding the frames to video leading to blurry video output. Any suggestions are welcome!

@AdarshMJ Thanks for the comment.   As far as I understand, if each frame image is clear then the encoded video output must be clear as well. Are you saying that each stylized frame is clear before the encoding but the output comes out blurry?
If so, there is one thing that is different from your approach with ours, which I suspect as the source of blurriness. For video stylization, we used a single style image (sunset) for stylizing the entire content video frames. This may be the reason for the blurred outputs that come from different stylization of nearby frames. Is it necessary to stylize your content video frame with each corresponding style video frame? If not, please try with a single representative style frame and let me know if this trick works or not.

Hello!
The transfer works perfectly. The problem was with converting frames to video. When I convert the stylised frames to a video the video appears with frames which are blurred.
I will try with the method you suggested. Thank you!
Also I wanted to know if you are planning to release the training code as well?
Adarsh Jamadandi

On 08-Apr-2019, at 9:58 AM, Jaejun Yoo<EMAIL_ADDRESS>wrote:
@AdarshMJ Thanks for the comment.  As far as I understand, if each frame image is clear then the encoded video output must be clear as well. Are you saying that each stylized frame is clear before the encoding but the output comes out blurry?
If so, there is one thing that is different from your approach with ours, which I suspect as the source of blurriness. For video stylization, we used a single style image (sunset) for stylizing the entire content video frames. This may be the reason for the blurred outputs that come from different stylization of nearby frames. Is it necessary to stylize your content video frame with each corresponding style video frame? If not, please try with a single representative style frame and let me know if this trick works or not.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@AdarshMJ Hi. I hope that works. About the training, you know, making a neat release-version code needs quite a time and efforts 😅. I am thinking of releasing the training code for enc-dec networks in a near future but I cannot guarantee that the release will come soon.

@Jaejun Yoo
Yes I completely understand the effort it takes to release a code😅.
Also I had one more query.. would the segmentation maps make much difference for stylisation? I tried stylising with the segment maps from the code released by PhotoWCT, the results were bad.
Adarsh Jamadandi

On 08-Apr-2019, at 12:41 PM, Jaejun Yoo<EMAIL_ADDRESS>wrote:
@AdarshMJ Hi. I hope that works. About the training, you know, making a neat release-version code needs quite a time and efforts 😅. I am thinking of releasing the training code for enc-dec networks in a near future but I cannot guarantee that the release will come soon.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@AdarshMJ Yes, it does. The segmentation map would provide way much better stylization results when included. This can be easily seen when you try a nightscape of a city as a style. If you do not have a segmentation map, the stylized output would be very dark overall (because your model cannot map sky to sky and building to building). Dependency on the semantic map is inevitable for photorealistic stylization until now.

Im using the segmentation code from this [CSAILVision/semantic-segmentation-pytorch ](git clone https://github.com/mingyuliutw/semantic-segmentation-pytorch segmentation). I was able to generate this segmentation mask from that code.

Should I give this whole image as content-segment input? or Just crop out the segmentation map and give just that?
When I crop the segmentation mask and give it as input, I get this error -
Traceback (most recent call last):
File "transfer.py", line 205, in
run_bulk(config)
File "transfer.py", line 155, in run_bulk
content_segment = load_segment(_content_segment, config.image_size)
File "/Users/adarsh/Desktop/project/WCT2/utils/io.py", line 88, in load_segment
image = change_seg(image)
File "/Users/adarsh/Desktop/project/WCT2/utils/io.py", line 64, in change_seg
dist = np.sum(np.abs(np.asarray(key) - arr_seg[x, y, :]))
ValueError: operands could not be broadcast together with shapes (3,) (4,)

@AdarshMJ First of all, please check the tutorial given by PhotoWCT authors: https://github.com/NVIDIA/FastPhotoStyle/blob/master/TUTORIAL.md#prepare-label-maps
By doing so, you would be able to follow the exact same procedure of which trained dataset is made.
Secondly, please check how the example images I gave looks like. They should share the same filename as well as image size. For semantic maps, a unique label set of your style image should match with that of your content image. I guess this is the reason why you are having such error.
I hope this helps to clarify your issue.

@jaejun-yoo  Thank you for the clarifications! The problem was the resolution of the segmentation maps and its corresponding content/style maps do not have same resolution. I guess that's why the error. I will retry it by having similar image sizes. Thank you!

Good. Since the problem asked is clarified and this thread is already too long, I will close this issue. Please open another one if you need to ask about the semantic label map. Thx!


Binary issue on mac os

Hi and congratulations on your work and this initiative.
I hadn't thought about it but I have to admit that it's probably the best approach to take. The task still seems very long and difficult but you've made me want to take a closer look at chromium. I'm currently compiling my first local version.
While waiting to know where to start myself, I wanted to try out the mac os version you're proposing. I think I followed your explanations correctly, but my Mac doesn't seem to want to run the binary.
I'm on M4 so maybe that's why I don't know.
Here's the command I execute
/Applications/Chromium.app/Contents/MacOS/Chromium --user-data-dir=$HOME/.config/google-chrome/Default --bot-profile=$HOME/Downloads/chrome130-macarm.enc --no-sandbox --disable-blink-features=AutomationControlled --disable-audio-output --exclude-switches=disable-crash-reporter,disable-crashpad-for-testing,disable-gpu-watchdog

I've also tried without the user-data-dir or exclude-switches but I get the same error every time

System Version: macOS 15.1 (24B2083)
Kernel Version: Darwin 24.1.0
Model Name: MacBook Pro
Model Identifier: Mac16,1
Chip: Apple M4
Memory: 16 GB

Hi and congratulations on your work and this initiative.
I hadn't thought about it but I have to admit that it's probably the best approach to take. The task still seems very long and difficult but you've made me want to take a closer look at chromium. I'm currently compiling my first local version.
While waiting to know where to start myself, I wanted to try out the mac os version you're proposing. I think I followed your explanations correctly, but my Mac doesn't seem to want to run the binary.
I'm on M4 so maybe that's why I don't know.
Here's the command I execute
/Applications/Chromium.app/Contents/MacOS/Chromium --user-data-dir=$HOME/.config/google-chrome/Default --bot-profile=$HOME/Downloads/chrome130-macarm.enc --no-sandbox --disable-blink-features=AutomationControlled --disable-audio-output --exclude-switches=disable-crash-reporter,disable-crashpad-for-testing,disable-gpu-watchdog

I've also tried without the user-data-dir or exclude-switches but I get the same error every time
System Version: macOS 15.1 (24B2083)
Kernel Version: Darwin 24.1.0
Model Name: MacBook Pro
Model Identifier: Mac16,1
Chip: Apple M4
Memory: 16 GB

I'm assuming you may need to sign it, please try:
codesign --force --deep --sign - Chromium.app

No, it doesn't seem to be having the desired effect.
➜  /Applications codesign --force --deep --sign - Chromium.app
Chromium.app: replacing existing signature
Chromium.app: resource fork, Finder information, or similar detritus not allowed

Same error message after trying to open Chromium

No, it doesn't seem to be having the desired effect.
codesign --force --deep --sign - Chromium.app
Chromium.app: replacing existing signature
Chromium.app: resource fork, Finder information, or similar detritus not allowed

Same error message after trying to open Chromium

In the system settings Privacy & Security, allow Chromium.app to execute under Allow applications downloaded from.

No sorry, same problem

No sorry, same problem

Please try to remove quarantine attribute via:
xattr -rd com.apple.quarantine Chromium.app

or disable Gatekeeper:
sudo spctl --master-disable

xattr -rd com.apple.quarantine Chromium.app

This was just the command I needed, thank you so much for your help 💪


Documentation error for s3 Download?

I was wrapping the SDK into my own classes when I noticed my download wrapper produced no effect. From the web documentation the description for the download example is

The following example downloads an object from Amazon S3 and saves its contents to a file (using the same name as the object's key).

And the code snippet
// Assign these values before running the program
const Aws::String bucket_name = "BUCKET_NAME";
const Aws::String object_name = "OBJECT_NAME";  // For demo, set to a text file

// Set up the request
Aws::S3::S3Client s3_client;
Aws::S3::Model::GetObjectRequest object_request;
object_request.SetBucket(bucket_name);
object_request.SetKey(object_name);

// Get the object
auto get_object_outcome = s3_client.GetObject(object_request);
if (get_object_outcome.IsSuccess())
{
    // Get an Aws::IOStream reference to the retrieved file
    auto &retrieved_file = get_object_outcome.GetResultWithOwnership().GetBody();

    // Output the first line of the retrieved text file
    std::cout << "Beginning of file contents:\n";
    char file_data[255] = { 0 };
    retrieved_file.getline(file_data, 254);
    std::cout << file_data << std::endl;
}
else
{
    auto error = get_object_outcome.GetError();
    std::cout << "ERROR: " << error.GetExceptionName() << ": "
        << error.GetMessage() << std::endl;
}

The code and the description don't match as that data is not written in to disk. I found out how to save the data into a file by browsing the issues a bit, but perhaps the code could be updated to the preferred way to save a file to disk? Or at least update the description to match the code. This would help people who follow the instructions blindly like me :)

Hey @joaofayad, thanks for pointing this out, I've submitted feedback on the documentation page, and the documentation team will take it from there.

@joaofayad @KaibaLopez I updated the AWS SDK for C++ Developer Guide to clarify that the example stores the downloaded file's contents in a local variable. The updated version can be viewed within a few hours at https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/examples-s3-objects.html
Thanks for the feedback.


2024.1.7 Prevented Fusion from Starting

Just a note, after install Fusion would no longer start. I just had to set the Home Assistant URL on Fusion's configuration page again (which was blank) and then it started working again.
Leaving this here for anyone wondering why Fusion no longer starts. The error I was receiving in the GUI when trying to start the add-on was basically "Failed to start", so was not very helpful.
Note: When upgrading, I clicked the install button to install the update, and then almost immediately I received the message that there were no updates to install, but found that indeed the update did take place. So, maybe this was just an oddity with my specific HA instance having a hiccup which caused this consequence.

Same happened to me and I did the same re-configuration But, now I am stuck at a dialog that asks for my login to give Fusion access to the instance. Entering the info and pressing the Log In button does nothing.

Might be same as here:
Originally posted by @emily-pesce in https://github.com/matt8707/ha-fusion/issues/246#issuecomment-1905150046

I am seeing the same exact error as @emily-pesce on this one! ;-)

Had the same issue. Needed to type http://ha-sddress:8... In configof fusion

I am seeing the same exact error as @emily-pesce on this one! ;-)

Update - I fixed it by switching OFF my 2factorAuthentification.

When you create an add-on so good that people disable 2-FA for it. Love it.

Had the same issue. Needed to type http://ha-sddress:8... In configof fusion. There must be http:// in the address.

I can confirm this is the fix. I set this without the http:// prefix to test and cleared browser cache, and it indeed did hang. Adding http:// once again to complete the URL let me in just fine.

Had the same issue. Setting with http:// works.

To add to this its cant have / at the end either.
Must be formatted like http://<IP_ADDRESS>:8123

Is given as an example in the configuration

I'm having the same problem and have my HA environment variable set to https:// which has worked until 2024.1.7. I dont see a failed login in HA either


[extractor/fuyin.tv] Add extractor

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Fix or improvement to an extractor (Make sure to add/update tests)
[x] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

Description of your pull request and other information
Explanation of your pull request in arbitrary form goes here. Please make sure the description explains the purpose and effect of your pull request and is worded well enough to be understood. Provide as much context and examples as possible.
This PR add site support for www.fuyin.tv,
Close #2871

I future, pls make a new branch from upstream/master for each PR so that the unnecessary commits don't show


docker-compose might not be in $PATH even though it is correctly installed.

I was setting up docker-compose for my podman installation and this led me to read over the documentation for its installation and saw that the "install the plugin manually" method that I had to use in my RHEL machine (so that I didn't accidentally pull in docker since I'm using podman), it recommends installing docker-compose under ~/.docker/cli-plugins or /usr/local/lib/docker/cli-plugins if you want it installed site-wide.
When docker-compose is installed in this location, the docker command will invoke it if you call docker compose as the documentation suggests.
Even though docker can find docker-compose in this way, the canasta cli will not find it because it is not in the path.
Additionally, if docker-compose is installed in /usr/local/bin, most invocations of sudo will not find it since /usr/local/bin is not in sudo's $PATH (at least, in the default install).
Incidentally, podman doesn't support the ~/.docker/cli-plugins or /usr/local/lib/docker/cli-plugins convention.
Given the variety of locations that docker-compose can end up in when someone is following the installation instructions from docker-compose itself, it seems there should be a way to specify the full path to the command when the docker-compose orchestrator is used.

Yeah, we could have a command to set the docker-path inside the /etc/canasta/conf.json and retrieved by the functions calling docker-compose.

@hexmode With the new check in install.sh being if ! docker compose version >/dev/null 2>&1; then can you comment on whether that check fails in the scenarios you describe? I want to close this bug as resolved.
The latest Canasta CLI documentation says to install Docker Desktop for Windows and Mac, while you should use the Docker repos for Linux installs. I believe the official Docker repos will work in your RHEL use case.
As an aside, you can run Podman and Docker engine on the same host since they are both OCI compliant. I'm running at least Podman Desktop on my Windows machine alongside (Docker Engine and) Docker Desktop.

I believe this can be closed, especially since it refers specifically to docker-compose (with a hyphen), which is now no longer supported. If there's still any issue with checking for the presence of Docker Compose, there should be a new issue created for it.


More improvements to docstrings + examples

Includes the rest of the docstring examples where needed on the major API parts of the codebase.
Should not be merged until after #1002

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


adjust how to set number of cores

right now it's static in the lighter and bowtie scripts.
suggested fix: make the number of cores dynamically callable from the parents.txt file
consider renaming the parents.txt file, to reflect that it's a config file

and update the readme to reflect this change


Build smoother on current level fine not previous level coarse

It only changes the behavior when building mixed precision multigrid.
Originally, the smoother (float) uses coarse matrix from previous level (double), so it will lead many precision conversion inside the smoother.
MultigridLevel will set the fine_op after conversion, so it will give the float matrix.
Create smoother on the fine matrix such that the smoother uses the precision of the current level

format-rebase!


Updated license

Description
Updated license
Type of change

Documentation update

Testing steps
N/A
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report
Base: 62.50% // Head: 62.50% // No change to project coverage :thumbsup:

Coverage data is based on head (2cc3ca0) compared to base (b751bc2).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #272   +/-   ##
=======================================
  Coverage   62.50%   62.50%
=======================================
  Files          11       11
  Lines        1064     1064
=======================================
  Hits          665      665
  Misses        372      372
  Partials       27       27

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


GetMapping注解传递参数不同方式中文乱码

Execute the command and paste the result below.
Command: `
PHP 8.0.20 (cli) (built: Jun 10 2022 10:30:14) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.20, Copyright (c) Zend Technologies
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
Composer could not find a composer.json file in /root
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
root@hecs-78176:~# cd /www/wwwroot/zyyl.a-nan.cn
root@hecs-78176:/www/wwwroot/zyyl.a-nan.cn# /www/server/php/80/bin/php -v && composer info | grep hyperf && /www/server/php/80/bin/php --ri swoole
PHP 8.0.20 (cli) (built: Jun 10 2022 10:30:14) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.20, Copyright (c) Zend Technologies
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
hyperf/amqp                             v2.2.33   A amqplib for hyperf.
hyperf/async-queue                      v2.2.33   A async queue component for hyperf.
hyperf/cache                            v2.2.33   A cache component for hyperf.
hyperf/command                          v2.2.35   Command for hyperf
hyperf/config                           v2.2.33   An independent component that provides configuration container.
hyperf/context                          v2.2.33   A coroutine context library.
hyperf/contract                         v2.2.33   The contracts of Hyperf.
hyperf/crontab                          v2.2.33   A crontab component for Hyperf.
hyperf/database                         v2.2.33   A flexible database library.
hyperf/db-connection                    v2.2.33   A hyperf db connection handler for hyperf/database.
hyperf/devtool                          v2.2.33   A Devtool for Hyperf.
hyperf/di                               v2.2.33   A DI for Hyperf.
hyperf/dispatcher                       v2.2.33   A HTTP Server for Hyperf.
hyperf/engine                           v1.3.4
hyperf/event                            v2.2.33   an event manager that implements PSR-14.
hyperf/exception-handler                v2.2.33   Exception handler for hyperf
hyperf/filesystem                       v2.2.33   flysystem integration for hyperf
hyperf/framework                        v2.2.33   A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservi...
hyperf/guzzle                           v2.2.33   Swoole coroutine handler for guzzle
hyperf/http-message                     v2.2.33   microservice framework base on swoole
hyperf/http-server                      v2.2.33   A HTTP Server for Hyperf.
hyperf/ide-helper                       v2.2.33   IDE help files for Hyperf.
hyperf/json-rpc                         v2.2.33   A JSON RPC component for Hyperf RPC Server or Client.
hyperf/load-balancer                    v2.2.33   A load balancer library for Hyperf.
hyperf/logger                           v2.2.33   A logger component for hyperf.
hyperf/macroable                        v2.2.33   Hyperf Macroable package which come from illuminate/macroable
hyperf/memory                           v2.2.33   An independent component that use to operate and manage memory.
hyperf/model-cache                      v2.2.33   A model cache component for hyperf.
hyperf/model-listener                   v2.2.33   A model listener for Hyperf.
hyperf/paginator                        v2.2.33   A paginator component for hyperf.
hyperf/pool                             v2.2.33   An independent universal connection pool component.
hyperf/process                          v2.2.33   A process component for hyperf.
hyperf/redis                            v2.2.33   A redis component for hyperf.
hyperf/rpc                              v2.2.33   A rpc basic library for Hyperf.
hyperf/rpc-server                       v2.2.33   An abstract rpc server component for Hyperf.
hyperf/server                           v2.2.33   A base server library for Hyperf.
hyperf/snowflake                        v<IP_ADDRESS> A snowflake library
hyperf/testing                          v2.2.33   Testing for hyperf
hyperf/translation                      v2.2.33   An independent translation component, forked by illuminate/translation.
hyperf/utils                            v2.2.34   A tools package that could help developer solved the problem quickly.
hyperf/validation                       v2.2.33   hyperf validation
hyperf/watcher                          v2.2.33   Hot reload watcher for Hyperf
hyperf/websocket-server                 v2.2.33   A websocket server library for Hyperf.
qiutuleng/hyperf-dump-server            v1.2.1    Bring Symfony's Var-Dump Server to Hyperf
tangwei/dto                             v1.0.3    php hyperf dto
swoole
Swoole => enabled
Author => Swoole Team<EMAIL_ADDRESS>Version => 4.8.5
Built => Sep  7 2022 23:53:40
coroutine => enabled with boost asm context
epoll => enabled
eventfd => enabled
signalfd => enabled
cpu_affinity => enabled
spinlock => enabled
rwlock => enabled
sockets => enabled
openssl => OpenSSL 1.0.2u  20 Dec 2019
pcre => enabled
zlib => 1.2.11
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled
async_redis => enabled
Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 8388608 => 8388608
`
#[GetMapping('search/{keyWord}')]
    public function search($keyWord){
        return $this->success($this->articleMapper->model::where('title','LIKE',"%$keyWord%")->orWhere('content','LIKE',"%$keyWord%")->get());
    }
这种方式如果传递的是中文数据查询不到任何数据，sql里面中文是乱码的
[INFO] SQL[0.59 ms] select * from `lx_article_post` where `title` LIKE '%%E6%B5%8B%E8%AF%95%' or `content` LIKE '%%E6%B5%8B%E8%AF%95%'

 #[GetMapping('search')]
    public function search(RequestInterface $request){
        $keyWord=$request->input('keyWord');
        return $this->success($this->articleMapper->model::where('title','LIKE',"%$keyWord%")->orWhere('content','LIKE',"%$keyWord%")->get());
    }
这种方式如果传递的是中文数据查询可以查询到数据，sql里面中文是也不乱码
[INFO] SQL[1.29 ms] select * from `lx_article_post` where `title` LIKE '%写刘德华%' or `content` LIKE '%写刘德华%'

这是我的用法不对吗？

你这query参数被urlencode编码了，注解的时候 $keyword = rawurldecode($keyword);，在使用吧

用法的问题，大概率是客户端的问题


adding  results to error:  SIGSEGV

I'm adding

after  tag and get node output
error:  SIGSEGV
how to solve this?

I'm having this crash on random basis in the current version unfortunately - doesn't seem to be reliable... Any support on this?


UX Enhancement for expired password reset link in sign-up flow

Steps to reproduce condition where there could be a UX enhancement:

on desktop, visit c0d3.com
sign-up as new user
receive password link in email
wait until link has expired
open link on mobile device
see message "link has expired, request a new password reset"

Suggested enhancement: allow users to request the new password reset from this screen (I navigated to log-in and then to "Forgot your password?" in order to complete the sign up flow after the link initially expired)
Note: I only mentioned the devices (desktop and mobile) because that was how I encountered the issue, but I assume it's the same across a single device

The root cause of the expired link portion may be a duplicate of: https://github.com/garageScript/c0d3-app/issues/244
(I signed up with an uppercase email because of my browser's autofill)

I've outlined a few options below that involve minimal changes to the confirm/[token] component.
In looking at the first 3 options, it occurred to me that the form is no longer necessary if the token/link has expired. Option 4 removes the form and just leaves an Alert wrapped in a NavLink. This might be the better UX option.
Please let me know which (if any) of the the options makes the most sense. Have a different idea? Please let me know.
Option 1

Description: add link to existing "Request a new password reset" text

Pro: minimal code change (just pass different props to Alert)

Con: user might not know to click on "Request a new password reset" text (poor call to action?)

Example

Option 2

Description: wrap the Alert in a NavLink

Pro: somewhat improved call to action

Con: none, unless wrapping an Alert in a NavLink is a discouraged pattern (since Alert already has an internal NavLink implementation)

Example:

Option 3

Description: Move the string "Request a new password reset" from the original Alert to a separate, informational Alert

Pro: clearer call to action

Con: ugly/busy UI

Example:

Option 4

Description: wrap the Alert in a NavLink and remove form

Pro: clear(est) call to action, no unnecessary UI clutter

Con: ???

Example:


Update of SVK translation

Translated achievments, user, article, save_load, inventory, game_menu, some of play_level, some of general, rest of login, rest of nav

Great job, @jimmysvk! Thank you!


[BUG] Remove "Auto force disabling volumetric fog if the hardware system doesn't support it." introduced in V0.4.0

Hey, i run the game on a GTX 750 TI, which does not support the modern unity volumetric fog
however, if it's forcefully disabled as in v0.4.0 it also completly break the color palette/athmosphere, making it look really bad
So i think this should actually be removed, or at least togglable
Here is how the game is supposed to look even without correct Volumetric Fog support:

With Volumetric Fog forced off:

On foggy weather, it's even worse

I don't think that auto force disabling volumetric fog will be removed, because unity spams error about that causing not able to read the logs.

To be fair, most of the hardware concerned, will also get the log spam of "ShaderProgram is unsupported, but because jobified rendering is enabled the ShaderProgram can not be removed." by default (unless turning gfx-enable-gfx-jobs to 0 but this reduces performance)
Ill stay on 0.3.5 for now, but thx for the answer


Add Testing?

I am not really familiar with testing.
If someone is up to implement it, go ahead

hi, i would give it a try. Can you assign me?


tpl/collections: Add group template func

This extends the page grouping in Hugo with a template function that allows for ad-hoc grouping.
A made-up example:
{{ $cool := where .Site.RegularPages "Params.cool" true | group "cool" }}
{{ $blue := where .Site.RegularPages "Params.blue" true | group "blue" }}
{{ $paginator := .Paginate (slice $cool $blue) }}

Closes #4865

Ah! This is pretty cool.
I'm fine with the name.


Suggestion Backlog Slog, 4/3/2017

"Do crazy stuff while Mohamed is out" edition 👶

#16 Safe Navigation operator
#3508 ESNext 'bind' operator ::
#563 Partial classes
#1206 string enums
#13721 Pure annotation on downlevel emits
#3854 protected in interfaces
#5296 Spread for function calls
#14764 Disallow comparing string | null to undefined
#10715 unknown alternative to any
#14762 T & {} should just be T, at least in typeToString
#338 Allow super.get/set
#766 Allow declaring class members in the constructor
#5156 > operator and friends on union types
#10570 Inherited typing for class property initializers
#14417 Optional getters in classes

#16 Safe Navigation operator

Not at stage 2 yet; behavior may differ
We have opinions on null and undefined coalescing
Ryan wants us to be ahead rather than behind on features
Not even in Babel yet?
Even stage 2 isn't safe (decorators!)
Start work at stage 2; stage 1 is too early
Let's wait until stage 2

#3508 ESNext 'bind' operator ::

Very important open questions on semantics, which may differ widely in behavior

Exact binding location is unclear

Wait for stage 2

#563 Partial classes

Sugar for existing syntax, sometimes
Not part of ES6
Trying to avoid new ES6 class features
We're not trying to reinvent C# as much as people like to pretend otherwise
The side effects of this with modern modules are simply bad
JavaScript has better compositional patterns available
:-1: hasn't happened by now, not going to

#1206 string enums

Everyone wants them

They're awesome
Come on

What about taking enums to TC39?
Sugar for what we can already do
We keep saying "Don't use namespace because modules are better" but then use namespaces for all would-be sugar features
Another sketch

 enum Foo {
    Red = "Red is my Favorite Color",
    Green = "Green is my Favorite color",
    Blue = "Blue!"
}

namespace Foo {
    export const Red: "Red" = "Robin";
    export type Red = typeof Red;
    export const Blue: "Blue" = "Bluebird";
    export type Blue = typeof Blue;
}
// "Robin" | "Bluebird"

type Foo = Foo.Red | Foo.Blue;

Ryan to write minispec
#13721 Pure annotation on downlevel emits

Needed for good treeshaking
Wouldn't emit if it had static non-literal initializers
Debate about terminology
Want to emit something understood by both uglify and closure
Why don't minifiers just recognize this pattern?

Not enough resources, requires a lot of CFA

We could just write /* class */ and the minifiers have to figure out side effects
:+1: with follow-up on uglify, Daniel to address

#14764 Disallow comparing string | null to undefined

Currently a hack
It's all ad hoc
Proposed rule: You can't test for the "wrong" empty
Checking for undefined is good defensiveness, checking for null is suspicious
AMF

#14762 T & {} should just be T, at least in typeToString

Filter this out when there no observable effects
:+1: (Anders knows what to do)

Out of time

#3854 protected in interfaces
#5296 Spread for function calls
#10715 unknown alternative to any
#338 Allow super.get/set
#766 Allow declaring class members in the constructor
#5156 > operator and friends on union types
#10570 Inherited typing for class property initializers
#14417 Optional getters in classes


Ensure best autofill match is always primary button style

Task/Issue URL: https://app.asana.com/0/488551667048375/1204391947652312/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #3185   👈

This comment was auto-generated by Graphite.


Added cookbook recipe for encryption on Minio with AWS Java SDK

Fix for  https://github.com/minio/minio/issues/3736


LED blinking is work only when there is sound notification (Android 7.1.1)

Expected behavior
There should be LED notification when new mail arrives, even if the ringtone is set to none.
Actual behavior
There is no LED notification when the ringtone is set to none. If I set it to something, there will be LED notification.
Same settings on Android 6.0.1 work as expected.
Steps to reproduce

Set Blink LED, set Ringtone to None. -> at new mail arrival, no LED notification
Set Ringtone to something. -> at new mail arrival, there will be sound and LED notification
Set Ringtone back to None -> at new mail arrival, no LED notification

Environment
K-9 Mail version: 5.203
Android version: 7.1.1
Account type (IMAP, POP3, WebDAV/Exchange): IMAP

I couldn't reproduce it on 7.1.1 (PureNexus ROM on Nexus 5) and the same app version

Well... I don't know why, but after a few days it started to work suddenly. I didn't set anything, but the expected setting (no ringtone, led blinking) after the reporting, and now, it works. I couldn't reproduce the false behavior now.

Same problem here - BQ Aquaris X Pro stock Android 7.1.1. K-9 5.207 from F-Droid.
LED only blinks when vibration / sound is enabled, otherwise the light won't blink.

@cketti: Can you reopen this issue? I have a new phone (OP5, 7.1.1), and I can't have the LED blinking without vibration and sound notification. If you or somebody could guide me, I will happily debug it! Thanks!


Add support for ANSYS Parametric Design Language (apdl)

Oops, duplicate of #317. The Github network map is not always as informative as it could be!


Tp 1003 refactor tracked model to reduce number of responsibilities

Why
TrackedModel and the common/models/records file have grown large. Quite a few methods on TrackedModel do not relate to this class's original function of handling versioning logic.
What

Move several utilty methods from TrackedModel class into a new tracked_model_utils file or common/util.
Move methods relating to descriptions into DescibedMixin and have relevant models inherit
Create a separate trackedmodel_queryset file
Add tests for util methods

Andy's original spike / WIP: https://github.com/uktrade/tamato/pull/409
Separate, related ticket to refactor copy() and new_draft() methods: https://uktrade.atlassian.net/browse/TP-1078

Codecov Report

Merging #432 (7c662fd) into master (edaf202) will decrease coverage by 0.00%.
The diff coverage is 93.01%.

@@            Coverage Diff             @@
##           master     #432      +/-   ##
==========================================
- Coverage   91.16%   91.16%   -0.01%
==========================================
  Files         277      279       +2
  Lines       16884    16901      +17
  Branches     1380     1375       -5
==========================================
+ Hits        15392    15407      +15
- Misses       1247     1250       +3
+ Partials      245      244       -1

Impacted Files
Coverage Δ

geo_areas/forms.py
45.76% <ø> (ø)

measures/business_rules.py
88.70% <ø> (ø)

workbaskets/views/mixins.py
77.77% <60.00%> (-22.23%)
:arrow_down:

common/models/mixins/description.py
85.07% <75.00%> (-5.17%)
:arrow_down:

common/models/tracked_qs.py
87.17% <87.17%> (ø)

common/util.py
82.22% <88.00%> (-0.28%)
:arrow_down:

common/models/trackedmodel.py
96.59% <96.59%> (ø)

additional_codes/models.py
95.16% <100.00%> (+0.07%)
:arrow_up:

certificates/models.py
92.72% <100.00%> (+0.13%)
:arrow_up:

commodities/models/dc.py
79.48% <100.00%> (ø)

... and 24 more

Continue to review full report at Codecov.

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


Assign more specific name to release

Hi
Currently the latest release is named as master-latest and it can be misleading in the future. Is it possible that the release name can be more specific?
Cheers,
Jae

Good point we could name it nightly.
current setup, whenever master receives new commit github action is building latest version of master branch and naming it %branchname%-latest


ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value for 'width':

Fix: change carousel.component.html line10:
[style.width]="getCellWidth()+'px'"   ->  [style.width]="carousel.cellWidth+'px'"
and add
ngAfterViewInit(): void{
setTimeout(() => {
window.dispatchEvent(new Event('resize'));
}, 500);
}

For anyone coming across this issue, one thing that helped me was changing the changeDetection strategy of the component where I used the carousel. Use ChangeDetectorRef to manually detect changes instead.


removed processed video files after 60 days

Files that have been in the Processed directory for longer than 60 days should automatically be removed from the system as they are no longer needed.

Changed folder structure. As a result input files will be kept and archived, instead of being removed.


can't find path to CK entry "module:program"

@psyhtest
root@ubuntu:/home/mlperf# ck compile program:image-classification-tf-cpp
CK error: [program] can't find path to CK entry "module:program" (?:032630d041b4fd8a:?)!
How can I fix it? Thanks!

@kubowuhao I believe my advice in #84 should fix this.
If you still have problems after that, please try:
$ ck pull repo:ck-autotuning

@kubowuhao since #84 is closed now, can this one be fixed instead?


CModuleContainerNode.java:118: error: incompatible types: Object cannot be converted to TreeNode

I'm unable to compile binnavi:
16:45:31.172 [ERROR] [system.err] binnavi-master/src/main/java/com/google/security/zynamics/binnavi/Gui/MainWindow/ProjectTree/Nodes/ModuleContainer/CModuleContainerNode.java:118: error: incompatible types: Object cannot be converted to TreeNode
16:45:31.173 [ERROR] [system.err]     for (TreeNode node : children) {
16:45:31.173 [ERROR] [system.err]                          ^
16:45:31.737 [ERROR] [system.err] Note: Some input files use or override a deprecated API.
16:45:31.737 [ERROR] [system.err] Note: Recompile with -Xlint:deprecation for details.

Hmm, JDK 11 is required to build this project, and it's not mentioned in the README file


Feature: Modified min BIN price calculation

Check min bin price and amount of players having that price M_COUNT.
If M_COUNT is very small compared to the total offer of the player (Like 1-3 players usually) buy them all.
Immediately update the price (Which should be now reflect the min bin without some few outliers, that might wrongly drop the min bin price)

that's can be helpful. So, i notice that AB randomly buy with BIN. So, maybe BIN to 1000 but there are some bid to 500. I think that can be helpful make a priority of bid too.

The logic is already similar.  Take a look at https://github.com/hunterjm/fifa-autobuyer/blob/master/app/actions/player.js#L84
Instead of checking for a low number of players, it checks for a high number at the same price and drops the price we want to pay down one level.


Lognormal

Adding a log-normal prior distribution, along with appropriate test.

Looks good, I'm happy to merge, if you're done with this @jameshensman ?

Yes please, it's all ready to go.


Tag problems

Hi!
I have been using it via "Use this template" since the weekend.
So I think it is v1.5.2.
1. Posts do not appear on the "Tag" page.
condition
When upper-case letters are mixed in tags of front-matter.
cause
I believe the problem lies in the string comparison.
The part that unifies duplicate tags into lowercase.
https://github.com/chrismwilliams/astro-theme-cactus/blob/58caa51c6a20ab9f73178ebe9c9266c99c5cbef1/src/utils/post.ts#L12
The part that compares with the front-matter tags.
https://github.com/chrismwilliams/astro-theme-cactus/blob/58caa51c6a20ab9f73178ebe9c9266c99c5cbef1/src/pages/tags/[tag]/[...page].astro#L16
2. Links on the "All Tag" page are not working.
condition
When upper-case letters are mixed in tags of front-matter.
cause
The URL points to a page in uppercase, but the actual page is in lowercase.
The part that generates tags.
https://github.com/chrismwilliams/astro-theme-cactus/blob/58caa51c6a20ab9f73178ebe9c9266c99c5cbef1/src/utils/post.ts#L23
The part that uses them.
https://github.com/chrismwilliams/astro-theme-cactus/blob/58caa51c6a20ab9f73178ebe9c9266c99c5cbef1/src/pages/tags/index.astro#L23
Thank you.

Hi @Hasenpfote great catch and thank you for making it so clear.
I've pushed a fix #41, let me know if you get chance to try it and will get it merged if it fixes your issues.

Hi @chrismwilliams.
This PR worked perfectly as expected for me.
Thanks for the quick response!


MAINT: clean up wishlist in stats.morestats, and copyright statement.

Motivated by gh-6703, which referred to this TODO list in a PR.
The list hasn't been touched in years though, and shouldn't live
inside the codebase anyway.

+1 for merging as is.
Does this list have anything worth opening an enhancement request ticket for?

I never heard of the quade test http://www.itl.nist.gov/div898/software/dataplot/refman1/auxillar/quade.htm
I think all (or almost all?) the others are in scipy or statsmodels (or in a PR for statsmodels, e.g. multisample comparison of proportion or rates)
what I'd like to see in scipy.stats (possibly biased and conflict of interest):

(very) popular functions that are often used standalone, the typical example are t-tests, where duplication between scipy and statsmodels is not a problem.
functions where technical issues dominate, typical example fisher's exact test and kendall tau. I'm just glad that I don't have to maintain them and scipy as a stronger numerical developer and user base than statsmodels. There are a few more good-to-have functions that require numerical efficient implementation to be useful (and competitive to R in terms of speed, the Os)
topics were scipy has good or very good coverage: nonparametric tests (besides, of course, distribution)

for basic statistics the boundary has been more between scipy.stats and numpy, and not so much with statsmodels

OK, merging. Thanks Ralf!


Consider removing UseRowNumberForPaging

Because it is generally only needed in SQL Server 2008, which is out of support.
If you're reading this and you use UseRowNumberForPaging, then please comment on this issue and let us know why you are using it.

Because we payed for the standard version of SQL Server 2008. It works perfectly for us. Why to buy a new version?

@ajcvickers, I still see some customers using it. The extended support ends in 2019.
I had to use the rownumber flag recently.

because we only buy 2008 licence on production environment which many project is already runing on it and working without problem, if we change to 2012 only for this problem, we must by a new licence for 2012 and only for this netcore project. so i think it is not a good plan

I find a way to solve this error temporary, use a lock on ToList() function, but if we do like this it can not handle many request in the same time,  so it is only a temporary solution to this problem.
code is:
List rs = null;
lock (StaticLock.MenuListLock)
{
rs = query.ToList();
}

123123

Yeah, to replace a working database server is not as easy as to replace a web browser with a newer one. Even after a long time it can work inside a virtual machine with an older OS. I can not count how many SQL Servers 2008 are now used, but i think it is a very substantial number. People don't like to throw away money on what they don't need.

Big steps, easy to pull eggs.

哈哈哈 楼上的笑死我了，翻译过来就是：步子大了容易扯着淡

Thanks for the feedback all.

Based on feedback, we're not planning to remove this functionality in the 3.0 release.

Same here. SQL Server 2008 is still in use for some databases in the company. Thanks for not removing it in 3.0. In our apps we implemented probing the SQL server version on startup and set the flag accordingly.

Same here. Our clients still has SQL server 2008. This would force us to go back to ef6

To make the $skip query option of OData to work fine with Microsoft SQL Server 2008 R2, we are using UseRowNumberForPaging

Please provide a way for us to add it in our code, we don't want to stuck in .net core 2.2

UseRowNumberForPaging  efcore 3.1 不能用了吗 震惊 蛋疼
Row-number paging is no longer supported. See https://ak.ms/AA6h122 for more information.
!!!
Please support because our customer database is 2008

@h0730303779 我们之前用的是netcore2.1，那个时候不能用，现在3版本升级3.0+了具体能不能用不知道啊，我们没升级，改用mysql了

@h0730303779 我们之前用的是netcore2.1，那个时候不能用，现在3版本升级3.0+了具体能不能用不知道啊，我们没升级，改用mysql了

不能我也切 mysql了 看见 隔壁issues 有个大佬要自己重写查询. 支持RowNumber分页 等待吧

UseRowNumberForPaging efcore 3.1 不能用了吗 震惊 蛋疼
Row-number paging is no longer supported. See https://ak.ms/AA6h122 for more information.
!!!
Please support because our customer database is 2008

Another Microsoft url 404's...

EF 3 Break change

We need UseRowNumberForPaging because Azure Synapse Analytics Server (Azure Data Warehouse) doesn't support OFFSET either. In order to use EF Core 3.1 with ASAS you have to to weird stuff to skip records in memory, especially if you're using OData.


Incorporate archivenow to push to more archives

archivenow is a python library that allows implementation of pushing archival requests to various upstream archives in a modular way. It already has implementation of four archives, but extendable to many more. Archiving web pages in just a single archive is not safe either because web archives die (many have died in the past) and big archives are easy target of governments to block them or take them down. For example, the Internet Archive is blocked in Russia and China, additionally, it has been blocked for a while in India in the past.
archivenow repo:
https://github.com/oduwsdl/archivenow
A blog post explaining archivenow:
http://ws-dl.blogspot.com/2017/02/2017-02-22-archive-now-archivenow.html

I'm familiar with these other archives (and have written wrappers on a couple of them myself). Great idea. I've even already modeled in some space for my database to grow to support this kind of thing. Any ideas on what the user interface would look like after it was integrated? Replace the third column of the HTML table with icons or shorter links to the mementos?

Any ideas on what the user interface would look like after it was integrated? Replace the third column of the HTML table with icons or shorter links to the mementos?

There are a few ways it can be dealt with. Having icons of the archives is one very good way, but I would not suggest link shortners as they add one more point of failure and increase the possibility of link rot. Another good approach would be to use an aggregator to point them to all the archived copies. If you use TimeTravel service for linking captures, you can do it without any service requests, all at the client side by putting the 14-digit datetime in the URI (the service will point to the closest copies when resolved).
Suppose I archive http://example.com now (at<PHONE_NUMBER>1613). I can construct a link to the closest available copy in any archive as http://timetravel.mementoweb.org/memento/20171107190513/http://example.com and a list of other nearby archival copies as http://timetravel.mementoweb.org/list/20171107190513/http://example.com. These links will be resolved lazily, so even if some archives are gone, these will point to the available ones only.
This latter approach is being used in the #ICanHazMemento Twitter bot.
/CC @phonedude @hvdsomp

@phonedude mentioned that Robust Links could be another way to enable lazy dereferencing.

This morning I added mirroring at webcitation.org on a going forward basis. I'm working on creating a task that loops back through the previously saved clips and mirrors them as well.

Are you planning to make that recurring archival period and frequency decision yourself or let the user choose while keeping some sensible defaults? Something like:
Revisit [every week] for [three months]

Whatever approach you choose, I would also suggest you to keep a trail of last N attempts. So that if a URI is continuously returning failure code, you can cool down on attempts to archive it.

I haven't thought this all the way through, but I'm thinking the archiving will be a one-time operation done at the time the link is submitted.
But as new archives are added, like today, I'm was thinking it would bea good to go back and mirror the ones already in my small database.

I totally agree with your assessment. If you have any idea for how to solve the situation, I'd appreciate your thoughts.

One way to solve these issues is to use something like the TimeTravel services (as described in an earlier comment) rather than listing all the archive icons and separately listing them. Alternatively, the second column's title can be changed to reflect more accurately what it represents (something like the time of the first attempt to capture). Additionally, all the icons can have a tooltip associated to reflect the exact Memento-Datetime they point to (note that these times might be off by a few seconds across various services, even if the request was made to all of them in parallel).

archive.is has been implemented for new clips. I'm slowly rolling back through the old ones to catch them up.