Add support for LocalDate, LocalDateTime, and LocalTime types

We should add proper support for Java 8 date/time types, see https://github.com/r2dbc/r2dbc-spi/pull/51/files#diff-46abe2dfa890d75dfe2188cb02cc6d77R117 for guidance.
/cc @sdeleuze

OffsetDateTime should also be supported for TIMESTAMP WITH TIME ZONE values. It would be nice to support Instant for them too, because H2 does that.

Resolved via #70.


Import NetworkPolicy recipes to this repo

@ahmetb has a great collection of NetworkPolicy recipes at https://github.com/ahmetb/kubernetes-network-policy-recipes
It would be nice to import these samples in to official network policy repository.

Should we import these sample to this repo?

/assign

/remove-lifecycle stale

I will restructure NetworkPolicy in repo as per comment recieved on #25

/remove-lifecycle stale


Problem keeping uicontrol pushbutton color using export_fig in Matlab 2016a

Hello
First thank you so much for this amazing toolbox, it's so useful !
I am encountering a new problem using export_fig with Matlab 2016a and Ghostscript 9.19 on OS X El Capitan v 10.11.6.
When I am exporting my figure which contain an uicontrol pushbutton with a green color the color is not exported and become white directly in the GUI ! (Only the « border » is now becoming green). The problem is with all format but with .pdf and .eps the pushbutton does not have any color in the exported image.
This is a problem that I don’t have neither with Matlab 2015a nor with 2015b (both operating on OS X El Capitan v 10.11.6 and with Ghostscript 9.19).
Here is the code that I am using :
A=figure;

%%% Creation of the calculate button
B = uicontrol(...
'Style','pushbutton',...
'Units','norm',...
'String','Calculate',...
'BackgroundColor',[0.6758 1.0000 0.1836],...
'Position',[0 0 1 0.5],...
'Tag','calculate_button');

%%% Open dialog box for saving files -> choose name and format
    [S.filename, S.pathname] = uiputfile(...
     { '*.png','Portable Network Graphics file (*.png)';...
       '*.bmp','Bitmap file (*.bmp)';...
       '*.eps','EPS file (*.eps)';...
       '*.jpg','JPEG image (*.jpg)';...
       '*.pdf','PDF (*.pdf)'},...
       'Save Interface');

%%% Create filename including pathname
    S.filename_path=[(S.pathname) (S.filename)];

%%% Export figure
    export_fig (A,S.filename_path)

@altmany Yair do you have any clue or idea to solve the problem ?
Thanks a lot in advance
Jonathan

I believe that this may be due to an internal Matlab bug. You can try to recreate the problem using the saveas function. You should report this problem to<EMAIL_ADDRESS>There is not much that export_fig can do here.

I sent the issue to the Matlab's Premium Service, since no one has reported about it here.

Thank you very much for your reply Yair
I recreated the problem using the saveas function and I had the same incorrect behaviour I described. I contacted<EMAIL_ADDRESS>and they were able to reproduce this incorrect behaviour.
They are now trying to solve this issue.
Many thanks for the fast reply, I will keep you updated as soon as I have news.

Hello,
patch.zip
I received an answer today for the problem. Developers have been working and investigating this issue further. Finally they have developed a patch.
Instruction to use it:

Download the attachement "patch.zip"

Unzip it into the following folder: /java   (The directory  can be found typing

matlabroot
at the MATLAB Command Window.

After extracting there should be /java/patch directory with the contents of the zip file.

I tried and it worked for me. (only the eps format with the saveas function is not working but it is working with export_fig so it's fine for me)
Best regards,
Jonathan


add co.optional syntax

This PR adds a new co.optional object that acts as an optional constructor for schemas
export class MyStruct extends CoMap {
  name = co.optional.string;
  birthday = co.optional.encoded(Schema.UndefinedOr(Encoders.Date));
}

myStruct.birthday = undefined; // works

I wonder if delete struct.encoded should call struct.encoded = undefined

I wonder if delete struct.encoded should call struct.encoded = undefined, as schemas might receive undefined as a value
it might be weird that delete will do anything other than setting it to undefined, but it's also weird that x.y = undefined behaves so much different
wdyt?

I need to figure out the difference between delete and = undefined on a more fundamental level anyways. In many ways delete should actually mean delete the key. But this is out of scope for this concern


pnorm of BlockDataContainer cannot be used for complex data

For complex data, pnorm(p=2) should use conjugate

tmp = functools.reduce(lambda a,b: a + (b.conjugate()*b), self.containers, self.get_item(0) * 0 ).sqrt()

closed by #1028


Most files empty in 3-unzip directory

I tried running fc_unzip.py and while the processes complete without error the majority of files in the resulting 3-unzip directory are blank. For example, while the directory contains the files
all_h_ctg_edges  all_h_ctg.fa  all_h_ctg_ids  all_p_ctg_edges  all_p_ctg.fa  all_phased_reads
and sub-directories
1-hasm  reads
the files are completely blank.
I'm running the most recent versions of FALCON-integrate, FALCON-unzip, SMRT analysis v3. My fc_unzip.cfg is as follows
[General]
job_type = local
[Unzip]
input_fofn= input.fofn
input_bam_fofn= input_bam.fofn
smrt_bin=/home/peter/bioinformatics/smrtlink/install/smrtlink-fromsrc_<IP_ADDRESS>021,175083-175021-174993-174993/bundles/smrttools/smrtcmds/bin/
jobqueue =
sge_phasing=
sge_quiver=
sge_track_reads=
sge_blasr_aln=
sge_hasm=
unzip_concurrent_jobs = 20
quiver_concurrent_jobs = 20
Any ideas as to how I might troubleshoot what might be going wrong? I worry that it might be the use of the 'local' job_type. The present OS is CentOS7.

Ahh - I'm sorry, I just re-read your first post and realized you said the "3-unzip/reads" directory IS blank.
This is definitely a read tracking issue.
Have you investigated the track_reads.sh* logs?

Sorry for the confusion but the 3-unzip/reads directory isn't empty. It does look like the vast majority of reads are ending up in the 'unassigned_reads.fa' file just looking at the file size.
Looking at the track_reads.sh.log file doesn't suggest anything went wrong. I can send it to you though if that would be helpful.
As for the problem with the 'local' job_type, I was simply concerned that since this setup hasn't been tested as much that something might be going wrong there.

If you wouldn't mind sending the track_reads.sh.log, I can take a look and see if I notice any obvious issues

you can download the log file using the following link: https://dl.dropboxusercontent.com/u/3750627/track_reads.sh.log.gz

There does appear to be an issue, and I'll have to take a deeper look.
Here is a line from your track_reads.sh.log:
[48791]starting run_tr_stage1('/home/peter/bioinformatics/FALCON-integrate_old/ecoli_test/0-rawreads/raw_reads.db', '/home/peter/bioinformatics/FALCON-integrate_old/ecoli_test/0-rawreads/m_00006/raw_reads.6.las', 2500, 40, {})
Here is a line from a recent successful run:
[61907]starting run_tr_stage1('/lustre/hpcprod/gconcepcion/example/0-rawreads/raw_reads.db', '/lustre/hpcprod/gconcepcion/example/0-ra
wreads/m_00002/raw_reads.2.las', 2500, 40, dict(14206 elem))
Notice the very last element (the dictionary) is empty in your line, but has 14206 elements in mine.

okay. Is there any additional files or info I can provide to help with the troubleshooting?

This indicates that there is a problem resolving the read id --> contig.
Can you post a few lines from your 2-asm-falcon/read_maps/read_to_contig_map

So it would appear that that file is also blank!
I should state that in tuning the assembly I modified the .cfg file settings a few times to tinker with the overlap_filtering_setting parameters. I then re-ran fc_run.py (following deletion of the 2-asm-falcon directory), and sometimes there was an error displayed even though the run_falcon_asm.sh script continued to completion successfully.
Can you recommend a best practices way of restarting the FALCON run at just the 2-asm-falcon step, which I can then run, and then re-try the fc_unzip.py run (assuming this is why the 2-asm-falcon/read_maps/read_to_contig_map is blank, causing the downstream issues)?

Yes, you will need to re-run 2-asm-falcon. The easiest thing to do just remove the 2-asm-falcon dir and re-run falcon which will pick up from this point:
$ rm -rf 2-asm-falcon
$ fc_run fc_run.cfg
Also, I noticed in the log file that you're unzipping Ecoli? I'm assuming this is just a test case to get FALCON_unzip up and running, but I'm wondering what you're trying to accomplish  by "unzipping" a haploid organism?

I'm not running the ecoli example, it's just where I got everything working with FALCON-integrate and I just went with it. I will try the removal of the directory and re-run but I'm guessing the error will arise once again, wherein the pypeFLOW will show an error but the run_falcon_asm.sh script continues.

Can you share the error next time you get it?
That could be the problem we are looking for.

Re-running fc_run.py this time resulted in no errors but also no read_maps sub-directory. Do you have an idea about what might have gone wrong?

Sorry for the confusion, I just realized read_maps is actually generated as the very first step of FALCON_unzip (and written to the 2-asm-falcon directory), not the last step of FALCON.
Can you try these two commands, and show me a couple of lines from each(or upload both to dropbox):
$ DBshow -n /lustre/hpcprod/gconcepcion/example/0-rawreads/raw_reads.db  | tr -d '>' | LD_LIBRARY_PATH= awk '{print $1}' > raw_read_ids
$ DBshow -n /lustre/hpcprod/gconcepcion/example/1-preads_ovl/preads.db   | tr -d '>' | LD_LIBRARY_PATH= awk '{print $1}' > pread_ids

head -10 of raw_reads_ids
m150128_212520_42243_c100748042550000001823169907081536_s1_p0/24/0_6994
m150128_212520_42243_c100748042550000001823169907081536_s1_p0/31/0_2603
m150128_212520_42243_c100748042550000001823169907081536_s1_p0/31/2649_4302
m150128_212520_42243_c100748042550000001823169907081536_s1_p0/45/0_9698
m150128_212520_42243_c100748042550000001823169907081536_s1_p0/45/9746_18796
m150128_212520_42243_c100748042550000001823169907081536_s1_p0/45/18836_28165
m150128_212520_42243_c100748042550000001823169907081536_s1_p0/60/0_1894
m150128_212520_42243_c100748042550000001823169907081536_s1_p0/64/0_10202
m150128_212520_42243_c100748042550000001823169907081536_s1_p0/66/0_6927
m150128_212520_42243_c100748042550000001823169907081536_s1_p0/68/0_2944
head -10 of pread_ids
prolog/0/0_3977
prolog/1/0_2539
prolog/30/0_9953
prolog/40/0_3462
prolog/50/0_8121
prolog/70/0_9023
prolog/110/0_9003
prolog/120/0_8150
prolog/130/0_2867
prolog/140/0_6390
I can send more if that's useful.

Yes, visually they "appear" standard. If you wouldn't mind uploading them to dropbox, I can take a more thorough look at the read matching algorithm.

sure.
https://dl.dropboxusercontent.com/u/3750627/raw_read_ids.gz
https://dl.dropboxusercontent.com/u/3750627/pread_ids.gz

Hi Peter,
Sorry for the delay. If you could also upload:
"2-asm-falcon/sg_edges_list"
"2-asm-falcon/ctg_paths"
"2-asm-falcon/utg_data"
I should hopefully be able to get to the bottom of this for you shortly.

You can use the following links:
https://dl.dropboxusercontent.com/u/3750627/ctg_paths.gz
https://dl.dropboxusercontent.com/u/3750627/sg_edges_list.gz
https://dl.dropboxusercontent.com/u/3750627/utg_data.gz
I should also say that I was able to get the fc_unzip.py step to run to completion though it still seems that there is a very large portion of the reads that are ending up in the unassigned_reads.fa file.

Hmm, this is strange, when I run those data files through the read tracking code, I get a 'read_to_contig_map' that is 33,476 lines long, not empty as in your case.
What do you mean you were able to run it to completion, - it's complete, and the output files are no longer empty, just small?
Is the read_to_ctg_map still empty?
How do you define "large portion"? Are there some reads that are now ending up in the proper fastas?

After I was able to get the fc_run.py to finish to completion (rather than seeing an error in the pypeFLOW output even though the run_falcon_asm.sh would continue executing), the fc_unzip.py script did run to completion as well as create non-empty and seemingly normal outputs. That said I don't know exactly what to expect. There are 4195964 reads in the input fasta, of which 2448521 are placed in the unassigned_reads.fa file. Does this seem excessive? And many of the reads are quite long.  There does seem to be proper fasta files in the reads directory though.

I agree, it "sounds" high, but for comparison sake here's some recent stats from a fungal and human genome I've recently unzipped:
unassigned reads / input subreads:
Fungal -
135,922  / 369,622  = roughly 36% unassigned
Human -
6,342,498 / 13,506,121 = roughly 47% unassigned
Your dataset -
2,448,521 / 4,195,964 = roughly 58% unassigned
Yes it's a little bit high, but it's certainly not too far outside the realm of possibility.
What are the final unzipped contig stats looking like?
3-unzip/all_p_ctg.fa  should be roughly the size of your un-phased assembly in 2-asm-falcon - if not there is an issue.
and 3-unzip/all_h_ctg.fa:
The size of your haplotig file should be dependent on the heterozogosity of your organism. The more heterozygous your organism is, the larger this file should be, but still only a subset of the primary contig fasta. If it's not very heterozygous, (very little difference between haplotypes), then the haplotig file should be small. I know this is not very quantitative, but it's hard to say without knowing much about your data.
At any rate, it's looking like the initial question that this issue was "opened" for has been resolved by re-running the last stage of FALCON so I'm going to close it.
Feel free to open a new issue regarding your final output statistics if you're still concerned.

Okay, I will proceed with the fc_quiver.py script and see how things go. Thank you for your help, Greg!


Proxmox-Datacenter Manager

✅ Have you read and understood the above guidelines?
yes
📜 What is the name of the script you are using?
Proxmox-Datacenter Manager
📂 What was the exact command used to execute the script?
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/proxmox-datacenter-manager.sh)"
📝 Provide a clear and concise description of the issue.
When trying to run the install script the script fails with a bunch of bash errors
⚙ What settings are you using?

[X] Default Settings
[ ] Advanced Settings

🖥 Which Linux distribution are you using?
Debian 12
🔄 Steps to reproduce the issue.
Just run the install script
❌ Paste the full error output (if available).
/dev/fd/63: line 1: 404:: command not found
bash: line 19: header_info: command not found
bash: line 20: base_settings: command not found
bash: line 23: variables: command not found
bash: line 24: color: command not found
bash: line 25: catch_errors: command not found
bash: line 39: start: command not found
bash: line 40: build_container: command not found
bash: line 41: description: command not found
bash: line 43: msg_ok: command not found
proxmox-datacenter-manager setup has been successfully initialized!
 Access it using the following URL:
https://:8443

🖼 Additional context (optional).
No response

On Line 2 of the Proxmox Datacenter Manager setup script, it includes raw in the source url for build.func which is an error.
If you were to download the setup script and manually remove it, the script will work correctly.
It should look as follows:
- source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/raw/main/misc/build.func)
+ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)

