Add pdflatex-based tex maker.

Thanks!
I've pushed some fixups.  Please consider using a separate branch (and not master) for PRs in the future.

Merged, thanks again.
Please add it to the wiki: https://github.com/neomake/neomake/wiki/Makers

@blueyed @glacambre now everytime a user runs Neomake pdflatex creates LaTeX auxiliary files in the current directory (i.e. aux, log, pdf, etc.).
This can be annoying for those that, like me, use latexmk with a custom build directory.
What do you guys think?

However, this is not portable.

Because of using /tmp?  Vim has tempname() that could be used.
Should it be stable across runs then?  (at least for the same file)

Getting pdflatex to do real out-of-source builds is a real pain.
But @aldur, you are free to just disable the maker again by defining g:neomake_tex_enabled_makers. ;)

@languitar, I agree about the usefulness and I disabled it, but I spent a few minutes to understand what was creating that files for me. Since it "pollutes" the user environment, it doesn't seem like a reasonable maker to be enabled by default.

it doesn't seem like a reasonable maker to be enabled by default.

Agreed.
It sounds we should not enable it by default, and also add --output-directory.  Do you agree?

Can we use --output-directory /dev/null, or does it need to be a dir really?

Depends on the use case, generally, I would say. If pdflatex is used for linting, that would be ok. Otherwise, if someone would really want to use this to produce a PDF, that would be a bad idea.

OK, disabled it for now, and added a note to https://github.com/neomake/neomake/wiki/Makers.
Thanks for your feedback!


x980 - As TS (Katy) I want to specify the work number when I release a piece of labware (one for each labware), for this to be stored against the release, and shown in the history

Have an option in the UI to apply one work number to all indicated labware. The default value should be the work number associated with the indicated labware
Work number is not mandatory for releases.

Yes, I am half way through this on client side. But, of course we can discuss this maybe on tomorrow's standup?

yes of course, just speaking with minal and want to check what direction the feature is going in as x980 an x982 are similar but different :-)

@seenanair For this story we might need to release again completed work requests is it possible for the dropdown list for the worknumbers to be for all work request numbers?
sorry for not specifying that in the requirements

The dropdown lists all work numbers( which includes the completed as well), if 'active' box is unchecked.

Perfect thank you so much


Make put-file able to put multiple files

It'd be nice if pachctl could put multiple files with a single invocation of put-file.
I'm thinking maybe a syntax like:
pachctl put-file <repo> <commit> <path> -r -f /path/to/dir
would result in uploading all of the files found in /path/to/dir there names would be a concatenation of <path> and the files path on the local filesystem minus the /path/to/dir prefix.

I don't think this one has anything to do with the pfs refactor. I'm gonna remove the label.

This is now in master.


Sort package type dropdown

The dropdown used to select the package type should be sorted to preserve the following order:

Terasology Core bundled with modules
Terasology Core bundled with modules (nightly build)
Terasology Core only
Terasology Core only (nightly build)

With #612 the releases for a given profile (e.g., "Omega" or plain "Engine") are sorted by their release timestamp (i.e., the timestamp of the build).
The "Omega" profile with bundled modules is the default, and stable release are marked in bold face. Nightly builds are marked as "preview" to denote that they might be unstable.


Jitsi-Jibri installtion

Hello Friend,
Thanks for developing these scripts.
When I tried to run jitsi-jibri script on aws c5.2xlarge(16gb ram, 8 cpu, 95gb storage) ubuntu 20.4 OS, it installed succesfully. But when i tried to record the meeting, recording has started and after 3-4 sec it got failed. Can you please tell me the reason behind this.

Can you share the logs which are in /var/log/jitsi/jibri/ folder?
You may also continue this topic in the community forum

Hey, I pasted the logs. Please see it.

Sharing a few lines from log doesn't help. Please share all logs in the community forum by using a readable format.


Chore: Config Updates

is it fine to run prettier to align common coding styles applied across? For some reason I get a blank screen, though components are loaded in the login screen probably css issue which can be fixed later in the implementation ticket.

yeah its just scss, I will clean up the existing site over the next few days.


1.1.1-pre8 - spelling-error-in-manpage

spelling errors pointed out by Debian lintian:
doc/man3/SSL_CTX_sess_set_get_cb.pod:
-SSL_CTX_sess_get_get_cb() allow to retrieve the function pointers of the
+SSL_CTX_sess_get_get_cb() allow one to retrieve the function pointers of the
doc/man3/SSL_CTX_set_cert_verify_callback.pod
-allow to continue the connection in case of failure (by always returning 1)
+allow one to continue the connection in case of failure (by always returning 1)
doc/man7/RAND_DRBG.pod
-however, it will be necessary to explicitely specify a seed source during
+however, it will be necessary to explicitly specify a seed source during
doc/man3/X509_VERIFY_PARAM_set_flags.pod
-flag takes precendence over the B<X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT> flag.
+flag takes precedence over the B<X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT> flag.

and these warnings from lintian are somehow related to some too long lines:
usr/share/man/man1/ciphers.1.gz 230: warning [p 2, 2.2i]: can't break line
usr/share/man/man3/SSL_CTX_set_cipher_list.3.gz 179: warning [p 1, 6.8i]: can't break line

Those warnings about long lines are already in #6473.

I've submitted a PR for the first batch of errors.  I avoided the allow one to alternatives since the wording seemed incongruous with the usual style.


Replace namespaces with ES6 modules

Is your feature request related to a problem? Please describe.
We use this code generator for both server and client code and it worked perfectly until we decided to upgrade to v1.
Old version (with namespaces)
generated types
export namespace RebalancingPage {
  export type Variables = {
    selector: RebalancingSelector;
  }

  export type Query = {
    __typename?: "Query";

    rebalancing: Rebalancing | null;
  }

  export type Rebalancing = RebalancingQueryFragment.Fragment
}

app code
import {RebalancingPage} from "types";
let rebalancing: RebalancingPage.Rebalancing

New version (without namespaces)
generated types
export type RebalancingPageQueryVariables = {
  selector: RebalancingSelector
};

export type RebalancingPageQuery = ({ __typename?: 'RootQuery' } & { rebalancing: Maybe<({ __typename?: 'DiscretionaryRebalancing' } & RebalancingQueryFragment)> });

app code
import {RebalancingPageQuery} from "types";
let rebalancing: RebalancingPageQuery["rebalancing"]

With this approach our code can get unreadable very fast, for example we can end-up with a following type RebalancingPageQuery["rebalancings"][0]["title"]. Types like that are most of the time optional which causes even more changes in the previous code.
Describe the solution you'd like
Why not to replace/simulate namespaces using files together with es6 modules? Should be possible with a near-operation-file preset right?
  // RebalancingPage.ts

  export type Variables = {
    selector: RebalancingSelector;
  }

  export type Query = {
    __typename?: "Query";

    rebalancing: Rebalancing | null;
  }

  export type Rebalancing = RebalancingQueryFragment.Fragment

Describe alternatives you've considered
I tried to change the config to match my requirements. I was also considering to write own plugin. I also tried the alternative generator from Apollo team, which has a similar approach I've described above, but there are other issues with the Apollo generator.
I also tried to find an answer first. It looks like I am not the only one searching for this kind of answer: https://github.com/dotansimha/graphql-code-generator/issues/1602. Unfortunately namespaces are no go for us because we want to migrate our project to @babel/preset-typescript.

Hi @tomaswitek
We decided to drop TypeScript namespaces, because it was very hard to maintain. Having a single type per operation simplifies the output. We know that it was a bit more difficult to upgrade from <1, and that's why we published the typescript-compatibility plugin, that will generate intermediate types like you had before 1.0, and should make it easier for you to migrate.


Make sure researchers can view and edit the message text area on the Biblio messages tab

Improvement
Make sure researchers can view and edit the message text area on the Biblio messages tab.
https://github.com/ugent-library/biblio-backend/issues/516 is related
Success criteria

[ ] Researchers can see the message
[ ] Researchers can edit the message
[ ] Works for datasets and publications

Context
Current implementation for researchers

Expected


[Feature] 내 정보 페이지의 뼈대를 구현하라

내 정보 페이지에는 내 스터디 정보, 계정 설정 페이지가 Tab으로 존재한다.
로그한 사용자만 접근 가능하다.

Codecov Report

Merging #224 (134f391) into main (62eabcd) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #224   +/-   ##
=======================================
  Coverage   99.65%   99.66%
=======================================
  Files          98      102    +4
  Lines        1165     1179   +14
  Branches      134      134
=======================================
+ Hits         1161     1175   +14
  Misses          4        4

Impacted Files
Coverage Δ

src/App.jsx
100.00% <ø> (ø)

src/components/myInfo/MyInfoTab.jsx
100.00% <100.00%> (ø)

src/pages/myInfo/MyInfoPage.jsx
100.00% <100.00%> (ø)

src/pages/myInfo/MyStudyInfoPage.jsx
100.00% <100.00%> (ø)

src/pages/myInfo/ProfileSettingPage.jsx
100.00% <100.00%> (ø)

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 62eabcd...134f391. Read the comment docs.


from_pem implemented for Certificate, but TlsConnectorBuilder.identity still required Pkcs12

What would be the preferred method for supporting an identity given by pem, as well? Is there already a way to do this, that I am overlooking?

There is not yet. Supporting identities through non-PKCS#8 archives is filed as #27. It's doable, but complex for SChannel, and I haven't had a chance to get it working.

This is possible in nativetls 0.1, by explicitly using the OpenSSL backend:
        let mut ssl =
            openssl::ssl::SslConnectorBuilder::new(openssl::ssl::SslMethod::tls()).unwrap();
        // Server authentication
        ssl.set_ca_file(ca_certificate.clone()).unwrap();
        // Client authentication
        ssl.set_private_key_file(client_key.clone(), openssl::x509::X509_FILETYPE_PEM)
            .unwrap();
        ssl.set_certificate_chain_file(client_certificate.clone())
            .unwrap();
        ssl.check_private_key().unwrap();
        let builder: native_tls::TlsConnectorBuilder =
            native_tls::backend::openssl::TlsConnectorBuilderExt::from_openssl(ssl);

Yep, https://docs.rs/native-tls/latest/native_tls/struct.Identity.html#method.from_pkcs8 should cover this.


Add unit testing suite to the project

I've done several custom Spring Security implementations and it can be easy to introduce subtle bugs once you start adding/subtracting features. My vote is for Spock, but whatever works :-)

