Exclude some platforms from a package.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
I need to use the android platform only from some package and exclude the other platforms.
that's because I only use this package for the Android platform only but for iOS I am using a different package.
but this package is including some libraries in ios which make conflict with some other packages.
that's why I need to completely exclude it from my project.
Proposal
Something like:
dependencies:
    package_name:
        ignore_ios: true

@Abdelazeem777  isn't tree shaken already?

Unfortunately not,
it still crashes in the build because of some conflicts with other pods

Unfortunately not, it still crashes in the build because of some conflicts with other pods

@Abdelazeem777
it may be an issue with the plugin
maybe it did not follow federated plugin development properly
can you provide an example?

@iapicca
the package name is  fawry_sdk
and I already checked the conditional import but I couldn't use it with conditions for android and ios

Is there any tag or attribute that I can use to remove the ios implementation manually from pubspec.yaml?


Upgrading proxy issue with adding a new variable

Hi @frangio, I'm getting the issue when upgrading the proxy by just adding a new state variable and reducing the size of the gap. ( I'm using the truffle upgrade plugin - 1.17.0)
New variables should be placed after all existing inherited variables
Upgraded __gap to an incompatible type
Bad storage gap resize from 46 to 45
Size decrease must match with corresponding variable inserts
Could you please help me with how to solve it?
// Old version
....
uint256[46] private __gap;
// New version
....
address public royaltyRegister;
uint256[45] private __gap;
I couldn't find a mistake based on this link.
Writing Upgradeable Contracts - OpenZeppelin Docs
I uploaded the old file and the new file here.
Archive.zip

Hi @frangio,    Could you check the above issue and update me?

Resolved in the forum. The problem was that gap resizing is not available in the Truffle plugin, only in the Hardhat plugin. I've opened issue https://github.com/OpenZeppelin/openzeppelin-upgrades/issues/709 to keep track of that.


Tagging OneDrive files

Description
Files that are tagged are getting un-tagged for OneDrive files that are updated by other users.
Steps To Reproduce

In a OneDrive folder, tag a specific file
Get this file updated by someone else and wait for OneDrive to re-sync
The tag on the file disappears

Requirements
Once a file is tagged it should remain tagged.
Files Version
<IP_ADDRESS>
Windows Version
10.0.19044.3930
Log File
debug.log

Thank you for the feedback.
If you have another cloud drive could you confirm this is not an issue with OneDrive specifically?

@earion68 can you check the following?

Enable showing alternate data streams from Settings > Folders > Expand hidden items
After tagging a file and refreshing the folder, is there an additional file ending in :files?
Do that file sync to other devices? (you might need to install Files on the other devices to check)

@yaira2
step 2: after file tagging, see below

step 3, after another colleague updated the file, the hidden file disappears (and is anyway not stored on OneDrive)

additionally, I wouldn't expect this :file to be synced to OneDrive, as my tags are mine only and my colleagues do not necessarily have the same

Thank you for the feedback.
If you have another cloud drive could you confirm this is not an issue with OneDrive specifically?

Sadly I am only using OneDrive

Tags use ADS (Alternative Data Streams) to be saved, so :file would added for them. I believe Office must be removing them during saving as It was also mentioned here https://github.com/files-community/Files/issues/10186.

I assume while syncing from remote to local then, because syncing from local to remote seems to keep the :file
Anyway, do you believe this can be fixed?

Microsoft would have to add an option to not remove them when saving in the Office suite.

Same happens with Word and PowerPoint documents. Did not try with other types.
Wouldn't it be possible to store the tags in a database instead?

Does that hidden file sync to other devices? (you might need to install Files on the other devices for this)

Does that hidden file sync to other devices? (you might need to install Files on the other devices for this)

doesn't look like it

To summarize:

with regular (non-OneDrive) folders, file tagging works well
with OneDrive folders, file tagging works well locally until a colleague updates a file and OneDrive re-syncs the file locally. I do have OneDrive folders that I am the only one to use, and never had any issue with tagging there.

Unfortunately, this is a limitation with using alternate data streams (see the bottom of docs). Using a database would help in theory but that could get confusing if the user moved the file externally (eg via File Explorer) and the tag disappeared.

Anyway, do you believe this can be fixed?

I don't know the chances, but it should be fixed if Microsoft adds ADS support to OneDrive. The other scenario is that Windows gets native support for tags, and we can rework the system in Files to take advantage of this.

Got it, thanks for the explanation.
Possible workaround I'm thinking about : could I store the list of files I want to tag somewhere and have a script regularly re-tag the files on my side?

We apologize for this limitation and hope a proper solution is found, but in the meantime your idea should work. Each tag has a guid that gets written to the alternate data stream (you can find the guids by exporting settings, or by manually copying them from the existing data stream files).
Here is an example script
# Specify the path to your target file
$filePath = "C:\Users\..."

# Content to write to the alternate data stream
$content = "79376daf-c44a-4fe4-aa3b-8b30baea453e,c84a8131-c4de-47d9-9440-26e859d14b3d,f7e0e137-2eb5-4fa4-a50d-ddd65df17c34"

# Create the alternate data stream
try {
    $streamName = ":files"
    Set-Content -Path "$filePath$streamName" -Value $content -NoNewline
    Write-Host "Alternate data stream created successfully in $filePath!"
} catch {
    Write-Host "Error creating alternate data stream: $_"
}

@earion68 did you try the script?

@yaira2 I tried the code, it works well, thanks!
Now I need to write a listener script that will browse the folder and maintain the list of tagged file somewhere, and re-tag the items on which it is missing. It will take me some time.

Thanks! Please consider sharing whatever solution you come up with so other can benefit from it as well.

I created a script to export all tagged items to a csv file
``ps1
Define the drive to iterate through
$drive = "C:"
Define the CSV file path
$csvFilePath = "C:\path\to\output.csv"
Function to read ADS content
function Get-ADSContent {
param (
[string]$filePath,
[string]$streamName
)
$adsPath = "$filePath$streamName"
try {
if (Get-Item -LiteralPath $adsPath -ErrorAction Stop) {
return Get-Content $adsPath -Raw
}
} catch {
return $null
}
}
Initialize the CSV file with headers
"FilePath,ADSContent" | Out-File -FilePath $csvFilePath -Encoding UTF8
Iterate through every file on the drive
Get-ChildItem -Path $drive -Recurse -File | ForEach-Object {
$filePath = $_.FullName
$adsContent = Get-ADSContent -filePath $filePath -streamName ":files"
if ($adsContent) {
$csvLine = "$filePath,""$(($adsContent -replace '"', '""'))"""
$csvLine | Out-File -FilePath $csvFilePath -Append -Encoding UTF8
}
}


IntelliJ displays parameterized tests in an awkward way and won't launch them properly

Maybe it can be fixed on IntelliJ side, I've filed https://youtrack.jetbrains.com/issue/IDEA-261001

Thanks. It may be the case of different runner implementations providing different test descriptions and IDEs trying to adopt to that.

Seems like the issue has been fixed on intellij side (thank you!).


Add new command terraform-upgrade

This PR adds make terraform-upgrade command to provide a way to upgrade Terraform Providers. The target command essentially run terraform init -upgrade to upgrade modules and plugins/providers.
This has been tested on one of the Cloudflare repo to upgrade Cloudflare provider from 3.4.0 to 3.5.0.

Thanks for the PR. FYI - you can achieve the same thing already by running:
rm .terraform.lock.hcl
make terraform-init

I just had a thought - a nice compromise might be to keep the terraform-upgrade Makefile target but just have that target do:
terraform-upgrade: $(PRE_TOOLBOX_HOOK)
	@$(call banner,$@)
	@rm .terraform.lock.hcl
	@$(call toolbox,toolbox -s "$(SKIP_INIT)" terraform init)

That way we avoid the duplicated code in the shell files but still get the extra Make target?

Since removing the local dependency lock file serves the purpose. I agree the upgrade command should not be needed anymore.


Sample Dataset for usage #2

Hi @Rudrabha ,
Amazing work.
I was working on generating video from image+audio and it would be very helpful if you could post a sample image and audio file. I've been getting different errors every time I'm using a random image.
Thanks!

Thank you very much for your interest.
Could you please some of the errors? If it is a mistake in the code, then we can fix it for everyone.

Hey, I did a setup of the same on local(mac) and it worked fine.
On remote (gpus) there was the following tensorflow error

The input size must be 96x96. Please ensure this.
If it doesn't get solved with this, please report the tensorflow and keras version you have.

The input size must be 96x96. Please ensure this.

Have updated the repo code as well to not receive img_size as a variable input parameter.

Oh okay, thanks for the help !

hey @prajwalkr , another thing.
For training the model could you please specify the dataset structure, would be helpfull for a lot of people, the way its mentioned here https://github.com/Hangz-nju-cuhk/Talking-Face-Generation-DAVS#preparing-training-data

Done.