source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)

Can Confirm this was the issue :)


QoL Upgrade Mk1 compatibility fix

The upcoming Qulity of Life Mk1 upgrade brakes some mods.
This fix if done for Q1-299241 build (qol_1_testing beta chanel in Steam). I expect something very close to this version will be released in a stable channel soon.
AlternateOrdersMod moved to Outdated folder and wasn't fix (it is still broken and doesn't compile)
This is mostly a compatibility fix. Except FluidWarpMod, which has some major improvements. The biggest one is removal of temporary storage between providing warpgate and receiving one. So no gas or liquid will be lost on game load.

Thank you @Blindfold, I'm gonna try to update this pull request from the master branch to try to solve the conflicts.


Bug: multiple todohub comments created

Investigate bug where multiple comments are created (possibly due to pushes in both main and feature branch?) (seen in #106)

fixed


PCEL

It is really PECL.
in A Redis driver for Laravel and Lumen that works with PhpRedis, the PCEL Redis Extension.
and https://github.com/tillkruss/laravel-phpredis/search?utf8=✓&q=pcel

Thanks, will fix it!


Non-expert interviews

@autonome Just clarifying this as I'm putting together a partipant list and was thinking: wouldn't it be better if "non-expert" was defined as "internet user" since the expert category is so high protocol level wise?

Nina Skapin done.
Really interesting with a "regular" person how they think about links/addresses/URLs and how they think they work

Interview with Charlotte
https://hackmd.io/@jkosem/S1wEA9ZnS

Interview with Basil
https://hackmd.io/@jkosem/Hkq2p5-nr

Interview with Aleks
https://hackmd.io/@jkosem/SJvt0cZ3B

Interview with Dom
https://hackmd.io/@jkosem/ryngA2z2B
6 down! 2 more non-experts to go

Interview with Jon done


Translated language files for persian farsi language

#571

Thanks but we have no plans for a multilingual version of the portal atm.


How can I style/brand the player ?

There are couple of things I'd like to control in the player. Things like: Style, Branding, Watermark and play speed control. I'm wondering if those features are available in the player or not even with a plugin.

We don't currently provide a UI layer in the library, so you are already completely in control of styling and branding.  You can overlay things on top of the <video> element, as we do in our demo, and style them with CSS.  To turn off the browser's built-in video controls overlay, set video.controls to false in JavaScript or remove the controls attribute from the <video> element.
Play speed control is done through the HTML5 video API video.playbackRate.  Just set it to whatever you like.  If it goes into a buffering state, Shaka Player will set playbackRate to 0, then set it back to the your setting when playback resumes.
Does this answer your question?

It does. Thanks a lot.


Suggestion: Some sort of Critical CSS implementation

Due to FOUC, I was looking for a better way to get my template to load all stylesheets quickly.
My issue was:

Bootstrap gets loaded (using default bootstrap colors)
Website shows with default bootstrap colors
Template stylesheet loads (using default template colors and fonts)
Website shows with default Template colors
Template settings get loaded with user set colors and fonts.
Website loads user settings

Loading the user settings first, was not an option due to Bootstrap overwriting anything that gets loaded before itself.
So, I ended up with Critical CSS, which loads the critical part of your website (above the fold) almost instantly.
But this is a manual task for now.
Could this be implemented into something like the Fullpage Cache module?
Where it would check the styling needed for the top part of the webpage and it would render it in the header for that page.
Let me know if you think that's possible or if maybe this is something impossible to implement.

Hi, in order to implement this we will need some kind of browser to evaluate the critical CSS
Right now the full page cache cannot evaluate this because it does not contain browser
For now there is no other option besides the manual work


quick fix for event names

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check for azure-eventgrid
API changes have been detected in azure-eventgrid. You can review API changes here
API changes
-     FhirResourceCreatedEventName = "Microsoft.HealthcareApis.FhirResourceCreated"
-     FhirResourceDeletedEventName = "Microsoft.HealthcareApis.FhirResourceDeleted"
-     FhirResourceUpdatedEventName = "Microsoft.HealthcareApis.FhirResourceUpdated"
+     HealthcareFhirResourceCreatedEventName = "Microsoft.HealthcareApis.FhirResourceCreated"
+     HealthcareFhirResourceDeletedEventName = "Microsoft.HealthcareApis.FhirResourceDeleted"
+     HealthcareFhirResourceUpdatedEventName = "Microsoft.HealthcareApis.FhirResourceUpdated"


Browse Categories page uses dummy data

This page should use real data- may need to discuss with @jsstevenson or @acoffman where to retrieve this data

resolved, mostly in #262


[WIP] Add new frozen check

Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] PR title follows the guidelines defined in  https://github.com/ossf/scorecard/blob/main/CONTRIBUTING.md#pr-process

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

