text:
How the low lighting and exposure of the synthetic dataset are made

Hello, I would like to know how this low light and exposure effect of the dataset is made, is there a script for the relevant transformations?
For example:

Hello, I collect the real-world pair dataset by changing the exposure time and ISO value in camera,.
If you want to synthesis images, maybe you can try some gamma correction related image process.

repo: cuiziteng/Aleth-NeRF


text:
ARXIVNG-775 handling wildcards in msc and acm classification fields

We weren't offering a wildcard query on those fields. This checks for wildcards, and if present returns a wildcard query instead of a match.

Coverage decreased (-0.01%) to 82.849% when pulling 9ca96cc12d40afb3e01012fa5cd1c594ac968ce4 on bug/ARXIVNG-775 into 4c1f295243a033753cbd9f68db20e3115bab2bb4 on develop.

source: gharchive/pull-request

authors: coveralls erickpeirson

repo: cul-it/arxiv-search

license: MIT

license_type: permissive

license_source: github-api


text:
Drop indexes to improve data import performance

@cledvina has advised that loading millions of records into folio is known to cause things to grind to a halt. This is due to indexing. The solution is to disable indexing and re-enable after load.

Here's the script:
#!/usr/bin/env perl
use strict;
use warnings;

use Getopt::Long;
use DBI;
use JSON;

my $start_time = time();

# Process command line
my ($tenant,$storage_url,$db_credentials);
my $help = 0;
my $all = 0;

GetOptions( 'h' => \$help,
            't=s' => \$tenant,
            'db-credentials=s' => \$db_credentials,
            'all' => \$all );

if ($help) {
  help();
  exit;
}
unless ($tenant) {
  help();
  die "Missing tenant on command line\n";
}
unless ($db_credentials) {
  help();
  die "DB credentials not specified on command line\n";
}

my $table_clause = "tablename = 'instance'";
if ($all) {
  $table_clause .= " OR tablename = 'holdings_record' OR tablename = 'item'";
}

# Get DBH
my $dbh;
my $db_credentials_json = slurp($db_credentials);
my $db_credentials_ref = decode_json($db_credentials_json);
print "Connecting to db...";
$dbh = DBI->connect("dbi:Pg:dbname=$$db_credentials_ref{database};host=$$db_credentials_ref{host};port=$$db_credentials_ref{port}",$$db_credentials_ref{username},$$db_credentials_ref{password})
  or die "Error connecting to database: $DBI::errstr\n";
print "OK\n";

# Drop indexes (save for reinstating after load)
my $indexes;
open (my $out, '>', "${tenant}_mod_inventory_storage_indexes.sql")
  or die "Can't open SQL file: $!\n";
print "Dropping indexes...";
$indexes = $dbh->selectall_arrayref("SELECT indexname, indexdef FROM pg_indexes WHERE schemaname = '${tenant}_mod_inventory_storage' AND ($table_clause)");
if ($indexes && @{$indexes}) {
  foreach my $i (@{$indexes}) {
    if ($$i[0] !~ 'pkey') {
        $dbh->do("DROP INDEX ${tenant}_mod_inventory_storage.$$i[0]")
        or warn "Unable to drop index ${tenant}_mod_inventory_storage.$$i[0]: $DBI::errstr\n";
      print $out "$$i[1];\n";
    }
  }
  print $out "VACUUM ANALYZE ${tenant}_mod_inventory_storage.instance;\n";
  if ($all) {
    print $out "VACUUM ANALYZE ${tenant}_mod_inventory_storage.holdings_record;\n";
    print $out "VACUUM ANALYZE ${tenant}_mod_inventory_storage.item;\n";
  }
  print "done\n";
  print "Index restore file saved to ${tenant}_mod_inventory_storage_indexes.sql\n";
} else {
  warn "no indexes found for $tenant\n";
}

sub slurp {
  my $file = shift;
  open my $fh, '<', $file or die "Unable to open $file: $!\n";
  local $/ = undef;
  my $cont = <$fh>;
  close $fh;
  return $cont;
}

sub help {
  print <<EOF;
Usage

perl import.pl [-h] -t tenant_id -u storage_URL [-f number_of_processes] [-r rules_file] [--drop-indexes] [--analyze] [--db-credentials db_credentials_file] import_directory [import_directory...] data_loader_URL

Options

-h : Print help message.

-t : The tenant ID (required).

--db-credentials : Path to a file containing database credentials (required).

--all : If this switch is present, drop indexes on instance, holdings_record, and item tables. Otherwise, default behavior is to only drop indexes on the instance table.

Database credentials

The db_credentials_file is a simple JSON file using the following format:

{
  "host": "postgres.example.com",
  "port": 5432,
  "username": "folio_user",
  "password": "mysecretpassword",
  "database": "inventory_storage_database"
}

The values, of course, depend on your particular installation.
EOF
}
Collapse

Depends on #170 where we can experiment with this.

source: gharchive/issue

repo: culibraries/folio


text:
🛑 Personal Journal is down

In 97d3339, Personal Journal (https://journal.culturecloud.eu.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Personal Journal is back up in c732086.

repo: culturecloud/status


text:
About cupy build error in HIP (AMD ROCm) environment

Hello,I tried to build an environment based on ROCm for Cupy but failed
I tried HIP build on "cupy v7.0.0 rc1" but it failed in some environments.
I have built and tried multiple environments and reproduced a similar error.
Env1
OS Ubuntu 18.04.3
Xeon  E5-2603 v4
gcc 7.4.0
GPU RadeonⅦ
ROCm version 2.9.6
MiOpen Version: 2.1.0.7487-rocm-rel-2.9-6-a5a4129
Env2
Run on Env1
ROCm Docker based env
The same build error was reproduced in the following Dockerfile
https://gist.github.com/KeigoTakamura/188295b7a5a07215d90348c769af3dbc
Env3
OS ubuntu 18.04.3
eGPU Base  Dynabook U63
CPU Corei5 7300U
GPU Vega56
ROCm version 2.9.6
The following build errors were confirmed in the above environment
cupy/cuda/runtime.cpp: In function 'int __pyx_f_4cupy_4cuda_7runtime_deviceGetByPCIBusId(PyObject*, int)':
cupy/cuda/runtime.cpp:3966:83: error: 'cudaDeviceGetByPCIBusId' was not declared in this scope
   __pyx_v_status = cudaDeviceGetByPCIBusId((&__pyx_v_device), __pyx_v_c_pci_bus_id);
                                                                                ^
cupy/cuda/runtime.cpp: In function 'PyObject* __pyx_f_4cupy_4cuda_7runtime_deviceGetPCIBusId(int, int)':
cupy/cuda/runtime.cpp:4076:80: error: 'cudaDeviceGetPCIBusId' was not declared in this scope
   __pyx_v_status = cudaDeviceGetPCIBusId(__pyx_v_pci_bus_id, 13, __pyx_v_device);
                                                                                ^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

This error could not be reproduced in some environments of ubuntu16.04 LST, but this error was confirmed in multiple environments and machines

Thank you for your report!
Current HIP support experimental feature only supports AMD environment.
Please use normal CuPy when you use Nvidia GPU and CUDA.

This error was solved by #2632 .
Could you try CuPy master branch?

Thank you for checking the issue
I checked the operation on the ENV1 machine, but an error occurred.
python ./setup.py develop
cupy/cuda/driver.cpp:3491:26: error: ‘cuLinkAddFile’ was not declared in this scope
         __pyx_v_status = cuLinkAddFile(((CUlinkState)__pyx_v_state), ((CUjitInputType)__pyx_v_input_type), __pyx_v_b_path_ptr, 0, ((CUjit_option *)0), ((void **)0));
                          ^~~~~~~~~~~~~
cupy/cuda/driver.cpp:3491:26: note: suggested alternative: ‘cuLinkAddData’
         __pyx_v_status = cuLinkAddFile(((CUlinkState)__pyx_v_state), ((CUjitInputType)__pyx_v_input_type), __pyx_v_b_path_ptr, 0, ((CUjit_option *)0), ((void **)0));
                          ^~~~~~~~~~~~~
                          cuLinkAddData
error: command 'gcc' failed with exit status 1

error: ‘cuLinkAddFile’ was not declared in this scope

I tried the master branch but got another error.

@KeigoTakamura This looks like my oversight when working on #2426, although I am not sure why it's not caught by the CI. Could you try the patch in #2737 and see if it works? Thanks.

Thank you for quick response.
I checked the operation with env1
git clone git@github.com:leofang/cupy.git -b fix_hip_build
 cd ./cupy
python ./setup.py develop

I got another error.
cupy/cuda/cusolver.cpp:2179:48: error: ‘libraryPropertyType_t’ was not declared in this scope
         __pyx_v_status = cusolverGetProperty(((libraryPropertyType_t)__pyx_v_type), (&__pyx_v_value));
                                                ^~~~~~~~~~~~~~~~~~~~~
cupy/cuda/cusolver.cpp:2179:48: note: suggested alternative: ‘PyProperty_Type’
         __pyx_v_status = cusolverGetProperty(((libraryPropertyType_t)__pyx_v_type), (&__pyx_v_value));
                                                ^~~~~~~~~~~~~~~~~~~~~
                                                PyProperty_Type
cupy/cuda/cusolver.cpp:2179:70: error: expected ‘)’ before ‘__pyx_v_type’
         __pyx_v_status = cusolverGetProperty(((libraryPropertyType_t)__pyx_v_type), (&__pyx_v_value));
                                                                      ^~~~~~~~~~~~
cupy/cuda/cusolver.cpp: In function ‘PyObject* __pyx_f_4cupy_4cuda_8cusolver__getVersion(int)’:
cupy/cuda/cusolver.cpp:2313:78: error: ‘MAJOR_VERSION’ was not declared in this scope
   __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_f_4cupy_4cuda_8cusolver_getProperty(MAJOR_VERSION, 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 456, __pyx_L1_error)
                                                                              ^~~~~~~~~~~~~
cupy/cuda/cusolver.cpp:2313:78: note: suggested alternative: ‘PY_MAJOR_VERSION’
   __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_f_4cupy_4cuda_8cusolver_getProperty(MAJOR_VERSION, 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 456, __pyx_L1_error)
                                                                              ^~~~~~~~~~~~~
                                                                              PY_MAJOR_VERSION
cupy/cuda/cusolver.cpp:2323:78: error: ‘MINOR_VERSION’ was not declared in this scope
   __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_f_4cupy_4cuda_8cusolver_getProperty(MINOR_VERSION, 0)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 457, __pyx_L1_error)
                                                                              ^~~~~~~~~~~~~