Hi @Rudrabha finally completed the end to end setup and more importantly everything is working now.
Just a few nit bugs in preprocess.py. Pointing out so that future users don't have to spend extra time.
The split in line 116 & 118 should probably be args.split https://github.com/Rudrabha/LipGAN/blob/16ca935aa0689723fbf4bae9d85ce061b925c2cc/preprocess.py#L116-L118
Also, sr here, the sampling rate, is undefined again. Is there any specific value to be used ? (as of now I've set it to None, to preserve the native sampling rate of the file).
https://github.com/Rudrabha/LipGAN/blob/16ca935aa0689723fbf4bae9d85ce061b925c2cc/preprocess.py#L87
Will let you know if I come across any others. Thanks again for the work!

Please use sr=16000, I will correct these two in preprocess.py right away. Thank you very much.


Default parallelism too high

By default Messaging and Execution will create their own ForkJoinPool with parallelism set to 1000, meaning that on a 64bit JRE (default thread stack size is 1 meg?) the JVM may use up to 2G of heap.

I agree it might make sense to drop this default, and make it configurable as part of the stage.

My proposal is that we merge the two execution pools we have currently (Messaging, Execution) into one pool, with a default pool size of 128, and allow this to be overridden by the application where appropriate.

Sounds good to me. I'd be interested in hearing @DanielSperry 's thoughts on using a single fjp for messaging and execution.

I've made them separated because messaging unblocks execution.
So if all execution threads are blocked there would be no way (save timeout) to unblock them.
However that might be an overkill so.. what do you guys think?

I think I favor a single pool for clarity. In my mind, you essentially have a pool of threads that Orbit can use for whatever it needs.
It seems like 128 would be high enough for most applications, and allowing the application to tweak it if required seems like it would cover any cases where an application is both cpu intensive and high throughput.

Cool by me. That could be a stage property.

Great. I'll go ahead and make this change this afternoon.

This is done in
8f90177cabbbf184536ea9c27492fbc353306e9b
4937f009e0638d1536b17329e9110d52d6bf5764

hum... I dont looked at the code, but I guess separated pools would be a better thing from my experience. In a system where you have direct connection between message and execution, this is ok, but I guess we are atalking about async messaging too. A huge boost of messages could took all the slots available for task processing, making the server just freeze processing, and make the message buffer worse. I prefer to guarantee it will keep processing at a minimum rate.

In this sense, this could work like Seda, with minimum allocation and feedback from que queue sizes

My feeling is that the throughput would have to be so high before you'd get major contention between message processing and task execution that this wouldn't be a major concern. I'd be interested if there is a case where this is common though.

Again, not looked at the code, but I assume that a bug in only one async call making it to block could cause this (one async method not returning, messages being stacked, threads being blocked)

I don't think that would occur as the pool is set at 128, so all threads would need to be blocked by that faulty message. Messages also time out after 30 seconds.

Obviously if all your threads are consumed / locked something is wrong but I am starting to lean towards the idea that in some scenarios two pools would increase throughput of messages / actor calls. Consider that if the execution of messages slows down and the threads back up the only thing which is going to free up the pool is the timeout where as having a second pool would allow for immediate unlocking of slow responses. If I am not mistaken one faulty message may lock multiple threads if using thenCompose..

Given the concern around this, I've resplit these pools but have left in place the ability to define the pool sizes easily.
See 8729e562cdbcbb38e28c3601100452fed08a7abb


[otbn] Conflate correctable/uncorrectable ECC errors

We're treating both as a disaster, so there's no need to keep them
separate. Also qualify the alert signal with imem_rvalid or
dmem_rvalid - the error is only meaningful when the result is valid.

Looks like this PR failed CI once it got merged into master, and the location of the error indicates there might be a genuine bug somewhere.
https://dev.azure.com/lowrisc/opentitan/_build/results?buildId=27958&view=results
That's test output, the test runner is waiting for a PASS which doesn't come back, indicating something went wrong in the readback of the result, or the test just timed out.
2020-12-03T10:51:26.2234610Z DEBUG    root:utils.py:362 I00000 boot_rom.c:52] Version:    opentitan-snapshot-20191101-1-3352-g40cd9149
2020-12-03T10:51:26.2240791Z DEBUG    root:utils.py:362 Build Date: 2020-12-03, 10:36:18
2020-12-03T10:51:26.2245961Z DEBUG    root:utils.py:362
2020-12-03T10:51:26.2251161Z DEBUG    root:utils.py:362 I00001 boot_rom.c:61] Boot ROM initialisation has completed, jump into flash!
2020-12-03T10:51:26.2256927Z DEBUG    root:utils.py:362 I00000 dif_otbn_smoketest.c:258] Running OTBN DIF test
2020-12-03T10:51:26.2262584Z DEBUG    root:utils.py:362 I00001 dif_otbn_smoketest.c:266] Running barrett384 code on OTBN
2020-12-03T10:51:26.2268011Z DEBUG    root:utils.py:362 I00002 dif_otbn_smoketest.c:117] Loading OTBN instruction memory image stored between address 0x20001b14 and 0x20001c80 (364 bytes)
2020-12-03T10:51:26.2273856Z DEBUG    root:utils.py:362 I00003 dif_otbn_smoketest.c:135] No OTBN data memory image to load.
2020-12-03T10:51:26.2279185Z DEBUG    root:utils.py:362 I00004 dif_otbn_smoketest.c:224] Writing input arguments to DMEM
2020-12-03T10:51:26.2285479Z DEBUG    root:utils.py:362 I00005 dif_otbn_smoketest.c:238] Calling wrap_barrett384()
2020-12-03T10:51:26.2290863Z DEBUG    root:utils.py:362 I00006 dif_otbn_smoketest.c:149] Calling function at address 0x130 on OTBN.
2020-12-03T10:51:26.2297751Z DEBUG    root:utils.py:362 I00007 dif_otbn_smoketest.c:244] Function execution on OTBN took 114571 cycles (end-to-end).
2020-12-03T10:51:26.2303494Z DEBUG    root:utils.py:362 I00008 dif_otbn_smoketest.c:247] Reading back result (c)

I'm now looking at reproducing this locally.

The change was green in PR CI, and also passes locally, so it's probably the timeout. Increasing that at https://github.com/lowRISC/opentitan/pull/4393.


Read runtime configuration from files

This change looks fantastic! It would be awesome to provide the from_toml_path as a library method (maybe via a trait?) so that we can use it with other apps as well.


(SERVER-2550) Add functions to identify delta CRLs

This commit adds functions to determine whether a given CRL is a delta CRL or
not. We do not support delta CRLs (which contain only changes since the base CRL
was published, rather than the whole list of revoked certs), so this will allow
us to error cleanly if we encounter a delta CRL, particularly when consuming CRL
updates from an external CA.

Didn't seem like these bits were worth testing? but I can add something if y'all think it's warranted. I do plan to test that delta CRLs are rejected as part of the work for this overall feature.


Update changelog.md 0.10.0

Issue #, if available:
Description of changes:
Update changelog with commits since 0.9.0 release: https://github.com/aws-amplify/amplify-ios/compare/0.9.0...master
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

merging in - we are aware of the failing circleCI tests and this PR is unrelated to the failing tests


Sweden National Addresses

http://www.lantmateriet.se/sv/Kartor-och-geografisk-information/Geodatatjanster/Tjanster-enligt-Inspire1/#faq:Adress-Nedladdning-Inspire

I checked with Lantmäteriet a few years back to get the address data for my research. The price they quoted was on the order of 100 000 EUR for the whole country, maybe this changed.
Asked them a few weeks ago regarding their plans to open the data up and they said they have no funding to do so yet.
OA covers about 15% of population at the moment (of which only Stockholm is an official open data release, I think).

thanks a lot of $ - I know a lot of nations in the EU are opening their data under the INSPIRE initiative - surprised they don't have the AD Theme open for Sweden...

Confirmed that it's in the 100K Euro range, double that if you want to make data available to your customers

This is no longer the case! The full vector database of all buildings, roads, etc with addresses is now published under a CC attribution license: https://www.lantmateriet.se/sv/Kartor-och-geografisk-information/Kartor/oppna-data/anvandarvillkor/

thanks @boxed !!!!!!!!!!!

Heh, glad someone else is excited! I tried looking into what to do but I am pretty out of my waters here.  To get the data you register some account then access an FTP (not SFTP!) with the files. That's it from what I can tell. Note that you have to have a fairly weak password as their site rejects big complex ones with an incorrect error message :P

I am registered - let me try to log in and see if it is there

My understanding is that the sources that have been opened are basically the same as last year (though they will open historical orthophotos soon).
There are no addresses I was able to find - the maximum is the names of road segments in Vägkartan.
The addresses seem to be the most protected datasource. I have access to the complete cadastre and the detailed building dataset via the university I work at, but even that has no addresses :/
Would be awesome if i'm wrong though!

Costs $100,000 to get password for open data (from https://github.com/sergiyprotsiv Slack update)


React to consumer rebalance

Hi guys,
Is there any way I can react on a consumer rebalance (Kafka), if autoRebalanceEnabled is set to false? In Kafka client there is ConsumerRebalanceListener, but how can I listen on rebalance in SCS?
(And if I can, what is the simplest way to determine the partition count before and after the rebalance?)

Hi @janoskranczler ,
For tracking this better, please create Kafka binder related issues here: https://github.com/spring-cloud/spring-cloud-stream-binder-kafka
I will move this now.

This issue was moved to spring-cloud/spring-cloud-stream-binder-kafka#166


A few inconsistencies with the new naming

I believe the entire contents of torch.functional are misplaced.
CustomModule is a nested class inside torch.nn, but Sequential is directly in TorchSharp.Modules (personally prefer the second variant).

@lostmsu -- thanks! We've discussed #2 elsewhere, but #1 seems like something that needs investigation. I'll look into it today.

I guess n1 was not too detailed, but the problem is existence of both torch.functional and torch.nn.functional.

@lostmsu -- yup, that whole namespace shouldn't exist. It was created by sloppy placement of '}' characters in a number of files. PR #319 addresses it.

@lostmsu: I will address the CustomModule issue in an upcoming PR -- the class does not exist in Pytorch, as you have pointed out, and I will remove it.


Installation on shared server?

Is phpDoc installable on a shared server? If yes, which file has to be called to run the software?