is this mostly a test or you're thinking of creating a new check? Don't hesitate to create an issue to get feedback early on the idea/design

is this mostly a test or you're thinking of creating a new check? Don't hesitate to create an issue to get feedback early on the idea/design

When I was going through the ticket #689 I was thinking that we could make this into a separate check and was thinking as a good practise to learn making a new check, but I'm open to discussion.
I will keep on updating this PR with the changes for the ticket #689 and happy to take in any feedback/comments about it.

@laurentsimon I've pushed draft of what the check will look like. Let me know what you think. Thanks.

FYI, about whether we should separate this check into a new one: I'll bring this topic up during our next scorecard sync meeting and will let you know. The pinned dependencies check is growing and growing and growing :-)

FYI, about whether we should separate this check into a new one: I'll bring this topic up during our next scorecard sync meeting and will let you know. The pinned dependencies check is growing and growing and growing :-)

Thanks @laurentsimon
So to confirm shall I move this check now to pinned_dependencies.go or wait until get confirmation from the meeting ?

teams seems to prefer keeping it in Pinned Dependencies atm.

teams seems to prefer keeping it in Pinned Dependencies atm.

Hi @laurentsimon I've updated the code based on your feedback. The changes are now inside pinned_dependencies.go.
Kindly take a look and let me know how it is.

teams seems to prefer keeping it in Pinned Dependencies atm.

Hi @laurentsimon I've updated the code based on your feedback. The changes are now inside pinned_dependencies.go.
Kindly take a look and let me know how it is.

Please dis-regard the changes. The build check is complaining about the code, will have to fix and re-commit.