Owing to time constraints, I haven't spent time adding tests for pac4j implementations: most of the tests I'm doing are manual ones on the demo: https://github.com/pac4j/spring-security-pac4j-demo.
It's of course a good idea. I don't have any strong preference regarding the tests framework. Let's try Spok: start small and we'll see where we're going.


"Finta Veche", "Gheboaia" are listed in the drop-down menu

Description:
When user writes ”Finta Veche” and "Gheboaia" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Finta Veche"

Expected results
The location appears in the drop-down menu as "Sat Finta Veche, DÂMBOVIȚA (Finta)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Gheboaia"

Expected results
The location appears in the drop-down menu as "Sat Gheboaia, DÂMBOVIȚA (Finta)".


System error: Error updating success event

Environment

Deploy method:  docker-compose.yml
Jitsu version: 1.38.6
OS:  Ubuntu 20.04

Description
When producing multiple events in the JavaScript transformation, I noticed some errors in the server logs.
Steps to reproduce
https://jitsu.com/docs/configuration/javascript-transform#produce-multiple-events
Expected behavior
Don't break the update
Actual behavior
2022-02-02 04:32:41 [ERROR]: System error: [ktwn6lzng3hm3fzgkj1pc.14m0yezk2tzocjtno57dcd] Error updating success event {"_timestamp":"2022-02-02T04:30:43.619486Z", "event_type": "test"} in cache: ERR Error running script (call to f_acdd6b822c2267e8e5196d17bc2084af88d8640a): @user_script:7: @user_script: 7: Lua redis() command arguments must be strings or integers

Thanks for reporting this! Is that what PR#788 fixes or a different one?

This bugfix will be released in 1.39 this week.


"contact us" unreachable on iPad with longer article

on IPad, i have problems scrolling to the bottom of longer articles where contact us link is. the page keeps cropping it out of the frame
Video: https://monosnap.com/file/XTOJjJlxQnehOcfgGYxAPRZ1o3m2mK
same issue for iPhone: https://monosnap.com/file/EDrvCLtR5gYCHOph6Qy74fMNMfUjE0

Apparently the issue is caused by scrollableContent being oversized. I'll implement a fix by finding a way to properly size it :-)

Note regarding the issue itself: expanding the mobile booking header makes the issue worse by pushing even more content out.


The generic.scale attribute and the Size tag of phantoms are not taken into account

Right now the dimensions of every entity type is fixed with the exception of slimes and magma cubes for which we scale the entity width and height. This should also be done with phantoms (who are also scalable with a Size NBT tag). Furthermore the entity dimensions should be scaled if it the entity is living and has a non-default generic.scale attribute.

Thinking back on this one, the current released version of Iris is supposed to support Minecraft 1.20.3, which doesn't have the generic.scale attribute. If I do implement scaling with this attribute, it should most likely be its own version.
I should be able to fix the Size issue on phantoms though.


You can't write on Signs however you can Place them

Signs are kinda stupidly programmed, so I'm not sure how fixable this is

Have you tried getting good?

Absolutely and completely busted.

I'm now going to use this post for any time a sign related issue comes up, I can link back to this.


Does garnet support persistence?

Does Garnet support persistence?

Certainly, it supports caching beyond the size of memory, AOF, checkpoints, and can be persisted on SSD/HDD and Azure Storage devices. For more details, see the documentation: https://microsoft.github.io/garnet/docs/welcome/features#tiered-storage


Create Docker container for the bot

Start looking into using Docker for building and deploying the bot.

Released.


Chrisda to Master

Docs Build status updates of commit 41d70c2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-MailboxRepairRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

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


Btdf 6.0 release date

When are we going to get 6.0 version of Btdf? We are struggling to use Btdf where we developed the project in BTS 2013 using BTDF 5.5 but need to deploy the same in UAT and Prod with BTS 13 R2.
This work item was migrated from CodePlex
CodePlex work item ID: '10702'
Vote count: '2'

[REhret@8/26/2014]
Is the actual source code (v6.0 branch) is enough stable to be downloaded and builded ? Is there some key missing feature to get it work with VS 2013 and BTS 2013 R2 ?

[tfabraham@8/27/2014]
See tracking issue.

Issue closed by tfabraham with comment
Not a BTDF issue
Reason closed
Not BTDF


Add option::overwrite_with_some

In ::option we have already overwrite_none (Overwrite left with right only if left is None.)  and recurse (If both left and right are Some and implement Merge, recursively merge the two.), but when merging values that don't implement Merge (e.g. SocketAddress) from a CLI into a default config, I feel I'm missing overwrite_with_some. Because in the default configuration, there might be already optional values set as Some(T), but the CLI values should still have higher precedence.
/// Overwrite the left value with the right value if the right value is `Some`.
fn overwrite_with_some<T>(left: &mut Option<T>, right: Option<T>) {
    if right.is_some() {
        *left = right;
    }
}

I think that also addresses the removal of the blanket implementation for Option<T> from https://github.com/rustic-rs/conflate/blob/c70b6a50a2f43ad9c1f59b056908559f21dc9122/src/lib.rs#L139 :
impl<T> Merge for Option<T> {
    fn merge(&mut self, mut other: Self) {
        if !self.is_some() {
            *self = other.take();
        }
    }
}

Hello,
I don't know about conflate default strategies.
In a left-first strategy, the overwrite_none looks like default behavior (which is what is implemented in the blanket implementation you mention in https://github.com/rustic-rs/conflate/issues/31#issuecomment-2477990548
In a right-first strategy, then the overwrite_with_some would be expected to be the default strategy.
I agree both are needed.


Fix to Twitter share count

Hi,
There is an API I've been using to count Twitter shares, their service works well (ignores accounts with very few followers though, in their own words) : New Share Counts.
You may find an example of count here :
http://public.newsharecounts.com/count.json?url=http://js-socials.com/
Documentation : http://newsharecounts.com/done/
And some explanations about the way they count shares : http://newsharecounts.com/why-my-twitter-share-counts-are-so-wrong/
They don't seem to be willing to turn their API into a paid service (it's donation based which is great, I will definitely donate to them if it works well in the long run), so I guess that's reliable to use their API.
I don't understand how they could count the tweets for JSsocials even if Artem didn't create an account on NewShareCounts.com, but anyway ^^
I tried the folowing code in jssocials.min.js (I kept on purpose the JSsocials URL in, just to see if it works) :
twitter:{label:"Tweet",logo:"fa fa-twitter",shareUrl:"https://twitter.com/share?url={url}&text={text}&via={via}&hashtags={hashtags}",countUrl:"http://public.newsharecounts.com/count.json?url=http://js-socials.com/"}
It doesn't work.  :D Anything I may have done wrong ?

First, you need to define getCount function to read count from the result:
getCount: function(data) {
    return data.count;
}

Second, you need to parameterize countUrl so that it returns count for required resource, and not for js-socials:
countUrl: "http://public.newsharecounts.com/count.json?url={url}"
As for the service, I have not checked how it works, but share count for js-socials should be definitely more than 2, as this service returns.

Hi,
Yes I've done this. What I meant is that, as you can see here : https://jsfiddle.net/9zyL2wsn/4/
JSsocials never calls getCountValue in the case of Twitter, it seems.
Any idea why ?
Thanks for your answer and keep up the good work :)  :)

It's not called just because countUrl is empty for twitter. getCountValue is called only when there is a count info returned from the server.

Hi, I work with @tergra
The countUrl is filled in our example : https://jsfiddle.net/9zyL2wsn/4/ (line 6 of javascript panel).
And the URL http://public.newsharecounts.com/count.json?url=http://beastof.com/fr/q/comment-maigrir-simplement-pour-plaire-a-votre-homme/?show_answer=713#answer_713 return :
{
"url":"https://beastof.com/fr/q/comment-maigrir-simplement-pour-plaire-a-votre-homme/?show_answer=713",
"count":0,
"tracked":0,
"historic":0
}

But getCountValue is not called for twitter.

And I have created the getCount function for the share twitter on line 7. But it doesn't work.

@lolozere: If you open browser console, you see the following message:
Mixed Content: The page at 'https://jsfiddle.net/tLxe5nt5/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://public.newsharecounts.com/count.json?url=http%3A%2F%2Fbeastof.com%2F…r-simplement-pour-plaire-a-votre-homme%2F%3Fshow_answer%3D713%23answer_713'. This request has been blocked; the content must be served over HTTPS.

Using https instead of http for your count url will fix the issue.

ok thank you very much !!


How to do a wildcard registration

I cannot find in the documentation how to do a wildcard registration via win-acme.
thanks

You can input a wildcard the same way you input regular domains. E.g. by creating an HTTP binding for it in IIS, manually typing it in or including it in a CSR.

thanks a lot - managed


the mxnet link for installation seam do not work

the link in the readme file is http://mxnet.incubator.apache.org/get_started/install.html

I guess this issue should be raised at mxnet git :)

Since I got another install page that worked I thought that was not update .. but now is it seam to work so I will close the issue.


feat: added commitlint

Hey @EddieCornelious, did you want to do a PR but you have some issues?

I called it a feat instead of a chore.

Use
git rebase -i
to Change th commit message

@EddieCornelious I see that you removed the forked repo. Do you still want to finish this PR? Let me know if you need help😊

@strdr4605 I won't finish it


mock(FileUtils).rm does not remove the file

The mocks in (at least) it "cleans up if exporting into an existing dir" in systemd_spec.rb causing the files not to be deleted. It seems RR does not support a pendant of rspecs and_call_original.
This seemed to work in previous cases, but it took me a while to identify. In two cases this made problems:

https://github.com/krissi/foreman/blob/instantiate-systemd-services/lib/foreman/export/systemd.rb#L31
https://github.com/krissi/foreman/blob/instantiate-systemd-services/lib/foreman/export/base.rb#L106 I would have been used FileUtils.rmdir instead of #rm_r to not delete foreign files by accident.

I think this does not need to be solved immediately and can wait until e.g. rspec is upgraded to 3 something.

I have no plans to upgrade the testing infrastructure in foreman so I'd happily accept a PR to fix this.


As a proficient programmer / TA, I can navigate ProgrammerError seamlessly with the use of Unix command

,.. so that I can efficiently manage my class.

I can draft out sample Unix commands for View, Update, Help so you guys can know what commands to expect.

Existing commands
Delete: delete <STUDENT_NUMBER>
Exit: exit
Help: help
List: list
Our commands:
Add: add -n <NAME> -sid <STUDENT_ID> -cid <CLASS_ID>
Update: update -sid <STUDENT_ID> -grade <GRADE_SCORE>
Purge: purge
View: view -n <NAME>


