Install SSL on Overpass

Over in #23, @geohacker noted that Overpass needs to run on SSL to work in production
We are currently managing SSL using Amazon Certificate Manager, with a wildcard cert for all hostnames.
I assumed since we're running Overpass on a plain-vanilla EC2, I'd just log in there and get some info, pass to Richard, and he'd install the certificate on that server. Easy peasy.
Not so fast! Looking at the docs, I see this:

You cannot install your ACM certificate or your private ACM PCA certificate directly on your AWS based website or application. You must use one of the following services.

 What would we be balancing?
At GreenInfo we use CertBot for free and easy SSL. Maybe we could do that here? But then do we have a cert at AWS and another from CertBot and some sort of conflict?

@danrademacher I think certbot would probably the most straightforward thing to do here unless we setup a loadbalancer for the Overpass ec2 which seems a bit not necessary right now.
cc @batpad

certificate authorities are actually notorious for not comparing notes. as long as the chain is traceable everything will be fine.

as someone who has taught networking/security i do not approve of this and other defects in the PKI  but as a practical member of the OHM project, i approve of taking advantage of it in this case.

Sounds good. So I think you have what you need with the instructions at that certbot link to install. Is that right?

will take a look and post any questions here if i have any.

not giving up but this is proving both festive and decorative:
Err:6 http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release
404  Not Found [IP: <IP_ADDRESS> 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Where are we on this one?

it turns out that the installation instructions for cerbot on Ubuntu 20.04 and Apache 2 are misleading. i have been given a better procedure and have certbot installed. now need to step through the process of creating a cert.

Hi @rwelty1889 - any update here?

@rwelty1889 let me know if you need support on this. We'd love to see Overpass working in the application!
If you hit more challenges or don't have time, I could have my lead dev get certbot installed. He's done it many times on other projects.

SSL working for overpass-api, but not for overpass CNAME. certbot wants an A record apparently.

certbot config files for autorenew frequently forget the webroot_path = entry from the cli.ini file. manually added. know certbot issue for a few releases now, they don't seem to be able to get a handle on it. foo.
https://community.letsencrypt.org/t/auto-renewal-started-failing-with-error-missing-command-line-flag-or-config-entry-for-this-setting/111211

autorenew setup for overpass-api....

@rwelty1889 can you clarify your comment here:

SSL working for overpass-api, but not for overpass CNAME. certbot wants an A record apparently.

This works: https://overpass-api.openhistoricalmap.org/
And is a CNAME:

You might be referring to overpass.openhistoricalmap.org? I had erroneously created a second CNAME for overpass.openhistoricalmap.org, but after you corrected me that we needed a -api in there, we made that one and deleted the first one.  If we need them both, I can recreate. Or we can just forget that one ever existed!
If there's some other change needed on AWS or other support, let me know.

I think HTTPS on overpass-api.openhistoricalmap.org is working as expected but when I try to query I get this:
The data included in this document is from www.openhistoricalmap.org. The data is made available under various OpenData licenses.

Error: runtime error: The dispatcher (i.e. the database management system) is turned off.

See this URL https://openhistoricalmap.org/query?lat=40.71063&lon=-73.99419
I think this is perhaps because the dispatcher isn't running on the server.

SSL appears to be working. Nice job!!
I'm going to take the dispatcher comment above & create a new issue.


Bump Travis Ruby versions to last + add 2.5 to appveyor

travis ruby version: http://rubies.travis-ci.org/
appveyor: https://www.appveyor.com/docs/windows-images-software/#ruby
Sorry for the noise on other PRs

Great, run the travis update task here and we can merge them as they go green, I've been meaning to do this thanks for beating me to it!


fix: sync invoice attributes after it's created

Few attributes in Stripe invoice are not populated instantly at the time of creation causing missing values persisted in db. These can be synced back later using periodic syncer.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

0 of 14 (0.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.001%) to 9.461%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/store/postgres/billing_invoice_repository.go
0
6
0.0%

billing/invoice/service.go
0
8
0.0%

Totals

Change from base Build<PHONE_NUMBER>8:
-0.001%

Covered Lines:
10361

Relevant Lines:
109518

💛  - Coveralls


Update try-or-purchase-audio-conferencing-in-office-365.md

Add more information to the important Note.

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.


Preprocessing script

is it possible for you to share the script of how you converted the raw image intensities to standardized uptake values (SUV) for PET images you mentioned in the paper you referenced (3D Alpha Matting Based Co-segmentation of Tumors on PET-CT Images) in the pre-processing section

@sriram98v @koriavinash1
Apologize for this late reply!
Unfortunately, I do not have the script at hand. These works were completed when I worked as a postdoc at the University of Iowa. And I do not have the permissions/rights to share all those things.
In fact, some preprocessing steps (such as patient management, PET-CT registration, etc.) were being done in laboratory of the hospital using the commercial software (Thanks to the University of Iowa Hospitals & Clinics). The software can also provide the converted PET SUV volumes (from DICOM intensity value to SUV value). We just need to export them from the database for subsequent processing and analysis.
With regarding to the PET SUV computation, please refer to the NCI-QIICR project (http://qiicr.org/tool/PETDICOM/), they have introduced an implementation as an extension for the open source 3D Slicer software (https://www.slicer.org/).
When doing the medical image/information computing, I suggest having collaborations with clinical experts/doctors for their expertise in medical/clinical knowledge.


Add configuration feature to allow expanding built in list slot types with additional values.

Added for AMAZON.US_FIRST_NAME slot, which is the only existing slot for which this makes sense right now.  Will be added to other "list" type slots as they are added.  If for some reason you need this added to a slot that doesn't support it, please open an issue and request it (e.g. if  you need it for AMAZON.country for some reason, please open an issue and explain why it should be added to the built in slot type rather than a custom slot).


My Balance is not showing in Wallet PC only for 1 Second then disappear. Everything is 0.00000

Hello,
Can you Please fix this app.
I am using Version 2.1.9 Pc windows
I deposited to Wallet and it took 2 hours to show balance for 1 Second then everything is 0 again.
Restored Wallet and still same issue.
applogs.zip
screenshot.zip

same on mac with 2.1.9

same on mac with 2.1.9

Hi @monnyfx , screenshots & logs well received.
@monnyfx @adrian-schnell , regarding the issue DFI: Balance not displayed, I'll link you to https://github.com/DeFiCh/app/issues/301 which we can further discuss on the problem. We would like to keep same issues in one thread. Thank you.

Hi @monnyfx , screenshots & logs well received.
@monnyfx @adrian-schnell , regarding the issue DFI: Balance not displayed, I'll link you to https://github.com/DeFiCh/app/issues/301 which we can further discuss on the problem. We would like to keep same issues in one thread. Thank you.


link button or context menu which is named as "open" to open directly the file.

Description:
It will be very nice to support a link button or a context menu which is named as "open" to open directly the file.
Windows 10.
electron 3.2.2
exe

Please test if the problem persists with our latest release. I will be closing the issue but if there is any problem yet, we will open it again.


fix: use utf-8 encoding for python ipc

Related to #1510 and #1476
I think this was introduced by #1447 (cc @enkoder)

classic enkoding memes :P


add support for multi epoch training

currently in aligner we disable training for longer than 1 epoch. This is because our code relies on Megatron Samplers from nemo which deterministically goes over the dataset. If we had allowed for more than 1 epoch then we repeat data in the same order on the second epoch.
A solution is to use MegatronPretrainingRandomSampler

this allows us to not have to shuffle the dataset to maintain randomness(since the sampler does)
allows for resumption since we can just keep track of consumed samples

the only issue with this sampler is that it loads microbatches, but i think it's not hard to get it to load GBS/(MBS * DP*num microbatches).

closing because #73 is merged


please release the new version for update asciidoctor dependency

on rubygems.org this gem's RUNTIME DEPENDENCIES is still asciidoctor ~> 0.1,
which makes user to use a old version of asciidoctor, please release a version since you have already update the depency of this repository.

:+1:

Oops, apologies for letting this slide. I’ll release it today.

This is now done. Thanks for the reminder!


Cypress

Resolves https://github.com/GlobalDigitalLibraryio/issues/issues/439

Denne ble fikset her: https://github.com/GlobalDigitalLibraryio/gdl-frontend/pull/362


feat: Other Frameworks

Problem
Supagen currently only supports Flutter, limiting its use for developers working with other frameworks.
Solution
Add support for other frameworks like Next.js, Astro, and Tauri to make Supagen more versatile.
Implementation Plan (If you want to get involved)

[ ] Step 1: Identify popular frameworks to support.
[ ] Step 2: Develop a modular architecture for easy integration.
[ ] Step 3: Implement and test support for the first framework.
[ ] Step 4: Document the process and provide examples.
[ ] Step 5: Gather community feedback and iterate.

Hey @slavakurilyak, thanks for submitting this issue!
Yeah, we have planned to support others frameworks in our roadmap. Maybe, we will start to support it after some more priority things, like unit test and other stuff.
But, if you wanna contribute to support other framework, we will very welcome and appreciate for it. Let's add support for Next.js first.


feat: [IDP-2896]: SMP setup revert

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


window.Location not updated on button click in tests

window.Location not updated on button click in tests. How to tests that url has changed when a user clicks a button.
To Reproduce
Have set custom testEnvironment for jest.
jest-environment.js
const JSDOMEnvironment = require('jest-environment-jsdom');
module.exports = class JSDOMEnvironmentGlobal extends JSDOMEnvironment {
  constructor(config) {
    super(config);
    this.global.jsdom = this.dom;
  }

  teardown() {
    this.global.jsdom = null;

    return super.teardown();
  }

  runScript(script) {
    return super.runScript(script);
  }
};

jest-config.js
  "testEnvironment": "./jest-environment",
Expected behavior
My jest test:
    const { getByText } = render(WithTestRouter(<Component />));
    const Elemen1Link = getByText('Elemen1');
    global.jsdom.reconfigure({
      url: 'https://www.google.com/',
    });

    fireEvent.click(Elemen1Link);

    expect(window.location.pathname).toEqual('/element1');
  });```
RESULT:
(window.location.pathname is always `/`.

NOTE: Typescript complains about `Property 'jsdom' does not exist on type 'Global'.`

Hey @rue-kchavan, thanks for using Jest and sorry for the delay here!
Unfortunately, this issue tracker is not a help forum
We recommend using our discord channel or StackOverflow


Style hot reload not triggered with legacy @zeit/next-css or @zeit/next-less plugins

Bug report
Describe the bug
It seems that hot-reload of stylesheets haven't triggered properly with legacy style plugins such as @zeit/next-css or @zeit/next-less
To Reproduce
With Gitpod: https://gitpod.io/#https://github.com/ye-will/next-broken-style

press Broken button, styles of the new page breaks.
refresh the browser, styles become correct.
change some code or restart the dev server, styles will broken again.

System information

OS: MacOS/Linux
Browser (if applies): Chrome
Version of Next.js: 10.0.1
Version of Node.js: 12.0.0+
Deployment: next dev

Hi, thanks for creating an issue. We currently recommend using https://nextjs.org/docs/basic-features/built-in-css-support as zeit/next-css and zeit/next-sass have been deprecated in favor of the built-in support.


SSH does not work on kubernetes cluster

Gitea Version
1.15.6
Git Version
No response
Operating System
k3s cluster
How are you running Gitea?
Docker container in k3s cluster
Database
SQLite
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
/etc/ssh/sshd_config is incorrectly generated from the template.
Instead of the expected line Port 22 it contains Port tcp://<IP_ADDRESS>:22
The ssh server can't parse this line according to the log and doesn't start;
/etc/ssh/sshd_config line 1: Badly formatted port number.
Screenshots
No response

It is recommended that you use the helm chart for kubernetes, and if you are already using it and are facing a bug with it please report this bug directly to that repo.


chore(dependencies): Update dependency ts-node to v10.9.2

This PR contains the following updates:

Package
Type
Update
Change

ts-node (source)
devDependencies
patch
10.9.1 -> 10.9.2

Release Notes

TypeStrong/ts-node
v10.9.2: Fix tsconfig.json file not found
Compare Source
Fixed

Fixed tsconfig.json file not found on latest TypeScript version (https://github.com/TypeStrong/ts-node/pull/2091)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


have suggestion for this project.

bro can you add custom user agents for each driver. so it would be more helpful.

Already implemented..check out the release section's description.. a lot of things are implemented


Add check to see if Zabbix is running the most recent LTS version

I ran pylint manually and it passes. The check is exploding, so merging without passed checks.


Issue with stacked_by_data

This line points stacked_by_data to knockback_resistance instead of stacked_by_data.
And this file seems to be about on_use instead of stacked_by_data.
I would make a PR for this, but I don't know what stacked_by_data does (the official docs, as always, are useless -- it's not even clear if so-called "aux" values are even possible to add to custom items). Anyway just a very minor note :)

Has been resolved as per my items PR so this can be closed


CouchDB replication Issue

We have some issues with CouchDB replication.
We have two azure VMs with OS ubuntu server 16.04.3 LTS and installed CouchDB in both VMs. CouchDB replication from one server to another server hosted in azure VM is not working. In the replication interface (fauxton), replication state is 'running', but in 'active tasks', there is no tasks corresponding to the replication. The replication was working fine before. After increasing azure disk space on the server, Public IP address of the server changed, and we edited the replication configuration with new IP. Since the replication was not working, we removed existing replication and configured a new replication. Still the replication is not working. We looked into CouchDB log file and found timeout error. Our CouchDB version is v.2.1.1.
Here is the error from log file:-
"
2019-04-30_03:21:35.81520 [error] 2019-04-30T03:21:35.814844Z<EMAIL_ADDRESS><0.24773.645> -------- exit:{http_request_failed,"GET","http://:5984//",{error,{error,{conn_failed,{error,etimedout}}}}}: Replication 9335757b5ea5def3e7896351b8ef34a5 failed to start "http://5984//" -> "http://:5984//" doc <<"shards/c0000000-dfffffff/_replicator.1516781452">>:<<"f48985560be6f8cbe3176255560b51d5">> stack:[{couch_replicator_api_wrap,db_open,3,[{file,"src/couch_replicator_api_wrap.erl"},{line,119}]},{couch_replicator_scheduler_job,init_state,1,[{file,"src/couch_replicator_scheduler_job.erl"},{line,590}]}]
"
Today, I created a new VM with Ubuntu Server 16.04.6. Installed CouchDB 2.3.1. Tried to configure replication from one of the existing Server to the newly created server via fauxton UI. But got the same error. I created a new test database in the new server and configure replication from the test database to a new database in the newly created server, but got same error.
Is there any issue or limitations with CouchDB replication?
CouchDB Replication Configuration

CouchDB Replication Status

CouchDB Replication Active Tasks

Environment

CouchDB Version used: 2.1.1
Browser name and version: Firefox 67
Operating System and version: Ubuntu Server 16.04.3 LTS (Azure VM)

@sudhir-naico Would you mind explaining how this bug is resolved?

@ceremcem , This is related to azure portal issue. I have already added a rule to allow the port 5984 to the required public IP address in VM Networking section. But it was somehow not working. I modified the rule to allow the port 5984 to all public IP Address by setting source and destination to 'Any'.

Thanks for the explanation. So there is nothing to worry about.


Ctrl-C kills Ferret prompt in v6.83beta for 64-bit RHEL6

Reported by andrew wittenberg on 12 Sep 2012 19:24 UTC
Ctrl-C is supposed to terminate the current Ferret command and leave us at the Ferret prompt.  But in v6.83beta for 64-bit RHEL6, Ctrl-C terminates Ferret and returns us to a shell prompt.  The Ferret process continues to run in the background, and this seems to have strange effects on the console -- see e.g. the garbage characters in the "kill" command below.
atw:/home/atw> ferret
 	NOAA/PMEL TMAP
 	FERRET v6.83 (beta)
 	Linux 2.6.32-279.5.1.el6.x86_64 64-bit - 08/22/12
 	12-Sep-12 15:19

yes? ^C
atw:/home/atw> ps | egrep -v "(tcsh|ps)"
UID        PID  PPID  C STIME TTY          TIME CMD
atw       5081     1  0 15:19 pts/21   00:00:00 /home/atw/ferret/exe/x86_64/rhel6/ferret-6.8.2/bin/ferret_v6.83 -memsize 128
atw:/home/atw> kill 5081
atw:/home/atw> ps | egrep -v "(tcsh|ps)"
UID        PID  PPID  C STIME TTY          TIME CMD

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1967

Comment by karl.smith on 14 Sep 2012 20:06 UTC
The problem cannot be reproduced running Ferret from the command line.  However, Ferret is being run from a csh (tcsh) script in this situation.  Using the following script, the problem can be reproduced on flat, with Ferret installed at $HOME/Ferret:
#! /bin/csh
source $HOME/Ferret/bin/ferret_paths.csh
$FER_DIR/bin/ferret -memsize 128 $*
Suspecting the readline library, I tried with a version of Ferret using the system's readline shared-object libraries, but does not make any difference.
I switched to using a sh (bash) script:
#! /bin/sh
. $HOME/Ferret/bin/ferret_paths.sh
$FER_DIR/bin/ferret -memsize 128 $*
With this script, everything works fine.  So it appears that this is an issue with tcsh under RHEL6.  (Under RHEL5 there are no problems with the csh script.)

Comment by karl.smith on 14 Sep 2012 20:28 UTC
From Andrew:

So maybe this old Ctrl-C (sigint) bug has reared its head again in
tcsh version 6.17:
https://bugzilla.redhat.com/show_bug.cgi?id=177366

I does appears to be the case.

Comment by andrew.wittenberg on 11 Dec 2012 20:34 UTC
See also #1904.

Comment by andrew.wittenberg on 26 Dec 2012 22:25 UTC
A workaround, suggested by Karl Smith on 9/17/12, is to "source" the wrapper script instead of executing it, so that tcsh will not invoke a subshell:
"If you 'source' a script, it runs the commands in the current shell, so the same as entering the commands by hand at the prompt.  (The reason you need to 'source' ferret_paths to get the environment variables set in the current shell.)  When running ferret directly from the command prompt there was no problem; I did not see your issue until I ran ferret from a script that creates a new shell.  So whatever the issue is with tcsh, it is with a "subshell" from the login shell, which is what happens when you run shell scripts as executables.  (If you make ferret_paths.csh executable and run it as a shell script, if creates a new csh, sets all the environment variables in that subshell; then the shell exits and all that effort disappears since environment variable only propagate to subshell, not parent shells.)
By the way, I think all of this will be a great benefit for PyFerret.  I haven't checked yet, but I think this is the same issue with Ctrl-C I have been seeing with pyferret, since it is a shell script.  So the easy solution for pyferret is to always use pyferret.sh (the Bourne shell script)."


Run tests with ASAN, UBSAN

[x] Added Make recipes for ease of building tests with ASAN, UBSAN
[x] Execute ASAN, UBSAN tests on Github Actions CI

Commit https://github.com/itzmeanjan/dilithium/pull/24/commits/5bb49b04ea38c61d950fb92ec45cacbe90d1cf84 brings some performance improvements !
On Raspberry Pi 4B (aarch64)

On 12th Gen Intel-i7 (x64_64)


Control external dependencies such as git and gh

Similar to controlling external APIs. I just updated the git CLI, it was 3 years old
Not sure where to put this check though since it's for local environment, not github actions
#55 is related

There's also GitHub Actions such as

_action_checkout = "actions/checkout@v2"
_action_setup_python = "actions/setup-python@v2"
_action_setup_ssh =<EMAIL_ADDRESS>


It simply does not launch

I saw a similar report, but as it was suggested to give specific hardware info, I am pulling a new request. For more info, it is a Ideapad 100-15IBY
System details
OS: Arch Linux 2023.10.14
Kernel: 6.5.7-arch1-1 (64-bit)
Graphics: X11 (using the Mesa drivers)
Hardware
Processor: Intel Celeron N2840 2.16GHz
Memory: 4G
Additional notes
I installed it the same way on a desktop computer (using yay) and it worked just fine. Htop shows that it does not open at all

According to https://www.pc-erfahrung.de/fileadmin/php-skripte/cpu_tabelle_info.php?ID=2067, your CPU doesn't support AVX, which is mandatory for the normal Thorium build. There are special Thorium builds for SSE3 and SSE4 machines which you can find under https://github.com/Alex313031/Thorium-SSE3/releases - I suggest you try the most recent SSE3 build.

This was the solution, thank you very much!


EdgeTPU on latest 1.8.0b5

I am getting an error when starting the container, but somehow it still seems to detect just fine.
docker run --rm -v /mnt/2TB/surveillance/recordings:/recordings -v /mnt/2TB/surveillance/config:/config -v /etc/localtime:/etc/localtime:ro --name viseron --platform linux/arm/v7 roflcoopter/viseron:1.8.0b5
[2021-04-07 09:48:18] [lib.detectors.edgetpu   ] [ERROR   ] - EdgeTPU not found. Detection will run on CPU
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/tflite_runtime/interpreter.py", line 152, in load_delegate
    delegate = Delegate(library, options)
  File "/usr/local/lib/python3.7/dist-packages/tflite_runtime/interpreter.py", line 111, in __init__
    raise ValueError(capture.message)
ValueError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/src/viseron/lib/detectors/edgetpu/__init__.py", line 28, in __init__
    tflite.load_delegate("libedgetpu.so.1", {"device": "usb"})
  File "/usr/local/lib/python3.7/dist-packages/tflite_runtime/interpreter.py", line 155, in load_delegate
    library, str(e)))
ValueError: Failed to load delegate from libedgetpu.so.1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/tflite_runtime/interpreter.py", line 152, in load_delegate
    delegate = Delegate(library, options)
  File "/usr/local/lib/python3.7/dist-packages/tflite_runtime/interpreter.py", line 111, in __init__
    raise ValueError(capture.message)
ValueError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/src/viseron/lib/detectors/edgetpu/__init__.py", line 37, in __init__
    tflite.load_delegate("libedgetpu.so.1", {"device": "pci:0"})
  File "/usr/local/lib/python3.7/dist-packages/tflite_runtime/interpreter.py", line 155, in load_delegate
    library, str(e)))
ValueError: Failed to load delegate from libedgetpu.so.1

That is the standard error message when no EdgeTPU can be found, its just printing the traceback for clarity but it isnt crashing.
In the dev branch i have changed that to a debug message instead to avoid confusion.


如何设置单机多卡训练

Reminder

[X] I have read the README and searched the existing issues.

System Info
llama-factory v0.8.2
Reproduction
如何设置单机多卡训练
Expected behavior
No response
Others
No response

https://github.com/hiyouga/LLaMA-Factory/tree/main/examples

https://github.com/hiyouga/LLaMA-Factory/tree/main/examples

训练脚本中的各参数有说明吗，单机多卡的参数是哪个

CUDA_VISIBLE_DEVICES=0,1 llamafactory-cli train examples/train_lora/llama3_lora_sft.yaml

GLM4可以用这个配置吗


Typo in taxonomy

Hi,
Within the group of Colpodellida (Alveolata) there is a genus named "Aphamonas" which, if I'm correct, should be named as 'Alphamonas'.
Best,
Máté

Hi Máté and Fred
Thank you very much for noticing.  I fixed in the main database and this will be updated in the next release (4.15).  Cheers


Fix error code duplication

Hattip @connorshea
Motivation
Test plan

See included automated tests.

The change introducing this error code was reverted.


Propagate both message and error in proxy exchange.

When the proxy backend returns an error, coredns currently forcibly clears the response message. In the case of truncated messages, this breaks the proxy, as instead of returning a truncate message, the server returns a servfail. Following the pattern in miekg/dns/client, always return the proxied message, even if there's an error.

Current coverage is 39.91% (diff: 0.00%)

Merging #434 into master will increase coverage by 0.05%

@@             master       #434   diff @@
==========================================
  Files           106        106
  Lines          5105       5103     -2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           2035       2037     +2
+ Misses         2901       2898     -3
+ Partials        169        168     -1

Powered by Codecov. Last update 25c57ea...1cf5e56


provider-gradle / pactVerify: getting java.lang.NoSuchMethodError: scala.collection.immutable.$colon$colon.hd$1()Ljava/lang/Object;

Trying to rung pretty much an example from the page for provider-gradle and getting:
java.lang.NoSuchMethodError: scala.collection.immutable.$colon$colon.hd$1()Ljava/lang/Object;
Are there any additional setting, e.g. Scala version, that need to be added to the build script?

user error, mixed build script directive for different version of gradle


SP5 WinUI Desktop: "Save Image" crashes

WinUI Plot crashes on Image Save
Issue: Right Clicking on a chart then clicking save causes WinUI application to crash
Reproducing:

Create blank WinUI3 Desktop Application in Visual Studio
Add WinUI Plot to main page,
Right Click on Chart
Click "Save Image"

Example Here ->
https://github.com/Orthosilicate/ScottPlotWinUI_Crash
System Details

ScottPlot Version: 5.09 Beta
Operating System: Windows 10/Windows 11
Application Type: WinUI3 Desktop
.NET Version: .NET 6

It is probably around the window handle, here ;
https://github.com/ScottPlot/ScottPlot/blob/661a1d39ffa21499ee8a2cad68077896f52343bd/src/ScottPlot5/ScottPlot5 Controls/ScottPlot.WinUI/WinUIPlot.cs#L172
IIRC the window handle must be initialized in WinUI before using 'CommonDialogs' and this is done automatically by the ScottPlot-Control only for a specific 'TargetPlatform' as you will see in the link above.
To fix I think you can either downgrade targetplatform or call 'WinRT.Interop.InitializeWithWindow.Initialize( )' explicitly in application before using the ScottPlot control.


xmenu: added xmenu 2020-07-23

Motivation for this change
Added package xmenu
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Fixed the 3 requested changes.

Hello! xmenu developer here.
Just to announce that xmenu is now under the MIT License (the new version 4.3.2 has the new LICENSE file).

Just made a PR for the version bump, made the license change, thanks for pointing it out!


execution: fix khashaggregate comparison logic

This aligns comparison logic with upstream promql .

Do you think the fuzzing failure can be related
    enginefuzz_test.go:133: load 30s
        			http_requests_total{pod="nginx-1", route="/"} 1.00+1.00x40
        			http_requests_total{pod="nginx-2", route="/"}  1+2.00x40
    enginefuzz_test.go:134: bottomk without (pod) (
          (scalar(stddev without () ({__name__="http_requests_total"} offset 1m12s)) != bool pi()),
          sinh({__name__="http_requests_total",route="/"})
        )
    enginefuzz_test.go:136: case 75 error mismatch.
        new result: Scalar value NaN overflows int64
        old result: {pod="nginx-1", route="/"} => 1.1752011936438014 @[0]
    enginefuzz_test.go:141: failed 1 test cases

Thats most likely scalar(not_existent) issue i tried to fix here: https://github.com/thanos-io/promql-engine/pull/265/files
scalar(non_existent_metric) != bool pi()

this should result in 1 but does result in NaN on main because of issues with scalar. bottomk then rejects NaN on this PR as it should but prometheus will report bottomk(1, X) since the nested function returns different results.


Pass in a list of unicast_peer ips?

Just wondering is it possible to pass in a list of IPs like this
$ docker run -d -e UNICAST_PEER="<IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS>" alterway/keepalived:1.2

and have them filled as following?
unicast_peer {
	<IP_ADDRESS>
	<IP_ADDRESS>
	<IP_ADDRESS>
}

This image works only for multicast to discover nodes.
All available configurations are in the documentation.
Maybe you can propose a pull request with this feature ?


Performance Issues

The last days I have very bad performance issues when activating the plugin. They are so bad, that every typing or moving with keys has lags of 2-3secs or more.
I love the plugin, but under this circumstances I can not use it. After deactivating the plugin the performance issues are gone.

Hi @patrikkernke,
can you add your OS and version of PhpStorm, so I can test. Did the performance issues started with the latest version (0.0.5) or did you experienced them also before?

Closed due to no response after four weeks.


refactor: move identity env vars to config

Which problem does the PR fix?
Fixes: https://github.com/camunda/camunda-platform-helm/issues/2403
What's in this PR?
Refactor Identity and move env vars to config (only keep Keycloak clients as we need to override them via env vars).
Checklist
Please make sure to follow our Contributing Guide.

Before opening the PR:

[ ] In the repo's root dir, run make go.update-golden-only.
[ ] There is no other open pull request for the same update/change.
[ ] Tests for charts are added (if needed).
[ ] In-repo documentation are updated (if needed).

After opening the PR:

[ ] Did you sign our CLA (Contributor License Agreement)? It will show once you open the PR.
[ ] Did all checks/tests pass in the PR?

This will be merged after the 8.6 release.


Failed Installing of Items in the Marketplace

Problem
When I try to install any Extension or Theme from the Marketplace it does not install it.
Error Message
Loading composer repositories with package information
Updating dependencies
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

Technical Details

Pagekit version: 1.0.17
Webserver: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.11
Database: sqlite, V. 3.28.0, Client: 3.28.0
PHP Version: 7.3.11

Solution to avoid the Problem

Problem
When I try to install any Extension or Theme from the Marketplace it does not install it.
Error Message
Loading composer repositories with package information
Updating dependencies
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

Technical Details
* Pagekit version: 1.0.17

* Webserver: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.11

* Database: sqlite, V. 3.28.0, Client: 3.28.0

* PHP Version: 7.3.11

I've found out that the problem is being bypassed with PHP version 7.2.24.

There might be a couple of fixes possible for those who have access to composer via command line - or, if you don't have access - to edit the file making the call. Apparently this is an issue with anyone using PHP version of 7.3 or later.
https://github.com/doctrine/DoctrineORMModule/issues/579


How to build training tools for tesseract 4.0 on windows

Hi @Shreeshrii ,
I am trying to train tesseract 4.0 on windows. But when i installed tesseract 4.0, i didnt find lstmbox file and many other training tools. When i did some research, i found that we need to build them. I didnt find any documentation how to build training tools for tesseract 4.0 on windows. Can you please guide me?
Thanks in advance!
Harathi

https://github.com/UB-Mannheim/tesseract/wiki

The above has all training tools.
lstmbox is a config file. You need to make sure that you don't have old version of tessdata (referred by TESSDATA_PREFIX).

Thanks for the reply!
I am planning to use tesseract 4.0 beta. I am confused with many links in the above link you shared. Can you please point me to the right one for training tools?
Also regarding tessdata, I installed this:
https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-setup-4.0.0dev-20170510.exe
With that, I didn’t get lstmbox in tessdata/configs.
Do I need to download tessdata folder separately?
Thanks!
Harathi

Why do you want to  use tesseract 4.0 beta?  That is pretty old. You can't
use the latest features with code from 3 years ago.
https://github.com/UB-Mannheim/tesseract/wiki  says
The latest installers can be downloaded here:

tesseract-ocr-w32-setup-v5.0.0-alpha.20200328.exe
https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w32-setup-v5.0.0-alpha.20200328.exe
(32
bit) and
tesseract-ocr-w64-setup-v5.0.0-alpha.20200328.exe
https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-v5.0.0-alpha.20200328.exe
(64
bit) resp.

http://bhajans.ramparivar.com

Ok thanks, I will try with latest version. Do I need to install any training tools to train with this? Or tesseract installation will download all the required files?
Thanks!
Harathi


Incorrect (nested) return type when using TypeVar on classmethod

Within the last few days, the previous behavior of Pylance has changed. Please see the expected behavior along with the code snippet below. Thanks for the hard work and awesome product :smile:

Environment data

Language Server version: 2021.6.2-pre.1
OS and version: Windows 10.0.19042
Python version: CPython 3.7.9 64-bit
VS Code version: 1.57.0

Expected behaviour
The return I expect would be
Type[Bar]

Actual behaviour
Instead, the return type is
Type[Type[Bar]]

Logs
Expand
[Info  - 11:26:35 AM] Pylance language server 2021.6.2-pre.1 (pyright e3f7cccc) starting
[Info  - 11:26:35 AM] Server root directory: c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist
[Info  - 11:26:35 AM] Background analysis(1) root directory: c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist
[Info  - 11:26:35 AM] Background analysis(1) started
[Info  - 11:26:35 AM] No configuration file found.
[Info  - 11:26:35 AM] No pyproject.toml file found.
[Info  - 11:26:35 AM] Setting pythonPath for service "issues": "c:\Users\MDRyzenPC\Python\issues\.env\Scripts\python.exe"
[Warn  - 11:26:35 AM] stubPath c:\Users\MDRyzenPC\Python\issues\typings is not a valid directory.
[Info  - 11:26:35 AM] Assuming Python version 3.7
[Info  - 11:26:35 AM] Assuming Python platform Windows
Search paths for c:\Users\MDRyzenPC\Python\issues
  c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist\typeshed-fallback\stdlib
  c:\Users\MDRyzenPC\Python\issues
  c:\Users\MDRyzenPC\Python\issues\typings
  c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist\typeshed-fallback\stubs\...
  c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist\bundled\stubs
  C:\Python37\python37.zip
  c:\Python37\DLLs
  c:\Python37\Lib
  c:\Python37
  c:\Users\MDRyzenPC\Python\issues\.env
  c:\Users\MDRyzenPC\Python\issues\.env\Lib\site-packages
[Info  - 11:26:36 AM] Searching for source files
[Info  - 11:26:36 AM] Auto-excluding c:\Users\MDRyzenPC\Python\issues\.env
[Info  - 11:26:36 AM] Found 1 source file
[FG] parsing: c:\Users\MDRyzenPC\Python\issues\return_type.py (21ms)
[FG] parsing: c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist\typeshed-fallback\stdlib\builtins.pyi [fs read 4ms] (120ms)
[FG] binding: c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist\typeshed-fallback\stdlib\builtins.pyi (38ms)
[FG] binding: c:\Users\MDRyzenPC\Python\issues\return_type.py (0ms)
Background analysis message: setConfigOptions
Background analysis message: ensurePartialStubPackages
Background analysis message: setTrackedFiles
Background analysis message: markAllFilesDirty
Background analysis message: setFileOpened
Background analysis message: analyze
[BG(1)] analyzing: c:\Users\MDRyzenPC\Python\issues\return_type.py ...
[BG(1)]   parsing: c:\Users\MDRyzenPC\Python\issues\return_type.py (20ms)
[BG(1)]   parsing: c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist\typeshed-fallback\stdlib\builtins.pyi [fs read 3ms] (100ms)
[Info  - 11:26:36 AM] Indexer background runner(2) root directory: c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist
[Info  - 11:26:36 AM] Indexing(2) started
[BG(1)]   binding: c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist\typeshed-fallback\stdlib\builtins.pyi (31ms)
[BG(1)]   binding: c:\Users\MDRyzenPC\Python\issues\return_type.py (0ms)
[BG(1)]   checking: c:\Users\MDRyzenPC\Python\issues\return_type.py ...
[BG(1)]     parsing: c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist\typeshed-fallback\stdlib\typing.pyi [fs read 2ms] (24ms)
[BG(1)]     binding: c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist\typeshed-fallback\stdlib\typing.pyi (11ms)
[BG(1)]     parsing: c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist\typeshed-fallback\stdlib\_typeshed\__init__.pyi [fs read 0ms] (5ms)
[BG(1)]     binding: c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist\typeshed-fallback\stdlib\_typeshed\__init__.pyi (1ms)
[BG(1)]     parsing: c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist\typeshed-fallback\stdlib\typing_extensions.pyi [fs read 0ms] (2ms)
[BG(1)]     binding: c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist\typeshed-fallback\stdlib\typing_extensions.pyi (1ms)
[BG(1)]   checking: c:\Users\MDRyzenPC\Python\issues\return_type.py (76ms)
[BG(1)] analyzing: c:\Users\MDRyzenPC\Python\issues\return_type.py (229ms)
Background analysis message: getSemanticTokens full
[IDX(2)] index libraries c:\Users\MDRyzenPC\Python\issues ...
[IDX(2)]   read stdlib indices (102ms)
[BG(1)] getSemanticTokens full at c:\Users\MDRyzenPC\Python\issues\return_type.py (5ms)
Background analysis message: getSemanticTokens range
[BG(1)] getSemanticTokens range 0:0 - 16:0 at c:\Users\MDRyzenPC\Python\issues\return_type.py (2ms)
Background analysis message: resumeAnalysis
[BG(1)] indexing: c:\Users\MDRyzenPC\Python\issues\return_type.py [found 4] (0ms)
Indexing Done: c:\Users\MDRyzenPC\Python\issues\return_type.py
[IDX(2)]   scan packages [found 14 modules over 1 exec env] (249ms)
[IDX(2)]   index execution environment c:\Users\MDRyzenPC\Python\issues ...
[IDX(2)]     parsing: c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist\typeshed-fallback\stubs\pkg_resources\pkg_resources\__init__.pyi [fs read 2ms] (57ms)
[IDX(2)]     parsing: c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist\typeshed-fallback\stdlib\builtins.pyi [fs read 1ms] (50ms)
[IDX(2)]     binding: c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist\typeshed-fallback\stdlib\builtins.pyi (11ms)
[IDX(2)]     binding: c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist\typeshed-fallback\stubs\pkg_resources\pkg_resources\__init__.pyi (1ms)
[IDX(2)]     indexing: c:\Users\MDRyzenPC\.vscode\extensions\ms-python.vscode-pylance-2021.6.2-pre.1\dist\typeshed-fallback\stubs\pkg_resources\pkg_resources\__init__.pyi [found 70] (1ms)
[IDX(2)]     parsing: c:\Python37\Lib\xml\__init__.py [fs read 1ms] (6ms)
[IDX(2)]     binding: c:\Python37\Lib\xml\__init__.py (0ms)
[IDX(2)]     indexing: c:\Python37\Lib\xml\__init__.py [found 0] (0ms)
[IDX(2)]     parsing: c:\Users\MDRyzenPC\Python\issues\.env\Lib\site-packages\setuptools\__init__.py [fs read 0ms] (12ms)
[IDX(2)]     binding: c:\Users\MDRyzenPC\Python\issues\.env\Lib\site-packages\setuptools\__init__.py (2ms)
[IDX(2)]     indexing: c:\Users\MDRyzenPC\Python\issues\.env\Lib\site-packages\setuptools\__init__.py ...
[IDX(2)]       parsing: c:\Users\MDRyzenPC\Python\issues\.env\Lib\site-packages\setuptools\_deprecation_warning.py [fs read 0ms] (0ms)
[IDX(2)]       binding: c:\Users\MDRyzenPC\Python\issues\.env\Lib\site-packages\setuptools\_deprecation_warning.py (0ms)
[IDX(2)]       parsing: c:\Users\MDRyzenPC\Python\issues\.env\Lib\site-packages\setuptools\extension.py [fs read 0ms] (1ms)
[IDX(2)]       binding: c:\Users\MDRyzenPC\Python\issues\.env\Lib\site-packages\setuptools\extension.py (1ms)
[IDX(2)]       parsing: c:\Users\MDRyzenPC\Python\issues\.env\Lib\site-packages\setuptools\dist.py [fs read 0ms] (23ms)
[IDX(2)]       binding: c:\Users\MDRyzenPC\Python\issues\.env\Lib\site-packages\setuptools\dist.py (0ms)
[IDX(2)]       parsing: c:\Users\MDRyzenPC\Python\issues\.env\Lib\site-packages\setuptools\depends.py [fs read 0ms] (1ms)
[IDX(2)]       binding: c:\Users\MDRyzenPC\Python\issues\.env\Lib\site-packages\setuptools\depends.py (1ms)
[IDX(2)]     indexing: c:\Users\MDRyzenPC\Python\issues\.env\Lib\site-packages\setuptools\__init__.py [found 8] (29ms)
[IDX(2)]   index execution environment c:\Users\MDRyzenPC\Python\issues [found 7933 in 407 files] (173ms)
[IDX(2)] index libraries c:\Users\MDRyzenPC\Python\issues [found 7933 in 1 exec envs] (525ms)
[Info  - 11:26:36 AM] Indexer done(2). indexed 407 files

Code Snippet / Additional information

from typing import Type, TypeVar

T = TypeVar("T", bound="Foo")

class Foo:
    @classmethod
    def get(cls: Type[T]) -> Type[T]:
        return cls

class Bar(Foo):
    pass

bar_type: Type[Bar] = Bar.get()

Thanks for the bug report. This was a latent bug that was uncovered by a recent change. It will be fixed in the next release.

Awesome, thanks for the quick fix!

This issue has been fixed in version 2021.6.2, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#202162-16-june-2021


Research time

What value should i put in time for research to be safe from ban?

7-15

Fastest search Time without 24h ban guys ?

@stunynegro i am not use this tool for FIFA 21 , as i dont have the game , for me in FIFA 20 5-10 Sec worked good running the tool for 3-4 hours without ban.


fix cloud group commit should skip repaly wal if label is already used and the txn state is committed or visible (#41262)

pick https://github.com/apache/doris/pull/41262

run buildall

run buildall


Integration test: sync event handled in integration test

W.r.t issue :  https://github.ibm.com/kms/kmk/issues/819
Sync event is handled in integration test cases


HTML

HTML
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, Git, and JavaScript with associated notes listed

Updated HTML file with study sections and notes.


HDDS-6130. [Ozone-Streaming]  When releaseBuffers will get “Couldn 't find the required future”

What changes were proposed in this pull request?
See: https://issues.apache.org/jira/browse/HDDS-6130
How was this patch tested?
Existing tests: testPutBlockAtBoundary

I think for now we can just add watchForCommit() after doing putBlock in here which should solve the issue right away,

Thanks @sadanand48 for your advice, I have updated the PR and the testPutBlockAtBoundary can be used to verify  this fix.
Through testing, I found that only add watchForCommit() is not enough. ExecutePutBlock() is only an asynchronous to execute updateCommitInfoMap. we should add  waitOnFlushFutures() for ensure that updateCommitInfoMap is executed. Without waitOnFlushFutures() we'll have the same problem.

@sadanand48
Oops!  I found that our cleanup of futureMap in releaseBuffers was redundant. We have called the commitWatcher cleanup in close. Since futureMap doesn't store much and doesn't affect the client's memory, we can simply have it clean up on close.
Let's just delete this part so it looks simpler and cleaner.


feature: vcat

Models can be concatenated now

@JuliaRegistrator register

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.


remove .gitattributes

Contributes to https://github.com/rapidsai/build-planning/issues/31
Removes .gitattributes files.
These have been here since the beginning of the project (https://github.com/rapidsai/cucim/commit/048d53e6f99c2129b9febd08e0ae6d1b37d74451), for use with versioneer. Per the git docs (link), setting the attribute export-subst on a file via a .gitattributes tell git to replace placeholders in the file with some git information.
This is no longer done in _version.py files in this project, and this project no longer uses versioneer (#615). rapids-build-backend handles storing git commit information in the published packages.
Notes for Reviewers
For more details, see https://github.com/rapidsai/build-planning/issues/31#issuecomment-2176853319

/merge

/merge


Fix materialization

The is issue is that codes are being reselected on re-materialization when they were originally auto-picked, and this is probably a bad idea; we want to keep codes that were originally picked regardless of	how, unless a white list is used (a cypress specific scenario, which lets a white list change impact all cypress patients with a simple re-materialization).
This addresses the cause of https://jira.oncprojectracking.org/browse/BONNIE-114, though does not actually correct the data issue.

Good catch, definitely a silly mistake, fixed conditional.


GUI for C--

we need to start with the GUI, assuming you will use c#
here's some small twicks that can easily enrich the GUI:

 Display Line numbers
 Syntax highlight

modify the program main in c--.y
as follows
int
main(int argc, char * argv[])
{
    #if YYDEBUG
        yydebug = 1;
    #endif
    FILE * input_file = fopen(argv[1], 'r');
    FILE * output_file = fopen(argv[2], 'w');
    yyset_in (input_file );
    yyset_out (output_file )

    memset(scopes,0,sizeof(scopes));
    printf("#c-- compiler\n");
    if (yyparse() ==0)
        make_dataSegment();
    return 0;
}

@dinamagdy  and try to enhance the way the UI looks
It wasn't acceptable

see https://github.com/mohamed-moanis/c--/tree/GUI-Final


feat: track nonce for each bytecode as salt

This is QOL of thing to allow the same bytecode to be deployed multiple times. Mostly useful in test environments. I made this separate from #10 in case the one time deploy logic is intentional.

While this is certainly a clever mechanism for allowing multiple deployments of the same contract, it doesn't align with the purpose of this project which is to have an idempotent deployment proxy that functions almost identically to normal contract deployment transactions.
Also, this change would change the deployment address of all contracts and thus would be backward incompatible.  This is meant to be an immutable tool that doesn't change over time so such a change would not be appropriate for this repository.
A while back Nick forked this repository and added salt support via calldata truncation (https://github.com/Arachnid/deterministic-deployment-proxy/blob/master/source/deterministic-deployment-proxy.yul#L12)  You may want to check that out and see if it fits your needs.  Alternatively, I wholeheartedly support forking this repository with the change you have suggested here!
Note: While I'm closing this, I still receive notifications for replies if you want to discuss further.

Ah thanks for the link to that fork, that's a good solution to setting the salt/retrieving the address easily.


Fix test data for TSPs (GBLOCs and Duty Stations)

Description
Ran into an issue while trying to get the moves dates summary where the move had 0 miles.  That's because the data was incorrect and I try to address it in this PR.
Two things here to make test data better:

Separate the Source and Destination GBLOC's (and use realistic data)
Make the New Duty Station a different zip code than the Service Member Duty Station

Reviewer Notes
Nope.
  You should get a 200 response back.
Code Review Verification Steps

[ ] End to end tests pass (make e2e_test).
[x] Request review from a member of a different team.

I keep getting an error when running tests:
Could not determine TDL for shipment ID 00000000-0000-0000-0000-000000000000 for move ID ff3bdfd4-f83b-4595-94a9-cd8eacb323b6: Could not fetch region for zip 32102: could not find zip3 for 321: sql: no rows in result set

Seems that the zip3 and zip5 tables are empty when I run the tests.  Not sure why this didn't happen in the past because it seems independent of the zip code I use.

The issue turned out to be that the zip3 table wasn't being filled in.  Apparently our migrations fill that table with real data and then the tests drop all that data and you've got to fill it in again.
We can probably use this same setup for other testdata scenarios but I didn't take the time to modify those.


useEnsuredForwardedRef not working with callback refs

If the forwarded ref is a callback ref the callback isn't called properly.
useEnsuredForwardedRef should check if the passed ref is a callback-function and if that's the case call it to set the ref.

I don't know if it's a 100% working solution but here's my implementation:
/**
 * Combines many refs into one. Useful for combining many ref hooks
 */
const useCombinedRefs = <T extends any>(...refs: Ref<T>[]): Ref<T> =>
    useCallback(
        (element: T) =>
            refs.forEach((ref) => {
                if (!ref) {
                    return;
                }

                // Ref can have two types - a function or an object. We treat each case.
                if (typeof ref === 'function') {
                    return ref(element);
                }

                // As per https://github.com/facebook/react/issues/13029
                // it should be fine to set current this way.
                (ref as any).current = element;
            }),
        refs,
    );

const useForkRef = <T extends any>($ref: Ref<T>): [RefObject<T>, Ref<T>] => {
    const $forkedRef = useRef<T>(null);
    const $combined = useCombinedRefs($forkedRef, $ref);

    return [$forkedRef, $combined];
};

export const SearchInput = ensuredForwardRef<HTMLInputElement, Props>((props, ref) => {
    const [_$input, $input] = useForkRef(ref as Ref<HTMLInputElement>);

    const onFocus = useCallback((evt: MouseEvent) => {
        if (_$input.current) {
            _$input.current.focus();
        }
    }, []);

    return (
        <div>
            <input {...props} ref={$input} />
            <button onClick={onFocus} />
        </div>
    );
});

import { useRef, useEffect, MutableRefObject, RefCallback } from 'react';

export default function useEnsuredForwardedRef<T>(
  forwardedRef: MutableRefObject<T | null> | RefCallback<T>
): MutableRefObject<T | null> {
  const ensuredRef = useRef(null);

  useEffect(() => {
    if (!forwardedRef) {
      return;
    }
    if (typeof forwardedRef === 'function') {
      forwardedRef(ensuredRef.current);
    } else {
      forwardedRef.current = ensuredRef.current;
    }
  }, [forwardedRef]);

  return ensuredRef;
}

You could use this. It's similar to source function in the package. It's worked for me.


PNG's don't work with particle()

You can't use a png file with Particles unlike other textures.
Not sure if a bug with particle() or something greater.
Specs incase it matters:

Windows 10 b1703 64-bit
i5 3570k
GTX 1060

what

You realize there is nothing in wiremod that allows you to create particles right

e2 extension I think

I was told it was apart of core wiremod, nevermind


Adding chat bot feature

i can add a nice chat bot to interactive answer the user his questions/queries
please assign this issue to me under gssoc 2024
I can fix it right away

Hello, I would like to add a chatbot feature. Can please assign this issue to me under gssoc 2024

Hello@nagamukesh, I would like to work on this issue, could you please assign it to me.


core: refactor uv_replace_allocator

Previously, uv_replace_allocator was added to replace
malloc(3) and free(3), but we must replace all allocator
functions or else we will crash in spectacular ways.
For a complete allocator replacement, we must redefine:

malloc
calloc
realloc
free
strdup
strndup

Now uv_replace_allocator takes a struct uv_allocator_t with
three function pointers to malloc, realloc, and free.  The remaining
functions of calloc, strdup, and strndup are implemented
on top of our (optionally) user-provided malloc, realloc, and free functions.
Also, we call uv_replace_allocator the first time libuv is initialized
(windows) or every time a loop is created (unix) to make
sure we are locked into our current allocator configuration.  Users
must only call uv_replace_allocator before they create their
first event loop.
Adapted by @saghul.

R=@bnoordhuis

There is still one problem here: Windows has an internal uv_init function, which sets up some stuff, and that's where we currently set the default allocator. Unix, OTOH doesn't have this, and the allocator replacement is currently done in uv_loop_init. This could be a problem, since not all libuv functions use the loop, see for example uv_interface_addresses.
So, it's possible (though arguably dumb) to call uv_interface_addresses, then uv_replace_allocator, and then uv_free_interfaces, which would result in a crash.
Thoughts on this? Should we address it anyhow?

@bnoordhuis I also modified how we initialize the global allocator so we don't need an if in uv__malloc and friends. WDYT?

I don't have time to review pull requests.  If c272f1f is holding up the release, why don't you revert it for now?  It hasn't made it into a release yet, has it?

@bnoordhuis sorry to put more work in your shoulders. I'll see if a revert works, but I'm afraid the changes will conflict because it's quite invasive.
I'm personally not in a hurry, but we do have some nice fixes which would be nice to release:https://github.com/libuv/libuv/compare/v1.4.2...v1.x
I also see that iojs floats at least one patch, which would be nice if we could get rid of.
Any idea when / if you could get back to this? Otherwise we'll need to figure something out...

I would prefer libuv never run uv_replace_allocator, and that you remove the code that prevents it from being run more than once.  Document that it may only be used when no existing allocations will be freed.  It's up to programmers to not be dumb, if they can't handle that it probably means C is the wrong language for them.
Replacement allocators could be used to record debug statistics, always passing things to the stdlib functions malloc/calloc/free.  In that case the worst outcome is inaccurate statistics, it could not crash since the allocators would be 100% compatible.
It would also be valid to use libuv to read a config file, save needed values to static memory, free all allocations, then call uv_replace_allocator if the config said to do so.  In my opinion this is a very reasonable use and should not be blocked.

After sleeping on this, I'm going to revert what we have at the moment, and merge it with this so we can iterate on it.
@coreyfarrell I think you're right, those modifying the allocator should know what they're doing... hopefully :-)

@bnoordhuis reverted the original patch in https://github.com/libuv/libuv/commit/1f711e4d6d2137776a113b29a791d115fb4a0c63.

I unified the patches and started to make osme changes here: https://github.com/saghul/libuv/tree/custom_allocator, I'll PR when ready.


Add green and gray colors

Add green color
Add gray color
Add green button - text currently set to white, not sure if that is the desired text color though
closes #176
closes #175

Yeah the color contrast ratio for white lettering is below accessibility guidelines:
https://contrast-ratio.com/#white-on-hsl(157%2C 100%25%2C 45%25)
Updating to #00B353 instead, which is exactly 60 degrees of hue off from our blue hue, giving our color scheme a good balance:
https://contrast-ratio.com/#white-on-hsl(148%2C 100%25%2C 25%25)


DynamicFeed icon missing from @material-ui/icons

Using @material-ui/icons version 4.11.2
The icon is specified here in the documentation:
https://material-ui.com/components/material-icons/

But does not exist in the icons folder and cannot be imported. Attempted to import via:
import DynamicFeedIcon from '@material-ui/icons/DynamicFeed';

Make sure the version you have installed matches the version of the documentation you are using.

Make sure the version you have installed matches the version of the documentation you are using.

@oliviertassinari Oops. I made a classic blunder. There are some icons already included with @material-ui/core, but DynamicFeed isn't one of them. We are using material in several sub-projects, so I didn't realise that @material-ui/icons wasn't installed in this one. Sorry for wasting time! :)

@oliviertassinari Oops. I made a classic blunder. There are some icons already included with @material-ui/core, but DynamicFeed isn't one of them. We are using material in several sub-projects, so I didn't realise that @material-ui/icons wasn't installed in this one. Sorry for wasting time! :)


Add pass-through support for the std::shared_ptr aliasing constructor.

Fixes #3.

Please check that this fixes your use-case for #3 before merging :)

Seems to work, thanks.
I'm going to follow up with another PR for some cleanups/fixes which came up in integrating this.


Check if organization is same when modules resolving within project

Purpose

$subject

Fixes https://github.com/ballerina-platform/ballerina-lang/issues/17819
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[X] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[X] Added necessary tests

[X] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #18058 into packerina-dev will increase coverage by 6.03%.
The diff coverage is n/a.

@@                Coverage Diff                @@
##           packerina-dev   #18058      +/-   ##
=================================================
+ Coverage           14.2%   20.23%   +6.03%
=================================================
  Files                 51       51
  Lines               1598     1334     -264
  Branches             260      211      -49
=================================================
+ Hits                 227      270      +43
+ Misses              1358     1050     -308
- Partials              13       14       +1

Impacted Files
Coverage Δ

tool-plugins/vscode/src/debugger/index.ts
0% <0%> (ø)
:arrow_up:

...-plugins/vscode/src/project-tree-view/activator.ts
0% <0%> (ø)
:arrow_up:

tool-plugins/vscode/src/extension.ts
0% <0%> (ø)
:arrow_up:

tool-plugins/vscode/src/diagram/activator.ts
0% <0%> (ø)
:arrow_up:

tool-plugins/vscode/src/core/preferences.ts
100% <0%> (ø)
:arrow_up:

tool-plugins/vscode/src/project/activator.ts
0% <0%> (ø)
:arrow_up:

tool-plugins/vscode/src/overview/activator.ts
0% <0%> (ø)
:arrow_up:

tool-plugins/vscode/src/overview/renderer.ts
0% <0%> (ø)
:arrow_up:

tool-plugins/vscode/src/core/messages.ts
100% <0%> (ø)
:arrow_up:

tool-plugins/vscode/src/api-editor/activator.ts
0% <0%> (ø)
:arrow_up:

... and 15 more

Continue to review full report at Codecov.

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


What is hintText prop?

What is hintText prop? To what element to apply? Nothing happens for both cases if I apply it to SelectField:
<SelectField
    hintText={Hello}
    hintText="Hello"
>{children}</SelectField>

The hint content to display.?
It's applied on the TextField.

Ok, I've learned. It resembles floatingLabelText. The difference is that floatingLabelText doesn't disappear after an option has been selected. Pretty nice visual appearance, animation and behavior of both.


latest supported python version

Hi,
Would you please tell me what the latest supported python version is? Does it support py 3.8?
Your help is much appreciated,
Cheers

Hi,
Pyomeca is available and tested against Python 3.6, 3.7, 3.8 and 3.9.


Crash on app setup - A13 Shizuku

Phone: SM-908B
One UI: 5.1
Android 13
Storage: 120GB available
The phone isn't rooted, but shizuku is installed and functional (other apps)
The bootloader is unlocked as well.
Haven't downloaded a GSI to use yet.
I open the app, and the first screen shows up. Settings work fine, they can be toggled but are set to default.

Right after pressing the setup button, the app crashes. The app has access to Shizuku. Checked from within shizuku and from app properties.

Tried restarting ADB (USB and wireless), restarting shizuku, clearing app cache, app data, and toggling shizuku permissions both from the app properties and shizuku, to no avail.
Edit1: Tried the Remove SD Card option but did nothing. Models with more than 128GB don't have the SD card. (I've got the 256GB version)
And Android complains about the app crashing, possibly having a bug.

Going into the app "Treble Info" go shoe more info:

Is the Samsung S22 Ultra supported?

Both V. 1.0.3 and 1.0.1 won't work, same crash

Have you disabled documentsui system app? this app is required for a lot of apps to work in Android, can you check if this app is installed and enabled?


Option to show Add notIncludedInItemListValue

Hopefully this is demonstrated correctly, just a simple push to allow for the option to remove the Add Val option.
Tested it locally and worked correctly.
Also ignore the four extra commits, was trying to get it to work through a pull before pushing it for use here.

Found that calling creatable={false} in the int of Plugin allows for the same functionality.


Merging Xuncai/prefill-MLP to main

This branch added functionality for LLama2 70B MLP Prefill. Details in #6423
The Prefill MLP has PCC of 0.988 and is waiting on #6556 to resolve the compatibility of ttlib.ops.primary.matmul to support fp32 accumulate so that PCC can get even higher.

All post commit tests passed. Please approve @arakhmati @cglagovich . Thanks!


Memory game

Closes: #198

Title:  Addition of Memory game
Your Name: Shreya H S
Idenitfy yourself:  GSSOC'24-Ext, Hacktoberfest

Describe the add-ons or changes you've made 📃
Added Memory game. Guess the number pair. Includes best showing least used moves and total moves used in the current game. Shows Congratulation when found all pair. Has a reset button.
Give a clear description of what have you added or modifications made
Checklist: ☑

[x] My code follows the Contributing Guidelines & Code of Conduct of this project.
[x] This PR does not contain plagiarized content.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] My changes generate no new warnings.

Screenshots 📷

Uploading memoryGame0.webm…

memoryGame0.webm

@shrehs I can see a conflict file recipeFinder. Once check that

@shrehs I can see a conflict file recipeFinder. Once check that

On it


So long time test!

The test runtime is 500s, it's very slow! Please, add service worker for test in 4 threads. Thanks.

Date tests are wrapped in async function, so they should be faster now :)
Worker threads don't seem to support typescript atm, might add some js tests with them later.


[BugFix] Fix some wrong usages of down_cast

Replace down_cast with dynamic_cast.
Add some tests for LoadChannel, only cover LakeTablet related cases.

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

run starrocks_admit_test

run starrocks_be_unittest

run starrocks_be_unittest

run starrocks_be_unittest

run starrocks_be_unittest

@Mergifyio backport branch-3.0


New initial Beta and new initial Stable SDKs need to be identified in the create a release plan flow  (Committed for dilithium-2H)

Requirement: New initial Beta and new initial Stable SDKs need to be identified in the create a release plan flow by the user as the requirements are different for first initial SDK releases
Scenario: A service partner has new management plane (ARM) or data plane REST APIs and they plan to release the client and/or management libraries as a new initial SDK package.  The new initial SDK packages should be Beta for 30 days minimum before releasing as stable SDKs.
### Tasks
- [ ] Add new question to the "Create a release plan" UI to identify new initial (very first) SDKs.  (Engineering)
- [x] Add new picklist ADO custom field to the release plan work item to identify if release plan is for new initial SDK.  The new custom field name = "isInitialSDK" with string picklist values of "yes" or "no". (La Donna)
- [x] Add new picklist ADO custom field to release plan work item to identify if the release plan is for a Beta or Stable SDK.  The new custom field name = "SDK type to be released" with string picklist values of "beta" or "stable". The current "Create a release plan" UI already ask this question, so all that is needed is for the automation to update this field when a release plan is created.(La Donna)
- [ ] Manually migrate relevant data in existing release plans (Data plane SDK release type and Mgmt library release type) to new "isInitialSDK" field. (La Donna)
- [ ] Manually migrate relevant data in existing release plans (Data plane SDK release type and Mgmt library release type) to new "SDK type to be released" field.  (La Donna)
- [ ] Update automation to update the new fields when a release plan is created. (Engineering)

FYI @maririos - I completed these tasks today since I was updating the release plan work item.

[x] Add new picklist ADO custom field to the release plan work item to identify if release plan is for new initial SDK.  The new custom field name = "isInitialSDK" with string picklist values of "yes" or "no". (La Donna)
[x] Add new picklist ADO custom field to release plan work item to identify if the release plan is for a Beta or Stable SDK.  The new custom field name = "SDK type to be released" with string picklist values of "beta" or "stable". The current "Create a release plan" UI already ask this question, so all that is needed is for the automation to update this field when a release plan is created.(La Donna)


Stock market Data Scrapper from yahoo Finance

Closes #[386]

📝 Description
This project scraps the  data of any inputted company listed under stock exchange of user inputted starting and ending date (both should be valid) and download it in csv format. The project contains another section where about 10,000 companies are listed with their ticker symbol, as user has to enter ticker symbol of company to fetch the data. user can see ticker information by searching in database and then enter the ticker symbol and date to obtain the required data. This data can be used for various purposes , projects and for machine learning model like stock price prediction for various companies.
The yfinance library is used for stock data scrapping and ticker. json data scrapped from internet  is used for ticker information display.
I have attached one reamde.md and one webapp_scrapper.mp4 file for demonstration as well.
🔍 Type of PR

✨ Feature enhancement

📸 Screenshots / 🎥 Videos (if applicable)
https://github.com/Akshat111111/Hedging-of-Financial-Derivatives/assets/137288727/a5435188-9914-496d-922b-4f13a9abf1cb
✅ Checklist

[X] I have performed a self-review of my code.
[X] I have read and followed the Contribution Guidelines.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have commented my code, particularly in hard-to-understand areas.

@Akshat111111 please merge this pr along with gssoc'24 label and level (level 2 as assigned). This will resolve issue no. 386.

@Akshat111111  i have move the project under financial domain directory. please kindly merge this PR along with Gssoc level and label.


Need a way to specify the app password when bootstrap a cluster from recovery or pg_basebackup

When boostrapping a new cluster from a recovery or pg_basebackup, we need a way to specify the app password secret together with Owner and Database in the BootstrapRecovery configuration and BootstrapPgBaseBackup configuration

There are different ways could be considered and want to hear more voice
We do support application database setup during initdb in this way
bootstrap:
    initdb:
       database: app
       owner: app
       secret:
           name: existed-secret-name

we want do similar for recovery and pg_basebackup
#1, one way we can choose is to have database owner secret added redundantly under recovery, pg_basebackup, we also want a new flag to indicates whether user want to setup the application database after restore.
bootstrap:
    recovery:
       database: app
       owner: app

bootstrap:
    pg_basebackup:
       database: app
       owner: app

#2, Exract the application database information into new struct, databaseInfo, and change the way initdb reference application db.
The benifit of this way is we reduce the redundant, and it is easy for user to decided setup a application databse or not after recovery (by specific databaseInfo or not )
The concern of this way is , we changed the way to specific appllication database for initDB, which could be a problem for existing clusters.

---
bootstrap:
    initdb:
       databaseinfo:
            name: app
            owner: app
            secret:
                name: existed-secret-name

---
bootstrap:
    recovery:
       databaseinfo:
            name: app
            owner: app
            secret:
                name: existed-secret-name

---
bootstrap:
    pg_basebackup:
       databaseinfo:
            name: app
            owner: app
            secret:
                name: existed-secret-name

Per the considering backward-compability and discussion, I am going to modify the pr using first solution.

Use solution #1 , move code along with e2e test case into PR


Feature Request: import json into AE

Any chance importing a json file into after effects is in the future for this project? I have a .json file from lottie that I need to kill some dead time before/after the animation starts/ends, and am not sure how to do that by looking at the json!

Not for now. Might come in the future but it's not a simple task.
If you want to change initial and end frames you can take a look at "ip" and "op" properties

duplicate of #304


Display download functionality and alert at 200% zoom - 508 issue

Context
Testing complete for 2565, 2 issues:

The message 'Your query exceeds the record limit of 100000. Refine your query to further limit the number of records returned or visit the Bulk Data Files.' disappears when zoomed into 200%

At 175% magnification and above, the controls to download data as CSV or JSON files are no longer available.

Solution :will need to update the mobile/ tablet wireframes to display the download functionality and the cdd alert
Wireframes
Data Preview Mobile Wireframes  - slides 25, 26
Data Preview Tablet Wireframes
 - slides 28,29
Testing:

This ticket will require functional testing and 508 testing

Tester: @JanellC
508 Testing: @aprematta

Testing complete - Both the alert and the download options are available at 200%


Add an action that gives time measurement for a block of requests

The idea is to give the time for a whole page loading. Pages are made of multiple requests, it could be nice to agregate the requests time and give a user's point of view time.
actions:

start_timer:
name: page_timer
http:
url: .....
end_timer:
name: page_timer

Implemented


Pan-Os issue using the image with containerlab

Hi!, I'm trying to package PanOs for containerlab and im facing some issue. not sure If I missed a step ?
I did package with Sparsify  on using vendor paloalto and platform panos and I see the docker image :

But when I try to use is with containerlab or by itself, the docker crash with this log:
Incorrect Usage: flag provided but not defined: -username

NAME:
   boxen package-install - install/finalize a vm instance packaging in a container

USAGE:
   boxen package-install [command options] [arguments...]

OPTIONS:
   --help, -h  show help (default: false)

flag provided but not defined: -username

did I miss a step?
Thanks

something definitely went wrong there, but very possibly nothing you did wrong!
I think more than one thing went wrong there probably. IIRC with sparsity the image should be smaller than that as well as obviously working correctly.
I'll be honest with you, you are probably on your own (or any community love) for troubleshooting this as I don't have a PAN image, nor have any reason to mess with one anymore -- and, on top of that, it has been nothing but a PITA :). I know folks have had issues w/ this image, but I also know people not me have succeeded so it should be possible!
All that said, probably wanna re-run like below and get allllll the logs and hopefully something obvious will pop out:
BOXEN_LOG_LEVEL=debug BOXEN_DEV_MODE=1 boxen package --disk ~/disks/nxosv.9.2.4.qcow2
Log level is obvious of course, the dev mode will make sure to not nuke the temp build directory so you can grab logs and inspect stuff if it fails.
Good luck!

Thx @carlmontanari for the quick reply.  the DEV mode is helping me as I can check the build log afterward.
I'm not sure ill be able to fix it but ill give it a try
thanks to your explanation I was able to understand that the initial build looked fine and the issue is when the intermediate docker is executed to build the final one.
The docker is crashing as soon it is started, and ill be focusing on figuring out why.
If you dont mind explaning me this line, I think it would help :
does the "launching instance with command" refer to lunching the docker with thoses arg, or Qemu inside of the docker?
     debug<PHONE_NUMBER> base image building complete!
     debug<PHONE_NUMBER> package install starting
     debug<PHONE_NUMBER> begin instance install
      info<PHONE_NUMBER> install requested
      info<PHONE_NUMBER> qemu instance start requested
     debug<PHONE_NUMBER> launching instance with command: [-name paloalto_panos -uuid 50f5d398-77cd-49cc-a468-3ebb31ce28ac -accel kvm -display none -machine pc -m 8192 -cpu host -smp cores=1,threads=1,sockets=2 -monitor tcp:<IP_ADDRESS>:4001,server,nowait -serial telnet:<IP_ADDRESS>:5001,server,nowait -drive if=ide,file=disk.qcow2,format=qcow2 -device pci-bridge,chassis_nr=1,id=pci.1 -device virtio-net-pci,netdev=mgmt -netdev user,id=mgmt,net=<IP_ADDRESS>/24,tftp=/tftpboot,hostfwd=tcp::48000-<IP_ADDRESS>:22,hostfwd=tcp::48001-<IP_ADDRESS>:23,hostfwd=tcp::48002-<IP_ADDRESS>:443,hostfwd=tcp::48003-<IP_ADDRESS>:830,hostfwd=udp::48004-<IP_ADDRESS>:161 -device virtio-net-pci,netdev=p001,bus=pci.1,addr=0x2,mac=52:54:00:0c:8c:01 -netdev socket,id=p001,listen=:10001 -device virtio-net-pci,netdev=p002,bus=pci.1,addr=0x3,mac=52:54:00:62:c6:02 -netdev socket,id=p002,listen=:10002 -device virtio-net-pci,netdev=p003,bus=pci.1,addr=0x4,mac=52:54:00:e4:7f:03 -netdev socket,id=p003,listen=:10003 -device virtio-net-pci,netdev=p004,bus=pci.1,addr=0x5,mac=52:54:00:32:79:04 -netdev socket,id=p004,listen=:10004 -device virtio-net-pci,netdev=p005,bus=pci.1,addr=0x6,mac=52:54:00:15:03:05 -netdev socket,id=p005,listen=:10005 -device virtio-net-pci,netdev=p006,bus=pci.1,addr=0x7,mac=52:54:00:dc:5c:06 -netdev socket,id=p006,listen=:10006 -device virtio-net-pci,netdev=p007,bus=pci.1,addr=0x8,mac=52:54:00:45:d8:07 -netdev socket,id=p007,listen=:10007 -device virtio-net-pci,netdev=p008,bus=pci.1,addr=0x9,mac=52:54:00:57:b5:08 -netdev socket,id=p008,listen=:10008 -device virtio-net-pci,netdev=p009,bus=pci.1,addr=0xa,mac=52:54:00:61:d4:09 -netdev socket,id=p009,listen=:10009]
     debug<PHONE_NUMBER> stdout logger provided, setting execute argument
     debug<PHONE_NUMBER> stderr logger provided, setting execute argument
      info<PHONE_NUMBER> qemu instance start complete
     debug<PHONE_NUMBER> instance started, waiting for start ready state
      info<PHONE_NUMBER> install logs available at '/tmp/boxen3404509520/install_build.log', or by inspect container 'ae8cd44cce1fc7beb7e29efc4d1d7980079f9bb80e5c554c9679f1bc19040366' logs
  critical<PHONE_NUMBER> package installation failed: instanceError: process already exited
  critical<PHONE_NUMBER> error running instance installation: commandError: docker wait indicates install container exited with non-zero exit code

anyway, feel free to close the ticket if you want, as I dont think its related to boxen, but more with something very specific of palo.. :)

launching instance with command is the emu command inside the container IIRC! because after the initial packaging (build base image, copy files in, copy boxen executable in, etc.) we then have to launch the image in the container so we can then get through initial config dialog and then save the image!

as I dont think its related to boxen, but more with something very specific of palo

heh, it may be a little of both! but I'm sure you'll get it sorted!
I'll close it out but feel free to reopen if there's a boxen related thing. im happy to review prs and get them merged, just not having much time/energy for active dev here. Thanks a bunch @BouchardClaude !
Carl

Hey @BouchardClaude
when you see this string in the logs install logs available at '/tmp/boxen3404509520/install_build.log' you should tail that log file and see what happens during the install, it might contain some more verbose error messages to understand whats causing the process to exit prematurely

thx @hellt  , I was actually looking at this !
Unfortunalty it only show
# cat /tmp/boxen3404509520/install_build.log
instanceError: process already exited

but then I tried to execute the container by itself with no args just to see if it would start and at leas crash with a more explicit error and I got this, So ill be looking on this side a bit see if its normal.
# docker run  ce0480971a65
panic: could not setup socket sender

goroutine 1 [running]:
github.com/carlmontanari/boxen/boxen/cli.packageInstall()
        /home/runner/work/boxen/boxen/boxen/cli/packageinstall.go:42 +0x25a
github.com/carlmontanari/boxen/boxen/cli.packageInstallCommands.func1(0xc00007bd70?)
        /home/runner/work/boxen/boxen/boxen/cli/packageinstall.go:22 +0x17
github.com/urfave/cli/v2.(*Command).Run(0xc0000eaea0, 0xc00007ea00)
        /home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/command.go:163 +0x5bb
github.com/urfave/cli/v2.(*App).RunContext(0xc0000bfa00, {0xa3d1d0?, 0xc00002c030}, {0xc000020040, 0x2, 0x2})
        /home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:313 +0xb48
github.com/urfave/cli/v2.(*App).Run(...)
        /home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:224
main.main()
        /home/runner/work/boxen/boxen/main.go:13 +0x45

thx for the hint !

let me try to package a veos or something else and see if I hit the same issue.. at least ill know if its related to my image or not!

panic: could not setup socket sender this is related to streaming logs from in the build container back to your machine... what OS are you running on? I wonder if some firewall-y magic is breaking that?

Sorry for the delay
Ubuntu 22
cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"
sudo ufw status
Status: inactive
sudo docker --version
Docker version 20.10.21, build baeda1f
What OS are you using? I can Test with the same setup..

I just tested with vEOS and it is working just fine !  So its someting that is only triggered by the panos build.
I'm using Ubuntu 22 LTS with firewall off , by chance do you know what os you use.. I can try the same and see if I get any luck.
thx for the help.

Interesting! I've built it on macOS (whatever is latest version), and on ubuntu 22 boxes (also ufw disabled).
the socket setup in theory should be super simple, things happen here and here -- you could add some more printing/checking around those places to try to see whats what maybe...

so this socket stuff is the same in every other image build process I presume,
so that error in panos is likely happening because some shit happened before it.
What may help you is to make sure that when you try and build panos, you clean up any stale containers with panos name that might be leftovers from previous runs.
I vaguely remember that I had issues with boxen (or rather maybe docker) not overwriting container images when I did multiple consequent build attempts.
So I added a hard clean up command to make sure everything is wiped off
docker rmi -f boxen_${FULLPLATFORM}:${VERSION} && \
rm -rf /tmp/boxen* && \
docker ps -a -q | xargs -n1 docker rm

good call -- I think there is a possibility of problems because the layers aren't like "normal" layers since we just build the base image then run it and copy stuff into it. so if we have a "bad" (for whatever reason) base image things can be broken and really difficult to see why!

Here are some news..
I did recompile the code with some print ( never touched go before, so I did learn some stuff ! )
and sent the version compiled with prints ( I used fmt, not sure better way to print out? ) to the intermediate docker to catch the error. I got:
root@7e0a7eb33623:/# ./boxen package-install
dial tcp <IP_ADDRESS>:6667: connect: connection refused&{0xc0000b1d40 <nil>}error creating socket connection

So I really try to make the connection to the host on port 6667, but that make me confuse as I'm expecting it to do it on port 6666 ? ( I did observe that boxen is staying on port 6666 )

is it just the wrong port or boxen on my host is suppose to spin another process listening on 6667 ?
thanks!

yeah, boxen on your host spins up a listening port, then we stream the logs from the container back to your host so you can watch the logs while it does its thing.

oh good to know, Ill try to figure out why I never saw 6667 on my netstats on the host then, It make sens that the docker is crashing if the port is just not listening !

just to correct my previous post : I  was wrong, it does listen on 6667 ( just for a moment ) ..
but its binded on the external ip address instead of listening on all ip like 6666. I wonder if its not Something related to docker nating the ip ...

Good news ! I figured out the issue, and it had really nothing to do with the logger.
I look like qemu was crashing right at start, leaving no time for any other process.
I tried to start Qemu with the same args from the debug on the host and saw it crashing with
kvm_buf_set_msrs: Assertion ret == cpu->kvm_msr_buf->nmsrs' failed`
After some research, i found this was a bug with nested virtualization, and after activating the cpu counter on the hypervisor, qemu was able to start properly.
now, I have new error with console read timeout  , but i now really feel that they are specific to palo alto, and that we can close this issue. ill work on those on my side and if I find any specific fix ill publish them on another topic.
Thanks @carlmontanari  and @hellt for the help ! sorry for the bad path of the logguer. at least I did learn some go !

