nothing works

Hi,
[using the recent/last version of everything, fresh windows 10 home install]
following the getting started
https://github.com/electro-smith/DaisyWiki/wiki/1.-Setting-Up-Your-Development-Environment

installed the toolchains, and git
installed VS code
just no way to have git-bash integration as a terminal (please provide a 2023 compatible tutorial)

in VS code, CTRL+P task build_all and build...dfu, gives tons of errors
*  Executing task: make

make: Nothing to be done for 'all'.
 *  Terminal will be reused by tasks, press any key to close it.

 *  Executing task: make clean; make; make program-dfu

rm -fR build
process_begin: CreateProcess(NULL, rm -fR build, ...) failed.
make (e=2): The system cannot find the file specified.
make: [../../libDaisy/core/Makefile:292: clean] Error 2 (ignored)
arm-none-eabi-g++  build/startup_stm32h750xx.o build/Blink.o  -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard --specs=nano.specs --specs=nosys.specs -T../../libDaisy/core/STM32H750IB_flash.lds -L../../libDaisy/build -L ../../DaisySP/build -ldaisy -lc -lm -lnosys -ldaisysp -Wl,-Map=build/Blink.map,--cref -Wl,--gc-sections -Wl,--print-memory-usage -o build/Blink.elf
p:/program files/daisytoolchain/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -ldaisy
collect2.exe: error: ld returned 1 exit status
make: *** [../../libDaisy/core/Makefile:277: build/Blink.elf] Error 1
dfu-util -a 0 -s 0x08000000:leave -D build/Blink.bin -d ,0483:df11
dfu-util 0.10

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2020 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

No such file or directory: Could not open file build/Blink.bin for reading
make: *** [../../libDaisy/core/Makefile:330: program-dfu] Error 74

I ran git-bash from the shell, typing make says daisy library is missing
$ make arm-none-eabi-g++  build/startup_stm32h750xx.o build/Blink.o  -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard --specs=nano.specs --specs=nosys.specs -T../../libDaisy/core/STM32H750IB_flash.lds -L../../libDaisy/build -L ../../DaisySP/build -ldaisy -lc -lm -lnosys -ldaisysp -Wl,-Map=build/Blink.map,--cref -Wl,--gc-sections -Wl,--print-memory-usage -o build/Blink.elf p:/program files/daisytoolchain/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -ldaisy collect2.exe: error: ld returned 1 exit status make: *** [../../libDaisy/core/Makefile:277: build/Blink.elf] Error 1

I tried the web programmer (Edge, then Chrome), it show daisy being paired
the web page buttons are greyed out

thanks for helping

Generally speaking, the daisy slack workspace is the best place to ask for advice if your local setup doesn't work. As far as I can see, your problem is not per se an issue with libDaisy itself. In the future, please ask there.
Now to your problem: Your compilation errors (both on VSCode and in git bash) tell us that libDaisy was not found by the linker. This means the blink project itself compiled fine, but the linker couldn't find the libDaisy library and hence couldn't create a complete firmware.
When you use makefiles and the make command, libDaisy will not be built automatically for you (unlike CMake where dependencies are also automatically built). To resolve your issue, all you have to do is to navigate to the libDaisy source code folder (which you should have checked out alongside the examples) and run make there to build the libDaisy binary. That should compile the libDaisy binary. Now you can run make in your project source code folder again and the linking step should work just fine.
(If it still complains the libDaisy is missing, check these two steps: 1. Make sure that the libDaisy binary is atually available on your hard drive. The compilation of libDaisy should have shown you the path to the libdaisy binary in the terminal messages. 2. make sure that the project Makefile uses the correct path to the libDaisy source code folder so that the linker can find this binary when you build the project)


Camera Don't Open for Taking Pics, Permission Requested Only

Describe the bug
Here are the setting in smartwebview.java file:
static boolean ASWP_FUPLOAD       = true;         // upload file from webview
static boolean ASWP_CAMUPLOAD     = true;         // enable upload from camera for photos
static boolean ASWP_ONLYCAM       = false;        // incase you want only camera files to upload
static boolean ASWP_MULFILE       = false;         // upload multiple files in webview
It asks to take pictures and records videos (video icon) and I allowed. It opens files only.
While there is no permission for files on app. When I go to app setting, there is 'photos and videos' is not allowed.
Expected behavior
App is not able to take pictures using camera.
Screenshots

Device (please complete the following information):

Device name/variant: Oneplus 8
Build: IN2011_11_F.64
Android Version: 13, OxygenOS 13

Additional context

You need to add permissions specific for Android 13:

Images & Videos
READ_MEDIA_IMAGES

Audio
READ_MEDIA_AUDIO

Videos
READ_MEDIA_VIDEO

I'll add these permissions in next release.

i have the same problem, how to add permision, i am just add permision to manifest but still problem


New developer boards section and description for the HiHope SCDAY200 board

New section to hold dev board information. DAY200 description, specs and flashing description. Moving parts form the quick build to proper places.

Thanks a lot for these changes @frankplus . I folded them into the original commits.


TF 1.x: remove the "deprecated" warning messages

I know the functional APIs, such as tf.layers.dense, will disappear in TF 2.0. However, their alternatives, tf.keras.layers, are not compatible with other components of TF 1.x, for example, they even do not support variable scope (#27016). So I will stick on the deprecated APIs in TF 1.x.
Would you please remove the disgusting "deprecated" warning messages like this: xxx (from tensorflow.python.layers.core) is deprecated and will be removed in a future version. Use keras.layers.xxx instead.

You can use this:-
import os
import tensorflow as tf
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
In detail:-
0 = all messages are logged (default behavior)
1 = INFO messages are not printed
2 = INFO and WARNING messages are not printed
3 = INFO, WARNING, and ERROR messages are not printed

this is what i have been using for years
it cannot stop the deprecation warning

By the way, before deprecating old components, would you please complete the current functionality? See #27042. It seems that TF is very good at deprecating widely used functions, but poor at improving its weak points

Deprecation messages are needed to inform people who want to use an actual version of TensorFlow what is going to happen in the future, and give them time to adapt.
As such, we won't be able to remove these messages.

Thanks
See #27045, any suggestions?

This code gave me an error:

import tensorflow.python.util.deprecation as deprecation
deprecation._PRINT_DEPRECATION_WARNINGS = False

AttributeError: module 'tensorflow' has no attribute 'python'

But changing the import line made it work (and suppresses the deprecation warnings as desired):
from tensorflow.python.util import deprecation
deprecation._PRINT_DEPRECATION_WARNINGS = False

Thanks

@skylogic004 is this from a recent nightly/build from source from recent master?

@mihaimaruseac Oh, I'm using tf 1.13 from anaconda (I'm not familiar with what branch & build it would have come from originally, sorry, but maybe this is enough info for you?).
$ python
Python 3.6.6 | packaged by conda-forge | (default, Jul 26 2018, 11:48:23) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> tf.__version__
'1.13.1'

$ conda list | grep tensor
tensorboard               1.13.1           py36h33f27b4_0
tensorflow                1.13.1          gpu_py36h1635174_0
tensorflow-base           1.13.1          gpu_py36h0fff12a_0
tensorflow-estimator      1.13.0                     py_0
tensorflow-gpu            1.13.1               h0d30ee6_0

Link to anaconda package: https://anaconda.org/anaconda/tensorflow-gpu

Then it's not something I should worry about (full context: over the past week there have been some failures on imports due to some changes I made; but those are only on master code, which doesn't seem to be the case)

Deprecation warnings are important for developers. They may not be all that useful to users. Therefore there are situations where it is desirable to switch them off.
Python has sys.warnoptions which could be for example set via PYTHONWARNINGS, e.g.:
PYTHONWARNINGS=ignore.
TensorFlow has it's own TF_CPP_MIN_LOG_LEVEL option as pointed out earlier.
And there is also the TensorFlow Python logging API (which I believed worked before):
import tensorflow as tf

tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.ERROR)

That none of the options above are preventing the warning messages from being printed seem to be a bug.
The _PRINT_DEPRECATION_WARNINGS flag seems to be internal and may be removed any time.

On 1.14.0 only this works:
import tensorflow as tf
tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.ERROR)

Unless you use a good selection of IDE's :p
Only thing that made me roll back was the autocomplete issue so these suppression requests are valid imo.

Autocompletion has been mostly solved

Tried all of the above
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
import tensorflow as tf
tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.ERROR)
from tensorflow.python.util import deprecation
deprecation._PRINT_DEPRECATION_WARNINGS = False
try:
    from tensorflow.python.util import module_wrapper as deprecation
except ImportError:
    from tensorflow.python.util import deprecation_wrapper as deprecation
deprecation._PER_MODULE_WARNING_LIMIT = 0

Still, have a pile of warnings.
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
/usr/local/lib/python3.6/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
/usr/local/lib/python3.6/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/usr/local/lib/python3.6/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
/usr/local/lib/python3.6/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/usr/local/lib/python3.6/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
/usr/local/lib/python3.6/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
TF version 1.14.0

Ubuntu 16.04
Python 3.6.8

For python builtin warnings, you should use flowing:
warnings.filterwarnings('ignore', category=DeprecationWarning)

warnings.filterwarnings('ignore', category=FutureWarning)
On Thu, Oct 24, 2019 at 15:44 Peter<EMAIL_ADDRESS>wrote:

Tried all of the above
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'import tensorflow as tf
tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.ERROR)from tensorflow.python.util import deprecation
deprecation._PRINT_DEPRECATION_WARNINGS = Falsetry:
from tensorflow.python.util import module_wrapper as deprecationexcept ImportError:
from tensorflow.python.util import deprecation_wrapper as deprecation
deprecation._PER_MODULE_WARNING_LIMIT = 0
Still, have a pile of warnings.
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
/usr/local/lib/python3.6/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/usr/local/lib/python3.6/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/usr/local/lib/python3.6/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/usr/local/lib/python3.6/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/usr/local/lib/python3.6/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/usr/local/lib/python3.6/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
TF version 1.14.0
Ubuntu 16.04
Python 3.6.8
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/27023?email_source=notifications&email_token=AAPOXXFFO43OXDG2BB6RY4LQQFG65A5CNFSM4HALRR5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECEAD2I#issuecomment-545784297,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAPOXXBZO4MJAIBPAME2BEDQQFG65ANCNFSM4HALRR5A
.

