text:
Some question about out of memory?

Hello,  In the paper you say the code can run  under a 16G GPU when batch is under 4 . but It still showed  out of the memory when I tested. What should I do

Thanks for reporting it. You could try either

using smaller micro_batch_size, e.g. set micro_batch_size: 2 or micro_batch_size: 1 in cfg.yaml config files.
using gradient checkpointing by setting checkpoint_level: 1 or checkpoint_level: 2 in cfg.yaml config files.

thank you very much,the code can run now

@upczxy Let me close the issue for now. Feel free to reopen if you find any problems.

authors: gaozhihan sxjscience upczxy


text:
The process is killed without any error message.

The process is killed and I cannot see any error message. The only thing I can see is the model training is finished with 100% and it is killed. I even don't know why it is killed. How can I track it?

maybe I have the same issue! I have been waiting for this to move forward 1% for hours and I do not get any error, changes etc. my GPU usage is also 0%! nothing!
Computing support features...:   0%|                                                                                | 0/105 [00:00<?, ?it/s]

maybe I have the same issue! I have been waiting for this to move forward 1% for hours and I do not get any error, changes etc. my GPU usage is also 0%! nothing!
Computing support features...: 0%| | 0/105 [00:00<?, ?it/s]

I have same issue when i using debug mode, and i deal this by change number_worker to 0

source: gharchive/issue

authors: MSadriAghdam couragelfyang lvkaiwei

repo: amazon-science/patchcore-inspection

license_type: permissive

license_source: github-api


text:
AMB82 MINI RTSPFaceRecognition

麻煩新增加功能
能於 Arduino 程式裡可以移除某一已不需要偵測的人臉
而非 RESET 清除所有的人臉 再將需要的臉加入REG
以節省 Flash memory 能更多紀錄人臉
還有 能於某一 AMB82 MINI 偵測到的人臉 能夠有方法將 特徵值 Copy 到另一 AMB82 MINI
公司內會有需要多個 AMB82 MINI 但如果每個都重新記錄會花很多時間

@TAH-MIS  這個功能會加入未來的更新計劃。 還請耐心等待。

Pre Release Version 4.0.5 Pre-release

能於 Arduino 程式裡可以移除某一已不需要偵測的人臉

新功能已經添加

@TAH-MIS @M-ichae-l
您們好,我想請問一下關於 "AMB82 MINI 偵測到的人臉 能夠有方法將 特徵值 Copy 到另一 AMB82 MINI，公司內會有需要多個 AMB82 MINI 但如果每個都重新記錄會花很多時間"，這個功能已經有被新增或是有解決辦法了嗎？

authors: M-ichae-l TAH-MIS YiJunKo

license: MIT


text:
🛑 chatwoot.ambler.kr is down