@laurentsimon tried running
golangci-lint run -c .golangci.yml
and getting the following error
checks/pinned_dependencies.go:84:18: fieldalignment: struct with 24 pointer bytes could be 16 (govet)
type PackageJSON struct {
                 ^

not certain why it is complaining about the struct alignment as it's a simple struct ?

@laurentsimon tried running
golangci-lint run -c .golangci.yml
and getting the following error
checks/pinned_dependencies.go:84:18: fieldalignment: struct with 24 pointer bytes could be 16 (govet)
type PackageJSON struct {
                 ^

not certain why it is complaining about the struct alignment as it's a simple struct ?

Try inverting the order of fields. Put Dependencies, then it should go away.

@laurentsimon tried running
golangci-lint run -c .golangci.yml
and getting the following error
checks/pinned_dependencies.go:84:18: fieldalignment: struct with 24 pointer bytes could be 16 (govet)
type PackageJSON struct {
                 ^

not certain why it is complaining about the struct alignment as it's a simple struct ?

Try inverting the order of fields. Declare Dependencies first, then the msg should go away.

Tested locally as per your suggestion and it works.
Was googling around and found about this article https://go101.org/article/memory-layout.html, is the issue I encountered related to the memory layout information outlined in the article ?

Was googling around and found about this article https://go101.org/article/memory-layout.html, is the issue I encountered related to the memory layout information outlined in the article ?

I think so yes.

Code are now part of pinned_dependencies.go

@laurentsimon I've updated the code based on your comment here https://github.com/ossf/scorecard/issues/689#issuecomment-929416656
Let me know if it make sense.

I'm out of town for the next 10 days, please bear with me. I'll try to take a look as soon as I can.


Antivirus detect malware in GitLight_0.17.5_x64-setup.exe

My antivirus (Trend Micro) detect a malware in the latest release setup file GitLight_0.17.5_x64-setup.exe
The msi file (GitLight_0.17.5_x64_en-US.msi) seems ok.
You can check the virus total report here :
https://www.virustotal.com/gui/file/e65826b6f1ed75cf30c97c655d3e262339b4feb02ac91c3fe6cc505a8accd002

FWIW it could just be a false positive but if @colinlienard ever wants to code sign windows builds I've done a bunch of deep dives into the process using https://ssl.com.
Code signing action: https://github.com/overlayeddev/overlayed/blob/main/.github/workflows/release.yaml#L102-L148


No resource identifier found for attribute 'appComponentFactory' in package 'android'

9.0.0-SNAPSHOT   This error will occur.

You need to compile against API 28

The library doesn't target 28, it compiles against 28. You can compile
against 28 while still targeting 27.
On Fri, Oct 5, 2018, 5:26 PM Ralph Dugue<EMAIL_ADDRESS>wrote:

Hi Jake, would you by chance have a snapshot that doesn't target API 28.
I'm maintaining a project that unfortunately can't support it right now.
Would be greatly appreciated.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/issues/1370#issuecomment-427404357,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEEEabzttr0LS8yUUKCtbW2wAPnOnzRks5uh3oqgaJpZM4W12eS
.

Hi, I appreciate the quick response on this.
Unfortunately I am realizing now that I misspoke when I said "target"
when what I mean is that currently this project currently cannot compile
against 28. I've tried to push for a move to API 28 but it is ultimately
out of my control. Would you have any suggestion that doesn't involve
removing Butterknife from the entire project? Again, open to all
suggestions.
Thanks for your time.
On 10/5/2018 7:50 PM, Jake Wharton wrote:

The library doesn't target 28, it compiles against 28. You can compile
against 28 while still targeting 27.
On Fri, Oct 5, 2018, 5:26 PM Ralph Dugue<EMAIL_ADDRESS>wrote:

Hi Jake, would you by chance have a snapshot that doesn't target API 28.
I'm maintaining a project that unfortunately can't support it right now.
Would be greatly appreciated.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub

https://github.com/JakeWharton/butterknife/issues/1370#issuecomment-427404357,

or mute the thread

https://github.com/notifications/unsubscribe-auth/AAEEEabzttr0LS8yUUKCtbW2wAPnOnzRks5uh3oqgaJpZM4W12eS

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/issues/1370#issuecomment-427527389,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFIUKIBYgPiFxTOLTaNTFldjTDCrG1WNks5uh_BAgaJpZM4W12eS.

BK 9 supports AndroidX 1.0 and support library 28 which requires
compilation against API 28. Compiling against the latest is usually always
required.
On Mon, Oct 15, 2018 at 10:07 AM Ralph Dugue<EMAIL_ADDRESS>wrote:

Hi, I appreciate the quick response on this.
Unfortunately I am realizing now that I misspoke when I said "target"
when what I mean is that currently this project currently cannot compile
against 28. I've tried to push for a move to API 28 but it is ultimately
out of my control. Would you have any suggestion that doesn't involve
removing Butterknife from the entire project? Again, open to all
suggestions.
Thanks for your time.
On 10/5/2018 7:50 PM, Jake Wharton wrote:

The library doesn't target 28, it compiles against 28. You can compile
against 28 while still targeting 27.
On Fri, Oct 5, 2018, 5:26 PM Ralph Dugue<EMAIL_ADDRESS>wrote:

Hi Jake, would you by chance have a snapshot that doesn't target API

I'm maintaining a project that unfortunately can't support it right
now.
Would be greatly appreciated.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub

<
https://github.com/JakeWharton/butterknife/issues/1370#issuecomment-427404357
,

or mute the thread

<
https://github.com/notifications/unsubscribe-auth/AAEEEabzttr0LS8yUUKCtbW2wAPnOnzRks5uh3oqgaJpZM4W12eS

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/JakeWharton/butterknife/issues/1370#issuecomment-427527389
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AFIUKIBYgPiFxTOLTaNTFldjTDCrG1WNks5uh_BAgaJpZM4W12eS
.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/issues/1370#issuecomment-429866279,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEEEch4Dd47e0dZN38nwis6u86k19geks5ulJaTgaJpZM4W12eS
.

Jake I’m with you 100%, but we are an SDK in another eco system and they
won’t budge. It has put us in a really tough spot. Any chance you can
help us for this short term fix while the other partner gets 28 on the
road map? I've tried downgrading to a version below 9, but I always run
into issue #1130. I'm just looking for any option that doesn't mean
refactoring a fairly large library project. I’m getting killed by the
client here…
Thanks again for the feedback.
On 10/15/2018 10:08 PM, Jake Wharton wrote:

BK 9 supports AndroidX 1.0 and support library 28 which requires
compilation against API 28. Compiling against the latest is usually always
required.
On Mon, Oct 15, 2018 at 10:07 AM Ralph Dugue<EMAIL_ADDRESS>wrote:

Hi, I appreciate the quick response on this.
Unfortunately I am realizing now that I misspoke when I said "target"
when what I mean is that currently this project currently cannot compile
against 28. I've tried to push for a move to API 28 but it is ultimately
out of my control. Would you have any suggestion that doesn't involve
removing Butterknife from the entire project? Again, open to all
suggestions.
Thanks for your time.
On 10/5/2018 7:50 PM, Jake Wharton wrote:

The library doesn't target 28, it compiles against 28. You can compile
against 28 while still targeting 27.
On Fri, Oct 5, 2018, 5:26 PM Ralph Dugue<EMAIL_ADDRESS>wrote:

Hi Jake, would you by chance have a snapshot that doesn't target API

I'm maintaining a project that unfortunately can't support it right
now.
Would be greatly appreciated.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub

<

https://github.com/JakeWharton/butterknife/issues/1370#issuecomment-427404357

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/AAEEEabzttr0LS8yUUKCtbW2wAPnOnzRks5uh3oqgaJpZM4W12eS

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<

https://github.com/JakeWharton/butterknife/issues/1370#issuecomment-427527389

,
or mute the thread
<

https://github.com/notifications/unsubscribe-auth/AFIUKIBYgPiFxTOLTaNTFldjTDCrG1WNks5uh_BAgaJpZM4W12eS

.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub

https://github.com/JakeWharton/butterknife/issues/1370#issuecomment-429866279,

or mute the thread

https://github.com/notifications/unsubscribe-auth/AAEEEch4Dd47e0dZN38nwis6u86k19geks5ulJaTgaJpZM4W12eS

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/issues/1370#issuecomment-430075423,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFIUKFg13nzVDFtbF5LmFUHo1B7lV5NWks5ulT-XgaJpZM4W12eS.

You are free to fork the project and make any necessary changes to support
your use case.
On Tue, Oct 16, 2018 at 12:03 PM Ralph Dugue<EMAIL_ADDRESS>wrote:

Jake I’m with you 100%, but we are an SDK in another eco system and they
won’t budge. It has put us in a really tough spot. Any chance you can
help us for this short term fix while the other partner gets 28 on the
road map? I've tried downgrading to a version below 9, but I always run
into issue #1130. I'm just looking for any option that doesn't mean
refactoring a fairly large library project. I’m getting killed by the
client here…
Thanks again for the feedback.
On 10/15/2018 10:08 PM, Jake Wharton wrote:

BK 9 supports AndroidX 1.0 and support library 28 which requires
compilation against API 28. Compiling against the latest is usually
always
required.
On Mon, Oct 15, 2018 at 10:07 AM Ralph Dugue<EMAIL_ADDRESS>wrote:

Hi, I appreciate the quick response on this.
Unfortunately I am realizing now that I misspoke when I said "target"
when what I mean is that currently this project currently cannot
compile
against 28. I've tried to push for a move to API 28 but it is
ultimately
out of my control. Would you have any suggestion that doesn't involve
removing Butterknife from the entire project? Again, open to all
suggestions.
Thanks for your time.
On 10/5/2018 7:50 PM, Jake Wharton wrote:

The library doesn't target 28, it compiles against 28. You can
compile
against 28 while still targeting 27.
On Fri, Oct 5, 2018, 5:26 PM Ralph Dugue<EMAIL_ADDRESS>wrote:

Hi Jake, would you by chance have a snapshot that doesn't target
API

I'm maintaining a project that unfortunately can't support it right
now.
Would be greatly appreciated.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub

<

https://github.com/JakeWharton/butterknife/issues/1370#issuecomment-427404357

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/AAEEEabzttr0LS8yUUKCtbW2wAPnOnzRks5uh3oqgaJpZM4W12eS

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<

https://github.com/JakeWharton/butterknife/issues/1370#issuecomment-427527389

,
or mute the thread
<

https://github.com/notifications/unsubscribe-auth/AFIUKIBYgPiFxTOLTaNTFldjTDCrG1WNks5uh_BAgaJpZM4W12eS

.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub

<
https://github.com/JakeWharton/butterknife/issues/1370#issuecomment-429866279
,

or mute the thread

<
https://github.com/notifications/unsubscribe-auth/AAEEEch4Dd47e0dZN38nwis6u86k19geks5ulJaTgaJpZM4W12eS

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/JakeWharton/butterknife/issues/1370#issuecomment-430075423
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AFIUKFg13nzVDFtbF5LmFUHo1B7lV5NWks5ulT-XgaJpZM4W12eS
.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/issues/1370#issuecomment-430296287,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEEEQ4uWG0P8sJlogehVgjvy9gpyxYuks5ulgNcgaJpZM4W12eS
.


cors error, but in chrome network tab response is 200, and terminal curl works fine

XMLHttpRequest cannot load URLURLURLURL. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access.
But in chrom network tab i see how the server responded with 200 .
Also with curl everything is workin fine.
What is the problem, how to fix it?

When you access that URL with CURL you aren't making a CORS request, because you are directly polling the URL. You need to configure your server to allow CORS requests.

@sheam i perform the request to third party service  https://www.tumblr.com/docs/en/api/v1 not to my local server

I am having a very similar issue when it comes box.com api. Fetch works:
    window.fetch('https://api.box.com/oauth2/token', {
      method: 'POST',
      body: `grant_type=${'authorization_code'}&code=${token}&client_id=${clientId}&client_secret=${clientSecret}`,
      headers: {
        'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
      }
    }).then(response => console.log(response.json()))

But trying to make the same post leads to cors error in chrome
axios({
      url: 'https://api.box.com/oauth2/token',
      method: 'post',
      data: {
        grant_type: 'authorization_code',
        code: token,
        client_id: clientId,
        clientSecret: clientSecret
      },
      headers: {
        'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
      }
    }).then(response => console.log(response))

Any ides on why the discrepancy?

@walleXD by default Axios serializes the data as JSON. Please read the documentation on how to serialize as form-urlencoded.


Connection refused after upgrade

Attempted Debugging

[X] I have read the debugging page

Searched GitHub Issues

[X] I have searched GitHub for the issue.

Describe the Scenario
After upgrading my docker-compose stack (database and bookstack) container, bookstack isn't able to connect to the MariaDB instance anymore. However, I can ping the database host from the bookstack container and I'm also able to connect to the database via mariadb cli tool.
It seems like that my DB_DATABASE environment variable is stored in some file of the PHP app because of the first startup. I forgot to change the variable from "bookstack" to "bookstackapp" and now PHP tries to connect to the "bookstack" database. Even after changing it back in my environment file, it still tries to connect to "bookstack".
Is there anything I can do about it without completeley redeploying my database container?
I also added one of the log files I retrieved some errors from.
Exact BookStack Version
v24.02.2
Log Content
# /config/log/bookstack/laravel.log
Next Illuminate\Database\QueryException: SQLSTATE[HY000] [1044] Access denied for user 'bookstack'@'%' to database 'bookstack' (SQL: select * from `users` where `system_name` = public limit 1) in /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760
Stack trace:
#0 /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(720): Illuminate\Database\Connection->runQueryCallback()
#1 /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(405): Illuminate\Database\Connection->run()
#2 /app/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2705): Illuminate\Database\Connection->select()
#3 /app/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2694): Illuminate\Database\Query\Builder->runSelect()
#4 /app/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3230): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
#5 /app/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2693): Illuminate\Database\Query\Builder->onceWithColumns()
#6 /app/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(710): Illuminate\Database\Query\Builder->get()
#7 /app/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(694): Illuminate\Database\Eloquent\Builder->getModels()
#8 /app/www/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(296): Illuminate\Database\Eloquent\Builder->get()
#9 /app/www/app/App/Providers/AuthServiceProvider.php(73): Illuminate\Database\Eloquent\Builder->first()
#10 /app/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(885): BookStack\App\Providers\AuthServiceProvider->BookStack\App\Providers\{closure}()
#11 /app/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(770): Illuminate\Container\Container->build()
#12 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(856): Illuminate\Container\Container->resolve()
#13 /app/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(706): Illuminate\Foundation\Application->resolve()
#14 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(841): Illuminate\Container\Container->make()
#15 /app/www/app/Users/Models/User.php(98): Illuminate\Foundation\Application->make()
#16 /app/www/app/App/helpers.php(38): BookStack\Users\Models\User::getGuest()
#17 /app/www/app/Settings/SettingService.php(62): user()
#18 /app/www/storage/framework/views/872733693c1f8e7d46945825e715cc42e8efb276.php(4): BookStack\Settings\SettingService->getForCurrentUser()
#19 /app/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('...')
#20 /app/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
#21 /app/www/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire()
#22 /app/www/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath()
#23 /app/www/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get()
#24 /app/www/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents()
#25 /app/www/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents()
#26 /app/www/storage/framework/views/6212e6f16538942c654408b0bb64b92abc2fa8d6.php(16): Illuminate\View\View->render()
#27 /app/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('...')
#28 /app/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
#29 /app/www/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire()
#30 /app/www/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath()
#31 /app/www/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get()
#32 /app/www/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents()
#33 /app/www/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents()
#34 /app/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render()
#35 /app/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent()
#36 /app/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\Http\Response->__construct()
#37 /app/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\Routing\ResponseFactory->make()
#38 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(626): Illuminate\Routing\ResponseFactory->view()
#39 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException()
#40 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(460): Illuminate\Foundation\Exceptions\Handler->prepareResponse()
#41 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(377): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
#42 /app/www/app/Exceptions/Handler.php(89): Illuminate\Foundation\Exceptions\Handler->render()
#43 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(233): BookStack\Exceptions\Handler->render()
#44 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse()
#45 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
#46 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#47 {main}

Hosting Environment
Docker compose template of LinuxServer.io on a Debian Bookworm host

Hi @MapManagement,

I forgot to change the variable from "bookstack" to "bookstackapp" and now PHP tries to connect to the "bookstack" database. Even after changing it back in my environment file, it still tries to connect to "bookstack".

First of all, be sure to re-up the stack after changing env vars since restarting containers alone won't allow the changes to take affect, the containers need to be re-created.
Second, Some of the database details can be "sticky" as they are transferred to BookStack's env file on first run when in that kind of setup. Open the www/.env, within the folder/volume location you have mounted as /config for the BookStack container, then update any DB options that don't reflect the current values.

Hi @ssddanbrown,
first of all I want to thank you for the fast reply. I checked www/.env and recognized that some options weren't set correctly and therefore changed them to my new values.
I always recreate the whole stack after changing anything concerning the environment variables or the configuration in general. However, I'm facing another problem now.
Eventhough I'm still able to access the database manually within the bookstack container, it tells my that the connection has beem refused:
/config/log/bookstack/laravel.log
Next Illuminate\\View\\ViewException: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `users` where `system_name` = public limit 1) (View: /app/www/resources/views/layouts/base.blade.php) (View: /app/www/resources/views/layouts/base.blade.php) in /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760
Stack trace:
#0 /app/www/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(60): Illuminate\\View\\Engines\\CompilerEngine->handleViewException()
#1 /app/www/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\\View\\Engines\\PhpEngine->evaluatePath()
#2 /app/www/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\\View\\Engines\\CompilerEngine->get()
#3 /app/www/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\\View\\View->getContents()
#4 /app/www/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\\View\\View->renderContents()
#5 /app/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\\View\\View->render()
#6 /app/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\\Http\\Response->setContent()
#7 /app/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\\Http\\Response->__construct()
#8 /app/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\\Routing\\ResponseFactory->make()
#9 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(626): Illuminate\\Routing\\ResponseFactory->view()
#10 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\\Foundation\\Exceptions\\Handler->renderHttpException()
#11 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(460): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse()
#12 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(377): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionResponse()
#13 /app/www/app/Exceptions/Handler.php(89): Illuminate\\Foundation\\Exceptions\\Handler->render()
#14 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(233): BookStack\\Exceptions\\Handler->render()
#15 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->renderHttpResponse()
#16 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleException()
#17 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#18 {main}
  thrown at /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760)
[stacktrace]
#0 {main}
"}

Does the database password container any special characters?

Can you access bash in the running BookStack container, then run the following:
cd /app/www
php artisan tinker --execute="dd(config('database.connections.mysql'));"

Do the show details reflect those that you expect?
If so, does connecting via mysql on the command line within the BookStack container, using all the exact same details, work okay?

Run a select * from userswheresystem_name = public limit 1 query just to be sure that table access is as expected.

Are you also getting errors in the BookStack container logs when it starts up?

First of all, i would like to thank you very much for your help.

Do the show details reflect those that you expect?

All details are correct and are also in use when I try connecting manually.

If so, does connecting via mysql on the command line within the BookStack container, using all the exact same details, work okay?

The given select runs perfectly fine and is not blocked or not permitted.

Are you also getting errors in the BookStack container logs when it starts up?

Yes, the same error I found in the log file:
   Illuminate\Database\QueryException

  SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = bookstackapp and table_name = migrations and table_type = 'BASE TABLE')

  at /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760
    756▕         // If an exception occurs when attempting to run a query, we'll format the error
    757▕         // message to include the bindings with SQL, which will make this exception a
    758▕         // lot more helpful to the developer instead of just the database's errors.
    759▕         catch (Exception $e) {
  ➜ 760▕             throw new QueryException(
    761▕                 $query, $this->prepareBindings($bindings), $e
    762▕             );
    763▕         }
    764▕     }

      +39 vendor frames
  40  /app/www/artisan:35
      Illuminate\Foundation\Console\Kernel::handle()