@pyotr777 those come from numpy. You are using a numpy version that is slightly incompatible with the TF version you're using.
At the risk of getting more downvotes, please switch to 2.0

FutureWarning

import warnings
warnings.filterwarnings('ignore', category=DeprecationWarning)
warnings.filterwarnings('ignore', category=FutureWarning)

did not supress
/usr/local/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])

For me this worked for t2.0 warning
import tensorflow as tf
tf.get_logger().warning('test')
# WARNING:tensorflow:test
tf.get_logger().setLevel('ERROR')
tf.get_logger().warning('test')

Still, have a pile of warnings.
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
Please tried  one at a time to change the 1 to 0 eg:  _np_qint8 = np.dtype([("qint8", np.int8, 1)])  to  _np_qint8 = np.dtype([("qint8", np.int8, 0)]) that works for me

@TiwaPhil https://github.com/tensorflow/tensorflow/issues/27023#issuecomment-545991801

before import tensorflow, you should implement:
import warnings
warnings.filterwarnings('ignore',category=FutureWarning)
warnings.filterwarnings('ignore', category=DeprecationWarning)
it works for on tensorflow==1.12.0, numpy==1.18.1, python 3.6

I tried this:
import warnings
warnings.filterwarnings('ignore',category=FutureWarning)
warnings.filterwarnings('ignore', category=DeprecationWarning)

And it did not work for me tensorflow==1.14.0, numpy==1.18.1, python==3.6.10

I found that the following worked when I run python both interactively and non-interactively. When using tensorflow 2.X, you can use:
tf.logging.set_verbosity(tf.logging.ERROR)

And when using tensorflow 1.X (worked on 1.14 for me):
tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.ERROR)

I'm using tf 1.13.1
This works:
import tensorflow as tf
tf.logging.set_verbosity(tf.logging.ERROR)

.compat.v1 is not required.

I tried all methods, but none of them worked in jupyter notebook...

This work for me on python 3.6 and TensorFlow 2.2. Inspired from @bhushanbrb, thanks.
import tensorflow as tf
tf.get_logger().setLevel('ERROR')

This work for me on python 3.6 and TensorFlow 2.2. Inspired from @bhushanbrb, thanks.
import tensorflow as tf
tf.get_logger().setLevel('ERROR')

You are using a numpy version that is slightly incompatible with the TF version you're using.

For me worked putting
import warnings
warnings.filterwarnings('ignore',category=FutureWarning)

before
import tensorflow as tf

and all other imports.
I have TF 1.14.0 and numpy 1.18.1.

This indeed works. I tried every other suggestions provided above but none of them worked for me. But, this worked like a charm


[Oracle] Adding notnull to column using alter table causes a checkbox bug

System information:

Operating system: Windows 10
DBeaver version 6.3.1
Additional extensions none

Connection specification:

Database name and version: Oracle 11g
Driver name: ojdbc6
Do you use tunnels or proxies (SSH, SOCKS, etc)? no

Describe the problem you're observing:
If you will change column properties from not null to null using following script:
ALTER TABLE table MODIFY column NULL;
Then that column in table will be updated properly but checkbox will be still set as not null
As you can see column isn't set as not null

but checkbox showing it is

Hi @AlbertKozera ,
unfortunately, cannot reproduce an issue. Could you try it against 6.3.4?

there is no update on ticket for a long time. ticket closed.
if issue still reproducible for you - feel free to reopen the ticket.


Support other cryptocurrencies

Should focus on cryptos people wants to use as payments.  It might be beneficial to focus on those similar to each other (like the Bitcoin forks).

Track specific cryptos/backends


Fixes #45 : Vagrant Broken Build and Tests

bug fixes to build scripts, and vagrant provisioning
https://github.com/auth0/nginx-jwt/issues/45