"Mobile Mode"

For a portable version that runs on a raspberry the UI needs to be optimized.
The logos/icons need to be scaled, the font size adapted.
The ui needs to be started with certain arguments.
It would also make sense to open up a virtual keyboard when an input field is opened when the UI is in mobile mode.
The target resolution would probably be something like 640x480, because this is often used for Raspberry Screens (but it should work for most 'low-res' modes.

For reference, this is the "best-looking" screenshot I got on a RPi 4 with an 800x480px screen.

This is somewhat usable, but especially the input fields in the spectrometer settings are problematic.
Launch command:
QT_AUTO_SCREEN_SET_FACTOR=1 nqrduck

(Sometimes it renders correctly without the environment variable, but if it does, I still can't interact.)
This is the .config/NQRduck/NQRduck.ini I used:
[General]
font=DejaVu Sans Mono
font_size=6
module_order=nqrduck-measurement, nqrduck-spectrometer
style_factory=Fusion

On top of that, I hid the task bar in .config/wf-panel-pi.ini by adding the following lines to the [panel] section:
[panel]
autohide=true
autohide_duration=500

And I removed the title bar in .config/wayfire.ini:
[decoration]
ignore_views = title contains "NQRduck"

[window-rules]
nqrduck = on created if title contains "NQRduck" then maximize

Thank you very much! The large icons are definitely a problem, and because screen space is quite precious on such a small screen it's probably best to disable e.g. the question marks in"mobile mode".

There should probably be an install script for raspberries that does the config stuff in wf-paniel.ini and wayfire.ini.

Something like this?
#!/bin/bash

# Function to display help message
show_help() {
    echo "Usage: $0 [venv_path]"
    echo "  venv_path: The path where the virtual environment will be created"
    echo "Example: $0 my_venv"
}

# Check for help option or no arguments
if [[ "$1" == "-h" ]] || [[ $# -eq 0 ]]; then
    show_help
    exit 0
fi

# Check for the correct number of arguments
if [[ $# -ne 1 ]]; then
    echo "Error: Invalid number of arguments."
    show_help
    exit 1
fi

VENV_DIR="$1"

# Use apt to install dependencies
echo "Installing required system packages. You may be asked to provide your password."
sudo apt update
sudo apt install python3-pyqt6

# Check if the virtual environment directory already exists
if [ ! -d "$VENV_DIR" ]; then
    # Create a virtual environment
    python3 -m venv --system-site-packages "$VENV_DIR"
else
    echo "Virtual environment '$VENV_DIR' already exists. Upgrading."
    python3 -m venv --upgrade --system-site-packages "$VENV_DIR"
fi

echo "Virtual environment '$VENV_DIR' created."

# Install the package into the virtual environment
source "$VENV_DIR/bin/activate"
pip install "nqrduck[base] @ git+https://github.com/nqrduck/nqrduck"
echo "nqrduck installed in virtual environment '$VENV_DIR'."
deactivate

# Set up NQRduck config file
mkdir -p ~/.config/NQRduck

{
echo "[General]"
echo "font=DejaVu Sans Mono"
echo "font_size=6"
echo "module_order=nqrduck-measurement, nqrduck-spectrometer"
echo "style_factory=Fusion"
} > ~/.config/NQRduck/NQRduck.conf

echo "NQRduck configuration written."

# Set up Wayfire config

{
echo "autohide=true"
echo "autohide_duration=500"
} >> ~/.config/wf-panel-pi.ini

{
echo ""
echo "[decoration]"
echo "ignore_views = title contains "NQRduck""
echo ""
echo "[window-rules]"
echo 'nqrduck = on created if title contains "NQRduck" then maximize'
} >> ~/.config/wayfire.ini

echo "Wayfire configuration modified."

echo "Setup complete."

I thank you for your motivation my duck. Mobile mode seems to be close to your heart :D

Quack. :duck:

Just FYI, this.

Just FYI, this:

(And connecting the LimeSDR to the RPi causes serious power supply issues.)


Ubuntu.sh: All use outside of firmware tree

@dagar This adds intro/usage docs to ubuntu.sh script and also checks for requirement.txt if it is not present.
The assumption is that this will be used like the current script - you download both ubuntu.sh and requirements.txt to same folder and then run the setup.
Or were you envisaging we tell people to just download the firmware tree and run it in place?  That's probably easier?

Or were you envisaging we tell people to just download the firmware tree and run it in place? That's probably easier?

Likely both. A lot of setups won't even have git initially.
The next important piece (in my mind at least) is that you can safely re-run the scripts over and over again (idempotence) to make sure your machine has everything it needs for that particular firmware revision.

@dagar

The next important piece (in my mind at least) is that you can safely re-run the scripts over and over again (idempotence) to make sure your machine has everything it needs for that particular firmware revision.

You OK with swapping to this script (in devguide) before any such fixes made?
Is there any reason you think that this script is not idempotent? By inspection it looks like it is - the python and apt install stuff just skips anything already installed. There is a bit of extra nuttx installation on top of that, but it all checks for installation before running.

@dagar Ran this a bunch of times. It has a bug is that it always downloads and installs GCC even if it is already installed even though there is code to prevent that. This is because the value/line below is always 0. Thoughts?
STATUSRETVAL=$(echo $GCC_VER_STR | grep -c "${NUTTX_GCC_VERSION}")

Otherwise it seems to be "idempotent"


Remove MiqDbConfig in favor of Rails config.

The UI was the only location using MiqDbConfig.get_db_types, and only
to determine the display name for the diagnostics screen, so it moved
there.
DatabaseBackup.backup_supported? was the only location using the
:name property of MiqDbConfig (e.g. "internal", "external_evm").
However, the code just cares that it's PostgreSQL, so instead we
can just use the "adapter" property of the database configuration,
and can remove the :name property.
The ApplianceConsole was the only location using MiqDbConfig#save, but
it was really only being used for joining the region, so joining a
region was moved there as a separate script to be run through Rails
runner.
All of the other callers to MiqDbConfig called
MiqDbConfig.current.options, which is the same as calling
Rails.configuration.database_configuration[Rails.env] with the only
difference being the former has Symbol keys and the latter has String
keys.

The reason I did this is because the MiqDbConfig spec is the only thing left that is failing on my configuration_revamp branch.  I found myself doing all this refactoring and moving on the branch to make it work, so I am pulling it out separately.
@jrafanie Here's for you leg :moneybag: :poultry_leg:
@kbrock :wink:

:heart: this PR.  Fix the minor RSpec issues due to string casing, and this is good to go, IMO.  :+1:

This is @kbrock's dream come true.
:+1:

The test failure looks odd, case sensitive query expectations?
  1) AR Regions extension .my_region_number reads region from the database
     Failure/Error: id_to_region(connection.select_value("SELECT last_value FROM miq_databases_id_seq"))

       #<ActiveRecord::ConnectionAdapters::PostgreSQLAdapter:0x000000084e2728> received :select_value with unexpected arguments
         expected: ("select last_value from miq_databases_id_seq")
              got: ("SELECT last_value FROM miq_databases_id_seq")
        Please stub a default value first if message might be received with other args as well.
     # ./lib/extensions/ar_region.rb:128:in `region_number_from_sequence'
     # ./lib/extensions/ar_region.rb:139:in `discover_my_region_number'
     # ./lib/extensions/ar_region.rb:25:in `my_region_number'
     # ./spec/lib/extensions/ar_region_spec.rb:151:in `block (3 levels) in <top (required)>'
  2) AR Regions extension .my_region_number falls back to region 0
     Failure/Error: id_to_region(connection.select_value("SELECT last_value FROM miq_databases_id_seq"))

       #<ActiveRecord::ConnectionAdapters::PostgreSQLAdapter:0x000000084e2728> received :select_value with unexpected arguments
         expected: ("select last_value from miq_databases_id_seq")
              got: ("SELECT last_value FROM miq_databases_id_seq")
        Please stub a default value first if message might be received with other args as well.
     # ./lib/extensions/ar_region.rb:128:in `region_number_from_sequence'
     # ./lib/extensions/ar_region.rb:139:in `discover_my_region_number'
     # ./lib/extensions/ar_region.rb:25:in `my_region_number'
     # ./spec/lib/extensions/ar_region_spec.rb:159:in `block (3 levels) in <top (required)>'

Sorry - started to scope creep you.
maybe we can circle back and fix the appliance_console -> rails interface/api at a later time

I updated the PR with the fixes and one or two comments handled.  The rest I am going to move out to a separate PR, because they are kind of unrelated and can be made separate.

Hold on merging... @jrafanie might have found something where I missed a feature and accidentally dropped it.


Durable AMQP result backend cannot be disabled

TASK_RESULT_DURABLE is always set to true, even when otherwise specified in Client(options).
From the readme:
When using AMQP as result backend with celery prior to version 3.1.7 the result queue needs to be non durable or it will fail with a: Queue.declare: (406) PRECONDITION_FAILED.
var celery = require('node-celery'),
    client = celery.createClient({
        CELERY_TASK_RESULT_DURABLE: false
    });

However, the code that has the intention of checking whether the setting has been set is testing the boolean value of the option and reversing it:
https://github.com/mher/node-celery/blob/master/celery.js#L30
self.TASK_RESULT_DURABLE = self.TASK_RESULT_DURABLE || true; // Set Durable true by default (Celery 3.1.7)

Workaround is to set the fallback to false.

Can you create a pull request?

Fixed by #47


feat(container): use uuid instead of strings

Parse the uuid when converting the event.

I am splitting the bigger PR of the database in smaller ones to make it more manageable.


Make Fixture

We should make some Fixture for User /  Ticket etc..
When you come at "My tickets" page for example we have some error :

The fixture could fix the problem and will boost the project.

We need to make fixtures to provide priority as well
Ex :

Low
Medium
High
Critical

Example of fixtures :

TicketStatus

open
closed
pending
in_progress

TicketPriority

low
medium
high
critical

TicketCategory

Question
Problem
Bug
Suggestion

In relation with https://github.com/Mapsred/TicketingBundleDemo/issues/13


 Since there's no type associated with $1 IS NULL sqlc fails: nodes.ResTarget has nil name.
I can fix this by re-ordering the WHERE clause:
SELECT *
FROM users
WHERE
  (name = $1 OR $1 IS NULL);

But now the generated type is string instead of sql.NullString

Hi!
Related to this issue, how can i generate a pointer type for parameters?
-- schema.sql
CREATE TABLE users (
    id BIGSERIAL PRIMARY KEY,
    email TEXT NOT NULL UNIQUE,
    full_name TEXT NOT NULL
);

-- queries.sql
-- name: UserList :many
SELECT * FROM users
WHERE
(email = $1 or $1 IS NULL) AND
(full_name = $2 or $2 IS NULL) ;

Currently, SQLC generated:
type UserListRequest struct {
  Email     string  `protobuf:"bytes,1,opt,name=email,proto3,oneof" json:"email,omitempty"`
  FullName  string  `protobuf:"bytes,2,opt,name=full_name,json=fullName,proto3,oneof" json:"full_name,omitempty"`
}

But, Because we want Email, FullName are options (when user do not provide -> will skip it in SQL statement), so, we need:
type UserListRequest struct {
  Email     *string  `protobuf:"bytes,1,opt,name=email,proto3,oneof" json:"email,omitempty"`
  FullName  *string  `protobuf:"bytes,2,opt,name=full_name,json=fullName,proto3,oneof" json:"full_name,omitempty"`
}

Seems like a pressing issue, optional parameters is something really common.
Changing the model (schema) to "nullable" with a default is not a viable option (forcing sql.NullXXX) and I'm not sure how overrides can help, since the input is not a part of the schema, we need a way to create nullable inputs :o:
I would be happy to submit a PR but I would appritiate some pointers to where to start <3

Hi! Any news on this one?

I'm going to split this into two separate issues. The original query in this issue is still causing sqlc generate to fail.
The other part of this issue deals with marking parameters as nullable. I've created a new issue (#1155) to track this where we can discuss possible solutions.

This has become a real bummer for me.  I am trying to port some boring "take REST request and turn it into SQL query" code to Go and I would like to use sqlc; the REST API has optional inputs which become clauses on the WHERE clause, just like the above example.  I feel really stuck at this point, and I think I will have to abandon using sqlc in this project as result.  I'm back to writing boilerplate again.  Maybe someone else has a clever workaround I've missed?

@danielbprice I'm stuck at exactly the same issue. I found no solution to this and it looks like this is because sqlc completely relies on a 1:1 mapping between the schema definition and the query, which is, more often than not, very not reality. I have about 300 different queries and more than half of them I'm unable to map it with sqlc. So it's time to say hello to good old sqlboiler.

@danielbprice I'm stuck at exactly the same issue. I found no solution to this and it looks like this is because sqlc completely relies on a 1:1 mapping between the schema definition and the query, which is, more often than not, not reality. I have about 300 different queries and more than half of them I'm unable to map it with sqlc. So it's time to say hello to good old sqlboiler.

Yep. I had to abandon using this. Just use some orm like gorm or bun.

@louis77 @imraan-go since I wanted to stick with sqlc for now, I've taken to adding some bool inputs to do what I want.  It's not super convenient but not terrible either:
-- name: GetThings :many
SELECT *
FROM things
WHERE
  color = sqlc.arg('Color') AND
  (NOT sqlc.arg('HasCreatedFrom')::bool OR (created >= sqlc.arg('CreatedFrom'))) AND
  (NOT sqlc.arg('HasCreatedTo')::bool OR (created < sqlc.arg('CreatedTo')))
LIMIT sqlc.arg('Limit')
OFFSET sqlc.arg('Offset');

This is icky in my personal opinion but it would certainly be pretty easy to rip and replace (for my use case) if this gets fixed.  300 queries is a lot, my sympathies.

1.14.0 includes sqlc.narg which generates nullable arguments.
CREATE TABLE users ( name TEXT NOT NULL );

-- name: ListUsers :many
SELECT *
FROM users
WHERE
  (name = sqlc.narg('name') OR sqlc.narg('name') IS NULL);

https://play.sqlc.dev/p/b3a469bb92eace4537a8268b12722ff1d445336ad6a77b9068ecba582381f16a

Hi guys, how about optional where in arg ? any example ?

1.14.0 includes sqlc.narg which generates nullable arguments.
CREATE TABLE users ( name TEXT NOT NULL );

-- name: ListUsers :many
SELECT *
FROM users
WHERE
  (name = sqlc.narg('name') OR sqlc.narg('name') IS NULL);

https://play.sqlc.dev/p/b3a469bb92eace4537a8268b12722ff1d445336ad6a77b9068ecba582381f16a

hey kyle, how can I use this with COALESCE? (e.g. ... LIMIT COALESCE(sqlc.narg('limit_val'), 10)) currently this syntax returns "unsupported reference type: "

COALESCE

Hmm, that is weird. my code is like yours but I get the error.
-- name: ListSample :many
SELECT id,
    title,
    created_at,
    updated_at
FROM sample
WHERE (
        title ILIKE sqlc.narg('title')
        OR sqlc.narg('title') IS NULL
    )
    AND (
        created_at >= sqlc.narg('start_created_at')
        OR sqlc.narg('start_created_at') IS NULL
    )
    AND (
        created_at >= sqlc.narg('end_created_at')
        OR sqlc.narg('end_created_at') IS NULL
    )
ORDER BY created_at DESC OFFSET sqlc.narg('offset_val')
LIMIT COALESCE(sqlc.narg('limit_val'), 100);

but both of these lines work:
LIMIT @limit_val;

LIMIT sqlc.narg('limit_val')@limit_val;

sqlc.yaml:
version: "2"
sql:
  - engine: "postgresql"
    queries: "db/queries/"
    schema: "db/migrations/"
    gen:
      go:
        package: "db"
        sql_package: "pgx/v5"
        out: "db"

sqlc version : v1.19.0

@omid9h, I tried to replicate your setup on the sqlc playground, and I had no luck getting it fire the error you mentioned.
https://play.sqlc.dev/p/4a9082b92e8aa9a5f1801a14b9282130a9c2ae1d5a5f47da40b7617c03fd65f3
Can you review that and see if I made a mistake?  I had to guess the schema, translate your config to JSON, and tweak it for the filenames of the playground, but your query is the same.  I assume what you are saying is that the code doesn't compile, right?  I'm sorry I can't help you more!  Maybe someone else will know.

After some tests, I have been able to make it works with LIMIT.
All you have to do is to cast the argument into int. So, in your case @omid9h:
LIMIT COALESCE(sqlc.narg('limit_val')::int, 100);

Also works on the example of @danielbprice: https://play.sqlc.dev/p/1bd81d42563767cc41714bd39570eba50ca17adc81bdee07ebab0d9ac8f7566f


Implement FromObject for Object

This allows to get back a "dynamic" object from functions that return <T: FromObject>.
My workaround is to do:
#[derive(Deref)]
struct Object(oxi::Object);

impl FromObject for Object {
    fn from_object(object: oxi::Object) -> Result<Self, conversion::Error> {
        Ok(Self(object))
    }
}

but this would be nice to have in the library, especially as it would be a 4 line implementation

IIRC this worked at some point

closed by 5d07ef6c16b7fb57730d1df7633d35524d7f2a92


The blocks in the 'Messages' category in the NXT robot produce server errors

Describe the bug

The blocks belonging to the category 'Messages' produce server errors when they are used in the program and the simulation is opened.

To Reproduce
Steps to reproduce the behavior:

Create a new program in the NXT robot.
Click on the category 'Messages'.
Use any of the blocks in the  'Messages'  category.
Open the simulation.

Expected behavior

When blocks in the 'Messages' category are used and the simulation is opened, a warning that states "Unfortunately you cannot use this block in the simulation" must be displayed instead of the server error.

Screenshots

Device information

Type : Desktop
OS : MacOS
Browser: Chrome

Resolved by GCI student.


Linux shortcuts for Project Tab missing

Linux shortcuts for Project Tab missing

@nextgenthemes Is this a duplicate of #66?

No its not.

Could you please give some more info on the issue you're experiencing?

May have to do with this: https://github.com/atom/atom/issues/2068 I can not trigger the shortcuts for tabs
ctrl-cmd-tab
ctrl-shift-cmd-tab
Not sure if this is the right way to declare them since PCs do not have a cmd key. If atom considers them cmd as super key I do not know.

Ah I see what you mean! They should probably be ctrl-alt-tab on windows and linux. I'll open up a PR for this.


Flash security box is not hiding if user deny

Hi,
If user deny the access to mic, flash "div" still there. how to trigger hide option if user click deny button.
and other thing there are two flash security windows are opening, while asking for permission? is both required?
Is possible to focus on privacy tab instead of focusing on Microphone volume tab?
Thanks
Peter

I can hide this at record callback "start" function. but for deny how can I hide this?
And how can I change focus on tab by default to "privacy"

@peterkr
"And how can I change focus on tab by default to "privacy"
-ever figure that out?

the latest update fixes the flash hiding issue finally. sorry for being so late/lame :/ showing the privacy tab is not possible yet.


Laravel adminLTE given problem during installation setup

HI I have follwed the following instructions or steps

composer create-project --prefer-dist laravel/laravel laravelLTE
cd web directory

php artisan migrate

modified laravel/app/Providers/AppServiceProvider.php changing it to
public function boot()
{
Schema::defaultStringLength(191); //added this line
}

composer global require "acacha/admin-lte-template-laravel:4.*" in bash command line

composer update

added Acacha\AdminLTETemplateLaravel\Providers\AdminLTETemplateServiceProvider::class, to providers array
and
added 'AdminLTE' => Acacha\AdminLTETemplateLaravel\Facades\AdminLTE::class, to aliases array
to config/app.php

----> I got this error
[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'App\Providers\Schema' not found
followed by this error

Script php artisan optimize handling the post-update-cmd event returned with error code 255

Then from the bash command line
php artisan vendor:publish --tag=adminlte -force

and I got this error
[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'Acacha\AdminLTETemplateLaravel\Providers\AdminLTETemplateServiceProvider' not found
Please what are my doing wrong. Any help would be appreciated.
I am using laravel 5.4.36
I am using php 5.6.25
and I am also having problem setting the domain or url to e.g. laravel.dev

Have you imported the Schema class in /AppServiceProvider.php because the error your getting says it cant find that class.

It seems to me that your problem is not related with this package? Maybe you want to ask for support about Laravel in https://stackoverflow.com/questions/tagged/laravel


Introspection doesn't work on custom extensions

Given the following schema:
create extension if not exists citext;

create table if not exists users (
  id serial primary key not null,
  email citext not null unique,
  location point not null,
  first_name text not null,
  last_name text not null,
  created_at timestamp not null default now()
);

When you introspect the email column, you'll get USER_DEFINED.
I quickly pulled the column query from xo to double-check:
SELECT
a.attnum,
a.attname,
format_type(a.atttypid, a.atttypmod),
a.attnotnull,
d.description,
pg_get_expr(ad.adbin, ad.adrelid),
COALESCE(ct.contype = 'p', false)
FROM pg_attribute a
JOIN ONLY pg_class c ON c.oid = a.attrelid
JOIN ONLY pg_namespace n ON n.oid = c.relnamespace
LEFT JOIN pg_constraint ct ON ct.conrelid = c.oid AND a.attnum = ANY(ct.conkey) AND ct.contype IN('p', 'u')
LEFT JOIN pg_attrdef ad ON ad.adrelid = c.oid AND ad.adnum = a.attnum
LEFT JOIN pg_description d ON d.objoid = a.attrelid AND d.objsubid = a.attnum
WHERE a.attisdropped = false AND n.nspname = $1 AND c.relname = $2 AND a.attnum > 0
ORDER BY a.attnum

results the email column having a citext datatype.

Ancient issue that needs to be retested, and then can probably be closed.

This can be closed. We have support for citext via native types now and any unsupport extension will use the Unsupported type in introspect.


about the "undici" error

hello,when I send a message about "Write a singleton pattern in Java.",it throw a "undici" error:
/app/qqbot/service/bin/node_modules/undici/lib/fetch/index.js:1921
fetchParams.controller.controller.error(new TypeError('terminated', {
^
TypeError: terminated
at Fetch.onAborted (/app/qqbot/service/bin/node_modules/undici/lib/fetch/index.js:1921:49)
at Fetch.emit (node:events:390:28)
at Fetch.emit (node:domain:475:12)
at Fetch.terminate (/app/qqbot/service/bin/node_modules/undici/lib/fetch/index.js:93:10)
at Object.onError (/app/qqbot/service/bin/node_modules/undici/lib/fetch/index.js:2062:34)
at Request.onError (/app/qqbot/service/bin/node_modules/undici/lib/core/request.js:265:27)
at null.errorRequest (/app/qqbot/service/bin/node_modules/undici/lib/client.js:1739:13)
at TLSSocket.onSocketClose (/app/qqbot/service/bin/node_modules/undici/lib/client.js:998:5)
at TLSSocket.emit (node:events:402:35)
at TLSSocket.emit (node:domain:475:12)

how can i do for that?

@leo-je as a temporary constraint, this package requires node >= 18 because of this undici issue. See the note at the top of the readme for details.

my nodejs version is 19.2

@leo-je as a temporary constraint, this package requires node >= 18 because of this undici issue. See the note at the top of the readme for details.
But sometimes it is successful.It may be my network problem.

TypeError: terminated
at Fetch.onAborted (node:internal/deps/undici/undici:14178:53)
at Fetch.emit (node:events:513:28)
at Fetch.emit (node:domain:489:12)
at Fetch.terminate (node:internal/deps/undici/undici:13438:14)
at Object.onError (node:internal/deps/undici/undici:14273:36)
at Request.onError (node:internal/deps/undici/undici:7758:31)
at errorRequest (node:internal/deps/undici/undici:9917:17)
at TLSSocket.onSocketClose (node:internal/deps/undici/undici:9368:9)
at TLSSocket.emit (node:events:525:35)
at TLSSocket.emit (node:domain:489:12) {
[cause]: SocketError: other side closed
at TLSSocket.onSocketEnd (node:internal/deps/undici/undici:9347:26)
at TLSSocket.emit (node:events:525:35)
at TLSSocket.emit (node:domain:489:12)
at endReadableNT (node:internal/streams/readable:1359:12)
at pr.....
}
}
}

I still have this problem. Node version 18.4


[Feature request] Make it more powerful

I have been looking for a normal extension for the terminal for a long time but did not find it. Script Runner suits my needs more or less. I wrote to the author what needs to be corrected and added, but he does not answer. Can you please look at my feature requests and add them to your extension?
Here is my settings (in settings.json) for the Script Runner (I'm on Windows, commands are for cmd or powershell):
 "script-runner.statusBar": true,  "script-runner.definitions": {     "variables": {       "$path": "D:\\Documents\\Development",     },     "commands": [       {         "identifier": "Angular 1",         "description": "Angular - create project + ESlint + CSS",         "command": "ng new $var1 --style=css --routing=false; cd $var1; ng add @angular-eslint/schematics --skip-confirmation=true; ng lint; code -r .",         "working_directory": "$path",         "form": [           {             "variable": "$var1",             "question": "Project name"           }         ]       },       {         "identifier": "Angular 2",         "description": "Angular - create project + ESlint + CSS + Routing",         "command": "ng new $var1 --style=css --routing=true; cd $var1; ng add @angular-eslint/schematics --skip-confirmation=true; ng lint; code -r .",         "working_directory": "$path",         "form": [           {             "variable": "$var1",             "question": "Project name"           }         ]       },       {         "identifier": "Angular 3",         "description": "Angular - create project + ESlint + SCSS",         "command": "ng new $var1 --style=scss --routing=false; cd $var1; ng add @angular-eslint/schematics --skip-confirmation=true; ng lint; code -r .",         "working_directory": "$path",         "form": [           {             "variable": "$var1",             "question": "Project name"           }         ]       },       {         "identifier": "Angular 4",         "description": "Angular - create project + ESlint + SCSS  + Routing",         "command": "ng new $var1 --style=scss --routing=true; cd $var1; ng add @angular-eslint/schematics --skip-confirmation=true; ng lint; code -r .",         "working_directory": "$path",         "form": [           {             "variable": "$var1",             "question": "Project name"           }         ]       },       {         "identifier": "Angular 5",         "description": "Angular - create project (interactive mode)",         "command": "ng new $var1 --style=$var2 --routing=$var3; cd $var1; ng add @angular-eslint/schematics --skip-confirmation=true; ng lint; code -r .",         "working_directory": "$path",         "form": [           {             "variable": "$var1",             "question": "Project name"           },           {             "variable": "$var2",             "question": "CSS or SCSS?",             "options": [               "css",               "scss"             ]           },           {             "variable": "$var3",             "question": "Install roating?",             "options": [               "true",               "false"             ]           }         ]       },       {         "identifier": "C# - console",         "description": "C# - create new console project",         "command": "dotnet new console -o $var1; cd $var1; code -r .",         "working_directory": "$path",         "form": [           {             "variable": "$var1",             "question": "Project name"           }         ]       },       {         "identifier": "C# - asp.net",         "description": "C# - create new asp.net",         "command": "dotnet new web -o $var1; cd $var1; code -r .",         "working_directory": "$path",         "form": [           {             "variable": "$var1",             "question": "Project name"           }         ]       }     ]   },

Hi BachiMjavanadze.
I'll answer for your feature request.
In conclusion, your feature request is rejected.
The reason is that it takes time and effort, but I do not feel attractive.

[Feature request] Group commands #15
I believe this functionality requirement can be met by creating a folder and creating commands under it.

[Feature request] Contex menu commands #16
I think the request is to switch the content of the command for each folder path, but if the project changes, the folder structure will also change.
Also, I think there is a pattern where the folder path is the same but the language is different.
Frankly, it's a pain to think about.
I think it would be easier to create a folder for each category and have a set of commands.

[Feature request] Form options object #17
I did not understand the content of the request, but it seems that vscode-script-runner can dynamically assembule command contents in an interactive manner, so I guess it is a request related to that.
This extension does not have that feature.
This extension can be configured to just paste the command into the terminal instead of executing it on a command-by-command basis.
If necessary, you can edit and run the command pasted into the terminal.
Frankly, it is lame, but I don't think it is much of a problem for practical use.

We apologize for not meeting your expectations.
Thanks for reporting the issue.
If there are no additional questions, I'll close this issue in about week.

No more questions. Close it


Nothing happens when using the initial configuration page

Description
After clicking on "Install Gitea" in the initial configuration the page is loading for a few seconds and then nothing happens and the initial configuration page is still shown, even after visiting the gitea url again. I did not change any options.
Gitea Version
1.19.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/KuenzelIT/20f406fc2edf5378d1d1dd4ad9e88cbc
Screenshots
No response
Git Version
No response
Operating System
Synology DSM
How are you running Gitea?
Docker Compose on a Synology:
version: "3"
networks:
gitea:
external: false
services:
server:
image: gitea/gitea:1.19.0
container_name: gitea
environment:
- USER_UID=1026
- USER_GID=100
- GITEA__database__DB_TYPE=mysql
- GITEA__database__HOST=db:3306
- GITEA__database__NAME=gitea
- GITEA__database__USER=gitea
- GITEA__database__PASSWD=gitea
restart: always
networks:
- gitea
volumes:
- ./gitea:/data
- /etc/TZ:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "222:22"
depends_on:
- db
db:
image: mysql:8
restart: always
environment:
- MYSQL_ROOT_PASSWORD=gitea
- MYSQL_USER=gitea
- MYSQL_PASSWORD=gitea
- MYSQL_DATABASE=gitea
networks:
- gitea
volumes:
- ./mysql:/var/lib/mysql
Database
MySQL

I have tested your docker-compose.yaml :

Copy it into my docker-compose.yaml
docker-compose up
Visit localhost:3000
Click Install

After a few seconds, I can see the login UI.
The log looks like this:
gitea          | 2023/04/08 18:15:21 ...c/net/http/server.go:2122:ServeHTTP() [I] [64313eb9] PING DATABASE mysql
gitea          | 2023/04/08 18:15:24 ...eb/routing/logger.go:67:func1() [W] [64313eab-5] router: slow      POST / for <IP_ADDRESS>:55794, elapsed 3456.8ms @ install/install.go:236(install.SubmitInstall)
gitea          | 2023/04/08 18:15:31 ...s/install/install.go:515:SubmitInstall() [I] Save settings to custom config file /data/gitea/conf/app.ini
gitea          | 2023/04/08 18:15:31 routers/common/db.go:21:InitDBEngine() [I] Beginning ORM engine initialization.
gitea          | 2023/04/08 18:15:31 routers/common/db.go:28:InitDBEngine() [I] ORM engine initialization attempt #1/10...

From your log , I can see:

######### the firs try

gitea     | 2023/04/07 18:39:39 ...c/net/http/server.go:2122:ServeHTTP() [I] [6430474b] PING DATABASE mysql
gitea     | 2023/04/07 18:39:43 ...eb/routing/logger.go:67:func1() [W] [64304622] router: slow      POST / for <IP_ADDRESS>:54058, elapsed 3746.2ms @ install/install.go:236(install.SubmitInstall)
gitea     | 2023/04/07 18:39:55 ...eb/routing/logger.go:98:func1() [I] router: completed POST / for <IP_ADDRESS>:54058, 200 OK in 16550.8ms @ install/install.go:236(install.SubmitInstall)
gitea     | 2023/04/07 18:45:41 ...eb/routing/logger.go:98:func1() [I] [643048b5] router: completed GET / for <IP_ADDRESS>:54402, 200 OK in 93.3ms @ install/install.go:90(install.Install)

...

######### the second try , the database part has been installed, but the app.ini doesn't get INSTALL_LOCK=true

gitea     | 2023/04/07 18:47:15 ...s/install/install.go:229:checkDatabase() [I] [64304913] Gitea will be installed in a database with: hasPostInstallationUser=false, dbMigrationVersion=244
gitea     | 2023/04/07 18:47:15 ...c/net/http/server.go:2122:ServeHTTP() [I] [64304913] PING DATABASE mysql
gitea     | 2023/04/07 18:47:16 modules/web/wrap.go:40:func1() [W] [64304913] Table system_setting Column version db default is , struct default is 1
gitea     | 2023/04/07 18:47:19 ...eb/routing/logger.go:67:func1() [W] [64304622] router: slow      POST / for <IP_ADDRESS>:54402, elapsed 3413.2ms @ install/install.go:236(install.SubmitInstall)
gitea     | 2023/04/07 18:47:34 ...eb/routing/logger.go:98:func1() [I] [64304913] router: completed POST / for <IP_ADDRESS>:54402, 200 OK in 18438.7ms @ install/install.go:236(install.SubmitInstall)

Just FYI, I have no more idea about this issue at the moment.

Does your cookie/domain/browser work correctly?
Maybe there is an error message, but the wrong cookie setting may cause the error message wouldn't be displayed, so you didn't get the error feedback?

Thank you for testing!
Your logs gave me the idea to see if the app.ini was created and it was. I then tried settting the DOMAIN and SSH_DOMAIN from localhost to my servers domain name and see if anything changes. But the result was the same.
I also tried with INSTALL_LOCK = true to see any changes and the ORM tried to initialize, but after waiting for the mysql server, it didn't try again, although there were some attempts left.
I also tried with a fresh browser. The behaviour was the same.
As the logs say, the installer is very slow. Takes my machine more than 60 seconds to finish the POST request. May be my machine, but seems a little odd (in your case 10 seconds).
I have no idea what else to try right now. :)

I'm using a Synology DS920+. The performance is ok and I'm running some other docker containers without a problem. I thought Gitea is lightweight and should work. :)
I will monitor the CPU and memory the next time I try the install. But since the logs say that the POST request completed, I assume that this is not the problem.
Thanks again for your help!

Looks like it's normal from the provided logs.

@KuenzelIT Out of curiosity, are you running the docker container on a volume that is using btrfs? I'm encountering something similar in my install as well. However, I'm using a dedicated MariaDB instance running on the Syn box by way of their package center. The install is progressing as I can see it periodically making new tables in my DB, but it is taking its sweet time. I did a bit of digging around and it seems that btrfs and the data checksum checking of files in those shares may be the root of the problem here.
See:

https://www.reddit.com/r/synology/comments/s9f3cg/mariadb_on_btrfs_is_slow_best_options/
https://www.reddit.com/r/synology/comments/ry6nrk/til_dont_put_your_docker_confs_into_the_default/

I have yet to find the referenced Synology documentation on the matter but I could see where the checksum checking could play a great deal into the performance overhead we're seeing here. I'm going to let things churn overnight on my end and try and set aside some time to see if the issue comes up on a MariaDB instance running on a different host.

Thanks for the idea. Unfortunately I'm not using btrfs. I also haven't tried to install gitea in a while, maybe I'll try again in a few days.

I did not find a solution and dropped trying it for now.

I am not sure how I got it working, but I did the installation on my Mac. After loading for a few minutes, I tried to open the webpage on one of my servers. In this moment, the installation was done and I got forwarded to homepage of Gitea. I dn´t know if it was luck or if this is the soluation.

I'm having the same problem, no btrfs, DS720+, using forgejo:9-rootless with a pg:14 in a container.
I don't see any CPU usage from the forgejo container and it just doesn't do anything after clicking "Install".
I don't see it writing an ini file in the volume either.
Other docker projects run fine.

Maybe you need to check whether there is permission to write the app.ini to the mounted data directory.

That was a hurdle I've crossed since posting, but it's still not working.
I had to chown the folders to user id 1000, because that's the ID of the GIT user inside the docker container, regardless of what I set the environment variables for USER_ID, within the docker compose yaml.

I gave up on Postgres DB and have it running on SQLite now.
So a major hint for anyone having issues: even though the error messages might not suggest something is up with the DB, it might be.

It is happening to me also I am using a DS923+


zh, en: add primary/unique key check description

What is changed, added or deleted? (Required)

Which DM version(s) do your changes apply to? (Required)

[x] master (the latest development version, including v2.0 changes for now)
[x] v1.0 (TiDB DM 1.0 versions)

What is the related PR or file link(s)?
dm#887 dm#870

This PR is translated from:
Other reference link(s):

Do your changes match any of the following descriptions?

[ ] Delete files
[ ] Change aliases
[ ] Have version specific changes
[ ] Might cause conflicts

@csuzhangxc @lance6716 @ireneontheway PTAL

@TomShawn two LGTM now, PTAL


Fix Vercel previews (for docs)

On each PR, Vercel deploys a preview. There are a couple of problems with that:

We don't need a preview if the change happens outside of /docs
The deployment doesn't work: when I click on "View deployment" I see the error below

The deployment works. Without access to Vercel, I had to follow my intuition 😄
Adding /docs at the end of the URL shows the deployed docs. Still, that should be more ergonomic.

@3v0k4 feedback duly noted. We will improve this behavior.

The preview urls on a subpath are annoyingly hard to fix. I've tried it in the past, but for some reason never got it working right.
I've added this hack for development a while ago, but that doesn't work on preview urls. Maybe we need a combination of that hack and the redirect? 🤷
https://github.com/magicbell-io/public/blob/7d4292b32a14973dffb22a19e1700fcf0d890510/docs/pages/_app.tsx#L34-L41

I'm splitting of the issue regarding scoping previews to https://github.com/magicbell-io/public/issues/36, as it's a whole other problem to solve.


How to enable debug log in spark-history-server

I couldn't find any error log in spark-history-server pod but it's restarting.
I'd like to change logging level to DEBUG to see what root cause is.
I've tried this but it doesn't work.
-Dlog4j.rootCategory=DEBUG,console

I resolved this issue by creating a custom image based on varabonthu/spark-web-ui:1.0.6.
I added a custom log4j.properties file to /spark/opt/conf, which allowed me to identify the root cause of the problem.
The issue stems from the fact that we're not permitted to access S3 via the public network, but the system attempts to connect to S3 using the *.s3.amazonaws.com domain.
Caused by: java.net.UnknownHostException: BUCKET_NAME.s3.amazonaws.com: Name or service not known
	at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
	at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929)
	at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324)
	at java.net.InetAddress.getAllByName0(InetAddress.java:1277)
	at java.net.InetAddress.getAllByName(InetAddress.java:1193)
	at java.net.InetAddress.getAllByName(InetAddress.java:1127)
	at com.amazonaws.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:27)
	at com.amazonaws.http.DelegatingDnsResolver.resolve(DelegatingDnsResolver.java:38)
	at com.amazonaws.thirdparty.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112)
	at com.amazonaws.thirdparty.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376)

To access S3 via a VPC Endpoint, I added the following option to sparkHistoryOpts:
sparkHistoryOpts: "-Dspark.history.fs.logDirectory=s3a://LOG_PATH/ -Dspark.hadoop.fs.s3a.endpoint=s3.ap-northeast-2.amazonaws.com -Dspark.hadoop.fs.s3a.endpoint.region=ap-northeast-2"


TECH-574 added converted project to typescript

Hi @loan-laux , the reason for building both CJS and ESM versions of the code is our package to be easily used for vanilla JavaScript and TypeScript.


PickPhotoAsync() does not work on Android 5.0.1 Lollipop

Bug
Version Number of Plugin: 2.6.2
Device Tested On: Samsung Galaxy S4 - Android 5.0.1 Lollipop
Hi,
I'm experiencing two problems:

After calling PickPhotoAsync() nothing happens. The code works fine on my other devices.
When a photo is picked from Gallery, sometimes, it happens that it gets rotated.

Any solution? Thank you in advance.

It says,
You MUST set your Target version to API 23+ and Compile against API 23+:
That's why I guess.


Update _config.yml for 3 functions.

Update this file for three part:

add donate settings.
add tinisou for search.
add webluker for SEO.

@crazy-canux  You might forgot image files wechatpay.jpg and alipay.jpg?

Forget it,  I just think donate settings should in the config file.
Thanks any way.


Support actions with constants

Actions can now reference constants, like for example in this bit of the himmelstein sniper contract:
"$inc": [
  "TotalScore",
  "$.Score_Kill_Bodyshot"
]

where Score_Kill_Bodyshot is the name of a constant

apparently it was already there, just needed to be merged? idk what's going on

I added it ~2 weeks ago. Branch was out of date.

Merged since it adds a test.

I added it ~2 weeks ago. Branch was out of date.
Sorry for the confusion, the testing I did seemed to point to an issue with constants, which nicely coincided with my outdated local copy.

Yeah, it's no problem. It would've caused issues as the value would've been turned into a string and the constant name would just get appended on the end, a la:
"TotalScore":"0Score_Kill_HeadshotNaNScore_BodyHiddenNaNScore_Kill_HeadshotNaNScore_Kill_MovingNaNNaNNaNScore_Kill_HeadshotNaNNaNNaNScore_Kill_HeadshotNaNNaNNaNScore_BodyHiddenNaNScore_BodyHiddenNaNScore_Kill_HeadshotNaNNaNNaNScore_BodyHiddenNaNScore_Kill_HeadshotNaNNaNNaNScore_BodyHiddenNaNScore_Kill_HeadshotNaNNaNNaNScore_BodyHiddenNaNScore_Kill_HeadshotNaNNaNNaNScore_BodyHiddenNaNScore_Kill_HeadshotNaNNaNNaNScore_BodyHiddenNaNScore_Kill_HeadshotNaNNaNNaNScore_BodyHiddenNaNScore_Kill_HeadshotNaNNaNNaNScore_BodyHiddenNaNScore_Kill_HeadshotNaNNaNNaNScore_BodyHiddenNaNScore_Kill_HeadshotNaNScore_Kill_MovingNaNNaNNaNScore_BodyHiddenNaNScore_Kill_HeadshotNaNNaNNaNScore_BodyHiddenNaNScore_Kill_HeadshotNaNNaNNaNScore_BodyHiddenNaNScore_Kill_HeadshotNaNScore_Kill_MovingNaNNaNNaNScore_BodyHiddenNaNScore_Kill_HeadshotNaNNaNNaNScore_Kill_HeadshotNaNNaNNaN"


[HUDI-5456] Flink streaming read skips uncommitted instants

Actually introduced by HUDI-5234.
Change Logs
The commit metadata should be resolved from a committed instant.
Impact
Fix the metadata parsing error.
Risk level (write none, low medium or high below)
none
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@hudi-bot run azure


Allow PHP 8

I guess we can re-run this (and all the other PHP 8 PRs) once https://github.com/pestphp/pest/pull/128 has been merged? 🤔 Looks like the error is just due to a class that was removed in v9.3

Yes, exactly. That PR will probably land at the end of August.

Thought I'd re-run the test suite on this. Looks like it's now just failing due to the removal of global assertions in v0.3 of Pest.
Could you maybe rebase this if possible? 👍🏻 And then I think that should all work. 🥳


Application won't start with opentracing.spring.cloud.reactor.enabled=true

We have an application that is using Spring Cloud Gateway and is connected to Redis and Jaeger that is deployed in Pivotal Cloud Foundry.
Problem
When not run in Cloud Foundry (i.e. on a host machine) and still connected to Redis/Jaeger everything seems to load fine with the Tracer automatically created using the spring.application.name property which is set in bootstrap.yml file.
bootstrap.yml
opentracing:
  jaeger:
    udp-sender:
      host: jaeger.tld
      port: ###
    tags:
      environment: ci
      datacenter: dc1
    remote-controlled-sampler:
      host: jaeger.tld
      port: ###
    enabled: true
  spring:
    web:
      enabled: true

pom.xml
<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.3.7.RELEASE</version>
    <relativePath/> <!-- lookup parent from repository -->
</parent>
<properties>
    <java.version>11</java.version>
    <spring-cloud-services.version>2.3.0.RELEASE</spring-cloud-services.version>
    <spring-cloud.version>Hoxton.SR9</spring-cloud.version>
</properties>

<dependencies>
  <dependency>
      <groupId>org.springframework.cloud</groupId>
      <artifactId>spring-cloud-starter-gateway</artifactId>
  </dependency>
  <dependency>
      <groupId>io.opentracing.contrib</groupId>
      <artifactId>opentracing-spring-jaeger-cloud-starter</artifactId>
      <version>3.2.2</version>
  </dependency>
  <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-data-redis</artifactId>
  </dependency>

  <dependency>
      <groupId>org.springframework.session</groupId>
      <artifactId>spring-session-data-redis</artifactId>
  </dependency>
</dependencies>

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>io.pivotal.spring.cloud</groupId>
            <artifactId>spring-cloud-services-dependencies</artifactId>
            <version>${spring-cloud-services.version}</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>${spring-cloud.version}</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

However, when deployed in PCF it fails to start with an error that seems to come from building the Tracer "Service name must not be null or empty"
Stack Trace (sorry for terrible format)
 Application run failed\n   2021-01-06T18:51:32.25-0500 [APP/PROC/WEB/0] OUT org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name \'tracingWebClientBeanPostProcessor\' defined in class path resource [io/opentracing/contrib/spring/web/starter/WebClientTracingAutoConfiguration.class]: Unsatisfied dependency expressed through method \'tracingWebClientBeanPostProcessor\' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'tracer\' defined in class path resource [io/opentracing/contrib/java/spring/jaeger/starter/JaegerAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [io.opentracing.Tracer]: Factory method \'tracer\' threw exception; nested exception is java.lang.IllegalArgumentException: Service name must not be null or empty\n   2021-01-06T18:51:32.25-0500 [APP/PROC/WEB/0] OUT \tat org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:797)\n   2021-01-06T18:51:32.25-0500 [APP/PROC/WEB/0] OUT \tat org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:538)\n   2021-01-06T18:51:32.25-0500 [APP/PROC/WEB/0] OUT \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1336)\n   2021-01-06T18:51:32.25-0500 [APP/PROC/WEB/0] OUT \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1176)\n   2021-01-06T18:51:32.25-0500 [APP/PROC/WEB/0] OUT \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:556)\n   2021-01-06T18:51:32.25-0500 [APP/PROC/WEB/0] OUT \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)\n   2021-01-06T18:51:32.25-0500 [APP/PROC/WEB/0] OUT \tat org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)\n   2021-01-06T18:51:32.25-0500 [APP/PROC/WEB/0] OUT \tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)\n   2021-01-06T18:51:32.25-0500 [APP/PROC/WEB/0] OUT \tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)\n   2021-01-06T18:51:32.25-0500 [APP/PROC/WEB/0] OUT \tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207)\n   2021-01-06T18:51:32.25-0500 [APP/PROC/WEB/0] OUT \tat org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:241)\n   2021-01-06T18:51:32.25-0500 [APP/PROC/WEB/0] OUT \tat org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:723)\n   2021-01-06T18:51:32.25-0500 [APP/PROC/WEB/0] OUT \tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:536)\n   2021-01-06T18:51:32.25-0500 [APP/PROC/WEB/0] OUT \tat org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.refresh(ReactiveWebServerApplicationContext.java:62)\n   2021-01-06T18:51:32.26-0500 [APP/PROC/WEB/0] OUT \tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758)\n   2021-01-06T18:51:32.26-0500 [APP/PROC/WEB/0] OUT \tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750)\n   2021-01-06T18:51:32.26-0500 [APP/PROC/WEB/0] OUT \tat org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405)\n   2021-01-06T18:51:32.26-0500 [APP/PROC/WEB/0] OUT \tat org.springframework.boot.SpringApplication.run(SpringApplication.java:315)\n   2021-01-06T18:51:32.26-0500 [APP/PROC/WEB/0] OUT \tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1237)

What we have tried

We have been able to run just connected to Redis in PCF while disabling all opentracing.jaeger.enable=false with no issue
We have been able to run just connected to Jaeger in PCF before bringing in Redis libraries with no issue.
Added Redis/Jaeger while disabling opentracing.spring.cloud.redis.enabled=false which still throws the same error (This seems odd since bringing in Redis was the suspicion of what would have broken Opentracing)
Added Redis/Jaeger while systematically disabling other tech one by one until opentracing.spring.cloud.reactor.enabled=false. This seems to eliminate the error and the application is able to start, but we can't figure out why this would have been fine until Redis was added to the mix. Also, we really don't love the idea of disabling this as it leaves a blindspot.

Thought is that the way/order the ReactorTracingAutoConfiguration runs it isn't allowing Spring to have set properties with @Value annotation on them. Specifically, the JaegerConfigurationProperties.serviceName field. Also, it seemed odd when looking through many of the TechBlahAutoConfiguration classes in all the starter projects that ReactorTracingAutoConfiguration is missing the @AutoConfigureAfter({TracerAutoConfiguration.class}) annotation that most of the others have. It seems this is only reproducible while deployed in PCF which handles the connection to Redis Tile, but that makes me believe there is a bug in the AutoConfiguration classes here which fire out of order in that scenario.

The mentioned auto-configuration registers hooks for some of the reactor parts. Unfortunately, under certain circumstances the hooks there get triggered before the Tracer bean or any of its dependencies like JaegerConfigurationProperties are available. Maybe in your case the Redis autoconfiguration triggers these hooks before a Tracer is available. While the implementation wants to account for that by catching any BeansException, this leaves the JaegerConfigurationProperties unpropagated but already registered in the BeanFactory. Ultimately, this causes errors when JaegerAutoConfiguration tries to initialize the Tracer instance again. This also explains why neither opentracing.jaeger.service.name nor spring.application.name nor any of the other fallbacks work.
Personally, I just disabled the particular auto-configuration by specifying opentracing.spring.cloud.reactor.enabled=false. Maybe this helps you.
But ultimately it would be nice if this is fixed. It seems that Spring-Cloud-Seuth's TraceReactorAutoConfiguration is having another implementation that seems less problematic, but I haven't checked too deep yet if it's having the same problem.


Remote Kernel issue

Hi,
Whilst trying to start a remote kernel I am getting an error thrown from either marked or possibly from notifications. The following is the stack trace and other info;
Atom Version: 1.11.2
Electron Version: 0.37.8
System: Mac OS X 10.11.3
Thrown From: notifications package, v0.65.1
Stack Trace
Uncaught TypeError: src.replace is not a function
Please report this to https://github.com/chjj/marked.
At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/marked/lib/marked.js:1227

TypeError: src.replace is not a function
Please report this to https://github.com/chjj/marked.
    at Lexer.lex (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/marked/lib/marked.js:138:6)
    at Function.Lexer.lex (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/marked/lib/marked.js:129:16)
    at marked (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/marked/lib/marked.js:1219:31)
    at atom-notification.NotificationElement.render (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/notifications/lib/notification-element.js:113:33)
    at atom-notification.NotificationElement.initialize (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/notifications/lib/notification-element.js:50:33)
    at Object.createView (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/notifications/lib/main.js:89:42)
    at ViewRegistry.module.exports.ViewRegistry.createView (/Applications/Atom.app/Contents/Resources/app.asar/src/view-registry.js:119:78)
    at ViewRegistry.module.exports.ViewRegistry.getView (/Applications/Atom.app/Contents/Resources/app.asar/src/view-registry.js:86:21)
    at Object.Notifications.addNotificationView (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/notifications/lib/main.js:126:58)
    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/notifications/lib/main.js:27:24
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
    at NotificationManager.module.exports.NotificationManager.addNotification (/Applications/Atom.app/Contents/Resources/app.asar/src/notification-manager.js:54:20)
    at NotificationManager.module.exports.NotificationManager.addError (/Applications/Atom.app/Contents/Resources/app.asar/src/notification-manager.js:41:19)
    at Object.module.exports.Config.getJson (/Users/joshua/.atom/packages/Hydrogen/lib/config.coffee:10:32)
    at WSKernelPicker.module.exports.WSKernelPicker.toggle (/Users/joshua/.atom/packages/Hydrogen/lib/ws-kernel-picker.coffee:46:27)
    at Object.module.exports.Hydrogen.showWSKernelPicker (/Users/joshua/.atom/packages/Hydrogen/lib/main.coffee:393:25)
    at atom-text-editor.subscriptions.add.atom.commands.add.hydrogen:connect-to-remote-kernel (/Users/joshua/.atom/packages/Hydrogen/lib/main.coffee:62:54)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:183:32)
    at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
    at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:114:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands
     -0:18.2.0 application:open (atom-pane.pane.active)
     -0:04.2.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:00.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:00.1.0 hydrogen:connect-to-remote-kernel (atom-text-editor.editor)