cupy/cuda/cusolver.cpp:2323:78: note: suggested alternative: ‘PY_MINOR_VERSION’
   __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_f_4cupy_4cuda_8cusolver_getProperty(MINOR_VERSION, 0)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 457, __pyx_L1_error)
                                                                              ^~~~~~~~~~~~~
                                                                              PY_MINOR_VERSION
cupy/cuda/cusolver.cpp:2333:78: error: ‘PATCH_LEVEL’ was not declared in this scope
   __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_f_4cupy_4cuda_8cusolver_getProperty(PATCH_LEVEL, 0)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 458, __pyx_L1_error)
                                                                              ^~~~~~~~~~~
error: command 'gcc' failed with exit status 1

‘libraryPropertyType_t’ was not declared in this scope

Is there a problem with my environment?

No, your environment is fine. It's just that the HIP support is rather new, so when we make changes to the cuda codebase, we often forget to (or don't know we should) add necessary stubs for HIP. In this case, I think libraryPropertyType_t was added in #2578.

@KeigoTakamura Could you try again the patch from the same PR? I added a stub for libraryPropertyType_t. (Sorry I don't have an AMD card to test it myself...)

Finished processing dependencies for cupy==7.0.0rc1

Build succeeded
Thank you for a good job!!!!!

authors: KeigoTakamura leofang okuta

repo: cupy/cupy


text:
[backport] Bugfix for typing rule of CuPy JIT

Backport of #5125

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 01a3c640423bccc6009ba4ececd2cc5a8a6f3232, target branch v9) succeeded!


text:
[backport] Update tests to install all requirements and add PATH

Backport of #5576 by @kmaehashi

[automatic post] Jenkins, test this please.


text:
Should autosaves be versioned?

If you load a storyfile for which you have an autosave from before I changed the stylehints protocol, the stylehints will be turned into CSS that no longer gets applied to the HTML.
While some changes to the autosave format could be handled so that they're backwards compatible (including this one), others might not be. So I'm wondering if the autosave should store a version number, and reject autosaves with an out of date version. It's tricky because there's three levels to consider, the VM, GlkApi, and GlkOte, and any of them could have a change in their autosave data. If an autosave is rejected, it needs to be rejected before any of the autosave state has been resumed. Should there be a function for each level that returns whether it accepts an autosave?

So the current process for doing an autorestore is:

VM.start() checks for the do_vm_autosave option.
If found it asks Dialog for an autosave.
If there's an autosave, then it processes the autosave:

First it gives the Glk snapshot to Glk.restore_allstate.
Glk.restore_allstate restores everything, and then saves the glkote data for later.

The VM processes its autosave data, and can now query Glk for existing objects.
The VM calls Glk.update().

Glk.update() includes the stored GlkOte data in its first update.

GlkOte.update() can finally process its autosave data.

So the first change that I think needs to happen is that the whole thing needs to be made async. This needs to happen because the Dialog library might be async (for IndexedDB), but it also allows for the possibility that GlkOte is across a network.
In order to allow for versioned autosaves we can make the autorestore functions return a success value. So the process would be changed to:

VM.start() checks for the do_vm_autosave option.
If found it asks Dialog for an autosave.
If there's an autosave, then it processes the autosave:

Checks the VM version, stops if out of date.
Calls Glk.restore_allstate.

Glk checks its version, returns 0 if out of date.
Calls GlkOte.restore_autosave

GlkOte checks its version, returns 0 if out of date.
Saves the data for later.
Returns 1.

If GlkOte returned 0 then Glk returns 0.
Glk restores everything.
Returns 1.

If Glk returned 0 then don't restore the autosave.
The VM processes its autosave data, and can now query Glk for existing objects.

The VM calls Glk.update().

Glk updates GlkOte

GlkOte uses its autosave data

The other change I'd like to make is for autosaves to not be JSON object and a RAM array, but instead be a single IFF file. This could be a Quetzal savefile, or just a custom IFF file if the VM doesn't use Quetzal. The VM, Glk, and GlkOte can store their data in their own chunks, so the different layers don't need to be responsible for including other layers data any more. The layers would not be required to use JSON either, if they want to store their data in a more efficient manner.
And for the purpose of #119, the Quetzal savefile format should be adjusted: introduce a new memory chunk XMem, which is the memory xored against the original memory, but without the CMem run length encoding. (Compressing at the end will be more efficient than Quetzal's basic RLE.) And also change the stack chunk to StNE, meaning Stack-Native-Endian, which just means that we don't ensure all the values are in big endian like Quetzal requires.
So all of this involves quite a few changes, which I think should happen all at the same time:

Autosaves should use an IFF format
If the VM uses Quetzal, change to XMem and StNe chunks
Add a version field to each layer's autosave data
Change the autorestore API to be async
Each layer checks its own version field and returns a success value

@erkyrath Any thoughts on any of this?

Oh, and for #130: making GlkOte display a notice when its autorestoring is easy enough, but it would be even better if it could have a "restart" button too. I haven't thought of a good way yet to send a restart-now signal up through the layers to the VM.

The autosaves should not just store versions, but also which library produced each. I don't have autosaves working in Emglken yet but I would like to. So I'm thinking now it would probably be better to have a separate chunk that stores both the library names and versions for each layer.

repo: curiousdannii/parchment

license: mit

license_source: bigquery


text:
数据一多内存泄漏

数据多的时候内存 1s 增加100m 很快就被榨干了 作者有考虑 类似虚拟列表的方案吗

大概有多少数据

经自查，插件自身不存在内存泄漏问题，目前可以确认，由于您的工程渲染第三方组件轮询数量过大导致内存溢出，资源过载，这个问题目前的版本无法支持
未来版本会考虑虚拟化的问题，用于大数据滚动展示，实现原理技术路径不同，会以新组件形式提供使用


text:
feat: prompt for push notification permission

This PR uses customerio-reactnative's latest method to get push notification authorization status and show prompt for push permission.
Main screen now has 3 buttons

Get started
Show push prompt
Get push permission status

Show push prompt
Assume that the app has not been authorized yet, you will see a prompt seeking user's consent for push notifications.
In case, the app has already been granted/denied permissions (or any other status), then you'll be shown an alert with current status.
Get push permission status
This will simply get the status of push notification authorization status in a callback.
THIS IS A DRAFT PR AS WORK IS IN PROGRESS

Pull request title looks good 👍!
If this pull request gets merged, it will cause a new release of the software. Example: If this project's latest release version is 1.0.0. If this pull request gets merged in, the next release of this project will be 1.1.0. This pull request is not a breaking change.
All merged pull requests will eventually get deployed. But some types of pull requests will trigger a deployment (such as features and bug fixes) while some pull requests will wait to get deployed until a later time.

This project uses a special format for pull requests titles. Expand this section to learn more (expand by clicking the ᐅ symbol on the left side of this sentence)...

This project uses a special format for pull requests titles. Don't worry, it's easy!
This pull request title should be in this format:
<type>: short description of change being made

If your pull request introduces breaking changes to the code, use this format:
<type>!: short description of breaking change

where <type> is one of the following:

feat: - A feature is being added or modified by this pull request. Use this if you made any changes to any of the features of the project.

fix: - A bug is being fixed by this pull request. Use this if you made any fixes to bugs in the project.

docs: - This pull request is making documentation changes, only.

refactor: - A change was made that doesn't fix a bug or add a feature.

test: - Adds missing tests or fixes broken tests.

style: - Changes that do not effect the code (whitespace, linting, formatting, semi-colons, etc)

perf: - Changes improve performance of the code.

build: - Changes to the build system (maven, npm, gulp, etc)

ci: - Changes to the CI build system (Travis, GitHub Actions, Circle, etc)

chore: - Other changes to project that don't modify source code or test files.

revert: - Reverts a previous commit that was made.

Examples:
feat: edit profile photo
refactor!: remove deprecated v1 endpoints
build: update npm dependencies
style: run formatter

Need more examples? Want to learn more about this format? Check out the official docs.
Note: If your pull request does multiple things such as adding a feature and makes changes to the CI server and fixes some bugs then you might want to consider splitting this pull request up into multiple smaller pull requests.

:tada: This PR is included in version 1.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: ami-aman ami-ci ami-oss-ci

repo: customerio/amiapp-reactnative


text:
Clinic database schema

In this Milestone, we did the following activities:

Diagram a data model clearly and explain what it's doing.
Create a file named schema_based_on_diagram.sql
Join tables from many-to-many relationships
Add FK indexes.

thank you 😄


text:
code to calculate gradient of alpha

Hi, @MarcelSimon
Thanks for sharing this code!
I am trying to find the code that calculate the gradient w.r.t. alpha, and I check the file caffe_pp2/src/caffe/layers/signed_power_layer.cpp
but can not find it, would you please show me which lines compute this? I only find the gradient w.r.t. bottom data.
Thank you!

Hi @Eniac-Xie
The source only contains the GPU implementation, hence you can find the diff at https://github.com/cvjena/caffe_pp2/blob/0a7d6efea371a82117410b289a090132fbab6bbe/src/caffe/layers/signed_power_layer.cu#L126  The CPU implementation is from the power layer, which I used as a basis, and hence does not implement the layer correctly. Sorry for the confusion, I will add an error message to the CPU implementation until there is one.

OK, thanks for your response!

authors: Eniac-Xie MarcelSimon


text:
osqp getting very slow with parameter input

Describe the bug
When some input is declared as a parameter, osqp gets very slow and takes a lot of memory.
To Reproduce
import numpy as np
import cvxpy as cp

N = 3000
M = 100
NORM_BOUND = 10