@platinummonkey: Sorry I'm a little confused as to what the original issue was that you were trying to fix vs. what you ended up doing to fix it. Can you explain in a little more detail what you're trying to do here? I see that you had a build issue (#45) but it almost looks like it was the result of an attempt to add synced folders (which is a cool idea).

Sure thing! There were a few things:

The docker curl-bash was no longer correct, and docker was (instead of HTTP_301) was replying in plain text to use the newer simplified url.  ( https://get.docker.com/ubuntu --> https://get.docker.com/ )
Also added the vagrant user to the docker group so sudo is not required.
Auto-copied the "auto-synced" directory to ~/nginx-jwt - npm likes to create symlinks. VMWare and Virtualbox will both will not let you create symlinks inside a "synced" folder. It's considered a security flaw and they require that you explicitly turn this off, so rather than fight it, embrace it and help the next dev.
It appeared the newest version of docker will auto-magically/annoyingly prepend "library/" to any image name if not specified in the FROM syntax on the Dockerfiles, so I gave the proxy-base-image an organization prefix of "auth0/".
I updated the docs, before it said "Ubuntu on Mac OSX (via Vagrant)", when really, anyone with vagrant can do this, not OS specific. It's nice since I don't have node 0.12 on my system and don't feel the need to install it on my system path just to run the tests. VM's and containers are great for this, so I opted for testing changes in this controlled environment.
Fixed a couple misleading log messages the previous error message said you could pass a string or table as a claim_spec but the docs said an anonymous function and the code expected a function.
Then just added an IDE specific .gitignore files. Personally I go under the assumption, if something is likely to not just "me-specific" add it to the .gitignore so it doesn't end up accidentally in a commit.

Side Note: I have another PR coming after these (so I can rebase, I originally did these all at once, but decided to break them out into individual PR's after looking at the issues page) which focuses on adding custom headers via a header_specs argument.

@twistedstream any additional elaboration or work required for this?

bump

I'm not sure what's going on over at auth0 preventing responsiveness, but I decided to fork nginx-jwt over here: https://github.com/platinummonkey/nginx-jwt  I'm currently merging in a number of these issue fixes, and will be setting up CI as well.


Color in console

When the text should be colored, the console display things like termcaps color code.

Yes. It's a good idea.
Font can be monospace like console too. Maybe Brackets default editor font with smaller size.


I tested the trojan on myself... am I safe?

its working alright but im currently concered for my own safety and my machine :'(

done those, is it also safe to log in & out of things jsut to be sure as logging back in resets cookies

done those, is it also safe to log in & out of things jsut to be sure as logging back in resets cookies

What to do now?
If you ran your own file with your own webhook set from your own server:
Yes, but you don't even need to do those things because nobody has access to them anymore. If you did the things I told you before, you removed the injection and startup file(s).
But!

Contact
If you ran into any other trouble, check out the readme form this project to join our discord or add me on Discord (the discord link on the readme is outdated so wait for me to fix it and put the new invite link or use the invite link i posted here. because of the dispute with the other devs, I created my own new discord server, so dont join the one from the readme. Currently, the old one is still in it.)
https://discord.com/users/1075072806892621874


last: invalid option -- '-'

Getting the above error on:
Linux raspberrypi 3.18.7-v7+ #755 SMP PREEMPT Thu Feb 12 17:20:48 GMT 2015 armv7l GNU/Linux

+1

:+1:
➜  ssh  sudo bash /etc/motd.sh
last: invalid option -- '-'
Usage: last [-num | -n num] [-f file] [-t YYYYMMDDHHMMSS] [-R] [-adioxFw] [username..] [tty..]

Exact same issue. It's possible to replace "--time-format" by "-t" but an error with time format appears.

We can fix this by editing 2 lines in the original motd.sh script.

Line 100 (after #System Information)
Change this to become:

read loginFrom loginIP loginDate loginTime <<< $(last $me | awk 'NR==2 { print $2,$3,$4,$7 }')

Line 109 (second IF condition paragraph after the #TTY login header)
Change this to become:

login="$(date -d $loginDate +"%A, %d %B %Y,") $loginTime ($loginIP)"

This is based on http://pastebin.com/g0CrwQ7j, which I got from here:  https://www.domoticz.com/forum/viewtopic.php?f=23&t=6738

Not solved this problem. After login I says "Last Login....: None "

Is it the same problem or a new one? If it's different create a new issue
for it with steps to replicate.
On Nov 23, 2016 2:59 PM, "kszere"<EMAIL_ADDRESS>wrote:

Not solved this problem. After login I says "Last Login....: None "
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/gagle/raspberrypi-motd/issues/6#issuecomment-262628531,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACzG6_E89q_C-rXAuzbjVpIl9LJyPqd-ks5rBKkhgaJpZM4D8bGg
.

Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 8.0 (jessie)
Release:        8.0
Codename:       jessie
Linux MyServer 4.4.32-v7+ #924 SMP Tue Nov 15 18:11:28 GMT 2016 armv7l GNU/Linux
106  # TTY login
107  #if [[ $loginDate == - ]]; then
108  #  loginDate=$loginIP
109  #  loginIP=$loginFrom
110  #fi
111
112  #if [[ $loginDate == T ]]; then
113  #  login="$(date -d $loginDate +"%A, %d %B %Y, %T") ($loginIP)"
114  #   login="($loginDate)($loginIP)"
115  #else
116    # Not enough logins
117  #  login="None"
118  #fi
119
120  login=`last $me -n 2 -w -a | awk 'NR==2 { print $3,$4,$5,$6,$7,$8,$10 }'`
121
122  label1="$(extend "$login")"
123  #label1="$login"
124  label1="$borderBar  $(color $statsLabelColor "Last Login....:") $label1$borderBar"
The above I commented out the old section and just creted everything from 120 to 124. Hopefully this is readable.

I am still having this issue on my install of the script.
I can't find any form of "last" that has the --time-format flag at all. So I am not sure where that came from honestly.

I fixed it here: lines 113 and 123.
https://gist.github.com/vidia/5d760a27cec2b9bd318dcc5c636c5a1d#file-motd-sh-L113

@vidia Thanks for the fix, but I had to make one more change before it worked for me.  On line 122 from your link above, the IF statement is looking for a "T" in the $loginDate string and on my Raspberry Pi that doesn't exist, so I changed if [[ $loginDate == T ]]; to if [[ $loginDate != T ]];.  Now it works.

Don't use my fix listed above,  It has issues on some days of the week.  There may be better ways to fix it, but for now I just changed it to $loginDate == * instead of $loginDate == T.   This is more of a hack, but I think it will be okay for now.
if [[ $loginDate == * ]]; then
login="$(date -d "$loginDate" +"%A, %B %d %Y, %T") ($loginIP)"
else
Not enough logins
login="None"

reading through the errors, i realized that this is the same issue as #8 and that the fix is the same:
(fix copied from other issue)
the issue for this is that the "--time-format" switch is not supported on this version of the date command for whatever reason. the work around i cobbled together involves line 100:
original code:
read loginFrom loginIP loginDate <<< $(last $me --time-format iso -2 | awk 'NR==2 { print $2,$3,$4 }')
modified (and added line) code:
read loginFrom loginIP loginMonth loginDay loginTime loginYear <<< $(last $me -2 -F | awk 'NR==2 { print $2,$3,$5,$6,$7,$8 }')
loginDate=$( date -d "${loginDay}-${loginMonth}-${loginYear} ${loginTime}" +'%FT %T' ) # format date to ISO
the key difference is that it changes the date to display the full date with the -F switch, and pulls all of the individual date elements followed up by the next command to join all of the different strings into the ISO formatted string that the later code (if [[ $loginDate == T ]]; then...), that particular if is looking for the "T" that is present in an iso formatted timestamp which was originally designed to come from the "--time-format iso" portion.


[Question/Support] Transforming collection arrays

Is there an existing issue for this?

[X] I have searched the existing issues

Describe your question or ask for support
Hello! I'm trying to write a transformer that takes any serialized array and mutates it into a hash keyed by an array item's id value. For instance, I'd like to transform [{id: 1, name: "Ian"}, { id: 2, name: "Leah" }] into {1: {id: 1, name: "Ian"}, 2: { id: 2, name: "Leah" }}. I have this working for the most part on items within a blueprint, but I'm not quite sure how to apply these changes to a top-level collection with a root set.
It looks like the transformer is called for each item within the collection, but isn't running for the collection itself. I'm coming back to Ruby after many years away, so it's very possible I'm missing something blatant, but I was hoping for a pointer or two on how to achieve this!
For reference, the rendering setup I have looks like this:
render json: UserBlueprint.render(@users, root: :users)

My current transformer:
class KeyedListTransformer < Blueprinter::Transformer
  def transform(hash, object, options)
    recursive_replace(hash)
  end

  private

  def recursive_replace(hash)
    hash.transform_values! do |value|
      case value
      when Array
        value
          .index_by { |item| item[:id] }
          .transform_values! { |value| recursive_replace(value) }
      when Hash
        value.transform_values! { |value| recursive_replace(value) }
      else
        value
      end
    end
  end
end

And the current output:
{
  "users": [
    {
      "id": "user_1",
      "name": "Ian",
      "posts": {
        "post_1": {
          "id": "post_1",
          "userId": "user_1",
          "name": "Hello World",
          "createdAt": "2024-11-21 06:00:26 UTC",
          "updatedAt": "2024-11-21 06:00:26 UTC"
        },
        "post_2": {
          "id": "post_2",
          "userId": "user_1",
          "name": "New Post",
          "createdAt": "2024-11-21 06:00:26 UTC",
          "updatedAt": "2024-11-21 06:00:26 UTC"
        }
      },
      "createdAt": "2024-11-21 06:00:26 UTC",
      "updatedAt": "2024-11-21 16:28:07 UTC"
    }
  ]
}

The posts association is transformed, but the top level users collection isn't. I've tried reading through the source code and doing some debugging where possible, but I haven't managed to crack this one yet 😞. Any help would be massively appreciated!

Will give it a shot, thank you so much! I'll keep an eye on the next major version too 👀. Really appreciate not only the response to the question but for the extra help and code snippet. Thanks!


Minor updates to info and flip default private preview value

#170  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rbro112 and the rest of your teammates on  Graphite


Submitting reads directly before thread exit can cause program to halt

I have a heisenbug that causes my tests to fail from time to time.
I have managed to create both a C and C++ minimal reproducible example. Error handling has been removed to reduce verbosity.
Sometimes if we submit two or more reads from a thread T1, then immediately exit that thread (in my case this is due to the program wanting to exit), if another thread T2 has joined T1, it never unblocks even though T1 has exited. This happens more often if the reads are for timer_fd's. If you comment out the io_uring_submit it doesn't happen.
C:
#include <unistd.h>
#include <pthread.h>
#include <sys/timerfd.h>
#include <liburing.h>
#include <string.h>
#include <stdio.h>

struct data {
        struct io_uring* ring;
        int              timer_fd1;
        int              timer_fd2;
        uint64_t         buffer1;
        uint64_t         buffer2;
};

void*
submit(void* d)
{
    struct data* da = (struct data*)d;

    struct io_uring_sqe * sqe1 = io_uring_get_sqe(da->ring);
    io_uring_prep_read(sqe1, da->timer_fd1, &da->buffer1, sizeof(da->buffer1), 0);

    struct io_uring_sqe * sqe2 = io_uring_get_sqe(da->ring);
    io_uring_prep_read(sqe2, da->timer_fd2, &da->buffer2, sizeof(da->buffer2), 0);

    int i = io_uring_submit(da->ring);

    printf("Submitted %d\n", i);

    // Exit suddenly.
    return NULL;
}

int
main()
{
    struct io_uring ring;

    struct io_uring_params params;
    memset(&params, 0, sizeof(params));

    io_uring_queue_init_params(4048, &ring, &params);

    int timer_fd1 = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);
    int timer_fd2 = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);

    pthread_t id;

    struct data d = {&ring, timer_fd1, timer_fd2, 0, 0};

    pthread_create(&id, NULL, submit, &d);

    int* res;
    printf("Calling join!\n");
    pthread_join(id, (void**) &res);
    printf("Returning from join!\n");

    /** Wait for completions and do stuff ...  **/

    io_uring_queue_exit(&ring);

    close(timer_fd1);
    close(timer_fd2);

    return 0;
}

C++
#include <cstring>
#include <iostream>
#include <liburing.h>
#include <sys/timerfd.h>
#include <thread>
#include <unistd.h>
#include <utility>

int
main()
{
    std::jthread    thread;
    struct io_uring ring;

    struct io_uring_params params;
    memset(&params, 0, sizeof(params));

    io_uring_queue_init_params(4048, &ring, &params);

    int timer_fd1 = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);
    int timer_fd2 = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);

    std::size_t buffer1 = 0;
    std::size_t buffer2 = 0;

    thread = std::jthread(
        [&]()
        {
            auto* sqe1 = io_uring_get_sqe(&ring);
            io_uring_prep_read(sqe1, timer_fd1, &buffer1, sizeof(buffer1), 0);

            auto sqe2 = io_uring_get_sqe(&ring);
            io_uring_prep_read(sqe2, timer_fd2, &buffer2, sizeof(buffer2), 0);

            auto i = io_uring_submit(&ring);

            std::cout << "Submitted: " << i << "\n";
        });

    if (thread.joinable())
    {
        std::cout << "Calling join!\n";
        thread.join();
        std::cout << "Returning from join!\n";
    }

    /** Wait for completions and do stuff ...  **/

    io_uring_queue_exit(&ring);

    ::close(timer_fd1);
    ::close(timer_fd2);

    return 0;
}

If I call the program like:
while true
do
  ./a.out && echo "done"
done

Within the first 20 or so runs a.out halts. The last prints to console are:
...
Calling join!
Submitted 2
Returning from join!
done // Above one terminated...
Calling join!
Submitted 2 // Stuck here

The thread has completed, but the main thread never returns from the join. Inspection from htop reveals that a thread is stuck in a D uninterruptible sleep state.

Attempting to run the program in GDB or valgrind shows no issues and makes it non-reproducible. Attempting to attach GDB to the program once it is halted crashes or puts GDB in a bad state.
Not sure what to try next or how to stop this from happening. It does seem to only occur when using the liburing interface but could be from somewhere else.
--
Edit:
Commit  e597622672fcfdab486337b5a80be49cfe25a99c
OS: Ubuntu 21.04 x86_64
Kernel: 5.13.0-41-generic
CPU: Intel i7-10875H (16) @ 5.100GHz

I can't reproduce it on my machine. I am using Linux 5.18-rc4.
while true
do
  ./a.out && echo "done"
done

runs just fine.
Can you check in what function it stuck?
Maybe using:
sudo cat /proc/$pid/stack

where $pid is the PID of the process stuck in TASK_UNINTERRUPTIBLE (D) can help to debug this.

Thanks for quick reply!
[<0>] io_wq_put_and_exit+0x11b/0x370
[<0>] __io_uring_cancel+0x1d3/0x230
[<0>] do_exit+0xc0/0xaf0
[<0>] __x64_sys_exit+0x1b/0x20
[<0>] do_syscall_64+0x61/0xb0
[<0>] entry_SYSCALL_64_after_hwframe+0x44/0xae

The two not in D are:
[<0>] do_wait_intr_irq+0x7e/0xa0
[<0>] timerfd_read+0x15a/0x270
[<0>] loop_rw_iter+0x5b/0x140
[<0>] io_iter_do_read+0x34/0x40
[<0>] io_read+0xdc/0x360
[<0>] io_issue_sqe+0xd70/0x17b0
[<0>] io_wq_submit_work+0x87/0xb0
[<0>] io_worker_handle_work+0x2c3/0x510
[<0>] io_wqe_worker+0x1ca/0x350
[<0>] ret_from_fork+0x1f/0x30

[<0>] futex_wait_queue_me+0xbb/0x120
[<0>] futex_wait+0x105/0x250
[<0>] do_futex+0x15e/0x7d0
[<0>] __x64_sys_futex+0x7b/0x1b0
[<0>] do_syscall_64+0x61/0xb0
[<0>] entry_SYSCALL_64_after_hwframe+0x44/0xae

It does seem to only occur when using the liburing interface but could be from somewhere else.

Looking at those traces it seems really comes from io_uring. I am not
familiar with those call traces. But we know it's from io_uring, not
from somewhere else.
Anyway, since you're using kernel 5.13, you can never get it fixed.
Because it has reached its end of life, which means the version won't
get any backport fixes anymore. It's no longer maintained.
Please upgrade your kernel.
You can take a look at https://www.kernel.org home page to determine
whether the version is still maintained or not.

Ops my bad. I should update more often.
I upgraded both Ubuntu and kernel to:
OS: Ubuntu 22.04 LTS x86_64
Kernel: 5.15.0-30-generic
Still same result. Although the stacks are slightly different.
# State D

[<0>] io_wq_put_and_exit+0xda/0x2d0
[<0>] io_uring_cancel_generic.cold+0x119/0x1d8
[<0>] __io_uring_cancel+0x14/0x20
[<0>] do_exit+0xa2/0x3c0
[<0>] __x64_sys_exit+0x1b/0x20
[<0>] do_syscall_64+0x59/0xc0
[<0>] entry_SYSCALL_64_after_hwframe+0x44/0xae

# State S

[<0>] futex_wait_queue_me+0xa7/0x100
[<0>] futex_wait+0x105/0x250
[<0>] do_futex+0x13d/0x1d0
[<0>] __x64_sys_futex+0x78/0x1e0
[<0>] do_syscall_64+0x59/0xc0
[<0>] entry_SYSCALL_64_after_hwframe+0x44/0xae

[<0>] do_wait_intr_irq+0x6b/0x90
[<0>] timerfd_read+0xab/0x240
[<0>] loop_rw_iter+0x5b/0x130
[<0>] io_read+0x3a1/0x470
[<0>] io_issue_sqe+0xab6/0x12d0
[<0>] io_wq_submit_work+0x68/0xb0
[<0>] io_worker_handle_work+0x10a/0x320
[<0>] io_wqe_worker+0x2bc/0x340
[<0>] ret_from_fork+0x1f/0x30

If it is worth while I can update to kernal 5.17.8. Although I will do that on a different machine.

I took a look, and it looks like 5.16 and newer fixes this. FWIW, looks like it's fixed by this commit:
commit e74ead135bc4459f7d40b1f8edab1333a28b54e8
Author: Pavel Begunkov<EMAIL_ADDRESS>Date:   Sun Oct 17 00:07:08 2021 +0100

    io_uring: arm poll for non-nowait files

which we can just get backported to 5.15-stable as well.

Thanks axboe. I'll upgrade and test.
Feel free to close this issue when you think is appropriate. Either now or after its been back-ported.

I did request a 5.15 backport yesterday, should get applied today. I'll preemptively close this one.
@Donald-Rupin Do I have your permission to take your sample reproducer and turn it into a liburing regression test?

Go for it :)