Config
{
  "core": {
    "disabledPackages": [
      "markdown-preview"
    ],
    "telemetryConsent": "limited"
  }
}

Installed Packages
# User
Hydrogen, v0.15.0 (inactive)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.44.0 (inactive)
base16-tomorrow-dark-theme, v1.2.0 (inactive)
base16-tomorrow-light-theme, v1.2.0 (inactive)
one-dark-ui, v1.6.0 (active)
one-light-ui, v1.6.0 (inactive)
one-dark-syntax, v1.3.0 (active)
one-light-syntax, v1.3.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.7.0 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.2 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.42.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (active)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.201.1 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.59.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (inactive)
metrics, v1.0.0 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.242.2-hotfix1 (active)
snippets, v1.0.2 (active)
spell-check, v0.68.2 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.101.0 (active)
timecop, v0.33.2 (active)
tree-view, v0.209.3 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.33.0 (active)
wrap-guide, v0.38.2 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.2 (active)
language-csharp, v0.12.1 (active)
language-css, v0.37.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.42.1 (active)
language-html, v0.45.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.23.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.2 (active)
language-less, v0.29.5 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.2 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.69.0 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.56.0 (active)
language-shellscript, v0.22.4 (active)
language-source, v0.9.0 (active)
language-sql, v0.23.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.9 (active)
language-yaml, v0.26.0 (active)