It says this on the homepage of PhpDoc, but I can't get it to work:
To do a manual installation, follow these steps

    Locate the latest release on the releases page for phpDocumentor2 on GitHub
    Download the attached tarball (not the source code!)
    Extract the downloaded tarball into your destination directory.

After you have done the above can the executable be found at bin/phpdoc.php in the installation directory.

Hi @drewbaker and @alve89,
You can run phpDocumentor on a shared server but please bear in mind that it does not have a web interface and can only be ran from the command line.
So, once you have downloaded and unpacked phpDocumentor you will need to log in to your server using SSH (check with your shared host if you have SSH access):
$ ssh myserver.com

and then go to the folder where you installed phpDocumentor:
$ cd /my/folder/where/I/installed/phpDocumentor

and finally execute phpDocumentor like this:
$ ./bin/phpdoc -d /path/to/project/to/document -t /path/where/to/generate/docs

please note that the dollar signs ($) above are only meant to illustrate that these are command line commands and should not be typed.

If this still does not work, please post the output here so that I can see what might be going wrong

Alright, thank you for this information! Do you think it was possible to implement a simple web interface for generating documents?

Closing this issue due a large delay of responses. Feel free to open a new issue when applicable


As a developer of scientific software, I need a native Haskell implementation of the isamax function so that I can compute the index of the maximum absolute value element in a vector in a thread safe, type safe manner.

Documentation for the isamax function can be found at BLAS.

[x] create native implementation of function
[x] create haddock documentation of function
[x] create unit test to demonstrate byte equivalence to FORTRAN BLAS library function
[x] create benchmark(s) to quantify time performance relative to FORTRAN BLAS library function
[ ] demonstrate that native has a relative time performance of no more than 100x the FORTRAN blas function.

The isamax function uses consists of four special cases:

When either n or incx are less than one, the function returns -1 and no traversal of the vector is required. This special case should have time complexity O(1).
When n is exactly 1, the function returns the index of the first element of the vector. This special case should have time complexity (trivially) O(n).
When n is greater than one, and incx is equal to one the function computes the index of the maximum element using a worker/wapper strategy.  A single traversal of the vector is required, and we expect time complexity O(n).
When n is greater than one, and incx is greater than one, the function computes the index of the maximum element using a worker/wraper strategy.   Although this can be computed in a single traversal of the vector, and we expect a time complexity O(n), there are more arithmetic operations per element in the vector and we anticipate it to be slower than case #3 above.

The native Haskell faithfully implements the isamax algorithm without making any improvements for performance (e.g. elimination of multi-constructor datatypes, manual inlining, strictness annotations).

CASE 1 - N IS NOT GREATER THAN ONE OR INCX IS NOT GREATER THAN ONE
The figure below depicits the absolute and relative time performance for the isamax function when incx is zero:

As anticipated, the execution time for both the FORTRAN and native Haskell implementations appear to be independent of the vector length. Furthermore, the native Haskell implementation has about 1/10th the execution time of the FORTRAN implementation for all values tested; as I have remarked before, this is likely due to overhead in calling the FORTRAN code, rather than inherent efficiencies of the Haskell implemenation.

CASES 2 AND 3
The absolute and relative time performance for when N > 1 and INCX=1 are depicted in the figure below:

For small vectors (<500), the time performance of the native Haskell implementation is superior to the FORTRAN implementation, approaching a factor of 10 for vectors of length one. As the vectors get large, the time performance of the FORTRAN implementation is better ( approaching 25% as a limit).  This is still within the 100-fold requirement for this project milestone.

CASES 2 AND 4
The absolute and relative time performance for when N is not zero and incx>1 are depicted in the figure below:

For small vectors (<200), the time performance of the native Haskell implementation is superior to the FORTRAN implementation, approaching a factor of 10 for vectors of length one. As the vectors get large, the time performance of the FORTRAN implementation is better by a small margin (approaching 40%).  This is still within the 100-fold requirement for this project milestone.

Merged into master after completion of pull request #46


Serve 404 error on the initial blog state fixed

This commit fixes the bug, which led to 404 error when the serve command was
invoked before building a blog. The check for an output directory was added,
so now serve rebuilds blog if it hasn't been done before.
Fixed #33

Changes Unknown when pulling 8fe473f2e9c07001942a49ae5d2f3758d4cd8cf5 on serve-prebuild-fix into ** on master**.


⚠ ClamAV has degraded performance

In 5b6875f, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 76 ms

Resolved: ClamAV performance has improved in 7aa1a37.


Feature Request: Other scraper than IGDB

Can you add support for more scrapers on LanCommander other than IGDB?  I dont want mess around with twitch, also in playnite there is IGDB but you dont need to create accounts and whatnot in that you can freely scrape the games... Why this is not a feature in this without any registration and such? Can you add other platform support for it? Like Steam or similar like in playnite? I can scrape in playnite if i want i know, but i want to deploy the games with the media on lan to wont need playnite to go thru scraping automaticly...

I believe Playnite hosts their own IGDB dataset, and then the launcher accesses data through that. I didn't want to spin up a service for that. The only other option is to bundle an API key, which can get abused and is going to get rate limited.
MobyGames is another service that I've eyed, but have not done the actual work to start implementing. It would also require a registered account.
As a side note: the Playnite extension will be deprecated after v0.9.0. More information:
https://www.patreon.com/posts/v0-9-0-updates-109003781

As a side note: the Playnite extension will be deprecated

NICE!


Repo sync for protected CLA branch

The pull request is created from main638042546904502382sync_temp to main to fix git push error for protected CLA branch

Learn Build status updates of commit c6eb73b:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


[Flex Grid] Blockgrid does not work when nested in a *-unstack row>column

How can we reproduce this bug?

Make a grid column within a *-unstack row
Make a block grid in that column
Watch it not work

I expected it to work
The unstack class affects ALL descendant columns and overrides the blockgrid stylesissue.

Fixed via a93858b57e92807b4ebdf73740c46aca4c487f74
Also created a test case showing the corrected behavior.


⚠ WSINGRESOS - RECIBOPAGO has degraded performance