Viewing plot

Hi there,
This is a nice shiny app, thank you! and produces the plots I need. However, I have a few questions. When the number of taxa are reduced to say '20', does the app then calculate the top 20 taxa in the respective taxonomica levels? i.e. top 20 genera. Is there also a way to plot these by group/do you know another way to do stats and by group plotting for combined bracken outputs?
Thanks!

Thanks for using the app.
Subsampling plots the n taxa with the greatest median relative abundances across samples. So, if you subsample to 20, the app will calculate median abundance values for each taxon, order the taxa by decreasing abundance, and assign colors to the top 20 most abundant taxa only, summing the per-sample abundances of remaining taxa and plotting as "other".
There are a few ways to group the data. If you download the R notebook, you can specify position = "stack" and stat = "identity" in geom_bar() to create a grouped and stacked bar chart. Easier yet, you can adjust the width of the bars and aspect ratio of the plot until the desired look for your plot.

Thank you very kindly for the response, it is greatly appreciated! I see what you mean about the grouped and stacked plots - thank you! However  I was more asking about the grouping of sample types (with metadate information provided). This is primarily for group wise comparisons and also for alpha and beta diversity plotting of the bracken data. Is there a similar app/notebook for this that you are aware of?

Is there a similar app/notebook for this that you are aware of?

Sadly no. I hope you find a solution!


src: using ubi8/nodejs-12 instead of nodeshift/centos7-s2i-nodejs

Pull Request Test Coverage Report for Build 352

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.039%

Totals

Change from base Build 350:
0.0%

Covered Lines:
38

Relevant Lines:
39

💛  - Coveralls


Double callback parser fix

#313

The firefox windows 10 tests are failing and it doesn't look like sauce flakiness. Do you want to have a look?


Content in Day 5 IF-Else Statement

Select the Day of Content
Day 5
What information is missing?
I want to add content to Day 5 (IF-ELSE Statement in C++ )
Just like in Day 4

@subhadipbhowmik may I work on this? Can you assign it to me under GSSOC

I want to work on this issue, please assign it to me


Add config name to CLI

With my Server/Client setup using the plugin system I found the need for separate plugin configurations.

Thanks 🙏 sorry for the delay, apparently this somehow escaped all of us. its ok to remind us on discord ;)


precompile issue

Running julia nightly on MACOS 10.15, but that's using a download of the official nightly binaries. ]add DifferentialEquations gave this issue when it got to precompiling Sundials:
ERROR: LoadError: InitError: could not load library "/Users/alokbeniwal/.julia/artifacts/bd8ae81b8657ac029ad0b2592aaba09a79121a96/lib/libsundials_sunlinsolklu.3.2.0.dylib"
dlopen(/Users/alokbeniwal/.julia/artifacts/bd8ae81b8657ac029ad0b2592aaba09a79121a96/lib/libsundials_sunlinsolklu.3.2.0.dylib, 1): Library not loaded: @rpath/libsuitesparseconfig.5.4.0.dylib
  Referenced from: /Users/alokbeniwal/.julia/artifacts/bd8ae81b8657ac029ad0b2592aaba09a79121a96/lib/libsundials_sunlinsolklu.3.2.0.dylib
  Reason: image not found

Try doing ]build Sundials again. Looks like it may have not downloaded. Why such an old version? Are you on Julia v.1.6?

I'm using the 1.7 nightly
On Tue, Apr 6, 2021 at 3:05 AM Christopher Rackauckas <
@.***> wrote:

Try doing ]build Sundials again. Looks like it may have not downloaded.
Why such an old version? Are you on Julia v.1.6?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SciML/Sundials.jl/issues/303#issuecomment-813998050,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB7QUTBMDT23HQ45C7C2BALTHLMHHANCNFSM42N6GA4A
.

If you're using the nightly it's on you to debug it. That could be a BB issue or something.

BB?
On Tue, Apr 6, 2021 at 1:29 PM Christopher Rackauckas <
@.***> wrote:

Closed #303 https://github.com/SciML/Sundials.jl/issues/303.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SciML/Sundials.jl/issues/303#event-4558931361, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AB7QUTHHB2EYRTQV7AVBYMTTHNVMPANCNFSM42N6GA4A
.

BinaryBuilder. I am not sure whether BinaryProvider.jl is updated for v1.7. But again, v1.7 is only for people developing the packages so I assume that if you're using it you're likely debugging these packages. Otherwise, use the stable release.

Hi, @ChrisRackauckas. I ran Julia v1.6.1 on MACOS 10.15 and tried to precompile DifferentialEquations, but failed due to LoadError of Sundials. The message is
LoadError: InitError: could not load library "/Users/integrator/.julia/artifacts/bd8ae81b8657ac029ad0b2592aaba09a79121a96/lib/libsundials_sunlinsolklu.3.2.0.dylib"
dlopen(/Users/integrator/.julia/artifacts/bd8ae81b8657ac029ad0b2592aaba09a79121a96/lib/libsundials_sunlinsolklu.3.2.0.dylib, 1): Library not loaded: @rpath/libsuitesparseconfig.5.4.0.dylib
  Referenced from: /Users/integrator/.julia/artifacts/bd8ae81b8657ac029ad0b2592aaba09a79121a96/lib/libsundials_sunlinsolklu.3.2.0.dylib
  Reason: image not found
....

I am sure how to solve this. Can I precompile Sundials using a local file?

BTW, DifferentialEquations.jl is quite important to me.

What CPU? versioninfo()?

What CPU? versioninfo()?

@integzz can you create a new project and add Sundials_jll to it, to see if the latest version works for you?
Your error mentions an inability to load libsuitesparseconfig.5.4.0.dylib.  This should be provided by the default Julia installation.  Can you show me the output of:
julia> using Libdl
       filter(Libdl.dllist()) do f
       occursin("suite", f)
       end
2-element Vector{String}:
 "/Users/julia/dist/x86_64/julia-1.6.1/lib/julia/./libsuitesparseconfig.5.4.0.dylib"
 "/Users/julia/dist/x86_64/julia-1.6.1/lib/julia/libsuitesparse_wrapper.dylib"

Sundials_jll

It seems no...

However, there is libsuitesparseconfig whose version is 5.10. How can I solve this problem?

@integzz could you please paste the output here, quoting it in triple backquotes
```
like this
```

?  Screenshots are not very useful.
That said, the problem is that you're loading a libsuitesparseconfig from somewhere else.  Do you have the environment variable DYLD_FALLBACK_LIBRARY_PATH set to some special values?  You can see that inside julia with
ENV["DYLD_FALLBACK_LIBRARY_PATH"]

@integzz could you please paste the output here, quoting it in triple backquotes

```

like this

```

?  Screenshots are not very useful.
That said, the problem is that you're loading a libsuitesparseconfig from somewhere else.  Do you have the environment variable DYLD_FALLBACK_LIBRARY_PATH set to some special values?  You can see that inside julia with

ENV["DYLD_FALLBACK_LIBRARY_PATH"]

I am truly sorry. I have reinstalled Julia from Homebrew Cask instead of the previous binary version (from Homebrew core, compiled by cmake, llvm and gcc). Currently, the error has disappeared. And I don't want to reproduce it.
The error was raised, because the SuiteSparse has a higher version. I think the brew manifest needs to be added some constraints to guarantee a right version of every dependency.

The error was raised, because the SuiteSparse has a higher version. I think the brew manifest needs to be added some constraints to guarantee a right version of every dependency.

Yep, that looks like the issue!  For the record, we highly recommend using the official https://julialang.org binaries, they will have all the dependency versions set to work properly.  :)

Fantastic.


Why do geographical embedding and semantical embedding share the GCN parameters in GEML?

According to the paper, geographical embedding and semantical embedding are trained through two sperate networks.
But ge and se are generated using the same GCN module in your implementation libcity/model/traffic_od_prediction

@l782993610

You are right, thank you. It's  fixed in pr #323


Update chain.json

Added end points for Antrix Validators

Looks like this isn't your first time here. Please use appropriate PR titles that describe the change.

Added RPC end point to persistence chain for Antrix Validators


Problem with config limit account "Log On To"

My company domain account is limited log on to with their computer.
When I change password with passcore, I have issue :
The password change operation failed with the following message: The system detected a possible attempt to compromise security. Please ensure that you can contact the server that authenticated you. (Exception from HRESULT: 0x800704F1)