In ce26c20, chatwoot.ambler.kr (https://chatwoot.ambler.kr/) was down:

HTTP code: 503
Response time: 310 ms

Resolved: chatwoot.ambler.kr is back up in ebcf011.

repo: amblerkr/upptime


text:
error patching spotify version 1.2.12.902.g1924b088-3133

🧐 Have you read the FAQ and viewed similar issues?

[X] I have read the FAQ
[X] I have checked older issues, open and closed
[X] I did a clean install of SpotX as described in the FAQ

Сountry of your account
Philippines
What is your Spotify Plan?
Free
Do you have Spicetify installed?
No
ℹ Computer information
- Spotify: 1.2.12.902.g1924b088-3133
- Windows: 11 22H2 22621.1702
- PowerShell: 5.1.22621.963

📝 Description

Download and install the latest Spotify version in the excel file (1.2.12.902.g1924b088-3133).
Open the Install_Auto.bat file.
An error will show in the Powershell.

📸 Screenshots

Update the bat file


text:
Add information about Stockfish hash size

Maybe link to https://github.com/official-stockfish/Stockfish/discussions/3333

Output all test result metrics from the script: hash size may not improve NPS but it may improve other metrics, like time to completion.
This may require changes to the stopping condition.
Look at parameters used in TCEC.

Stockfish hash in TCEC Season 22 Superfinal was 98304 Mb:
https://tcec-chess.com/#div=sf&game=8&season=22
This is equal to 96 Gb, which is the amount allocated to the engine.

If hash size isn't making much difference to engine strength, maybe high-CPU shapes are more economical to use?
If the benchmark isn't showing improvements from larger hash size, maybe it shows in greater playing strength - maybe try some engine matches to test?

repo: amdw/enginecloud


text:
how can I put a bgcolor

it was like putting bgcolor

That' how I did it in my app:
cell.style(workbook.createStyle({
   fill: {
     type: 'pattern',
     patternType: 'darkUp',
     fgColor: SOME_COLOR,
     bgColor: SOME_COLOR,
     },
}))

Hope this helps.

@michelbb it is also working on my app.

So the above approach does work, HOWEVER: this is related to the ommission of the "patternType" attribute. The export fails if you supply the "fill" settings and don't supply the "patternType" attribute.

How to make bgColor in solid pattern?

I need to update the documentation to list the available options rather than referencing the spec doc. You should be able to do this by setting the patternType to "solid".
Options are: darkDown, darkGray, darkGrid, darkHorizontal, darkTrellis, darkUp, darkVertical, gray0625, gray125, lightDown, lightGray, lightGrid, lightHorizontal, lightTrellis, lightUp, lightVertical, mediumGray, none, solid
This gist shows how to set a solid background color. https://gist.github.com/natergj/c65206663b846ec9af52de7368c684f9

authors: NilEsteveSerra idanielsteven limchivy michelbb natergj ysapp


text:
Implement IndexSite.perform

Metod still needs to be implemented using charles

@charlesmike hi

done

repo: amihaiemil/charles-github-ejb

license_source: bigquery


text:
Implementing iterable Volumes - fixing issue #192

PR for #192. Extending iterable of Volumes plus providing a couple of new puzzles

Job #201 is now in scope, role is REV

This pull request #201 is assigned to @paulodamaso/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @amihaiemil/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer; there will be no monetary reward for this job

@rultor merge

@rultor merge

@paulodamaso Thanks for your request. @amihaiemil Please confirm this.

@bkuzmic Looks good, thanks! And no, I don't have any code formatter for IntelliJ (for the imports thing)... just leave it like that.

@rultor merge it

@rultor merge it

@amihaiemil OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge it

@amihaiemil @bkuzmic Oops, I failed. You can see the full log here (spent 2min)
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 13656
+ echo '1.68.1 24dc2a841'
1.68.1 24dc2a841
+ date
Thu Dec  6 14:02:34 CET 2018
+ uptime
 14:02:34 up 151 days, 23:46,  0 users,  load average: 7.38, 7.69, 7.39
+ ff=default
+ image=yegor256/java8
+ rebase=false
+ head_branch=master
+ pull_title='Implementing iterable Volumes - fixing issue #192'
+ author=amihaiemil
+ directory=
+ head=git@github.com:amihaiemil/docker-java-api.git
+ pull_id=201
+ fork=git@github.com:bkuzmic/docker-java-api.git
+ fork_branch=issue-192-extend-volumes
+ squash=false
+ vars=('--env=MAVEN_OPTS=-XX:MaxPermSize=256m -Xmx1g' '--env=head=git@github.com:amihaiemil/docker-java-api.git' '--env=pull_id=201' '--env=fork=git@github.com:bkuzmic/docker-java-api.git' '--env=fork_branch=issue-192-extend-volumes' '--env=head_branch=master' '--env=pull_title=Implementing iterable Volumes - fixing issue #192' '--env=author=amihaiemil' '--env=scripts=( '\''export '\''\'\'''\''MAVEN_OPTS=-XX:MaxPermSize=256m -Xmx1g'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head=git@github.com:amihaiemil/docker-java-api.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=201'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:bkuzmic/docker-java-api.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=issue-192-extend-volumes'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Implementing iterable Volumes - fixing issue #192'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=amihaiemil'\''\'\'''\'''\'' '\'';'\'' '\''mvn clean install -Pcheckstyle'\'' '\'';'\'' )')
+ scripts=('export '\''MAVEN_OPTS=-XX:MaxPermSize=256m -Xmx1g'\''' ';' 'export '\''head=git@github.com:amihaiemil/docker-java-api.git'\''' ';' 'export '\''pull_id=201'\''' ';' 'export '\''fork=git@github.com:bkuzmic/docker-java-api.git'\''' ';' 'export '\''fork_branch=issue-192-extend-volumes'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Implementing iterable Volumes - fixing issue #192'\''' ';' 'export '\''author=amihaiemil'\''' ';' 'mvn clean install -Pcheckstyle' ';')
+ container=amihaiemil_docker-java-api_201
+ as_root=false
+ mkdir -p /home/rultor/.ssh
+ echo -e 'Host github.com\n\tStrictHostKeyChecking no\n'
+ chmod 600 /home/rultor/.ssh/config
+ git clone git@github.com:amihaiemil/docker-java-api.git repo
Cloning into 'repo'...
+ cd repo
+ git config user.email me@rultor.com
+ git config user.name rultor
+ '[' -z 'export '\''MAVEN_OPTS=-XX:MaxPermSize=256m -Xmx1g'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''MAVEN_OPTS=-XX:MaxPermSize=256m -Xmx1g'\''' ';' 'export '\''head=git@github.com:amihaiemil/docker-java-api.git'\''' ';' 'export '\''pull_id=201'\''' ';' 'export '\''fork=git@github.com:bkuzmic/docker-java-api.git'\''' ';' 'export '\''fork_branch=issue-192-extend-volumes'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Implementing iterable Volumes - fixing issue #192'\''' ';' 'export '\''author=amihaiemil'\''' ';' 'mvn clean install -Pcheckstyle' ';'
+ sensitive=()
+ gpgconf --reload gpg-agent
+ gpg --keyserver hkp://pool.sks-keyservers.net --verbose --recv-keys 9AF0FA4C
gpg: requesting key 9AF0FA4C from hkp server pool.sks-keyservers.net
gpgkeys: key 9AF0FA4C can't be retrieved
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: keyserver helper general error
gpg: keyserver communications error: unknown pubkey algorithm
gpg: keyserver receive failed: unknown pubkey algorithm
'cid' file is absent, container wasn't started correctly

@rultor try to merge again

@rultor try to merge again

@amihaiemil OK, I'll try to merge now. You can check the progress of the merge here

@rultor try to merge again

@amihaiemil Done! FYI, the full log is here (took me 2min)

Job was finished in 5 hours, bonus for fast delivery is possible (see §36)

The job #201 is now out of scope

Order was finished: +20 point(s) just awarded to @paulodamaso/z

Payment to ARC for a closed pull request, as in §28: +10 point(s) just awarded to @amihaiemil/z

source: gharchive/pull-request

authors: 0crat amihaiemil bkuzmic paulodamaso rultor

repo: amihaiemil/docker-java-api


text:
Windows usage example fails in Windows 10

Example usage for windows works neither in PowerShell nor in command prompt (tested in Windows 10 sandbox).
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.14.0/setup_cpp_windows.exe"

That works in command prompt. However, it fails in PowerShell. Curl is an alias for Invoke-WebRequest in PowerShell. Replacing curl with curl.exe should work:
curl.exe -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.14.0/setup_cpp_windows.exe"

./setup_cpp_windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true

That works in PowerShell but fails in the command prompt. Replacing Forward Slash with Backslash should work:
.\setup_cpp_windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true

Moreover, RefreshEnv.cmd fails If chocolatey has just been installed by setup_cpp. I am not sure what is the best solution in this case.
\ProgramData\chocolatey\bin\RefreshEnv.cmd

The above command works unless you have changed chocolatey default install location. However, both fails when you don't have choco installed, and setup_cpp does not install it either.

Thanks for letting me know! Do you want to make a pull request fixing the readme?
For refreshenv, I can add a short note.

authors: Wihmajster aminya

repo: aminya/setup-cpp


text:
Testing Dynamic DOM content on ASP.NET Pages

I've noticed that PhantomJs does not read updated the DOM for ASP.NET pages.
Expected behavior

Load https://m.novocinemas.com/mobile/MovieListView.aspx using phantomjs
Expect DOM content of div.select_cinema to be updated when retrieved using page.property('content') (the DOM content of div.select_cinema is updated due to a script on the webpage)

Actual behavior

Load https://m.novocinemas.com/mobile/MovieListView.aspx using phantomjs
The DOM Content of div.select_cinema is empty as retrieved from the original page load.

Steps to reproduce the behavior

Execute the following code

var phantom = require('phantom');

phantom.create().then(function (ph) {
    ph.createPage().then(function (page) {
        page.open('https://m.novocinemas.com/mobile/CinemaList.aspx').then(function (status) {
            console.log(status);
            setTimeout(() => { //just added for enough delay for the scripts to render
                page.property('content').then(function (content) {
                    console.log(content);
                    page.close();
                    ph.exit();
                });
            }, 5000)
        });
    });
});

Am I doing something wrong because the DOM does not seem to be updated after page scripts modify the page
Environment

OS: MacOS Sierra (10.12.3)
Node version (node -v): 6.9.5
package version: 4.0.0

I think there is something going on with your page that is unrelated. I would first see if you can actually get this to work with plain phantomjs, without Node. If that works, paste the code so I can debug. That would be a bug.
If that doesn't work then something is up with your dom, because I haven't been able to reproduce it.

hmm let me try normal Phantomjs first and i"ll revert back here. Did you get a chance to try the script I posted above? Are you also getting the same behavior?

I haven't had a chance to run it yet. But I remember seeing that this worked. Look at this code https://github.com/amir20/phantomjs-node/issues/431#issuecomment-207865947. Instead of timeout, you could do wait for object to be there. This was a while ago so I hope it works.
I am at work, but maybe later I can run your script.

Also, I don't think this is related to ASP. I went to https://m.novocinemas.com/mobile/CinemaList.aspx and nothing happened. Perhaps try a different page?

Any reponse?

Hi, I didn't get a chance to explore it further. Will do it this weekend and report back
Sent from my iPhone
On Mar 1, 2017, at 7:45 PM, Amir Raminfar <notifications@github.commailto:notifications@github.com> wrote:
Any reponse?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/amir20/phantomjs-node/issues/615#issuecomment-283377155, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AC0qzhJdHlOYBwXxateQ0l4wu432Lia5ks5rhZKtgaJpZM4MI5xZ.

I had the same issues ... but when I updated to phantomjs 2.5-beta (which supports ES6) it all worked fine and the content was updates. I tested by copy/pasting the upper code and just changing the url to my React app.

@SvenAlHamad that's awesome. How did you upgrade to beta? It has been on my to do list for a while but haven't had a chance to play with it.

Good thing I noted everything in my evernote :)
so, I use ubuntu 16.04 and this are the steps:
download it from here:
https://bitbucket.org/ariya/phantomjs/downloads/
tar -zxvf {archive name here}

sudo apt-get install libstdc-dev
sudo apt-get install libwebp-dev
sudo apt-get install libhyphen-dev
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.9 g++-4.9
sudo mv phantomjs-2.5.0-beta-ubuntu-trusty /usr/local/share/
sudo ln -sf /usr/local/share/phantomjs-2.5.0-beta-ubuntu-trusty/bin/phantomjs /usr/local/bin
phantomjs --version

oh nice!

Marking as an upstream dependency since phantom seems to have fixed it.

OK I think it's safe to close this since we know Beta fixes it.

authors: SvenAlHamad amir20 salmankhann

license: isc


text:
Version flag doesn't work in example.lua

I'm trying to run the example.lua file provided in the repo, like: lua example.lua -v
But it seems like the parsing for -v doesn't work, and the version information are never been displayed.

well, it's worse that;
C:\Users\Thijs\Dropbox\Lua projects\lua_cliargs>example.lua -v
cli_example.lua: error: bad number of arguments; 1-4 argument(s) must be specified, not 0; re-run with --help for usage.

C:\Users\Thijs\Dropbox\Lua projects\lua_cliargs>example.lua --help
cli_example.lua: error: bad number of arguments; 1-4 argument(s) must be specified, not 0; re-run with --help for usage.

C:\Users\Thijs\Dropbox\Lua projects\lua_cliargs>

apparently the parsing errors out before it gets a chance to display the help information.

sorry for the noise. That was a configuration issue on my machine.
Anyway problem seems to be that the test defines 1 argument (non-optional) and when validating, it fails and hence the error message.
If you provide the required argument (any value) it works as expected;
C:\Temp>lua test.lua -v myfile
cli_example.lua: version 1.2.1

C:\Temp>

Not sure how to fix this. It is specific to required arguments.
One way would be to include a flag to 'stop parsing arguments' for each option.
so
function cli:add_opt(key, desc, default)

would be updated to
function cli:add_opt(key, desc, default, stop)

and the "-v" option would be created as;
  cli:add_flag("-v, --version", "prints the program's version and exits", true)

So when it parses the arguments, it stops upon hitting "-v" and returns an incomplete set of parsed arguments. It is then up to the host program to check the "-v" option.
It's ugly because it breaks the promise of completely handling all options and returning only valid sets.
any ideas?

Can't we just define a hook that the host could use to preemptively abort parsing of args when either -v or --help is passed in?
I would place such a hook somewhere like this https://github.com/amireh/lua_cliargs/blob/master/src/cliargs.lua#L357
function cli:parse(noprint, dump, on)
  -- ...
  -- args have been parsed, but validations not yet run
  if on.parse then
    rc = on.parse(args)
    if rc == "abort" -- or some code, false maybe
      return true
    end
  end

  -- arg validation and rest of logic proceeds
  -- ...
end

I like this better than adding more to the options API which is already complicated. Also, this opens up the door for other hooks if we need them in the future.
What do you think?

I created a PR that would fix this issue.  Check out PR #33.

closing this one in favour of #33

authors: Tieske amireh o-lim thefosk

license: mit


text:
Add table support

Adds functionality to read data from root-level tables, should address #26.
Includes update to sample

Thank you for the PR!
It looks good to me but I think it's better to create a new sample file to show how to work with tables and keep sample1.cpp intact.
Please restore sample1.cpp to the last commit in order to merge your PR.

authors: amiremohamadi angguss

repo: amiremohamadi/DuckX


text:
Unable to "bower install amitava82/angular-multiselect"

Getting this error:
ENOTFOUND Package amitava82/angular-multiselect=amitava82/angular-multiselect not found

It is bower bug: https://github.com/bower/bower/issues/1081

authors: mongoh paragraff


text:
Org Stewards are treated as if they are admins

STR-
Log on as obrien (org steward) - minipax, miniplenty
Go to BreadBasket app ( App owner is julia and associated agency is minitrue)
Edit the app as obrien
Save
RESULTS- It allows other Org Stewards to save without validation as if they were an admin
EXPECTED RESULTS - Should validate and give an error to org steward letting them know they do not have the authority to edit a listing that does not belong to their org.

@mannyrivera2010 - can you review this and advise? - thanks,

repo: aml-development/ozp-backend


text:
Readme fixes

There were a couple typos in the readme. Excited to try this out!
PS Vercel is awesome, cool to see it being used for docs!

Thanks for the changes, I will merge this asap.

authors: ammarahm-ed kyle-ssg

repo: ammarahm-ed/react-native-mmkv-storage


text:
Lbo bug fix

Two fixes for the LBO. First, the cross moments weren't being accounted for when writing out the moments (nu_sum and nu_prim_moms). Second the tpar_min was missing a factor of dvpar.
Plotted here is nu_sum for the "square" species at the final time and the "bump" species at the final and initial times for before any changes, only the change in the write function, and both fixes from the rt_gk_lbo_relax_varnu_1x2v_p1 regression test. The change in tpar_min has no effect on nu as seen by nu_sum being the same for both "only_write_changed" and "vtsq_min_fixed".
The "square" species at t=0 still has nu_sum=0. This looks like it is some subtlety with the write that I haven't figured out as it is nonzero even if only one step is taken.

[image0.gif]
On Mar 27, 2024, at 9:40 PM, Manaure Francisquez @.***> wrote:

@manauref commented on this pull request.

In apps/gyrokinetic.chttps://github.com/ammarhakim/gkylzero/pull/331#discussion_r1542210811:

@@ -782,7 +782,7 @@ gkyl_gyrokinetic_app_write_coll_mom(gkyl_gyrokinetic_app* app, int sidx, double
const struct gkyl_array *fin[app->num_species];
gk_species_lbo_moms(app, gk_s, &gk_s->lbo, gk_s->f);
if (gk_s->lbo.num_cross_collisions)

gk_species_lbo_moms(app, gk_s, &gk_s->lbo, gk_s->f);

gk_species_lbo_cross_moms(app, gk_s, &gk_s->lbo, gk_s->f);

@JonathanGorardhttps://github.com/JonathanGorard while you are right correct this, I think we should comment this and the writing of nu_sum and nu_prim_moms out. Those quantities are only typically used for development and testing and we almost never look at them in practice, except for specific rare diagnostics. So I think we should comment out everything in gkyl_gyrokinetic_app_write_coll_mom having to do with nu_sum and nu_prim_moms, and we can always uncomment them when we need these detailed diagnostics.
—
Reply to this email directly, view it on GitHubhttps://github.com/ammarhakim/gkylzero/pull/331#pullrequestreview-1965018162, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZFTYB2BJHCMVXP5QM75JGDY2NYJFAVCNFSM6AAAAABFL3BZYSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTSNRVGAYTQMJWGI.
You are receiving this because you were mentioned.Message ID: @.***>

authors: JonathanGorard jRoeltgen

repo: ammarhakim/gkylzero


text:
Fix unit-test failure in client integration test

Currently the test-suite fails since the "server closes socket after accept"-test assumes that results in an error when the response is read. In reality byte-stream already fails on write.
This adds a catch-clause for the byte-stream exception, converts it to an artax SocketException and changes the unit-test to expect the correct exception message.

Thanks!

authors: bzikarsky kelunik

repo: amphp/artax


text:
Remove partitionBy() in RDD.

partitionBy() works on pair RDD, should be in pairRDD.R instead of in RDD.R.
Also move UnionRDD() in RDD.R to the end of file (section for binary functions).

Nice catch -- Thanks @sun-rui . Just to clarify, in the existing code we had partitionBy in two files and so we are removing it from one ?

yes.

LGTM. Merging this

authors: shivaram sun-rui

repo: amplab-extras/SparkR-pkg


text:
[SMALLFIX] Read the UNDERFS_HDFS configuration from tachyon conf

Fixed a bug in HdfsUnderFileSystem

could this be unit tested?

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/5806/
Test PASSed.

Not a bug. UNDERFS_HDFS_CONFIGURATION is set by prepareConfiguration.

authors: AmplabJenkins haoyuan yupeng9

repo: amplab/tachyon


text:
Updating NAT gateway EIPs during VPC update

This is PR is to add support for updating NAT gateways in an existing VPC according to changes in disco_vpc.ini. NAT gateways in a live VPC can now be switched between dynamically generated EIPs and pre-allocated EIPs, or between two different sets of pre-allocated EIPs.

Overall looks good

👍

authors: aoskotsky-amplify jichen-amplify

repo: amplifylitco/asiaq


text:
Send browser_name, browser_family, host_os_name, and host_on_family

browser_name and browser_family are new names for os_family and os_version. We continue to send the browser info in os_family and os_version. In addition, the host operating system name and version are now sent as host_os_name and host_os_version.

Closing pending update to use the new UA parser in #14.

repo: amplitude/Amplitude-Javascript


text:
[Land and See - Home] Transitions for open and close of sections is a little jarring

Can we do anything to fix the transition? @camelburrito

We can use amp-selector instead of accordion and custom implement
animations .
Or
Fix amp-accordion to support animation
On Thu, Nov 2, 2017 at 3:29 PM spacedino notifications@github.com wrote:

[image: image]
https://user-images.githubusercontent.com/7339798/32353410-9749458a-bfe2-11e7-9a2e-987eb2b981e7.png
Can we do anything to fix the transition? @camelburrito
https://github.com/camelburrito
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ampproject/ampstart/issues/747, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA_T_4qRe8tx0yt-Umri4EXKeRviJiTaks5sykJIgaJpZM4QQbx_
.

--
-- Sriram

This is a limitation of the accordion and hence removing the launch blocking.

authors: camelburrito spacedino

repo: ampproject/ampstart


text:
Hot Fix for Scroll issue

amsul/pickadate.js#801
amsul/pickadate.js#836

Raised another pul request


text:
Generator "templates" / "base generators" / mixins

I want to allow my users to create generators that all follow a certain convention.
E.g. the generator will place every generated element in a certain module-folder (which has a modulename) and which will create that folder if it does not exist.
What i did now is create a helper function  that wraps plop.setGenerator and mutates the prompts and actions:
const makeModuleGenerator = (name, generatorConfig) =>
  plop.setGenerator(name, {
    ...generatorConfig,
    prompts: [
      {
        type: 'input',
        name: 'moduleName',
        message: "What's the module name?"
      },
      ...generatorConfig.prompts,
      {
        type: 'confirm',
        name: 'createModule',
        when(data) {
          return !exists(data, modulePath);
        },
        message: 'This module does not exist. Should I create this module?'
      }
    ],
    actions: data => {
      if (data.createModule === false) {
        return []; // abort
      }
      if (isFunction(generatorConfig.actions)) {
        return generatorConfig.actions(data);
      }
      return generatorConfig.actions;
    }
  });

and you can use it like this:
makeModuleGenerator('component', {
    prompts: [
      {
        type: 'input',
        name: 'name',
        message: "What's the component name?"
      }
    ],
    actions: [
      {
        type: 'add',
        template: 'templates/components/component.js',
        path: '{{moduleName}}/components/{{name}}.js',
      }
    ]
  });

While this works, you can't use this helper function out of the box in a plopfile.
Imaging you want to load this helper functions in a  plop-pack from npm. Usually, you can load this with plop.load("plop-pack-name") which will add generators, actions, helpers, etc.
But there is no way to provide such a helper function without any changes. You would need to import it additionally through npm.
An approach would be to provide a new generatorTemplate.
This could look like this (same example as above in makeModuleGenerator )
  plop.setGeneratorTemplate("withModule", config => ({
    prompts: [
       {
        type: 'input',
        name: 'moduleName',
        message: "What's the module name?"
      },
      ...config.prompts,
      {
        type: 'confirm',
        name: 'createModule',
        when(data) {
          return !exists(data, modulePath);
        },
        message: 'This module does not exist. Should I create this module?'
      }
    ],
    actions: data => {
      if (data.createModule === false) {
        return []; // abort
      }
      if (isFunction(config.actions)) {
        return config.actions(data);
      }
      return config.actions;
    }
  })

So its basically a function that will mutate the config of a generator.
And you could use this like this (same example as above):
plop.setGenerator('component', {
  generatorTemplate: "withModule",
    prompts: [
      {
        type: 'input',
        name: 'name',
        message: "What's the component name?"
      }
    ],
    actions: [
      {
        type: 'add',
        template: 'templates/components/component.js',
        path: '{{moduleName}}/components/{{name}}.js',
      }
    ]
  });

Apart from managing an additional entity "generatorTemplate", it would be easy to implement:
// where the generator is called
let actualConfig = config;
  if(config.template) {
    templateFunc = getGeneratorTemplates(config.template)
    actualConfig = templateFunc(config)
  }

(I don't like the name "generatorTemplate", as "template" is already overloaded in plop, maybe we find a better name for that?

hey @macrozone, somehow I didn't see this until now... not sure how I missed it :frowning_face:. I'm not sure that what you are proposing here belongs as a new entity within the plop api. You can achieve the same result with a function (as you mention) or a Class that generates the generator config.
example: plop.setGenerator('something', new ModuleGenerator({config}));
I think that adding this as a new entity would introduce unneeded cognitive load for others using plop. I'll give this some more thought, but I would lean toward distributing something like this as a standard npm module that exports a function or a class.
I'll leave this open for now for more discussion.

@amwmedia
A:

plop.load('my-plop-pack')

plop.setGenerator('components", {
   mixins: ["withModules],
....
})

B:
import { ModuleGenerator } from 'my-plop-pack'

plop.load('my-plop-pack')

plop.setGenerator('components", new ModuleGenerator({config}))

A fits more to how plop handles generators, actions and entities.
Not sure if B is really less "cognitive overhead" as it all of sudden introduce an import statement where everything else is loaded via plop.

I believe B is easier to understand because I know that setGenerator takes a name and a config object. I also know that constructor functions are a way to generate objects in a consistent way. So I understand B without knowing what a mixin is and how it relates to generators. I also think that you could run into some real trouble when you try to combine mixins and they both control the output, but that's just a gut feeling.
I guess the real question here is... how often do people want to create generators that inherit some of their behavior from somewhere else? My assumption is that this is a bit of an edge case. Plop is currently designed to have generators whose behavior is primarily owned by a single codebase.

"I believe B is easier to understand because I know that setGenerator takes a name and a config object. " --> that makes no sense. This is the case in A, not B (mixins is just a config property).
"My assumption is that this is a bit of an edge case."
Propably, probably not. I am missing this feature. You could also providing mixins like linting or pretty every file that has been generated. I think there are a lot more use case
But yeah, it can probably also be solved by saying the user to import some config generator functions manually and using them.  Less elegant, but also less complex

"that makes no sense. This is the case in A, not B (mixins is just a config property)" --> What I'm trying to say here is that the concept of a "mixin" is extra. A constructor function is a standard way to create objects in JavaScript, so I already know what is happening here. The constructor function will generate an object and the setGenerator method takes an object.
I would think that linting and prettier should be handled by build process instead of generators, but I don't doubt that other use cases could be found.
I'll take a look at the PR, maybe seeing your implementation will shed more light on this for me.

I tried to revisit that and tried to remove the mixins from my ploppack as this not seems to get merged.  But its hard to do. I need the plopfileconfig in my mixins and without a first-citizen api, this will get nasty:
const { moduleGenerator } = require('myploppack');

module.exports = function(plop, config) {
const customConfig = {
  foo: "bar"
}
  plop.load('myploppack',customConfig);
  plop.setGenerator(
    'reducer',
// need to pass in config somehow. This was already handled in my PR
    moduleGenerator(customConfig)({
      description: 'bla',
      /// ... config
    })
  );
};

is the part that "gets nasty" the fact that you have to pass the config in at 2 places? just want to be sure I understand your concern.

@amwmedia yes, exactly! Sorry for the bad wording.

you have to pass the config twice
and you have to load the "ploppack" twice (once with require/import and once with plop.load)

I think the underlying problem is because node-plop's architecture does not allow customizing it in a more advance way, you are stuck with the existing api (setGenerator, setAction, etc.), otherwise you have to monkeypatch it
My proposal does not improve the architecture and so does not solve this underlying problem, but it adds an additional api which is similar to the existing api and solves certain use cases.
Could we give it a chance as it is already implemented with tests?

authors: amwmedia macrozone

repo: amwmedia/plop


text:
Add EU support to diagnostics

Please also output region and language in this module for payment and login

Updated to output API region and Magento locale (1.4 branch).

authors: danielneu jonahellison

repo: amzn/amazon-payments-magento-plugin


text:
Refactor the ION_SYMBOL_TABLE type to make it opaque

Description of changes:
Internally, ion-c pokes at the ION_SYMBOL_TABLE type quite a bit, which violates encapsulation and makes it hard to make changes to the data structure without breakage across the library.  This cleans up direct usages of the symbol table type, replaces them with API calls, and makes the ION_SYMBOL_TABLE type opaque to avoid depending on the internal details outside of ion_symbol_table.c.
This is needed in preparation to fix #264, as we need to make some changes to the representation of the ION_SYMBOL_TABLE type to fix it.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Note: ion-test-driver failed for the following reason: "Read_error: new commit has different read error(s)." (Full details below.) This is fine, as both before and after the change, ion-c failed with IERR_INVALID_SYMBOL for this input. The test driver is complaining because the failure occurred in different places, which is overly strict. Once reviewed and approved, we'll merge this change even though ion-test-driver fails for this reason.
$ion_1_0
{
 'subfieldVarUInt32bit.ion': {
  read_error: {
   message: "Read_error: new commit has different read error(s).",
   read_error: {
    'ion-c_9310a99': ErrorReport::[
     {
      error_type: READ,
      message: "/Users/runner/work/ion-c/ion-c/output/build/ion-c/tools/events/ion_event_stream.cpp:328 : IERR_INVALID_SYMBOL",
      location: "/Users/runner/work/ion-c/ion-c/output/build/ion-tests_ef0451a/iontestdata/good/subfieldVarUInt32bit.ion"
     }
    ],
    'ion-c_677ddfd': ErrorReport::[
     {
      error_type: READ,
      message: "/Users/runner/work/ion-c/ion-c/output/build/ion-c/tools/events/ion_event_stream.cpp:1062 : IERR_INVALID_SYMBOL",
      location: "/Users/runner/work/ion-c/ion-c/output/build/ion-tests_ef0451a/iontestdata/good/subfieldVarUInt32bit.ion"
     }
    ]
   }
  }
 }
}

authors: sadderchris tgregg

repo: amzn/ion-c


text:
getDbClient always returns nullptr (postgresql)

When trying to use getDbClient in controller method the pointer returned is always null. My configuration file is loaded, the database is running and I can connect to it via DBeaver fine using the same connection information below. I get no error from drogon, just a nullptr.
-- Found PostgreSQL: /usr/lib/libpq.so (found version "13.2")
-- pg inc: /usr/include/usr/include/postgresql/server
-- Found pg: /usr/lib/libpq.so

 "db_clients": [
        {
            "name":"default",
            "rdbms": "postgresql",
            "host": "localhost",
            "port": 5432,
            "dbname": "postgres",
            "user": "postgres",
            "passwd": "",
            "is_fast": false,
            "number_of_connections": 1
        }

void User::getInfo(const HttpRequestPtr &req, std::function<void (const HttpResponsePtr &)> &&callback)
{
...
	auto dbClient = drogon::app().getDbClient();
	assert(dbClient);
...
}

Please run drogon_ctl -v to check if the libpq is linked against into drogon.

Please run drogon_ctl -v to check if the libpq is linked against into drogon.

Here is the output:
A utility for drogon
Version: 1.5.1
Git commit: 87d812327687b29dd6e685bb5106638dd4aba969
Compilation:
  Compiler: /usr/bin/c++
  Compiler ID: GNU
  Compilation flags: -O3 -DNDEBUG -std=c++17 -I/usr/include
Libraries:
  postgresql: yes  (batch mode: no)
  mariadb: yes
  sqlite3: yes
  openssl: yes
  brotli: yes
  boost: no
  hiredis: yes
  c-ares: yes

please paste the whole config.json file, may be the configuration of database is commented (it is commented by default when the configuration file is generated by drogon_ctl).

please paste the whole config.json file, may be the configuration of database is commented (it is commented by default when the configuration file is generated by drogon_ctl).

I am so sorry! I completely missed that the section was commented out. My bad, all is well now.

authors: an-tao nodeverror

repo: an-tao/drogon


text:
feat(content): add support for accessing content files within nested folders

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/analogjs/analog/blob/main/CONTRIBUTING.md#-commit-message-guidelines
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] Other... Please describe:

Which package are you modifying?

[ ] vite-angular-plugin
[ ] astro-angular
[ ] create-analog
[ ] router
[ ] platform
[x] content

What is the current behavior?
The current injectContent() does not support subdirectories within the content folder.
Issue Number: #282
What is the new behavior?
This allows the existing string parameter for the routeParam to remain the same, but also allows the developer to pass in an object instead, consisting of the routeParam key as well as the subdirectory name.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Awesome! @allcontributors add @BaronVonPerko for code,doc

authors: BaronVonPerko brandonroberts

repo: analogjs/analog


text:
Usability of diktat-analysis: invalid override

The following config would be treated as name: TRAILING_COMMA enabled: true
- name: TRAILING_COMMA
  enabled: true
  configuration:
    valueArgument: true
    valueParameter: true

# https://github.com/diktat-static-analysis/diKTat/issues/1106
- name: TRAILING_COMMA
  enabled: false

https://github.com/charleskorn/kaml
open class RulesConfigReader(override val classLoader: ClassLoader) : JsonResourceConfigReader<List<RulesConfig>>() {
    private val yamlSerializer by lazy { Yaml(configuration = YamlConfiguration(strictMode = true)) }

repo: analysis-dev/diktat


text:
TensorFlow implementation?

Your SysML'19 paper Accelerating Distributed Deep Learning with Communication Scheduling mentioned that the implementation is based on TensorFlow, yet I cannot find any of them in this repo.
Would you mind to share me a pointer to the TF implementation? Thanks!

Sorry, apparently I made a mistake and confused P3 with TicTac :P


text:
Social integration not working

Goal is to make social login and signups working, create and share app_ids, secrets etc, DO NOT COMMIT in repo

They are just place holders at this point.  Social integration might take a low priority & nice to have feature in smart-school.
Agreed,  when the feature is out it shouldn't be in repo.

Well, we really don't have to do something extra its all done by passport   , just go to /config/env and put your clientID, clientSecret and callbackURL for different social sites for different environment.

you guys are started to work again, if yes please let me know, I have
enough time.
On Sun, Apr 2, 2017 at 1:03 AM, Amey Jadiye notifications@github.com
wrote:

Closed #1 https://github.com/ananthchelladurai/smart-school/issues/1.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ananthchelladurai/smart-school/issues/1#event-1025299647,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEcYfSS3dPlK37Yqyv2_fEUALtedH579ks5rrqZ9gaJpZM4Dp3fj
.

--
Regards
D.Rathakrishnan

No, It was dormant issue sitting in my todo list here, so anyway this was stopped long back thought to close it "won't fix"

authors: ameyjadiye ananthchelladurai duraimoni

repo: ananthchelladurai/smart-school


text:
Batch Writing files to an empty directory send back message as letter object

Describe the bug
When batch writing to files in a directory, all works as expected.
When I'm batch writing to an empty directory, testing behavior, I get the message back

1 directories scanned\n 0 image files read\n

However, the message comes back as an object of single characters.
[XMP Metadata Write:873bf183ccde905f] {  "0": " ",  "1": " ",  "2": " ",  "3": " ", "4": "1",  "5": " ",  "6": "d", "7": "i",  "8": "r", "9": "e", ......... "45": "e",  "46": "a",  "47": "d",  "48": "\n"
To Reproduce
Standard write function but pass in the path to a directory rather than a file.
Only errors when a directory is empty; works if files are in the dir.
Expected behavior
Expect messages to be sent back constantly
{"message":"File updated successfully!","file":["/tmp"]}
Expected Payload.
{"message":"1 directories scanned 0 image files read","file":["/tmp"]}
Desktop (please complete the following information):

OS: Alpine Linux in docker

Hey @harrypottar, thanks for reporting this bug.
I'll look into it.
In the meantime, If you have found the fix, please consider opening a pull request.

authors: anasshakil harrypottar

repo: anasshakil/metadata


text:
Images.xcassets以下にLINE.imagesetが自動的に生成されません。

突然のご連絡失礼致します。
今けーごさんが作られたSocialConnectorを使ってUnityで開発しているゲームにSNSとの連携機能を実装しておりますが、READMEに書かれているようにLINEの画像を別途用意し、実際に実機で確認してみたところLINEの画像が反映されずにおります。
もともと用意されているダミーの画像も実機で確認できず、生成されたXcodeプロジェクトを確認したところ、Images.xcassets/LINE.imagesetが生成されておりませんでした。
開発環境は
・Unity4.6
・Xcode6.1
でビルドしております。
何卒よろしくお願いいたします。

ご対応ありがとうございます！

チケットを分けました
#14 iOS7.1.2の端末にてクラッシュ
#15 LINE画像が縮小されて表示されてしまう
あれ、本当ですね。これ解決方法あるのかな...

license: Zlib


text:
Failed client call to service simple queues

Hi all,
I am get this error:

Failed client call to service simplequeue for url: http://localhost:8228/v1/queues/watcher_tasks/is_inqueue . Response: {'httpcode': 404, 'anchore_error_raw': 'b'{\n  "detail": "The requested URL was not found on the server.  If you entered the URL manually please check your spelling and try again.",\n  "status": 404,\n  "title": "Not Found",\n  "type": "about:blank"\n}\n'', 'anchore_error_json': {'detail': 'The requested URL was not found on the server.  If you entered the URL manually please check your spelling and try again.', 'status': 404, 'title': 'Not Found', 'type': 'about:blank'}}

when I tried to run Anchore engine on minishift.
I am pulling image from registry.connect.redhat.com/anchore/engine4 on my minishift , but I first configured postgresql db on minishift and anchore can access to postgresql.

    name anchore-engine
    vendor Anchore Inc.
    version 0.4.2
    release r0

hi @milijander88
Can you describe in a bit more detail exactly how you are configuring/deploying anchore-engine?  That error is indicating that perhaps the config.yaml in place is registering a simplequeue service on 'localhost:8228' but that won't work as an endpoint for the worker, unless the services are co-located and not using the same port - if we can review your config/deployment scripts and setup, we should be able to help!

Hi @nurmi  I am using minishift, and openshift cluster for anchore, but for now I am configuring anchore engine on minishfit and this is my setup.
I am using  PostgreSQL 10 SQL database server  that I pulled from:
registry.redhat.io/rhscl/postgresql-10-rhel7 and I use Deploy image on minishift to import Postgresql and then I configure env variable for postgresql (POSTGRESQL_USER, POSTGRESQL_PASSWORD and POSTGRESQL_DATABASE). After I configure postgresql I imported Anchore engine in minishift from registry.connect.redhat.com/anchore/engine4 using  Deploy image on minishift and configured env variable.
I am using this Docker image :
https://access.redhat.com/containers/?architecture&tab=docker-file#/registry.connect.redhat.com/anchore/engine4/images/v0.4.2-r0
This is deployment script from openshift:
apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
  annotations:
    openshift.io/generated-by: OpenShiftWebConsole
  creationTimestamp: '2019-07-25T11:36:25Z'
  generation: 18
  labels:
    app: engine4
  name: engine4
  namespace: mbl-test
  resourceVersion: '48069233'
  selfLink: /apis/apps.openshift.io/v1/namespaces/mbsl-testsdf/deploymentconfigs/engine4
  uid: 6f94c3eb-aed0-11e9-8c30-0a9cd92e7c86
spec:
  replicas: 1
  selector:
    app: engine4
    deploymentconfig: engine4
  strategy:
    activeDeadlineSeconds: 21600
    resources: {}
    rollingParams:
      intervalSeconds: 1
      maxSurge: 25%
      maxUnavailable: 25%
      timeoutSeconds: 600
      updatePeriodSeconds: 1
    type: Rolling
  template:
    metadata:
      annotations:
        openshift.io/generated-by: OpenShiftWebConsole
      creationTimestamp: null
      labels:
        app: engine4
        deploymentconfig: engine4
    spec:
      containers:
        - env:
            - name: ANCHORE_DB_HOST
              value: postgresql-10-rhel7.mbl-test.svc
            - name: ANCHORE_DB_PASSWORD
              value: foobar
            - name: ANCHORE_DB_POSTGRESQL_SERVICE_PORT
              value: '5432'
            - name: ANCHORE_ENGINE_SERVICE_SERVICE_HOST
              value: anchore.example.com
            - name: ANCHORE_HOST_ID
              value: anchore-dev
            - name: ANCHORE_CLI_SSL_VERIFY
              value: 'n'
            - name: ANCHORE_CLI_URL
              value: 'http://localhost:8228/v1'
            - name: ANCHORE_ENDPOINT_HOSTNAME
              value: engine-catalog
          image: >-
            registry.connect.redhat.com/anchore/engine4@sha256:2a0f686711sdfsdf71617da8d666a1124950a9270f1917ca98139d84357217a8dbededc
          imagePullPolicy: Always
          name: engine4
          ports:
            - containerPort: 8228
              protocol: TCP
          resources:
            limits:
              cpu: 500m
              memory: 600Mi
            requests:
              cpu: 400m
              memory: 512Mi
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      terminationGracePeriodSeconds: 30
  test: false
  triggers:
    - type: ConfigChange
    - imageChangeParams:
        automatic: true
        containerNames:
          - engine4
        from:
          kind: ImageStreamTag
          name: 'engine4:latest'
          namespace: mbl-test
        lastTriggeredImage: >-
          registry.connect.redhat.com/anchore/engine4@sha256:2a0f686711sdfsdf71617da8d666a1124950a9270f1917ca98139d84357217a8dbededc
      type: ImageChange
status:
  availableReplicas: 0
  conditions:
    - lastTransitionTime: '2019-07-30T08:51:18Z'
      lastUpdateTime: '2019-07-30T08:51:18Z'
      message: replication controller "engine4-10" has failed progressing
      reason: ProgressDeadlineExceeded
      status: 'False'
      type: Progressing
    - lastTransitionTime: '2019-08-09T06:50:24Z'
      lastUpdateTime: '2019-08-09T06:50:24Z'
      message: Deployment config does not have minimum availability.
      status: 'False'
      type: Available
  details:
    causes:
      - type: ConfigChange
    message: config change
  latestVersion: 10
  observedGeneration: 18
  replicas: 1
  unavailableReplicas: 1
  updatedReplicas: 0

Hi all,
Now I  am facing with this issue, when I try to run anchore engine on openshift?

Traceback (most recent call last):
--
  | File "/opt/rh/rh-python36/root/usr/bin/twistd", line 11, in <module>
  | sys.exit(run())
  | File "/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/twisted/scripts/twistd.py", line 31, in run
  | app.run(runApp, ServerOptions)
  | File "/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/twisted/application/app.py", line 674, in run
  | runApp(config)
  | File "/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/twisted/scripts/twistd.py", line 25, in runApp
  | runner.run()
  | File "/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/twisted/application/app.py", line 383, in run
  | self.logger.start(self.application)
  | File "/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/twisted/application/app.py", line 184, in start
  | observer = self._observerFactory()
  | File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/anchore_engine/subsys/twistd_logger.py", line 14, in logger
  | f = logfile.LogFile(thefile, '/var/log/', rotateLength=10000000, maxRotatedFiles=10)
  | File "/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/twisted/python/logfile.py", line 170, in __init__
  | BaseLogFile.__init__(self, name, directory, defaultMode)
  | File "/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/twisted/python/logfile.py", line 45, in __init__
  | self._openFile()
  | File "/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/twisted/python/logfile.py", line 175, in _openFile
  | BaseLogFile._openFile(self)
  | File "/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/twisted/python/logfile.py", line 85, in _openFile
  | self._file = open(self.path, "wb+", 0)
  | PermissionError: [Errno 13] Permission denied: '/var/log/anchore/anchore-catalog.log'
  | [MainThread] [anchore_manager.cli.service/start()] [INFO] Loading DB routines from module (anchore_engine)
  | [MainThread] [anchore_manager.cli.utils/connect_database()] [INFO] DB params: {"db_connect_args": {"connect_timeout": 86400}, "db_pool_size": 30, "db_pool_max_overflow": 100, "db_echo": false}
  | [MainThread] [anchore_manager.cli.utils/connect_database()] [INFO] DB connection configured: True
  | [MainThread] [anchore_manager.cli.utils/connect_database()] [INFO] DB attempting to connect...
  | [MainThread] [anchore_manager.cli.utils/connect_database()] [INFO] DB connected: True
  | [MainThread] [anchore_manager.cli.utils/init_database()] [INFO] DB compatibility check: running...
  | [MainThread] [anchore_manager.cli.utils/init_database()] [INFO] DB compatibility check success
  | [MainThread] [anchore_manager.cli.utils/init_database()] [INFO] DB post actions: running...
  | [MainThread] [anchore_manager.cli.service/start()] [INFO] DB version and code version in sync.
  | [MainThread] [anchore_manager.cli.service/start()] [INFO] Starting services: ['anchore-catalog', 'anchore-api', 'anchore-kubernetes-webhook', 'anchore-simplequeue', 'anchore-worker', 'anchore-policy-engine']
  | [MainThread] [anchore_manager.cli.service/terminate_service()] [INFO] Looking for pre-existing service (anchore-catalog) pid from pidfile (/var/run/anchore/anchore-catalog.pid)
  | [anchore-catalog] [anchore_manager.cli.service/startup_service()] [INFO] cleaning up service: anchore-catalog
  | [MainThread] [anchore_manager.cli.service/start()] [INFO] waiting for service pidfile /var/run/anchore/anchore-catalog.pid to exist 0/30
  | [anchore-catalog] [anchore_manager.cli.service/terminate_service()] [INFO] Looking for pre-existing service (anchore-catalog) pid from pidfile (/var/run/anchore/anchore-catalog.pid)
  | [anchore-catalog] [anchore_manager.cli.service/startup_service()] [INFO] starting service: anchore-catalog
  | [anchore-catalog] [anchore_manager.cli.service/startup_service()] [INFO] 	 twistd --logger=anchore_engine.subsys.twistd_logger.logger --pidfile /var/run/anchore/anchore-catalog.pid -n anchore-catalog --config /config
  | [MainThread] [anchore_manager.cli.service/start()] [INFO] waiting for service pidfile /var/run/anchore/anchore-catalog.pid to exist 1/30
  | [MainThread] [anchore_manager.cli.service/start()] [INFO] waiting for service pidfile /var/run/anchore/anchore-catalog.pid to exist 2/30
  | Traceback (most recent call last):
  | File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/anchore_manager/cli/service.py", line 167, in startup_service
  | raise Exception("process exited: " + str(rc))
  | Exception: process exited: 1
  | [anchore-catalog] [anchore_manager.cli.service/startup_service()] [ERROR] service process exited at (Mon Aug 19 12:11:29 2019): process exited: 1
  | [anchore-catalog] [anchore_manager.cli.service/startup_service()] [FATAL] Could not start service due to: process exited: 1
  | [anchore-catalog] [anchore_manager.cli.service/startup_service()] [INFO] exiting service thread
  | [MainThread] [anchore_manager.cli.service/start()] [INFO] waiting for service pidfile /var/run/anchore/anchore-catalog.pid to exist 3/30
  | [MainThread] [anchore_manager.cli.service/start()] [INFO] service thread has stopped anchore-catalog
  | [MainThread] [anchore_manager.cli.service/start()] [INFO] auto_restart_services setting: False
  | [MainThread] [anchore_manager.cli.service/start()] [INFO] checking for startup failure pidfile=False, is_alive=False
  | [MainThread] [anchore_manager.cli.service/start()] [WARN] service start failed - exception: service thread for (anchore-catalog) failed to start
  | [MainThread] [anchore_manager.cli.service/start()] [FATAL] one or more services failed to start. cleanly terminating the others
  | [MainThread] [anchore_manager.cli.service/terminate_service()] [INFO] Looking for pre-existing service (anchore-catalog) pid from pidfile (/var/run/anchore/anchore-catalog.pid)
  | [MainThread] [anchore_manager.cli.service/terminate_service()] [INFO] Looking for pre-existing service (anchore-api) pid from pidfile (/var/run/anchore/anchore-api.pid)
  | [MainThread] [anchore_manager.cli.service/terminate_service()] [INFO] Looking for pre-existing service (anchore-kubernetes-webhook) pid from pidfile (/var/run/anchore/anchore-kubernetes-webhook.pid)
  | [MainThread] [anchore_manager.cli.service/terminate_service()] [INFO] Looking for pre-existing service (anchore-simplequeue) pid from pidfile (/var/run/anchore/anchore-simplequeue.pid)
  | [MainThread] [anchore_manager.cli.service/terminate_service()] [INFO] Looking for pre-existing service (anchore-worker) pid from pidfile (/var/run/anchore/anchore-worker.pid)
  | [MainThread] [anchore_manager.cli.service/terminate_service()] [INFO] Looking for pre-existing service (anchore-policy-engine) pid from pidfile (/var/run/anchore/anchore-policy-engine.pid)

Hi @milijander88 - we'll be looking into this particular way of deploying the engine into oshift, as our investigations so far using that same image (deploying it into k8s, with docker-compose, etc) are not showing any issues.  Something is preventing the container from writing its logfiles to the local /var/log/anchore/ directory (anchore services come up and run as the 'anchore' user, and the container image has those locations owned by anchore:anchore, so we're not sure why there would be a permissions issue there).  We'll follow up if we can have some findings, but in your own investigation I'd suggest looking into that area.

@milijander88 I suggest using a localdir volume mounted at /var/log/anchore/ in the container. It looks like the container does not have write permission to the FS inside the container so you using a volume there should help resolve that.

:+1: Having the same Permission denied issue following https://anchore.com/running-anchore-engine-on-openshift/

@milijander88 - I was able to resolve this permissions issue. Apparently @zhill was on the money. Per https://anchore.com/how-tremolo-security-deploys-anchore-on-openshift/:

The containers that make up Anchore’s engine write ephemeral data into their containers. Most k8s distros will let you do this based on file system permissions, but not OKD. When you need to write ephemeral data you need to update your pods to use empty volumes.

In order to get this resolved, I had to update each deployment config with the following additions:
Under volumeMounts:
            - mountPath: /var/log/anchore
              name: logs
            - mountPath: /var/run
              name: run

Under volumes:
        - emptyDir: {}
          name: logs
        - emptyDir: {}
          name: run

@nurmi - It may be worth taking the time to explicitly call this out in the following places:

https://anchore.com/running-anchore-engine-on-openshift/
https://github.com/helm/charts/tree/master/stable/anchore-engine

The updated helm chart (https://github.com/helm/charts/commit/304cc943e6d34c707cea562524e2788d333ce3ef) supports this out of the box. See the chart's README for openshift installs. I'm going to close this issue, but please re-open if needed.

authors: jesseadams milijander88 nurmi zhill

repo: anchore/anchore-engine


text:
clio should have a config field type that has to be a path, and it should expand homedir etc.

What would you like to be added:
Clio should know that certain config fields represent paths on the local filesystem, and should do some common expansions, for example ~, $HOME, and $TMPDIR, so that these can be expanded.
Probably we want something like type LocalPath = string in the config, and then config structs in clio applications can declare fields to be LocalPath instead of string in order to get the expansion behavior.
Why is this needed:
https://github.com/anchore/grype/issues/2024

This would need to be a new type, which ends up being a bit annoying at times:type LocalPath string (no =; it can't use aliasing, because we need a new type to implement the PostLoad interface). It would basically work like secrets do, just to update the value using homedir or whatnot.

authors: kzantow willmurphyscode

repo: anchore/clio


text:
IOS 12.4.9 Buttons in UI not working

Hello andi34,
first of all thanks for maintaining this repository!
I implemented v4.4 of photoswipe in my project and noticed whilst debugging on an older ios device that the buttons in the opened lightbox in the top bar were not working at all. I then tried the same on the official photoswipe page. And there everything worked as expected. So i replaced every single file in your pen to find out if it is an css or js issue. As soon as i swapped both js files to 4.1.3 everything was working again. would you have any suggestions how to address this issue?
https://codepen.io/axos11/pen/NWbNGGK
Regards,
Martin

I also experienced this (it's been reported by users), although I first thought it was related to some of my own customizations. Basically the topbar buttons don't respond on iPhone 6 / iOS 12.5 (and older). This happens to coincide with missing pointer-events feature on iOS 12.5, which is used in Photoswipe. Pointer-events are supported in all modern browsers, and iOS 13+.
https://caniuse.com/pointer
I'm also very eager to find a fix for this issue. I'd have to start comparing original Photoswipe vs this fork, but I don't even have an older iOS device for testing 😟

Hey! Sorry, I am currently not very active because of private life stuff and don't have any iOS devices to test.
I'd suggest you'll clone my repo, and reset one commit and build the dist files and test again until it works for you. Let me know the latest commit where it works.
To reset one commit run git reset --hard HEAD^ - I know this is a quite dirty solution, but guess the quickest way to find the breaking change for you.

Hey, I debugged it and the issue started with 4.3 and its actually in line 3137 (photoswipe.js)
if (!_moved && !_isMultitouch && !_numAnimations) {
was changed to
if (!_moved && !_isMultitouch && !_numAnimations && self.container.contains(e.target)) {
If you just switch that line back in 4.4 everything goes back to normal on IOS 12.5 (Iphone 6)
Maybe you can tell me if there is some functionality going away with that change or something else is broken by it?
Regards, Martin

Good find @Axos11. I actually had that code section commented // todo: iPhone bug?, but I guess I forgot about it since it works with iOS 13+ (available for iPhone 7 and above).
That fix is from https://github.com/dimsemenov/PhotoSwipe/pull/1708, which fixes issues where clicking the close button also clicks buttons that are behind photoswipe https://github.com/dimsemenov/PhotoSwipe/issues/1608. Here is the commit https://github.com/andi34/PhotoSwipe/commit/55d031631096cc79cd05ceb37d543512659c733c
The fix involves using Node.contains() to make sure the clicked element is inside the .pswp__container. It's unclear why this fails on iOS 12.5 (and older), but it coincides with missing support for Pointer events.
if (!_moved && !_isMultitouch && !_numAnimations && self.container.contains(e.target)) {

Removing the fix would be relatively harmless, although you risk having buttons in the background (behind Photoswipe) getting triggered when you click the close button. It could be the original issue only occurs for older devices without support for Pointer-events, hard to say.
If you have iPhone 6 / iOS 12.5 available for testing and can debug with console, I would personally like to understand why self.container.contains(e.target) fails on this platform:
console.log(e.target, self.container, self.container.contains(e.target));
if (!_moved && !_isMultitouch && !_numAnimations && self.container.contains(e.target)) {

One could probably "patch" the fix so that it only applies if pointer-events are supported:
if (!_moved && !_isMultitouch && !_numAnimations && (!_pointerEventEnabled || self.container.contains(e.target))) {

Another suggestion that was made https://github.com/dimsemenov/PhotoSwipe/issues/1608#issuecomment-660606641, might be a better solution for the original issue, preventing the even from bubbling.
// e.initCustomEvent(type, canBubble, cancelable, detail);
// e.initCustomEvent( 'pswpTap', true, true, eDetail );  // original
e.initCustomEvent( 'pswpTap', false, true, eDetail ); // fix

I don't have access to iOS 12.5, so I can't test these things, but we had a few clients who reported the issue. Of course, the easy fix is to remove the original fix, which should be mostly harmless.

if (!_moved && !_isMultitouch && !_numAnimations && (!_pointerEventEnabled || self.container.contains(e.target))) {
That "fix" is as expected actually working.
I#m sorry but i can't help there atm. I have just an IOS Device, code on windows but have no actual debugging setup with console access in place. Maybe someone else has?


text:
fix(G55): flatten pdf to ensure proper preview

The preview for our 1st Poster is corrupted somehow, it does not display one of the images. We have fixed this by exporting the document as a flattened PDF.

ok

authors: andre-motta siriscmv

license: Unlicense


text:
Rectangular Toeplitz and Hankle

Rectangular support for only Toeplitz and Hankel.

Coverage decreased (-0.03%) to 72.632% when pulling 39714c1593f7182262e0b3150f8e643b74eb8139 on feature_rect_ToepHank into 7c2b2e963caa5c1feccd7a711a9d8b4f4f735411 on master.

Great. Thanks.

Thank you as well.

authors: andreasnoack coveralls kuanxu


text:
🛑 Bonnefanten is down

In 979cc38, Bonnefanten (https://www.bonnefanten.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bonnefanten is back up in 2c72908.

repo: andreesg/intk-upptime


text:
Prevent fractions of thumbnails.

The fractional thumbnail on the right end of the bar was really bugging me, so I set out to try and prevent fractional thumbnails by calculating the closest width necessary to perfectly fit the thumbnails into the bar. Some thumbnails will end up with a picWidth +1 larger than others to make up for fractions. This works regardless of what picWidth you set.
Old bar with fractional thumbnail on the end (screen taken from readme.md)

New bar with no fractional thumbnails

(note the difference in bar lengths is just due to how the screenshots were taken. It's not from any changes in the code)

@andrei200287  where are you please check pull requests

authors: dimohamdy gregdickhudl


text:
🛑 AG Santos Engenharia is down

In e69a81b, AG Santos Engenharia (http://agsantosengenharia.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AG Santos Engenharia is back up in 8811f7b.

repo: andrelug/uptime


text:
🛑 EMMA is down

In 8de64b0, EMMA (https://emmaarquitetura.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: EMMA is back up in 14435ef.


text:
Add docker support for dev purpose

Add docker / docker-compose capability to run the script under a controlled environment.
Updated the readme with that, also completed some parts that were quite not so obvious (had some difficulties to run the script initially)
Fixes : https://github.com/andreondra/sermatec-inverter/issues/11

Looks good! Thanks.

authors: andreondra mathieupotier

repo: andreondra/sermatec-inverter


text:
Tcp Keep Alive - modbus-esp8266

Hi all!
Is there a way to keep tcp alive in modbus-esp8266 like "https://github.com/andresarmento/modbus-arduino" ?
I commented "client.stop();" in the file "ModbusIP_ESP8266.cpp" but there was no result.
Thanks.

Did you find an answer guiant32 ?
I have the same problem.

Is this topic still active?

I have the same question, anyone got keep-alive working?

The following implementation allows to do multiple reads/write with open TCP connection.
https://github.com/JhonControl/ESP8266_Industrial_ModbusTCP_V2
Hint: The implementation seems to be is unstable when there is a established tcp connection to ESP8266 and second Modbus TCP master is trying to open the port!.

Hi, thanks for your reply. I’ve tried the library you suggested and it’s working fine, but I ran into another problem when the TCP connection is kept open – my HTTP server is not responding…
I will revert to your library, because this way I can have more masters reading from the slave ESP and HTTP will be working.
But how to read from SCADA software (Citect) and force the scada software to reconnect after each read? Do you have experience with that?
I’m reading successfully, but only one time and then it doesn’t reconnect…
Thanks in advance!
Regards,
Antonio Velkov
From: Jayakumar [mailto:notifications@github.com]
Sent: Saturday, April 22, 2017 2:35 PM
To: andresarmento/modbus-esp8266
Cc: toto99303; Comment
Subject: Re: [andresarmento/modbus-esp8266] Tcp Keep Alive - modbus-esp8266 (#9)
The following implementation allows to do multiple reads/write with open TCP connection.
https://github.com/JhonControl/ESP8266_Industrial_ModbusTCP_V2
Hint: The implementation seems to be is unstable when there is a established tcp connection to ESP8266 and second Modbus TCP master is trying to open the port!.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/andresarmento/modbus-esp8266/issues/9#issuecomment-296367301 , or mute the thread https://github.com/notifications/unsubscribe-auth/ATkZAnugk2PJlWEFdX2cshq_0Q6JvjNGks5ryeX8gaJpZM4J_ChS .  https://github.com/notifications/beacon/ATkZAlhXb8yb3hOi5j-lmwhpI_xX53Wtks5ryeX8gaJpZM4J_ChS.gif

@toto99303 : sorry for late reply. Do you still have an issue?

So far, we could not managed to implement a stable server on ESP that keeps the connection alive due to stack limitations.
As a interim solution, we would suggest to write a simple gateway/bridge application (could run on same PC that runs SCADA).
On one end acting as master/client to  handle open-close for every reading and on another end acting as slave/server to SCADA system (always open connection).

I decided not to use modbus for my project. It's still not that stable as I wished...
thanks!

Guys, in case if you still interesting in ModBus on ESP i've forked the library and trying to continue support.
Now I implemented keep alive connection, multiple connections at the same time, callback support and ESP32 support.
https://github.com/emelianov/modbus-esp8266
André, if you are reading this, you've done really great job. Thanks!


text:
jsDoc not correct

We generate automatically the documentation from jsDoc and there should be only one block of comments above the function that describe the method, the input variables and the return.

Maybe this option Line 4

Yes it looks ok. Normally we build automatically the documentation on github but you can also test it locally.
You can install globally the package documentation
npm i --global documentation
And then execute from command line in your project
documentation build src/** -f html -o docs
This will create a docs folder with the documentation.
You can also install in vscode the plugin 'live server' and then in this docs folder right click on index.html and 'open with live-server'. You should see the build documentation.

Thank you very much!

authors: andrescvargasr lpatiny

repo: andrescvargasr/prime-js-number


text:
🛑 pharmacomms is down

In 59adfce, pharmacomms (https://pharmacomms.tv/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: pharmacomms is back up in a96b835 after 7 minutes.

repo: andrespitt/uptime


text:
backend problem

problem related to middleware

solved now!

authors: andreurush diveshthapa

repo: andreurush/Hello


text:
Is this project dead?

There haven't been any commits for a while, and people seem to be having problems using the gem with Rails 5, so I'm assuming so.
If it is dead, is there any chance of anyone else taking over the project?

He seems to be MIA on all of github, unfortunately. :(

I pinged him on twitter. He seems pretty responsive there. 🤞

We are still here. I'm scheduled to connect with @yas4891 early next month, so we should be able to get some of the critical pull requests and other updates integrated and released after that.

Is it still going? Just had a bad experience with Payola.  Is it a good idea to go ahead with Koudoku for a simple membership area for a site or build from scratch is wiser?

@asecondwill As far as I know, this still works, but I can't really speak to the experience of using Koudoku on a vanilla Rails app these days. My focus has since shifted to building and maintaining Bullet Train, so that's the only context in which I use Koudoku now, and it's already integrated and working out-of-the-box on all new Bullet Train apps, so no one really thinks about it anymore. It "just works." All of the updates I've made related to Bullet Train are available in #194 (with the exception of our customizations of the views,) so please see my comments there. I'd love to know if this branch works for you better than what's in master or the last Gem release. Best of luck!

Especially with Payola now officially archived/unmaintained, it would be great to see this project in a healthy state.
BulletTrain looks really awesome and is something I would strongly consider for starting a new project. Seeing you contribute back to Koudoku improvements from Bullettrain makes BT even more attractive (versus it having its own custom stuff). So I'd love to see #194 merged in releasable in a usable state for a vanilla Rails app (perhaps this becomes simpler if you drop some of the default CSS/styling from Koudoku, and rely on Stripe instead -- see #195).

authors: andrewculver asecondwill gazsp kacy richardonrails

repo: andrewculver/koudoku


text:
🛑 plexd is down

In 07bca2f, plexd ($PLEXD) was down:

HTTP code: 401
Response time: 432 ms

Resolved: plexd is back up in 9efb69a.

repo: andrewdavies-net/upptime


text:
🛑 nhcam is down

In 7cc955a, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in f1be030.


text:
🛑 nh is down

In 0a23b9c, nh ($NH) was down:

HTTP code: 503
Response time: 320 ms

Resolved: nh is back up in 2ea18bb.


text:
sort files returned by glob.glob

glob.glob returns unsorted files resulting in tracks being added out of order.
glob.glob matches order of ls -U, so if that's the same order as ls then this issue wouldn't be detected.

Awesome, thanks!

authors: RoryQ andrewheiss

repo: andrewheiss/fauxcasts


text:
Invalid column when upgrading

Upgraded new version of the Security item and the following error occurs.
2024-08-08T01:07:46.9403819Z	The property ReportingMode exists on both the old and new definitions but does not have the same type and converting a value caused an exception in the provider. 2024-08-08T01:07:46.9403917Z	Invalid column name 'ReportingMode'. 2024-08-08T01:07:46.940403Z	Invalid column name 'ReportingMode'. 2024-08-08T01:07:46.9404119Z	   at EPiServer.Data.Dynamic.StoreDefinition.TryMoveDataToUpdatingProperties(List1 updatingProperties, IList1 newMappings, StoreDefinitionParameters parameters, Boolean moveDataForRenamedProperties) 2024-08-08T01:07:46.9404226Z	   at EPiServer.Data.Dynamic.StoreDefinition.Remap(IDictionary2 typeBag, StoreDefinitionParameters parameters)
2024-08-08T01:07:46.9404314Z	   at EPiServer.Data.Dynamic.StoreDefinition.Remap(Type type)
2024-08-08T01:07:46.9404413Z	   at Jhoose.Security.Repository.StandardCspPolicyRepository.RemapT
2024-08-08T01:07:46.940449Z	   at Jhoose.Security.Repository.StandardCspPolicyRepository.Bootstrap()
2024-08-08T01:07:46.9404567Z	   at Jhoose.Security.Core.Provider.StandardCspProvider.Initialize()
2024-08-08T01:07:46.9404665Z	   at Jhoose.Security.DependencyInjection.InitialiseHostedService.b__2_0()`
Not sure where this would be coming from

Hi @JoshuaFolkerts,
Can you let me know which version you are upgrading from and I will take a look.
Thanks

Good day.  I was on version 2.2.2.267 and upgraded to the latest version of 2.3.0.285.   I hope that helps

I have noticed an error, can you add the following
services.AddJhooseSecurityCoreReporting();
and
app.UseJhooseSecurityReporting();
and let me know if this resolves the issue.  I will sort out a bug fix so that's there no need to do this.

Hi, I have just released a new version 2.3.1, this removes the requirement to add the reporting as per my previous comment, can you let me know if this resolves the error message.
Thanks

Hi @JoshuaFolkerts, are you still seeing this issue?

The reporting seems to be fixed but what actually didn't get fixed was the upgrade to the newer version where it seems like it tries to remap a content type in DDS to another type and that is failing on me with the same error message.  Sorry, was out this weekend

That's a bit weird, as it's actually a new property created in this release.  Is this an error that's being output in the logs at startup?  Can you set the reporting mode okay?  This is in the settings.

System.InvalidOperationException: '
The property ReportingMode exists on both the old and new definitions but does not have the same type and converting a value caused an exception in the provider.
Invalid column name 'ReportingMode'.
Invalid column name 'ReportingMode'.'
I just ran it and get this in the console

Here is the full error if it helps
2024-08-15T23:42:26.371120803Z Unhandled exception. System.InvalidOperationException:  2024-08-15T23:42:26.371147203Z The property ReportingMode exists on both the old and new definitions but does not have the same type and converting a value caused an exception in the provider. 2024-08-15T23:42:26.371192004Z Invalid column name 'ReportingMode'. 2024-08-15T23:42:26.371285105Z Invalid column name 'ReportingMode'. 2024-08-15T23:42:26.371294905Z    at EPiServer.Data.Dynamic.StoreDefinition.TryMoveDataToUpdatingProperties(List1 updatingProperties, IList1 newMappings, StoreDefinitionParameters parameters, Boolean moveDataForRenamedProperties) 2024-08-15T23:42:26.371299505Z    at EPiServer.Data.Dynamic.StoreDefinition.Remap(IDictionary2 typeBag, StoreDefinitionParameters parameters)
2024-08-15T23:42:26.371303406Z    at EPiServer.Data.Dynamic.StoreDefinition.Remap(Type type)
2024-08-15T23:42:26.371307206Z    at Jhoose.Security.Repository.StandardCspPolicyRepository.RemapT
2024-08-15T23:42:26.371310806Z    at Jhoose.Security.Repository.StandardCspPolicyRepository.Bootstrap()
2024-08-15T23:42:26.371314206Z    at Jhoose.Security.Core.Provider.StandardCspProvider.Initialize()
2024-08-15T23:42:26.371318006Z    at Jhoose.Security.DependencyInjection.InitialiseHostedService.b__2_0()
2024-08-15T23:42:26.371322206Z    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
2024-08-15T23:42:26.371326106Z --- End of stack trace from previous location ---
2024-08-15T23:42:26.371329706Z    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
2024-08-15T23:42:26.371333606Z    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
2024-08-15T23:42:26.371337306Z --- End of stack trace from previous location ---
2024-08-15T23:42:26.371341006Z    at Microsoft.Extensions.Hosting.Internal.Host.b__15_1(IHostedService service, CancellationToken token)
2024-08-15T23:42:26.371345006Z    at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List1 exceptions, Func3 operation) 2024-08-15T23:42:26.371349106Z    at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) 2024-08-15T23:42:26.371352906Z    at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) 2024-08-15T23:42:26.371360206Z    at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) 2024-08-15T23:42:26.371364106Z    at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host) 2024-08-15T23:42:26.371367907Z    at Opti.Program.Main(String[] args) in /home/vsts/work/1/s/src/Program.cs:line 9

Hi @JoshuaFolkerts
Can you run the following scripts and send the results back to me as a CSV/Excel file?
SELECT *
FROM tblBigTable
WHERE StoreName Like 'Jhoose%'
SELECT *
FROM [tblBigTableStoreInfo]
WHERE PropertyName = 'ReportingMode'
Is this stopping the site from starting, or is it just throwing an error?
Thanks

We've had this same issue. We had to downgrade. Is there a fix in the works?

Hi @kennygutierrez-century I am unable to reproduce the issue.
Can you run the SQL scripts shown above and send me the results?  This should help me work out what the problem is.

Hi @JoshuaFolkerts / @kennygutierrez-century
Can you provide anymore information, I would like to understand this issue some more.
Thanks

Hi @andrewmarkham I provided the query results in the Optimizely Slack.

Hi @kennygutierrez-century / @JoshuaFolkerts
I have just released a new version, and I am hoping it resolves the issue.  I am still unable to reproduce locally.
Please install V2.4.0 once it is available on the nuget feed and let me know if this resolves the issue for you.
Andy

@kennygutierrez-century you are correct about the top menu.  It's not something that I have noticed before.  I will create a separate ticket for this.

@JoshuaFolkerts - I am going to close this issue, please let me know if you are still facing an issue with the latest version.

Hi @JoshuaFolkerts
I have had another occurrence of this issue.  It isn't clear what the root cause of the problem is, but looking at the database it seems that the properytype has not been set correctly.   It's being recorded as an int rather than the ENUM.
This script should fix the issue
UPDATE tblBigTableStoreInfo
set PropertyType = 'Jhoose.Security.Core.Models.CSP.ReportingMode, Jhoose.Security.Core, Version=2.4.0.328, Culture=neutral, PublicKeyToken=null'
WHERE PropertyName = 'ReportingMode'
Please try running this script, but backup your database first :)
Thanks

Ill give it a whirl and see what happens here.  Thanks Andrew

repo: andrewmarkham/contentsecuritypolicy


text:
Seems that it doesn't work with local only repos

I have a repository without remotes and with only (master) branch.

I press F12,
then click on a changed file like in gif,
but nothing ever happens.

Also the branch dropdown is empty, and all icons are not responding (grayed out):

@CosmoMyzrailGorynych would you mind giving me more information on you machine, atom version, etc.? Thanks.

My Atom is 1.13.0.
It is running on Windows 8.1 with Git v2.11.0
I checked it again and it began working. Now I can see a master branch in a third dropdown. It seems to work, but another oddity appeared:
I have one file changed. If I click it once, a commit button becames active, but the file isn't checked as staged. If I click again, a green tick appears marking it as staged. The third click deactivates the commit button and a staged icon.

I have seen this happen with repos that have no commit history. Was this your case?

No, it already had 5 commits saved or so.
-----Original Message-----
From: "Andrew Rynhard" notifications@github.com
Sent: 1/13/2017 2:05 AM
To: "andrewrynhard/atom-git-gui" atom-git-gui@noreply.github.com
Cc: "Cosmo Myzrail Gorynych aka Cos" myzraelle@yandex.ru; "Mention" mention@noreply.github.com
Subject: Re: [andrewrynhard/atom-git-gui] Seems that it doesn't work withlocal only repos (#8)
I have seen this happen with repos that have no commit history. Was this your case?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hmmm... Okay thank you for the feedback, I will be looking into this.

same problem

repo: andrewrynhard/atom-git-gui


text:
Need Help!

Hi,
First af all thank you for your tutorial which is very clear
It is my first project on RPI. I follow every step and everything work perfectly as local host. Then I open every port on my box to access to the site from everywhere but from outside, when I load the site only the background and the header were loaded (No images / No text / no date /...) !
When I inspect the website there are 147 errors which are the same: Failed to load resource: the server responded with a status of 404 (Not Found).
Does someone already face this issue? And does someone can help me?
Thanks!
(Sorry for my bad english! Hope it is clear enough!)

Hi all,
It solved. In fact I still have an apache server on My PIR which was in conflict with the web controller.
Thanks again! It works perfectly!

repo: andrewshilliday/garage-door-controller


text:
Change "Undo" Feature Algorithm

While working on the "Hint" feature I added an "undo_move" method to the Board class. The Game class should be updated to use this method to undo a move, rather than storing a copy of the Board instance after every move, which requires more memory and time.
The parameters for "undo_move" are the peg, jump, jumped peg, and peg's original location. In order to know these last two parameters, we should add a stack data structure to store each move as an attribute of the Game instance. Then to undo, we just pop from this stack and pass the move to board.undo_move
STEP 2
After completing this, I can use the moves stack to compare the users move against an optimal solution that is calculated when user requests a hint. Since this method can be slow (if there are many pegs on the board), it would be nice to prevent unnecessary calls to it. Now that we are tracking user moves, we can compare each move to the optimal solution, and if they match, we don't need to call "solve" again...just the next move in the solution.

Undo feature has been updated and is working.
Next Step: Step 2 (see above)

Implemented feature to store results of an optimal solution when it is obtained, and then maintain it for as long as the user continues to follow the list of optimal moves. Tested and it is working: it does not make a new call (and therefore doesn't take any time) to display a hint as long as you continue to follow the hints
Closing this issue


text:
No color in Visual Studio Code's Terminal

I have no idea why, but I don't see any colors in the help text in the bash terminal of Visual Studio Code.
I see colors in a separate terminal. And I see the red "Error:" text in error messages from dmd in Visual Studio Code.

@linkrope Could you please post the environment settings you have in bash there (output of env command)?

$ env
SHELL=/bin/bash
SESSION_MANAGER=local/Latitude-5520:@/tmp/.ICE-unix/7746,unix/Latitude-5520:/tmp/.ICE-unix/7746
QT_ACCESSIBILITY=1
COLORTERM=truecolor
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu-xorg:/etc/xdg
SSH_AGENT_LAUNCHER=gnome-keyring
XDG_MENU_PREFIX=gnome-
TERM_PROGRAM_VERSION=1.70.2
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
LC_ADDRESS=de_DE.UTF-8
GNOME_SHELL_SESSION_MODE=ubuntu
LC_NAME=de_DE.UTF-8
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
DMD=dmd
XMODIFIERS=@im=ibus
DESKTOP_SESSION=ubuntu-xorg
LC_MONETARY=de_DE.UTF-8
GTK_MODULES=gail:atk-bridge
PWD=/home/<user>/github/gamma
XDG_SESSION_DESKTOP=ubuntu-xorg
XDG_SESSION_TYPE=x11
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
SYSTEMD_EXEC_PID=7792
XAUTHORITY=/run/user/1000/gdm/Xauthority
VSCODE_GIT_ASKPASS_NODE=/usr/share/code/code
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
WINDOWPATH=2
HOME=/home/<user>
USERNAME=<user>
IM_CONFIG_PHASE=1
LC_PAPER=de_DE.UTF-8
LANG=en_US.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
XDG_CURRENT_DESKTOP=Unity
GIT_ASKPASS=/usr/share/code/resources/app/extensions/git/dist/askpass.sh
INVOCATION_ID=0b8e5c2ba82c4b61b1992252d8ffa61e
DC=dmd
MANAGERPID=6681
CHROME_DESKTOP=code-url-handler.desktop
GJS_DEBUG_OUTPUT=stderr
VSCODE_GIT_ASKPASS_EXTRA_ARGS=--ms-enable-electron-run-as-node
LESSCLOSE=/usr/bin/lesspipe %s %s
XDG_SESSION_CLASS=user
TERM=xterm-256color
LC_IDENTIFICATION=de_DE.UTF-8
LESSOPEN=| /usr/bin/lesspipe %s
USER=<user>
LIBRARY_PATH=/home/<user>/dlang/dmd-2.098.1/linux/lib64:/home/<user>/dlang/dmd-2.098.1/linux/lib64
VSCODE_GIT_IPC_HANDLE=/run/user/1000/vscode-git-fa25c74059.sock
DISPLAY=:0
SHLVL=1
LC_TELEPHONE=de_DE.UTF-8
QT_IM_MODULE=ibus
LC_MEASUREMENT=de_DE.UTF-8
LD_LIBRARY_PATH=/home/<user>/dlang/dmd-2.098.1/linux/lib64:/home/<user>/dlang/dmd-2.098.1/linux/lib64
XDG_RUNTIME_DIR=/run/user/1000
PS1=\[\](dmd-2.098.1)\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ \[\]
LC_TIME=de_DE.UTF-8
VSCODE_GIT_ASKPASS_MAIN=/usr/share/code/resources/app/extensions/git/dist/askpass-main.js
JOURNAL_STREAM=8:55111
XDG_DATA_DIRS=/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
GDK_BACKEND=x11
PATH=/home/<user>/dlang/dmd-2.098.1/linux/bin64:/home/<user>/bin:/home/<user>/dlang/dmd-2.098.1/linux/bin64:/home/<user>/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
GDMSESSION=ubuntu-xorg
ORIGINAL_XDG_CURRENT_DESKTOP=ubuntu:GNOME
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
GIO_LAUNCHED_DESKTOP_FILE_PID=464400
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/code.desktop
LC_NUMERIC=de_DE.UTF-8
TERM_PROGRAM=vscode
_=/usr/bin/env

The color theme of Visual Studio Code seems to be important!
I use "solarized light" for both Visual Studio Code as well as for the separate gnome-terminal.
And while I have colors in the gnome-terminal, I don't have colors in Visual Studio Code.
But if I change the color theme of Visual Studio Code, I have colors in Visual Studio as well.
Only the red "Error:" text from dmd somehow got through the "solarized" color theme" of Visual Studio Code.
So probably more my problem with color theme "solarized".

I checked an example and didn't see correct colors in bash terminal in VS code although ANSI escape colors are there:
$ ./all_getting_started-advanced.exe --help
Usage: ←[34;43mall_getting_started-advanced.exe←[m [←[1;3;36;41m-h←[m]←[1m <command> [<args>]←[m

←[1;4mAvailable commands←[m:
  ←[1minit←[m          Print initialization script.
  ←[1mcomplete←[m      Print completion.

←[1;4mOptional arguments←[m:
  ←[1;3;36;41m-h←[m, ←[1;3;36;41m--help←[m    Show this help message and exit

@linkrope Did you mean this issue or you had another one?

I have checked the output again. With the current version of Visual Studio Code. And even with "Solarized" it works now.
writeln(red("RED"));

is clearly red. The options in the help text are very subtly gray instead of really colored for "Solarized Light" and "Solarized Dark". But they stand out from the rest of the text.
All fine in a Linux bash terminal.

authors: andrey-zherikov linkrope

repo: andrey-zherikov/argparse


text:
SVG resolution

Hi there, great service. I have a few svgs that are becoming pixelated when going through the service. Not a huge deal but does not seem to be related to any output or quality settings that I can configure.
Original (expected):
http://slack.mnphp.org/badge.svg
Tranformed (grainy):
https://images.weserv.nl/?url=slack.mnphp.org/badge.svg
Any chance you know if this something that will be fixed when #94 is merged?

Will be fixed by #94 indeed, our staging environment shows way better results (uses latest development build of libvips), although it ain't perfect either. Good test case, thanks for providing it! (We're still experimenting with good SVG support).

Great, thanks for the update. Keep up the good work. Leaving open for posterity until #94 merges. Cheers!

Fix has been rolled out to production. The cause of this bug was due to missing fonts on the production server.
Cache has been invalidated for the particular image. If you want, you can send us an email with the images that are affected by this bug and need to be purged from cache.
Let me know if this looks better.

Update:
SVG images without width and height attributes are still pixelated when being processed. This specific issue comes from a regression in libvips v8.5.7+. See https://github.com/jcupitt/libvips/pull/724.
Hopefully it will be solved in libvips 8.6 (due in a few weeks). I'll update this issue once I have more information.

Thanks for the update @kleisauke. Glad that use-case is being included in the mix.

Update:
Today we updated the production server from CentOS 7.3.1611 to CentOS 7.4.1708. With this update librsvg has also updated (from 2.39.0-1 to 2.40.16-1).
Unfortunately, librsvg has now some problems with provided SVG example , see:

This is fixable if we remove the unnecessary rectangle from the SVG (the id g doesn't exits in the SVG).
--- badge.svg	Sat Sep 16 16:40:15 2017
+++ badge.svg	Sat Sep 16 16:48:45 2017
@@ -2,7 +2,6 @@
   <rect rx="3" width="94" height="20" fill="#555"></rect>
   <rect rx="3" x="47" width="47" height="20" fill="#E01563"></rect>
   <path d="M47 0h4v20h-4z" fill="#E01563"></path>
-  <rect rx="3" width="94" height="20" fill="url(#g)"></rect>
   <g text-anchor="middle" font-family="Verdana" font-size="11">
     <text fill="#010101" fill-opacity=".3" x="24" y="15">slack</text>
     <text fill="#fff" x="24" y="14">slack</text>

With the above patch, the processed SVG looks like this:

The pixelated problem isn't fixed yet, therefore https://github.com/jcupitt/libvips/pull/724 needs to be merged first. In the meantime, I've patched libvips at our test environment. If you want, you can test it here:
https://t0.nl/?url=t0.nl/check.svg&w=1024&t=fitup
(I can't recommend this for production images, but it will be fine for one time processing)

Hah, the extra g actually broke Safari too and was fixed a while ago but this organization must be using an old version of Slackin
https://github.com/rauchg/slackin/commit/edcaebce0fb2b4e07ca834a58fa069c53a5e0bf3#diff-09a4fe039e6455db71dfaa055aec0b53

The pixelated problem has been fixed. A unit test for this specific issue has been added, to ensure that this does not happen again.
Thanks for your patience, don't hesitate to make a new issue if you find something else that needs to be fixed.

Thanks for providing the service.
Unfortunately I'm having a similar issue with any badge i try.

Source
Image Style
Original
Weserv

shield.io
plastic

shield.io
flat

shield.io
flat-square

shield.io
for-the-badge

shield.io
social

requires.io

readthedocs

codacity

snyk.io

@muddman It looks OK here:

There's only a < missing within the shield.io social badge and the shield.io for-the-badge text looks odd, I'll investigate that.
Perhaps your zoom level within the browser is not 100% (i.e. 1:1 ratio)? With 110% zoom on Google Chrome I see this:

Thanks.
I confirmed the browser zoom level is 100% on Windows 10 1909 Build 18363.657
This shows the zoom level

Screenshot in Chrome 80.0.3987.122

Screenshot in Edge

Screenshot from an iPad Pro (10.5-inch) , iOS 13.3.1

I'm unsure if it is possible to "fix" this, good font rasterization is dependent the screentype, resolution, up- or downscaling, etc. And while these are things which a browser will be able to detect and handle when using SVG's, we are unable to detect and/or incorporate them to make pixel perfect versions for every environment (eg. LCD is different from OLED). In addition; many of the rasterization techniques used by Microsoft and Apple are patented and/or closed-source.
For example, this (original SVG):
https://upload.wikimedia.org/wikipedia/commons/4/4e/Meta_SVG_fonts.svg
Will look different from this (SVG rasterized by us):
https://images.weserv.nl/?url=upload.wikimedia.org/wikipedia/commons/4/4e/Meta_SVG_fonts.svg&bg=fff
But our rasterization matches this (SVG rasterized by Wikimedia):
https://upload.wikimedia.org/wikipedia/commons/thumb/4/4e/Meta_SVG_fonts.svg/1024px-Meta_SVG_fonts.svg.png
Please let us know if there is a SVG library around which is able to do a better job of font rasterization to bitmaps.

makes sense -- thanks!

authors: andrieslouw jimthedev kleisauke muddman

repo: andrieslouw/imagesweserv


text:
Fix get_intent_filters in apk.py

I just find the bug in #715.
Don't parse multiple data element in intent-filter now.
Sorry, I request PR again.

Codecov Report

Merging #718 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #718      +/-   ##
==========================================
+ Coverage   72.56%   72.58%   +0.01%
==========================================
  Files          49       49
  Lines       15945    15952       +7
==========================================
+ Hits        11571    11578       +7
  Misses       4374     4374

Impacted Files
Coverage Δ

tests/test_apk.py
97.44% <ø> (ø)
:arrow_up:

androguard/core/bytecodes/apk.py
63.58% <100%> (+0.26%)
:arrow_up:

Continue to review full report at Codecov.

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

repo: androguard/androguard


text:
Update build.gadle to 3.0.1

Updated build gradle to 3.2.1, the newer version, to make it work on android studio

I am closing this issue/PR, as it has been migrated to the new repo linked above in the comments. Thank you!

authors: Alwin-Lin codingjeremy

repo: android/android-MultiWindowPlayground


text:
Telecom Alpha -02

Merge Telecom to Main
Alpha -02 now supports Android 14 and below.
Complete Sample Application supports

Audio Routing
Disconnecting
Answering
Holding
Rejecting
Call Style Notifications
Android 14 Foreground Services

It seems the CI is failing in one of the tests. Can you take a look?

authors: lukehopkinsdev yaraki

repo: android/platform-samples