def main():
  np.random.seed(0)

  x = np.random.randn(N, 2)
  weight = np.array([[0.5], [0.5]])
  y = np.random.randn(N)
  L = np.random.randn(N, M)
  L_diag = np.random.rand(N)
  L_diag[:N//2] *= 0.1
  L_diag[N//2:] *= 10
  L_diag = np.diag(L_diag)

  p = x.dot(weight)
  _v = cp.Variable((N))
  _q = cp.Parameter((N))                                    # this line
  _q.value = np.random.randn(N)
  obj = cp.Minimize(0.5*cp.sum_squares(L.T@_v)
                    + 0.5*cp.sum_squares(L_diag@_v)
                    + 0.5*cp.sum_squares(_v-_q)
                    - _v@p)
  cons = [_v <= 1, -_v <= 1, cp.norm(_v, 1) <= NORM_BOUND]
  prob = cp.Problem(obj, cons)

  prob.solve(solver=cp.OSQP)
  print(prob.value)

Expected behavior
When  _q is a constant, it becomes very fast.
The problem is specific to OSQP solver.
Version

OS:
CVXPY Version: 1.1.1

``

Yes this is related to #1058. A fix is in development on #1059 , but not finished.

Canonicalization is down to 2.5 seconds on #1059.

authors: SteveDiamond zcyang

repo: cvxgrp/cvxpy


text:
CVXPY defaults to MOSEK instead of Clarabel

Describe the bug
This page says the default solver is Clarabel. However, sometimes I get MOSEK instead:
$ py -c "import cvxpy as cp; x = cp.Variable(); prob = cp.Problem(cp.Maximize(x), [x <= 1]); print(prob.solve())"
mosek.Error: rescode.err_missing_license_file(1008): License cannot be located. The default search path is ':/Users/carlos/mosek/mosek.lic:'.
$ py -c "import cvxpy as cp; x = cp.Variable(); prob = cp.Problem(cp.Maximize(x), [x <= 1]); print(prob.solve(solver='CLARABEL'))"
1.0

Version

OS: macOS 14.6.1
CVXPY:

$ py -c "import cvxpy as cp; print(cp.__version__)"
1.7.0.dev0+92.14124e1

The default solver depends on what you have installed. It is based on a subjective judgment of reliability/speed:
https://github.com/cvxpy/cvxpy/blob/master/cvxpy/reductions/solvers/defines.py#L77
MOSEK is ranked higher than Clarabel if MOSEK is installed.

@SteveDiamond I think it'd be nice for users if CVXPY detected the missing license error and skipped to Clarabel. WDYT?

@rileyjmurray There are some corner cases, for example a user can have a Mosek license only for LP+MIP but not covering conic problems, and also with floating licenses with limited tokens the concept of being licensed may not be invariant in time. Also one has to be careful to clean up the licenses checked out in the test. And if the license is floating the test will introduce a tiny delay.
I assume we are talking about a situation when the user has some solver installed, but does not want to use it, for example because they have no license for it, or whatever other reason. In that case it might make sense if CVXPY just allowed the user to provide a list of solvers they want to blacklist.

Is there anything stopping Problem.solve from using try… except… internally to fall back to Clarabel if there's any error with the default solver (e.g. the mosek.Error above)? That would handle all such errors at solve time.

authors: SteveDiamond aszekMosek carlosgmartin

repo: cvxpy/cvxpy


text:
offline false alarm?

Hi,
thanks for this nice package.
I am wondering why I get the offline notice while I can still open https://ipv4.icanhazip.com/ (which shows my IP address)?
using the latest version 2.4.5
Thank you!

Same issue here

Mine keeps switching back and forth between offline and online components.

I am curious about this - is it possble to have a "time" of offline before we are determined to be "offline"? I can see users being spammed the "offline" treatment if someone is going thru a spotty area - and the offline/online switching back and forth could get annoying.. any solutions?

Same I'm having this issue, please resolve it as soon as possible..

Yes, I am having the same issue!  I kept my console open with the network tab showing to see I could see something.  So at the times that it flashed "offline" were the red/pink lines in this screenshot.

@cwise89 Are you still working on this library?

@cwise89 when you're back with the fix, then plz notify me via this comment. for now, I am uninstalling this package from my application.

Same issue here

authors: aymengraoui dsacramone kevindekemele lidaof mahfuzswaron mdodge-ecgrow nahid18 neerajPortalwiz


text:
前一天还正常运行，第二天出现报错

运行

出现如下报错

+1

+1

@epiphany-yang @Thronedoct 删掉  sjtuautorun\scripts 文件夹里的main.py里的check_for_updates()就行了

就是这个

应该是连不上pypi导致的，会尽快修复

确实是。从pypl部署的就有问题，但是直接下载zip包一切正常

已在#64 修复，请手动pip install -U sjtuautorun更新

authors: Thronedoct cwlm epiphany-yang isunthedig


text:
🛑 ubuntuusers.de Forum is down

In 55df21f, ubuntuusers.de Forum (https://forum.ubuntuusers.de/) was down:

HTTP code: 502
Response time: 583 ms

Resolved: ubuntuusers.de Forum is back up in c7ed17b after 6 minutes.


text:
OSS Suite Release - Internal Release Training Complete

Done when:

Release training for the internal teams completed
Training slides shared internally
Training recording shared internally - Stretch

Recreated in other repo. Closing.

repo: cyberark/conjur-oss-suite-release


text:
Leverage

Hi, everything works absolutely fantastic, but I have a problem with futures.  Why the minimum leverage is only 25, and the minimum basic order varies by pairs. It could be done to use a maximum leverage of 100x.  And for a pair where it is not allowed leverage 100x the maximum allowed leverage for that pair?  When this error pops up, the pairs no longer update. Thank you

I suspect the minimum settings changed because the pairs changed, and 3C is no longer accepting the bot settings it had with the old pairs/ No sure how to fix it. I could check the error and change parameters accordingly, but that doesn't sound very safe thing to do without knowledge of user.

Now I have to put every pair that has a bigger base order than $10 to blacklist on 3commas. It's tedious and one day $10 may be enough, but the other day when the price of the crypto flies up so the minimum order is for example $11 and it already writes me an error, and gave no longer updated pairs. Then I have to add another pair to the blacklist.

Sorry I don't know how to fix this, it's too dynamic and information is missing in the API to code around it.
I can find minimum trading values for pairs, but not minimum leverage information and acting upon an error message is too tricky, you don't leverage settings to be changed automatically. Closing for now,

Sorry I don't know how to fix this, it's too dynamic and information is missing in the API to code around it.
I can find minimum trading values for pairs, but not minimum leverage information and acting upon an error message is too tricky, you don't leverage settings to be changed automatically. Closing for now,


text:
cython requires visual c++ 14.0

Whenever i try to compile, Cython requires Visual c++ 14.0.
How do i fix it?
Log:
C:\Users\fanda\OneDrive\Dokumenter\Blazing>python setup.py build_ext --inplace running build_ext building 'hello' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads

Cython converts python-like code to C. In order to compile the C you must have a C/C++ compiler installed. When one cannot be found, python suggests the python that was used to compile your python. At the time your python was released, that link led to the correct compiler. But in your case this is Visual 14.0, or visual studio 2015 which is quite old. You can try to dig around here https://visualstudio.microsoft.com/vs/older-downloads/ to find that version, or try your luck with a newer compiler.

Are you using Python 2.7? That requires such an old MSVC version. If you can, use Python 3.x instead.

Closing as not a bug. This is not a Cython issue but a general problem with distutils.

authors: TheSiker mattip scoder

repo: cython/cython


text:
docs: Fixed tests under windows.

Following up on #2327
I'm not a big user of windows, so everything I'm saying is guesses and stuff I found online.
The bug message was the following:
[00:09:23]    Creating library C:\projects\cython\TEST_TMP\6\clibraries\c\queue2\queue2.cp36-win32.lib and object C:\projects\cython\TEST_TMP\6\clibraries\c\queue2\queue2.cp36-win32.exp
[00:09:23] queue2.obj : error LNK2001: unresolved external symbol _queue_new
[00:09:23] C:\projects\cython\TEST_TMP\6\clibraries\c\queue2\queue2.cp36-win32.pyd : fatal error LNK1120: 1 unresolved externals

At first glance, I though the mistake was
https://github.com/cython/cython/blob/09e9b502f63ecc966635fedadb84f3a40fe18925/docs/examples/tutorial/clibraries/cqueue.pxd#L3
Because it didn't use backward slashes like on windows paths. After some research online, it seems that msvc support forward slashes for includes. So my thinking now is that msvc invoke the linker and want to link against c-algorithms' library. The object file doesn't exist (and never will since we don't want to download c-algorithms just for that) and the linker is not happy.
So with my limited understanding of the issue, the best course of action seemed to exclude those tests from the windows build.

The latest appveyor builds show another failure for the "lunch" test:
https://ci.appveyor.com/project/cython/cython/build/master-2443/job/rhe6g26padrfj8wv?fullLog=true
https://ci.appveyor.com/project/cython/cython/build/master-2443/job/n51onm2qx7cwga71?fullLog=true

I'll merge this to avoid the current failures, but I don't think it's a good way to deal with them. It might really just be something simple, such as a header file not being copied along with the test or so.
Also, I remember seeing an error about stdint.h being missing, which is simply because MSVC doesn't have that header file. The usual fix for us was to avoid depending on that header where possible.

You can also just look at appveyor. It runs the tests for us.
I see two remaining test failures, one OpenMP related (which doesn't exist under Windows, there's a tag openmp for such tests), and one due to the missing stdint.h in the casting_python test.
https://ci.appveyor.com/project/cython/cython/build/master-2461/job/6rt4tk06dpwve28c
https://ci.appveyor.com/project/cython/cython/build/master-2461/job/fjrwvov1cicasa1h

authors: gabrieldemarmiesse scoder


text:
Different Average

Hey there Christian,
we use your tool and get the same results as you do.
But when i calculate the portfolio-weights with my Excel-Solver i get different results.
Maybe the reason is that we calculate the average differently.
When i calculate the average returns for asset_a in Excel i get 0,008056.
In your examply.py the average for asset_a is -0,001237.
Can you please tell me how you get this average?
Thank you in advance and thank you for the good work!
LinkFoxMario64

I checked that Excel indeed also calculates -0.001237 as the mean for Asset A, so I'm not sure what you calculated.

repo: czielinski/portfolioopt


text:
Add index.html template for the resume

Add a template with the following code:
<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>Résumé</title>
  </head>
  <body>
    ― Hello World! 😉
  </body>
</html>

done, together with first release to production https://github.com/d-pozniak/homepage/pull/9/files

repo: d-pozniak/homepage


text:
How to save the content of the demo window as an image?

How to save the content of the demo window as an image?
Do you plan to add the feature of saving window content in the demo

I don't have a solution right now, but I found this doc, you can try:
https://learn.microsoft.com/en-us/windows/win32/direct2d/save-direct2d-content-to-an-image-file#what-you-need-to-know

I use  CopyFromRenderTarget to save window content
DXControl-save.zip


text:
d3.quantile is difficult to use

Although it's properly documented, it's easy to fall in the trap of forgetting to sort & filter the data, and a bit difficult to find the correct way to do it.
Shouldn't we have a slower but foolproof d3.quantile, and a fast d3.quantileRaw (or any other name) for the few people who know what they are doing?
Another way to look at this is that the reason for this behavior is to optimize when extracting several quantiles ; but then this could be rewritten as d3.quantile(values, fractions, accessor) where fractions is a list.

I think d3.quantileSorted(array) and d3.quantile(iterable) would be nice.

@Fil what do you mean sort sort & filter the data? I've just switched some code to mathjs.quantileSeq as I didnt know about this & thought it was a bug ;) (I knew it couldnt be)

I mean you need to filter out the NaN and undefined. Can you share an example that gives incorrect results?

My apologies, when I actually dug in & looked at the arrays being sorted I realised it was just using a .sort & didnt know sort converts numbers to string then sorts! Crazy. Flipped to lodash sort & it works, cheers

authors: Fil mbostock nite

license: isc


text:
Add skewness.

For computing the sample skewness of a sample of values.

export default function(array) {
  var mean = arrays.mean(array),
      sum3 = 0,
      sum2 = 0,
      v,
      i = -1,
      n = array.length;

  while (++i < n) {
    v = array[i] - mean;
    sum2 += v * v;
    sum3 += v * v * v;
  }

  return (1 / n) * sum3 / Math.pow((1 / (n - 1)) * sum2, 3 / 2);
};

Punting on this. Perhaps more appropriate for a separate statistics module.


text:
Expose orient of an axis

Without having the orient set, if I'm passed an anonymous axis object, I cannot inspect to see what orientation it is at.
If I wanted to transform containing elements based on orientation, there's no way to do that.
Added a PR for this #17.

I don’t think it’s a good idea to expose an enumeration of axis orientations. There might be other orientations in the future, such as for polar coordinates. And it feels icky, especially if the orientation is defined as a string.
By analogy, consider scales: there’s no scale.type method to distinguish different types of scales such as d3.scaleLinear and d3.scaleOrdinal. Occasionally you need to distinguish scale types; for example, d3-axis tests for the presence of scale.bandwidth to shift ticks to the middle of each band for band scales. But as that case demonstrates, it’s better to test for a specific feature (bandwidth) than to enumerate the scale types explicitly. Extending the analogy, when developing on the web, it’s better to test whether the current browser supports a feature than to write code that checks the user-agent.
It’d be nice, maybe, if you could use instanceof to test whether something is a particular type of scale, but alas that does not play nice with D3’s use of functions-as-objects, where a scale (like an axis) is both a function and an object. There’s no way to extend Function in JavaScript. (Actually that’s not totally true because you can say class Foo extends Function {}, but I think that requires using the Function constructor—there’s no way to extend a closure defined by a function expression, as far as I know.) So you can’t say x instanceof d3.scaleLinear, either, although that is supported for D3 classes that do not extend function, such as d3.selection.
I can’t see the code you’re writing, but it might be better for you to expose four of your own constructors, and then instantiate the axis internally. That way you’re in control of how the axis gets instantiated, and you know what orientation it is, and there’s no possibility of receiving an axis of an unsupported (or unknown) orientation.

I was considering either wrapping the axis construction or just adding a property to it (such as "type" or otherwise) -- doesn't need to be a string or the like. That's probably the avenue I'll take moving forward.

authors: c-dante mbostock


text:
Fix #27 - inaccurate timeout delay.

If timers are expensive, then by the time we sleep, the current time may have advanced substantially from the clockNow computed on wake. Therefore we must recompute the current time before scheduling the timeout.

Thanks for fixing this so quickly! Now it works as expected 😄.
Will you be making a release of it any time soon? I just published the d3-graphviz plugin. The demos contain workarounds for this issue that I would like to remove.
If you're interested, the demos are here:

Demo
Shape Tweening Demo

Is there any particular reason this didn't make it into d3/d3 v4.10.1? Anything I can do to help?

No particular reason—I just forgot.

authors: magjac mbostock


text:
🛑 KBBZone is down

In 7b32ac1, KBBZone (https://kbbzone.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KBBZone is back up in d98a57f.


text:
Use multiple mask per image

Hello,
I see in the original paper, they sometimes use multiple mask (or patch) in a single image.
However, I feel like the code is designed for 1 mask / image.
The function random_bbox only return 1 bbox, and there is no dimension to multiple bbox / image.
Did I miss something ?
Thanks

You are right! It has been discussed in #31

In the original paper, however, they show images with multiple regions in the mask (multiple bboxes). Is it done using the same code ?
Thank you.

@lchauvin Sorry, this repo is not the official code and I am not the paper's author. The official code is implemented in TensorFlow.

Indeed, the v1 implementation uses a patch-based computation for the l1 loss, but it seems gone in the v2 for some reason.


text:
source readability

first pull request

source readability

Thank you.

제가 PR을 닫고서 코멘트를 안 남겼네요 ㅠ 따로 기능적, 코드적 개선사항이 있지 않아서 Close 했어요. 양해 부탁드릴께요~

제가 PR을 닫고서 코멘트를 안 남겼네요 ㅠ 따로 기능적, 코드적 개선사항이 있지 않아서 Close 했어요. 양해 부탁드릴께요~

아닙니다^^ 앞으로 개선사항 아이디어나 구성할거 있으면 다시 올리겠습니다^^

authors: tonyfromundefined visualkhh

repo: daangn/karrotframe


text:
Question: Cleanest way to use await in renderSuggestions

Hi,
RenderSuggestion works in a way that doesn't facilitate the use of API/await/async calls. When I add :
const renderSuggestions = **async** ({ keyword, onSuggestionPress }) => {} I get a normal error because this component has to be rendered.
What if I want to do :
const renderSuggestions = ({ keyword, onSuggestionPress }) => {
const list = **await** myAPI.call();
return (list.map<MyListComponent>....</MyListComponent>)
 }

Do you have any design pattern for that ?
Thanks.

Thanks for the feedback!
I'll think about sharing an example for it later.
For now, you can look to #16, maybe you will get some new ideas.

Thanks for the feedback!
I'll think about sharing an example for it later.
For now, you can look to #16, maybe you will get some new ideas.

Or you can use a pattern described in #17, this comment.

Or you can use a pattern described in #17, this comment.

Any update on this ?

authors: dabakovich dngconsulting yaminichhabra


text:
Add support for wildcard hosts

It's often necessary to support multiple hosts for a single Django application. This PR reuses the implementation for ALLOWED_HOSTS in allowing ROBOTS_ALLOW_HOSTS to specify multiple hostnames to allow.
This change is backwards compatible.

Sorry for the massive delay in responding to this! If I understand correctly, this is to support a single Django application which serves content under multiple hostnames, and you want to allow robots access to some hostnames but disallow others?
To be honest I feel like that is probably slightly stretching the definition of "simple", and that you should probably just implement this in your application. Changing the core setting for the project makes me a bit twitchy, backwards-compat or not.
Let me know if I've misunderstood the use case..

Nope, that's exactly it! Having 1 django app serve multiple hosts is quite common, whether they serve different content or the same.
I agree it stretches the definition slightly, but for a low-overhead and generally useful feature (I realise that's literally the definition of scope creep...).

repo: dabapps/django-simple-robots


text:
Bot cannot join server

I get this error every time it starts.
Mumble server works, but bot doesn't join.
This is for running script as botmaster:
Killing running mpd instances of user "botmaster"
listen: bind to '[::1]:7701' failed: Failed to create socket: Address family not                                                                supported by protocol (continuing anyway, because binding to '127.0.0.1:7701' s                                                               ucceeded)
daemon: cannot init supplementary groups of user "botmaster": Operation not perm                                                               itted
Killing running ruby scripts of user "botmaster"
Using /home/botmaster/.rvm/gems/ruby-2.2.1 with gemset bots
volume:100%   repeat: off   random: off   single: off   consume: off
http://ogg.theradio.cc/
[playing] #1/1   0:00/0:00 (0%)
volume:100%   repeat: off   random: off   single: off   consume: off
This is what I get for trying to sudo the start.sh, I get:
mkdir: cannot create directory `/home/botmaster/logs': File exists
Killing running mpd instances of user "root"
listen: bind to '[::1]:7701' failed: Failed to create socket: Address family not supported by protocol (continuing anyway, because binding to '127.0.0.1:7701' succeeded)
Killing running ruby scripts of user "root"
/home/botmaster/src/mumble-ruby-pluginbot/start.sh: line 34: /root/.rvm/scripts/rvm: No such file or directory
/home/botmaster/src/mumble-ruby-pluginbot/start.sh: line 35: rvm: command not found
volume:100%   repeat: off   random: off   single: off   consume: off
http://ogg.theradio.cc/
[playing] #1/1   0:00/0:00 (0%)
volume:100%   repeat: off   random: off   single: off   consume: off
I did a full refresh install(OS, mumble and pluginbot) with copy and paste from the tutorial. I tried the solution from other forum suggesting to remove #USER in the mpd.conf, but none work.

/home/botmaster/src/mumble-ruby-pluginbot/start.sh: line 34: /root/.rvm/scripts/rvm: No such file or directory

Are you starting the script as root for which you didn't setup a ruby environment through rvm like described in the documentation?
Try to run the script as user botmaster.

botmaster@raspberrypi ~/src $ ~/src/mumble-ruby-pluginbot/start.sh
mkdir: cannot create directory `/home/botmaster/logs': File exists
Killing running mpd instances of user "botmaster"
listen: bind to '[::1]:7701' failed: Failed to create socket: Address family not supported by protocol (continuing anyway, because binding to '127.0.0.1:7701' succeeded)
daemon: cannot init supplementary groups of user "botmaster": Operation not permitted
Killing running ruby scripts of user "botmaster"
Using /home/botmaster/.rvm/gems/ruby-2.2.1 with gemset bots
volume:100%   repeat: off   random: off   single: off   consume: off
http://ogg.theradio.cc/
[playing] #1/1   0:00/0:00 (0%)
volume:100%   repeat: off   random: off   single: off   consume: off
This is what I get for running as botmaster

Looks good; you should have a running bot on the configured server after that...
Note to myself: Add a short message that everything was fine into the script :)
In case there is no bot on your server please start the script with the additional parameter debug:
~/src/mumble-ruby-pluginbot/start.sh debug
Then open the logfile in /home/botmaster/logs/ and post last lines of that file; probably on a paste service :)

Mine works, it seems like naming the room "Internet Radio" causes a bit of trouble for the bot to join. I renamed to "Radio" and now I see the bot.

Nice, so I can close this issue :)
Note to myself: Startscript notes implemented, see #57

repo: dafoxia/mumble-ruby-pluginbot


text:
Container.up()

Problem
When I call a function returning a Container, to run that container as a service, I have to run:
dagger call <MYFUNC> as-service up

That is 2 extra functions in the chain, which is cumbersome. It's common to write a wrapper function that returns a Service, for the sole purpose of typing:
dagger call <MY_OTHER_FUNCTION> up

But now I have to maintain one more function, with another name. It's also cumbersome and feels unnecessary.
Solution
Implement Container.up() as an alias for Container.asService.up().
This is similar to Container.directory() for example, which is a thin wrapper for Container.rootfs().directory().

Maybe a separate issue, but Service.Up also has some issues compared to the previous dag.Host tunneling API we used to use.
Specifically - it doesn't return a Service type, it returns Void. This is a bit annoying, since there's no way to Stop it anymore.

@jedevc My understanding is up is specifically designed for the CLI use case, and from code you should just other service APIs like Start and Stop. It's a little weird that the CLI DX creeped into the API, but pragmatism overrode idealism there

@vito I don't think you can start a tunnel to the host without up though? So if I wanted to start a service, and then make a request to it without needing to start another container.

@rajatjindal @marcosnils 🙏 🙏 🙏

I have started the work on this ticket. could someone please assign this to me. thank you.

authors: jedevc rajatjindal shykes vito

repo: dagger/dagger


text:
GitHub Desktop

This probably isn't the place, but since upgrading GitHub Desktop (Windows) my PowerShell Git sessions in ConEmu is no longer working. The problem seems to be that there is no folder:
LocalAppData\GitHub\PoshGit_f71b6366513fdb40f2126bf1d303ebd749cac2d2
The GitHub shell.ps1 file still references this, but the folder isn't there.
$env:github_posh_git = Resolve-Path "$env:LocalAppData\GitHub\PoshGit_f71b6366513fdb40f2126bf1d303ebd749cac2d2"
My ConEmu console was set to:
powershell -noexit -command Set-ExecutionPolicy bypass;.$env:LocalAppData\GitHub\shell.ps1;.$env:github_posh_git\profile.example.ps1 -new_console:a:C:\Projects\  -new_console:d:C:\Projects\
I've tried reinstalling GitHub Desktop but no folder or equivalent PoshGit folder has been recreated,
Any idea on how to fix this?

Ok, well I still have no idea why the problem occurred (has GitHub Desktop removed PoshGit?) but for now I fixed it by recreating the folder PoshGit_f71b6366513fdb40f2126bf1d303ebd749cac2d2 and cloning master and copying the files to there. I have a weird new three bar equals symbol, but apart from that everything seems to be working.

@michaeldtaylor which OS version are you running? I'm looking into a Win7-specific issue, and I'm curious if that overlaps with what you're seeing...

Windows 10 - I just did the automatic update in GitHub Desktop. Hadn't opened it for a while!

@michaeldtaylor

I now have a weird new three bar equals symbol on the command line prompt, but apart from that everything seems to be working.

That's one of the new features in Posh-Git #202
Not sure why the new folder wouldn't be recreated on update, but I'll keep an eye out for other cases like that.

@michaeldtaylor @dahlbyk this issue seems to be GitHub Desktop specific, rather than Posh-Git itself

this issue seems to be GitHub Desktop specific, rather than Posh-Git itself

Feel free to reopen if this proves not to be the case.

Same thing happened to me, PoshGit_a2be688889e1b24632e83adccd9b2a44b91d655b dissapeared. I even uninstalled Github Desktop, deleted $env:LocalAppData\GitHub\ and re-installed it, and it's not there.

@vgrigoriu can you drop a note to support@github.com with your debug log (Settings > About > Open debug log)?

First of all, sorry for posting here, I realised just after hitting Send that this was obviously a Github Desktop issue, not a posh-git one. Second, I deleted everything and re-installed, and on first run of Github Desktop PoshGit appeared, so problem solved.

authors: dahlbyk michaeldtaylor shiftkey vgrigoriu

repo: dahlbyk/posh-git


text:
Virus total Scan results = negative

Hello, the binaries included in the msi installer file are built directly from the source code using PyInstaller in a fresh Windows VM. Some sensitive anti viruses might falsely flag this file because it is not signed, or because PyInstaller is known to cause false positives.
If you would like to run the source code directly, the instructions are included here. Thanks!

authors: aimarket daijro

repo: daijro/EssayGen


text:
请问标点符号怎么办

请教一下， +-*/ ,. ，。这些常用的标点符号如何处理。

把标点符号这些数据加上去重新训练一下估计就可以了

能写一点简单的介绍吗

把标点符号这些数据加上去重新训练一下估计就可以了

authors: YZcat2023 dailenson toolai-io

repo: dailenson/SDT


text:
.vox files from MagicaVoxel 0.99.1 do not work

At first, thank you for good parser.
I tested .vox files from 0.98.2, those worked, but in 0.99.1, I think the format is slightly changed, so it's not working.
Example Code
<!DOCTYPE html>
<html>
<head>
	<title></title>
	<script src="https://cdn.rawgit.com/mrdoob/three.js/r71/build/three.min.js"></script>
	<script src="../build/vox.js"></script>
</head>
<body>
	<script>
		let parser = new vox.Parser()
		parser.parse('vox/3x3x3.vox').then(function(voxelData) {
			console.log(voxelData.voxels)
			console.log(voxelData.size)
			console.log(voxelData.palette)
		})

	</script>
</body>
</html>

Console output - 0.98.2 - Normal
.vox format version 150
monu9Test.html:12 (20) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}]
monu9Test.html:13 {x: 3, y: 3, z: 3}
monu9Test.html:14 (256) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, …]