Have you tried setting UseAutomaticContext to false and setting the correct Domain Admin credentials in the config file?

You can try the patche kb3177108 and kb3167679 uninstall . That worked for me .


Add Photos of Vehicles

I will be collecting data for this, so add photos of your vehicle with a clear view of the number plate

shaswata-karan

![aniket_acharya]


Go cannot resolve latest release

When I try to update to v0.1, I get the following error:
michael.schechter@mschechter-mbp idp-core-worker % go mod tidy -v
go: errors parsing go.mod:
go.mod:14:2: no matching versions for query "v0.1"

go.mod content:
	github.com/migueleliasweb/go-github-mock v0.1

Does the version need to be published somewhere in order to be consumable?

Hi @mlschechter , I had created a tag that wasn't quite semver. I just pushed the correct tag v1.0.0 and updated the release. Please have a look.

Thanks for the quick resolution - I'll take a look on Monday!

Looks good - thanks!


patching a common sub-dependency

I've finally gotten around to giving mach-nix a second try. I got frustratingly close to something that might work for our case, but it ultimately seems to be falling over around the need to patch a common dependency.
I've boiled this down into a fairly simple case and put it in a repo with CI.

Here's an initial failure: commit | CI.

 In debug mode, werkzeug assumes it can re-run $0 as python. In our case, the flask executable has a bash wrapper so it breaks as shown here. The Nix community convinced werkzeug to adopt a fix at one point, but it was causing trouble for other users and it was reverted.

Since this hasn't been fixed in Nixpkgs, I've just been patching werkzeug for our dev environment. The patch is fairly simple, but doing so adds another werkzeug to the environment: commit | CI

Our actual case has fair number of packages that all depend on flask and thus on werkzeug. I may be missing a better approach, but after spending a while playing whack-a-mole with these issues it started looking like I'd end up with a translation of our pypi2nix-based requirements.nix instead of a thin layer over requirements.txt files.

Hey, thanks for this very detailed report. Stuff like this helps a lot.
Multiple werkzeug ending up in the final derivation should not happen. It is a bug.
My guess is, since mach-nix is building on top of nixpgks, it needs to detect existing dependencies inside nixpkgs and replace them to prevent collisions. Sometimes this detection fails.
I'll take a look into your specific case

Cool. Glad to hear that, actually. I was afraid this would be a "yes, but only after some rearchitecting" kind of thing. :)

I'm tempted to also open another report, but I can't quite tell if this is the same issue as this, or not?
While working on this, I also found myself wishing there I had a simple idiom for specifying a buildPythonPackage that would use an existing resolution/context as its starting point.
I'm not sure how much sense that makes, so a little context:

We've got a handful of requirements (common + {dev,production}) files composed together with the -r <file> syntax, so I used cat to append them and grep to filter out those statements. A lot of these requirements (including Flask) are pinned to specific versions as small breaks have accumulated over several years in production.
We've got a private package on gemfury that is also referenced from the requirements. I separated it out into its own mach-nix.buildPythonPackage invocation to provide a source, and add it to overridesPre. It also depends on Flask, and a few other packages, but none of these specify a version.
When we build this, the private package itself gets resolved in correctly, but I end up with two Flask packages, one of the latest version. I assume mach-nix tries to resolve this private package's requirements from scratch and in isolation, when pip would normally resolve them in the broader context, respecting the pinned versions.

Sorry for the delay. I improved the mechanism of overriding nixpkgs via 6473903da7e17b11f7c41f5729713bf46f84e6c2.
The general problem is, that when overriding python modules from nixpkgs, they have python dependencies from nixpkgs, which need to be replaced with the python packages defined by mach-nix. The previous replacement function didn't replace sub-dependencies of these dependencies. Now I updated it to work recursively through all dependencies.
Your expression now works if you use the master branch of mach-nix.

When we build this, the private package itself gets resolved in correctly, but I end up with two Flask packages, one of the latest version (and one of the pinned version). I assume mach-nix is resolving this private package's requirements from scratch and in isolation, when pip would normally resolve them in the broader context, respecting the pinned versions?

All packages should always be resolved together, even if some of them are included via packagesExtra. If that is not the case, it is a bug. Maybe you were just running into the same issue which just got resolved. If not, I kindly ask you to open another issue with the expression triggering the collision. Thanks

Sorry about the delay on my end as well; had a rough week of Texas weather.
It looks like this works. I've tried the simple case:

I updated to master in https://github.com/abathur/flaskmvp/commit/cc7d85df8621992003cedd7867ec77bd6ec08f3b
the pythonCatchConflictsPhase ran clean https://github.com/abathur/flaskmvp/runs/1962757835?check_suite_focus=true#step:4:1605 (whole run failed because it runs the server and I had to cancel it)

I'll try to revisit the complex version I was working on today.

I forgot to check in, but I did get my complex case working, and it looks like this fix was released in 3.2.0 yesterday.


[BUG] Parallel operations issue with uninstall and reinstall feature.

Please confirm these before moving forward

[X] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
[X] I have tested that this issue has not been fixed in the latest (beta or stable) release.
[X] I have checked the FAQ section for solutions
[X] This issue is about a bug (if it is not, please use the correct template)

Describe your issue
When selecting the "uninstall package, then update it" feature while the option to perform operations in parallel is set, it tries to execute both at the same time instead of sequentially.
Steps to reproduce the issue

Have software that doesn't update properly due to, e.g., different install technology between versions.
For the package manager for the software, enable the option to perform operations in parallel enabled.
Try to use the option "Uninstall package, then update it"
Watch the software uninstall at the same time that the update install fails.

Possible race condition due to having two items in queue operating on the same package trying to happen in parallel?
WingetUI Log
n/a

Package Managers Logs
n/a

Relevant information
No response
Screenshots and videos
No response

Yes, this is likely to be this


Issue-Update README.md

Automated Review Comments
Issues in README.md:

(1, 'Line exceeds 80 characters')
(6, 'Line exceeds 80 characters')
(9, 'Line exceeds 80 characters')
(15, 'Hardcoded string found')
(17, 'Line exceeds 80 characters')
(20, 'Line exceeds 80 characters')
(20, 'Hardcoded string found')
(26, 'Hardcoded string found')
(28, 'Hardcoded string found')
(29, 'Hardcoded string found')
(30, 'Hardcoded string found')

I got it.


How do you save and load model if Autoencoder and Classifier is there?

Hello Abhishek,
Your posts have been really helpful. Can you please let me know how do you load the saved model if 2 stages are involved. Meaning how do load the state_dict

Assuming you have saved your model/state like this:
torch.save(
        {
            'epoch': Config.num_epochs,
            'model_state_dict': modelCAN.state_dict(),
            'optimizer_state_dict': optimizer.state_dict(),
            'loss': loss,
            'global_trnloss': global_trn_loss,
            'global_valloss': global_val_loss
        }, MODEL_SAVE_PATH)

You can use this to load your saved model:
checkpoint = torch.load('./model_colab_300.pt', map_location='cuda')
model.load_state_dict(checkpoint['model_state_dict'])


dnvm and dnu command not found in git bash

@hingsir DNX, dnvm, dnu :skull: dead and buried :skull:. Everything is dotnet cli now, and RC2 is due to release in the coming days. See the cli repo to get started, but RC2 docs won't hit until RC2 comes out. https://github.com/dotnet/cli/tree/rel/1.0.0

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


Fix release ID not in GitHub event

For new GitHub actions, it seems the release ID is not in the event json supplied to the action. This pull request would change the upload script to retrieve the release ID from the API via the tag name.
Full disclousre: I haven't had a chance to properly test this yet - it may not completly work.
Update: Turns out I can't read documentation 😂 I've solved my issue and this PR is not needed. However, if you want to use it as a basis for uploading from other event types - go for it

Thanks for opening this @Nadock - what part of the docs ended up clarifying this for you? If there's something that should be more obvious, would love to hear it!

It was mostly me not realising I was using a push event, not a release event to trigger my workflow. I didn't even initially realise you could use more than push or pull_request -- the GH docs on Actions are still very beta.
I do have some suggestions for the documentation for this project though, I'll open a new issue to details that :+1:


GATT Server example request

Not an issue but a example request.
Would it be possible to give us an example on how to do a simple GATT server using this library? I've tried to match up some Python based D-Bus examples with what your library provides, but could not make any sense.
In the end I'd like to have some Xamarin app access data on a PI via BLE.
It shall be much appreciated.

I'm looking for the same info please.  I want the RPi to be discoverable as a serial port service.