Very nice detective work!! I think ultimately my crappy logger implementation is probably the culprit here! It doesn’t flush logs properly before things quit which made this harder on you. One of these days I’ll fix it … :)
anyway, I’m glad you have made some progress, and thank you a ton for reporting it all here! Good luck with the rest and let us know if anything else comes up!


Android: Network task runs in main thread.

There is an issue with the SearchActivity class that causes the Search Activity to lag for a couple of seconds. On line 70 of  SearchActivity.java a network request is made with Volley, but the request runs in main thread and causes a lag of a couple of seconds. It should ideally work on a worker thread for smooth UI.

Hello, I can't reproduce this issue. Also, aren't requests added to the request queue processed in other threads anyway ?

@foreverigor Can you please run the app in an emulator or you device.  Then click on the search icon at the top bar and try to search for an anime. It should lag for a couple of seconds. If it doesn't please notify me.
You are right requests are made in threads but they are not processed in threads. I made the same mistake assuming that. Thank you for taking an interest in the issue. If you would like to take the issue please tell me.

Yeah, this is what I tried. I also changed the internet connection to a slow one, but when I search for an title it just starts the spinning wheel and searches, can't see any lag.

@foreverigor Seems something is wrong in my side. Then usually what happens is the spinning wheel stops and lags for some time and then continues. But if the problem is not reproducible, there is no point in having this issue. Thank you for contributing.