Console output - 0.99.1 - ERROR
.vox format version 150
vox.js:150 Uncaught (in promise) Error: uint8Array index out of bounds: 29518
    at DataHolder.next (vox.js:150)
    at chunkId (vox.js:197)
    at chunk (vox.js:186)
    at chunk (vox.js:190)
    at chunk (vox.js:190)
    at chunk (vox.js:190)
    at chunk (vox.js:190)
    at chunk (vox.js:190)
    at chunk (vox.js:190)
    at chunk (vox.js:190)
DataHolder.next @ vox.js:150
chunkId @ vox.js:197
chunk @ vox.js:186
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
chunk @ vox.js:190
Promise.then (async)
(anonymous) @ monu9Test.html:11

Confirmed broken. Want a PR?

Nope, actually I'm using 0.98.2. Thanks!

authors: greentec yurikoex


text:
Feat: Implement PR Title Checker workflow for Conventional Commit Prefixes

Description:
The current project lacks an automated action to greet contributors. GitHub Actions can significantly enhance project automation. I propose adding a GitHub Action workflow to greet new pull request (PR) and issue creators, fostering a welcoming environment.
Proposed Changes:
Implement a GitHub Action workflow that triggers on new PRs and issues. The workflow should include a greeting message to acknowledge and appreciate the contributors for their efforts.
Expected Behavior:
When contributors create new PRs or issues, the GitHub Action should automatically trigger and post a welcoming message, acknowledging their contributions.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a SWOC24 contributor
[X] I want to work on this issue