# Dev
No dev packages

Your gateways config has some sort of error in it, e.g. invalid syntax. Double-checking the JSON should make things work for you.
In the meantime, I'm working on a fix that will provide better error messages in this situation.

Thanks! Was missing a bracket, all working now. The error is very misleading...


Ldanzinger/basemapbyreference

@JamesMBallard please review/merge. This is 98% a copy of the Generate Offline Map sample. The new additions are a Dialog to ask user whether they want to use a local TPK or generate a new one on the server. If they select to use local, we set the reference file path on the parameters.

thanks @JamesMBallard - updated


Using cloudsearch sort to display the latest rating

The latest food ratings should be displayed first. we were doing this sort manually but the displayed ratings were not as expected. now using cloudsearch sort to sort the result and picking up the first rating for display purpose.
This also makes code easy to understand.

Looks like there's still an issue in this area, http://openregister-food-ratings-demo.herokuapp.com/search?location=&establishment_name=byron shows a rating for St Giles St of "undefined"

@psd I'm afraid I can't reproduce this. If I go to the link you posted, it shows "1 — Major improvement needed" for St Giles byron. I don't suppose you have a screenshot or something? Did you see this on Saturday when you commented? There might be something in the logs..


[Bug]: Minor issue in WorkTracker dark theme

🐞 Bug Report
📋 Description
Some field titles are still in grey color even tho i fixed it earlier :