[Fix #3351] Fix bad auto-correct for Performance/RedundantMatch cop.

The match method takes an argument of either a regex or a string. However, when we run auto correct, do_something if "foo.txt".match(".txt")  gets autocorrected to do_something if "foo.txt" =~ ".txt",  which results in TypeError: type mismatch: String given.  We should only autocorrect if match's argument is a regex.
Fixes https://github.com/bbatsov/rubocop/issues/3351

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests are passing.
[x] The new code doesn't generate RuboCop offenses.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.

Thanks!


[Feature Request] WinUI close button foreground

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
See following Describe.
Describe the solution you'd like
A clear and concise description of what you want to happen.

Native window in WinUI3 project.
Close button's foreground will be white-like color when mouse hoving.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

It seems that #35 is reproduced in 5.2.6.

Leave stuck until mouse moving over MicaWindow.

Fixed the issue permanently this time releasing version 5.2.7


information masking

Issue #, if available:
Description of changes: Account number was visible in the screenshot along with ARN. Replaced screenshot after masking ARN details.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Screen shot changes.


Failed to open Hyper on Win10

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: Win10 1709 Build: 16299.1029
Hyper.app version: 2.1.2
Link of a Gist with the contents of your .hyper.js:
Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):
The issue is reproducible in vanilla Hyper.app: Yes