@harmeetsingh11 Thanks for creating the issue, but this feature is already implemented.

repo: dakshsinghrathore/Brighter-Beginnings


text:
Add test to test_shapes_mouse_bindings.py

How's this for a simple test of the enhancement?
Now I'm thinking whether it should be also added to the other add tests below? (complex, lasso)
What do you think?

Thanks @psobolewskiPhD ! Makes sense to add some test logic/validations to check the new selection behavior. Also, adding the extra validation to the other tests checking the different modes available indeed seems worthy :+1:
Let me know if you want to add the extra validations for other modes here or if we should merge this as it is and then update the PR over the napari side.
Thanks again!

Whichever is easiest. I won't have dedicated time for this till the evening at the soonest.

Will merge and give the other tests a check to include the validation added here then :+1:

authors: dalthviz psobolewskiPhD

repo: dalthviz/napari


text:
Support taking over an existing connection

I have a situation where a given connection (due to strange corporate auth that is connection based) needs a few HTTP requests first before the upgrade to WS.
Would be great is if I could pass a connection to Starscream once all the setup requests on the connection have been made.
maybe a dedicated connect function that takes the existing read and writes streams. Or even better takes an NSURLsession and extracts the read and write streams from it if that is possible?
I'm happy to put together a pull request just wanted to know if this is the type of feature you would want to add?

This is something I looked at supporting with a newer NSURLSession API:
https://developer.apple.com/reference/foundation/nsurlsessionstreamtask
I unfortunately couldn't get it working though. It was something about not being able to customize the HTTP headers with the NSURLSession (it always send a connection: keep-alive instead of the required upgrade header). I haven't looked at it in a good while though, so might be worth be revisiting.
That that being said, the other option would be to pass in streams as you have mentioned in a new connect method would also be a feasible way to get this working.
I would love a pull request. Ideally we could get the nsurlsessionstreamtask working, but if not, a connect function taking the read and write streams would probably be our second best option.

From my experience with NSURLSession (as used in Paw) we were unable to control the connection header yes.
I was thinking about separating the connection/stream logic out to another protocol then this could be switched in and out, default to the current system of course, but also support the injection of other stream systems.
This system would be responsible for setting up the connection and possibly also send the Upgrade request. I have noticed some services return important info the Upgrade response headers.. even through this breaks the spec so letting users swap in a custom class that handles this and then calls a method on the root WebSocket class to hand over control to the parent class.
In my case a lot of the networking is based on top of https://github.com/IBM-Swift/BlueSocket so would be cool to have a protocol to comply with that would let me link this socket lib into Starscream.. would also result in a little bit of separation of the WebSocket logic from the initial HTTP upgrade request.

@daltoniam Working on this im splitting out the newtorking from the Websocket parsing quite a bit it will be a rather large code change will that be ok.
So currently I have split it out into 4 bits:

The socket connection
The HTTP module that builds the HTTP and detects the Upgrade
The Websocket parsing and sending (building WebSocket frames etc)
The Api interface im building so that current api interfaces WebSocket apeas the same as is know for users and there would then be a custom api that would let you build up your own stack, eg swap in a different class to manage socket connections.

The other benefit of this is it lets us start to write unit tests for different bits, eg the WebScoket frame passing can be tested without mocking a webserver or anything much more simpler and we can just have a mocking socket connection for example for testing how the socket protocols talks with the rest of it.
For my work, it's really important that I have an expandable socket lib so I'm lucky in that I can spend a fair bit of time on this maintaining it and pushing new features.

I think this is a great idea. I believe the least flexible part of Starscream is the initial handshake/upgrade sequence. I think having a system to work with a "hijacked" connection makes a lot of sense. Thanks a lot for taking this on!