Very strange then, not sure what's going on.
Can you share the full output of the previously shared bash command? and the full manual mysql command used? Just to understand the options and potential networking in play (Of course, obsficate password and mention any other changes made to hide sensitive info)

Output of bash command (only changed the password):
PHP Warning:  PHP Startup: Invalid date.timezone value '', using 'UTC' instead in Unknown on line 0
array:15 [ // vendor/psy/psysh/src/ExecutionClosure.php(40) : eval()'d code:1
  "driver" => "mysql"
  "url" => null
  "host" => "bookstack_db"
  "database" => "bookstackapp"
  "username" => "bookstack"
  "password" => "my_database_user_password"
  "unix_socket" => ""
  "port" => "3006"
  "charset" => "utf8mb4"
  "collation" => "utf8mb4_unicode_ci"
  "prefix" => ""
  "prefix_indexes" => true
  "strict" => false
  "engine" => null
  "options" => []
]

And the manual MySQL command:
# connecting from bookstack container (entering password when asked for)
mariadb -u bookstack -p -h bookstack_db

# set database operating on
MariaDB [(none)]> use bookstackapp;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed

# executing select
MariaDB [bookstackapp]> select * from users where system_name = 'public' limit 1;
# ...
1 row in set (0.004 sec)

Hi @MapManagement,
Thanks for the detail. I see one significant difference between those connections, the port.
BookStack is using 3006 whereas I'm the command line has no port defined so I assume it's falling back to the default 3306 port number.
Do you have a DB_PORT value defined as part of your docker compose setup for the BookStack container? If so is the current value 3006? If so, try changing that to 3306.


layer shell: attaching null buffer does not behave as expected

Expected behavior

Attaching a null buffer to a layer surface unmaps it.
Unmapping a layer_surface means that the surface cannot be shown by the compositor until it is explicitly mapped again. The layer_surface returns to the state it had right after layer_shell.get_layer_surface. The client can re-map the surface by performing a commit without any buffer attached, waiting for a configure event and handling it as usual.

Actual behavior
After attaching null buffer the surface disappears, but the "exclusive zone" is not shifted. Reattaching a non-null buffer does not trigger a configure event.

does it work on sway? I'd imagine something like this should be handled by wlr

it works in river, haven't tested on sway

alr

Tested sway, it is partially broken.
Reattaching a buffer does trigger a configure event, but the exclusive zone isn't cleared.

Reattaching a buffer does trigger a configure event

But only if I resize sway's window (I run it inside another wayland session). So I suppose it is just as broken.
For context: I implemented a hide/show feature in my status bar by attaching null buffer and it worked fine in river.

why not just call unmap

why not just call unmap

On which object?

wait huh

wlroots. Wat

can you link me your test client

is this still a thing?

On 0.40.0, yes.

what about git?

I've just tried 0.41.0, it is still a thing. Worse yet, hypland crashes. Steps: hide the bar (it is hidden but the exclusive zone is not reclaimed), show the bar (nothing happens), open a terminal (crash). I've run a packaged version and the backtrace is almost useless, but here it is:
(gdb) bt full
#0  0x00007ecce0c7be44 in ??? () at /usr/lib/libc.so.6
#1  0x00007ecce0c23a30 in raise () at /usr/lib/libc.so.6
#2  0x00007ecce0c0b4c3 in abort () at /usr/lib/libc.so.6
#3  0x0000557f0090cab7 in handleUnrecoverableSignal(int) ()
#4  0x00007ecce0c23ae0 in <signal handler called> () at /usr/lib/libc.so.6
#5  0x0000557f0092affe in ??? ()
#6  0x0000557f009a5035 in CLayerSurface::onCommit() ()
#7  0x0000557f009a5769 in ??? ()
#8  0x0000557f009f2b6f in CSignalListener::emit(std::any) ()
#9  0x0000557f009f2ed1 in CSignal::emit(std::any) ()
#10 0x0000557f00ab21ce in ??? ()
#11 0x0000557f009f2b6f in CSignalListener::emit(std::any) ()
#12 0x0000557f009f2ed1 in CSignal::emit(std::any) ()
#13 0x0000557f00b3787b in ??? ()
#14 0x0000557f00b2eb61 in CWLSurfaceResource::bfHelper(std::vector<CSharedPointer<CWLSurfaceResource>, std::allocator<CSharedPointer<CWLSurfaceResource> > >, std::function<void (CSharedPointer<CWLSurfaceResource>, Vector2D const&, void*)>, void*) ()
#15 0x0000557f00b2f5c9 in CWLSurfaceResource::breadthfirst(std::function<void (CSharedPointer<CWLSurfaceResource>, Vector2D const&, void*)>, void*) ()
#16 0x0000557f00c2beb3 in ??? ()
#17 0x0000557f00bc9d66 in ??? ()
#18 0x00007ecce1095596 in ??? () at /usr/lib/libffi.so.8
#19 0x00007ecce109200e in ??? () at /usr/lib/libffi.so.8
#20 0x00007ecce1094bd3 in ffi_call () at /usr/lib/libffi.so.8
#21 0x00007ecce15fbe45 in ??? () at /usr/lib/libwayland-server.so.0
#22 0x00007ecce1600c42 in ??? () at /usr/lib/libwayland-server.so.0
#23 0x00007ecce15ff0a2 in wl_event_loop_dispatch () at /usr/lib/libwayland-server.so.0
#24 0x00007ecce160110f in wl_display_run () at /usr/lib/libwayland-server.so.0
#25 0x0000557f00a536b9 in CEventLoopManager::enterLoop(wl_display*, wl_event_loop*) ()
#26 0x0000557f008d0eb1 in main ()