Issue

Same issue here, but on Windows 8.1

Same issue with Windows 10.  I have searched the repo for possible solutions but have been unsuccessful.

This is a duplicate of #3442 so this should be closed. Basically the issue is caused by antivirus software and Microsoft's node-pty package that Hyper uses. Easy fix is to exclude some files in your antivirus software, more info here.


Clone of Wikipedia

Wikipedia features a straightforward structure that is always the same, along with a wealth of material that is simply divided into many parts.

@cleveranu I'm interested in working on it. May I have permission to tackle this issue?

thank you !!@cleveranu

@cleveranu
Does it have a deadline to complete this task ?

complete and submit it asap!

Sure

hey @cleveranu I have doubt
what exactly I need to Build?  A wikepedia page with same structure and what content should be there on that page ? or i have to create a search feature of wikipedia?
please guide me that would be a great help.
thank you


these 2 links seem to be broken

These 2 links seem to be broken, just fix them~

Coverage remained the same at 95.253% when pulling 3035e12e557559297deef2b8501f5a0ba88c448d on fanofxiaofeng:patch-1 into 69e843890c09861a168c6fe77d63fc72f0c73195 on apache:master.

Thanks! 👍


Unexpected call to terminal-api-live.adyen.com during rendering of Cart Page

Magento version: 2.3.2
Plugin version: 4.3.0
Description
Noticed on Cart Page traces in New Relic. It seems that the cart page is performing calls to terminal-api-live.adyen.com, as part of Adyen\Service\PosPayment::getConnectedTerminals
We don't expect this to happen (especially on the cart page, and especially since we are not using PosPayment)