@daltoniam I was using your library for a significant period (thank you very much), and you mentioned that you tried to implement WebSocket connection using NSURLSessionStreamTask.
I need to use it too ( https://github.com/daltoniam/Starscream/issues/464 ).
Could you please share an example if you have it? It would be very helpful for me to start with

authors: daltoniam hishnash iSevenDays

repo: daltoniam/Starscream


text:
Carthage build error

*** Building scheme "SwiftHTTP" in SwiftHTTP.xcodeproj
*** Building scheme "SwiftHTTPOSX" in SwiftHTTP.xcodeproj
** BUILD FAILED **

The following build commands failed:
	CompileSwift normal x86_64 /Users/philipheinser/xcode/a/Carthage/Checkouts/SwiftHTTP/Tests/SwiftHTTPTests.swift
	CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(2 failures)
/Users/philipheinser/xcode/a/Carthage/Checkouts/SwiftHTTP/Tests/SwiftHTTPTests.swift:10:8: error: no such module 'UIKit'
A shell task failed with exit code 65:
** BUILD FAILED **

The following build commands failed:
	CompileSwift normal x86_64 /Users/philipheinser/xcode/a/Carthage/Checkouts/SwiftHTTP/Tests/SwiftHTTPTests.swift
	CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(2 failures)

Ah sorry about that, was fixed in master a few weeks back, forgot to push a new tag. I just pushed 0.9.6 which should fix it.

@daltoniam Thanks!

authors: daltoniam philipheinser

repo: daltoniam/SwiftHTTP


text:
Use "RFC 176 Imports"

Closes #117
/cc @buschtoens

Nice :+1:

repo: damiencaselli/ember-cli-sentry


text:
Local & Public IP address don't update

I've noticed that when I open the conniption server window by clicking on the "Conniption Server" message I get the same list of IP addresses no matter what network I am connected to. I tested this out with other people and they seem to have the same issue. Might this be an issue with the js file that is used?

As it turns out, this issue is about to be mooted when I release the new update (coming sometime in February). I added that list as a convenience, the idea being just to save a trip to network preferences, but in practice (even when it works properly) it's sometimes confusing since you might have multiple address (e.g. you're using ethernet, but wifi is still on). So I'm just axing the feature and will ad some instructions on how to find the address instead.

This sounds good to me. It isn't too difficult of a process to find your IP via preferences or terminal. Also a great learning experience for anyone who might not know how.

I haven't run into problems with this lately so I decided to keep the feature in after all. It'll still list multiple addresses (ethernet, wifi, for example) but that's just the info I get. If anyone still finds problems with this feature, please open a new issue.

authors: damonholzborn fbotello

repo: damonholzborn/Quaxtrip


text:
🛑 dam0un.live is down