wallahi I hate software development, why does waybar work then lol

try now, should be all fixed.

Yay, it works!


allow newer onnx runtime

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
@aressem please review

@arnej27959 FYI

This might trigger issues with older version of vespa needing libonnxruntime.so.1.4.0
while libonnxruntime.so.1.7.1 is installed instead. The library version is encoded in the
run time link dependy (cf. objdump -p vespa-proton-bin  | grep libonnx).

so, it is better to just bump directly to exactly 1.7.1 and allow some temporary breakage?
(the plan was to update spec references, then update to 1.7.1, then update references again, possibly with = instead of >=...)

Yes. We have a similar issue with protobuf version.


Investigate local queue PercentSuccess

Fixes #11418
Status
In development
Description
Just a placeholder to debug and better understand the use of local workqueue for a potential input block cleanup.
Is it backward compatible (if not, which system it affects?)
YES
Related PRs
None
External dependencies / deployment changes
None

Just for the record, with this I can confirm that the WorkQueueManagerCleaner thread is updating the processing status of a given workqueue element, see log snippet below:
2023-09-08 04:41:35,859:139774333544192:INFO:WorkQueueManagerCleaner:Start updating & cleaning...
2023-09-08 04:41:35,859:139774333544192:INFO:WorkQueue:Deleting completed workflow WQ elements ...
2023-09-08 04:41:35,947:139774333544192:INFO:WorkQueue:Retrieved 8 workflows known by WorkQueue
2023-09-08 04:41:36,004:139774333544192:INFO:WorkQueue:Found 0 out of 8 workflows in a deletable state
2023-09-08 04:41:36,004:139774333544192:INFO:WorkQueue:Deleted 0 elements from workqueue/inbox database
2023-09-08 04:41:36,004:139774333544192:INFO:WorkQueue:Syncing and cancelling work ...
2023-09-08 04:41:36,033:139774333544192:INFO:WorkQueue:Fetching WMBS subscription status information
2023-09-08 04:41:36,054:139774333544192:INFO:WorkQueue:Fetching workflow information (including inbox and specs)
2023-09-08 04:41:36,152:139774333544192:INFO:WorkQueue:Syncing element statuses with WMBS for workflow: amaltaro_SC_6Steps_PU_Sept2023_Val_230907_205516_3876
2023-09-08 04:41:36,152:139774333544192:INFO:WorkQueue:Updating element with SubscriptionId 175 with the following information: {'subscription_id': 175, 'workflow_name': 'amaltaro_SC_6Steps_PU_Sept2023_Val_230907_205516_3876', 'fileset_name': 'amaltaro_SC_6Steps_PU_Sept2023_Val_230907_205516_3876-HIG_RunIISummer20UL16wmLHEGENAPV_03178_0-aa64fd5818f6ba59fec3db84cbc2ec2b', 'percent_complete': 92, 'percent_success': 89}
2023-09-08 04:41:36,152:139774333544192:INFO:WorkQueueElement:AMR: element really modified for key percent_complete and value 92
2023-09-08 04:41:36,152:139774333544192:INFO:WorkQueueElement:AMR: element really modified for key percent_success and value 89

I am going to create a documentation for everything that I have collected so far and update the GH issue.q

No longer relevant/needed, closing.


Google OAuth doesn't return refresh token

I have the following code
const googleScopes = [
    'openid',
    'email',
    'profile',
    // Gmail API scopes
    'https://www.googleapis.com/auth/gmail.readonly',
    // People API scopes
    'https://www.googleapis.com/auth/contacts.readonly'
  ];

  const state = generateState();
  const codeVerifier = generateCodeVerifier();

  const url = await google.createAuthorizationURL(state, codeVerifier, {
    scopes: googleScopes
  });

and to get the token
const tokens: GoogleTokens = await google.validateAuthorizationCode(code, storedCodeVerifier);

tokens.refreshToken is always null, even if I'm authenticating the email for the first time.

Please read the docs
https://arctic.js.org/providers/google#get-refresh-token


⚠ Bofrost.es has degraded performance

In c0357e6, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1604 ms

Resolved: Bofrost.es performance has improved in f1c4bf3 after 6 minutes.


Add role Fixed : UserEditScreen fixes #2235

Fixes #2235
Issues
when adding roles to a user, the roles array and all other fields are added to the $userData  array at the save()  method under UserEditScreen.php ,
$userData = $request->get('user');

then the fill method fills the user as if roles is a field in the users table and that's what causes these issues,
instead of that roles should be attached after the fill because they unlike permissions a relationship
$user->replaceRoles($request->input('user.roles'));

Proposed Changes

removing "roles" key from userData array before filling the user model .

       // remove roles array from userData to avoid the fill

        unset($userData["roles"]);

        $user
            ->fill($userData)
            ->fill([
                'permissions' => $permissions,
            ])
            ->save();

I wrote it a little differently. Should work with guarded properties since version 12.4.4


Ephemeral bucket DCP issue

Describe the bug

When using ephemeral bucket type (Metadata bucket also same) connector get started successfully but mutation events does not listen by the connector. Also there is no error logs everything seems OK. Then trigger a mutation from couchbase and run project on my local, there is no events received from dcp. We though it might be DCP side but we tested it via couchbase eventing function to receive mutation/delete logs same bucket and collection it works.

Version

OS:  macOS & Linux
Golang version  1.20
Couchbase 7.0+
connector 0.0.58

dcp-client observes and desires data to persist on Couchbase. Persistence is not required on Ephemeral Bucket. When adding following config to your config.yaml you can pass that logic.
rollbackMitigation:
  disabled: true


feat: resolved navBar display Issue

Title and Issue number

Title :  Website Name and Navigation Links Not Displaying Properly on Mobile #863
Issue No. : #863
Code Stack : css
Close #863

Description

i have changed the margin-left for nav_logo to 0px
Video/Screenshots (mandatory)

https://github.com/apu52/Travel_Website/assets/127001952/e0659199-a632-4225-9d38-2a71bd58c915
Type of PR

[x] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Checklist:

[x] I have performed a self-review of my code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have gone through the  contributing.md file before contributing

Additional context:

##Are you contributing under any Open-source programme?

girl script summer of code

@apu52 please review this pr

@Sathwik279 it's not your issue ....Can you please mention here what is your assigned issue no?? otherwise I can't assign you points


[Backport] Adding instructions to force Elemental version selection when installing for Edge

Backporting #342, as referenced in #323.
cherry-picked from b1f86410304d0068a62e4e572875a1d7d09cc2cd

Backporting #342, as referenced in #323.
cherry-picked from b1f8641

Just to cross-reference - typo above, this is a backport of https://github.com/suse-edge/suse-edge.github.io/pull/324


[Question]About Japanese-prohibited-characters

I noticed that there is a file was named as  Japanese-prohibited-characters in the repository.  I'm a little curious if the characters in this file are the characters you found that can't be displayed properly in the game?

@solitary-sails Yes. Outer Wilds has some missing Japanese characters even though they are used in the base game like 'ぺ'.
I have a plan to make a Japanese font fix mod as in the Chinese font fix mod.

I know that fix patch made by nice2cu1, we're in the same OICQ (A SNS like LINE) chat group. It's a little weird that "六" are already been used in Chinese translation of base game, and can be display well. I'm a little surprised that this character doesn't display correctly in the Japanese translation.

BTW, since some characters in Japanese come from Chinese, the work of nice2cu1 is now able to fix part of the problems in the Japanese translation. I found out that "Nomaiの" in ship log about Dark Bramble was successfully restored back to "Nomaiの墓".

BTW, since some characters are both exist in Japanese and Chinese, the work of nice2cu1 is now able to fix part of the problems in the Japanese translation. I found out that "Nomaiの" in ship log about Dark Bramble was successfully restored back to "Nomaiの墓".

ok, the plan is started:

I think the Chinese font asset and the Japanese font asset is completely separated, so "六" can be displayed in only Chinese.

Thanks for answering. It is indeed possible that Chinese and Japanese use different assets. My question is over


Support for Database level Metrics

Thanks so much for building this library, it is super helpful!
Is there any support yet for database level metric retrieval (these specifically)?
DATABASE_AVERAGE_OBJECT_SIZE
DATABASE_COLLECTION_COUNT
DATABASE_DATA_SIZE
DATABASE_STORAGE_SIZE
DATABASE_INDEX_SIZE
DATABASE_INDEX_COUNT
DATABASE_EXTENT_COUNT
DATABASE_OBJECT_COUNT
DATABASE_VIEW_COUNT
I've been looking through the source and documentation but haven't been able to find anything close to it other than the host level metrics.

Thanks @luffespresso for submitting this!
Indeed, this has not yet been implemented. I will look into implementing this soon, and will update on this issue once work begins.

Scheduled for measurements v2 release next week.

Not targeting Release 2022-06-23

Adding both:
https://www.mongodb.com/docs/atlas/reference/api/process-databases/ (get all databases)
and
https://www.mongodb.com/docs/atlas/reference/api/process-databases-measurements/ (get measurements for database)

Completed! @luffespresso will tag you for review.