Subject
Set Time (in minutes)
Set Time (in seconds)

📷 Screenshots

you can fix this issue but i won't provide any level.

OK WILL FIX THIS in issue #223


Testing mellanox ci version2

Thank you for your PR,
You can test hw-offload configuration by commenting one of the following:

/test-hw-offload.
/test-all.

These commands can be run by anyone.
Best regards.

/test-hw-offload

@moshe010, This how would the antrea ci look like, it has some minor issue in the status posting will solve them.


Support for Service Class UUID (128-bit) for SPP in SDP (IDFGH-2037)

Environment

Development Kit:      Adafruit HUZZAH32 - ESP32 Feather
Module or chip used:  ESP32-WROOM-32
IDF version : v4.0-dev-1443-g39f090a4f
Build System:         Make
Compiler version: (crosstool-NG esp32-2019r1) 8.2.0
Operating System:     macOS
Power Supply:         USB

Problem Description
Currently there is no way to create a SPP Master with a custom 128-bit UUID, instead a Base UUID (16-bit) is always used:
    uint16_t service = UUID_SERVCLASS_SERIAL_PORT;

See https://github.com/espressif/esp-idf/blob/master/components/bt/host/bluedroid/bta/jv/bta_jv_act.c#L1032
Also SDP_AddServiceClassIdList called from the above add_spp_sdp() only support Base UUID (16-bit). If I got it right BTA_JvCreateRecordByUser is called from btc_spp_dm_inter_cb in BTA_JV_GET_SCN_EVT. It sends a tBTA_JV_API_CREATE_RECORD message which ends up in
bta_jv_create_record calling add_spp_sdp.
Callstack and Links
SDP_AddServiceClassIdList
https://github.com/espressif/esp-idf/blob/master/components/bt/host/bluedroid/stack/sdp/sdp_db.c#L809
add_spp_sdp()
https://github.com/espressif/esp-idf/blob/master/components/bt/host/bluedroid/bta/jv/bta_jv_act.c#L1013
bta_jv_create_record
https://github.com/espressif/esp-idf/blob/master/components/bt/host/bluedroid/bta/jv/bta_jv_act.c#L1057
BTA_JvCreateRecordByUser
https://github.com/espressif/esp-idf/blob/master/components/bt/host/bluedroid/bta/jv/bta_jv_api.c#L287
BTA_JV_GET_SCN_EVT in btc_spp_dm_inter_cb
https://github.com/espressif/esp-idf/blob/master/components/bt/host/bluedroid/btc/profile/std/spp/btc_spp.c#L284
#define UUID_SERVCLASS_SERIAL_PORT
https://github.com/espressif/esp-idf/blob/master/components/bt/host/bluedroid/stack/include/stack/sdpdefs.h#L186
Expected Behavior
The API stack supports Service Class 128-bit SDP records for SPP.
Inspiration
https://github.com/bluekitchen/btstack/blob/master/src/classic/spp_server.c#L72