Hi @matei ,
Thank you for raising this issue. It has been already fixed in this PR: https://github.com/Adyen/adyen-magento2/pull/515 which was released in the https://github.com/Adyen/adyen-magento2/releases/tag/4.5.0 .
If you have more Magento2 related questions please use our https://github.com/Adyen/adyen-magento2 repository to help us keep the related questions together :)
Best regards and Happy New Year!
Attila
Adyen


Roll Flutter Engine from 4f6180a2a577 to b10b9c8c5259 (3 revisions)

https://github.com/flutter/engine/compare/4f6180a2a577...b10b9c8c5259
2024-12-11<EMAIL_ADDRESS>Roll Skia from b2f13d9a5678 to 830bc24e0b98 (1 revision) (flutter/engine#57118)
2024-12-11<EMAIL_ADDRESS>Roll Dart SDK from f863f0b43625 to d87b2f6d2b03 (2 revisions) (flutter/engine#57110)
2024-12-11<EMAIL_ADDRESS>Roll Skia from 854eb19c722e to b2f13d9a5678 (1 revision) (flutter/engine#57114)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jonahwilliams<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Upload a secret object

Add a feature to upload a kubernetes secret object in the UI instead of filling the fields in the form. The secret can be sent to the API directly and in return we receive the corresponding sealed secret object.

To be honest, I like that the webgui is very lightweight and and has no input to kubernetes. If we add this kind of functionality, need to make sure it does not pose a security risk.


flathub package out of date

Description of the problem or steps to reproduce
The flathub package is out of date (it was added in #2546).  Can you please update it?
Also, it would be nice to add some official documentation for this installation source.

Unfortunately I don't think I have access to the flathub distribution so I cannot update it. Perhaps it can be documented as an unofficial installation method.

Ok.
@bit-r do you still have access to this and can troubleshoot the build?


ggThemeAssist result styles

At the moment, the results are one big theme string, e.g.
gg + theme(panel.grid.minor = element_line(size = 0.7, colour = 'black'),
    legend.text = element_text(size = 12),
    panel.background = element_rect(size = 0.7))

I guess it wouldn't be that difficulty to add an option for results like this:
gg <- gg + theme(panel.grid.minor = element_line(size = 0.7), colour = 'black') +
gg <- gg + theme(legend.text = element_text(size = 12)) +
gg <- gg + theme(panel.background = element_rect(size = 0.7))

What to you think? Is it worth the effort?

I don't like these multiple assignments.
And I think that a ggThemeAssist result string should be usable as an input string for ggThemeAssist as well.

i'm not sure folks will ever edit the resulting returned function object. i use multiple assignments b/c I think it makes the code cleaner and easier for me personally to work with (and i make some ok ggplots :-)

Anyway, I added an opional multiline mode. Just in case someone missed such a feature. :-)


Add "Intent Builder"

Providing an easy way to handle intent.
Links

一般的なインテント | Android デベロッパー

It's too many to implement, so I decided close this issue.
Now, I split the issue like this.

#3
#4
#5
#6
#7
#8
#9
#10
#11
#12
#13
#14
#15
#16
#17
#18
#19
#20
#21
#22
#23
#24
#25
#26


Patch/227/fix dynatrace config file parsing

This PR:

Fixes the struct tags on DynatraceConfigFile to ensure the YAML parsing works
Moves the parsing into common.go
Adds some basic unit tests

The PR aims to leave the parsing logic unchanged: this will be addressed in a future issue.

This PR replaces #223 which I closed


Show full resource

Find a way to display the full resource (typeahead, or other display) so the user has more information to determine which to use, etc.  Make sure the provenance of a resource is also readily at hand (as a typeahead result, etc.)

I've added URI resolution in a couple places.  One is in the values list - selected search results are now linked so clicking on them shows a modal with whatever is at the end of the URI, when passing along reasonable Accept headers.  The other is in the search results, where a mouseover for ~2 seconds pops up the same resolution data.  It's suboptimal due to the default behavior of the popup to disappear when the mouse is no longer over the original element, and the library is proving quite ornery in terms of extending it so a better behavior is possible.  But it seems close.

From other discussions, there are some considerations for a possible workflows:

In case what comes back is close but not all there, add the option to fork the data
Mapping of the original data structure to BIBFRAME is required
Probably what one would want is to see all the original data in a new record and allow the user to amend it as they envision
Finally, what gets saved would be a new record with all the original data with modifications and possibly a reference to the original URI where the data first came from