In eec046b, dam0un.live (https://dam0un.live) was down:

HTTP code: 0
Response time: 0 ms

Updating DNS entry

Resolved: dam0un.live is back up in d489eb1.

repo: damoun/uptime


text:
use custom component with autoClose

When I use custom component (Button react-native-elements), onPress doesn't close the swipe with autoClose = true

I have resolved with component: View and onPress props:
<Swipeout autoClose backgroundColor="transparent" right={[{
    onPress: () => console.log("press"),
    component: (
      <View style={styles.deleteButton}>
        <Icon name="delete" size={propIcon(25)} color={colors.WHITE} />
      </View>
    ),
}]}>

repo: dancormier/react-native-swipeout


text:
Table to produce

Example/specification of the table to produce

dandiset
version
schema_version
api_status
modified
pydantic
linkml

000727
0.240106.0043
0.6.4
Valid
2024-01-06T00:43:28.815333Z
4 (1 value_error, 3 string_pattern_mismatch)
14 (1 + 13)

000727
draft
0.6.4
Invalid
2024-05-18T17:08:27.003540Z
???

[x] "api_status" as API returns in the listing of dandisets, e.g. "Valid" in both cases here:
"most_recent_published_version": {
  "version": "0.240106.0043",
  "name": "Mapping the Neural Dynamics of Locomotion across the Drosophila Brain",
  "asset_count": 18,
  "size": 609568504598,
  "status": "Valid",
  "created": "2024-01-06T00:43:26.749476Z",
  "modified": "2024-01-06T00:43:28.815333Z"
},
"draft_version": {
  "version": "draft",
  "name": "Mapping the Neural Dynamics of Locomotion across the Drosophila Brain",
  "asset_count": 18,
  "size": 609568504598,
  "status": "Invalid",
  "created": "2023-12-10T10:22:46.559944Z",
  "modified": "2024-05-18T17:08:27.003540Z"
}

[x] if no most_recent_published_version -- only draft

[x] "modified" - also from API

[x] if draft and published version have the same "modified" and "status", then do not produce DRAFT version row

[x] schema_version -- the version of schema from metadata.json schemaVersion

[x] for linkml validation outputs, check "message" and do following transformation:

apply following regex substitution (here in sed format): "s,.*\(is .*\) in \S.*,\1,g" which ATM produces across all dandisets:

❯ grep -h '"message"' validation-reports-dandi/*/linkml_validation_errs.json | sed -e "s,.*\(is .*\) in \S.*,\1,g" | sort -n | uniq -c | sort -n
      1 is not valid under any of the given schemas
      1     "message": "Additional properties are not allowed ('@context', 'datePublished', 'publishedBy' were unexpected) in /",
    179     "message": "Additional properties are not allowed ('@context', 'datePublished', 'doi', 'publishedBy' were unexpected) in /",
   1399 is not of type 'string'

[x] and then for linkml reference, just count the number of such different errors. Most of the time it would be 2 ATM since they all have that "is not of type string" and "Additional propert

this regex "s,.*\(is .*\) in \S.*,\1,g" is the "GNU sed" regex,  so it escapes the group etc, in python it would be the difference, not sure in OSX

All features requested for the table are complete in https://github.com/dandi/dandisets-linkml-status/pull/1. However, I want to remove the following one. The required condition in the feature is never true for any of the existing dandisets.

[x]  if draft and published version have the same "modified" and "status", then do not produce DRAFT version row

The modified timestamp for a draft version seems to be never the same as the corresponding latest published version. Take a look at the "000017" dandisets @ https://github.com/candleindark/dandisets-linkml-status/blob/init/dandi-reports/summary.md, and you will that the draft version is essentially the same as the latest published version, but they have different timestamp.
In place of the condition you suggested, we may just take away a draft version if it has the status of Published. However, my recommendation would be not taking away any draft version at all. Even for a draft version with the status of Published,  its metadata is not exactly the same as the metadata of the corresponding latest published version.

FTR: (per @yarikoptic's approval) The outputting of validation reports on draft version is now unconditional, i.e. the validation reports of the draft version of all dandiset will be outputted.

@yarikoptic I am closing this issue. All requested features for the summary table in this issue has been implemented. Additional feature requests for the table can be done by filing a new issue, such as https://github.com/dandi/dandisets-linkml-status-tools/issues/14.

authors: candleindark yarikoptic

repo: dandi/dandisets-linkml-status-tools


text:
aiinput folder in a linux mnt

What trouble are you having?
I have a Windows PC with Docker running in a WSL 2 Ubuntu install, so that I can use 'image: deepquestai/deepstack:gpu' option to use processing on CUDA cores. However, the folder holding files to analyse (c:\aiinut\ on Windows 10 root) never seems to get watched. I can see file in there when I ls from the command line of the mount point:
frontsd.20200815_131629215.jpg  frontsd.20200815_131634256.jpg```

**Have you tried with the sample files?**

- Yes

**Have you tried the steps in the troubleshooting guide?**

https://github.com/danecreekphotography/node-deepstackai-trigger/wiki/Troubleshooting

- Yes

**Log entries**

tim@WinServer:~/aitool2$ docker-compose up
Starting aitool2_deepstack-ai_1 ... done
Starting aitool2_trigger_1      ... done
Attaching to aitool2_deepstack-ai_1, aitool2_trigger_1
deepstack-ai_1  | /v1/vision/detection
deepstack-ai_1  | ---------------------------------------
deepstack-ai_1  | v1/vision/addmodel
deepstack-ai_1  | ---------------------------------------
deepstack-ai_1  | v1/vision/listmodels
deepstack-ai_1  | ---------------------------------------
deepstack-ai_1  | v1/vision/deletemodel
deepstack-ai_1  | ---------------------------------------
deepstack-ai_1  | ---------------------------------------
deepstack-ai_1  | v1/backup
deepstack-ai_1  | ---------------------------------------
deepstack-ai_1  | v1/restore
trigger_1       | 2020-08-15T13:23:43+01:00 [Main] ****************************************
trigger_1       | 2020-08-15T13:23:43+01:00 [Main] Starting up version 5.3.0
trigger_1       | 2020-08-15T13:23:43+01:00 [Main] Timezone offset is -60
trigger_1       | 2020-08-15T13:23:43+01:00 [Main] Current time is Sat Aug 15 2020 13:23:43 GMT+0100 (British Summer Time)
trigger_1       | 2020-08-15T13:23:43+01:00 [Settings] Loaded settings from /run/secrets/settings
trigger_1       | 2020-08-15T13:23:44+01:00 [MQTT] Connected to MQTT server mqtt://192.168.0.42:1883
trigger_1       | 2020-08-15T13:23:44+01:00 [Local storage] Creating local storage folders in /node-deepstackai-trigger.
trigger_1       | 2020-08-15T13:23:44+01:00 [Local storage] Enabling background purge every 60 minutes for files older than 30 minutes.
trigger_1       | 2020-08-15T13:23:44+01:00 [Local storage] Running purge
trigger_1       | 2020-08-15T13:23:44+01:00 [Triggers] Loaded configuration from /run/secrets/triggers
trigger_1       | 2020-08-15T13:23:44+01:00 [Triggers] Loaded configuration for Cat detector
trigger_1       | 2020-08-15T13:23:44+01:00 [Triggers] Loaded configuration for Dog detector
trigger_1       | 2020-08-15T13:23:44+01:00 [Triggers] Loaded configuration for front detector
trigger_1       | 2020-08-15T13:23:44+01:00 [Trigger manager] There are 20 images waiting in /aiinput for Cat detector.
trigger_1       | 2020-08-15T13:23:44+01:00 [Trigger manager] There are 20 images waiting in /aiinput for Dog detector.
trigger_1       | 2020-08-15T13:23:44+01:00 [Trigger manager] There are 20 images waiting in /aiinput for front detector.
trigger_1       | 2020-08-15T13:23:44+01:00 [Pushbullet] Pushbullet is disabled via settings.
trigger_1       | 2020-08-15T13:23:44+01:00 [Pushover] Pushover is disabled via settings.
trigger_1       | 2020-08-15T13:23:44+01:00 [Telegram] Telegram is disabled via settings.
trigger_1       | 2020-08-15T13:23:44+01:00 [Mqtt router] Subscribing to node-deepstackai-trigger/statistics/reset.
trigger_1       | 2020-08-15T13:23:44+01:00 [Local storage] Purge complete
trigger_1       | 2020-08-15T13:23:44+01:00 [Mqtt router] Subscribing to node-deepstackai-trigger/statistics/trigger/reset.
trigger_1       | 2020-08-15T13:23:44+01:00 [Mqtt router] Subscribing to node-deepstackai-trigger/motion.
trigger_1       | 2020-08-15T13:23:44+01:00 [Trigger front detector] Listening for new images in /aiinput/front*.jpg
trigger_1       | 2020-08-15T13:23:44+01:00 [Main] Watching for changes to /run/secrets/settings
trigger_1       | 2020-08-15T13:23:44+01:00 [Main] Watching for changes to /run/secrets/triggers
trigger_1       | 2020-08-15T13:23:44+01:00 [Main] ****************************************
trigger_1       | 2020-08-15T13:23:44+01:00 [Main] Up and running!

**Installation details**

 - OS: Windows 10 with WSL 2 Ununtu 20-04 LTS
 - Docker setup:

version: "3.8"
services:
trigger:
volumes:
# Change d:/myfolder/myimages to point to the folder that will have the images
# to analyze. Only change the local path that is before the :/aiinput portion.
# Don't change the :/aiinput part. For example, if you are on Windows and your
# images are stored locally in d:/blueiris/capturedImages your final line should
# look like this:
# d:/blueIris/capturedImages:/aiinput
- /mnt/c/:/aiinput
environment:
  # Change this to match the timezone the images are produced in,
  # Typically this will be the timezone of the machine running
  # the Docker container. For a list of valid timezone values
  # see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
  # The value to use is in the "TZ database name" column.
  - TZ=Europe/London

ports:
  # This port is used by the local web server when annotated images are enabled.
  # If you change the port used by the local web server in the settings.json file
  # this also has to change to match.
  - 4242:4242

# ------------------------------------------------------------------------
# Don't change anything below this line unless you know what you are doing
secrets:
  - triggers
  - settings
image: danecreekphotography/node-deepstackai-trigger:latest
restart: always
depends_on:
  - deepstack-ai

deepstack-ai:
image: deepquestai/deepstack:gpu
restart: always
volumes:
- localstorage:/datastore
environment:
- VISION-DETECTION=True
# gpus:
#   - all
volumes:
localstorage:
secrets:
settings:
# This should point to the location of the settings.json configuration file
file: ./settings.json
triggers:
# This should point to the location of the triggers.json configuration file
file: ./triggers.json

**Additional context**

The log for the `aitool2_trigger_1` always shows `trigger_1       | 2020-08-15T13:23:44+01:00 [Main] Up and running!`, and never analysing when a new file (in the format front*.jpg) appears in the mounted folder.

Any guidance gratefully received.

Is this per chance related to #362

I am a numpty. Corrected this:
version: "3.8"
services:
  trigger:
    volumes:
      # Change d:/myfolder/myimages to point to the folder that will have the images
      # to analyze. Only change the local path that is before the :/aiinput portion.
      # Don't change the :/aiinput part. For example, if you are on Windows and your
      # images are stored locally in d:/blueiris/capturedImages your final line should
      # look like this:
      # d:/blueIris/capturedImages:/aiinput
      - /mnt/c/**aiinput**:/aiinput

@Kosh42 Were you able to get the GPU version to work? As soon as I change the docker image to GPU, it stops monitoring the images.


text:
Add docs to bitrise.rb for help in setup with stash and bitrise

Added a few lines of notes to help others setting up Danger with Bitrise and Bitbucket Server that might be using the Bitrise Close step a little out of the norm, like for firewall/vpn access from Bitrise to Bitbucket server.

#1164

I'm not sure about the "see initialize below for the pattern" - because people won't be seeing the source code. It would show up at the bottom of this page: https://danger.systems/guides/getting_started.html

I'm not sure about the "see initialize below for the pattern" - because people won't be seeing the source code. It would show up at the bottom of this page: https://danger.systems/guides/getting_started.html

ah, I didn't realize that!  Should I just list the pattern then in the docs?

Yeah, I think so

sorry, world on fire here.  I pushed the buttons, should be good!

          1 Warning

:warning:
Tests were not updated

  Generated by :no_entry_sign: Danger

Thanks!

authors: danger-public ihgmobile-devops orta

repo: danger/danger


text:
Update user experience when in month view

Closes #155
When in month view now the underlying datepicker will open to the month picker and set the day to the currently selected day, this eliminates the user having to select a day after they pick a month (which isn't necessary because they are in month view).
I also had to fix a test as this change affected the text that the test was looking for ("January 2023" vs "2023" when in month picker mode).
For the default values for OpenTo and FixDay I followed the source from Mudblazor:

https://github.com/MudBlazor/MudBlazor/blob/04c2ece527ed5e85e654ca7e955cf88314a18ca1/src/MudBlazor/Components/DatePicker/MudBaseDatePicker.razor.cs#L278-L286
https://github.com/MudBlazor/MudBlazor/blob/04c2ece527ed5e85e654ca7e955cf88314a18ca1/src/MudBlazor/Components/DatePicker/MudBaseDatePicker.razor.cs#L47-L55

All tests passed, and visually tested with unit test viewer project.
Before:

After:

Thanks!

authors: danheron digitaldirk


text:
🛑 Rama-Backend is down

In 58bd5f2, Rama-Backend (https://systemalpha.net/ramasakti) was down:

HTTP code: 504
Response time: 5132 ms

Resolved: Rama-Backend is back up in 610b000 after 24 minutes.

repo: danichrisd/up


text:
🛑 Ramen Katsu is down

In ce082e0, Ramen Katsu (https://systemalpha.net/ramenkatsu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ramen Katsu is back up in 5678670.


text:
Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.
Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:55:11)
atom-workspace.atom.commands.add.project-manager:edit-projects (/Users/admin/Dropbox/Mackup/.atom/packages/project-manager/lib/project-manager.coffee:52:38)

This should be fixed if you update

authors: danielbrodin gcornejo

repo: danielbrodin/atom-project-manager


text:
Is it possible to search for a node in the graph with something like searchbox

When user enters a particular node id or label in searchbox,
it should highlight the node label with node in graph.Is it possible to do something like that?

From the brief description that I'm reading, it seems you want to implement a search functionality based on the node info? That's totally fine, you can probably use Graph._setNodeHighlightedValue to programmatically make a node highlight when you search criteria matches. Check the documentation here under the Graph instance members.


text:
[Request] Config Saving and Deleteing Confirmation Window

(Idea)
A "Confirmation Window" for deleting or saving Configs, as I keep on acedentally deleting and over-righting my configs with another config. I have now just resorted to being more cautious, but when It does happen, I have to completely recreate my config, which takes a lot of time.

My delete confirm `                if (ImGui::Button("Delete Config", { 100.0f, 25.0f }))
ImGui::OpenPopup("Config to delete");
if (ImGui::BeginPopup("Config to delete")) {
static constexpr const char* names[]{ "Yes", "No" };
for (int i = 0; i < IM_ARRAYSIZE(names); i++) {
if (i == 1) ImGui::Separator();
                    if (ImGui::Selectable(names[i])) {
                        switch (i) {
                        case 0: config->remove(currentConfig); break;
                        case 1:  break;
                        }
                    }
                }
                ImGui::EndPopup();`

wow, thx

My delete confirm
if (ImGui::Button("Delete Config", { 100.0f, 25.0f }))
                    ImGui::OpenPopup("Config to delete");
                if (ImGui::BeginPopup("Config to delete")) {
                    static constexpr const char* names[]{ "Yes", "No" };
                    for (int i = 0; i < IM_ARRAYSIZE(names); i++) {
                        if (i == 1) ImGui::Separator();

                        if (ImGui::Selectable(names[i])) {
                            switch (i) {
                            case 0: config->remove(currentConfig); break;
                            case 1:  break;
                            }
                        }
                    }
                    ImGui::EndPopup();

Maybe the next update @danielkrupinski ?

authors: KernCS TauCSGO Vadenez

repo: danielkrupinski/Osiris


text:
Not being able to see visuals at all (Linux/)

Other features work visuals dont..

having the same problem, cant see the footstep visuals

i figured it out dont use snap or flatpak steam use native install of steam website for the deb file

this "hack" is a joke guys

Yep I bet 12 year olds in Russia make better cheats, like not even an ESP wtf?

authors: Q-666 Ruizlow edumeow prontodos


text:
[Question]: Properly using the -o --output switch (Permissions Error)

What is your question?
Is there any sort of permissions or something I am missing that would cause the -output function to not work. No matter what I try it throws permissions error on writing file. Here is an example command I am running:
sudo echo "extract high and critical items from aquasecurity container vulnerability scanning results and present in a clean easy to read format with short executive summary in less than 10 words for each high and critical item" | fabric --pattern create_pattern -o system.md && sudo mv container_vulnerabilities/system.md ../.config/fabric/patterns && cat ../results.txt | fabric --stream --pattern container_vulnerabilities
(error creating file: open system.md: permission denied)
No rush and thanks a TON!

Works for me beside the pattern container_vulnerabilities does not exists. What is current working directory? Maybe a permission problem, as in my understanding sudo only works for echo not for fabric in your command.

Running from /home/jnuts74
So I broke this down a bit to continue testing to get the output function working before trying to string together execution of other commands. Here is where I am today:
echo "ability to perform network analysis to identify both security and network performance issues based on examining packet captures" | fabric --pattern create_pattern -o system.md
Error: error creating file: open system.md: permission denied
I even did the unthinkable and 777 my home directory where Fabric is writing the output to and still get permissions error.
Definitely strange.

Does the following work?
echo "test" | ./fabric > foo.txt

Does the following work?
echo "test" | ./fabric > foo.txt

This does work.

ok, well you have a workaround, but I'm still interested in figuring out what is occurring.
what about the following test?

echo "test" | ./fabric -o foo.txt

ok, well you have a workaround, but I'm still interested in figuring out what is occurring. what about the following test?

echo "test" | ./fabric -o foo.txt

So that also works:
echo "test" | fabric -o foo.txt
Of course! If you have any questions or need assistance with something, feel free to let me know.
... written to foo.txt
I messed with it a bit more and was able to get this absurd command to work:
sudo mkdir -m 777 summarize_container_vulnerabilities && echo "extract high and critical items from aquasecurity container vulnerability scanning results and present in a clean easy to read format with short executive summary in less than 10 words for each high and critical item" | fabric --pattern create_pattern -o summarize_container_vulnerabilities/system.md && sudo mv summarize_container_vulnerabilities .config/fabric/patterns && sudo chmod -R 755 .config/fabric/patterns/summarize_container_vulnerabilities
It appears that fabric doesnt have the ability to output to directory/file (pattern_name/system.md), so the only option is to create the directory upfront. Issue then is that since you created the directory manually, fabric  doesnt have permissions to write to it.
I am wondering if its worth putting in feature request to make fabric output to create directory and file :
fabric -o directory/system.md
Thoughts?

That's unusual use case, to use software to write to it's own folders.
Unless you're making a lot of patterns in this way, I would think manually positioning it after testing would be the way to go.
During testing save to a file somewhere like this
foo | ./fabric --patter foo -o /mytestfolder/summarize_container_vulnerabilities.md
the test using the adhoc pattern method (pattern file can be anywhere)
foo | fabric --pattern  /mytestfolder/summarize_container_vulnerabilities.md
as long as the pattern name begins with ~/ or ./ or ../ or /  it will treat it as a adhoc pattern filename.

Found slight work around but decision made to manually move newly created patterns to appropriate location as suggested by @mattjoyce
Thank you

authors: butterflyx jnuts74 mattjoyce

repo: danielmiessler/fabric


text:
TRV Level issues with recent releases

I think there is some confusion about the control of the valve opening on HM-IP TRVs. This entity has a value range from 0 (closed) to 1 (fully open). I normally multiply it by 100 to give a percentage.
It is controlled by the logic within the TRV based on the difference between the set temperature and the actual room temperature. As far as I know, it is not meant to be changed directly. Since 0.22.1 this has changed so it can be adjusted, However the TRV will quickly reset itself to it's original value so it serves no purpose.
Also, when the valve is at 0 the state changes to unavailable. Finally, the value is reported as "#" which I think is correct. See attached image. Thanks!

@sotatech Please use the hahomatic repo for issues as requested on the front page
Thanks

Apologies, I had missed the request. I was a few releases behind, so I've updated to 0.23.0 this morning, thanks. I use the level to know when a room is calling for heat, which then triggers the heating for that zone. So my automations were not working properly when it became unavailable.
The reason I mentioned that it should not be adjustable, is that it is read-only in RaspberryMatic and there is no reason to manually change it which may confuse some people.

authors: SukramJ sotatech


text:
🛑 CCB - Transacciones is down

In 1097236, CCB - Transacciones (https://linea.ccb.org.co/apprenovaciones/index.html#!/) was down:

HTTP code: 404
Response time: 315 ms

Resolved: CCB - Transacciones is back up in 9bf920c after 2 hours, 39 minutes.

repo: danielqb/status


text:
🛑 test1 is down

In 910f0ac, test1 (https://quarterbacksystems.com/en_US/page/status) was down:

HTTP code: 503
Response time: 6545 ms

Resolved: test1 is back up in 322f794 after 13 minutes.


text:
RepeatingGestureRecognizer

Hi,
I was trying to implement the RepeatingGestureRecognizer for backspace - however it leads me weird results. Either the timer doesn't get invalidated or timer doesn't execute. So if you can share working code would be great help
Thanks

Hi, This gesture was added as a quick implementation to show how such a
gesture could be implemented. I haven't tested it thoroughly, so it may
very well have some problems.
I will add this gesture to backspace in the next version's demo app. If
there are some flaws with the implementation, I'll find it and try to fix
it.
On Wed, Jul 17, 2019 at 2:15 AM zghotlawala notifications@github.com
wrote:

Hi,
I was trying to implement the RepeatingGestureRecognizer for backspace -
however it leads me weird results. Either the timer doesn't get invalidated
or timer doesn't execute. So if you can share working code would be great
help
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/danielsaidi/KeyboardKit/issues/25?email_source=notifications&email_token=AADI6Z4UJFBSTRESKXKM2CDP7ZQB7A5CNFSM4IEJCZJKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G7TIHLQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADI6Z6Q45NSHYDLXRDD3BDP7ZQB7ANCNFSM4IEJCZJA
.

I had a look at the gesture and found a bug where a single tap can cause the repeating gesture to continue to trigger indefinitely. I have solved this bug and will add it as a hotfix.

I have solved this in 2.2.1. Please give it a try and let me know if things work better. 👍

Great! sure thanks mate!

Thanks issues is resolved.

Perfect, happy to hear that! 👍
Den tors 18 juli 2019 04:31zghotlawala notifications@github.com skrev:

Thanks issues is resolved.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/danielsaidi/KeyboardKit/issues/25?email_source=notifications&email_token=AADI6Z7GTGFPX74NPILMZK3P77IZFA5CNFSM4IEJCZJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2HEHKY#issuecomment-512639915,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADI6Z2GYCJ2S4VN2W5XDTLP77IZFANCNFSM4IEJCZJA
.

authors: danielsaidi zghotlawala

repo: danielsaidi/KeyboardKit


text:
Tweak shadows closer to native ones

I left the standard shadow as well, to remain backwards compatible. I had to move the shadow to the buttonView itself, and into the layoutSubviews call since it gets messed up when getting resized, and added a useDark variable as well, since the VC isn't accessible outside of the setup. If there's a better way of accomplishing this, please let me know!

@jackhumbert Thanks! I have released this in 3.0.2.

authors: danielsaidi jackhumbert


text:
how do i save the image in my server using volley

i have this code at the moment
Button btn = (Button)rootView.findViewById(R.id.savecontnet);
    btn.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View view) {
            save();
        }
    });

save function
   private void save() {
        editor.getCurrentHtmlAsync(new GetCurrentHtmlCallback() {

            @Override
            public void htmlRetrieved(@NotNull String html) {
                savetoserver(html);
                //saveHtml(html);
            }
        });
    }

savetoserver function
 private void savetoserver(final String test) {

        String tag_string_req = "test";
//url for the php script to save to server
        StringRequest strReq = new StringRequest(Request.Method.POST,
                AppConfig.URL_TEST, new Response.Listener<String>() {

            @Override
            public void onResponse(String response) {

            }
        }, new Response.ErrorListener() {
            @Override
            public void onErrorResponse(VolleyError error) {
            }
        }) {

            @Override
            protected Map<String, String> getParams() {

                Map<String, String> params = new HashMap<String, String>();
                params.put("content", test);
                return params;
            }
        };

        // Adding request to request queue
        AppController.getInstance().addToRequestQueue(strReq, tag_string_req);
    }

now my php script is simple
PHP SCRIPT
<?php
if ($_POST['content']){
    $content = $_POST['content'];

    $query = "INSERT INTO `testtable` (`dumplog`) VALUES ('$content')";
    if (mysqli_query($conn, $query))
    {
        $response["error"] = False;
        $response["success_msg"] = "Successful";
        echo json_encode($response);
    } else {
        $response["error"] = TRUE;
        $response["error_msg"] = "False";
        echo json_encode($response);
    }

}

so in my database it stores as a string i get that but what i want to do is if there is an image i want to download that to my server and then display it from there so the image source would be something like so

Hello

i think first i need to convert the image to string but before that i need to be able to get that image and  save it as a varible in bitmap but i dont know how to go about this.
i am fairly new at this concepts
so a guide would be really helpful

Sorry, this is not related to RichTextEditor. I'm not responsible for implementing your application logic.
I make a suggestion how to do this here, but please don't ask me any further questions to this.
I personally would use Jsoup (org.jsoup:jsoup:1.11.2) to get all  elements from html String, use their 'src' attribute to upload the image to your server and set the url of the now uploaded image in  element:
// don't do this on UI thread, it's a long taking operation with network access which would block your application
private void uploadImagesAndSaveHtmlToServer(final String html) {
    Document doc = Jsoup.parse(html);
    Elements images = doc.select("img");

    for (Element imageElement : images) {
        String imageUrl = imageElement.attr("src");

        // uploads this image to your server and returns remote image url (= url of image on your server)
        String remoteImageUrl = uploadImageToServer(imageUrl);
        imageElement.attr("src", remoteImageUrl);
    }

    String htmlWithRemoteImageUrls = doc.outerHtml();
    savetoserver(htmlWithRemoteImageUrls); // calls your savetoserver(String) method
}

repo: dankito/RichTextEditor


text:
monitoring spec machine

add validation errors

Coverage decreased (-0.02%) to 59.506% when pulling cd414e09f73317b2fa96e2215daf65b337ea8fef on adityahenanda:dev into 52f7b3a918dbaa112ae7b5aa2523df2115c4b248 on danliris:dev.

Coverage decreased (-0.009%) to 59.517% when pulling cd58548cda74366ba835b94a9a688b4cd7f85076 on adityahenanda:dev into 52f7b3a918dbaa112ae7b5aa2523df2115c4b248 on danliris:dev.

Coverage decreased (-0.007%) to 59.519% when pulling 62162a010cb079e9c77877ab407c2d987c660f57 on adityahenanda:dev into 52f7b3a918dbaa112ae7b5aa2523df2115c4b248 on danliris:dev.

Coverage decreased (-0.007%) to 59.519% when pulling 183cc67c57c32db427695f36cd3131e2b8dc665a on adityahenanda:dev into 52f7b3a918dbaa112ae7b5aa2523df2115c4b248 on danliris:dev.

Coverage decreased (-0.007%) to 59.519% when pulling a5ad8103287138ca2559bd509242a2468ea2eca7 on adityahenanda:dev into 52f7b3a918dbaa112ae7b5aa2523df2115c4b248 on danliris:dev.

Coverage increased (+0.02%) to 59.545% when pulling 14d74cb3d43295f73cff9ecd7fc598ff9f2c1572 on adityahenanda:dev into 52f7b3a918dbaa112ae7b5aa2523df2115c4b248 on danliris:dev.

Coverage increased (+0.02%) to 59.545% when pulling c15be05a8bfb36c8230b6957f7656fe5f02e9d7b on adityahenanda:dev into 52f7b3a918dbaa112ae7b5aa2523df2115c4b248 on danliris:dev.

authors: adityahenanda coveralls

repo: danliris/dl-module


text:
show nothing if an item has no date

if an item has no date, show nothing (instead of "No Date")
if an item does have a date, show: "Description, Date"
related: #78

What's wrong with "No date"?
The title is currently "Description - Date" if there's an interesting description, so otherwise this is WAI.

since there is no description, "1945" on its own is not understandable... "No date" on its own is also no clear... "Street scene 42nd & 5th ave" or "Street scene 42nd & 5th ave, 1945" is best in both cases in our opinion

"1945" and "No Date" are both pretty clear :)
If the description is "Street scene", it will be shown. The only titles that are suppressed are pure cross streets, e.g. "Manhattan: 42nd and 5th Ave"

we really do not mind that redundancy... it does not look redundant right now (for us) because when you click an image/point you forget what you had clicked on and then the text (eg "42nd Street btwn 5 & 6 av")  gives you context.

I'm fine putting the text back in the top area, which is currently blank. I don't want to put it back in the image details area, which is already way too crowded.

sure... i dont really know what the "top area" is but as long as there is that text...

Closing in favor of #82.

authors: danvk mgiraldo

repo: danvk/oldnyc