Hi @piotrkundu
We won't support customized UUID for SPP in the predicted future.
Thanks
Weitianhua


Parallel scripture not loading up/slow in loading when scrolled down the chapters

For a Romans Book as an example, the Parallel scripture loads up fine for Rom 1:1, 1:2...1:3....
when scrolled down to 1:16//1:17 the App seems to be hung as the Parallel scripture loads up.

This should be improved but still a bit slow. Can you confirm that this has improved after release build alpha.20?

Not seeing this issue in alpha.20.

Still looks good in Beta 6.


Exported Theme for Jetpack Compose is faulty

Describe the bug
Exported code for Compose code does not compile. Lots of missing imports in Theme.kt and some types do not resolve to anything.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://material-foundation.github.io/material-theme-builder/#/custom'
Click 'Export' after making some changes or as is.
Select Jetpack Compose (Theme.kt)
Extract files and copy the three files Theme, Color, and Type(.kt) to your-package.m3
Rename the package address at the top of the files to your package.
There are lots of red lines in Theme.kt

Expected behavior
There should be no errors and the required compoents should have already been imported in the file.
Screenshots

safari]
Desktop (please complete the following information):

OS: Linux  Fedora 35
Version [e.g. 22]

Additional context
I'm running Android Studio Chipmunk 2021.2.1 Beta 4.
androidx.compose.material3*, androidx.compose.material*, and com.google.android.material* has been added to dependencies.