Hi, Chris.
First of all, Thank you for your library. It seems useful and great.
I want to know how can I create a GATT server and advertise it using D-Bus on Raspberry Pi?
I have seen multiple examples that have been written in Python but I couldn`t match those and use them in .Net core.

I recently came across this sample code, it works very well. Its a simple generic GATT server implemented for Linux in C#/.Net, using D-Bus and Tmds.Dbus.
https://github.com/phylomeno/dotnet-ble-server
Do not use the provided Nuget, just add all the DotnetBleServer code to your project and see the examples provided for guidance
I compiled it for .Net Core 3.1 and it works fine

I recently came across this sample code, it works very well. Its a simple generic GATT server implemented for Linux in C#/.Net, using D-Bus and Tmds.Dbus.
https://github.com/phylomeno/dotnet-ble-server
Do not use the provided Nuget, just add all the DotnetBleServer code to your project and see the examples provided for guidance
I compiled it for .Net Core 3.1 and it works fine

Thanks for your info. But it cannot work here.
Hello Bluetooth
advertisement object /org/bluez/example/advertisement0 created
Unhandled exception. System.AggregateException: One or more errors occurred. (org.freedesktop.DBus.Error.UnknownMethod: Method "RegisterAdvertisement" with signature "oa{sv}" on interface "org.bluez.LEAdvertisingManager1" doesn't exist
How you pass this exception?
Thanks.

Are you running it from the source code (as I mentioned above), not the Nuget library? The Nuget version (I think) is an older  version than the source.

Are you running it from the source code (as I mentioned above), not the Nuget library? The Nuget version (I think) is an older version than the source.

Thanks for your reply.
I use the code from the github directly. Only reference in the example is the main project, which is a project code reference. And the only nuget package used by the main project is tmds.dbus. I've created an issue there. Would you like to check it and upload your running code? Thanks again.
https://github.com/phylomeno/dotnet-ble-server/issues/5

I have attached the code I'm using to create my GATT server. Hope it helps. Please ignore some the app specific code not removed.
GattServerCodeExample.txt
.

I have attached the code I'm using to create my GATT server. Hope it helps. Please ignore some the app specific code not removed.
GattServerCodeExample.txt
.

In your code, required AddCharacteristic is missing from GattApplicationBuilder.

Not sure what you mean by "In your code, required AddCharacteristic is missing from GattServiceBuilder"?
My code in RegisterGattApplication(..) :
var gab = new GattApplicationBuilder();
var gsp = gab.AddService(gattServiceDescription);
gsp.AddCharacteristic(commandCharacteristicDescription, new[] { commandDescriptorDescription });

Not sure what you mean by "In your code, required AddCharacteristic is missing from GattServiceBuilder"?
My code in RegisterGattApplication(..) :
var gab = new GattApplicationBuilder();
var gsp = gab.AddService(gattServiceDescription);
gsp.AddCharacteristic(commandCharacteristicDescription, new[] { commandDescriptorDescription });

AddCharacteristic is not shipped with the original code (GattServiceBuilder).

Sorry, you're so right!  I completely forgot. I did add a function to  GattServiceBuilder (even marked it) which simply encapsulates ||WithCharacteristic||:
// Added by HRB
public void AddCharacteristic(GattCharacteristicDescription gattCharacteristicDescription,
GattDescriptorDescription[] gattDescriptorDescriptions)
{
WithCharacteristic(gattCharacteristicDescription, gattDescriptorDescriptions);
}
As far as I can see I did not do any other modifications to the code.
Insofar not seeing "GattServer successfully started"... Can you maybe debug into ||RegisterGattApplication|| to see which instruction hangs?

Last test is on my computer with Ubuntu server x64.
The test before is on my RPI4 with Ubuntu server arm64.

I'm for now running it on Pi3, because I had problems with BLE on Pi4 (but its been a while and for the life of me I cannot remember why I temporarily gave up on the Pi4). Long shot but just give it a try on PI3?

Hi have you solved this problem?

Hi have you solved this problem?

Who're you asking...?
But I don't think there is anyone solved this yet.

Last test is on my computer with Ubuntu server x64.
The test before is on my RPI4 with Ubuntu server arm64.

this one in the ubuntu server. I was running it on my Vmware with ubuntu installed. I was using other library - python-bluezero  but got the same error as yours
org.freedesktop.DBus.Error.UnknownMethod: Method "RegisterAdvertisement" with signature "oa{sv}" on interface "org.bluez.LEAdvertisingManager1" doesn't exist

Ok!! Could be th OS'es. I've got it working it on Raspbian

I'm for now running it on Pi3, because I had problems with BLE on Pi4 (but its been a while and for the life of me I cannot remember why I temporarily gave up on the Pi4). Long shot but just give it a try on PI3?

I found the reason why I cannot use BLE on my Pi4.
I'm using Ubuntu arm64 20.04, not Pi OS. A lib installation is required:
sudo apt install pi-bluetooth then
sudo nano /boot/firmware/usercfg.txt add include btcfg.txt to the end.
and sudo reboot.
Before testing code, make sure that bluetooth device can be listed by hciconfig -a.

I had some issues getting BLE servers to work on my Raspberry Pi as well, so I forked CirrusResearch's notification branch (big thanks to them!), and made a couple of commented examples that should hopefully help other people:
https://github.com/Caffiendish/dotnet-ble-server/tree/Notifications
I've got a couple of issues to work out though, namely how "write (with response)" actually works, since my Windows machine as a client doesn't put "request" in the options. Or "command", for a "write-without-response".
If you have a client that does add options, you'll (as I understand it!) find them in the dictionary here:
https://github.com/Caffiendish/dotnet-ble-server/blob/Notifications/DotnetBleServer/Gatt/BlueZModel/GattCharacteristic.cs#L29
My Windows client just does what seems to be the basic stuff, "link", "device", "mtu".
I have devices that respond, but do so with notifications, so I'm kind of assuming that's how replies work.


Templatemodel delta endpoints

This PR adds two more model endpoints that take two TemplateModel json representations and return:

A json of the graph representing the comparison graph of the TemplateModelDelta
A png image of the comparison graph

Tests are added for both endpoints as well.

:tada:


Add SNS Topic Subscription Not Setted query

Added new query for AWS CloudFormation.
Provide a CloudFormation resource and a resource to ensure that appropriate subscribers are setted to each SNS topic
Closes #1224

Scan submitted to Checkmarx

Checkmarx SAST - Scan Summary & Details
Cx-SAST Summary
Total of 4 vulnerabilities 0 High 3 Medium 1 Low 0 Info
Violation Summary
 3 Medium
View more details on Checkmarx UI
Cx-SAST Details

Lines
Severity
Category
File
Link

30
Medium
Path_Traversal
cmd/builder/main.go
Checkmarx

52
Medium
Denial_Of_Service_Resource_Exhaustion
pkg/kics/service.go
Checkmarx

81
Medium
Denial_Of_Service_Resource_Exhaustion
test/main_test.go
Checkmarx


Fix Style/CombinableLoops when one of the loops is empty

Style/CombinableLoops raises an error when one of the loops is empty:
An error occurred while Style/CombinableLoops cop was inspecting example.rb:2:0.
undefined method `source' for nil:NilClass
rubocop/lib/rubocop/cop/style/combinable_loops.rb:108:in `combine_with_left_sibling'
rubocop/lib/rubocop/cop/style/combinable_loops.rb:72:in `block in on_block'
rubocop/lib/rubocop/cop/base.rb:377:in `correct'
rubocop/lib/rubocop/cop/base.rb:181:in `add_offense'
rubocop/lib/rubocop/cop/style/combinable_loops.rb:71:in `on_block'
rubocop/lib/rubocop/cop/commissioner.rb:107:in `public_send'

Example (where this error was caught): https://github.com/rails/rails/blob/04c97aec8aa696165e98f46ecec2b13410629be0/activerecord/test/cases/batches_test.rb#L717-L718

Thanks!


Example on /rules.html page for constructor-super would break no-useless-constructor rule

What version of this package are you using?
primarily using "eslint-plugin-standard": "3.1.0" with ESLint in VSCode but I don't think it matters as this seems to be strictly a documentation oversight. The same behavior happens when running npx standard
What problem do you want to solve?
the Dog extends Mammal example for the constructor-super rule itself breaks the no-useless-constructor rule, which is confusing.
my example from a current project is functionally equivalent to the example provided for constructor-super at https://standardjs.com/rules.html, but it causes the no-useless-constructor lint error:
class MyRequestHook extends RequestHook {
  constructor () {
    super()
  }
}

What do you think is the correct solution to this problem?
use a clearer example for constructor-super that doesn't break other Standard rules
Are you willing to submit a pull request to implement this change?
possibly, but probably would defer to someone already involved in documentation if they're available 😄

Nice catch! Pull requests welcome 🚀

Fixed by https://github.com/standard/standard/pull/1506


Added FatFreeFramework

@delkano the classifier for the library will be ready in a week.

Hi @delkano, we've added the library to Sourcerer.
FYI: I've noticed that your 'f3-jsonapi' repo uses the library without importing it in each file. We currently don't support extracting imports from files that manage dependencies. So, for now, it probably won't be shown in your profile.

Thank you, @yaronskaya . You're right, the dependencies are managed via Composer, but no worries.