PR is now ready (#113), @luffespresso , please let me know if you would like to be a reviewer.

Will mark this as closed, as we are only awaiting the PR to complete for release.
This is available in 2.0.rc1 if you want to use that version on pypi before the PR is completed.


Between filter wants me to work at new year

Problem
$filtered = $yasumi->between(
    new DateTime(($year).'-01-01'),
    new DateTime(($year + 1).'-01-01')
);

Returns the 2017-01-01 as holiday only if the DateTime Timezone is the same as the local timezone, not if I use an DateTime with UTC.
Background
Internally I use a wrapped DateTime class fixed to UTC with Hours:minutes to 0 to identify a single day. My local timezone is "Europe/Berlin". So DateTime defaults to 2017-01-01 00:00:00+1 and my class defaults to 2017-01-01 00:00:00Z.
So these two describe the following "moments in spacetime written without any offset"
DateTime (Europe/Berlin): 2016-12-31 23:00:00Z
MyClass: 2017-01-01Z
Yasumi creates the holidays based on the timezone given in the provider class. So germanys new year is: 2017-01-01 00:00:00+1 or 2016-12-31 23:00:00Z.
The between filter function now checks if
$holiday >= $this->start_date && $holiday <= $this->end_date

which must be denied, when $this->start_date = MyUTCDay('2017-01-01') because
2016-12-31 23:00:00Z >= 2017-01-01 00:00:00Z

is false
Discussion
I can understand the way you think, but I would like to advocate for the following idea:
If the holiday intersects with the given between barrier include it into the result set.
On the pro side I can be sure to get all holidays in my time frame. So I could ask the result set for any moment inside its timeframe if this moment is a holiday, regardless of day.
On the against side I could end in getting too many holidays which results in unesecarry unwanted holidays in the result set.
Conclusion
I'd like to advocate for an option to get an inclusive between filter or an option to query for a day without a timezone which then defaults to the provider class timezone.

Thank you very much for submitting this issue. As I understand the issue, I am not sure I follow why you want to use a UTC date time object using the BetweenFilter.
Could you perhaps provide some use case so I understand it better?

I bumped with this error as well and I can confirm. This is how you can reproduce:
$timeZone = new \DateTimeZone("Europe/Berlin");
$yasumiDate = new Yasumi\Holiday(
    "New Year's Day",
    [],
    new DateTime("2017-01-01 00:00:00.000000", $timeZone),
    Yasumi\Holiday::DEFAULT_LOCALE,
    Yasumi\Holiday::TYPE_OFFICIAL
);

$regularDate = new \DateTime("2017-12-19 00:00:00.000000", $timeZone);

var_dump($yasumiDate >= $regularDate); // Should be true but returns false

I think that the error is more general than just the new year's day. In my snippet both time zones are equal. I think is more in how PHP is interpreting the comparison against the custom class Yasumi\Holiday.

Thanks @jvalecillos for the example. Let me see if I can replicate and test it out :)

Still not sure what the issue is you are experiencing. I am trying to reproduce it but without success. If I run the following snippet:
`
$year = 2017;
$yasumi = Yasumi\Yasumi::create('Netherlands', $year);
$filtered = $yasumi->between(
new \DateTime($year . '-01-01'),
new \DateTime($year . '-12-31')
);
$betweenHolidays = iterator_to_array($filtered);
foreach ($filtered as $holiday) {
echo $holiday->getName().PHP_EOL;
}
`
I get all the holidays defined for the date range I have provided, even without providing any timezone.
My output is:
Epiphany Valentine's Day Carnival Carnival Carnival Ash Wednesday Summertime Good Friday Easter Sunday Easter Monday Kings Day International Workers' Day Commemoration Day Liberation Day Mother's Day Ascension Day Whitsunday Whitmonday Father's Day Prince's Day World Animal Day Wintertime Halloween St. Martin's Day St. Nicholas' Day Christmas Second Christmas Day

The code in the latest comment depends on the default timezone. If PHP is configured to use a different timezone offset than Germany, it will miss holidays on either 1 January or 31 December.
The following example is more explicit. The first between() returns 1 result, the second 0 results.
$holidays = Yasumi\Yasumi::create('Germany', 2017);
$holidays->between(
    new DateTime('2017-01-01 Europe/Berlin'),
    new DateTime('2017-01-01 Europe/Berlin'));
$holidays->between(
    new DateTime('2017-01-01 Europe/London'),
    new DateTime('2017-01-01 Europe/London'));

When using DateTime instance to represent a whole day rather than a point in time, I think it makes sense to treat two instances as equal, if $date1->format('Y-m-d') == $date2->format('Y-m-d') instead of the stricter $date1 == $date2 (i.e. that they represent the same Unix timestamp down to the second). AbstractProvider::isHoliday() already does that. I suggest changing BetweenFilter to use that logic also.

What could be a good use case for this? I am trying to understand in what situation one would want to retrieve holidays from one provider but with different timezone.

I don't think there is a specific use case, just an easier API that is more consistent with AbstractProvider::isHoliday().
Right now you need to know the timezone used by a given provider. There is no public method for getting this, but even if there were, new DateTime('2018-01-01') is easier to type than new DateTime('2018-01-01', new DateTimeZone($provider->getTimeZone())).
As long as you are working with providers in your own timezone, the current behaviour is not a big issue. But if you are getting holidays for a different region than the one your server is in, or if you are getting holidays for multiple regions at a time, the current API is a bit cumbersome.
In general, if a DateTime instance is used to represent a date rather than a point in time, I would assume only the date part is considered, so that new DateTime('2018-01-01 00:00:00') andnew DateTime('2018-01-01 00:00:00') represent the same date, and new DateTime('2018-01-01 America/New_York') and new DateTime('2018-01-01 America/Los_Angeles') represent the same date.
For instance, the dates returned by the USA provider returns DateTime instances with timezone America/New_York, but that doesn't mean that the holidays don't start at midnight in Los Angeles.

Thanks for the additional information!
In Yasumi, any DateTime instance should represent a date rather than point in time. To my understanding there is no such situation that there could be holidays recognized by timezone (i.e. hour/minutes) within a country.
I think we can then indeed adjust the logic in the BetweenFilter in the same manner as used in the isHoliday function.


BaseChainDB no longer supports a header-only DB

What is wrong?
BaseChainDB._set_as_canonical_chain_head() now expects the DB to contain transactions as well, and that breaks LightChain since it only syncs headers.
When there's a chain reorg, that method will try to remove tx lookups from the DB, but that crashes because we have no transactions in the DB

We might want to take it a step further and have one DB containing just the headers and another one containing just the block bodies/receipts. That would potentially allow us to have a single header DB for both light/full modes. Also, given the way full-node sync should be implemented (i.e. fetching/validating header chains before fetching the block bodies), having separate DBs would make it easier for us to parallelize parts of it

We might want to take it a step further and have one DB containing just the headers and another one containing just the block bodies/receipts

Seems reasonable. Which invites the question: how do we coordinate both databases when the canonical chain head updates?
Some options:

Introduce a pub/sub where the ChainBodyDB can subscribe to events in the ChainHeaderDB (like "block header A is no longer in canonical chain", or "block header B is now in the canonical chain"). This might be useful elsewhere
Have the ChainBodyDB be a subclass of a ChainHeaderDB, hooking in some logic for canonical head updates (and wherever else becomes apparent)
Add two orchestration classes where we would extract a lot of the current canonical logic: a headers-only and a headers-plus-transaction one
Change approach from proactively caching canonical transaction locations to looking them up on demand. Presumably, this is too slow to use in practice without caching. Effective caching would probably need one of the above solutions.

At first glance, I'm in favor of 1. It seems like a clean separation, and other objects might benefit from this feature. One downside is that we don't follow that subscription pattern anywhere else that I've seen.

We now have separate HeaderDB and ChainDB classes, and the former's _set_as_canonical_chain_head() method doesn't expect the DB to contain transactions in case of a chain reorg, so this is fixed


font size modified

Here when we toggle the font size was not remaining constant to a specific font size.

Please review my pr

please resolve merge conflicts


Significant delay in request handling

All 7 or 8 of the applications I've added to localias so far are functioning, but have this weird quirk where certain requests take an extra 4-5 seconds to actually "start doing anything". The application receiving the request makes no acknowledgement of receiving the request until the very end, at which point the response happens in milliseconds, so it does seem like something in localias/caddy is getting hung up (or mDNS or something).
The extra detail that makes this a little more confusing is that the problem disappears temporarily when serving an app through a web browser. The initial request to the application has this large up-front delay, and then after the first page loads, things are as snappy as a direct connection. After a few minutes of inactivity, a subsequent request has the same up-front delay, then back to being quick.
I use a desktop application that sends queries to one of the services I have set up, and that service behaves as I describe above in a web browser, but when sending requests to it from this separate application, all requests have an up-front delay, and there is no "warm cache" effect happening. I suppose this would mean that the browser is doing something that the application is not. The application in question is actually an electron app, and I'm using a Chrome-based browser, so they are more similar than not.
Let me know if this is a clear explanation, my head is still not on straight this morning.
Other notes:

Pinging the localias domains correctly resolve to <IP_ADDRESS> and there is no delay
macOS Sonoma, M3 Pro Mac Mini
2.0.1+commit.c358250

Interesting — I'm not sure exactly what's going on, but I wouldn't be surprised if it's a problem with localias.
Can you tell me:

What are the aliases you're using? (localias debug config --print)
What are the logs you see when you start localias? (localias run)
What's your hostname? (hostname)
Do you have the same problem with a different backend service, like a simple python file server? (python3 -m http.server 8888 to run a server on port 8888)

Apologies for the trouble, I'm sorry that Localias isn't working for you out of the box.