Also some variables are straight missing or should not even be there?

@rodydavis What're the odds you've had a chance to look at this? :)

Harmonization on Compose was meant to be a beta feature and not exported all the time, I'm in the midst of a migration so I can't roll a quick fix.
You can safely delete everything from  data class CustomColor until the end of the file.

+1

Fixed in recent build.


Fix broken JSON URLs

It turned out the existing JSON file URL has no longer available on USGS, and I have updated the new URLs of these files.
Affected samples:

https://samples.azuremaps.com/line-layer/display-isoline-data
https://samples.azuremaps.com/spatial-math/create-isobands-from-isolines

Thanks


As using the same name from Brave's Muon, respect what it represents

Implement the same security features of Brave browser's Muon, such as not using Node on renderer.

What

What

The same I thought when discovered this, which serves the same purpose of Brave's Muon while using its name. I like your idea of using this name referring to Electron, although it is confusing: when searching about Brave's Muon, it can led to your project. As it uses the name it seems as a replacement, so it should at least not use NodeJS in the renderer like the original Muon does.


Change ios gallery subtype.

#132 Showing all Smart Albums such as 'Favorites', 'Recently Added'.

LGTM.
Thanks for issue.


sPsych.endExperiment  not working

I am using version 8.0.2
When trying to end an experment I get
8.0.2
Uncaught (in promise) TypeError: jsPsych.endExperiment is not a function
at on_finish (a2.html?participantId=20240825_1&assignmentId=assnmnt123&projectId=proj123&part=1:236:16)
at Trial.runParameterCallback (jspsych.js:2422:15)
at Trial.onFinish (jspsych.js:2439:33)
at async Trial.run (jspsych.js:2303:6)
at async Timeline.run (jspsych.js:2581:16)
at async JsPsych.run (jspsych.js:2837:6)

It was replaced by abortExperiment() in version 8.

Thank you!
Works now…
From: Josh de Leeuw
Sent: Sunday, August 25, 2024 10:29 PM
To: jspsych/jsPsych @.>
Cc: meirgf @.>; Author @.***>
Subject: Re: [jspsych/jsPsych] sPsych.endExperiment not working (Issue #3382)
It was replaced by abortExperiment() in version 8.
—
Reply to this email directly, view it on GitHub https://github.com/jspsych/jsPsych/issues/3382#issuecomment-2308965831 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BKCLSMQ6LKE7IF6GJEXE2CTZTIV7PAVCNFSM6AAAAABNCYABICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYHE3DKOBTGE .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/BKCLSMTBRFVZQLBTX3M5UUDZTIV7PA5CNFSM6AAAAABNCYABICWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUJUAC4O.gif Message ID: @.*** @.***> >