text:
removed mut attributes, fixed error while compiling

Hello Peter,
I had two errors today trying to compile with rust 1.45.0-nightly, I fixed quickly hope is ok.
➜  proofmarshal git:(master) cargo build
Compiling owned v0.1.0
Compiling singlelife v0.1.0 (/Users/gianluca/workspace/sparringparrots/proofmarshal/singlelife)
Compiling leint v0.1.0 (/Users/gianluca/workspace/sparringparrots/proofmarshal/leint)
Compiling fake-simd v0.1.2
error[E0554]: #![feature] may not be used on the stable release channel
--> singlelife/src/lib.rs:1:1
|
1 | #![feature(arbitrary_self_types)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compiling opaque-debug v0.2.3
Compiling static_assertions v1.1.0
error: aborting due to previous error
For more information about this error, try rustc --explain E0554.
Compiling sliceinit v0.1.0 (/Users/gianluca/workspace/sparringparrots/proofmarshal/sliceinit)
error: could not compile singlelife.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

this is the original warning I had without cargo nightly version:
➜  proofmarshal git:(master) cargo build
Compiling proc-macro2 v1.0.18
Compiling unicode-xid v0.2.0
Compiling typenum v1.12.0
Compiling syn v1.0.30
Compiling byteorder v1.3.4
Compiling libc v0.2.71
Compiling byte-tools v0.3.1
Compiling bitflags v1.2.1
Compiling proc-macro-hack v0.5.16
Compiling leint v0.1.0 (/Users/gianluca/workspace/sparringparrots/proofmarshal/leint)
Compiling fake-simd v0.1.2
Compiling singlelife v0.1.0 (/Users/gianluca/workspace/sparringparrots/proofmarshal/singlelife)
Compiling opaque-debug v0.2.3
Compiling static_assertions v1.1.0
Compiling sliceinit v0.1.0 (/Users/gianluca/workspace/sparringparrots/proofmarshal/sliceinit)
Compiling owned v0.1.0
Compiling anyref v0.1.0 (/Users/gianluca/workspace/sparringparrots/proofmarshal/anyref)
Compiling owned v0.1.0 (/Users/gianluca/workspace/sparringparrots/proofmarshal/owned)
Compiling block-padding v0.1.5
Compiling quote v1.0.6
Compiling hex-literal-impl v0.2.2
Compiling memmap v0.7.0
Compiling generic-array v0.12.3
Compiling hex-literal v0.2.1
Compiling digest v0.8.1
Compiling block-buffer v0.7.3
Compiling sha2 v0.8.2
Compiling thiserror-impl v1.0.19
Compiling thiserror v1.0.19
Compiling hoard v0.1.0 (/Users/gianluca/workspace/sparringparrots/proofmarshal/hoard)
warning: variable does not need to be mutable
--> hoard/src/journal/mod.rs:238:19
|
238 |     fn alloc_blob(mut self, size: usize) -> Result<Self::WriteBlob, Self::Error> {
|                   ----^^^^
|                   |
|                   help: remove this mut
|
= note: #[warn(unused_mut)] on by default
Compiling proofmarshal-core v0.1.0 (/Users/gianluca/workspace/sparringparrots/proofmarshal/proofmarshal-core)
use std::cmp;
use std::convert::{TryFrom, TryInto};
use std::fs::{File, OpenOptions};
use std::io::{self, Write, Seek, SeekFrom};
use std::marker::PhantomData;
use std::mem::{self, MaybeUninit};
use std::path::Path;
use std::slice;
use std::sync::Arc;
use memmap::Mmap;
use crate::Le;
use crate::pointee::Pointee;
use crate::offset::{OffsetMut, Offset};
use crate::pile::TryPile;
use crate::save::{self, SavePtr, SaveBlob, Save, SavePoll};
mod wordoffset;
use self::wordoffset::{Word, WordOffset};
#[derive(Debug)]
pub struct Journal<'p, H = ()> {
marker: PhantomData<fn(&'p ()) -> &'p H>,
mapping: Arc,
}
impl Clone for Journal<'_, H> {
fn clone(&self) -> Self {
Self {
marker: PhantomData,
mapping: self.mapping.clone(),
}
}
}
impl<'p, H> Journal<'p, H> {
pub fn open(path: impl AsRef) -> io::Result {
let fd = OpenOptions::new()
.read(true)
.open(path)?;
Self::open_fd(&fd)
}
pub fn open_fd(fd: &File) -> io::Result<Self> {
    Ok(Self {
        marker: PhantomData,
        mapping: Self::make_mapping(fd)?,
    })
}

:238
impl<'p, 'v, H> SavePtr for JournalWriter<'v, 'p, H> {
use std::cmp;
use std::convert::{TryFrom, TryInto};
use std::fs::{File, OpenOptions};
use std::io::{self, Write, Seek, SeekFrom};
use std::marker::PhantomData;
use std::mem::{self, MaybeUninit};
use std::path::Path;
use std::slice;
use std::sync::Arc;
use memmap::Mmap;
use crate::Le;
use crate::pointee::Pointee;
use crate::offset::{OffsetMut, Offset};
use crate::pile::TryPile;
use crate::save::{self, SavePtr, SaveBlob, Save, SavePoll};
mod wordoffset;
use self::wordoffset::{Word, WordOffset};
#[derive(Debug)]
pub struct Journal<'p, H = ()> {
marker: PhantomData<fn(&'p ()) -> &'p H>,
mapping: Arc,
}
impl Clone for Journal<'_, H> {
fn clone(&self) -> Self {
Self {
marker: PhantomData,
mapping: self.mapping.clone(),
}
}
}
impl<'p, H> Journal<'p, H> {
pub fn open(path: impl AsRef) -> io::Result {
let fd = OpenOptions::new()
.read(true)
.open(path)?;
Self::open_fd(&fd)
}
pub fn open_fd(fd: &File) -> io::Result<Self> {
    Ok(Self {
        marker: PhantomData,
        mapping: Self::make_mapping(fd)?,
    })
}

:162
warning: 1 warning emitted
use super::*;
use std::error::Error;
use std::ops::Deref;
use thiserror::Error;
use hoard::blob::;
use hoard::load::;
use hoard::save::*;
use hoard::primitive::Primitive;
use hoard::ptr::{Ptr, AsPtr};
use super::flags::ValidateFlagsBlobError;
#[derive(Debug, Error)]
#[error("FIXME")]
pub enum ValidateSumTreeDataBlobError<SumError: Error, PtrError: Error> {
Flags(::Error),
Sum(SumError),
Ptr(PtrError),
}
impl<T, S, P> ValidateBlob for SumTreeData<T, S, P>
where S: ValidateBlob,
P: ValidateBlob,
{
const BLOB_LEN: usize = ::BLOB_LEN +
::BLOB_LEN +
::BLOB_LEN +
::BLOB_LEN;
type Error = ValidateSumTreeDataBlobError<<S as ValidateBlob>::Error, <P as ValidateBlob>::Error>;

fn validate_blob<'a>(mut blob: BlobValidator<'a, Self>) -> Result<ValidBlob<'a, Self>, Self::Error> {
    blob.field::<Flags>().map_err(ValidateSumTreeDataBlobError::Flags)?;
    blob.field::<Digest>().into_ok();
    blob.field::<S>().map_err(ValidateSumTreeDataBlobError::Sum)?;
    blob.field::<P>().map_err(ValidateSumTreeDataBlobError::Ptr)?;
    unsafe { Ok(blob.finish()) }
}

}
impl<Q: Ptr, T, S, P> Decode for SumTreeData<T, S, P>
where S: Decode,
P: Decode,
{
fn decode_blob(mut blob: BlobDecoder<Q, Self>) -> Self {
unsafe {
Self {
marker: PhantomData,
:162
impl<Q: Ptr, T, S, P: Ptr> Decode for Inner<T, S, P>
Compiling proofmarshal-collections v0.1.0 (/Users/gianluca/workspace/sparringparrots/proofmarshal/proofmarshal-collections)
warning: variable does not need to be mutable
--> proofmarshal-collections/src/tree/marshal_impls.rs:162:26
|
162 |     fn validate_blob<'a>(mut blob: BlobValidator<'a, Self>) -> Result<ValidBlob<'a, Self>, Self::Error> {
|                          ----^^^^
|                          |
|                          help: remove this mut
|
= note: #[warn(unused_mut)] on by default
warning: 1 warning emitted
Finished dev [unoptimized + debuginfo] target(s) in 20.82s

this fix has not tested properly or discussed.

repo: petertodd/proofmarshal


text:
feat: add gitsigns handler

Displays sidebar marks for git hunks.
https://user-images.githubusercontent.com/889383/201331485-477677a7-40a9-4731-998a-34779f7123ff.mp4
After every GitSignsUpdate autocmd, all buffers are updated with marks based on latest hunks that gitsigns.nvim reports.
Requires gitsigns.nvim as it relies on the GitSignsUpdate to update the buffers and it reads the updates by calling gitsigns.get_hunks.
I haven't tested if the performance if affected to a great extent when there are many loaded buffers.
Fixes #53

Thank you for this! I'll do some tests and merge this soon

Awesome, thanks for taking such quick action :rocket:

source: gharchive/pull-request

authors: Gelio petertriho

repo: petertriho/nvim-scrollbar

license: MIT

license_type: permissive

license_source: github-api


text:
”Galații Bistriței”, ”Albeștii Bistriței” are listed in the drop-down menu

Description:
When user writes ”Galații Bistriței”, ”Albeștii Bistriței” the locations appear in the drop-down menu next to the comune and the county witch is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Galații Bistriței"

Expected results
The location appears in the drop-down menu as "Galații Bistriței, Bistrița-Năsăud (Galații Bistriței)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 1
Write in the search bar "Albeștii Bistriței"

Expected results
The location appears in the drop-down menu as "Albeștii Bistriței, Bistrița-Năsăud (Galații Bistriței)".

source: gharchive/issue


text:
”Ceuașu de Câmpie” is listed in the drop-down menu

Description:
"Ceuașu de Câmpie" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Ceuașu de Câmpie" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Ceuașu de Câmpie, MUREȘ".


text:
feat(media): limit max framerate for encoders

This may help with some devices having trouble when the encoder could be configured above 30 fps for 1080p.

Just a question. If my devices supports e.g. 4k 60FPS, would it not be logical to expose an override in the API for max frame rate? Or is this a limitation on Infinity?

Just a question. If my devices supports e.g. 4k 60FPS, would it not be logical to expose an override in the API for max frame rate? Or is this a limitation on Infinity?

Infinity itself is limited to 1080p30 (see docs), but you could technically go higher than that in a direct media call provided your device supports it.
We can and definitely should make it configurable, maybe with a soft limit of 30fps for transcoded calls.
This particular PR mostly addresses an issue with one specific device we have where it's unable to handle 1080p60, but the framework attempts to configure the encoder to just that, which in the end results in failures when more than one video stream is active.

authors: drymarau tpettersen

repo: pexip/pexip-android-sdk


text:
Add connection marker start<>end

The following case show 4 systems that should be connected:

If i move the system at the middle at the bottom, we have the following result:

It would be nice to have a market indicator to show the connection start<>end

And/Or connections selected system in other color like this:

change to feature , it's not a bug

That looking fine to you?


text:
Introduce Pysen

#593

Codecov Report

Merging #595 (896c7f9) into develop (a5ba9d0) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##           develop     #595      +/-   ##
===========================================
- Coverage    97.17%   97.15%   -0.02%
===========================================
  Files           56       56
  Lines         2333     2317      -16
===========================================
- Hits          2267     2251      -16
  Misses          66       66

Impacted Files
Coverage Δ

pfhedge/_utils/parse.py
100.00% <ø> (ø)

pfhedge/instruments/derivative/cliquet.py
100.00% <ø> (ø)

pfhedge/instruments/primary/heston.py
100.00% <ø> (ø)

pfhedge/instruments/primary/local_volatility.py
85.71% <ø> (-0.34%)
:arrow_down:

pfhedge/instruments/primary/vasicek.py
100.00% <ø> (ø)

pfhedge/nn/modules/bs/_base.py
98.27% <ø> (-0.03%)
:arrow_down:

pfhedge/nn/modules/bs/american_binary.py
100.00% <ø> (ø)

pfhedge/nn/modules/bs/european.py
100.00% <ø> (ø)

pfhedge/nn/modules/bs/lookback.py
100.00% <ø> (ø)

pfhedge/nn/modules/naked.py
100.00% <ø> (ø)

... and 21 more

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

authors: codecov-commenter masanorihirano

repo: pfnet-research/pfhedge


text:
Add type check for convolution

Add type check for Convolution2D Function

Related to #123

LGTM!

repo: pfnet/chainer


text:
Failed during ./m1_homebrew install

Hi, thanks for making this migration script as I was currently looking into how to migrate to the new installation path.
When I ran ./m1_homebrew install the script failed with this error:
❯ ./m1_homebrew install
Program: m1_homebrew 1.3.2
✔  MacOS version = 11.1
✔  Script running in arm64 mode
Are you sure you want to install Homebrew for arm64 to /opt/homebrew? [y/N] y
…  Download Homebrew into [/Users/zedchance/.homebrew] ...

✔  After download: Homebrew folder is 15 MB
✔  After update  : Homebrew folder is 65 MB
✔  After install : Homebrew folder is 464 MB
…  Move Homebrew files to /opt/homebrew
Password:g /Users/zedchance/.homebrew/bin ...
Sorry, try again.
Password:
Create folder share/zshance/.homebrew/SECURITY.md ...
Create folder share/zsh/site-functions
Create folder Caskroom
✔  All files moved to /opt/homebrew
/Users/zedchance/.zshrc: line 4: ${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh: bad substitution
/Users/zedchance/.oh-my-zsh/oh-my-zsh.sh: line 6: ZSH_CACHE_DIR: unbound variable
✖ m1_homebrew: ERROR 1 after 229 seconds
> last command : '[[ -z "$ZSH_CACHE_DIR" ]]'
${error_prefix} from line 188 :     zsh)    startup_config "$architecture" "$HOMEBREW_PREFIX" "$script_prefix-$architecture" >> "$HOME/.zshrc"  ; source "$HOME/.zshrc" ;;

It looks like it has something to do with either my installation of oh-my-zsh or powerline10k? Any help is appreciated!

Could you show me what your .zshrc looks like? I'd like to see if the script added its 2 lines to it correctly.

Could you show me what your .zshrc looks like? I'd like to see if the script added its 2 lines to it correctly.

It did add 2 lines at the end, here check out the full file here https://gist.github.com/zedchance/42c73e3ea747f1da5033b3f5214b25a5

It did add 2 lines at the end, here check out the full file here https://gist.github.com/zedchance/42c73e3ea747f1da5033b3f5214b25a5

That seems correct. After I add these 2 lines, I re-source .zshrc to have the latest settings.
It seems that's where your error pops up.
I removed that full -re -source of .zshrc and just execute the lines that have been added.
Try v1.3.3!

That seems correct. After I add these 2 lines, I re-source .zshrc to have the latest settings.
It seems that's where your error pops up.
I removed that full -re -source of .zshrc and just execute the lines that have been added.
Try v1.3.3!

That worked, thanks!

That worked, thanks!

authors: pforret zedchance


text:
CaptivePortal : Include zone name in Nas-Identifier (Redmine 8998)

Since 2.4.4 RADIUS attribute NAS-Identifier is the same on all CaptivePortal zones. This is an issue for users that need to distinguish multiple zones and can't use NAS-Port for that

[x] Redmine Issue: https://redmine.pfsense.org/issues/8998
[x] Ready for review

Hello, I followed the steps described in the Bugs https://redmine.pfsense.org/issues/8998, however I received several errors in the Pfsense web interface, related to PHP, any ideas that you can contribute, thanks.

@rayhedz87 could you copy here the PHP errors you got ?

@Augustin-FL Hello, these are the mistakes that shows me.
PHP errors 				 					 						 				PHP ERROR: Type: 1, File:  /usr/local/bin/captiveportal_gather_stats.php, Line: 33, Message:  Uncaught Error: Call to undefined function captiveportal_read_db() in  /usr/local/bin/captiveportal_gather_stats.php:33
Stack trace:
#0 {main}
thrown	 						 						 						PHP ERROR: Type: 1, File:  /usr/local/bin/captiveportal_gather_stats.php, Line: 33, Message:  Uncaught Error: Call to undefined function captiveportal_read_db() in  /usr/local/bin/captiveportal_gather_stats.php:33
Stack trace:
#0 {main}
thrown			 						 						 				PHP ERROR: Type: 1, File: /etc/rc.prunecaptiveportal, Line: 53,  Message: Uncaught Error: Call to undefined function  captiveportal_prune_old() in /etc/rc.prunecaptiveportal:53
Stack trace:
#0 {main}
thrown		 						 						 					PHP ERROR: Type: 1, File:  /usr/local/bin/captiveportal_gather_stats.php, Line: 33, Message:  Uncaught Error: Call to undefined function captiveportal_read_db() in  /usr/local/bin/captiveportal_gather_stats.php:33
Stack trace:
#0 {main}
thrown	 						 						 						PHP ERROR: Type: 1, File:  /usr/local/bin/captiveportal_gather_stats.php, Line: 33, Message:  Uncaught Error: Call to undefined function captiveportal_read_db() in  /usr/local/bin/captiveportal_gather_stats.php:33
Stack trace:
#0 {main}
thrown		 					 						 						 PHP ERROR: Type: 1, File: /etc/rc.prunecaptiveportal, Line: 53,  Message: Uncaught Error: Call to undefined function  captiveportal_prune_old() in /etc/rc.prunecaptiveportal:53
Stack trace:
#0 {main}
thrown			 						 						 				PHP ERROR: Type: 1, File:  /usr/local/bin/captiveportal_gather_stats.php, Line: 33, Message:  Uncaught Error: Call to undefined function captiveportal_read_db() in  /usr/local/bin/captiveportal_gather_stats.php:33
Stack trace:
#0 {main}
thrown			 						 						 				PHP ERROR: Type: 1, File:  /usr/local/bin/captiveportal_gather_stats.php, Line: 33, Message:  Uncaught Error: Call to undefined function captiveportal_read_db() in  /usr/local/bin/captiveportal_gather_stats.php:33
Stack trace:
#0 {main}
thrown		 						 						 					PHP ERROR: Type: 1, File: /etc/inc/system.inc, Line: 2107,  Message: Uncaught Error: Call to undefined function  captiveportal_radius_stop_all() in /etc/inc/system.inc:2107
Stack trace:
#0 /etc/inc/system.inc(2093): system_reboot_cleanup()
#1 /etc/rc.initial.reboot(66): system_reboot_sync()
#2 {main}
thrown			 					 						 					PHP ERROR: Type: 1, File: /etc/rc.prunecaptiveportal, Line: 53,  Message: Uncaught Error: Call to undefined function  captiveportal_prune_old() in /etc/rc.prunecaptiveportal:53
Stack trace:
#0 {main}
thrown	 					 						 						 	PHP ERROR: Type: 1, File: /etc/inc/system.inc, Line: 2107,  Message: Uncaught Error: Call to undefined function  captiveportal_radius_stop_all() in /etc/inc/system.inc:2107
Stack trace:
#0 /etc/inc/system.inc(2093): system_reboot_cleanup()
#1 /etc/rc.initial.reboot(66): system_reboot_sync()
#2 {main}
thrown			 					 						 					PHP ERROR: Type: 1, File: /etc/rc.bootup, Line: 309, Message:  Uncaught Error: Call to undefined function captiveportal_configure() in  /etc/rc.bootup:309
Stack trace:
#0 {main}
thrown
Thanks for your comments.

These errors are pretty weird. Looks like your pfSense files are now corrupted ...
Hello, I followed the steps described in the Bugs https://redmine.pfsense.org/issues/8998 , [...]

What do you mean by "I followed the steps"? What did you do exactly?
Anyway, I would recommend you to re-install from a fresh, new ISO, instead of trying to install this pull request manually.
This pull request has been cherry-picked to 2.4.4 branch, meaning it is currently included in any recent pfSense 2.4.4 ISO.

@Augustin-FL Hello, these are the mistakes that shows me.
PHP errors 				 					 						 				PHP ERROR: Type: 1, File:  /usr/local/bin/captiveportal_gather_stats.php, Line: 33, Message:  Uncaught Error: Call to undefined function captiveportal_read_db() in  /usr/local/bin/captiveportal_gather_stats.php:33
Stack trace:
#0 {main}
thrown	 						 						 						PHP ERROR: Type: 1, File:  /usr/local/bin/captiveportal_gather_stats.php, Line: 33, Message:  Uncaught Error: Call to undefined function captiveportal_read_db() in  /usr/local/bin/captiveportal_gather_stats.php:33
Stack trace:
#0 {main}
thrown			 						 						 				PHP ERROR: Type: 1, File: /etc/rc.prunecaptiveportal, Line: 53,  Message: Uncaught Error: Call to undefined function  captiveportal_prune_old() in /etc/rc.prunecaptiveportal:53
Stack trace:
#0 {main}
thrown		 						 						 					PHP ERROR: Type: 1, File:  /usr/local/bin/captiveportal_gather_stats.php, Line: 33, Message:  Uncaught Error: Call to undefined function captiveportal_read_db() in  /usr/local/bin/captiveportal_gather_stats.php:33
Stack trace:
#0 {main}
thrown	 						 						 						PHP ERROR: Type: 1, File:  /usr/local/bin/captiveportal_gather_stats.php, Line: 33, Message:  Uncaught Error: Call to undefined function captiveportal_read_db() in  /usr/local/bin/captiveportal_gather_stats.php:33
Stack trace:
#0 {main}
thrown		 					 						 						 PHP ERROR: Type: 1, File: /etc/rc.prunecaptiveportal, Line: 53,  Message: Uncaught Error: Call to undefined function  captiveportal_prune_old() in /etc/rc.prunecaptiveportal:53
Stack trace:
#0 {main}
thrown			 						 						 				PHP ERROR: Type: 1, File:  /usr/local/bin/captiveportal_gather_stats.php, Line: 33, Message:  Uncaught Error: Call to undefined function captiveportal_read_db() in  /usr/local/bin/captiveportal_gather_stats.php:33
Stack trace:
#0 {main}
thrown			 						 						 				PHP ERROR: Type: 1, File:  /usr/local/bin/captiveportal_gather_stats.php, Line: 33, Message:  Uncaught Error: Call to undefined function captiveportal_read_db() in  /usr/local/bin/captiveportal_gather_stats.php:33
Stack trace:
#0 {main}
thrown		 						 						 					PHP ERROR: Type: 1, File: /etc/inc/system.inc, Line: 2107,  Message: Uncaught Error: Call to undefined function  captiveportal_radius_stop_all() in /etc/inc/system.inc:2107
Stack trace:
#0 /etc/inc/system.inc(2093): system_reboot_cleanup()
#1 /etc/rc.initial.reboot(66): system_reboot_sync()
#2 {main}
thrown			 					 						 					PHP ERROR: Type: 1, File: /etc/rc.prunecaptiveportal, Line: 53,  Message: Uncaught Error: Call to undefined function  captiveportal_prune_old() in /etc/rc.prunecaptiveportal:53
Stack trace:
#0 {main}
thrown	 					 						 						 	PHP ERROR: Type: 1, File: /etc/inc/system.inc, Line: 2107,  Message: Uncaught Error: Call to undefined function  captiveportal_radius_stop_all() in /etc/inc/system.inc:2107
Stack trace:
#0 /etc/inc/system.inc(2093): system_reboot_cleanup()
#1 /etc/rc.initial.reboot(66): system_reboot_sync()
#2 {main}
thrown			 					 						 					PHP ERROR: Type: 1, File: /etc/rc.bootup, Line: 309, Message:  Uncaught Error: Call to undefined function captiveportal_configure() in  /etc/rc.bootup:309
Stack trace:
#0 {main}
thrown
Thanks for your comments.

The steps described in the reference url https://redmine.pfsense.org/issues/8998, was to overwrite the following files: /etc/inc/captiveportal.inc for the one offered in this site, and also the file: /usr/local/www/services_captiveportal.php, before performing the suggested operations, make a save of both files, and compare the originals with the downloaded ones, in the case of the second file, it is the only one that shows significant changes in its code, the first file is exactly the same, once those errors are shown, return to put in its place the saved files of the installation that worked, and everything works fine, except to be able to achieve the desired changes according to the response to said bugs.
Thank you for your comments, and excuse my  writing in your language.

repo: pfsense/pfsense


text:
Updated release

Hey, thanks and love the library.  Just wondering if/when there may be a release made that includes the MUC/Presence implementations.

Hi,
I wrote the MUC stuff while I was working for a different company. I found and made some of these changes to the library as I found them Although this was after the pull request went through. I haven't submitted another pull request because I've modified the library quite a bit since and added interfaces that I needed for testing purposes.
These should be the changes that you need for MUC presence...
See MUC presence though the standard presence event
https://github.com/jpenny1993/Sharp.Xmpp/commit/998f516092e85bb1e3f493ca119297b03825e229
Set your own MUC presence
https://github.com/jpenny1993/Sharp.Xmpp/commit/b18298cdb21abe7d4831e158e025dbfbde588525

Hey does muc feature is implemented in sharp.xmpp

@axcl basic features like joining/leaving rooms & sending messages should be working. Anything more than that may require some maintenance.

I am planning to use this in xamarin forms can you guide me a little bit how to proceed.

For general use see the documentation written by the original maintainer http://smiley22.github.io/S22.Xmpp/Documentation/
Newer parts of this library haven't yet been documented.
For muc funtionality I'd suggest reading through MultiUserChat.cs

authors: axcl epetrie jpenny1993

license: mit

license_source: bigquery


text:
Fix query() unpassed param issue

This is a fix for a small bug I found in the query() handler.
Currently the query() option (if passed an Object) loops through all passed values and compares them against a set of expected values. This will throw a false positive if the user passes fewer values than expected but all of them match the expected params.
For example, if setup as follows:
var scope = nock('http://google.com')
    .get('/')
    .query({
      num:1,
      str:'fou'
    })
    .reply(200);

The following requests will all match:
http://google.com?num=1
http://google.com?str=fou
http://google.com?str=fou&num=1

By checking that there is an equal number of expected and passed params we can at preempt any unnecessary comparison and catch some false positives.

@jshcrowthe thanks for the fix!
Landed on v2.13.0.

@pgte Thanks a bunch for reviewing!

authors: jshcrowthe pgte

repo: pgte/nock


text:
Data-bordersize don't work.

Got these options:

Bordersize didn't change.

For me as well.

Fix: On line 220 change
context.lineWidth = customSettingsObj.width + 1;
to
context.lineWidth = customSettingsObj.bordersize + 1;

@poyannabati outstanding - thanks for that!

@poyannabati thanks change the code.

authors: JSDesign SlampD pguso poyannabati

repo: pguso/jquery-plugin-circliful


text:
Updated mob suite 1.4.5 wrapper

Please accept this new wrapper update for MOB-suite. Now mob_recon picks the plasmid sequences from the output.

If there are no more changes, somebody can merge this branch to master?


text:
Multiline comments before class closing brace causes ParseException

Taking this as an example:
namespace Amnuts;

class Utils
{
    public function test() -> void
    {
        echo PHP_VERSION, PHP_EOL;
        /*
            This is OK
        */
        // as is this
    }

//
// This is OK
//

/*
    This produces parse error
*/
}

With the multiline comment at the end of the class it'll throw a ParseException due to a syntax error with the closing brace.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1431270-multiline-comments-before-class-closing-brace-causes-parseexception?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github).

Works in the most current master, closing

authors: amnuts sjinks

repo: phalcon/zephir


text:
__call, RuntimeException: call to undefined method

Hi,
I have magic call in the Di:
public function __call(string! method, arguments = null)
    {
        var service, value;

        // If the magic method starts with "get" we try to get a service with that name
        if starts_with(method, "get") {
        //if strpos(method, "get") !== false {
            let service = lcfirst(substr(method, 3));

            if this->has(service) {
                fetch value, arguments[0];
                return this->get(service, value);
            } else {
                throw new Exception(sprintf("The '%s' service is required", service));
            }
        }

        // If the magic method starts with "set" we try to set a service using that name
        if starts_with(method, "set") {
            fetch value, arguments[0];
            this->set(lcfirst(substr(method, 3)), value);
            return null;
        }

        // The method doesn't start with set/get throw an exception
        throw new Exception("Call to undefined method or service '" . method . "'");
    }

If I run in the zephir world:
let request = this->_di->{"getRequest"}();

with the latest changes I reveive:

RuntimeException[0]: Call to undefined method Ice\Di::getrequest()

But there is a request service. https://github.com/phalcon/zephir/commit/acfbbd059b2f653bb88c48763b65485b5dc75b54#commitcomment-10572145

I've added tests for calling __call magic methods in:
https://github.com/phalcon/zephir/blob/master/test/mcalldynamic.zep
https://github.com/phalcon/zephir/blob/master/unit-tests/Extension/MCallDynamicTest.php
They're passing:
https://travis-ci.org/phalcon/zephir/builds/57385594

Could you try to run ice/framework and ice/hello?

I did back to https://github.com/phalcon/zephir/commit/9ba79125bc59f65aedd40f840b33a5a4b3ff8af8, so update composer.json before run zephir build please:
"phalcon/zephir": "dev-master"

Thanks.

authors: andresgutierrez mruz


text:
Information not always captured

I noticed that occasionally FuzzFindr fails to scrape data effectively, resulting in some information being skipped. While this issue is rare, it can impact the accuracy and completeness of the results provided. I am aware of this inconvenience and am actively working on a fix, this improvement should roll out soon.

The redirection function has now been updated to mitigate this problem; it was also updated to have several improvements.


text:
🛑 Main musicbot instance is down

In 19da061, Main musicbot instance (https://discord-musicbot-gnome-phantomic12.cloud.okteto.net/) was down:

HTTP code: 503
Response time: 247 ms

Resolved: Main musicbot instance is back up in 22ebd9a.


text:
🛑 proxy index is down

In c569bad, proxy index (https://index.phantomic.live/) was down:

HTTP code: 404
Response time: 125 ms

Resolved: proxy index is back up in a2c81e3 after 21 minutes.


text:
Bug: NCICTCAEv5 grading incorrect for "INR increased"

What happened?
Roche user reported that admiral was incorrectly using "x ULN" in criteria. For example grade 1 is:
">1.2 - 1.5; >1 - 1.5 x baseline" however admiral has: ">1.2 - 1.5 xUN; >1 - 1.5 x baseline"
Session Information
No response
Reproducible Example
No response

thanks @millerg23 - @bms63 @manciniedoardo let's try and prioritise this one for the Dec release. i wouldn't say its worth a hotfix release.

repo: pharmaverse/admiral


text:
Feature Request: Initital advs template

Feature Idea
Create the ADVS with params for growth charts

Initially draft using MS Word
Create R Template for it

Relevant Input
No response
Relevant Output
No response
Reproducible Example/Pseudo Code
No response

Refer to https://github.com/pharmaverse/admiralpeds/issues/32

repo: pharmaverse/admiralpeds


text:
[feature request] Keyboard should open automatically when swiping to view all apps

I think it would be great if the keyboard opened automatically when we are viewing all apps. It makes it difficult to press the input on tall phones

Makes sense. I'll get it fixed.

This has been implemented in 0.0.2

authors: burhanuday phenax

repo: phenax/owyn-launcher


text:
Adding 8x8 (8x8.com)

Adds or updates the following companies, events, or universities:

Checklist
Company updates

[x] I have put the most recent relevant date in the "Last Update" column
[ ] I have linked to the article about the change, not the company's homepage (Please put N/A if there is no public post)

Event updates

[ ] I have linked to the article about the change, not the event's homepage

University updates

[ ] I have linked to the article about the change, not the university's homepage

Adding 8x8

repo: phildini/stayinghomeclub


text:
[Bug] Investigate issue posting repository discussions

Some examples of failing discussions, both using custom discussion categories:

https://github.com/github/c2c-actions-engine/pull/58
https://github.com/github/c2c-actions-platform/pull/5545

Enabled trace logging so next time this happens I should know why 🤞🏼

Looks like the issue is due to private repositories not having the app installed. It doesn't show up on public repositories.

Fixed by https://github.com/philip-gai/announcement-drafter/commit/f488820a7e1ba9f532f641fbc2d3e90471004199 and https://github.com/philip-gai/announcement-drafter/commit/f269cdfae383090ff7ab0a54d5d62bd9fe74878b

repo: philip-gai/announcement-drafter

license: ISC


text:
Allow custom HTTP request prefix

This pull request allows to overwrite the default "auth_" prefix in http requests. This can be useful to avoid conflicts, work with existing APIs or simply to suit the users preference.
The default prefix is still "auth_", so I've bumped the version to 5.1.0 as no BC breaks are introduced.
I've also added a quick example in README.MD.

A cool, that's a really nice addition, thank you :smile:

authors: philipbrown ryan-senn

repo: philipbrown/signature-php


text:
Document the bugs in the Web Platform Docs

It would be cool if these bugs were covered in the Web Platform Docs.

We discussed similar options to this, but ultimately decided against it. This was due to it being very scoped to helping developers find future compatible techniques for current implementation quirks. Whereas MDN, Web Platform Docs, MSDN and other documentation sites mainlycover what flex is and how it works. Using GH also had the added benefit of other devs doing PR because a good portion of them would already know GH (not to mention @philipwalton and I know it).
Ultimately, I hope this repo doesn't have to exist for very long because the various UAs work together and achieve interop on Flex and make this repo pointless. :)

Some of those sites do include coverage of browser bugs, although not in as much depth as a dedicated repo. They're reference works, and in what versions of what browsers stuff was broken is useful reference knowledge. I agree about folks having less familiarity with editing the wikis though (not that it's terribly difficult). But scattered sites and blog posts are less discoverable than the big-name web docs wikis, and they are in greater danger of becoming outdated or having uncorrected errors.

Hi, I'm an MDN contributor. I agree with the sentiment that these shouldn't be documented as they're very likely to be short term issues.
If an issue becomes long term, it might be worth documenting it, though.

WPD is dead or a zombie at this point. Long live MDN.

authors: DavidBruant cvrebert gregwhitworth

repo: philipwalton/flexbugs


text:
raw string literals inside REQUIRE with VS

Description

using some raw string literals inside a REQUIRE macro fails on VS2017.
Steps to reproduce

The following code gives error on the second REQUIRE:
#define CATCH_CONFIG_MAIN
#include "catch.hpp"

TEST_CASE("test") {
  auto test = std::string(R"("\)") == "\"\\";
  REQUIRE(test);
  REQUIRE(std::string(R"("\)") == "\"\\");
}

The compiler output is:
u:\my documents\visual studio 2017\projects\test\source.cpp(7): warning C4129: ')': unrecognized character escape sequence
u:\my documents\visual studio 2017\projects\test\source.cpp(7): error C2017: illegal escape sequence

This compiles fine with GCC and Clang however.
Extra information

Catch version: v1.9.7
Operating System: Windows
Compiler+version: VS2017

What version of VS are you using? 15.3.1 or earlier?

It's 15.2. I'll try to upgrade and see if it's solved.

same error on 15.3.1

OK, turns out it happens on assert as well https://godbolt.org/g/tfV6nX
I found a related VS bug on https://developercommunity.visualstudio.com/content/problem/67300/stringifying-raw-string-literal.html
Maybe you can think of some workaround which can be done in Catch?

The only workaround I can see is to introduce new set of internal macros, that would not record the original expression string. A quick check says that there are 7 of them right now, all of which would need to be duplicated.
This is easy enough to do, but the question is if it is worth it, especially since it would need to be opt-in.

In that case the output will be the same as assigning the result to bool
and check that, won't it?
In that case I don't think it's worth the bother.
On 22 Aug 2017 10:32 p.m., "Martin Hořeňovský" notifications@github.com
wrote:

The only workaround I can see is to introduce new set of internal macros,
that would not record the original expression string. A quick check says
that there are 7 of them right now, all of which would need to be
duplicated.
This is easy enough to do, but the question is if it is worth it,
especially since it would need to be opt-in.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/philsquared/Catch/issues/995#issuecomment-324128590,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHTojWuWYNtUn2X85lKswpOro5tcBlcaks5sayzBgaJpZM4O9Qoh
.

No, we would still be able to reconstruct the actual values.
I have a proof of concept done (see attachment), the output would look like this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CatchWork.exe is a Catch v2.0.0-develop.2 host application.
Run with -? for options

-------------------------------------------------------------------------------
test
-------------------------------------------------------------------------------
catchwork\test1.cpp(5)
...............................................................................

catchwork\test1.cpp(7):
PASSED:
  REQUIRE( Stringification disabled by DISABLE_STRINGIFY )
with expansion:
  true

catchwork\test1.cpp(8):
PASSED:
  CHECK( Stringification disabled by DISABLE_STRINGIFY )
with expansion:
  ""\" == ""\"

===============================================================================
All tests passed (2 assertions in 1 test case)

Used like this
#define CATCH_CONFIG_DISABLE_STRINGIFY
#include "catch.hpp"

TEST_CASE("test") {
    auto test = std::string(R"("\)") == "\"\\";
    REQUIRE(test);
    CHECK(std::string(R"("\)") == "\"\\");
}

catch.zip

The workaround is part of the new release, so I am going to close this.

authors: dvirtz horenmar

repo: philsquared/Catch


text:
./etc/characters.csv has concepticonReference, lexibank has Concepticon_ID

Can we make these consistent?

done

authors: SimonGreenhill xrotwang

repo: phlorest/phlorest


text:
Incorrect generate sql where expression

My POCO:
[Table("comments")]
public class Comment
{
    [Key, Identity, Column("comment_id")]
    public long Id { get; set; }
    [Column("media_id")]
    public long? MediaId { get; set; }
    [Column("author_id")]
    public long AuthorId { get; set; }
    [Column("text")]
    public string Text { get; set; }
    [Column("is_private")]
    public bool IsPrivate { get; set; }
    [Deleted, Column("is_deleted")]
    public bool IsDeleted { get; set; }
    [LeftJoin("medias", "media_id", "media_id")]
    public Media Media { get; set; }
    [LeftJoin("users", "author_id", "user_id")]
    public User Author { get; set; }
}

Linq expression:
await base.FindAllAsync<User>(x => !x.IsDeleted
  && (x.AuthorId == userId || x.IsPrivate == true), x => x.Author);

The following sql is generated:
SELECT comments.comment_id AS Id...
FROM comments LEFT JOIN users ON comments.author_id = users.user_id
WHERE comments.is_deleted = @IsDeleted OR comments.author_id = @AuthorId OR comments.is_private = @IsPrivate

I expected that the following SQL would be generated:
SELECT comments.comment_id AS Id...
FROM comments LEFT JOIN users ON comments.author_id = users.user_id
WHERE comments.is_deleted = @IsDeleted AND (comments.author_id = @AuthorId OR comments.is_private = @IsPrivate)

Is it something I'm doing wrong or is it a mistake?

We can't to work with brackets right now.
I'm thinking of embedding "IsDeleted" into the query for don't write it every time. For IsDeleted records, I will create another method

use for your method:
await base.FindAllAsync<User>(x => x.AuthorId == userId || x.IsPrivate == true , x => x.Author);

This should give you what you need

I understand, thanks for the answer!
If there is no support for complex Link expressions, you can add the ability to send sql. In the base class, I have only one method for this: ExecuteJoinQueryAsync

You have Connection in Base class, you can use Dapper directly

Found the same issue for expression with brackets '()'
As a workaround I've changed my expression to expression without brackets.
Please, fix this issue.

Having same issue with simple AND OR and order operation '( )'. Will this be fixed?
Thanks

@digitalmedia34 Right now, I don't have time for support '( )'. But, I can help you with PR for this project.

@digitalmedia34 I see, you have fork of this project. I think better work for one project, If you have some ideas, you can talk with me and try implement many things.

Yes I just dont see a good way of implementing expression orders. Do you have a suggestion?

@digitalmedia34 Need just translate '( )' to Sql. Research parsing Expression. After need tests with MsSql, MySql and PostgreSql, and be sure, that Sql - universal.

The problem is the way you are doing parameters, there is a order of precedent that we need to adhere to


text:
DapperRepository methods add CancellationToken override.

Fix #207.

Generate code with t4.

@pengweiqhca Hi, I merged it and later see that you add tt and generated files. Can you remove these templates, clean up and raise PR again?


text:
Asset change should only emit when the file contents have changed

An asset change is being triggered when the file mtime changes with no change in content.  This can cause unexpected page reloads.  To reproduce,
iex(2)> :crypto.hash(:md5, File.read!("priv/static/css/app.css")) |> Base.encode16
"1C16A9E2D001DDFF3292FC7C4EE9F89E"

iex(3)> File.touch("priv/static/css/app.css")
:ok

[debug] Live reload: priv/static/css/app.css
[debug] Live reload: priv/static/css/app.css

iex(5)> :crypto.hash(:md5, File.read!("priv/static/css/app.css")) |> Base.encode16
"1C16A9E2D001DDFF3292FC7C4EE9F89E"

This became an issue for me when I was replacing Brunch with Webpack.  In my case, I configured Webpack to generate separate css and js.  Each time Webpack runs, all of the css and js files are regenerated (even if there's no content change) which causes file mtime changes.  So, if all I was doing was changing some css I would get a full page reload in my phoenix app since changes were detected in the js files.
I suspect most Webpack users will opt to use webpack-dev-server for HMR.  I have already made that change.  However, this could present an integration issue with other build tools depending on how they work.  For Brunch, it doesn't seem to be an issue because it doesn't touch the js files when the css files are built.

Since you are using HMR, can you simply remove the js pattern from your live reload config? Or do you still require full phoenix_live_reload page refresh for js changes. I would prefer to wait on this change since it's the first time this has come up and I would like to avoid hitting disk if possible.

Hi @chrismccord 👋  Thanks for the awesome work!
This can wait – it's not blocking me at all.  I've gotten everything working the way I like by using webpack-dev-server, HMR, and css-hot-loader.  It's a non-trivial setup to say the least and took some integration work in the phoenix app for :dev vs. :prod.  Not as clean as the brunch setup.
My initial goal was to use webpack in the simplest configuration and rely on phoenix_live_reload (a build agnostic tool).  HMR wasn't my objective.   Once I figured out what was going on with the false positive JS asset changes, I realized I would have to get the webpack-dev-server involved .... and all the complexity that goes with it.
If not for this issue, I honestly think we could write a phoenix + webpack integration guide (or even a generator) that wouldn't blow up complexity.  Things could pretty much work as they do in the default generated app.  I know a lot of people coming to Phoenix would be interested in that.
I agree, this will touch the filesystem and it would have to keep state.

Since you are using HMR, can you simply remove the js pattern from your live reload config? Or do you still require full phoenix_live_reload page refresh for js changes.

With HMR (w/ webpack-dev-server), phoenix_live_reload will handle the refresh when the views and templates change.  phoenix_live_reload isn't needed for refresh on js changes.  In fact, the static assets generated by webpack don't even get written into the output directory so there are no file changes for phoenix_live_reload to detect.

I just ran into this as well.  I loved brunch but it looks like it's not being maintained to the level I'm comfortable with. I switched from brunch to webpack.
My webpack setup outputs two files (js/index.js, css/app.css) each time css or js changes. This causes the whole page to refresh when I just change a style.

It's a non-trivial setup to say the least and took some integration work in the phoenix app for :dev vs. :prod. Not as clean as the brunch setup.

@skinandbones, like you, I'm hesitant to dive into the complexity of HMR with the webpack-dev-server. I'd much rather use standard live reload. Are there any new solutions now? A year later?

@jameskerr did you take a look at how Phoenix master handles webpack? Phoenix v1.4 will ship with webpack, so maybe this issue is fixed there (or maybe now all applications will have this issue).

Actually, it seems Phoenix master has this issue.
@chrismccord should we move this to the Phoenix repo so we can track it for the release?

Thanks for the quick response @josevalim . I just took a look at Phoenix master and found code very similar to what I just setup today. That's encouraging. I'll be tracking this. Please point me in any direction I might be able to help.

@jameskerr if you want to give this a try, it would be awesome. I think caching the MD5s on the Phoenix channel as proposed by @skinandbones is a good starting point.

I'll take look!

caching at the channel side won't be enough because the page refreshes and discards all channel state before starting a new channel. We can however have a separate process that boots with the app which watches for changes and the channel subscribes to it.

Should/Could we ship webpack with HMR/CSS loading using webpack's tools and reserve the phoenix loader for template/view changes?

@jeregrine Agree with @josevalim.  I would not recommend using webpack for CSS hot reloading by default.  I've been using a webpack HMR setup in my Phoenix apps since I submitted this issue, but it's not for everyone.  The setup ripples into many things and stuff gets weird if you don't understand what's going on.

Super old thread, but just wanted to show how this could be done with esbuild. This is assets/build.js:
const fs = require("fs-extra")
const glob = require("glob")
const crypto = require("crypto")
const esbuild = require("esbuild")
const postCssPlugin = require("esbuild-plugin-postcss2")

const mode = process.env.NODE_ENV === "production" ? "production" : "development"
const devMode = mode === "development"

const sourcemap = devMode ? "external" : false
const minify = !devMode
const commonOptions = { sourcemap, minify, write: false }

// Keep track of file hashes so we only write the ones that changed
const getDigest = string => {
  const hash = crypto.createHash("sha1")
  const data = hash.update(string, "utf-8")
  const digest = data.digest("hex")

  return digest
}

const getFileDigest = path => {
  const exists = fs.pathExistsSync(path)

  if (!exists) {
    return null
  }

  if (fs.statSync(path).isDirectory()) {
    return null
  }

  return getDigest(fs.readFileSync(path))
}

const writeResult = result => {
  for (let { path, contents } of result.outputFiles) {
    const digest = getDigest(contents)

    if (getFileDigest(path) !== digest) {
      fs.outputFile(path, contents)
    }
  }

  return result
}

// Main app

esbuild.build({
  entryPoints: ["js/App.js"],
  bundle: true,
  target: "es2016",
  outfile: "../priv/static/js/app.js",
  ...commonOptions
}).then(writeResult)

esbuild.build({
  entryPoints: ["css/app.css"],
  bundle: true,
  outfile: "../priv/static/css/app.css",
  external: ["*.woff", "*.gif"],
  plugins: [postCssPlugin.default({
    plugins: [
      require("postcss-preset-env"),
      require("postcss-import"),
      require("tailwindcss"),
      require("postcss-mixins"),
      require("postcss-nested")
    ]
  })],
  ...commonOptions
}).then(writeResult)

// Copy assets/static to priv/static

function filter(src, dest) {
  const exists = fs.pathExistsSync(dest)

  if (!exists) {
    return true
  }

  if (fs.statSync(dest).isDirectory()) {
    return true
  }

  return getFileDigest(src) !== getFileDigest(dest)
}

fs.copySync("./static", "../priv/static", { filter })

It would be very useful if this was included by default. I'm also using esbuild with a much more simplified copy file approach. Changing 1 line of JS results in every static file being live reloaded when their contents didn't change.
You end up with this type of log output:
js_1        | [watch] build finished
web_1       | [debug] Live reload: priv/static/android-chrome-512x512.png
web_1       | [debug] Live reload: priv/static/apple-touch-icon.png
web_1       | [debug] Live reload: priv/static/apple-touch-icon.png
web_1       | [debug] Live reload: priv/static/apple-touch-icon.png
web_1       | [debug] Live reload: priv/static/apple-touch-icon.png
web_1       | [debug] Live reload: priv/static/apple-touch-icon.png
web_1       | [debug] Live reload: priv/static/apple-touch-icon.png
web_1       | [debug] Live reload: priv/static/apple-touch-icon.png
web_1       | [debug] Live reload: priv/static/images/phoenix.png
web_1       | [debug] Live reload: priv/static/images/phoenix.png
web_1       | [debug] Live reload: priv/static/images/phoenix.png
web_1       | [debug] Live reload: priv/static/images/phoenix.png
web_1       | [debug] Live reload: priv/static/images/phoenix.png
web_1       | [debug] Live reload: priv/static/images/phoenix.png
web_1       | [debug] Live reload: priv/static/images/phoenix.png
web_1       | [debug] Live reload: priv/static/mstile-150x150.png
web_1       | [debug] Live reload: priv/static/mstile-150x150.png
web_1       | [debug] Live reload: priv/static/mstile-150x150.png
web_1       | [debug] Live reload: priv/static/mstile-150x150.png
web_1       | [debug] Live reload: priv/static/mstile-150x150.png
web_1       | [debug] Live reload: priv/static/mstile-150x150.png
web_1       | [debug] Live reload: priv/static/mstile-150x150.png
web_1       | [debug] Live reload: priv/static/safari-pinned-tab.svg
web_1       | [debug] Live reload: priv/static/safari-pinned-tab.svg
web_1       | [debug] Live reload: priv/static/safari-pinned-tab.svg
web_1       | [debug] Live reload: priv/static/safari-pinned-tab.svg
web_1       | [debug] Live reload: priv/static/safari-pinned-tab.svg
web_1       | [debug] Live reload: priv/static/safari-pinned-tab.svg
web_1       | [debug] Live reload: priv/static/safari-pinned-tab.svg

As a workaround whitepaperclip's solution works with Node 16.x as long as you replace fs.pathExistsSync with fs.existsSync.

fs.pathExistsSync still works, but note the const fs = require("fs-extra"); at the top.

fs.pathExistsSync still works, but note the const fs = require("fs-extra"); at the top.

Ah good catch. fs.existsSync works with Node's standard library. fs-extra looks to be a 3rd party package.

authors: chrismccord jameskerr jeregrine josevalim nickjj skinandbones whitepaperclip


text:
Receiving Two Notifications - clicking one and being able to read the other after the first one has been read

I am receiving two notifications, i was wondering if it is possible to press one of the notifications, then when the app reads the notification you click, can you then read the second notification from inside the app? i might have explained that badly

@GavinClarke No, you did not explain it badly. Basically when you start the app you want to get notification events for all of the notifications in the shade. That's not really how things are designed. You get the event for the notification you click. You can decide if you want to clear the pending notifications on app startup.
If you want to get notifications in your app regardless if it is in the background check issue #93.

authors: GavinClarke macdonst

repo: phonegap/phonegap-plugin-push


text:
More documentation?

Still number of phonopy users is increasing. So maybe it's time to make FAQ. But probably kinds of basic lessons or lectures are also useful. I would like to collect your comments and advises in this issue.

FAQ may be put into wiki page, https://github.com/phonopy/phonopy/wiki.
Some lessons or lectures in pdf, ppt, jupyter notebook, latex, etc, may be put under phonopy github organization as independent repositories. For this, we have to be careful about file sizes.

Including how to show, I appreciate your thoughts.

The followings will be separated,

User guide
Tutorial
Introduction to phonons for practical applications

On questions

Tell users how to write questions
After getting a question, write summary of the question on wiki

Hands-on tutorial is necessary.

repo: phonopy/phonopy


text:
QHA :: Addition of a function to write 'fitted' helmholtz_volume to gnuplot style file

Dear @atztogo,
Added a function to write 'fitted' helmholtzVsVolume to Gnuplot style file, similar to other *.dat files that are getting written out during a 'phonopy-qha' execution.
This could be very handy to quickly make a graph somewhere else. I mean the first graph of the three shown in 'view mode (-p option)' of phonopy-qha utility.
This would write helmholtz-volume_fitted.dat file in addition to the earlier helmholtz-volume.dat file.
Best Regards

Thanks. Do you have any experience using a python linter?

For linting, I use 'pylint'.

Probably you will get many warning on  phonopy/qha/core.py because it is an old code in phonopy, but could you refactor your part of the code?

'pylint' gave only one warning, it asked to 'import warnings'. For this PR, my part of the code is only writing to the file, the rest is the old core.py code. For the few lines of my 'write to the file' code, by refactoring are you suggesting better readability or reducing the number of lines?

Merged. Don't worry. I will modify it by myself. Thanks.

authors: atztogo kgmat


text:
feat(lib): update to v2.0.0 and refactor some project things

Updates to @phosphor-icons/core@2.0.2 and generates new components
Adds support for aliased icon names (some icon were renamed in 2.0, but will continue to also exist under their deprecated names to ease adoption)
Adds src to source control
Renames some files how I like it
Moves from npm to yarn
Drastically simplifies the playground so that it does not require any of its own dependencies

Would also like to address #29 and #12 here. And WDYT about making next the default branch @dnlsndr ? I heard Vue2 is approaching end-of-life, but I have no idea what fraction of the community is still using it or has moved to Vue3.

repo: phosphor-icons/vue


text:
Some suggestions of new Particles class

Method emitter.addEmitZone accepts an array of zoneConfig, but only return a zone object.

Might remove array of zoneConfig supporting, or return zone object array.

Add a name property of emit zone, or death zone object, then user can remove zone by name.
Please add examples of using setAnim method.
Typo. ParticleEmitter.js, line 1465, 1466 : scale -> speed

Bug report:
Test code, there are 2 curves
Case 1: Start and end point are at the same position, will emit particles at (0,0)
Case 2: Start and end point are not at the same position, will emit particles along curve.

Forgot to close this one after making the beta changes.

authors: photonstorm rexrainbow

repo: photonstorm/phaser


text:
phpspec/prophecy is now explicitely needed for tests

Hi,
Since PHPUnit dropped phpspec/prophecy from its dependencies (https://github.com/sebastianbergmann/phpunit/issues/5033), the following errors are triggered when running the testsuite with latest PHPUnit.
There were 5 errors:

1) phpmock\phpunit\MockObjectProxyTest::testExpects
PHPUnit\Framework\Exception: This test uses TestCase::prophesize(), but phpspec/prophecy is not installed. Please run "composer require --dev phpspec/prophecy".

/tmp/autopkgtest-lxc.hxywsvl5/downtmp/build.90r/src/tests/MockObjectProxyTest.php:40

2) phpmock\phpunit\MockObjectProxyTest::testHasMatcher
PHPUnit\Framework\Exception: This test uses TestCase::prophesize(), but phpspec/prophecy is not installed. Please run "composer require --dev phpspec/prophecy".

/tmp/autopkgtest-lxc.hxywsvl5/downtmp/build.90r/src/tests/MockObjectProxyTest.php:99

3) phpmock\phpunit\MockObjectProxyTest::testProxiedMethods with data set #0 ('__phpunit_getInvocationHandler', array(), PHPUnit\Framework\MockObject\InvocationHandler Object (...))
PHPUnit\Framework\Exception: This test uses TestCase::prophesize(), but phpspec/prophecy is not installed. Please run "composer require --dev phpspec/prophecy".

/tmp/autopkgtest-lxc.hxywsvl5/downtmp/build.90r/src/tests/MockObjectProxyTest.php:120

4) phpmock\phpunit\MockObjectProxyTest::testProxiedMethods with data set #1 ('__phpunit_setOriginalObject', array('bar'))
PHPUnit\Framework\Exception: This test uses TestCase::prophesize(), but phpspec/prophecy is not installed. Please run "composer require --dev phpspec/prophecy".

/tmp/autopkgtest-lxc.hxywsvl5/downtmp/build.90r/src/tests/MockObjectProxyTest.php:120

5) phpmock\phpunit\MockObjectProxyTest::testProxiedMethods with data set #2 ('__phpunit_verify', array(true))
PHPUnit\Framework\Exception: This test uses TestCase::prophesize(), but phpspec/prophecy is not installed. Please run "composer require --dev phpspec/prophecy".

/tmp/autopkgtest-lxc.hxywsvl5/downtmp/build.90r/src/tests/MockObjectProxyTest.php:120

Regards
David

thanks @DavidPrevot , 2.6.1 released

authors: DavidPrevot michalbundyra

repo: php-mock/php-mock-phpunit

license: WTFPL


text:
Bot API 5.7

https://core.telegram.org/bots/api-changelog#january-31-2022

[x] Added support for Video Stickers.
[x] Added the field is_video to the classes Sticker and StickerSet.
[x] Added the parameter webm_sticker to the methods createNewStickerSet and addStickerToSet.

Merged #1284 into develop

@noplanman Merged into develop Branch. Take a look.

repo: php-telegram-bot/core