switch instagram to scraping due to new permission policy :(

Instagram is locking down their API and requiring all apps to go through a review process similar to facebook's. details in snarfed/granary#65.
they're mainly locking down /users/self/feed and /media/popular and sending photos outside of instagram, neither of which bridgy does, so i think we'll be ok, but no guarantees.
TODO for switching to scraping:

[x] poll
[x] mf2 handlers. (added scraping support to get_comment, get_like, etc.)
[x] signup. started in the [scrape_instagram](https://github.com/snarfed/bridgy/tree/scrape_instagram branch) branch.

[x] if their account is protected, complain and don't finish signup.

[x] cron job that updates profile pictures.
[x] figure out backward compatibility for existing accounts. poll/propagate work ok, but...

[x] data migration: remove the publish feature from all existing accts so that when they delete listen, their acct disappears correctly.
[x] delete. indieauth into the first website we have for them. if they don't have any, make them add one and re-login first.

[x] cache comment and like counts? like we already do for twitter and G+, so that we only fetch individual photo pages when we need to. should help keep our load lower and off IG's rader for a while.
[x] handle /instagram/bret.io. he evidently changed his username from bret.io to uhhyeahbret, but we don't periodically refetch profiles (#304), so we didn't notice. plus username is the datastore entity key id, so it's tough to change. easiest answer will be to ask him to sign up again after we've ported signup. (done.)
[x] delete. (was briefly blocked on aaronpk/IndieAuth.com#113.)

the new set of oauth scopes aka permissions is on https://www.instagram.com/developer/authorization/ :

basic - to read a user’s profile info and media (granted by default)
public_content - to read any public profile info and media on a user’s behalf
follower_list - to read the list of followers and followed-by users
comments - to post and delete comments on a user’s behalf
relationships - to follow and unfollow accounts on a user’s behalf
likes - to like and unlike media on a user’s behalf

i started on the review process, but stopped when i saw it requires a screencast. ugh.
i'll do that eventually. here's the rest of what i have written up so far:
https://www.instagram.com/developer/clients/580be8883446443d8216ebdf0462f3b8/review/

1. Description
Got a blog? Do you post your public Instagram photos on your blog? Bridgy notifies your blog posts when people like or comment on your photos on Instagram.
2. How does your app use the Instagram API?
Bridgy helps individual users share their own content with their own web sites. Specifically, when a user posts a photo on their own web site (by any means) as well as Instagram, Bridgy notifies their web site when people like that photo or comment on it inside Instagram. This requires the basic permission.
Bridgy only operates on public accounts. It does not support private accounts.
Bridgy also has a publish feature that integrates with users' web sites in the other direction. Users can post on their web site that they like an Instagram photo, or have a comment on it, and they can then use Bridgy to post that comment or like that photo inside Instagram. These require the likes permission, which Bridgy currently has, and the comments permission, which it doesn't.
3. Do you need additional permissions?
Permission: likes
Users can post on their web site that they like an Instagram photo. They can then use Bridgy to like that photo inside Instagram.
Permission: comments
Users can post on their web site a comment on an Instagram photo. They can then use Bridgy to post that comment on that photo inside Instagram.

made the screencast: https://youtu.be/eGMNItivBdY

...and submitted to instagram for approval. fingers crossed! https://www.instagram.com/developer/clients/580be8883446443d8216ebdf0462f3b8/edit/#permissions

they denied us. :(

Invalid Use Case: The use case described in your submission notes, screencast and website is not a valid use case that we allow on our Platform. Please see our Permissions Review and valid use cases description (https://www.instagram.com/developer/review/) for more information.

well. that's a problem.

next step: apply for oauth-dropins and see if i can get it approved. not holding my breath, but i'd like to find at least one app i can get approved, just to see how the process works all the way through.

done. fingers crossed!

oauth-dropins got rejected too. :/

Still in Development: Your app is still in development. Please resubmit only when your app is ready to go live and no longer in development.
Invalid Use Case: The use case described in your submission notes, screencast and website is not a valid use case that we allow on our Platform.

i'm running out of ideas. i may have to start scraping. :/

i took a brief look at what it would take to switch to scraping. the good news is, it's doable. instagram profile and photo pages happily serve without being logged in, and the data is easily available in JSON that we already have code to extract and parse.
the bad news is, profile pages only include counts of comments and likes for each photo, not the actual data about them. we'd have to fetch the individual photo pages to get the data. annoying, but not too bad. we already do this for twitter and google+.
the more worrisome part is that comments and likes are paged, so fetching the photo only gets us the first 10 of each. hrmph. if it's the most recent 10, we'll be able to backfeed at least 10 comments and likes per photo per poll period (20m right now)...but i expect some people peak above that sometimes. hrmph.

Iiiiiii'd give some serious thought to whether it's worth the effort. Because of https://github.com/aaronpk/OwnYourGram/issues/16 PESOS doesn't work for many people any more anyway, and it's very likely OYG will be cut off altogether (even if he rebrands it).
I'm curious what the situation with IFTTT/Zapier/etc. integration is... whether their channels will be shut off too.

hrmph, true. point taken.
i still posse to IG manually, so i may still do it if only for myself. we'll see.

well, if you do do it, I'll certainly continue to use it :P

ok, this is implemented, naively. it has to do an HTTP fetch per picture, in serial, to get comments and likes. ideally, those would be parallelized, and also cache and check the counts like G+ now (and i think twitter) so it only does the fetches when there are new comments or likes.

How will this effect the scraping?
http://digiday.com/platforms/instagram-feed-changing-algorithm/

heh. good question! fortunately we'd scrape your profile page, not your feed, and profile pages probably won't be algorithmic.

open question: how to do auth for Instagram users, ie prove that they own an account before signing up or deleting, without the API?
the only answers I've come up with so far are 1) no auth and 2) indieauth, and check that the same domain is in the Instagram profile...
...in which case we'd need snarfed/oauth-dropins#10 (indieauth support).

we'll also need to port the cron job that updates profile pictures.

starting a todo list in the description.

looks like the mf2 handlers were ok after all. the ID_USERID is expected, happens now, and works ok. i got a 200 from https://api.instagram.com/v1/media/1209758400153852506_1103525 just now, which 404ed earlier. so maybe a transient instagram problem? seems unlikely, but possible.
i still have to port the mf2 handlers themselves from the api to scraping, but that's separate.

wow. evidently the real problem is that the API returns incomplete data. eg https://api.instagram.com/v1/media/1209758400153852506_1103525 says there are 10 likes but only includes 4 of them. the embedded JSON data in the HTML, https://www.instagram.com/p/BDJ7Nr5Nxpa/ , includes all 10.
pretty clear. on to porting the handlers!

delete is blocked on aaronpk/IndieAuth.com#113.

current plan for deleting legacy API accounts is that we'll indieauth into their first web site in domain_urls, which means delete won't work for accounts without any web sites. they'll need to re-login (with indieauth) first. here are those accounts:
/instagram/adamdohm
/instagram/amohd2
/instagram/andresin87
/instagram/chellebb
/instagram/debbite
/instagram/dougmckown
/instagram/eddy.arnold
/instagram/espylaub
/instagram/fck_yeah_
/instagram/fermentationfan
/instagram/hendryque
/instagram/isapien
/instagram/jamieontiveros
/instagram/johnbenson
/instagram/mathewi
/instagram/mistermaumau
/instagram/nikolnieto
/instagram/njashanmal
/instagram/photofox
/instagram/realkoyuchan
/instagram/silveradepy
/instagram/srevo
/instagram/the_timweston
/instagram/tylergillies
/instagram/zlojkashtan

ran this in remote_api_shell to remove publish from all instagram accounts:
for i in Instagram.query(Instagram.features == 'publish'):
  i.features.remove('publish')
  i.put()

flipped the switch! all instagram accounts are now on scraping and using indieauth for login/delete. fingers crossed!

looking good so far. tentatively closing. woo!

@snarfed May I ask how you passed the "Still in Development: Your app is still in development. Please resubmit only when your app is ready to go live and no longer in development." part? I am trying to submit my app now and I get this error back. And I can't for the life of my understand what it means. Sorry to hijack your thread but you seem to be the only one that has faced this issue.

@Johnathangalliano sounds like your app is still in sandbox mode? https://www.instagram.com/developer/sandbox/
i didn't actually get approved, so i don't have more specific advice, sorry. i switched to scraping their html instead.  :/

i was also doing scrapping, and it was all going very well, but suddenly my all accounts started getting limit exceeded. even when i sign in. do u have a fix for this.. and did you monitor the rate limit on different end points?
thanks

@rummykhan if you're getting 429s, then yeah, instagram rate limits HTTP requests by IP address or subnet. i hit that at one point too. lots of details in #665 and https://groups.google.com/d/msg/google-appengine/rpendSIxJMo/_u4G6uXiBQAJ .

thanks @snarfed and yea i was getting response code 429, today i did some testing and what i found is here..
maybe it'll help somebody.
Instagram Scrapping WORKAROUND
Tests:
2.	Get Posts of a user

	Test # 1 (Instgram Form Auth - Account 1)
	------------------------------
		Login Status = Success

		Minutes 	= 2:42
		Seconds 	= 162
		Requests 	= 354

		After this got response code 429 (Limit Exceeded)

	Test # 2 (Instgram Form Auth - Account 2)
	------------------------------
		Login Status = Success

		Minutes 	= 3:11
		Seconds 	= 191
		Requests 	= 400

		After this got response code 429 (Limit Exceeded)

	Test # 3 (Instgram Form Auth - Account 3)
	------------------------------
		Login Status = Fail (Asked for email/phone verification)

		Minutes 	= 3:13
		Seconds 	= 182
		Requests 	= 393

		After this got response code 429 (Limit Exceeded)

		Observation
		-----------
		1. We can get the user posts without logged in.

	Test # 4 (No Auth - Time Delay 1 Second)
	------------------------------
		Minutes 	= 44
		Seconds 	= 2683
		Requests 	= 1851

		State: Test is still running

Key Observation

Requests Counts are ip based (which previously i thought are user based.)

Solution

Use Proxies to avoid rate limiting. (Change the proxy as you receive 429)
To Enhance speed Use Python multiprocessing with proxy chaining.

If I may ask, about how many requests were you guys making per hour before hitting that limit?

sure! details on request volume above and in https://groups.google.com/d/msg/google-appengine/rpendSIxJMo/_u4G6uXiBQAJ :

i saw it after doing ~.1qps for a week or two
a Google engineer saw it after doing 100qps for 15s
@rummykhan saw it after doing ~2qps for a few min

Thanks @snarfed . I'm making ~.7qps non stop for the whole and haven't gotten any 429s (its only been 3-4 days). Do you think I should be concerned about getting them in the future at that rate?

based on this data, maybe yes, within weeks. good luck though!

Do I have to go through app approval process even for fetching photos from my Instagram account?

@harshdamaniahd to write your own Instagram app? yes, and good luck even then.

but here i see this : which means for non business account , we are redirected to old developer site


Support for Transparent Proxy

Features include:

Added support for proxy to function as "transparent"
Generation of certificates compliant with new Mac OS certificate requirements
Added Mac OS ext cert support for new cert generation

Subtract one year from the current time for the "from" field of the cert validity period, don't do from now. Minor issues in clock synchronization can cause some sessions to reject the certificate.

Good point. Clock sync becomes a major issue. Will resolve it in the next PR.

Thanks @abbasvalliani for the great work!


INCORRECT EVALUATION

all algorithms are evaluated based on POT, which is no the same as the original implementation of each algorithms.
POT is used in Omnianomaly only.

What prevents the authors to use a different method in their study for fair comparison of algorithm between each others?

each algorithms are built with different anomaly scoring techniques

fair comparisons is when they evaluate the algorithms as it is implemented in the original paper

Please check the readme:
Note: to reproduce exact results of baselines, use their original codebases (links given in our paper) as the ones implemented in this repository are not the ones used in the paper, which used the original versions. The versions provided here are for use of initial comparison and may not be identical to the original versions.

Ok then, that means the claim of performance improvement is incorrect!?

Performance improvement claims are with respect to the original implementations.


[IMPROVE] Subclass Selector Dropdown Menu

Improvement description
I would love it if when using AddTypeMenu attribute to show a custom display name in the SubclassSelector dropdown menu, it would support using paths in order to separate the dropdown contents into categories & submenus.  Similar to the AddComponent menu and other Unity menu attributes like ContextMenu, AddMenu, CreateAssetMenu etc.
This would allow for a more scalable interface and organization in the editor when working with larger projects.
Thanks

It already has such feature.
But these is a minor bug that path length difference is not considered.
So if you have any different sub category(which is likely), it would work!

understood! thank you.


Remove deprecated note on  "Set up a High Availability etcd Cluster with kubeadm" page

Removed the note from the https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm/ page as given solution in comment https://github.com/kubernetes/website/issues/47818#issuecomment-2334088987
Closes https://github.com/kubernetes/website/issues/47818

/sig cluster-lifecycle

/label tide/merge-method-squash


Linked Lists-Easy-3

Complete Reverse Linked List,Delete duplicate values and Find merge point in JAVA, C++ and Python with proper comments.
Add the file in the respective folder.

I can complete these problems in C++ , if you assign it to me.

I can provide code to these problems in Java.

I can do it in Python

The code to the problems of LinkedLists-Easy3 have been provided in Java through this Pull Request

I have completed the assigned task. Have a look to this Pull Request

I have already completed the code in C++ for the 3 programs. Please mention the procedure how to upload it.

@mustang519 make a PR

Alright.

I have completed the task and made the Pull Request. Please have a look at it.

@prakhar1144 @mustang519 Make and correct a PR ASAP. Otherwise you will be unassigned

Please clarify ,  I only have to update the README and make another PR , right? Is there anything else required?

I have updated README.md . Please check.

@mustang519 update your README. You are using an older version. The current and stable version is much more readable. You can easily work with that

I have completed the README.md file
. Please clarify whether all my 3 solutions are considered.

@adityabisoi my PR has been already merged. Please clarify what are you talking about. Some changes required ?

@prakhar1144 Reverse a Linked List doesnt have a python solution


Add option to send values via CoE

fixes #6

Dear, I like this!  I'm only able to read. I found no writable entities in HA..
Thanks for support!

i was asking myself the same question on how to send values or how to create entities for sending

The feature is not released yet, I plan to publish a beta later this week.


Bump Go version from 1.4.2 to 1.5.1.

Sync Makefile.COMMON with other projects.
Fix associated lint warning.
Not sure about web/blob/files.go

Thanks! :+1:


Check references section in requirements.schema.json

The example below is from a requirement in ms001 that references another requirement.
- id: REQ025
    title: Title REQ025
    significance: may
    description: Description REQ025
    rationale: Rationale REQ025
    categories: [security, functional-suitability]
    references:
      requirement_ids: ["REQ010"]
    revision: 0.0.1

Error when running reqstool:
Error running reqstool in '<path>'
Message:
Command failed: reqstool generate-json local -p .
ERROR:root:Syntax error(s) for urn 'ms001' using schema: requirements.schema.json
ERROR:root: 1. {'requirement_ids': ['REQ010']} is not of type 'array'

ms001: Failed to re-run reqstool.

Need to check/fix the configuration in the schema.

@lfvdavid Is this still a bug or could it be closed?

This can be closed, wrong version of reqstool cased the issue

No bug, had old version of reqstool-client installed.


Improve discoverability of your work on Hugging Face

Hi,
Niels here from the open-source team at Hugging Face. It's great to see you're releasing models + data on HF, I discovered your work through the paper page: https://huggingface.co/papers/2407.13168 (feel free to claim the paper so that it appears at your HF account!).
However there are a couple of things which could improve the discoverability of leaderboard + dataset, which I've listed below.
Make dataset available on the hub
Would you be interested in making your dataset available on the hub?
This way, people could load the dataset in 2 lines of code, like so (assuming they got access through the manual approval and are logged in with their HF account):
from datasets import load_dataset

dataset = load_dataset("thu-ml/mmtrust-eval")

Moreover, we support gated access which requires people to fill in their contact information (similar to how models like LLaMa-3 are gated): https://huggingface.co/docs/hub/en/datasets-gated
Leaderboard as an app on Spaces
Secondly, if you're interested, the leaderboard could be hosted on Spaces using Streamlit/Gradio/Docker app. See here for more info: https://huggingface.co/docs/hub/en/spaces-overview
Let me know if you need any help regarding this!
Cheers,
Niels
ML Engineer @ HF 🤗

I agree, I think it would be useful to have this on HF.


Implement logger

Or some way to run it with debug mode.

This needs to be implemented for:

[ ] main
[ ] Smokescreen class
[ ] other functions that can plot things
[ ] Need to also safeguard it somehow against an unconcealed sacc file...

I started implementing the logger and I do not think this is necessary for smokescreen.
We do need the ability to run main with debug mode... So I will implement that in another issue.


Add build-time information as metric and in logs

We should expose what git commit was used to build the currently running exporter, as well as any tag associated with it. That way it is easier to reason about what version was running both in the logs and in metrics.

We should add this to the /metrics endpoint.
To ensure we have in any case we could use something like sematic-release. This would also solve a part of #38 as this would allow us to auto tag and build containers.

I have been looking into if there are some ways these days to include version information in the binaries without using ldflags or go generate. My biggest issue with those mentioned approaches are that they require a special build step, as opposed to just using "go build" or "go install".
What I have arrived at is that runtime/debug.BulldInfo is almost exactly what we are looking for - with a caveat. Due to https://github.com/golang/go/issues/29228 any build using the normal "go build" will be tagged with just "(devel)".
For an example, check out https://github.com/mark-rushakoff/debug-module-version-demo.
[stereolith]$ go install<EMAIL_ADDRESS>[stereolith]$ go/bin/debug-module-version-demo
github.com/mark-rushakoff/debug-module-version-demo version v0.0.1
        built with golang.org/x/text version v0.0.0-20170915032832-14c0d48ead0c
        built with rsc.io/quote version v1.5.2
        built with rsc.io/sampler version v1.3.0

So for us that would mean that you could go install the fortigate_exporter at a certain version and we could pick up that version. That would be a neat recommended way to install the latest version.
Then we could also add a Makefile to cause the normal "go build" flow to create a version such as v1.0.2+abcdef1234 / v1.0.2+abcdef1234-dirty. Using that would be optional and if you just build with "go build" you would just end up with a version tag of "v0.0.0-devel" as a fallback, for example.
What do you think @secustor?

I have been thinking about more in the ldflags direction.
The question from my point of view is, who will rely on this in the future? We are providing prebuild images and binaries, in which we can add versions as we see fit.
Therefore I think we should add the git SHA and tag during the build step of the binaries and something like this to our code so if somebody installs our package we can display informations.
https://github.com/burrowers/garble/pull/220/files#diff-2873f79a86c0d8b3335cd7731b0ecf7dd4301eb19a82ef7a1cba7589b5252261R253

:tada: This issue has been resolved in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Improve patterns for PII recognition

Type of Change

[ ] Bug fix (non-breaking change, fixes #)
[X] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
Add extra functionality to the patterns
Approach
Add extra patterns
Commands to test
N/A

sweet af thanks!


Support FT.ADDHASH command

A PR for https://github.com/RediSearch/redisearch-go/issues/57

@filipecosta90 It was done. Thanks for your reviewing.

@filipecosta90 It was done. Thanks for your reviewing.

Thanks @dengliming . Merging :+1:


Trouble with Socket.AddMatchmakerAsync in Nakama Unity.

Socket.AddMatchmakerAsync(“*” , 2, 4);
When using the Socket.AddMatchmakerAsync function with a minCount of 2 and a maxCount of 4, I’ve noticed that it behaves unexpectedly. Specifically, when three players request matchmaking, it only creates a match for two players. However, it works as expected when four players request matchmaking.
I’m curious to understand why this function seems to prioritize the minCount and maxCount exclusively, rather than accommodating an intermediate number of players between the specified range. If anyone has insights or suggestions on how to address this behavior, I would greatly appreciate the assistance. Thank you!

If the count multiple is set to 1 (the default) then a min/max of 2/4 can result in matches of 2, 3, or 4 players. The main variable will likely be when each player submits their ticket to the matchmaker relative to the matchmaker interval process.
It would help if you can provide a reproducible test case (as a nakama-dotnet test case perhaps?) that shows this unexpected behaviour, otherwise it's hard to help further. Feel free to re-open this issue with extra details as needed. 👍


[2.1 Verification] Test ToView

Specifically calling ToView on two query types that are in the same hierarchy. The behavior should be the same as for ToTable.

found https://github.com/aspnet/EntityFrameworkCore/issues/11808


Adjust content on the school claim screen to help users who worked in multiple schools

This adds the copy added by Faye to the school search page and the relevant ineligibility pages. Here's how they look:

 Adjust content on the school claim screen to help users who worked in multiple schools


Upgrade angular to 1.5.x

Are there any plans to use version 1.5.x of angular?

Stay tuned. We plan to release soon an SDK for Angular 2.0

would this include updating the Angular 1 sdk to use 1.5 instead of 1.4.6? (component style)


3803 copy discoverable

Pull Request Checklist:

[x] Positive Test Case Written by Dev

[x] Automated Testing

[x] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

Open a resource that you have no permissions for and is public, ensure the resource copy button is available.
Open a resource that is discoverable (not public) and you have no permissions for.  Validate the resource copy button does not show.
Open a resource that is discoverable and you have view permissions for.  Validate the resource copy button does show.

retest this, please


Scenarios generated from "Scenario Outlines" in dashboard link to same scenario details page

Scenarios that have been generated from Scenario Outlines tables link to the same scenario in the dashboard.
Each scenario row should link to each different scenario.
Think that the problem might be here:
// Decorate scenarios
_.forEach(feature.scenarios, function(scenario, index) {
scenario.id = generateId([feature.title, scenario.title]);
scenario.duration = getDuration(scenario);
scenario.featureId = feature.id;
scenario.type = "scenario";

scenario.id is generated from feature.title and scenario.title so we'll get duplicates for Scenarios generated from Scenario Outline where scenario titles are all the same. We might need to add some randomness to the id based of current date time for example.
This is the function that should probably need to be changed:
https://github.com/TimSchlechter/SpecResults.WebApp/blob/master/SpecResults.WebApp/src/model/Report.js#L106

Thanks for reporting this! I will try to look into this tonight.

Thanks Tim, looking forward to see that fixed as scenario outlines are a main feature of the whole cucumber approach.

Hi Tim,
Any progress on that? Please let me know if you need any help or you want me to do a pull request for that issue.

Sorry, I did not fixed this issue yet. We could fix this in the SpecResults.WebApp package, but I think it would be nicer to solve this  within the SpecResults package. Scenario Outlines scenarios are all given the same title.
As far as I can see I can't get to the example paramater values while generating the report.
For now, the best thing I can think of is appending a string to the scenario title, something like (example n)
For example:
Scenario Outline: eating
  Given there are <start> cucumbers
  When I eat <eat> cucumbers
  Then I should have <left> cucumbers

  Examples:
    | start | eat | left |
    |  12   |  5  |  7   |
    |  20   |  5  |  15  |

would lead to two scenarios in the report with the following titles:

eating (example 1)
eating (example 2)

Would that be a valid solution?

I get your point Tim. It's a pitty that SpecFlow hides the "TestContext" object from VisualStudio.UnitTestTools so we can not get the full name of the test that would include the parameters.
So I think for now the solution that you're proposing will be fine.
Thanks again,

Hi Tim, Is there any progress on that issue?