Thank you for the quick response — I am pretty sure I know what the problem is now. To confirm, can you please share the logs that localias emits when you run localias run and then make a few requests?
My suspicion is that the mDNS server is not able to start because your hostname ends in .local, as reported in #20. On macOS, requests to .local domains will still result in an mDNS request; without the server running to serve a response, this request times out, which explains the initial 5 second delay. For more information you can hunt around on stackoverflow, here's a similar report.
Basically, requests to .local domains are slow on macOS if the mDNS responder isn't running. I'll have a bugfix pushed soon. Thanks!

@taylorthurlow should be fixed now — if you installed via brew, you can brew upgrade localias to receive version 2.0.2+commit.56d660e. When you localias run you should see that the mDNS server starts successfully and emits some log lines like
mDNS: serving order-api.local
mDNS: serving bayos.local
mDNS: serving wos.local
mDNS: serving integrations.local
mDNS: serving my.local
mDNS: serving machine.local
mDNS: serving metalprints.local
mDNS: serving customer-api.local

Working wonderfully now, thank you. And my apologies for missing the fact that you had asked for localias run output, I clearly skipped over that before.

Sweet, thanks for confirming. Enjoy! If you run into any other issues or have other feature requests, please open more issues 🫡


Add example using query parameters

This fixes #134, adding a quick example showing how additional data is turned into query parameters in the URL.

Thanks man


ssh into a remote server also running zshrc/oh-my-ssh

I copied my zsh configs over to a remote server.  With the tmux plugin enabled with zsh_tmux_autostart set to true this causes the remote shell to break - I see a load of  dots (screen full of "...") by setting this to false on the remote server (default zsh as on my local machine) the ssh connection works.  Is this a known issue? I had a quick look at the plugin and couldn't see any setting to refuse the auto tmux in case of an ssh. Ideally my .zshrc will be the same on the remote server and the local server.  This solves it for me:
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
   ZSH_TMUX_AUTOSTART=false
else
   ZSH_TMUX_AUTOSTART=true
fi

I have this same problem, anybody know why is this happening? It makes my window size 80x7 and I have to do a pkill tmux:\ client to fix this.

I meant doing that outside of tmux, you should quit the tmux session before attempting to run command tmux again.

@mcornella It started tmux just fine. But I have another issue with tmux inside SSH though which is the cursor is above the prompt. Is this related?

I'm not an expert in tmux, much less in nested tmux sessions. Try disabling the tmux plugin in the ssh session like @rileyrg did. Perhaps Stack Overflow has more information.


Cluster size should be limited to 3 servers

For the 0.9.0 release, clusters will be limited in size to 3 servers. We'll start the work to lift this limitation on the 0.9.1 release cycle. But in the meantime, we should forcibly limit the number of servers in a cluster.
If the user starts up a new server and attempts to join a cluster that already has 3 nodes, it should exit with a failure stating that the 0.9.0 release limits clusters to 3 servers.

When will be  0.9.1 out? 3-node cluster is not very useful in my case here.
thanks,
R

@tigerich 0.9.2 has been released. See the blog post for more on the state of clustering.

thanks @beckettsean
The release of 0.9.3 on August 13th will have support for clusters of arbitrary size with replication factors that are less than the number of servers.
---looking forward to that


Update 0.2.2 causes energy dashboard to break

Describe the bug
Although it is mentioned in the code that the new workaround for #32 should handle zero values correctly it seems to break something.
I have updated to 0.2.2 yesterday and now the total energy sensors jump to zero at night and jump back to the original value when the DTU starts at morning. This of course leads to incorrect solar production values as in my example.
To Reproduce
Steps to reproduce the behavior:

Update to 0.2.2
Add the total energy sensors to the energy dashboard
See error

Expected behavior
The total energy sensors should not reset to zero at all.
Screenshots

Additional context
Temporary workaround can be to delete the outlier values every day, so at least nothing will break hard 😄

Thanks, you are right. Will provide a fix later today.

One more comment: you should not use total energy for the energy dashboard.
If you restart your home assistant instance and the inverter is not available it might return 0 anyway.
Instead use daily energy. It works just as intented even if the sensor is set to 0.

One more comment: you should not use total energy for the energy dashboard.
If you restart your home assistant instance and the inverter is not available it might return 0 anyway.
Instead use daily energy. It works just as intented even if the sensor is set to 0.

Thanks for that hint, will look into this although I did not have any trouble yet (luckily). Historically I've added total sensors the past years, but according to the HA docs your advice might be the best choice 👍

v0.2.3 should fix the problem.

Thanks for the quick resolution, awesome work 👏

You‘re welcome. With the fix you should be able to keep using the total sensor.


Make Could not find profile "Default" in CHROME_USER_DATA_DIR a warning instead of an error, and move to new PERSONAS_DIR system

note for myself to fix this before releasing v0.8.0

After a fresh install of docker and pulling the latest image on two seperate systems, I am stuck on this error on both, one is headless / no X server, the other is a Ubuntu Desktop install with chromium installed and chromium-browser command working... I am lost as the file is there so I do not know why the error is appearing and preventing my from launching archivebox.. .any ideas @pirate  ?

If you have set CHROME_USER_DATA_DIR in ArchiveBox.conf or docker_compose.yml can you remove/comment out that line and try again.

Getting that error here as well with a fresh install using docker-compose

Seeing this too, also on a fresh docker compose install. Don't see the CHROME_USER_DATA_DIR in the docker_compose.yml.

what branch are you building off? dev or the v0.8.0-rc tag?
I recommend not using dev for a few weeks as I'm about to land a massive refactor https://github.com/ArchiveBox/ArchiveBox/pull/1430 that will break everything until the dust settles and I fix all the tests/bugs.
(I am liberal with breaking dev because as a solo dev I don't have a big team to coordinate breaking changes with)

I was indeed using the dev tag. I have since gotten 0.7.1 and latest working fine.
When I was looking to install ArchiveBox, I first found the wiki which points to https://docker-compose.archivebox.io which uses the dev tag.
Later, I checked the README which has the same URL, but the file above it points to https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/dev/docker-compose.yml which uses the latest tag.
Is this intended or was this maybe not updated yet?
I appreciate the work you do and am looking forward to 0.8.0!

Fixed docker-compose.archivebox.io to point to :latest, thanks for pointing that out :+1:

Fixed the CHROME_USER_DATA_DIR split error:

https://github.com/ArchiveBox/ArchiveBox/commit/c63917a22d446e4407744b7ff623a6d2712c7551
https://github.com/ArchiveBox/ArchiveBox/commit/07d80db5aacd1f6cbcf456d5c0ce0b0dbfc890d5


Explaining UART clocks

Hi, I'm trying to understand how UART clock should be configured.
The reference manual clock diagram just shows one demux to select between xclk, muxpll_160m_clk and mcu_bclk and a divider:

The issue is that in the board support code for peripheral clock initialization, we first see a clock enable thing, which is not mentioned in the diagram (at least now for each UART separately, but it's not my real problem because it's straightforward to understand):
https://github.com/bouffalolab/bl_mcu_sdk/blob/607c24d7fe4ae0cea6ddda7e660c6caccbf3e23d/bsp/board/bl808dk/board.c#L51
What I don't understand is the following code:
https://github.com/bouffalolab/bl_mcu_sdk/blob/607c24d7fe4ae0cea6ddda7e660c6caccbf3e23d/bsp/board/bl808dk/board.c#L63-L64
Why there are two demux selector registers and two divider ones (one in HBN and another in MM_GLB)? Also, there exist a GLB_Set_DSP_UART1_CLK function for UART1 but not for UART2, in this case how should we configure UART2?

Only UART3 use GLB_Set_DSP_UART0_CLK ,uart0 ~2 use GLB_Set_UART_CLK(ENABLE, HBN_UART_CLK_XCLK, 0);

So the naming is confusing? And what about GLB_Set_DSP_UART1_CLK ?

Just ignore.

UART3 is d0 first uart, named uart0 ,no confuse.

Ok, ty


Loss of history in chat after refreshing or opening the project from Stackblitz

Describe the bug
Im not sure if its a bug or the product is not meant to have this functionality, but since its an inconvenience, id like to ask to check:
After closing the chat, the history is lost,  this behavior also happens also if open via StackBliz.

Is possible to save the chat history?
thanks in Advance!
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-nfdq5o
Steps to reproduce
1 - Go to Bolt.new;
2 - Open a previous Chat
Alternative:
1 - go to StackBlitz;
2 - Go to Collections -> Bolt Collections
3 - Open a Project
4 - Click in the button "Open in Bolt.new | AI"
Expected behavior
The Bolt.new will open and will import the project, without any history of the conversation

Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 112384108,
  "usedJSHeapSize": 107628620,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = dipereira0123
Chat ID = b21880f85f77

Additional context
No response

Buenas tardes, tmb quiero saber como recuperar el historial del chat con el prompt ingresado.

This issue and workarounds are being tracked and discussed in #39


wgc in WSL2 doesn't find node

Component(s)
cli
Is your feature request related to a problem? Please describe.
wcg doesn't handle WSL2 if node is installed in windows
Describe the solution you'd like
make it work
Describe alternatives you've considered
No response
Additional context
No response

Is Node installed in WSL2? Can you provide an error message?


Allow assigning names for instances

Feature Description
First of all, thank you for this awesome project ❤
We’re currently uses the multiple instances feature of v2, and wish for a way to assign custom name for the instance, instead of long URLs.
Version of logstash-exporter this feature request applies to
v2
Motivation and Goals
No response
Alternatives Considered
No response
Additional Context
No response

hello @ofekashery
i will probably work on this feature later on, but currently i don't have a lot of time to work on this project

Glad you enjoy it ❤