In 4f6fcdc, WSINGRESOS - RECIBOPAGO (https://srvshyweb.yucatan.gob.mx/cgi-bin/wspd_cgi.sh/WService=wsingresos/internet/servicios/wsRecibosPagosWeb.r) experienced degraded performance:

HTTP code: 200
Response time: 6186 ms

Resolved: WSINGRESOS - RECIBOPAGO performance has improved in 5d7c62d after 10 minutes.


Mixture of Agents for Ollama

The Mixture of Agents (MoA) is an innovative approach to leveraging the collective strengths of multiple language models to enhance overall performance and capabilities of one main model (aggregator). By combining outputs from various models, each potentially excelling in different aspects or domains, this approach has demonstrated significant improvements in model performance, even outperforming GPT-4o on certain benchmarks.

This proposal aims to bring similar capabilities to Ollama, allowing users to define and utilize multiple agent models within a single inference pipeline. It suggests extending Ollama's Modelfile vocabulary to support a MoA architecture.
The feature would enable users to:

Define multiple "reference" models, each potentially specialized for different tasks or domains.
Specify an "aggregator" model that synthesizes the outputs from these referenced models.
Create sophisticated inference pipelines that can adapt to various types of queries or tasks.

Expanding Ollama's capabilities with MoA would make Ollama more flexible and powerful, and offer enhanced model performance. This feature would significantly , especially beneficial in scenarios where diverse expertise or multimodal processing is required.
Proposed Syntax Extensions

REFERENCE: Define a reference model to be used as an agent. These directives must be placed before FROM, so it can be referenced in the system prompt of the aggregator model.
REFERENCE <model_name> AS <expert_alias>

All configurations following this statement until the next REFERENCE or FROM apply to this agent model.

FROM: Defines the aggregator model, equal to its current use in Modelfiles. Must come after any REFERENCE directive.

All configurations following this statement apply to the aggregator model.

SYSTEM: Defines the system prompt of the reference or aggregator model, equal to its current use in Modelfiles.

This proposal introduces template variables to system prompts (in MoA context) to access agent outputs:
Available template variables for SYSTEM:

{{ .Ref.<expert_alias> }}

Example Usage
# Define first reference model
REFERENCE qwen2.5 AS companion

PARAMETER temperature 0.3
PARAMETER num_predict 512

SYSTEM """
You are a companion AI expert. Provide friendly and supportive responses.
 Describe and analyze visual elements.
"""

# Aggregator model configuration
FROM llama3.1

PARAMETER temperature 0.5
PARAMETER num_ctx 4096

SYSTEM """
You have been provided with a set of responses from various agent LLMs to the latest user query. Your task is to synthesize these responses into a single, high-quality response. It is crucial to critically evaluate the information provided in these responses, recognizing that some of it may be biased or incorrect. Your response should not simply replicate the given answers but should offer a refined, accurate, and comprehensive reply to the instruction. Ensure your response is well-structured, coherent, and adheres to the highest standards of accuracy and reliability.

Responses from agents:

Companion:
{{ .Ref.companion }}

Sight:
{{ .Ref.sight }}
"""

Benefits

Enhanced Model Capabilities: Leverage strengths of multiple models for more comprehensive responses.
Flexibility: Easy configuration and deployment of complex model ensembles through declarative syntax.
Improved Context-Awareness: Utilize specialized models for different aspects of queries.
Familiar Syntax: Builds upon existing Modelfile conventions, making it intuitive for Ollama and Docker users.

Potential Use Cases

Multimodal Processing: Combine text and image/video/voice analysis for richer understanding.
Enhanced Question-Answering, Fact-Checking, and Research: Use specialized experts for different knowledge domains, aggregating information from multiple specialized sources.
Context-Aware Conversational Agents: Dynamically adapt responses based on conversational context, or use different experts for style, content, and personality aspects.

See also

Blog Post about Together MoA
Together MoA Documentation
Together MoA GitHub Repo

Why not just use of the many MoE/MoA frameworks (eg ollama_moe) and plug in ollama as an inference engine?

Implementing [the functionality described] is better suited for a Framework/Frontend implementation rather than
the ollama backend.
This is because these frameworks would then direct their requests to ollama as the backend, which would load the
corresponding models with the parameters as shown in the example, and then summarize the responses.
However, this doesn't fit into the ollama backend, because it would mean anchoring a new API with a multitude of
possible parameters within ollama, and then the frontends/frameworks would have to support this new API.
Therefore, this is better implemented in these frameworks  and not in the LLM backend.


add GetClientRect and GetShellWindow, mark functions as CharSet.Unicode

This patch adds GetClientRect and GetShellWindow. It also adds the CharSet.Unicode attribute to 7 other functions in User32 and changes two functions in Kernel32 from CharSet.Auto to CharSet.Unicode.

Thanks!


chore(copy): improve copy

What this PR does 📖

chore(copy): improve copy

i think the current copy is better, thanks for the PR, though


Consolidate program option handling and command line parsing

VAST currently relies exclusively on CAF's simple extract_opts functionality for command line parsing and option handling. We need a more powerful abstraction for handling program configuration that can be used across client and server side, that provides uniform access to help texts, and ideally also offers a simple configuration file (INI or YAML) to load/store a VAST node configured at runtime.

Is this related to the "treat arguments as command" we discussed for CASH recently?

Yes, this is closely related, and ideally CASH would address this issue entirely. Some examples, what bothers me at the moment.

I want a unified error interface when I send a message <"vast", "spawn", "--invalid-option"> and the spawn command does not support. If the command is malformed, I want a syntax error as response. If it fails, and error, and if it succeeds, I want an OK atom or whatever message the command returns.

I want the ability to generate a global help text. Right now, even I have to look in the source code to figure out what options each command supports. I also want that in a network-transparent way, so that any actor can inquire how to use a specific command.

I want a declarative way to describe my per-node topology. For example, to run a cluster, right now I have to do this:
 vast spawn archive <args>
 vast spawn index <args>
 vast spawn importer <args>
 vast connect importer archive
 vast connect importer archive
 ...

Each of this "topology-mutating" commands should be tracked, so that I can simply restart the node when it crashes and it re-applies the command sequence automatically. This requires a notion of configuration persistence. I could see a simple YAML config achieving that.


Fixes a bug where HttpContent headers failed to be added to the request in dotnet.

This PR closes #849
It ensures headers are all passed to the final HttpRequestMessage by first trying to set them to the HttpRequestMessage and setting them to the content header if this first operation is not allowed.
Tests have been added to reflect/validate this change.

Thanks @baywet. It does look much better.


feat harpoon integration

Hi, this is an integration for harpoon.
Sidenote, when creating a PR it says that new integrations need to be added to the readme. however that doesn't seem the case anymore.

You still need to add the configuration to the readme here: https://github.com/catppuccin/nvim#integrations
The vimdoc is auto-generated and shouldn't be manually edited

@opalmay Thanks for your contribution!


Showing strange colors on black screen without mirroring actual image

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: Arch linux
scrcpy version: 1.23
installation method: pacman
device model: Realme c3
Android version: 12.1 (Custom rom)

Describe the bug
When starting scrcpy, it shows black screen and strange colors on it.

It dosn't show any error in console
scrcpy 1.23 <https://github.com/Genymobile/scrcpy> /usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 63.4 MB/s (41123 bytes in 0.001s) [server] INFO: Device: realme realme Monet (Android 12) INFO: Renderer: opengl INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 22.1.3 INFO: Trilinear filtering enabled INFO: Initial texture: 720x1600

Probably an encoder bug. Try with a lower resolution (scrcpy -m800) or another encoder.

Probably an encoder bug. Try with a lower resolution (scrcpy -m800) or another encoder.

Thansk man. that worked like a charm. just changed the encoder. thanks a lot man


Sometimes there are a lot of GC Alloc in Awake

i found the way to sovle it, do not use mesh.normals in the loop.  mesh normals will make GC Alloc.

Thank you for your note, and later pull request. This performance bug has been fixed in the latest release. Thank you, again!


Fix a11y audit 0-6: focus order for the copy button on code example

Related issues

#2667 0-6
Description

Fix the focus order on code examples.
Could probably be done in a better way on Bootstrap directly using CSS only.

Motivation & Context

Read the related issue. The focus was on the copy button before the code.
Types of change

Bug fix (non-breaking which fixes an issue)

Live previews

https://deploy-preview-2699--boosted.netlify.app/
https://deploy-preview-2699--boosted.netlify.app/docsref

In https://deploy-preview-2699--boosted.netlify.app/docs/5.3/docsref/, only the first example is handled this way. It's not possible to modify the focus order for the other ones too?

I understand your point here, but the visual rendering is different between the examples and I think it could be hard to make the same focus order for each example you mention.

Changed the focus order for each example, tell me if you think it's not too weird to manipulate and in the code as well.


Add Kandy Lets-Plot Android (JVM) dependency instructions and example.

Why is this enhancement? Does this add a new feature? Based on the title, I would say that this refers to documentation


Add support for previous Python version still maintained (3.4, 3.5)?

Hi!
According to the Status of Python branches, end-of-life for Python 3.4 and 3.5 are respectively scheduled for March 2019 and September 2020.
What are your thoughts on basing notifiers supported versions on the Python agenda?
I'm asking because I remember at first you were wondering if you should support Python 2.7 or not. Although maintaining both Python2.7 / Python3.+ is certainly a headache that is not worth it, adding support for 3.4 "just" requires to drop the use of f-strings. But it also implies not being able to enjoy these neat features before several years.
The advantage is to extend and facilitate the use, adding for example a "native" compatibility with Ubuntu 16.04 which is delivered with Python 3.5.
I do not have a pronounced opinion on the question, but I would like to know whether or not to consider notifiers as being Python3.6+ only.

I can't say I'm inclined to support previous version at this point. When I started this project I wanted to gain some experience with the latest version of python (which was 3.6.0 at the time).
To my great delight, this project grew considerably since then, and it seems a lot of people use it.
So I'm open to making this change if there is a request for it. If 50 people upvote this issue, i'll implement this change.

Yeah, it probably doesn't worth the trouble if too few people are planning to use notifiers with Python versions which are (soon to be) 2 major releases behind.
Thanks for the answer. 😉

Yeah, I don't see this happening anymore. Sorry


Add commit tagging for images

There were the following issues with your Pull Request

Commit: f38d1ba2a6407ae80a5cd0c55c3ee458d3a52602
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com

Can one of the admins verify this patch?

[test]


Cogs spin but nothing happens

Hi there sorry for very noobish question, but just wanted to give markiki a spin, intentioned to use it in a project or even build upon it. But it doesn't show anything else than cogs spinning / loading?
I did follow the instructions and tested both with released 0.3.1 bin and building myself, also with lein ancient updated deps. Running on GNU/Linux and using mongoose to serve files locally. I do have some experience with my setup and did some double-checking can assume is somehow sane and reliable.
I haven't looked yet into debugging options to go in depth (suggestions welcome)
ciao!

Ciao @jaromil ! Thanks for giving markiki a spin.
Which version of java do you have installed?  Paste here the output of the java -version command.
Is there any error/warning printed on the js console? Please paste it here!
If only the loading cogs are shown it may be that an error happens while the app is loading.
Moreover, as you may have noticed the project is not been active for six months, as I didn't had the time to mantain it lately, so any help is definitely welcome!
I created this project because there wasn't any wiki that was satisfying my needs. I got to this point, then I found gollum, which is better than markiki but far from perfect, so I'll invest more time on this soon.
The initial idea was to take a bunch of files, put them in a json, and have a Single Page Application to navigate them, while keeping the backend alive and watching the files for changes. However, a smarter thing to do would be to just serve the articles with e.g. a REST API or a Websocket, avoiding the generation of files, which overcomplicates the thing a bit.
I was also thinking about adding a Git-Hook-friendly endpoint, to add some easy automation possible.
Any comments on this?
What's your usecase?

Using Java OpenJDK 1.7 (working in production with other similar Clojure software)
Good hint to look at JS console, indeed there is an error:
markiki.js:734 Uncaught SyntaxError: Unexpected string in JSON at position 9

at that line the code is:
h.hg=function(a,b){var c=function(a){return function(){return hx(a,lr,null)}}(this);return b.j?b.j(c):b.call(null,c)};h.fg=function(a,b){this.cb=sj.h(fk,gh);throw b;};var qx,rx=sj.h(fk,gh);qx=new px(hn,rx,gh);function sx(a){null==a?Uw(R(['re-frame: "dispatch" is ignoring a nil event.'],0)):gx(qx,a);return null}function tx(a){dx(a);return null};var ux,vx=Mi;ux=Xi?Xi(vx):Wi.call(null,vx);function wx(a,b){Gh(L.j?L.j(ux):L.call(null,ux),a)&&Tw(R(["re-frame: overwriting subscription-handler for: ",a],0));return aj.F(ux,T,a,b)}function xx(a){for(var b=[],c=arguments.length,d=0;;)if(d<c)b.push(arguments[d]),d+=1;else break;switch(b.length){case 1:return yx(arguments[0]);case 2:return zx(arguments[0],arguments[1]);default:throw Error([v("Invalid arity: "),v(b.length)].join(""));}}

Do not give up for gollum! markiki can be so much better especially if easy to customise and perhaps if brought to the next level with a good use-case. I try mine: after many different setups I'm writing now academic papers using a workflow comprising of pandoc and latex and bibtex and markdown (using Emacs as an editor) and is crazy good compared to all the rest. Something similar is described here: http://www.chriskrycho.com/2015/academic-markdown-and-citations.html
I would like to empower colleagues who are less tech-savvy to use a similar setup to share the papers, this would entail having a wiki to serve and edit the markdown files, which gollum doesn't but I suspect markiki could be easily customised to also edit on-disk. Also I'd like indeed to add a git backend and auomated rendering server-side. Annotations and markdown editors can be entirely client-side with javascript. This is more or less my dream application, good for writing research deliverables together, in a world where everyone tends to use google docs...

Thanks for the trace of the error! I'll look into it.
About your use case: I think the direction I was looking for it's pretty close (e.g. some friends suggested adding MathJax support to be able to use markiki for university notes); things I thought of adding already:

editing in the web interface (with autosave and sync a-lá GDocs)
git backend
once you have editing most likely user authentication (e.g. with Keybase, to avoid having a database) is necessary? (gollum has single user - not nice if there are many people)

Feel free to open issues for the points above, so that we could assign them to future milestones (in general I tend to add an issue for every task that should be done, so it's easy to keep track).
Gollum already has both edit in the web interface and on-disk, and a git backend, but lacks auth.

OK! happy wishes are resonating. I'll do my best, but only after July.
re: authentication have a look at https://github.com/d-cent/objective8
is a self-hosted an SSO written in Clojure

Also to the wishlist I'd rather add a bibtex editor, it may be simple and it will be veeery useful (there is nothing like that integrated in a wiki yet). Will break down these into issues and close this when you fix the bug (which is a blocker for me to go forward experimenting...)


Note window.@Neos.Neos.Ui:Nodes will be deprecated

with https://github.com/neos/neos-ui/pull/3770 we will improve the Neos Ui content element bootstrapping to not depend on those script tags anymore.
In theory this change should make the zebra even simpler but it would be great to see if the zebra still runs with these adjustments and even works if no script tags are emitted.

To test this change one can use the bugfix/remove-ui-script-tag-compiled-artifacts branch in composer:
"neos/neos-ui": "dev-bugfix/remove-ui-script-tag-compiled-artifacts as 8.3.8",

@mhsdesign Thanks for the hint! I'll take care to test that.

Fyi just updated the branch. I didnt look into it where you create the nasty <script tags, but for the content elements you can and should omit them ;)


Godot 3.0 default snake case - with classes that have 2D

Operating system or device - Godot version:
3.0 alpha
Issue description:
If you enable snake_case, and add for example "CollisionShape2D", it turns into "collision_shape2_d".
What is expected is "collision_shape_2d".
Steps to reproduce:

Turn on snake_case
Add CollisionShape2D.

Same effect after added Node2D as "node2_d" and others.

Suddenly it's a bug, but when i mentioned it when testing the snakecase implementation, everybody said 'good enuff' :D


Add emacs-markdownfmt plugin

Signed-off-by: Nicolas Lamirault<EMAIL_ADDRESS>

Hey, thanks a lot! It's failing CI because it's not formatted with markdownfmt itself.
I can fix that and merge.


unciv: 4.2.6 -> 4.2.8

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/yairm210/Unciv/releases.
meta.description for unciv is: "An open-source Android/Desktop remake of Civ V"
meta.homepage for unciv is: "https://github.com/yairm210/Unciv"
meta.changelog for unciv is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.2.7 in filename of file in /nix/store/4jbyg10drj77mrlar39hqbwl08ia4gin-unciv-4.2.7

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
unciv

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4jbyg10drj77mrlar39hqbwl08ia4gin-unciv-4.2.7 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A unciv https://github.com/r-ryantm/nixpkgs/archive/9fdf3a1d64ccf7c6ff3afa087929b46e032f14c7.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4jbyg10drj77mrlar39hqbwl08ia4gin-unciv-4.2.7
ls -la /nix/store/4jbyg10drj77mrlar39hqbwl08ia4gin-unciv-4.2.7/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

unciv

Maintainer pings
cc @tex for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/yairm210/Unciv/releases.
meta.description for unciv is: "An open-source Android/Desktop remake of Civ V"
meta.homepage for unciv is: "https://github.com/yairm210/Unciv"
meta.changelog for unciv is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.2.8 in filename of file in /nix/store/l1ccp2lhw9x90nhndkha16iv7cfq5fhr-unciv-4.2.8

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
unciv

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/l1ccp2lhw9x90nhndkha16iv7cfq5fhr-unciv-4.2.8 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A unciv https://github.com/r-ryantm/nixpkgs/archive/41cad022caa8facb804e0a03789f222efd6e5ec8.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/l1ccp2lhw9x90nhndkha16iv7cfq5fhr-unciv-4.2.8
ls -la /nix/store/l1ccp2lhw9x90nhndkha16iv7cfq5fhr-unciv-4.2.8/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

unciv

Maintainer pings
cc @tex for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/yairm210/Unciv/releases.
meta.description for unciv is: "An open-source Android/Desktop remake of Civ V"
meta.homepage for unciv is: "https://github.com/yairm210/Unciv"
meta.changelog for unciv is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.2.9 in filename of file in /nix/store/m20mp84ynavs6a47x0qwwnbx92l6663i-unciv-4.2.9

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
unciv

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/m20mp84ynavs6a47x0qwwnbx92l6663i-unciv-4.2.9 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A unciv https://github.com/r-ryantm/nixpkgs/archive/3506992c5ba7cb1a3ca287305082a5293aec343b.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/m20mp84ynavs6a47x0qwwnbx92l6663i-unciv-4.2.9
ls -la /nix/store/m20mp84ynavs6a47x0qwwnbx92l6663i-unciv-4.2.9/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

unciv

Maintainer pings
cc @tex for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/yairm210/Unciv/releases.
meta.description for unciv is: "An open-source Android/Desktop remake of Civ V"
meta.homepage for unciv is: "https://github.com/yairm210/Unciv"
meta.changelog for unciv is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.2.10 in filename of file in /nix/store/3g92kq2f0f38k8ajz25pdzjg18riwpjz-unciv-4.2.10

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
unciv

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3g92kq2f0f38k8ajz25pdzjg18riwpjz-unciv-4.2.10 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A unciv https://github.com/r-ryantm/nixpkgs/archive/83c56f49c7cb14788f58204600423cd1c2b0d51c.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3g92kq2f0f38k8ajz25pdzjg18riwpjz-unciv-4.2.10
ls -la /nix/store/3g92kq2f0f38k8ajz25pdzjg18riwpjz-unciv-4.2.10/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

unciv

Maintainer pings
cc @tex for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/yairm210/Unciv/releases.
meta.description for unciv is: "An open-source Android/Desktop remake of Civ V"
meta.homepage for unciv is: "https://github.com/yairm210/Unciv"
meta.changelog for unciv is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.2.11 in filename of file in /nix/store/sa7khc410a8bj7q9ip70yi622r84jl01-unciv-4.2.11

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
unciv

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/sa7khc410a8bj7q9ip70yi622r84jl01-unciv-4.2.11 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A unciv https://github.com/r-ryantm/nixpkgs/archive/9460046dbfc26c869670691a0a376ddfd1e4986e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/sa7khc410a8bj7q9ip70yi622r84jl01-unciv-4.2.11
ls -la /nix/store/sa7khc410a8bj7q9ip70yi622r84jl01-unciv-4.2.11/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

unciv

Maintainer pings
cc @tex for testing.

Tested and is playable.


Handle cases when the branch not contains sc or gh story ids for git commit msg hook

Why
There are branches that do not have the sc- or gh-. They can be branch names that don't have any story ID (like, a branch to fix a very small README.md typo), or that they follow other conventions.
The current code is:
if [[ $BRANCH_NAME =~ ^sc-([0-9]+) ]]; then
  PREFIX="[${BASH_REMATCH[0]}]"
else
  # Extract only the digits after 'gh-' using parameter expansion
  PREFIX="[#${BRANCH_NAME##gh-}]"
fi

For these unexpected cases, they will fall into the else case which handles the branches that have gh-, which will be prefixed with [#]:

I suggest ignoring these cases(not adding any prefix), instead of letting them fall into the gh case:
if [[ $BRANCH_NAME =~ ^sc-([0-9]+) ]]; then
  PREFIX="[${BASH_REMATCH[0]}]"
elif [[ $BRANCH_NAME =~ ^gh-([0-9]+) ]]; then
  # Extract only the digits after 'gh-' using parameter expansion
  PREFIX="[#${BRANCH_NAME##gh-}]"
else
  # No sc- or gh- prefix, do nothing
  exit 0
fi

Who Benefits?
Any developers who use the commit-msg hook in this repo

cc @malparty 🙇

No need to cc me. Just submit a PR xD
More seriously, at the moment I don't really mind the [#] in commits because if the branch does not have a story, it's usually not an important one ^^ But that's just my opinion. Other people needs and contributions are of course welcome 🚀

I see. Yes, it makes sense. Seems like it's trivial hehe. Then I will visit this later!
Thank you!


Please add the idler bearing to BOM

Your test leg video mentions 6mm ID bearings for the idlers, that are not in the BOM. Please add.

done, thanks


[Bug]: FRONTMATTER Option

What happened?
When I added one or more tags for frontmatter properties, the stubs will add as front matter. When the stub contains words operated by blank, every wird will be added as tag in the frontmatter. Regardless if I add tags by the -t option or in the .env file.
Version check

[X] Yes I was.

Relevant log output
No response
Relevant screenshots (optional)
No response

Ok , saw this is not a bug but a feature. Never the less this behavior ist not as expected for me as a user. Also you didn‘t call it filename, it’s for me from my naive user understanding exactly that, I see no need to have them file name as tag in my frontmatter. When I define something as something I expect only see this and not other things. Sorry for my bad English I’m not a native speaker.


Figma Toolkit  for MRTK3

Is there a preview package we can play with? If so, how to import figma file?


Also update mix.lock for new esqlite and sqlitex versions.

Coverage remained the same at 84.101% when pulling f7bbbdf85e862acb48521816f1a3f1c46ed67d78 on update-mix-lock into 473ba908dbeb62cd589eb3f4455fe7041e8cb4f4 on master.


Ensure dependancy alerts are visible to the team

User Need
As a Operations Engineering Team
I want alerts about dependancies
so that we are aware when an issue arises so that we can access the situation and take appropriate action
Value
We do not miss important information about vulnerabilities.
Functional Requirements:

Alerting mechanism is in place (#operations-engieering-alerts)

Non-Functional Requirements:

Minimise email notifications, or at least should be configurable to reduce noise.
Alert message easy to understand so that action can be taken.

Acceptance Criteria:

We are confident that we have an alerting mechanism in place that will make the team aware of dependancy alerts

Notes:

Not going to action.


Facilitate quicker off-line development on balena images

For helium miner software components like hm-diag, development and testing the code on the balena machines is a slow process. Currently the flow is something like:

Changing code
Committing to github
then updating HMS/docker-compose.ini to point to the commit
building balena image and pushing it to fleet

This means every small change entails a waiting period of upto 10 minutes before being able to see the results on test devices. And if Balena is down then we're stuck too. This really is a productivity killer.
Instead we need to develop a way to directly push code to local test device via ssh or something similar. I was able to get local ssh working (without the balena image for local development) so that can be used as a base to quickly update stuff.
Ideally something like a remote mount of the code base plus facility to restart the effected container should work nicely. This should make development much faster on all the helium-miner-software components.
Code changes made to the container can be preserved via docker commit (or balena-engine commit in our case) and then we can stop the existing container and start the new container containing the changes.
This way devs can change code, push it locally to the device and restart the container (hopefully taking less than a minute) and don't have to worry about Balena being down or waiting for images to be built and then pushed to devices.

balena have a local mode, not sure if that will be helpful here - https://www.balena.io/docs/learn/develop/local-mode/

Yes but our miner balena images are not built with local mode support. Plus I was told that local mode deployment is quite slow as it builds and pushes the images locally. Also looking at the "Local mode caveats" section of the provided link it looks like it's quite a departure from what we use for production. No logs, can't set env vars from the cloud etc.
The current image itself is fine as any dev work would require to update the latest working image. I've seen bash scripts that gzip code and transfer it to and from dev machine to balena machine host os or a specific container. For host os we can just use plain scp too but updating files inside a container is another issue.
Overall this definitely looks do-able. Just might not be top priority right now. Though it should definitely boost productivity.


[FLINK-26873] Align the helm chart version with the flink operator

cc @mbalassi @Aitozi

LGTM +1


HTTP parameter support?

Is it possible to fetch from an HTTPStore a path that has query parameters appended to the URL? I need to pass an authentication key as &api_key=1234 and best I can tell it's getting stripped as the target server is giving me a 401 error saying no authentication was found.

It's not clear to me that this is currently implemented in the Rust object_store library.
I asked in Discord and I'll let you know.

It is possible, however, to set default headers for each request. So this could work with server that understands those for auth (ability to set default headers is being added in https://github.com/developmentseed/obstore/pull/81)

Thanks for checking. We also have to send other parameters too but auth gets to be the first thing to notice something missing.


⚠ Fortnite has degraded performance

In 356cd98, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1449 ms

Resolved: Fortnite performance has improved in 3bf3ef5.


fix: equirectangular skybox

Why?:
This reduces the skybox GPU draw calls from 6 to 1, and this translates in increased rendering performance.
What:
The skybox is now rendered using a single equirectangular texture instead of sampling the 6 faces of a cubemap.

Merge pending until we fix art issues (skybox doesn't match exactly the one in prod)

Going to re-implement this change with our new cubemap based skybox shader. Closing it...


Causing web resources to throw an exception when resources are not fo…

…und as per jtwig/jtwig#317

Coverage increased (+0.04%) to 97.59% when pulling 37247baaa22d572b2ba3461cbd503748a7dfe75b on lyncodev:master into 14e588111f148a2f8b41336bc15f6633674fe99c on jtwig:master.


Erica Brody Variable Exercises

Program to say hello to inputed name
Program to compute pay from hours worked and rate input by user
Program to compute Fahrenheit temperature from Celsius temperature input by user

Glad that you got it!  Did you try to take breaks while problem solving?  Something to keep in mind next time you feel that feeling.  You know, that one. :)
:fuelpump:


JS error when creating a backup

After clicking a button to generate a backup, I would expect the modal to close and the job to be queued.
However, what's happening is the modal stays open and nothing happens. Job doesn't get queued and the modal does not close.
Fresh install of spatie-backup and filament-spatie-backup, with default configs. Running the spatie backup command manually in the console works correctly.

@realslimsutton It will better if you post the response.

@realslimsutton It will better if you post the response.

I'm not quite sure what you mean. How would I find the response?

@realslimsutton It will better if you post the response.

I've attached the response below. I see there's another issue that's currently open that mentions this exception so I'll have a look there.
response.txt
Thanks!

For now you can check this issue.
https://github.com/shuvroroy/filament-spatie-laravel-backup/issues/20


CDN in a Box: aarch64 support

This PR fixes #7238 by making CDN in a Box work on M1 Pro Macs without modification.

Which Traffic Control components are affected by this PR?

CDN in a Box

What is the best way to verify this PR?

On an M1 Mac, try to build CDN in a Box, specifically the enroller and trafficops services
Check the status of the CDN-in-a-Box CI GHA workflow to verify that it still works for x86_64

If this is a bugfix, which Traffic Control versions contained the bug?

master

PR submission checklist

[x] This PR has tests
[x] This PR has documentation
[ ] This PR has a CHANGELOG.md entry
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Trying this out on a clean TC repo on M1


fix(eagleye): split fix2pose

Description
MUST BE MERGED WITH https://github.com/MapIV/eagleye/pull/312

Tests performed

See https://github.com/MapIV/eagleye/pull/312
Effects on system behavior

No effect expected
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@KYabuuchi Thank you! Done https://github.com/autowarefoundation/autoware.universe/pull/5506/commits/1426d872a86381d741e9af53bcc06698023fe0b8


Update element-virtualization-filesystemwritevirtualization.md

Fixed description.

Learn Build status updates of commit 4014319:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

winrt-related-src/schemas/appxpackage/uapmanifestschema/element-virtualization-filesystemwritevirtualization.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

#sign-off


Add recent Node.js versions to Travis settings

Thank you for your pull request, I've updated updated the CI with the latest node versions.


Create apollo_3_0_quick_start_ko.md

Translate apollo_3_0_quick_start.md in Korean

@take97531 Your contribution to Apollo is highly appreciated. Please create a new folder in docs and put all your korean translations of documents there. I am closing all your existing pull requests. Please create a new one after you make the changes. Thanks!


[dev_compiler] Add null safety flag to ddc module debug metadata

The debugger needs to know what null safety options to run the ExpressionCompilerWorker with, but it does not have this information. This is a global setting that passed to the compiler on each module compilation. Adding this information to the debug metadata lets the debugger verify that all modules were compiled with same flag and also pass it to the expression compilation worker.
A question to resolve - is it possible to pass the null-safety to the worker after it starts? The debugger only reads metadata after loading the initial page, when the worker has already started and loaded the SDK.

this is already resolved.

this is already resolved.


Prisma fails on Postgres query with findMany

I have the following query in Prisma that basically returns all users where campaign id is one from the array I provide and they are added to the system within the defined time range. Also I have another entity Click for each user that should be included in the response.
  const users = await this.prisma.user.findMany({
    where: {
      campaign: {
        in: [
          ...campaigns.map((campaign) => campaign.id),
          ...campaigns.map((campaign) => campaign.name),
        ],
      },
      createdAt: {
        gte: dateRange.since,
        lt: dateRange.until,
      },
    },
    include: {
      clicks: true,
    },
  });

The problem is this query runs fine in localhost where I don't have much data, but in the production database there are nearly 500.000 users and 250.000 clicks in total, so I am not sure if that is the root case but the query fails with the following exception:
Error:
Invalid `this.prisma.user.findMany()` invocation in
/usr/src/app/dist/xyx/xyx.service.js:135:58

  132 }
  133 async getUsers(campaigns, dateRange) {
  134     try {
→ 135         const users = await this.prisma.user.findMany(
  Can't reach database server at `xyz`:`25060`

Please make sure your database server is running at `xyz`:`25060`.

Prisma error code is P1001.\
It is strange that if the dateRange is exactly 1 day it is working, it fails in case when the date range difference is > 1 day.
xyz replaced for obvious reasons in the paths and connection string to the DB.

@KristijanS99 Hi,
Can I know which database you are running on the backend? I had a similar issue where I was using Prisma in conjunction with psql. Turns out it was the limitation of psql which prevented the query of "findMany" with anything more than ~32000 params.

@KristijanS99 Hi, Can I know which database you are running on the backend? I had a similar issue where I was using Prisma in conjunction with psql. Turns out it was the limitation of psql which prevented the query of "findMany" with anything more than ~32000 params.

I am running Postgres, definitely it is more than 32.000 records to be returned in my case.

@KristijanS99 Hi, Can I know which database you are running on the backend? I had a similar issue where I was using Prisma in conjunction with psql. Turns out it was the limitation of psql which prevented the query of "findMany" with anything more than ~32000 params.

I am running Postgres, definitely it is more than 32.000 records to be returned in my case.

I was also using it for more that 32k records but I found through brute testing that it worked below 32k. Can you test for the same?

https://github.com/prisma/prisma/issues/8832

Potentially related: https://github.com/prisma/prisma/issues/11950

Possibly related: https://github.com/prisma/prisma/issues/8878

Closing this in favour of https://github.com/prisma/prisma/issues/8832, please see this comment.


 Final commit takes it out of the umbrella package since the implementation isn't complete.
FYI @daspecster this will have implications on open PRs.

Rebased after #2432. Had a Green build but I can't merge this because after it's over, the google/ and unit_tests/ directories are empty, which makes the umbrella tox -e py${VERSION}$ tests fail.


remove success console log

Please ensure your pull request adheres to the following guidelines:

[x ] make sure to link the related issues in this description
[x ] when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes

Related Issues
https://github.com/adobe/helix-sidekick-extension/issues/345
Thanks for contributing!

:tada: This PR is included in version 6.15.1 :tada:
The release is available on:

GitHub release
v6.15.1

Your semantic-release bot :package::rocket:


How do we add discounts to an invoice?

Great package, but I was unable to find a method to add a discount. This is more of an enhancement I think, but a feature that may be necessary.
Also, just like Tax, would be great to know how to add a discount before tax and after tax.

Hi @smoizs ,
Good point about the discount. It's described in the blog article, but somehow I forgot to mention it in the docs:

You can handle discounts by adding a line with a negative amount, or describe it in the line description field (“product x incl 30% discount”) and subtract the discount manually.

I am able to handle all my discounting needs with this solution.


JWT authentication error:Forbidden

I am using RNFS with PDFView to display PDF. I am trying to download a pdf file from website which have JWT authentication, request is going but there is authentication issue, it is giving 403 response. I am doing it as follows,
      var pdfPath=this.pdfPath;
    alert(pdfDownloadURL)
    var DownloadFileOptions={
         fromUrl: pdfDownloadURL,          // URL to download file from
          toFile: pdfPath,           // Local filesystem path to save the file to

          headers: {'Authorization' : DEMO_TOKEN}    // An object of headers to be passed to the server

   }
   RNFS.downloadFile(DownloadFileOptions).then(res => {
        alert(res)
        this.setState({isPdfDownload: true});
    }).catch(err => {
        alert(err);
        this.props.navigator.pop
    });`

Please help me finding solution. thanks in advance.

@johanneslumpe  please go through it.

@gauravbhusare have you checked which headers are transmitted to your server? Is the issue that no headers arrive or is it something else?

no header is getting transmitted to my server. I printed req. header then it is showing
{"user-agent":"Dalvik/2.1.0 (Linux; U; Android 6.0; Android SDK built for x86 Build/MASTER)","host":"<IP_ADDRESS>:8000","connection":"Keep-Alive","accept-encoding" :"gzip"}

@gauravbhusare Looks like you're using an older version of the lib. I know this because downloadFile now returns an object rather than the promise directly. Try updating the lib and remember to add .promise.then instead of .then due to the breaking changes in V2.

@cjdell hey thanks headers are getting passed now but while displaying the file it is showing that no such file or directory, open 'data/user/0/com.example/files/test.pdf'. My code is now as follows.
RNFS.downloadFile(DownloadFileOptions).promise.then(res => {

        this.setState({isPdfDownload: true});

    }).catch(err => {
        alert("Error is:-"+err);
        this.props.navigator.pop
    });

the same code was showing file before using .promise.then and before upgrading version. I am using version  2.0.1-rc.2

now it is transmitting headers but it is not getting authenticated. now my req.header looks as follows
{"authorization":"value","user-agent":"Dalvik/2.1.0 (Linux; U; Android 6.0; Android SDK built for x86 Build/MASTER)","host":"<IP_ADDRESS>:8000","connection":
"Keep-Alive","accept-encoding":"gzip"}

@johanneslumpe @cjdell Will you please tell me how to send user with req object? With fetch method it automatically sent to server but with RNFS there is no user object in request.

@gauravbhusare If the headers are sent as expected, why are you assuming that it's an issue with the library? What do you mean by "user" object? What kind of user would fetch send automatically?

My problem get solved. Actually I need to change the code at backend. Thanks for help..


Laplace Project Server Instance

[+] base server instance for laplace project

after a lot of debugging, the laplace instances provisioning are finally working :shipit:

but theres some area to improve such as the qemu-agent that's now isnt provisioned, cant use execute the task in parallel and others.


Expose local user's exports in SLURM configuration file

Close #605

The new docs would read as reported below. @jluethi does this sound like a reasonable solution?

Exporing environment variables
In a typical use case, the tasks are Python scripts that are executed by a certain user A, but with a Python interpreter that belongs to the user B (that is, the fractal-server admin). For this reason, it may be needed to explicitly set some environment variables needed by external libraries, so that they are writable by user A.
The fractal-server admin can set some defaults for variables that must be exported. By including a block like
{
  ...
  "user_local_exports": {
    "var1": "path1",
    "var2": "path2.json"
  }

to the SLURM configuration file, the SLURM submission script will include the lines
...
export var1=/this/is/the/cache/dir/of/user/A/path1
export var2=/this/is/the/cache/dir/of/user/A/path2.json
...

Exporing environment variables

Should be Exporting, right?
I like the approach. We should make it more explicit that each variable gets the cache_dir prepended, thus this can only be used to export cache paths, not arbitrary environment variables.
And that the paths are relative to the cache directory.

Thanks. Fixed it as below, I think this is now ready.

Exporting environment variables
The fractal-server admin may need to set some global variables that need to be included in all SLURM submission scripts; this can be achieved via the extra_lines field in the SLURM configuration file, for instance as in
{
  "default_slurm_config": {
    "partition": "main",
    "extra_lines": [
      "export SOMEVARIABLE=123",
      "export ANOTHERVARIABLE=ABC"
    ]
  }
}

There exists another use case where the value of a variable depends on the user who runs a certain task. A relevant example is that user A (who will run the task via SLURM) needs to define the cache-directory paths for some libraries
they use (and those must be paths where user A can write).  This use case is also supported in the specs of fractal-server SLURM configuration file: If this file includes a block like
{
  ...
  "user_local_exports": {
    "LIBRARY_1_CACHE_DIR": "somewhere/library_1",
    "LIBRARY_2_FILE": "somewhere/else/library_2.json"
  }
}

then the SLURM submission script will include the lines
...
export LIBRARY_1_CACHE_DIR=/my/cache/somewhere/library_1
export LIBRARY_2_FILE=/my/cache/somewhere/else/library_2.json
...

Note that all paths in the values of user_local_exports are interpreted as relative to a base directory which is user-specific (for instance /my/cache/, in the example above), and which is defined in the User.cache_dir attribute. Also note that in this case fractal-server only compiles the configuration options into lines of the SLURM submission script, without performing any check on the validity of the given paths.

Looks great, thanks for writing this extended version @tcompa !


Refactoring transactions and transaction to getTxHistory and getTxData

:tada: This PR is included in version 1.1.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


Making the directive minification-safe.

The directive was failing to build when minified.

Oh man, I haven't thought about this thing in years. I hope it is working out for you. Thanks for catching that. I used this directive in a little self-project that I never actually minified, so I never noticed the issue you are fixing.

No problem:) Thanks for the directive, was just what I was looking for. Could you also update your version in the bower.json file and tag your repo so I can get the latest change through bower:)

I forgot to do it and easier than me making another pull request:)


[analysis_server] Shouldn't include dev dependencies in suggestions within /bin

The analysis server includes dev dependencies in completion suggestions within the /bin directory, but correctly does not within /lib. It should not include them for /bin either.
Tested on 3.2.5 and current main: https://github.com/dart-lang/sdk/commit/cb16f98c0a4d24b3eeb3f31cd332d582f0b9d070
Reproduced with IJ and VSCode.

Oooh love it. Or anywhere outside lib/.

Ah I see. Yes, they should not be suggested for files in bin/. Your original description is accurate.


Go fails to compile as compiler is not launched in proper directory

I have a simple hello world program. When attempting to debug, I receive the error:
DAP server listening at: <IP_ADDRESS>:34191
Build Error: go build -o /home/jeremy/projects/hello_world/__debug_bin -gcflags all=-N -l /home/jeremy/projects/hello_world/cmd/tools/hello_world
go: go.mod file not found in current directory or any parent directory; see 'go help modules' (exit status 1)
Failed to launch: Build error: Check the debug console for details.
Debugging ended

go.mod does exist in /home/jeremy/projects/hello_world. When I go to that directory in my terminal and run the "go build" command above, a binary is built successfully.
[~/projects/hello_world]
jeremy-> go build -o /home/jeremy/projects/hello_world/__debug_bin -gcflags "all=-N -l" /home/jeremy/projects/hello_world/cmd/tools/hello_world

[~/projects/hello_world]
jeremy-> ls -lah __debug_bin
-rwxr-xr-x 1 jeremy jeremy 1.8M Sep 15 07:39 __debug_bin

My sublime-project is
{
	"folders": [
		{
			"path": ".",
		}
	],
	"debugger_configurations": [
		{
			"name": "Debug Hello World",
			"type": "go",
			"request": "launch",
			"output": "${project_path}/__debug_bin",
			"program": "${project_path}/cmd/tools/hello_world",
			"cwd": "${project_path}"
		},
	],
}

Same problem here.

Try setting dlvCwd listed here https://pkg.go.dev/github.com/go-delve/delve/service/dap#LaunchConfig
// DlvCwd is the new working directory for Delve server.
// If specified, the server will change its working
// directory to the specified directory using os.Chdir.
// Any other launch attributes with relative paths interpreted
// using Delve's working directory will use this new directory.
// When Delve needs to build the program (in debug/test modes),
// it will run the go command from this directory as well.
//
// If a relative path is provided as DlvCwd, it will be
// interpreted as a path relative to Delve's current working
// directory.
DlvCwd string `json:"dlvCwd,omitempty"`

That worked, thank you!

Thank you for that! It works!


[FEATURE] Cache astrometry.net index files

Is your feature request related to a problem? Please describe.
Astrometry.net spends a lot of time searching for THE right index file.
Describe the solution you'd like
Ideally, we would want to cache the index file that solves a given field and reuse this information.

does this really work? I wonder about possible edge cases, where a different index file is needed due to e.g dithering.


Absolute URL doesn't work with every case

When calling an url for example http://example.com/contact.html with links with href value being legal.html. The returned link is http://example.com/contact.html/legal.html.
I think it would be better to use a library like http://medialize.github.io/URI.js instead of doing such a complex stuff.

Another issue: when calling an http which is redirect to https, the absolute url ouputs a http url. A https url would be better.

yah, so we'll need the response url after redirects from superagent. I don't think a library is really that helpful because we'll still need to provide it with the appropriate information on what the response url is.


Why rethrow uncaught exceptions as UncaughtException

Why would Klein catch any uncaught exception and rethrow it as Klein\Exceptions\UnhandledException? Maybe I still want to catch that later!
I'm trying to do something like this (simplified):
try {
    // ...
    $klein->dispatch();
} catch (SomeException $e) {
    // handle exception
}

The problem is that any exception that is thrown inside dispatch() seems to be rethrown by Klein as UnhandledException.
So I was wondering why would a router class even do that kind of stuff in the first place (i.e., care about uncaught exceptions) and if there is a good reason maybe (I know PHP is kind of a mess with error/exception handling).
Now my workaround code looks like this:
try {
    // ...
    try {
        $klein->dispatch();
    } catch (UnhandledException $e) {
        // rethrow
        throw new SomeException($e->getMessage());
    }
} catch (SomeException $e) {
    // handle exception
}

Is there a way to disable this behavior or maybe a (better) workaround for this problem, and if there is none, then why does Klein have to do this?

This is related to #298, and I agree that I don't see a reason to catch uncaught exceptions at that level (that's what set_exception_handler is for).

I agree with this matter. It's messing up my current exception handler. I don't think it's the task of the router to handle those Exceptions.

@Rican7 I'm hitting this too, I WANT to propagate exceptions all the way up. What about a way to disable this?

I also have the same problem. I would like to detect exceptions and which file have generated them. How can we resolve this issue?


Which operating system does the issue occur on?
ArchLinux
lspci info for CPU and GPU:

00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 07) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000e000-0000efff [size=4K]
        Memory behind bridge: dc000000-dd0fffff [size=17M]
        Prefetchable memory behind bridge: 00000000b0000000-00000000c1ffffff [size=288M]
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06) (prog-if 00 [VGA controller])
        Subsystem: Dell HD Graphics 530 [1028:06e4]
        Flags: bus master, fast devsel, latency 0, IRQ 134
        Memory at db000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 70000000 (64-bit, prefetchable) [size=256M]
        I/O ports at f000 [size=64]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915

If on linux, are you using X11 or Wayland?
Wayland
Verbose log
Welcome to Alacritty.
Configuration loaded from /home/.config/alacritty/alacritty.yml
device_pixel_ratio: 1
width: 1024, height: 768
Initializing glyph cache
Finished initializing glyph cache in 0.033365211
width: 2884, height: 1924
Cell Size: (16 x 40)
PTY Dimensions: Line(48) x Column(180)
xkbcommon: ERROR: Key "<LFSH>" added to modifier map for multiple modifiers; Using Lock, ignoring Shift
Font size changed: Size(48)
width: 2884, height: 1924
alacritty: src/intel/genxml/gen9_pack.h:66: __gen_uint: Assertion `v <= max' failed.
fish: “alacritty -v” terminated by signal SIGABRT (Abort)

Version
0.1.0 / 3d75c49

It used to work before, but I can't really give a date... maybe a month or two? I don't use it day to day

Is this still an issue with the latest version of Alacritty? Also does XWayland resolve this problem?

No idea, and I haven't tried Alacritty again in months. Closing for now.


Matter.Body.scale on circles does not rerender bodies

Hello!
If you apply Matter.Body.scale on circle body generated by Bodies.circle it not rerender scaled circle in the world. Bounds seems to be ok, and in wireframes mode everything looks good, also rectangles works great. But circles, in wireframes=false mode stays the same visually.
Whats the example, based on one of codepens - http://codepen.io/anon/pen/ZGWypP
Thanks for great engine by the way!

The built in renderer uses a special body property called body.circleRadius to render circles.
For this to work with Body.scale I'd need another special case, which I'd rather avoid.
So for now you can add the code:
allb[i].circleRadius *= 2;

Thanks, i got it.


Add schema example with - in API ID

Related to issue https://github.com/angeloashmore/gatsby-source-prismic/issues/161

Hey @rubas, sorry this reply is coming so late. In the next version of the plugin, we're hoping users will use the new Custom Types API to automatically fetch schemas. This means users won't need to list out their API IDs like in the updated example you provided.
In addition to automatically fetching schema, the plugin will also tell you if one is missing. This should make the error much more apparent.
You can see updated documentation here for V4: https://github.com/angeloashmore/gatsby-source-prismic/tree/beta


Added some 'base' docker files for clusternator projects.

The idea is that if you're using the node/express stack you don't want to do all the apt-get stuff everytime you build. Same thing for downloading and installing node.
So there's a base 'ubuntu + apt-get + set up swuser' image
Then there are node 4 and 5 images that depend on the base one
And finally your clusternated project should depend on one of the node ones.
Then all that needs to be done in CI is npm install, serve.sh.

@bennett000 @rafkhan @odziem

Right now these images are in my personal dockerhub account.  However if you guys like this approach I'll ask Yuri to let me put them in a rangle account instead.
If I wanted to hook these up to the menu you get from clusternator init what part of the codebase should I look at?

This helps us by defining a 'Base image' that we can add stuff to, so we can avoid every project having to update their docker files when things change.

This all makes sense.
I was thinking that #213 and/or the idea of having an organization level private docker repo on AWS might be a good place to put common images.

Looks good. Wouldn't the apt-get stuff get cached thanks to Docker's layering anyway?

@odziem : yes, except as it turns out on circle-ci:

Docker images aren't cached automatically. At the moment, we have no good method to cache them although we are trying to find a technical solution.

(https://circleci.com/docs/docker)
However the base image approach has other benefits: we can tune them centrally and projects can consume the updates more easily.
For example for the node one, I'm thinking eventually of fronting it with nginx and allowing people to put in custom configs for API proxies, etc.
This kind of flexibility will be good going forward.

@bennett000 : I think the base images should be public, because clusternator is open source.  It would be annoying for a 3rd party to spin up a clusternator instance only to find that the base images aren't available.

@SethDavenport sorry I misunderstood.  Clusternator images can definitely be public.  I was thinking of other base images that might be more tuned to a specific project.

Cool. As soon as I get permissions I'll push the base images to rangle/ on docker hub.

@SethDavenport Ah ok. Agreed. :+1:

The base images are now in rangle dockerhub.
I bumped the npm version to 0.5 and will publish soon.


Switch address format for locale nl

The address format in The Netherlands is '[street name] [number]', opposite to how the locale is configured at the moment.

Fixed in #295


heron cli: missing dependencies

Just put a note here:
Previous release of heron client installation script failed to work on machine with OS X version lower than 10.11, with the following error message:
Failed to execute PEX file, missing compatible dependencies for:
psutil
pyyaml

This is because the person (me) who created the installation script is using OS X of version 10.11. Some Python packages in PEX file, however, could only work on 10.11. Backward compatibility is lost.
@kramasamy, who is using OS X of version 10.10.x, replaced the bad installation script and uploaded a new one built on his machine, which should work on both 10.10.x and 10.11.
The issue here is that we should figure out a way to generate installation script on any machine (Docker configuration, some sort of VM? modify PEX configuration?). Otherwise, we can only rely on @kramasamy's machine (thus he can't upgrade his OS 🙃).
Related to https://github.com/twitter/heron/issues/831

The heron CLI works now, and is used in the integration tests


Improve URI with more Wrappers

Add methods:

IsWellFormedUriString
IsBaseOf

to URI Codeunit.
Updated tests to work independent by making the global variable URI local.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 12005.


9.7.0 modify css file, bankai start does not watch 🐛

9.6.1 is ok
Code Sample
bankai_issue_432
Your Environment

Software
Version(s)

Package
9.7.0

Runtime
node 9.2.0

Package Manager
npm 5.6.0

Operating System
osx

Dang, this almost certainly must be because of the persistent cache…

Mhmhm it looks like the persistent cache doesn't support emitting 'file' events from transforms. Guess we should revert that for now

:package: 9.7.2